1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"361149847fe6ca20adf7d39bf570e2fa8d26adc7"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0e578b16-8781-4e84-a236-98f760704a3a",e._sentryDebugIdIdentifier="sentry-dbid-0e578b16-8781-4e84-a236-98f760704a3a")}catch(e){}}(),(self.webpackChunkvue_livesurf_frontend=self.webpackChunkvue_livesurf_frontend||[]).push([[7512],{47512(e,t,a){a.r(t),a.d(t,{default:()=>h});var r=a(20641),i=a(50953),s=a(90033),u=a(41918),c=a(49550),o=a(52384),l=a(56007);const d={class:"discount-price"},n={class:"discount-price__row"},p={class:"discount-price__label"},_={class:"discount-price__old"},m={class:"discount-price__badge"},v={class:"discount-price__timer"},f={class:"timer__label"},g={class:"timer__blocks"},b={class:"timer__cell"},y={class:"timer__num"},k={class:"timer__unit"},L={class:"timer__cell"},T={class:"timer__num"},w={class:"timer__unit"},x={class:"timer__cell"},P={class:"timer__num"},R={class:"timer__unit"},D={__name:"UpgradeToPremiumDiscountModal",props:{ui:{type:Object,required:!0},price:{type:Object,required:!0},target_account_type_id:{type:Number,required:!0},compare:{type:Object,required:!0},timer:{type:Object,required:!0},modalId:{type:String,default:""}},setup(e){const t=e,{t:a}=(0,c.s9)(),D=(0,r.EW)(()=>a("modal.upsale.upgradeToPremium.price",{price:(0,l.vv)(t.price.amount,t.ui.currency)})),h=(0,r.EW)(()=>(0,l.vv)(t.price.old_amount,t.ui.currency)),E=(0,i.KR)(Math.max(0,t.timer.secondsLeft)),I=(0,r.EW)(()=>Math.floor(E.value/3600)),$=(0,r.EW)(()=>{const e=E.value;return{minutes:Math.floor(e%3600/60),seconds:e%60}});function M(e){return String(e).padStart(2,"0")}let S=null;(0,r.sV)(()=>{S=setInterval(()=>{E.value<=0?clearInterval(S):E.value--},1e3)}),(0,r.hi)(()=>{S&&clearInterval(S)});const O=(0,r.EW)(()=>{const e=t.compare.current,r=t.compare.target,i=(r.daily_visits/e.daily_visits).toFixed(1),s=Math.round((r.credits_per_visit-e.credits_per_visit)/e.credits_per_visit*100),u="modal.upsale.upgradeToPremium.features";return[{icon:"ð",text:a(`${u}.dailyVisits`,{ratio:i,target:(0,l.Dw)(r.daily_visits),current:(0,l.Dw)(e.daily_visits)})},{icon:"ð¥",text:a(`${u}.trafficPriority`,{target:r.traffic_priority_percent,current:e.traffic_priority_percent})},{icon:"â±ï¸",text:a(`${u}.showtime`,{target:r.max_showtime_sec,current:e.max_showtime_sec})},{icon:"ð",text:a(`${u}.slots`,{target:r.max_active_pages,current:e.max_active_pages})},{icon:"ð",text:a(`${u}.keywords`,{target:(0,l.Dw)(r.max_keywords),current:(0,l.Dw)(e.max_keywords)})},{icon:"ð°",text:a(`${u}.credits`,{pct:s})},{icon:"ð¤",text:a(`${u}.neuro`)},{icon:"â¡",text:a(`${u}.api`)},{icon:"ð¡ï¸",text:a(`${u}.support`)}]});return(e,c)=>((0,r.uX)(),(0,r.Wv)(o.A,{accent:"orange",badge:{text:(0,i.R1)(a)("modal.upsale.upgradeToPremium.badge")},title:(0,i.R1)(a)("modal.upsale.upgradeToPremium.title"),subtitle:(0,i.R1)(a)("modal.upsale.upgradeToPremium.subtitle"),price:{value:D.value,sub:(0,i.R1)(a)("modal.upsale.upgradeToPremium.priceSub")},features:O.value,"cta-label":(0,i.R1)(a)("modal.upsale.upgradeToPremium.cta"),"cta-href":"/accounts","utm-campaign":(0,i.R1)(u.l).UPGRADE_TO_PREMIUM_DISCOUNT,foot:(0,i.R1)(a)("modal.upsale.upgradeToPremium.foot")},{prepend:(0,r.k6)(()=>[(0,r.Lk)("div",d,[(0,r.Lk)("div",n,[(0,r.Lk)("span",p,(0,s.v_)((0,i.R1)(a)("modal.upsale.upgradeToPremiumDiscount.discountLabel")),1),(0,r.Lk)("span",_,(0,s.v_)(h.value),1),(0,r.Lk)("span",m,(0,s.v_)((0,i.R1)(a)("modal.upsale.upgradeToPremiumDiscount.discountBadge",{percent:t.price.discount_percent})),1)]),(0,r.Lk)("div",v,[(0,r.Lk)("div",f,(0,s.v_)((0,i.R1)(a)("modal.upsale.upgradeToPremiumDiscount.timerLabel")),1),(0,r.Lk)("div",g,[(0,r.Lk)("div",b,[(0,r.Lk)("span",y,(0,s.v_)(M(I.value)),1),(0,r.Lk)("span",k,(0,s.v_)((0,i.R1)(a)("modal.upsale.upgradeToPremiumDiscount.timerHours")),1)]),c[0]||(c[0]=(0,r.Lk)("div",{class:"timer__sep"},":",-1)),(0,r.Lk)("div",L,[(0,r.Lk)("span",T,(0,s.v_)(M($.value.minutes)),1),(0,r.Lk)("span",w,(0,s.v_)((0,i.R1)(a)("modal.upsale.upgradeToPremiumDiscount.timerMinutes")),1)]),c[1]||(c[1]=(0,r.Lk)("div",{class:"timer__sep"},":",-1)),(0,r.Lk)("div",x,[(0,r.Lk)("span",P,(0,s.v_)(M($.value.seconds)),1),(0,r.Lk)("span",R,(0,s.v_)((0,i.R1)(a)("modal.upsale.upgradeToPremiumDiscount.timerSeconds")),1)])])])])]),_:1},8,["badge","title","subtitle","price","features","cta-label","utm-campaign","foot"]))}},h=(0,a(66262).A)(D,[["__scopeId","data-v-52d15d45"]])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.