1import{d as v,e as y,p as k,l as d,h as t,t as l,D as r,z as x,a as N,w as O,R as b,o as P,k as s,i as h,a5 as R,g as a,E as z,M as W}from"./CFxGRstO.js";import{_ as q}from"./DBcM731C.js";import{u as G}from"./C16c000V.js";import{u as U}from"./CSB3SxAs.js";import{u as j}from"./ByQgWtvi.js";import{T as J}from"./BnbxdoPS.js";import{_ as $}from"./DlAUqK2U.js";import{d as K}from"./Cg1F8xnJ.js";import"./DIJTWx4D.js";import"./DCH0OG8z.js";import"./Bg2uL3dI.js";import"./Cpj98o6Y.js";import"./RrkodjGr.js";import"./BWBHGvIx.js";import"./-vsEa_js.js";import"./DX4Ci5D5.js";import"./owSR78tJ.js";import"./Db0QUOgG.js";import"./QjJsDpFa.js";import"./C5U6HIMD.js";const L=v({__name:"offerTimer",props:{hours:{},minutes:{},seconds:{},digitColor:{default:"white"},gradientColor:{default:"none"}},setup(e){return(u,m)=>(y(),k(J,{class:"timer-promo",hours:e.hours,minutes:e.minutes,seconds:e.seconds},{hours:d(({hours:n})=>[t("span",{class:r(["digit",`${e.digitColor}-text gradient-${e.gradientColor}`])},l(n[0]),3),t("span",{class:r(["digit",`${e.digitColor}-text gradient-${e.gradientColor}`])},l(n[1]),3)]),minutes:d(({minutes:n})=>[t("span",{class:r(["digit",`${e.digitColor}-text gradient-${e.gradientColor}`])},l(n[0]),3),t("span",{class:r(["digit",`${e.digitColor}-text gradient-${e.gradientColor}`])},l(n[1]),3)]),seconds:d(({seconds:n})=>[t("span",{class:r(["digit",`${e.digitColor}-text gradient-${e.gradientColor}`])},l(n[0]),3),t("span",{class:r(["digit",`${e.digitColor}-text gradient-${e.gradientColor}`])},l(n[1]),3)]),_:1},8,["hours","minutes","seconds"]))}}),Q=$(L,[["__scopeId","data-v-79aac642"]]),X={class:"tw-text-start tw-ms-5"},Y={class:"timer-preview"},Z={class:"d-inline-flex flex-column tw-my-3 tw-pt-5"},H=v({__name:"rwsd-september26",async setup(e){let u,m;const n=x("hide-offer-modal"),w=x("last-offer-modal-close"),A=N(),{visible:i,offerModalStore:p,close:g,goToCheckout:D}=j(),{hours:S,minutes:T,seconds:_,startCountdownInterval:B,updateFinishAt:M,updateCountdown:V}=U();M();const F=G();[u,m]=O(()=>F.loadCurrency()),await u,m();function c(){if(i.value=!1,!(!p.enabled||n.value)){if(w.value){const C=new Date(Number.parseInt(w.value));K(new Date,C)>60&&(i.value=!0)}else i.value=!0;V(),B()}}return b(()=>A.path,()=>c()),b(()=>p.enabled,()=>c()),P(()=>{c()}),(C,o)=>{const I=R,E=q;return y(),k(E,{modelValue:a(i),"onUpdate:modelValue":o[2]||(o[2]=f=>W(i)?i.value=f:null),"css-class":"offer-modal"},{default:d(()=>[t("div",X,[o[5]||(o[5]=t("h1",{class:"tw-text-[2.75rem] tw-leading-tight tw-font-semibold font-googlesansflex tw-text-[#f5c04e] tw-my-4 tw-pt-2"},[t("div",{class:"tw-text-[#FCFADE] tw-leading-none font-googlesansflex"}," Back in the game. "),s(" Go Advanced. "),t("div",{class:"price tw-pt-2 tw-text-2xl tw-leading-tight tw-font-normal tw-text-white font-googlesansflex"},[s(" Switch into the "),t("span",{class:"tw-font-semibold"},[s("new season"),t("span",null,[t("span",{class:"tw-font-semibold tw-text-[#f5c04e]"},[s(" with"),t("span",{class:"tw-text-[#FFE795]"}," re"),s("WASD")]),s(" and "),t("span",{class:"tw-text-[#f5c04e] tw-font-semibold"}," get 15% off "),s(" all Advanced packages. ")])])])],-1)),o[6]||(o[6]=t("div",{class:"offer tw-text-lg lg:tw-pt-4 tw-pb-1 font-googlesansflex"}," Todayâs offer resets in: ",-1)),t("div",Y,[h(I,null,{default:d(()=>[h(Q,{hours:a(S),minutes:a(T),seconds:a(_),"digit-color":"yellow","timer-label-color":"yellow","gradient-color":"none"},null,8,["hours","minutes","seconds"])]),_:1})]),t("div",null,[t("div",Z,[t("a",{href:"#",class:"btn btn-amber btn-md tw-whitespace-nowrap tw-font-medium darkyellow-btn !tw-py-3",onClick:o[0]||(o[0]=z(()=>a(D)({query:{product_abbr:"rewasd",single_product:1,coupon_code:"rwsd-backtoschool26"}}),["prevent"]))},[...o[3]||(o[3]=[s(" Buy ",-1),t("b",null,"reWASD",-1),s(" Today ",-1)])]),o[4]||(o[4]=t("p",{class:"tw-text-xs tw-text-center tw-pt-2"},[s(" 15% offer applies to Advanced Edition only "),t("br"),s(" Save up to $35 with the 3-PC package ")],-1))])])]),t("button",{type:"button",class:"btn-close position-absolute p-3","aria-label":"Close",onClick:o[1]||(o[1]=(...f)=>a(g)&&a(g)(...f))})]),_:1},8,["modelValue"])}}}),ht=$(H,[["__scopeId","data-v-8f8a4a1c"]]);export{ht as default};
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.