function r(){const m=window.WADESK_BRAND&&window.WADESK_BRAND.appName||"WaDesk",o={starter:{name:"Starter",total:"₹ 0",line:"Starter plan · Free forever",amt:"Free",subline:"No charge today"},growth:{name:"Growth",total:"₹ 6,783",line:"Growth plan · Yearly",amt:"₹ 5,748",subline:"12 months · billed annually · auto-renews Apr 27, 2027"},pro:{name:"Pro",total:"₹ 16,992",line:"Pro plan · Yearly",amt:"₹ 14,400",subline:"12 months · billed annually · auto-renews Apr 27, 2027"},"topup-1000":{name:"Wallet top-up",total:"₹ 1,180",line:"Wallet top-up",amt:"₹ 1,000",subline:"₹ 1,000 credit added to your "+m+" wallet"}};function a(e){const t=location.search.match(new RegExp("[?&]"+e+"=([^&]*)"));return t?decodeURIComponent(t[1]):""}const n=o[(a("plan")||a("item")||"pro").toLowerCase()]||o.pro;document.getElementById("plan-name").textContent=n.name,document.getElementById("line-name").textContent=n.line,document.getElementById("line-sub").textContent=n.subline,document.getElementById("line-amount").textContent=n.amt,document.getElementById("total-paid").textContent=n.total,document.getElementById("paid-date").textContent=new Date().toLocaleDateString("en-IN",{month:"short",day:"numeric",year:"numeric"})+" · "+new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})+" IST",document.getElementById("inv-num").textContent=2400+Math.floor(Math.random()*99);const l=["#25D366","#075E54","#E5A04E","#5BA0F2","#7B57C7","#E87A5D"];for(let e=0;e<60;e++){const t=document.createElement("div");t.className="confetti",t.style.left=Math.random()*100+"vw",t.style.background=l[e%l.length],t.style.animationDelay=Math.random()*4+"s",t.style.animationDuration=3+Math.random()*3+"s",document.body.appendChild(t)}setTimeout(()=>document.querySelectorAll(".confetti").forEach(e=>e.remove()),8e3)}export{r as default};
