using asap.core; using game; using GameCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using TMPro; using UniRx; using UnityEngine; using UnityEngine.UI; namespace Assets.Scripts.UI.OfferSweep { public class OfferSweepPanel : BasePanel { #region UI_ELEMENTS private Button btn_purchase; private Button btn_close; private GameObject btn_buy; private OfferSweepPackCell[] _offerSweepPackCells; private TextMeshProUGUI p_current_price; private TextMeshProUGUI p_original_price; private TextMeshProUGUI _timeText; private TextMeshProUGUI p_discount_price; #endregion private OfferSweepManager _offerSweepManager; private OfferSweepManager OfferSweepManager => _offerSweepManager ??= GContext.container.Resolve(); private void Awake() { btn_buy = this.transform.Find("root/btn_buy").gameObject; btn_purchase = this.transform.Find("root/btn_buy/btn_green_c").GetComponent