@revenuecat/purchases-js 1.47.1 → 1.47.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,51 +1,58 @@
1
- (function(xe,je){typeof exports=="object"&&typeof module<"u"?je(exports):typeof define=="function"&&define.amd?define(["exports"],je):(xe=typeof globalThis<"u"?globalThis:xe||self,je(xe.Purchases={}))})(this,function(xe){"use strict";var sS=Object.create;var wc=Object.defineProperty;var lS=Object.getOwnPropertyDescriptor;var bg=(xe,je)=>(je=Symbol[xe])?je:Symbol.for("Symbol."+xe),io=xe=>{throw TypeError(xe)};var kg=(xe,je,Je)=>je in xe?wc(xe,je,{enumerable:!0,configurable:!0,writable:!0,value:Je}):xe[je]=Je;var yg=(xe,je)=>wc(xe,"name",{value:je,configurable:!0});var wg=xe=>[,,,sS((xe==null?void 0:xe[bg("metadata")])??null)],Pg=["class","method","getter","setter","accessor","field","value","get","set"],ni=xe=>xe!==void 0&&typeof xe!="function"?io("Function expected"):xe,cS=(xe,je,Je,dt,br)=>({kind:Pg[xe],name:je,metadata:dt,addInitializer:Rr=>Je._?io("Already initialized"):br.push(ni(Rr||null))}),Pc=(xe,je)=>kg(je,bg("metadata"),xe[3]),xg=(xe,je,Je,dt)=>{for(var br=0,Rr=xe[je>>1],Bt=Rr&&Rr.length;br<Bt;br++)je&1?Rr[br].call(Je):dt=Rr[br].call(Je,dt);return dt},xc=(xe,je,Je,dt,br,Rr)=>{var Bt,nt,ai,Qn,so,lr=je&7,lo=!!(je&8),yt=!!(je&16),co=lr>3?xe.length+1:lr?lo?1:2:0,uo=Pg[lr+5],oi=lr>3&&(xe[co-1]=[]),Tr=xe[co]||(xe[co]=[]),pt=lr&&(!yt&&!lo&&(br=br.prototype),lr<5&&(lr>3||!yt)&&lS(lr<4?br:{get[Je](){return Q(this,Rr)},set[Je](Jr){return Ve(this,Rr,Jr)}},Je));lr?yt&&lr<4&&yg(Rr,(lr>2?"set ":lr>1?"get ":"")+Je):yg(br,Je);for(var po=dt.length-1;po>=0;po--)Qn=cS(lr,Je,ai={},xe[3],Tr),lr&&(Qn.static=lo,Qn.private=yt,so=Qn.access={has:yt?Jr=>uS(br,Jr):Jr=>Je in Jr},lr^3&&(so.get=yt?Jr=>(lr^1?Q:Lr)(Jr,br,lr^4?Rr:pt.get):Jr=>Jr[Je]),lr>2&&(so.set=yt?(Jr,$n)=>Ve(Jr,br,$n,lr^4?Rr:pt.set):(Jr,$n)=>Jr[Je]=$n)),nt=(0,dt[po])(lr?lr<4?yt?Rr:pt[uo]:lr>4?void 0:{get:pt.get,set:pt.set}:br,Qn),ai._=1,lr^4||nt===void 0?ni(nt)&&(lr>4?oi.unshift(nt):lr?yt?Rr=nt:pt[uo]=nt:br=nt):typeof nt!="object"||nt===null?io("Object expected"):(ni(Bt=nt.get)&&(pt.get=Bt),ni(Bt=nt.set)&&(pt.set=Bt),ni(Bt=nt.init)&&oi.unshift(Bt));return lr||Pc(xe,br),pt&&wc(br,Je,pt),yt?lr^4?Rr:pt:br},ee=(xe,je,Je)=>kg(xe,typeof je!="symbol"?je+"":je,Je),Ec=(xe,je,Je)=>je.has(xe)||io("Cannot "+Je),uS=(xe,je)=>Object(je)!==je?io('Cannot use the "in" operator on this value'):xe.has(je),Q=(xe,je,Je)=>(Ec(xe,je,"read from private field"),Je?Je.call(xe):je.get(xe)),Ge=(xe,je,Je)=>je.has(xe)?io("Cannot add the same private member more than once"):je instanceof WeakSet?je.add(xe):je.set(xe,Je),Ve=(xe,je,Je,dt)=>(Ec(xe,je,"write to private field"),dt?dt.call(xe,Je):je.set(xe,Je),Je),Lr=(xe,je,Je)=>(Ec(xe,je,"access private method"),Je);var ug,Ja,Qa,va,ya,Go,$a,eo,Ct,Sc,Ic,Eg,Sg,Tt,vc,nn,ba,an,Dt,ut,on,kn,Yn,ka,Gn,wa,ro,to,Kn,ds,Nr,dS,pS,Cc,ys,bs,Tc,Nt,sn,ht,Pa,Ko,Xo,ps,Xn,no,Zo,_s,Ig,Jo,Qo,ao,dg,pg,fs;const je="5";typeof window<"u"&&((ug=window.__svelte??(window.__svelte={})).v??(ug.v=new Set)).add(je);const Je=1,dt=2,br=4,Rr=8,Bt=16,nt=1,ai=2,Qn=4,so=8,lr=16,lo=1,yt=2,co=4,uo=1,oi=2,Tr=Symbol(),pt="http://www.w3.org/1999/xhtml",po="http://www.w3.org/2000/svg",Jr="@attach",$n=!1;var ii=Array.isArray,Cg=Array.prototype.indexOf,si=Array.from,Dc=Object.defineProperty,Pn=Object.getOwnPropertyDescriptor,Ac=Object.getOwnPropertyDescriptors,Tg=Object.prototype,Dg=Array.prototype,ks=Object.getPrototypeOf,Fc=Object.isExtensible;function Ea(r){return typeof r=="function"}const er=()=>{};function Ag(r){return r()}function li(r){for(var e=0;e<r.length;e++)r[e]()}function Mc(){var r,e,t=new Promise((n,a)=>{r=n,e=a});return{promise:t,resolve:r,reject:e}}function ci(r,e){if(Array.isArray(r))return r;if(e===void 0||!(Symbol.iterator in r))return Array.from(r);const t=[];for(const n of r)if(t.push(n),t.length===e)break;return t}const Ur=2,ui=4,_o=8,ws=1<<24,Rt=16,ln=32,ea=64,Ps=128,bt=512,Vr=1024,Qr=2048,Ut=4096,_t=8192,cn=16384,di=32768,Vt=65536,zc=1<<17,qc=1<<18,Sa=1<<19,jc=1<<20,un=1<<25,go=32768,xs=1<<21,Es=1<<22,xn=1<<23,Wt=Symbol("$state"),Lc=Symbol("legacy props"),Fg=Symbol(""),Ia=new class extends Error{constructor(){super(...arguments);ee(this,"name","StaleReactionError");ee(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Ss(r){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Mg(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function zg(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function qg(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function jg(r){throw new Error("https://svelte.dev/e/effect_orphan")}function Lg(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Og(r){throw new Error("https://svelte.dev/e/props_invalid_value")}function Ng(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Bg(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Rg(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ug(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Vg(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Wg(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Oc(r){return r===this.v}function Is(r,e){return r!=r?e==e:r!==e||r!==null&&typeof r=="object"||typeof r=="function"}function Nc(r){return!Is(r,this.v)}let Ca=!1,Hg=!1;function Yg(){Ca=!0}let cr=null;function Ta(r){cr=r}function Xe(r){return Bc().get(r)}function kr(r,e){return Bc().set(r,e),e}function fe(r,e=!1,t){cr={p:cr,i:!1,c:null,e:null,s:r,x:null,l:Ca&&!e?{s:null,u:null,$:[]}:null}}function me(r){var e=cr,t=e.e;if(t!==null){e.e=null;for(var n of t)uu(n)}return r!==void 0&&(e.x=r),e.i=!0,cr=e.p,r??{}}function Da(){return!Ca||cr!==null&&cr.l===null}function Bc(r){return cr===null&&Ss(),cr.c??(cr.c=new Map(Gg(cr)||void 0))}function Gg(r){let e=r.p;for(;e!==null;){const t=e.c;if(t!==null)return t;e=e.p}return null}let ra=[];function Rc(){var r=ra;ra=[],li(r)}function En(r){if(ra.length===0&&!fo){var e=ra;queueMicrotask(()=>{e===ra&&Rc()})}ra.push(r)}function Kg(){for(;ra.length>0;)Rc()}function Uc(r){var e=rr;if(e===null)return Ze.f|=xn,r;if((e.f&di)===0){if((e.f&Ps)===0)throw r;e.b.error(r)}else Aa(r,e)}function Aa(r,e){for(;e!==null;){if((e.f&Ps)!==0)try{e.b.error(r);return}catch(t){r=t}e=e.parent}throw r}const Xg=-7169;function zr(r,e){r.f=r.f&Xg|e}function Cs(r){(r.f&bt)!==0||r.deps===null?zr(r,Vr):zr(r,Ut)}function Vc(r){if(r!==null)for(const e of r)(e.f&Ur)===0||(e.f&go)===0||(e.f^=go,Vc(e.deps))}function Wc(r,e,t){(r.f&Qr)!==0?e.add(r):(r.f&Ut)!==0&&t.add(r),Vc(r.deps),zr(r,Vr)}const pi=new Set;let $e=null,_i=null,Wr=null,kt=[],gi=null,Ts=!1,fo=!1;const us=class us{constructor(){Ge(this,Ct);ee(this,"committed",!1);ee(this,"current",new Map);ee(this,"previous",new Map);Ge(this,Ja,new Set);Ge(this,Qa,new Set);Ge(this,va,0);Ge(this,ya,0);Ge(this,Go,null);Ge(this,$a,new Set);Ge(this,eo,new Set);ee(this,"skipped_effects",new Set);ee(this,"is_fork",!1)}is_deferred(){return this.is_fork||Q(this,ya)>0}process(e){var a;kt=[],_i=null,this.apply();var t=[],n=[];for(const i of e)Lr(this,Ct,Sc).call(this,i,t,n);this.is_fork||Lr(this,Ct,Eg).call(this),this.is_deferred()?(Lr(this,Ct,Ic).call(this,n),Lr(this,Ct,Ic).call(this,t)):(_i=this,$e=null,Yc(n),Yc(t),_i=null,(a=Q(this,Go))==null||a.resolve()),Wr=null}capture(e,t){t!==Tr&&!this.previous.has(e)&&this.previous.set(e,t),(e.f&xn)===0&&(this.current.set(e,e.v),Wr==null||Wr.set(e,e.v))}activate(){$e=this,this.apply()}deactivate(){$e===this&&($e=null,Wr=null)}flush(){if(this.activate(),kt.length>0){if(Hc(),$e!==null&&$e!==this)return}else Q(this,va)===0&&this.process([]);this.deactivate()}discard(){for(const e of Q(this,Qa))e(this);Q(this,Qa).clear()}increment(e){Ve(this,va,Q(this,va)+1),e&&Ve(this,ya,Q(this,ya)+1)}decrement(e){Ve(this,va,Q(this,va)-1),e&&Ve(this,ya,Q(this,ya)-1),this.revive()}revive(){for(const e of Q(this,$a))Q(this,eo).delete(e),zr(e,Qr),pn(e);for(const e of Q(this,eo))zr(e,Ut),pn(e);this.flush()}oncommit(e){Q(this,Ja).add(e)}ondiscard(e){Q(this,Qa).add(e)}settled(){return(Q(this,Go)??Ve(this,Go,Mc())).promise}static ensure(){if($e===null){const e=$e=new us;pi.add($e),fo||us.enqueue(()=>{$e===e&&e.flush()})}return $e}static enqueue(e){En(e)}apply(){}};Ja=new WeakMap,Qa=new WeakMap,va=new WeakMap,ya=new WeakMap,Go=new WeakMap,$a=new WeakMap,eo=new WeakMap,Ct=new WeakSet,Sc=function(e,t,n){e.f^=Vr;for(var a=e.first,i=null;a!==null;){var s=a.f,l=(s&(ln|ea))!==0,c=l&&(s&Vr)!==0,u=c||(s&_t)!==0||this.skipped_effects.has(a);if(!u&&a.fn!==null){l?a.f^=Vr:i!==null&&(s&(ui|_o|ws))!==0?i.b.defer_effect(a):(s&ui)!==0?t.push(a):ja(a)&&((s&Rt)!==0&&Q(this,$a).add(a),La(a));var d=a.first;if(d!==null){a=d;continue}}var p=a.parent;for(a=a.next;a===null&&p!==null;)p===i&&(i=null),a=p.next,p=p.parent}},Ic=function(e){for(var t=0;t<e.length;t+=1)Wc(e[t],Q(this,$a),Q(this,eo))},Eg=function(){if(Q(this,ya)===0){for(const e of Q(this,Ja))e();Q(this,Ja).clear()}Q(this,va)===0&&Lr(this,Ct,Sg).call(this)},Sg=function(){var a;if(pi.size>1){this.previous.clear();var e=Wr,t=!0;for(const i of pi){if(i===this){t=!1;continue}const s=[];for(const[c,u]of this.current){if(i.current.has(c))if(t&&u!==i.current.get(c))i.current.set(c,u);else continue;s.push(c)}if(s.length===0)continue;const l=[...i.current.keys()].filter(c=>!this.current.has(c));if(l.length>0){var n=kt;kt=[];const c=new Set,u=new Map;for(const d of s)Gc(d,l,c,u);if(kt.length>0){$e=i,i.apply();for(const d of kt)Lr(a=i,Ct,Sc).call(a,d,[],[]);i.deactivate()}kt=n}}$e=null,Wr=e}this.committed=!0,pi.delete(this)};let dn=us;function Zg(r){var e=fo;fo=!0;try{for(var t;;){if(Kg(),kt.length===0&&($e==null||$e.flush(),kt.length===0))return gi=null,t;Hc()}}finally{fo=e}}function Hc(){var r=ia;Ts=!0;var e=null;try{var t=0;for(mi(!0);kt.length>0;){var n=dn.ensure();if(t++>1e3){var a,i;Jg()}n.process(kt),In.clear()}}finally{Ts=!1,mi(r),gi=null}}function Jg(){try{Lg()}catch(r){Aa(r,gi)}}let Mt=null;function Yc(r){var e=r.length;if(e!==0){for(var t=0;t<e;){var n=r[t++];if((n.f&(cn|_t))===0&&ja(n)&&(Mt=new Set,La(n),n.deps===null&&n.first===null&&n.nodes===null&&(n.teardown===null&&n.ac===null?mu(n):n.fn=null),(Mt==null?void 0:Mt.size)>0)){In.clear();for(const a of Mt){if((a.f&(cn|_t))!==0)continue;const i=[a];let s=a.parent;for(;s!==null;)Mt.has(s)&&(Mt.delete(s),i.push(s)),s=s.parent;for(let l=i.length-1;l>=0;l--){const c=i[l];(c.f&(cn|_t))===0&&La(c)}}Mt.clear()}}Mt=null}}function Gc(r,e,t,n){if(!t.has(r)&&(t.add(r),r.reactions!==null))for(const a of r.reactions){const i=a.f;(i&Ur)!==0?Gc(a,e,t,n):(i&(Es|Rt))!==0&&(i&Qr)===0&&Kc(a,e,n)&&(zr(a,Qr),pn(a))}}function Kc(r,e,t){const n=t.get(r);if(n!==void 0)return n;if(r.deps!==null)for(const a of r.deps){if(e.includes(a))return!0;if((a.f&Ur)!==0&&Kc(a,e,t))return t.set(a,!0),!0}return t.set(r,!1),!1}function pn(r){for(var e=gi=r;e.parent!==null;){e=e.parent;var t=e.f;if(Ts&&e===rr&&(t&Rt)!==0&&(t&qc)===0)return;if((t&(ea|ln))!==0){if((t&Vr)===0)return;e.f^=Vr}}kt.push(e)}function Xc(r){let e=0,t=ta(0),n;return()=>{Fs()&&(o(t),qa(()=>(e===0&&(n=Ue(()=>r(()=>ho(t)))),e+=1,()=>{En(()=>{e-=1,e===0&&(n==null||n(),n=void 0,ho(t))})})))}}var Qg=Vt|Sa|Ps;function Zc(r,e,t){new $g(r,e,t)}class $g{constructor(e,t,n){Ge(this,Nr);ee(this,"parent");ee(this,"is_pending",!1);Ge(this,Tt);Ge(this,vc,null);Ge(this,nn);Ge(this,ba);Ge(this,an);Ge(this,Dt,null);Ge(this,ut,null);Ge(this,on,null);Ge(this,kn,null);Ge(this,Yn,null);Ge(this,ka,0);Ge(this,Gn,0);Ge(this,wa,!1);Ge(this,ro,new Set);Ge(this,to,new Set);Ge(this,Kn,null);Ge(this,ds,Xc(()=>(Ve(this,Kn,ta(Q(this,ka))),()=>{Ve(this,Kn,null)})));Ve(this,Tt,e),Ve(this,nn,t),Ve(this,ba,n),this.parent=rr.b,this.is_pending=!!Q(this,nn).pending,Ve(this,an,aa(()=>{rr.b=this;{var a=Lr(this,Nr,Cc).call(this);try{Ve(this,Dt,at(()=>n(a)))}catch(i){this.error(i)}Q(this,Gn)>0?Lr(this,Nr,bs).call(this):this.is_pending=!1}return()=>{var i;(i=Q(this,Yn))==null||i.remove()}},Qg))}defer_effect(e){Wc(e,Q(this,ro),Q(this,to))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!Q(this,nn).pending}update_pending_count(e){Lr(this,Nr,Tc).call(this,e),Ve(this,ka,Q(this,ka)+e),Q(this,Kn)&&Fa(Q(this,Kn),Q(this,ka))}get_effect_pending(){return Q(this,ds).call(this),o(Q(this,Kn))}error(e){var t=Q(this,nn).onerror;let n=Q(this,nn).failed;if(Q(this,wa)||!t&&!n)throw e;Q(this,Dt)&&(Hr(Q(this,Dt)),Ve(this,Dt,null)),Q(this,ut)&&(Hr(Q(this,ut)),Ve(this,ut,null)),Q(this,on)&&(Hr(Q(this,on)),Ve(this,on,null));var a=!1,i=!1;const s=()=>{if(a){Wg();return}a=!0,i&&Ug(),dn.ensure(),Ve(this,ka,0),Q(this,on)!==null&&oa(Q(this,on),()=>{Ve(this,on,null)}),this.is_pending=this.has_pending_snippet(),Ve(this,Dt,Lr(this,Nr,ys).call(this,()=>(Ve(this,wa,!1),at(()=>Q(this,ba).call(this,Q(this,Tt)))))),Q(this,Gn)>0?Lr(this,Nr,bs).call(this):this.is_pending=!1};var l=Ze;try{ot(null),i=!0,t==null||t(e,s),i=!1}catch(c){Aa(c,Q(this,an)&&Q(this,an).parent)}finally{ot(l)}n&&En(()=>{Ve(this,on,Lr(this,Nr,ys).call(this,()=>{dn.ensure(),Ve(this,wa,!0);try{return at(()=>{n(Q(this,Tt),()=>e,()=>s)})}catch(c){return Aa(c,Q(this,an).parent),null}finally{Ve(this,wa,!1)}}))})}}Tt=new WeakMap,vc=new WeakMap,nn=new WeakMap,ba=new WeakMap,an=new WeakMap,Dt=new WeakMap,ut=new WeakMap,on=new WeakMap,kn=new WeakMap,Yn=new WeakMap,ka=new WeakMap,Gn=new WeakMap,wa=new WeakMap,ro=new WeakMap,to=new WeakMap,Kn=new WeakMap,ds=new WeakMap,Nr=new WeakSet,dS=function(){try{Ve(this,Dt,at(()=>Q(this,ba).call(this,Q(this,Tt))))}catch(e){this.error(e)}},pS=function(){const e=Q(this,nn).pending;e&&(Ve(this,ut,at(()=>e(Q(this,Tt)))),dn.enqueue(()=>{var t=Lr(this,Nr,Cc).call(this);Ve(this,Dt,Lr(this,Nr,ys).call(this,()=>(dn.ensure(),at(()=>Q(this,ba).call(this,t))))),Q(this,Gn)>0?Lr(this,Nr,bs).call(this):(oa(Q(this,ut),()=>{Ve(this,ut,null)}),this.is_pending=!1)}))},Cc=function(){var e=Q(this,Tt);return this.is_pending&&(Ve(this,Yn,Ht()),Q(this,Tt).before(Q(this,Yn)),e=Q(this,Yn)),e},ys=function(e){var t=rr,n=Ze,a=cr;Yt(Q(this,an)),ot(Q(this,an)),Ta(Q(this,an).ctx);try{return e()}catch(i){return Uc(i),null}finally{Yt(t),ot(n),Ta(a)}},bs=function(){const e=Q(this,nn).pending;Q(this,Dt)!==null&&(Ve(this,kn,document.createDocumentFragment()),Q(this,kn).append(Q(this,Yn)),yu(Q(this,Dt),Q(this,kn))),Q(this,ut)===null&&Ve(this,ut,at(()=>e(Q(this,Tt))))},Tc=function(e){var t;if(!this.has_pending_snippet()){this.parent&&Lr(t=this.parent,Nr,Tc).call(t,e);return}if(Ve(this,Gn,Q(this,Gn)+e),Q(this,Gn)===0){this.is_pending=!1;for(const n of Q(this,ro))zr(n,Qr),pn(n);for(const n of Q(this,to))zr(n,Ut),pn(n);Q(this,ro).clear(),Q(this,to).clear(),Q(this,ut)&&oa(Q(this,ut),()=>{Ve(this,ut,null)}),Q(this,kn)&&(Q(this,Tt).before(Q(this,kn)),Ve(this,kn,null))}};function Jc(r,e,t,n){const a=Da()?mo:Sn;if(t.length===0&&r.length===0){n(e.map(a));return}var i=$e,s=rr,l=ef();function c(){Promise.all(t.map(u=>rf(u))).then(u=>{l();try{n([...e.map(a),...u])}catch(d){(s.f&cn)===0&&Aa(d,s)}i==null||i.deactivate(),fi()}).catch(u=>{Aa(u,s)})}r.length>0?Promise.all(r).then(()=>{l();try{return c()}finally{i==null||i.deactivate(),fi()}}):c()}function ef(){var r=rr,e=Ze,t=cr,n=$e;return function(i=!0){Yt(r),ot(e),Ta(t),i&&(n==null||n.activate())}}function fi(){Yt(null),ot(null),Ta(null)}function mo(r){var e=Ur|Qr,t=Ze!==null&&(Ze.f&Ur)!==0?Ze:null;return rr!==null&&(rr.f|=Sa),{ctx:cr,deps:null,effects:null,equals:Oc,f:e,fn:r,reactions:null,rv:0,v:Tr,wv:0,parent:t??rr,ac:null}}function rf(r,e,t){let n=rr;n===null&&Mg();var a=n.b,i=void 0,s=ta(Tr),l=!Ze,c=new Map;return _f(()=>{var _;var u=Mc();i=u.promise;try{Promise.resolve(r()).then(u.resolve,u.reject).then(()=>{d===$e&&d.committed&&d.deactivate(),fi()})}catch(f){u.reject(f),fi()}var d=$e;if(l){var p=a.is_rendered();a.update_pending_count(1),d.increment(p),(_=c.get(d))==null||_.reject(Ia),c.delete(d),c.set(d,u)}const g=(f,v=void 0)=>{if(d.activate(),v)v!==Ia&&(s.f|=xn,Fa(s,v));else{(s.f&xn)!==0&&(s.f^=xn),Fa(s,f);for(const[y,h]of c){if(c.delete(y),y===d)break;h.reject(Ia)}}l&&(a.update_pending_count(-1),d.decrement(p))};u.promise.then(g,f=>g(null,f||"unknown"))}),za(()=>{for(const u of c.values())u.reject(Ia)}),new Promise(u=>{function d(p){function g(){p===i?u(s):d(i)}p.then(g,g)}d(i)})}function m(r){const e=mo(r);return ku(e),e}function Sn(r){const e=mo(r);return e.equals=Nc,e}function Qc(r){var e=r.effects;if(e!==null){r.effects=null;for(var t=0;t<e.length;t+=1)Hr(e[t])}}function tf(r){for(var e=r.parent;e!==null;){if((e.f&Ur)===0)return(e.f&cn)===0?e:null;e=e.parent}return null}function Ds(r){var e,t=rr;Yt(tf(r));try{r.f&=~go,Qc(r),e=Su(r)}finally{Yt(t)}return e}function $c(r){var e=Ds(r);if(!r.equals(e)&&(r.wv=xu(),(!($e!=null&&$e.is_fork)||r.deps===null)&&(r.v=e,r.deps===null))){zr(r,Vr);return}Cn||(Wr!==null?(Fs()||$e!=null&&$e.is_fork)&&Wr.set(r,e):Cs(r))}let As=new Set;const In=new Map;let eu=!1;function ta(r,e){var t={f:0,v:r,reactions:null,equals:Oc,rv:0,wv:0};return t}function te(r,e){const t=ta(r);return ku(t),t}function ur(r,e=!1,t=!0){var a;const n=ta(r);return e||(n.equals=Nc),Ca&&t&&cr!==null&&cr.l!==null&&((a=cr.l).s??(a.s=[])).push(n),n}function z(r,e,t=!1){Ze!==null&&(!qt||(Ze.f&zc)!==0)&&Da()&&(Ze.f&(Ur|Rt|Es|zc))!==0&&!($r!=null&&$r.includes(r))&&Rg();let n=t?ar(e):e;return Fa(r,n)}function Fa(r,e){if(!r.equals(e)){var t=r.v;Cn?In.set(r,e):In.set(r,t),r.v=e;var n=dn.ensure();if(n.capture(r,t),(r.f&Ur)!==0){const a=r;(r.f&Qr)!==0&&Ds(a),Cs(a)}r.wv=xu(),ru(r,Qr),Da()&&rr!==null&&(rr.f&Vr)!==0&&(rr.f&(ln|ea))===0&&(wt===null?ff([r]):wt.push(r)),!n.is_fork&&As.size>0&&!eu&&nf()}return e}function nf(){eu=!1;var r=ia;mi(!0);const e=Array.from(As);try{for(const t of e)(t.f&Vr)!==0&&zr(t,Ut),ja(t)&&La(t)}finally{mi(r)}As.clear()}function ho(r){z(r,r.v+1)}function ru(r,e){var t=r.reactions;if(t!==null)for(var n=Da(),a=t.length,i=0;i<a;i++){var s=t[i],l=s.f;if(!(!n&&s===rr)){var c=(l&Qr)===0;if(c&&zr(s,e),(l&Ur)!==0){var u=s;Wr==null||Wr.delete(u),(l&go)===0&&(l&bt&&(s.f|=go),ru(u,Ut))}else c&&((l&Rt)!==0&&Mt!==null&&Mt.add(s),pn(s))}}}function ar(r){if(typeof r!="object"||r===null||Wt in r)return r;const e=ks(r);if(e!==Tg&&e!==Dg)return r;var t=new Map,n=ii(r),a=te(0),i=sa,s=l=>{if(sa===i)return l();var c=Ze,u=sa;ot(null),Pu(i);var d=l();return ot(c),Pu(u),d};return n&&t.set("length",te(r.length)),new Proxy(r,{defineProperty(l,c,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Ng();var d=t.get(c);return d===void 0?d=s(()=>{var p=te(u.value);return t.set(c,p),p}):z(d,u.value,!0),!0},deleteProperty(l,c){var u=t.get(c);if(u===void 0){if(c in l){const d=s(()=>te(Tr));t.set(c,d),ho(a)}}else z(u,Tr),ho(a);return!0},get(l,c,u){var _;if(c===Wt)return r;var d=t.get(c),p=c in l;if(d===void 0&&(!p||(_=Pn(l,c))!=null&&_.writable)&&(d=s(()=>{var f=ar(p?l[c]:Tr),v=te(f);return v}),t.set(c,d)),d!==void 0){var g=o(d);return g===Tr?void 0:g}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var d=t.get(c);d&&(u.value=o(d))}else if(u===void 0){var p=t.get(c),g=p==null?void 0:p.v;if(p!==void 0&&g!==Tr)return{enumerable:!0,configurable:!0,value:g,writable:!0}}return u},has(l,c){var g;if(c===Wt)return!0;var u=t.get(c),d=u!==void 0&&u.v!==Tr||Reflect.has(l,c);if(u!==void 0||rr!==null&&(!d||(g=Pn(l,c))!=null&&g.writable)){u===void 0&&(u=s(()=>{var _=d?ar(l[c]):Tr,f=te(_);return f}),t.set(c,u));var p=o(u);if(p===Tr)return!1}return d},set(l,c,u,d){var k;var p=t.get(c),g=c in l;if(n&&c==="length")for(var _=u;_<p.v;_+=1){var f=t.get(_+"");f!==void 0?z(f,Tr):_ in l&&(f=s(()=>te(Tr)),t.set(_+"",f))}if(p===void 0)(!g||(k=Pn(l,c))!=null&&k.writable)&&(p=s(()=>te(void 0)),z(p,ar(u)),t.set(c,p));else{g=p.v!==Tr;var v=s(()=>ar(u));z(p,v)}var y=Reflect.getOwnPropertyDescriptor(l,c);if(y!=null&&y.set&&y.set.call(d,u),!g){if(n&&typeof c=="string"){var h=t.get("length"),b=Number(c);Number.isInteger(b)&&b>=h.v&&z(h,b+1)}ho(a)}return!0},ownKeys(l){o(a);var c=Reflect.ownKeys(l).filter(p=>{var g=t.get(p);return g===void 0||g.v!==Tr});for(var[u,d]of t)d.v!==Tr&&!(u in l)&&c.push(u);return c},setPrototypeOf(){Bg()}})}function tu(r){try{if(r!==null&&typeof r=="object"&&Wt in r)return r[Wt]}catch{}return r}function af(r,e){return Object.is(tu(r),tu(e))}var nu,au,ou,iu;function of(){if(nu===void 0){nu=window,au=/Firefox/.test(navigator.userAgent);var r=Element.prototype,e=Node.prototype,t=Text.prototype;ou=Pn(e,"firstChild").get,iu=Pn(e,"nextSibling").get,Fc(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),Fc(t)&&(t.__t=void 0)}}function Ht(r=""){return document.createTextNode(r)}function gt(r){return ou.call(r)}function vo(r){return iu.call(r)}function D(r,e){return gt(r)}function se(r,e=!1){{var t=gt(r);return t instanceof Comment&&t.data===""?vo(t):t}}function Y(r,e=1,t=!1){let n=r;for(;e--;)n=vo(n);return n}function sf(r){r.textContent=""}function su(){return!1}function lf(r,e){if(e){const t=document.body;r.autofocus=!0,En(()=>{document.activeElement===t&&r.focus()})}}let lu=!1;function cf(){lu||(lu=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{var e;if(!r.defaultPrevented)for(const t of r.target.elements)(e=t.__on_r)==null||e.call(t)})},{capture:!0}))}function Ma(r){var e=Ze,t=rr;ot(null),Yt(null);try{return r()}finally{ot(e),Yt(t)}}function uf(r,e,t,n=t){r.addEventListener(e,()=>Ma(t));const a=r.__on_r;a?r.__on_r=()=>{a(),n(!0)}:r.__on_r=()=>n(!0),cf()}function cu(r){rr===null&&(Ze===null&&jg(),qg()),Cn&&zg()}function df(r,e){var t=e.last;t===null?e.last=e.first=r:(t.next=r,r.prev=t,e.last=r)}function zt(r,e,t){var n=rr;n!==null&&(n.f&_t)!==0&&(r|=_t);var a={ctx:cr,deps:null,nodes:null,f:r|Qr|bt,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};if(t)try{La(a),a.f|=di}catch(l){throw Hr(a),l}else e!==null&&pn(a);var i=a;if(t&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Sa)===0&&(i=i.first,(r&Rt)!==0&&(r&Vt)!==0&&i!==null&&(i.f|=Vt)),i!==null&&(i.parent=n,n!==null&&df(i,n),Ze!==null&&(Ze.f&Ur)!==0&&(r&ea)===0)){var s=Ze;(s.effects??(s.effects=[])).push(i)}return a}function Fs(){return Ze!==null&&!qt}function za(r){const e=zt(_o,null,!1);return zr(e,Vr),e.teardown=r,e}function gr(r){cu();var e=rr.f,t=!Ze&&(e&ln)!==0&&(e&di)===0;if(t){var n=cr;(n.e??(n.e=[])).push(r)}else return uu(r)}function uu(r){return zt(ui|jc,r,!1)}function du(r){return cu(),zt(_o|jc,r,!0)}function pf(r){dn.ensure();const e=zt(ea|Sa,r,!0);return(t={})=>new Promise(n=>{t.outro?oa(e,()=>{Hr(e),n(void 0)}):(Hr(e),n(void 0))})}function na(r){return zt(ui,r,!1)}function mr(r,e){var t=cr,n={effect:null,ran:!1,deps:r};t.l.$.push(n),n.effect=qa(()=>{r(),!n.ran&&(n.ran=!0,Ue(e))})}function Ms(){var r=cr;qa(()=>{for(var e of r.l.$){e.deps();var t=e.effect;(t.f&Vr)!==0&&t.deps!==null&&zr(t,Ut),ja(t)&&La(t),e.ran=!1}})}function _f(r){return zt(Es|Sa,r,!0)}function qa(r,e=0){return zt(_o|e,r,!0)}function X(r,e=[],t=[],n=[]){Jc(n,e,t,a=>{zt(_o,()=>r(...a.map(o)),!0)})}function aa(r,e=0){var t=zt(Rt|e,r,!0);return t}function pu(r,e=0){var t=zt(ws|e,r,!0);return t}function at(r){return zt(ln|Sa,r,!0)}function _u(r){var e=r.teardown;if(e!==null){const t=Cn,n=Ze;bu(!0),ot(null);try{e.call(null)}finally{bu(t),ot(n)}}}function gu(r,e=!1){var t=r.first;for(r.first=r.last=null;t!==null;){const a=t.ac;a!==null&&Ma(()=>{a.abort(Ia)});var n=t.next;(t.f&ea)!==0?t.parent=null:Hr(t,e),t=n}}function gf(r){for(var e=r.first;e!==null;){var t=e.next;(e.f&ln)===0&&Hr(e),e=t}}function Hr(r,e=!0){var t=!1;(e||(r.f&qc)!==0)&&r.nodes!==null&&r.nodes.end!==null&&(fu(r.nodes.start,r.nodes.end),t=!0),gu(r,e&&!t),hi(r,0),zr(r,cn);var n=r.nodes&&r.nodes.t;if(n!==null)for(const i of n)i.stop();_u(r);var a=r.parent;a!==null&&a.first!==null&&mu(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes=r.ac=null}function fu(r,e){for(;r!==null;){var t=r===e?null:vo(r);r.remove(),r=t}}function mu(r){var e=r.parent,t=r.prev,n=r.next;t!==null&&(t.next=n),n!==null&&(n.prev=t),e!==null&&(e.first===r&&(e.first=n),e.last===r&&(e.last=t))}function oa(r,e,t=!0){var n=[];hu(r,n,!0);var a=()=>{t&&Hr(r),e&&e()},i=n.length;if(i>0){var s=()=>--i||a();for(var l of n)l.out(s)}else a()}function hu(r,e,t){if((r.f&_t)===0){r.f^=_t;var n=r.nodes&&r.nodes.t;if(n!==null)for(const l of n)(l.is_global||t)&&e.push(l);for(var a=r.first;a!==null;){var i=a.next,s=(a.f&Vt)!==0||(a.f&ln)!==0&&(r.f&Rt)!==0;hu(a,e,s?t:!1),a=i}}}function zs(r){vu(r,!0)}function vu(r,e){if((r.f&_t)!==0){r.f^=_t,(r.f&Vr)===0&&(zr(r,Qr),pn(r));for(var t=r.first;t!==null;){var n=t.next,a=(t.f&Vt)!==0||(t.f&ln)!==0;vu(t,a?e:!1),t=n}var i=r.nodes&&r.nodes.t;if(i!==null)for(const s of i)(s.is_global||e)&&s.in()}}function yu(r,e){if(r.nodes)for(var t=r.nodes.start,n=r.nodes.end;t!==null;){var a=t===n?null:vo(t);e.append(t),t=a}}let ia=!1;function mi(r){ia=r}let Cn=!1;function bu(r){Cn=r}let Ze=null,qt=!1;function ot(r){Ze=r}let rr=null;function Yt(r){rr=r}let $r=null;function ku(r){Ze!==null&&($r===null?$r=[r]:$r.push(r))}let et=null,ft=0,wt=null;function ff(r){wt=r}let wu=1,yo=0,sa=yo;function Pu(r){sa=r}function xu(){return++wu}function ja(r){var e=r.f;if((e&Qr)!==0)return!0;if(e&Ur&&(r.f&=-32769),(e&Ut)!==0){for(var t=r.deps,n=t.length,a=0;a<n;a++){var i=t[a];if(ja(i)&&$c(i),i.wv>r.wv)return!0}(e&bt)!==0&&Wr===null&&zr(r,Vr)}return!1}function Eu(r,e,t=!0){var n=r.reactions;if(n!==null&&!($r!=null&&$r.includes(r)))for(var a=0;a<n.length;a++){var i=n[a];(i.f&Ur)!==0?Eu(i,e,!1):e===i&&(t?zr(i,Qr):(i.f&Vr)!==0&&zr(i,Ut),pn(i))}}function Su(r){var f;var e=et,t=ft,n=wt,a=Ze,i=$r,s=cr,l=qt,c=sa,u=r.f;et=null,ft=0,wt=null,Ze=(u&(ln|ea))===0?r:null,$r=null,Ta(r.ctx),qt=!1,sa=++yo,r.ac!==null&&(Ma(()=>{r.ac.abort(Ia)}),r.ac=null);try{r.f|=xs;var d=r.fn,p=d(),g=r.deps;if(et!==null){var _;if(hi(r,ft),g!==null&&ft>0)for(g.length=ft+et.length,_=0;_<et.length;_++)g[ft+_]=et[_];else r.deps=g=et;if(Fs()&&(r.f&bt)!==0)for(_=ft;_<g.length;_++)((f=g[_]).reactions??(f.reactions=[])).push(r)}else g!==null&&ft<g.length&&(hi(r,ft),g.length=ft);if(Da()&&wt!==null&&!qt&&g!==null&&(r.f&(Ur|Ut|Qr))===0)for(_=0;_<wt.length;_++)Eu(wt[_],r);return a!==null&&a!==r&&(yo++,wt!==null&&(n===null?n=wt:n.push(...wt))),(r.f&xn)!==0&&(r.f^=xn),p}catch(v){return Uc(v)}finally{r.f^=xs,et=e,ft=t,wt=n,Ze=a,$r=i,Ta(s),qt=l,sa=c}}function mf(r,e){let t=e.reactions;if(t!==null){var n=Cg.call(t,r);if(n!==-1){var a=t.length-1;a===0?t=e.reactions=null:(t[n]=t[a],t.pop())}}if(t===null&&(e.f&Ur)!==0&&(et===null||!et.includes(e))){var i=e;(i.f&bt)!==0&&(i.f^=bt,i.f&=-32769),Cs(i),Qc(i),hi(i,0)}}function hi(r,e){var t=r.deps;if(t!==null)for(var n=e;n<t.length;n++)mf(r,t[n])}function La(r){var e=r.f;if((e&cn)===0){zr(r,Vr);var t=rr,n=ia;rr=r,ia=!0;try{(e&(Rt|ws))!==0?gf(r):gu(r),_u(r);var a=Su(r);r.teardown=typeof a=="function"?a:null,r.wv=wu;var i;$n&&Hg&&(r.f&Qr)!==0&&r.deps}finally{ia=n,rr=t}}}async function Iu(){await Promise.resolve(),Zg()}function o(r){var e=r.f,t=(e&Ur)!==0;if(Ze!==null&&!qt){var n=rr!==null&&(rr.f&cn)!==0;if(!n&&!($r!=null&&$r.includes(r))){var a=Ze.deps;if((Ze.f&xs)!==0)r.rv<yo&&(r.rv=yo,et===null&&a!==null&&a[ft]===r?ft++:et===null?et=[r]:et.includes(r)||et.push(r));else{(Ze.deps??(Ze.deps=[])).push(r);var i=r.reactions;i===null?r.reactions=[Ze]:i.includes(Ze)||i.push(Ze)}}}if(Cn&&In.has(r))return In.get(r);if(t){var s=r;if(Cn){var l=s.v;return((s.f&Vr)===0&&s.reactions!==null||Tu(s))&&(l=Ds(s)),In.set(s,l),l}var c=(s.f&bt)===0&&!qt&&Ze!==null&&(ia||(Ze.f&bt)!==0),u=s.deps===null;ja(s)&&(c&&(s.f|=bt),$c(s)),c&&!u&&Cu(s)}if(Wr!=null&&Wr.has(r))return Wr.get(r);if((r.f&xn)!==0)throw r.v;return r.v}function Cu(r){if(r.deps!==null){r.f|=bt;for(const e of r.deps)(e.reactions??(e.reactions=[])).push(r),(e.f&Ur)!==0&&(e.f&bt)===0&&Cu(e)}}function Tu(r){if(r.v===Tr)return!0;if(r.deps===null)return!1;for(const e of r.deps)if(In.has(e)||(e.f&Ur)!==0&&Tu(e))return!0;return!1}function Ue(r){var e=qt;try{return qt=!0,r()}finally{qt=e}}function hf(r,e){var t={};for(var n in r)e.includes(n)||(t[n]=r[n]);for(var a of Object.getOwnPropertySymbols(r))Object.propertyIsEnumerable.call(r,a)&&!e.includes(a)&&(t[a]=r[a]);return t}function We(r){if(!(typeof r!="object"||!r||r instanceof EventTarget)){if(Wt in r)qs(r);else if(!Array.isArray(r))for(let e in r){const t=r[e];typeof t=="object"&&t&&Wt in t&&qs(t)}}}function qs(r,e=new Set){if(typeof r=="object"&&r!==null&&!(r instanceof EventTarget)&&!e.has(r)){e.add(r),r instanceof Date&&r.getTime();for(let n in r)try{qs(r[n],e)}catch{}const t=ks(r);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const n=Ac(t);for(let a in n){const i=n[a].get;if(i)try{i.call(r)}catch{}}}}}const Du=new Set,js=new Set;function Ls(r,e,t,n={}){function a(i){if(n.capture||bo.call(e,i),!i.cancelBubble)return Ma(()=>t==null?void 0:t.call(this,i))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?En(()=>{e.addEventListener(r,a,n)}):e.addEventListener(r,a,n),a}function vf(r,e,t,n={}){var a=Ls(e,r,t,n);return()=>{r.removeEventListener(e,a,n)}}function Or(r,e,t,n,a){var i={capture:n,passive:a},s=Ls(r,e,t,i);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&za(()=>{e.removeEventListener(r,s,i)})}function _n(r){for(var e=0;e<r.length;e++)Du.add(r[e]);for(var t of js)t(r)}let Au=null;function bo(r){var y;var e=this,t=e.ownerDocument,n=r.type,a=((y=r.composedPath)==null?void 0:y.call(r))||[],i=a[0]||r.target;Au=r;var s=0,l=Au===r&&r.__root;if(l){var c=a.indexOf(l);if(c!==-1&&(e===document||e===window)){r.__root=e;return}var u=a.indexOf(e);if(u===-1)return;c<=u&&(s=c)}if(i=a[s]||r.target,i!==e){Dc(r,"currentTarget",{configurable:!0,get(){return i||t}});var d=Ze,p=rr;ot(null),Yt(null);try{for(var g,_=[];i!==null;){var f=i.assignedSlot||i.parentNode||i.host||null;try{var v=i["__"+n];v!=null&&(!i.disabled||r.target===i)&&v.call(i,r)}catch(h){g?_.push(h):g=h}if(r.cancelBubble||f===e||f===null)break;i=f}if(g){for(let h of _)queueMicrotask(()=>{throw h});throw g}}finally{r.__root=e,delete r.currentTarget,ot(d),Yt(p)}}}function Os(r){var e=document.createElement("template");return e.innerHTML=r.replaceAll("<!>","<!---->"),e.content}function Tn(r,e){var t=rr;t.nodes===null&&(t.nodes={start:r,end:e,a:null,t:null})}function W(r,e){var t=(e&uo)!==0,n=(e&oi)!==0,a,i=!r.startsWith("<!>");return()=>{a===void 0&&(a=Os(i?r:"<!>"+r),t||(a=gt(a)));var s=n||au?document.importNode(a,!0):a.cloneNode(!0);if(t){var l=gt(s),c=s.lastChild;Tn(l,c)}else Tn(s,s);return s}}function yf(r,e,t="svg"){var n=!r.startsWith("<!>"),a=(e&uo)!==0,i=`<${t}>${n?r:"<!>"+r}</${t}>`,s;return()=>{if(!s){var l=Os(i),c=gt(l);if(a)for(s=document.createDocumentFragment();gt(c);)s.appendChild(gt(c));else s=gt(c)}var u=s.cloneNode(!0);if(a){var d=gt(u),p=u.lastChild;Tn(d,p)}else Tn(u,u);return u}}function Dr(r,e){return yf(r,e,"svg")}function Oe(r=""){{var e=Ht(r+"");return Tn(e,e),e}}function Se(){var r=document.createDocumentFragment(),e=document.createComment(""),t=Ht();return r.append(e,t),Tn(e,t),r}function P(r,e){r!==null&&r.before(e)}function bf(r){return r.endsWith("capture")&&r!=="gotpointercapture"&&r!=="lostpointercapture"}const kf=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function wf(r){return kf.includes(r)}const Pf={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function xf(r){return r=r.toLowerCase(),Pf[r]??r}const Ef=["touchstart","touchmove"];function Sf(r){return Ef.includes(r)}let vi=!0;function yi(r){vi=r}function be(r,e){var t=e==null?"":typeof e=="object"?e+"":e;t!==(r.__t??(r.__t=r.nodeValue))&&(r.__t=t,r.nodeValue=t+"")}function la(r,e){return If(r,e)}const Oa=new Map;function If(r,{target:e,anchor:t,props:n={},events:a,context:i,intro:s=!0}){of();var l=new Set,c=p=>{for(var g=0;g<p.length;g++){var _=p[g];if(!l.has(_)){l.add(_);var f=Sf(_);e.addEventListener(_,bo,{passive:f});var v=Oa.get(_);v===void 0?(document.addEventListener(_,bo,{passive:f}),Oa.set(_,1)):Oa.set(_,v+1)}}};c(si(Du)),js.add(c);var u=void 0,d=pf(()=>{var p=t??e.appendChild(Ht());return Zc(p,{pending:()=>{}},g=>{if(i){fe({});var _=cr;_.c=i}a&&(n.$$events=a),vi=s,u=r(g,n)||{},vi=!0,i&&me()}),()=>{var f;for(var g of l){e.removeEventListener(g,bo);var _=Oa.get(g);--_===0?(document.removeEventListener(g,bo),Oa.delete(g)):Oa.set(g,_)}js.delete(c),p!==t&&((f=p.parentNode)==null||f.removeChild(p))}});return Ns.set(u,d),u}let Ns=new WeakMap;function ko(r,e){const t=Ns.get(r);return t?(Ns.delete(r),t(e)):Promise.resolve()}class wo{constructor(e,t=!0){ee(this,"anchor");Ge(this,Nt,new Map);Ge(this,sn,new Map);Ge(this,ht,new Map);Ge(this,Pa,new Set);Ge(this,Ko,!0);Ge(this,Xo,()=>{var e=$e;if(Q(this,Nt).has(e)){var t=Q(this,Nt).get(e),n=Q(this,sn).get(t);if(n)zs(n),Q(this,Pa).delete(t);else{var a=Q(this,ht).get(t);a&&(Q(this,sn).set(t,a.effect),Q(this,ht).delete(t),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[i,s]of Q(this,Nt)){if(Q(this,Nt).delete(i),i===e)break;const l=Q(this,ht).get(s);l&&(Hr(l.effect),Q(this,ht).delete(s))}for(const[i,s]of Q(this,sn)){if(i===t||Q(this,Pa).has(i))continue;const l=()=>{if(Array.from(Q(this,Nt).values()).includes(i)){var u=document.createDocumentFragment();yu(s,u),u.append(Ht()),Q(this,ht).set(i,{effect:s,fragment:u})}else Hr(s);Q(this,Pa).delete(i),Q(this,sn).delete(i)};Q(this,Ko)||!n?(Q(this,Pa).add(i),oa(s,l,!1)):l()}}});Ge(this,ps,e=>{Q(this,Nt).delete(e);const t=Array.from(Q(this,Nt).values());for(const[n,a]of Q(this,ht))t.includes(n)||(Hr(a.effect),Q(this,ht).delete(n))});this.anchor=e,Ve(this,Ko,t)}ensure(e,t){var n=$e,a=su();if(t&&!Q(this,sn).has(e)&&!Q(this,ht).has(e))if(a){var i=document.createDocumentFragment(),s=Ht();i.append(s),Q(this,ht).set(e,{effect:at(()=>t(s)),fragment:i})}else Q(this,sn).set(e,at(()=>t(this.anchor)));if(Q(this,Nt).set(n,e),a){for(const[l,c]of Q(this,sn))l===e?n.skipped_effects.delete(c):n.skipped_effects.add(c);for(const[l,c]of Q(this,ht))l===e?n.skipped_effects.delete(c.effect):n.skipped_effects.add(c.effect);n.oncommit(Q(this,Xo)),n.ondiscard(Q(this,ps))}else Q(this,Xo).call(this)}}Nt=new WeakMap,sn=new WeakMap,ht=new WeakMap,Pa=new WeakMap,Ko=new WeakMap,Xo=new WeakMap,ps=new WeakMap;function wr(r,e,...t){var n=new wo(r);aa(()=>{const a=e()??null;n.ensure(a,a&&(i=>a(i,...t)))},Vt)}function Er(r){cr===null&&Ss(),Ca&&cr.l!==null?Cf(cr).m.push(r):gr(()=>{const e=Ue(r);if(typeof e=="function")return e})}function jt(r){cr===null&&Ss(),Er(()=>()=>Ue(r))}function Cf(r){var e=r.l;return e.u??(e.u={a:[],b:[],m:[]})}function G(r,e,t=!1){var n=new wo(r),a=t?Vt:0;function i(s,l){n.ensure(s,l)}aa(()=>{var s=!1;e((l,c=!0)=>{s=!0,i(c,l)}),s||i(!1,null)},a)}function Fu(r,e,t){var n=new wo(r),a=!Da();aa(()=>{var i=e();a&&i!==null&&typeof i=="object"&&(i={}),n.ensure(i,t)})}function gn(r,e){return e}function Tf(r,e,t){for(var n=[],a=e.length,i,s=e.length,l=0;l<a;l++){let p=e[l];oa(p,()=>{if(i){if(i.pending.delete(p),i.done.add(p),i.pending.size===0){var g=r.outrogroups;Bs(si(i.done)),g.delete(i),g.size===0&&(r.outrogroups=null)}}else s-=1},!1)}if(s===0){var c=n.length===0&&t!==null;if(c){var u=t,d=u.parentNode;sf(d),d.append(u),r.items.clear()}Bs(e,!c)}else i={pending:new Set(e),done:new Set},(r.outrogroups??(r.outrogroups=new Set)).add(i)}function Bs(r,e=!0){for(var t=0;t<r.length;t++)Hr(r[t],e)}var Mu;function Gt(r,e,t,n,a,i=null){var s=r,l=new Map,c=(e&br)!==0;if(c){var u=r;s=u.appendChild(Ht())}var d=null,p=Sn(()=>{var h=t();return ii(h)?h:h==null?[]:si(h)}),g,_=!0;function f(){y.fallback=d,Df(y,g,s,e,n),d!==null&&(g.length===0?(d.f&un)===0?zs(d):(d.f^=un,Po(d,null,s)):oa(d,()=>{d=null}))}var v=aa(()=>{g=o(p);for(var h=g.length,b=new Set,k=$e,w=su(),E=0;E<h;E+=1){var S=g[E],I=n(S,E),F=_?null:l.get(I);F?(F.v&&Fa(F.v,S),F.i&&Fa(F.i,E),w&&k.skipped_effects.delete(F.e)):(F=Af(l,_?s:Mu??(Mu=Ht()),S,I,E,a,e,t),_||(F.e.f|=un),l.set(I,F)),b.add(I)}if(h===0&&i&&!d&&(_?d=at(()=>i(s)):(d=at(()=>i(Mu??(Mu=Ht()))),d.f|=un)),!_)if(w){for(const[x,q]of l)b.has(x)||k.skipped_effects.add(q.e);k.oncommit(f),k.ondiscard(()=>{})}else f();o(p)}),y={effect:v,items:l,outrogroups:null,fallback:d};_=!1}function Df(r,e,t,n,a){var q,T,N,L,O,j,C,A,M;var i=(n&Rr)!==0,s=e.length,l=r.items,c=r.effect.first,u,d=null,p,g=[],_=[],f,v,y,h;if(i)for(h=0;h<s;h+=1)f=e[h],v=a(f,h),y=l.get(v).e,(y.f&un)===0&&((T=(q=y.nodes)==null?void 0:q.a)==null||T.measure(),(p??(p=new Set)).add(y));for(h=0;h<s;h+=1){if(f=e[h],v=a(f,h),y=l.get(v).e,r.outrogroups!==null)for(const U of r.outrogroups)U.pending.delete(y),U.done.delete(y);if((y.f&un)!==0)if(y.f^=un,y===c)Po(y,null,t);else{var b=d?d.next:c;y===r.effect.last&&(r.effect.last=y.prev),y.prev&&(y.prev.next=y.next),y.next&&(y.next.prev=y.prev),Dn(r,d,y),Dn(r,y,b),Po(y,b,t),d=y,g=[],_=[],c=d.next;continue}if((y.f&_t)!==0&&(zs(y),i&&((L=(N=y.nodes)==null?void 0:N.a)==null||L.unfix(),(p??(p=new Set)).delete(y))),y!==c){if(u!==void 0&&u.has(y)){if(g.length<_.length){var k=_[0],w;d=k.prev;var E=g[0],S=g[g.length-1];for(w=0;w<g.length;w+=1)Po(g[w],k,t);for(w=0;w<_.length;w+=1)u.delete(_[w]);Dn(r,E.prev,S.next),Dn(r,d,E),Dn(r,S,k),c=k,d=S,h-=1,g=[],_=[]}else u.delete(y),Po(y,c,t),Dn(r,y.prev,y.next),Dn(r,y,d===null?r.effect.first:d.next),Dn(r,d,y),d=y;continue}for(g=[],_=[];c!==null&&c!==y;)(u??(u=new Set)).add(c),_.push(c),c=c.next;if(c===null)continue}(y.f&un)===0&&g.push(y),d=y,c=y.next}if(r.outrogroups!==null){for(const U of r.outrogroups)U.pending.size===0&&(Bs(si(U.done)),(O=r.outrogroups)==null||O.delete(U));r.outrogroups.size===0&&(r.outrogroups=null)}if(c!==null||u!==void 0){var I=[];if(u!==void 0)for(y of u)(y.f&_t)===0&&I.push(y);for(;c!==null;)(c.f&_t)===0&&c!==r.fallback&&I.push(c),c=c.next;var F=I.length;if(F>0){var x=(n&br)!==0&&s===0?t:null;if(i){for(h=0;h<F;h+=1)(C=(j=I[h].nodes)==null?void 0:j.a)==null||C.measure();for(h=0;h<F;h+=1)(M=(A=I[h].nodes)==null?void 0:A.a)==null||M.fix()}Tf(r,I,x)}}i&&En(()=>{var U,V;if(p!==void 0)for(y of p)(V=(U=y.nodes)==null?void 0:U.a)==null||V.apply()})}function Af(r,e,t,n,a,i,s,l){var c=(s&Je)!==0?(s&Bt)===0?ur(t,!1,!1):ta(t):null,u=(s&dt)!==0?ta(a):null;return{v:c,i:u,e:at(()=>(i(e,c??t,u??a,l),()=>{r.delete(n)}))}}function Po(r,e,t){if(r.nodes)for(var n=r.nodes.start,a=r.nodes.end,i=e&&(e.f&un)===0?e.nodes.start:t;n!==null;){var s=vo(n);if(i.before(n),n===a)return;n=s}}function Dn(r,e,t){e===null?r.effect.first=t:e.next=t,t===null?r.effect.last=e:t.prev=e}function fn(r,e,t=!1,n=!1,a=!1){var i=r,s="";X(()=>{var l=rr;if(s!==(s=e()??"")&&(l.nodes!==null&&(fu(l.nodes.start,l.nodes.end),l.nodes=null),s!=="")){var c=s+"";t?c=`<svg>${c}</svg>`:n&&(c=`<math>${c}</math>`);var u=Os(c);if((t||n)&&(u=gt(u)),Tn(gt(u),u.lastChild),t||n)for(;gt(u);)i.before(gt(u));else i.before(u)}})}function Ff(r,e,t){var n=new wo(r);aa(()=>{var a=e()??null;n.ensure(a,a&&(i=>t(i,a)))},Vt)}const Mf=()=>performance.now(),mn={tick:r=>requestAnimationFrame(r),now:()=>Mf(),tasks:new Set};function zu(){const r=mn.now();mn.tasks.forEach(e=>{e.c(r)||(mn.tasks.delete(e),e.f())}),mn.tasks.size!==0&&mn.tick(zu)}function zf(r){let e;return mn.tasks.size===0&&mn.tick(zu),{promise:new Promise(t=>{mn.tasks.add(e={c:r,f:t})}),abort(){mn.tasks.delete(e)}}}function bi(r,e){Ma(()=>{r.dispatchEvent(new CustomEvent(e))})}function qf(r){if(r==="float")return"cssFloat";if(r==="offset")return"cssOffset";if(r.startsWith("--"))return r;const e=r.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(t=>t[0].toUpperCase()+t.slice(1)).join("")}function qu(r){const e={},t=r.split(";");for(const n of t){const[a,i]=n.split(":");if(!a||i===void 0)break;const s=qf(a.trim());e[s]=i.trim()}return e}const jf=r=>r;function ju(r,e,t,n){var k;var a=(r&lo)!==0,i=(r&yt)!==0,s=a&&i,l=(r&co)!==0,c=s?"both":a?"in":"out",u,d=e.inert,p=e.style.overflow,g,_;function f(){return Ma(()=>u??(u=t()(e,(n==null?void 0:n())??{},{direction:c})))}var v={is_global:l,in(){var w;if(e.inert=d,!a){_==null||_.abort(),(w=_==null?void 0:_.reset)==null||w.call(_);return}i||g==null||g.abort(),bi(e,"introstart"),g=Rs(e,f(),_,1,()=>{bi(e,"introend"),g==null||g.abort(),g=u=void 0,e.style.overflow=p})},out(w){if(!i){w==null||w(),u=void 0;return}e.inert=!0,bi(e,"outrostart"),_=Rs(e,f(),g,0,()=>{bi(e,"outroend"),w==null||w()})},stop:()=>{g==null||g.abort(),_==null||_.abort()}},y=rr;if(((k=y.nodes).t??(k.t=[])).push(v),a&&vi){var h=l;if(!h){for(var b=y.parent;b&&(b.f&Vt)!==0;)for(;(b=b.parent)&&(b.f&Rt)===0;);h=!b||(b.f&di)!==0}h&&na(()=>{Ue(()=>v.in())})}}function Rs(r,e,t,n,a){var i=n===1;if(Ea(e)){var s,l=!1;return En(()=>{if(!l){var y=e({direction:i?"in":"out"});s=Rs(r,y,t,n,a)}}),{abort:()=>{l=!0,s==null||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(t==null||t.deactivate(),!(e!=null&&e.duration))return a(),{abort:er,deactivate:er,reset:er,t:()=>n};const{delay:c=0,css:u,tick:d,easing:p=jf}=e;var g=[];if(i&&t===void 0&&(d&&d(0,1),u)){var _=qu(u(0,1));g.push(_,_)}var f=()=>1-n,v=r.animate(g,{duration:c,fill:"forwards"});return v.onfinish=()=>{v.cancel();var y=(t==null?void 0:t.t())??1-n;t==null||t.abort();var h=n-y,b=e.duration*Math.abs(h),k=[];if(b>0){var w=!1;if(u)for(var E=Math.ceil(b/16.666666666666668),S=0;S<=E;S+=1){var I=y+h*p(S/E),F=qu(u(I,1-I));k.push(F),w||(w=F.overflow==="hidden")}w&&(r.style.overflow="hidden"),f=()=>{var x=v.currentTime;return y+h*p(x/b)},d&&zf(()=>{if(v.playState!=="running")return!1;var x=f();return d(x,1-x),!0})}v=r.animate(k,{duration:b,fill:"forwards"}),v.onfinish=()=>{f=()=>n,d==null||d(n,1-n),a()}},{abort:()=>{v&&(v.cancel(),v.effect=null,v.onfinish=er)},deactivate:()=>{a=er},reset:()=>{n===0&&(d==null||d(1,0))},t:()=>f()}}function Us(r,e,t,n,a,i){var s=null,l=r,c=new wo(l,!1);aa(()=>{const u=e()||null;var d=u==="svg"?po:null;if(u===null){c.ensure(null,null),yi(!0);return}return c.ensure(u,p=>{if(u){if(s=d?document.createElementNS(d,u):document.createElement(u),Tn(s,s),n){var g=s.appendChild(Ht());n(s,g)}rr.nodes.end=s,p.before(s)}}),yi(!0),()=>{u&&yi(!1)}},Vt),za(()=>{yi(!0)})}function Pe(r,e){na(()=>{var t=r.getRootNode(),n=t.host?t:t.head??t.ownerDocument.head;if(!n.querySelector("#"+e.hash)){const a=document.createElement("style");a.id=e.hash,a.textContent=e.code,n.appendChild(a)}})}function Lf(r,e,t){na(()=>{var n=Ue(()=>e(r,t==null?void 0:t())||{});if(t&&(n!=null&&n.update)){var a=!1,i={};qa(()=>{var s=t();We(s),a&&Is(i,s)&&(i=s,n.update(s))}),a=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function Of(r,e){var t=void 0,n;pu(()=>{t!==(t=e())&&(n&&(Hr(n),n=null),t&&(n=at(()=>{na(()=>t(r))})))})}function Lu(r){var e,t,n="";if(typeof r=="string"||typeof r=="number")n+=r;else if(typeof r=="object")if(Array.isArray(r)){var a=r.length;for(e=0;e<a;e++)r[e]&&(t=Lu(r[e]))&&(n&&(n+=" "),n+=t)}else for(t in r)r[t]&&(n&&(n+=" "),n+=t);return n}function Nf(){for(var r,e,t=0,n="",a=arguments.length;t<a;t++)(r=arguments[t])&&(e=Lu(r))&&(n&&(n+=" "),n+=e);return n}function ca(r){return typeof r=="object"?Nf(r):r??""}const Ou=[...`
2
- \r\f \v\uFEFF`];function Bf(r,e,t){var n=r==null?"":""+r;if(e&&(n=n?n+" "+e:e),t){for(var a in t)if(t[a])n=n?n+" "+a:a;else if(n.length)for(var i=a.length,s=0;(s=n.indexOf(a,s))>=0;){var l=s+i;(s===0||Ou.includes(n[s-1]))&&(l===n.length||Ou.includes(n[l]))?n=(s===0?"":n.substring(0,s))+n.substring(l+1):s=l}}return n===""?null:n}function Nu(r,e=!1){var t=e?" !important;":";",n="";for(var a in r){var i=r[a];i!=null&&i!==""&&(n+=" "+a+": "+i+t)}return n}function Vs(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function Rf(r,e){if(e){var t="",n,a;if(Array.isArray(e)?(n=e[0],a=e[1]):n=e,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,s=0,l=!1,c=[];n&&c.push(...Object.keys(n).map(Vs)),a&&c.push(...Object.keys(a).map(Vs));var u=0,d=-1;const v=r.length;for(var p=0;p<v;p++){var g=r[p];if(l?g==="/"&&r[p-1]==="*"&&(l=!1):i?i===g&&(i=!1):g==="/"&&r[p+1]==="*"?l=!0:g==='"'||g==="'"?i=g:g==="("?s++:g===")"&&s--,!l&&i===!1&&s===0){if(g===":"&&d===-1)d=p;else if(g===";"||p===v-1){if(d!==-1){var _=Vs(r.substring(u,d).trim());if(!c.includes(_)){g!==";"&&p++;var f=r.substring(u,p).trim();t+=" "+f+";"}}u=p+1,d=-1}}}}return n&&(t+=Nu(n)),a&&(t+=Nu(a,!0)),t=t.trim(),t===""?null:t}return r==null?null:String(r)}function pr(r,e,t,n,a,i){var s=r.__className;if(s!==t||s===void 0){var l=Bf(t,n,i);l==null?r.removeAttribute("class"):e?r.className=l:r.setAttribute("class",l),r.__className=t}else if(i&&a!==i)for(var c in i){var u=!!i[c];(a==null||u!==!!a[c])&&r.classList.toggle(c,u)}return i}function Ws(r,e={},t,n){for(var a in t){var i=t[a];e[a]!==i&&(t[a]==null?r.style.removeProperty(a):r.style.setProperty(a,i,n))}}function Ae(r,e,t,n){var a=r.__style;if(a!==e){var i=Rf(e,n);i==null?r.removeAttribute("style"):r.style.cssText=i,r.__style=e}else n&&(Array.isArray(n)?(Ws(r,t==null?void 0:t[0],n[0]),Ws(r,t==null?void 0:t[1],n[1],"important")):Ws(r,t,n));return n}function Hs(r,e,t=!1){if(r.multiple){if(e==null)return;if(!ii(e))return Vg();for(var n of r.options)n.selected=e.includes(Bu(n));return}for(n of r.options){var a=Bu(n);if(af(a,e)){n.selected=!0;return}}(!t||e!==void 0)&&(r.selectedIndex=-1)}function Uf(r){var e=new MutationObserver(()=>{Hs(r,r.__value)});e.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),za(()=>{e.disconnect()})}function Bu(r){return"__value"in r?r.__value:r.value}const xo=Symbol("class"),Eo=Symbol("style"),Ru=Symbol("is custom element"),Uu=Symbol("is html");function Vf(r,e){e?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function we(r,e,t,n){var a=Vu(r);a[e]!==(a[e]=t)&&(e==="loading"&&(r[Fg]=t),t==null?r.removeAttribute(e):typeof t!="string"&&Hu(r).includes(e)?r[e]=t:r.setAttribute(e,t))}function Wf(r,e,t,n,a=!1,i=!1){var s=Vu(r),l=s[Ru],c=!s[Uu],u=e||{},d=r.tagName==="OPTION";for(var p in e)p in t||(t[p]=null);t.class?t.class=ca(t.class):(n||t[xo])&&(t.class=null),t[Eo]&&(t.style??(t.style=null));var g=Hu(r);for(const k in t){let w=t[k];if(d&&k==="value"&&w==null){r.value=r.__value="",u[k]=w;continue}if(k==="class"){var _=r.namespaceURI==="http://www.w3.org/1999/xhtml";pr(r,_,w,n,e==null?void 0:e[xo],t[xo]),u[k]=w,u[xo]=t[xo];continue}if(k==="style"){Ae(r,w,e==null?void 0:e[Eo],t[Eo]),u[k]=w,u[Eo]=t[Eo];continue}var f=u[k];if(!(w===f&&!(w===void 0&&r.hasAttribute(k)))){u[k]=w;var v=k[0]+k[1];if(v!=="$$")if(v==="on"){const E={},S="$$"+k;let I=k.slice(2);var y=wf(I);if(bf(I)&&(I=I.slice(0,-7),E.capture=!0),!y&&f){if(w!=null)continue;r.removeEventListener(I,u[S],E),u[S]=null}if(w!=null)if(y)r[`__${I}`]=w,_n([I]);else{let F=function(x){u[k].call(this,x)};u[S]=Ls(I,r,F,E)}else y&&(r[`__${I}`]=void 0)}else if(k==="style")we(r,k,w);else if(k==="autofocus")lf(r,!!w);else if(!l&&(k==="__value"||k==="value"&&w!=null))r.value=r.__value=w;else if(k==="selected"&&d)Vf(r,w);else{var h=k;c||(h=xf(h));var b=h==="defaultValue"||h==="defaultChecked";if(w==null&&!l&&!b)if(s[k]=null,h==="value"||h==="checked"){let E=r;const S=e===void 0;if(h==="value"){let I=E.defaultValue;E.removeAttribute(h),E.defaultValue=I,E.value=E.__value=S?I:null}else{let I=E.defaultChecked;E.removeAttribute(h),E.defaultChecked=I,E.checked=S?I:!1}}else r.removeAttribute(k);else b||g.includes(h)&&(l||typeof w!="string")?(r[h]=w,h in s&&(s[h]=Tr)):typeof w!="function"&&we(r,h,w)}}}return u}function Ys(r,e,t=[],n=[],a=[],i,s=!1,l=!1){Jc(a,t,n,c=>{var u=void 0,d={},p=r.nodeName==="SELECT",g=!1;if(pu(()=>{var f=e(...c.map(o)),v=Wf(r,u,f,i,s,l);g&&p&&"value"in f&&Hs(r,f.value);for(let h of Object.getOwnPropertySymbols(d))f[h]||Hr(d[h]);for(let h of Object.getOwnPropertySymbols(f)){var y=f[h];h.description===Jr&&(!u||y!==u[h])&&(d[h]&&Hr(d[h]),d[h]=at(()=>Of(r,()=>y))),v[h]=y}u=v}),p){var _=r;na(()=>{Hs(_,u.value,!0),Uf(_)})}g=!0})}function Vu(r){return r.__attributes??(r.__attributes={[Ru]:r.nodeName.includes("-"),[Uu]:r.namespaceURI===pt})}var Wu=new Map;function Hu(r){var e=r.getAttribute("is")||r.nodeName,t=Wu.get(e);if(t)return t;Wu.set(e,t=[]);for(var n,a=r,i=Element.prototype;i!==a;){n=Ac(a);for(var s in n)n[s].set&&t.push(s);a=ks(a)}return t}function Hf(r,e,t=e){var n=new WeakSet;uf(r,"input",async a=>{var i=a?r.defaultValue:r.value;if(i=Gs(r)?Ks(i):i,t(i),$e!==null&&n.add($e),await Iu(),i!==(i=e())){var s=r.selectionStart,l=r.selectionEnd,c=r.value.length;if(r.value=i??"",l!==null){var u=r.value.length;s===l&&l===c&&u>c?(r.selectionStart=u,r.selectionEnd=u):(r.selectionStart=s,r.selectionEnd=Math.min(l,u))}}}),Ue(e)==null&&r.value&&(t(Gs(r)?Ks(r.value):r.value),$e!==null&&n.add($e)),qa(()=>{var a=e();if(r===document.activeElement){var i=_i??$e;if(n.has(i))return}Gs(r)&&a===Ks(r.value)||r.type==="date"&&!a&&!r.value||a!==r.value&&(r.value=a??"")})}function Gs(r){var e=r.type;return e==="number"||e==="range"}function Ks(r){return r===""?null:+r}const gs=class gs{constructor(e){Ge(this,_s);Ge(this,Xn,new WeakMap);Ge(this,no);Ge(this,Zo);Ve(this,Zo,e)}observe(e,t){var n=Q(this,Xn).get(e)||new Set;return n.add(t),Q(this,Xn).set(e,n),Lr(this,_s,Ig).call(this).observe(e,Q(this,Zo)),()=>{var a=Q(this,Xn).get(e);a.delete(t),a.size===0&&(Q(this,Xn).delete(e),Q(this,no).unobserve(e))}}};Xn=new WeakMap,no=new WeakMap,Zo=new WeakMap,_s=new WeakSet,Ig=function(){return Q(this,no)??Ve(this,no,new ResizeObserver(e=>{for(var t of e){gs.entries.set(t.target,t);for(var n of Q(this,Xn).get(t.target)||[])n(t)}}))},ee(gs,"entries",new WeakMap);let ki=gs;var Yf=new ki({box:"content-box"}),Gf=new ki({box:"border-box"});function Yu(r,e,t){var n=Yf,a=n.observe(r,i=>t(i[e]));za(a)}function wi(r,e,t){var n=Gf.observe(r,()=>t(r[e]));na(()=>(Ue(()=>t(r[e])),n))}function Gu(r,e){return r===e||(r==null?void 0:r[Wt])===e}function Na(r={},e,t,n){return na(()=>{var a,i;return qa(()=>{a=i,i=[],Ue(()=>{r!==t(...i)&&(e(r,...i),a&&Gu(t(...a),r)&&e(null,...a))})}),()=>{En(()=>{i&&Gu(t(...i),r)&&e(null,...i)})}}),r}function An(r=!1){const e=cr,t=e.l.u;if(!t)return;let n=()=>We(e.s);if(r){let a=0,i={};const s=mo(()=>{let l=!1;const c=e.s;for(const u in c)c[u]!==i[u]&&(i[u]=c[u],l=!0);return l&&a++,a});n=()=>o(s)}t.b.length&&du(()=>{Ku(e,n),li(t.b)}),gr(()=>{const a=Ue(()=>t.m.map(Ag));return()=>{for(const i of a)typeof i=="function"&&i()}}),t.a.length&&gr(()=>{Ku(e,n),li(t.a)})}function Ku(r,e){if(r.l.s)for(const t of r.l.s)o(t);e()}function Xu(r,e){var i;var t=(i=r.$$events)==null?void 0:i[e.type],n=ii(t)?t.slice():t==null?[]:[t];for(var a of n)a.call(this,e)}function Xs(r,e,t){if(r==null)return e(void 0),t&&t(void 0),er;const n=Ue(()=>r.subscribe(e,t));return n.unsubscribe?()=>n.unsubscribe():n}const Ba=[];function Pt(r,e){return{subscribe:Sr(r,e).subscribe}}function Sr(r,e=er){let t=null;const n=new Set;function a(l){if(Is(r,l)&&(r=l,t)){const c=!Ba.length;for(const u of n)u[1](),Ba.push(u,r);if(c){for(let u=0;u<Ba.length;u+=2)Ba[u][0](Ba[u+1]);Ba.length=0}}}function i(l){a(l(r))}function s(l,c=er){const u=[l,c];return n.add(u),n.size===1&&(t=e(a,i)||er),l(r),()=>{n.delete(u),n.size===0&&t&&(t(),t=null)}}return{set:a,update:i,subscribe:s}}function Lt(r,e,t){const n=!Array.isArray(r),a=n?[r]:r;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=e.length<2;return Pt(t,(s,l)=>{let c=!1;const u=[];let d=0,p=er;const g=()=>{if(d)return;p();const f=e(n?u[0]:u,s,l);i?s(f):p=typeof f=="function"?f:er},_=a.map((f,v)=>Xs(f,y=>{u[v]=y,d&=~(1<<v),c&&g()},()=>{d|=1<<v}));return c=!0,g(),function(){li(_),p(),c=!1}})}function Zs(r){let e;return Xs(r,t=>e=t)(),e}let Pi=!1,Js=Symbol();function ge(r,e,t){const n=t[e]??(t[e]={store:null,source:ur(void 0),unsubscribe:er});if(n.store!==r&&!(Js in t))if(n.unsubscribe(),n.store=r??null,r==null)n.source.v=void 0,n.unsubscribe=er;else{var a=!0;n.unsubscribe=Xs(r,i=>{a?n.source.v=i:z(n.source,i)}),a=!1}return r&&Js in t?Zs(r):o(n.source)}function Qs(r,e){return r.set(e),e}function He(){const r={};function e(){za(()=>{for(var t in r)r[t].unsubscribe();Dc(r,Js,{enumerable:!1,value:!0})})}return[r,e]}function Kf(r){var e=Pi;try{return Pi=!1,[r(),Pi]}finally{Pi=e}}const Xf={get(r,e){if(!r.exclude.includes(e))return r.props[e]},set(r,e){return!1},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function Ir(r,e,t){return new Proxy({props:r,exclude:e},Xf)}const Zf={get(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(Ea(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n)return n[e]}},set(r,e,t){let n=r.props.length;for(;n--;){let a=r.props[n];Ea(a)&&(a=a());const i=Pn(a,e);if(i&&i.set)return i.set(t),!0}return!1},getOwnPropertyDescriptor(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(Ea(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const a=Pn(n,e);return a&&!a.configurable&&(a.configurable=!0),a}}},has(r,e){if(e===Wt||e===Lc)return!1;for(let t of r.props)if(Ea(t)&&(t=t()),t!=null&&e in t)return!0;return!1},ownKeys(r){const e=[];for(let t of r.props)if(Ea(t)&&(t=t()),!!t){for(const n in t)e.includes(n)||e.push(n);for(const n of Object.getOwnPropertySymbols(t))e.includes(n)||e.push(n)}return e}};function _r(...r){return new Proxy({props:r},Zf)}function J(r,e,t,n){var k;var a=!Ca||(t&ai)!==0,i=(t&so)!==0,s=(t&lr)!==0,l=n,c=!0,u=()=>(c&&(c=!1,l=s?Ue(n):n),l),d;if(i){var p=Wt in r||Lc in r;d=((k=Pn(r,e))==null?void 0:k.set)??(p&&e in r?w=>r[e]=w:void 0)}var g,_=!1;i?[g,_]=Kf(()=>r[e]):g=r[e],g===void 0&&n!==void 0&&(g=u(),d&&(a&&Og(),d(g)));var f;if(a?f=()=>{var w=r[e];return w===void 0?u():(c=!0,w)}:f=()=>{var w=r[e];return w!==void 0&&(l=void 0),w===void 0?l:w},a&&(t&Qn)===0)return f;if(d){var v=r.$$legacy;return function(w,E){return arguments.length>0?((!a||!E||v||_)&&d(E?f():w),w):f()}}var y=!1,h=((t&nt)!==0?mo:Sn)(()=>(y=!1,f()));i&&o(h);var b=rr;return function(w,E){if(arguments.length>0){const S=E?o(h):a&&i?ar(w):w;return z(h,S),y=!0,l!==void 0&&(l=S),w}return Cn&&y||(b.f&cn)!==0?h.v:o(h)}}var Fe=(r=>(r[r.UnknownError=0]="UnknownError",r[r.UserCancelledError=1]="UserCancelledError",r[r.StoreProblemError=2]="StoreProblemError",r[r.PurchaseNotAllowedError=3]="PurchaseNotAllowedError",r[r.PurchaseInvalidError=4]="PurchaseInvalidError",r[r.ProductNotAvailableForPurchaseError=5]="ProductNotAvailableForPurchaseError",r[r.ProductAlreadyPurchasedError=6]="ProductAlreadyPurchasedError",r[r.ReceiptAlreadyInUseError=7]="ReceiptAlreadyInUseError",r[r.InvalidReceiptError=8]="InvalidReceiptError",r[r.MissingReceiptFileError=9]="MissingReceiptFileError",r[r.NetworkError=10]="NetworkError",r[r.InvalidCredentialsError=11]="InvalidCredentialsError",r[r.UnexpectedBackendResponseError=12]="UnexpectedBackendResponseError",r[r.InvalidAppUserIdError=14]="InvalidAppUserIdError",r[r.OperationAlreadyInProgressError=15]="OperationAlreadyInProgressError",r[r.UnknownBackendError=16]="UnknownBackendError",r[r.InvalidAppleSubscriptionKeyError=17]="InvalidAppleSubscriptionKeyError",r[r.IneligibleError=18]="IneligibleError",r[r.InsufficientPermissionsError=19]="InsufficientPermissionsError",r[r.PaymentPendingError=20]="PaymentPendingError",r[r.InvalidSubscriberAttributesError=21]="InvalidSubscriberAttributesError",r[r.LogOutWithAnonymousUserError=22]="LogOutWithAnonymousUserError",r[r.ConfigurationError=23]="ConfigurationError",r[r.UnsupportedError=24]="UnsupportedError",r[r.EmptySubscriberAttributesError=25]="EmptySubscriberAttributesError",r[r.CustomerInfoError=28]="CustomerInfoError",r[r.SignatureVerificationError=36]="SignatureVerificationError",r[r.InvalidEmailError=38]="InvalidEmailError",r[r.TestStoreSimulatedPurchaseError=42]="TestStoreSimulatedPurchaseError",r))(Fe||{});function Jf(r){switch(r){case 0:return"Unknown error.";case 1:return"Purchase was cancelled.";case 2:return"There was a problem with the store.";case 3:return"The device or user is not allowed to make the purchase.";case 4:return"One or more of the arguments provided are invalid.";case 5:return"The product is not available for purchase.";case 6:return"This product is already active for the user.";case 7:return"There is already another active subscriber using the same receipt.";case 8:return"The receipt is not valid.";case 9:return"The receipt is missing.";case 10:return"Error performing request. Please check your network connection and try again.";case 11:return"There was a credentials issue. Check the underlying error for more details.";case 12:return"Received unexpected response from the backend.";case 14:return"The app user ID is not valid.";case 15:return"The operation is already in progress.";case 16:return"There was an unknown backend error.";case 17:return"Apple Subscription Key is invalid or not present. In order to provide subscription offers, you must first generate a subscription key. Please see https://docs.revenuecat.com/docs/ios-subscription-offers for more info.";case 18:return"The User is ineligible for that action.";case 19:return"App does not have sufficient permissions to make purchases.";case 20:return"The payment is pending.";case 21:return"One or more of the attributes sent could not be saved.";case 22:return"Called logOut but the current user is anonymous.";case 23:return"There is an issue with your configuration. Check the underlying error for more details.";case 24:return"There was a problem with the operation. Looks like we don't support that yet. Check the underlying error for more details.";case 25:return"A request for subscriber attributes returned none.";case 28:return"There was a problem related to the customer info.";case 36:return"Request failed signature verification. Please see https://rev.cat/trusted-entitlements for more info.";case 38:return"Email is not valid. Please provide a valid email address.";case 42:return"Purchase failure simulated successfully in Test Store."}}class Ra{static getPublicMessage(e){return Jf(e)}static getErrorCodeForBackendErrorCode(e){switch(e){case 7101:case 7773:case 7898:case 7899:case 7900:case 7901:return Fe.StoreProblemError;case 7102:return Fe.ReceiptAlreadyInUseError;case 7103:return Fe.InvalidReceiptError;case 7107:case 7224:case 7225:case 7967:return Fe.InvalidCredentialsError;case 7105:case 7106:case 7814:case 7877:case 7878:return Fe.PurchaseInvalidError;case 7772:return Fe.ProductAlreadyPurchasedError;case 7220:return Fe.InvalidAppUserIdError;case 7259:return Fe.CustomerInfoError;case 7229:return Fe.StoreProblemError;case 7230:case 7e3:return Fe.ConfigurationError;case 7231:return Fe.StoreProblemError;case 7232:return Fe.IneligibleError;case 7263:case 7264:return Fe.InvalidSubscriberAttributesError;case 7104:case 7234:case 7226:case 7110:return Fe.UnexpectedBackendResponseError;case 7662:return Fe.UnsupportedError;case 7012:case 7834:case 7879:return Fe.InvalidEmailError}}static convertCodeToBackendErrorCode(e){return e in hn?e:null}static convertPurchaseFlowErrorCodeToErrorCode(e){switch(e){case he.ErrorSettingUpPurchase:return Fe.StoreProblemError;case he.ErrorChargingPayment:return Fe.PaymentPendingError;case he.NetworkError:return Fe.NetworkError;case he.MissingEmailError:return Fe.PurchaseInvalidError;case he.AlreadyPurchasedError:return Fe.ProductAlreadyPurchasedError;case he.InvalidPaddleAPIKeyError:return Fe.InvalidCredentialsError;default:return Fe.UnknownError}}}var hn=(r=>(r[r.BackendInvalidPlatform=7e3]="BackendInvalidPlatform",r[r.BackendInvalidEmail=7012]="BackendInvalidEmail",r[r.BackendStoreProblem=7101]="BackendStoreProblem",r[r.BackendCannotTransferPurchase=7102]="BackendCannotTransferPurchase",r[r.BackendInvalidReceiptToken=7103]="BackendInvalidReceiptToken",r[r.BackendInvalidAppStoreSharedSecret=7104]="BackendInvalidAppStoreSharedSecret",r[r.BackendInvalidPaymentModeOrIntroPriceNotProvided=7105]="BackendInvalidPaymentModeOrIntroPriceNotProvided",r[r.BackendProductIdForGoogleReceiptNotProvided=7106]="BackendProductIdForGoogleReceiptNotProvided",r[r.BackendInvalidPlayStoreCredentials=7107]="BackendInvalidPlayStoreCredentials",r[r.BackendInternalServerError=7110]="BackendInternalServerError",r[r.BackendEmptyAppUserId=7220]="BackendEmptyAppUserId",r[r.BackendInvalidAuthToken=7224]="BackendInvalidAuthToken",r[r.BackendInvalidAPIKey=7225]="BackendInvalidAPIKey",r[r.BackendBadRequest=7226]="BackendBadRequest",r[r.BackendPlayStoreQuotaExceeded=7229]="BackendPlayStoreQuotaExceeded",r[r.BackendPlayStoreInvalidPackageName=7230]="BackendPlayStoreInvalidPackageName",r[r.BackendPlayStoreGenericError=7231]="BackendPlayStoreGenericError",r[r.BackendUserIneligibleForPromoOffer=7232]="BackendUserIneligibleForPromoOffer",r[r.BackendInvalidAppleSubscriptionKey=7234]="BackendInvalidAppleSubscriptionKey",r[r.BackendSubscriberNotFound=7259]="BackendSubscriberNotFound",r[r.BackendInvalidSubscriberAttributes=7263]="BackendInvalidSubscriberAttributes",r[r.BackendInvalidSubscriberAttributesBody=7264]="BackendInvalidSubscriberAttributesBody",r[r.BackendProductIDsMalformed=7662]="BackendProductIDsMalformed",r[r.BackendAlreadySubscribedError=7772]="BackendAlreadySubscribedError",r[r.BackendPaymentGatewayGenericError=7773]="BackendPaymentGatewayGenericError",r[r.BackendOfferNotFound=7814]="BackendOfferNotFound",r[r.BackendNoMXRecordsFound=7834]="BackendNoMXRecordsFound",r[r.BackendInvalidOperationSession=7877]="BackendInvalidOperationSession",r[r.BackendPurchaseCannotBeCompleted=7878]="BackendPurchaseCannotBeCompleted",r[r.BackendEmailIsRequired=7879]="BackendEmailIsRequired",r[r.BackendGatewaySetupErrorStripeTaxNotActive=7898]="BackendGatewaySetupErrorStripeTaxNotActive",r[r.BackendGatewaySetupErrorInvalidTaxOriginAddress=7899]="BackendGatewaySetupErrorInvalidTaxOriginAddress",r[r.BackendGatewaySetupErrorMissingRequiredPermission=7900]="BackendGatewaySetupErrorMissingRequiredPermission",r[r.BackendGatewaySetupErrorSandboxModeOnly=7901]="BackendGatewaySetupErrorSandboxModeOnly",r[r.BackendInvalidPaddleAPIKey=7967]="BackendInvalidPaddleAPIKey",r))(hn||{});class Qe extends Error{constructor(t,n,a,i){super(n);ee(this,"toString",()=>`PurchasesError(code: ${Fe[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=i}static getForBackendError(t,n){const a=Ra.getErrorCodeForBackendErrorCode(t);return new Qe(a,Ra.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new Qe(Ra.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class Zu extends Error{constructor(){super("Purchases must be configured before calling getInstance")}}var vn=(r=>(r.Started="started",r.InProgress="in_progress",r.Succeeded="succeeded",r.Failed="failed",r))(vn||{}),Ua=(r=>(r[r.SetupIntentCreationFailed=1]="SetupIntentCreationFailed",r[r.PaymentMethodCreationFailed=2]="PaymentMethodCreationFailed",r[r.PaymentChargeFailed=3]="PaymentChargeFailed",r[r.SetupIntentCompletionFailed=4]="SetupIntentCompletionFailed",r[r.AlreadyPurchased=5]="AlreadyPurchased",r))(Ua||{}),it=(r=>(r[r.Silent=0]="Silent",r[r.Error=1]="Error",r[r.Warn=2]="Warn",r[r.Info=3]="Info",r[r.Debug=4]="Debug",r[r.Verbose=5]="Verbose",r))(it||{});class ke{static setLogLevel(e){this.logLevel=e}static setLogHandler(e){this.logHandler=e}static log(e,t=this.logLevel){const n=`[Purchases] ${e}`;if(!(this.logLevel<t||t===it.Silent)){if(this.logHandler!==null){this.logHandler(t,n);return}switch(t){case it.Error:console.error(n);break;case it.Warn:console.warn(n);break;case it.Info:console.info(n);break;case it.Debug:console.debug(n);break;case it.Verbose:console.debug(n);break}}}static errorLog(e){this.log(e,it.Error)}static warnLog(e){this.log(e,it.Warn)}static infoLog(e){this.log(e,it.Info)}static debugLog(e){this.log(e,it.Debug)}static verboseLog(e){this.log(e,it.Verbose)}}ee(ke,"logLevel",it.Silent),ee(ke,"logHandler",null);function Ju(r){var e;return r.operation.redemption_info?{redeemUrl:((e=r.operation.redemption_info)==null?void 0:e.redeem_url)??null}:null}var yn=(r=>(r.tax_collection_disabled="tax_collection_disabled",r.invalid_tax_location="invalid_tax_location",r.rate_limit_exceeded="rate_limit_exceeded",r.missing_required_permission="missing_required_permission",r.invalid_origin_address="invalid_origin_address",r.invalid_head_office_address="invalid_head_office_address",r.taxes_not_active="taxes_not_active",r.stripe_tax_unsupported_country="stripe_tax_unsupported_country",r.unexpected_gateway_error="unexpected_gateway_error",r))(yn||{});function Qu(r,e){const t=r.original_amount_in_micros??r.total_excluding_tax_in_micros,n=r.applied_discounts??[];return{currency:r.currency,originalAmountInMicros:t,totalAmountInMicros:r.total_amount_in_micros,totalExcludingTaxInMicros:r.total_excluding_tax_in_micros,taxCalculationStatus:e,taxAmountInMicros:r.tax_amount_in_micros,taxBreakdown:r.tax_breakdown,appliedDiscounts:n.map(a=>({identifier:a.identifier,displayName:a.display_name,discountedAmountInMicros:a.discounted_amount_in_micros,percentage:a.percentage,discountCode:a.discount_code,durationMode:a.duration_mode,timeWindow:a.time_window}))}}function $u(r,e){if(r==null){e(new ve(he.UnknownError,"Got an error status but error field is empty."));return}switch(r.code){case Ua.SetupIntentCreationFailed:e(new ve(he.ErrorSettingUpPurchase,"Setup intent creation failed"));return;case Ua.PaymentMethodCreationFailed:e(new ve(he.ErrorSettingUpPurchase,"Payment method creation failed"));return;case Ua.PaymentChargeFailed:e(new ve(he.ErrorChargingPayment,"Payment charge failed"));return;case Ua.SetupIntentCompletionFailed:e(new ve(he.ErrorSettingUpPurchase,"Setup intent completion failed"));return;case Ua.AlreadyPurchased:e(new ve(he.AlreadyPurchasedError,"Purchased was already completed"));return;default:e(new ve(he.UnknownError,"Unknown error code received"));return}}var he=(r=>(r[r.ErrorSettingUpPurchase=0]="ErrorSettingUpPurchase",r[r.ErrorChargingPayment=1]="ErrorChargingPayment",r[r.UnknownError=2]="UnknownError",r[r.NetworkError=3]="NetworkError",r[r.MissingEmailError=4]="MissingEmailError",r[r.AlreadyPurchasedError=5]="AlreadyPurchasedError",r[r.StripeTaxNotActive=6]="StripeTaxNotActive",r[r.StripeInvalidTaxOriginAddress=7]="StripeInvalidTaxOriginAddress",r[r.StripeMissingRequiredPermission=8]="StripeMissingRequiredPermission",r[r.InvalidPaddleAPIKeyError=9]="InvalidPaddleAPIKeyError",r))(he||{});class ve extends Error{constructor(e,t,n,a,i,s){super(t),this.errorCode=e,this.underlyingErrorMessage=n,this.purchasesErrorCode=a,this.extra=i,this.displayPurchaseFlowErrorCode=s}getErrorCode(){var t;const e=((t=this.extra)==null?void 0:t.backendErrorCode)??this.purchasesErrorCode;return this.displayPurchaseFlowErrorCode?this.errorCode??e:e??this.errorCode}static fromPurchasesError(e,t,n=!1){var i;let a;return e.errorCode===Fe.ProductAlreadyPurchasedError?a=5:e.errorCode===Fe.InvalidEmailError?a=4:e.errorCode===Fe.NetworkError?a=3:a=ve.fromBackendErrorCode((i=e.extra)==null?void 0:i.backendErrorCode)??t,new ve(a,e.message,e.underlyingErrorMessage,e.errorCode,e.extra,n)}static fromBackendErrorCode(e){switch(e){case hn.BackendGatewaySetupErrorStripeTaxNotActive:return 6;case hn.BackendGatewaySetupErrorInvalidTaxOriginAddress:return 7;case hn.BackendGatewaySetupErrorMissingRequiredPermission:return 8;case hn.BackendInvalidPaddleAPIKey:return 9;default:return null}}}class xi{constructor(e,t,n=10){ee(this,"operationSessionId",null);ee(this,"backend");ee(this,"eventsTracker");ee(this,"maxNumberAttempts");ee(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}static getBackendErrorCodeForInterruptedCheckout(e){switch(e){case yn.taxes_not_active:case yn.stripe_tax_unsupported_country:return hn.BackendGatewaySetupErrorStripeTaxNotActive;case yn.invalid_origin_address:case yn.invalid_head_office_address:return hn.BackendGatewaySetupErrorInvalidTaxOriginAddress;case yn.missing_required_permission:return hn.BackendGatewaySetupErrorMissingRequiredPermission;default:return null}}static throwIfCheckoutShouldBeInterrupted(e){if(!e.interrupt_checkout)return;const t=xi.getBackendErrorCodeForInterruptedCheckout(e.failed_reason);throw t==null?new ve(0,"There was a problem with the store.",e.failed_reason??"Checkout interrupted."):ve.fromPurchasesError(Qe.getForBackendError(t,e.failed_reason??null),0)}async prepareCheckout(e,t){try{return await this.backend.postCheckoutPrepare(e,t)}catch(n){if(n instanceof Qe)throw ve.fromPurchasesError(n,0);{const a="Unknown error preparing purchase: "+String(n);throw ke.errorLog(a),new ve(2,a)}}}async checkoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,workflowPurchaseContext:i,paywallId:s,paywallSessionId:l,customerEmail:c,metadata:u,locale:d,attributionMetadata:p}){try{const g=this.eventsTracker.getTraceId(),_=i==null?void 0:i.stepId,f=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:g,presentedStepId:_,paywallId:s,paywallSessionId:l,customerEmail:c,metadata:u,locale:d,attributionMetadata:p});return this.operationSessionId=f.operation_session_id,f}catch(g){if(g instanceof Qe)throw ve.fromPurchasesError(g,0);{const _="Unknown error starting purchase: "+String(g);throw ke.errorLog(_),new ve(2,_)}}}async checkoutRefreshPricing({countryCode:e,postalCode:t,state:n,city:a,addressLine1:i,addressLine2:s,discountCode:l,signal:c}={}){const u=this.operationSessionId;if(!u)throw new ve(0,"No purchase started");try{const d=await this.backend.patchCheckoutRefreshPricing(u,{countryCode:e,postalCode:t,state:n,city:a,addressLine1:i,addressLine2:s,discountCode:l,signal:c});return xi.throwIfCheckoutShouldBeInterrupted(d),d}catch(d){if(d instanceof ve)throw d;if(d instanceof Qe)throw ve.fromPurchasesError(d,0);{const p="Unknown error refreshing checkout pricing: "+String(d);throw ke.errorLog(p),new ve(2,p)}}}async checkoutComplete(e,t){const n=this.operationSessionId;if(!n)throw new ve(0,"No purchase started");try{return await this.backend.postCheckoutComplete(n,e,t)}catch(a){if(a instanceof Qe)throw ve.fromPurchasesError(a,0);{const i="Unknown error starting purchase: "+String(a);throw ke.errorLog(i),new ve(2,i)}}}async pollCurrentPurchaseForCompletion(){const e=this.operationSessionId;if(!e)throw new ve(0,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){this.clearPurchaseInProgress(),n(new ve(2,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const l=s.operation.store_transaction_identifier,c=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case vn.Started:case vn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case vn.Succeeded:if(this.clearPurchaseInProgress(),!l||!c||!u){n(new ve(2,"Missing required fields in operation response."));return}t({redemptionInfo:Ju(s),operationSessionId:e,storeTransactionIdentifier:l,productIdentifier:c,purchaseDate:u,attributionMetadata:s.attribution_metadata??void 0});return;case vn.Failed:this.clearPurchaseInProgress(),$u(s.operation.error,n)}}).catch(s=>{const l=ve.fromPurchasesError(s,3);n(l)})};a()})}clearPurchaseInProgress(){this.operationSessionId=null}}const vr="rcb-ui-translator",Yr="en",Qf={"periods.week":"{{amount}} week","periods.month":"{{amount}} month","periods.year":"{{amount}} year","periods.day":"{{amount}} day","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"lifetime","periods.weekPlural":"{{amount}} weeks","periods.monthPlural":"{{amount}} months","periods.yearPlural":"{{amount}} years","periods.dayPlural":"{{amount}} days","periods.weekFrequency":"weekly","periods.monthFrequency":"monthly","periods.yearFrequency":"yearly","periods.dayFrequency":"daily","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per month","periods.perYearFrequency":"per year","periods.perDayFrequency":"per day","periods.unknownFrequency":"unknown","periods.weekFrequencyPlural":"every {{amount}} weeks","periods.monthFrequencyPlural":"every {{amount}} months","periods.yearFrequencyPlural":"every {{amount}} years","periods.dayFrequencyPlural":"every {{amount}} days","product_info.subscribe_to":"Subscribe to","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Try free for {{trialDuration}}","product_info.price_after_free_trial":"After trial ends, on {{renewalDate}}","product_info.intro_price_phase_after_trial":"Then {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"First {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"paid once","product_info.price_after_intro_price":"After {{introPriceDuration}}, on {{renewalDate}}","product_info.after_trial":"after trial","product_info.after":"after","product_info.total_due_today":"Total due today","product_info.renewal_frequency":"Renews {{frequency}}","product_info.continues_until_cancelled":"Continues until cancelled","product_info.cancel_anytime":"Cancel anytime","payment_entry_page.payment_step_title":"Secure checkout by RevenueCat","payment_entry_page.trial_subscription_terms_info":"After your trial ends, you will be charged {{price}} {{perFrequency}} starting {{renewalDate}}. You can cancel any time before this date.","payment_entry_page.subscription_terms_info":"By subscribing, you agree to allow {{appName}} to charge you according to their terms until you cancel.","payment_entry_page.otp_terms_info":"By purchasing, you agree to allow {{appName}} to charge you according to their terms.","payment_entry_page.terms_link_label":"Terms","payment_entry_page.subscription_info":"Subscription renews automatically. Cancel anytime.","payment_entry_page.button_pay":"Pay now","payment_entry_page.button_start_trial":"Start trial","payment_entry_page.button_with_price":"Pay {{formattedPrice}}","payment_entry_page.button_payment_method":"Pay {{formattedPrice}} with {{paymentMethod}}","payment_entry_page.express_checkout_divider":"OR PAY BY CARD","loading_page.processing_payment":"Processing payment","loading_page.keep_page_open":"The process is almost done. Keep this page open.","success_page.purchase_successful":"Payment complete","success_page.button_close":"Continue","error_page.close_button_title":"Go to {{appName}}","error_page.if_error_persists":"If it persists, please contact ","error_page.trouble_accessing":"If you're having trouble accessing your purchase, reach out to support on ","error_page.error_title_already_subscribed":"You already subscribed to {{productTitle}}","error_page.error_title_already_purchased":"You already purchased {{productTitle}}","error_page.error_title_other_errors":"Something went wrong","error_page.error_message_already_subscribed":"You can't subscribe to this product again.","error_page.error_message_already_purchased":"You can't purchase this product again.","error_page.error_title_stripe_tax_not_active":"Stripe Tax not active","error_page.error_title_stripe_invalid_tax_origin_address":"Invalid tax origin address","error_page.error_title_stripe_missing_required_permission":"Missing Stripe permission","error_page.error_message_missing_email_error":"Email is required to complete the purchase.","error_page.error_message_invalid_email_error":"The email address {{email}} couldn't be verified. Please provide a valid email address.","error_page.error_message_network_error":"Network error. Please check your internet connection.","error_page.error_message_error_charging_payment":"Payment failed.","error_page.error_message_error_setting_up_purchase":"Purchase not started due to an error (error code: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We couldn't verify your billing address. Please double-check that the postal code and country are correct.","error_page.error_message_unknown_error":"An unknown error occurred (error code: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"The purchase failed because Stripe Tax isn’t enabled. In production, purchases will work without taxes applied.","error_page.error_message_stripe_invalid_tax_origin_address":"The purchase failed because the tax origin address is invalid. In production, purchases will work without taxes applied.","error_page.error_message_stripe_missing_required_permission":"The purchase failed because the Stripe app lacks a required permission. In production, purchases will work without taxes applied.","error_page.error_only_in_sandbox":"This message appears only in sandbox.","error_page.button_try_again":"Try again","error_page.button_close":"Close","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Show details","pricing_dropdown.hide_details":"Hide details","pricing_dropdown.add_promo_code":"Add promo code","discount_input.label":"Promo code","pricing_table.trial_ends":"After trial ends, on {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Total excluding tax","pricing_table.total_due_today":"Total due today","pricing_table.subtotal":"Subtotal","pricing_table.discount":"Discount","pricing_table.tax":"Tax","pricing_table.enter_billing_address_to_calculate":"Enter billing address to calculate","pricing_table.enter_postal_code_to_calculate":"Enter zip code to calculate","pricing_table.enter_state_or_postal_code_to_calculate":"Enter state or postal code to calculate","navbar_header.details":"Details","navbar_header.back_button":"Back","price_update.title":"Price update","price_update.base_message":"The total price was updated with tax based on your billing address. Please review and try again. Your card will only be charged once.","price_update.trial_message":"The subscription price was updated to include tax based on your billing address. Free trial still applies. Review and try again.","apple_pay.free_trial":"Free Trial"},$f={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mes","periods.year":"{{amount}} año","periods.day":"{{amount}} día","periods.weekShort":"{{amount}} sem","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}año","periods.dayShort":"{{amount}}d","periods.lifetime":"de por vida","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} años","periods.dayPlural":"{{amount}} días","periods.weekFrequency":"semanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diaria","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mes","periods.perYearFrequency":"por año","periods.perDayFrequency":"por día","periods.unknownFrequency":"desconocida","periods.weekFrequencyPlural":"cada {{amount}} semanas","periods.monthFrequencyPlural":"cada {{amount}} meses","periods.yearFrequencyPlural":"cada {{amount}} años","periods.dayFrequencyPlural":"cada {{amount}} días","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prueba gratuita","product_info.price_after_free_trial":"Después de que termine el periodo de prueba, el {{renewalDate}}","product_info.renewal_frequency":"Se renueva {{frequency}}","product_info.continues_until_cancelled":"Continua hasta que se cancele","product_info.cancel_anytime":"Cancelar en cualquier momento","payment_entry_page.payment_step_title":"Pago seguro mediante RevenueCat","payment_entry_page.button_pay":"Pagar ahora","payment_entry_page.button_start_trial":"Comenzar prueba","success_page.purchase_successful":"Pago completado","success_page.button_close":"Continuar","error_page.if_error_persists":"Si el error persiste, contacta con ","error_page.error_title_already_subscribed":"Ya te has suscrito a {{productTitle}}","error_page.error_title_already_purchased":"Ya has comprado {{productTitle}}","error_page.error_title_other_errors":"Algo salió mal","error_page.error_message_already_subscribed":"No puedes suscribirte a este producto de nuevo.","error_page.error_message_already_purchased":"No puedes comprar este producto de nuevo.","error_page.error_message_missing_email_error":"Se requiere un correo electrónico para completar la compra.","error_page.error_message_network_error":"Error de red. Por favor, comprueba tu conexión a internet.","error_page.error_message_error_charging_payment":"Pago fallido.","error_page.error_message_error_setting_up_purchase":"No se pudo iniciar la compra debido a un error (código de error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No pudimos verificar tu dirección de facturación. Por favor, verifica que el código postal y el país sean correctos.","error_page.error_message_unknown_error":"Ocurrió un error desconocido (código de error: {{errorCode}}).","error_page.button_try_again":"Intentar de nuevo","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoy","product_info.subscribe_to":"Suscribirse a","navbar_header.details":"Detalles","navbar_header.back_button":"Atrás","pricing_dropdown.show_details":"Mostrar detalles","pricing_dropdown.hide_details":"Ocultar detalles","pricing_table.tax":"Impuestos","pricing_table.trial_ends":"Después de que finalice la prueba, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoy","pricing_table.total_excluding_tax":"Total sin impuestos","pricing_table.enter_billing_address_to_calculate":"Introduce la dirección de facturación para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduce el estado o el código postal para calcular","pricing_table.enter_postal_code_to_calculate":"Introduce el código postal para calcular","error_page.error_message_invalid_email_error":"La dirección de correo electrónico {{email}} no se pudo verificar. Por favor, proporciona una dirección de correo electrónico válida.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Actualización de precio","price_update.base_message":"El precio total se actualizó con impuestos según su dirección de facturación. Revise e intente nuevamente. Solo se efectuará un cobro en su tarjeta.","price_update.trial_message":"El precio de la suscripción se actualizó para incluir impuestos según su dirección de facturación. La prueba gratuita sigue aplicándose. Revise e intente nuevamente.","payment_entry_page.express_checkout_divider":"O PAGA CON TARJETA","error_page.trouble_accessing":"Si tiene problemas para acceder a su compra, póngase en contacto con el servicio de asistencia en ","error_page.close_button_title":"Ir a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta permiso de Stripe","error_page.button_close":"Cerrar","error_page.error_message_stripe_invalid_tax_origin_address":"La compra falló porque la dirección de origen fiscal no es válida. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_message_stripe_tax_not_active":"La compra falló porque Stripe Tax no está habilitado. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_only_in_sandbox":"Este mensaje aparece solo en el entorno de pruebas.","error_page.error_message_stripe_missing_required_permission":"La compra falló porque la aplicación Stripe carece de un permiso necesario. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no está activo","error_page.error_title_stripe_invalid_tax_origin_address":"Dirección de origen fiscal no válida","apple_pay.free_trial":"Prueba gratuita","product_info.price_after_intro_price":"Después de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"después del período de prueba","product_info.after":"después de","product_info.intro_price_phase_after_trial":"Luego, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primero, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago único","payment_entry_page.trial_subscription_terms_info":"Una vez finalizado el período de prueba, se te cobrarán {{price}} {{perFrequency}} a partir del {{renewalDate}}. Puedes cancelar en cualquier momento antes de esta fecha.","payment_entry_page.subscription_info":"La suscripción se renueva automáticamente. Cancela en cualquier momento.","payment_entry_page.otp_terms_info":"Al comprar, aceptas que {{appName}} te cobre de acuerdo con sus términos.","payment_entry_page.terms_link_label":"Términos","payment_entry_page.subscription_terms_info":"Al suscribirte, aceptas que {{appName}} te cobre de acuerdo con sus términos hasta que canceles.","loading_page.keep_page_open":"El proceso está casi terminado. Mantén esta página abierta.","loading_page.processing_payment":"Procesando el pago","pricing_table.discount":"Descuento","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Añadir código promocional","discount_input.label":"Código promocional"},em={"periods.week":"{{amount}} settimana","periods.month":"{{amount}} mese","periods.year":"{{amount}} anno","periods.day":"{{amount}} giorno","periods.weekShort":"{{amount}}sett","periods.monthShort":"{{amount}}mese","periods.yearShort":"{{amount}}anno","periods.dayShort":"{{amount}}g","periods.lifetime":"a vita","periods.weekPlural":"{{amount}} settimane","periods.monthPlural":"{{amount}} mesi","periods.yearPlural":"{{amount}} anni","periods.dayPlural":"{{amount}} giorni","periods.weekFrequency":"settimanale","periods.monthFrequency":"mensile","periods.yearFrequency":"annuale","periods.dayFrequency":"giornaliero","periods.perWeekFrequency":"a settimana","periods.perMonthFrequency":"al mese","periods.perYearFrequency":"all'anno","periods.perDayFrequency":"al giorno","periods.unknownFrequency":"sconosciuto","periods.weekFrequencyPlural":"ogni {{amount}} settimane","periods.monthFrequencyPlural":"ogni {{amount}} mesi","periods.yearFrequencyPlural":"ogni {{amount}} anni","periods.dayFrequencyPlural":"ogni {{amount}} giorni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prova gratuita","product_info.price_after_free_trial":"Dopo la fine della prova, il {{renewalDate}}","product_info.renewal_frequency":"Si rinnova {{frequency}}","product_info.continues_until_cancelled":"Continua fino a disdetta","product_info.cancel_anytime":"Disdici in qualsiasi momento","payment_entry_page.payment_step_title":"Pagamento sicuro tramite RevenueCat","payment_entry_page.button_pay":"Paga ora","payment_entry_page.button_start_trial":"Inizia la prova","success_page.purchase_successful":"Pagamento completato","success_page.button_close":"Continua","error_page.if_error_persists":"Se l'errore persiste, contatta ","error_page.error_title_already_subscribed":"Hai già un abbonamento a {{productTitle}}","error_page.error_title_already_purchased":"Hai già acquistato {{productTitle}}","error_page.error_title_other_errors":"Qualcosa è andato storto","error_page.error_message_already_subscribed":"Non puoi abbonarti di nuovo a questo prodotto.","error_page.error_message_already_purchased":"Non puoi acquistare di nuovo questo prodotto.","error_page.error_message_missing_email_error":"L'email è necessaria per completare l'acquisto.","error_page.error_message_network_error":"Errore di rete. Verifica la connessione internet.","error_page.error_message_error_charging_payment":"Pagamento fallito.","error_page.error_message_error_setting_up_purchase":"Acquisto non avviato a causa di un errore (codice errore: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Non siamo riusciti a verificare il tuo indirizzo di fatturazione. Per favore, controlla che il codice postale e il paese siano corretti.","error_page.error_message_unknown_error":"Si è verificato un errore sconosciuto (codice errore: {{errorCode}}).","error_page.button_try_again":"Riprova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totale dovuto oggi","product_info.subscribe_to":"Abbonati a","navbar_header.details":"Dettagli","navbar_header.back_button":"Indietro","pricing_dropdown.show_details":"Mostra dettagli","pricing_dropdown.hide_details":"Nascondi dettagli","pricing_table.tax":"Tasse","pricing_table.trial_ends":"Al termine del periodo di prova, il {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totale dovuto oggi","pricing_table.total_excluding_tax":"Totale tasse escluse","pricing_table.enter_billing_address_to_calculate":"Inserisci l'indirizzo di fatturazione per calcolare","pricing_table.enter_state_or_postal_code_to_calculate":"Inserisci la regione o il codice postale per calcolare","pricing_table.enter_postal_code_to_calculate":"Inserisci il codice postale per calcolare","error_page.error_message_invalid_email_error":"L'indirizzo email {{email}} non può essere verificato. Si prega di fornire un indirizzo email valido.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Aggiornamento prezzo","price_update.base_message":"Il prezzo totale è stato aggiornato con le tasse in base al tuo indirizzo di fatturazione. Rivedi e riprova. L'addebito sulla tua carta avverrà solo una volta.","price_update.trial_message":"Il prezzo dell'abbonamento è stato aggiornato per includere le tasse in base al tuo indirizzo di fatturazione. La prova gratuita è ancora valida. Controlla e riprova.","payment_entry_page.express_checkout_divider":"OPPURE PAGA CON CARTA","error_page.trouble_accessing":"Se hai problemi ad accedere al tuo acquisto, contatta l'assistenza all'indirizzo ","error_page.close_button_title":"Vai a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorizzazione Stripe mancante","error_page.button_close":"Chiudi","error_page.error_message_stripe_invalid_tax_origin_address":"L'acquisto non è andato a buon fine perché l'indirizzo di origine fiscale non è valido. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_message_stripe_tax_not_active":"L'acquisto non è andato a buon fine perché Stripe Tax non è abilitato. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_only_in_sandbox":"Questo messaggio viene visualizzato solo in sandbox.","error_page.error_message_stripe_missing_required_permission":"L'acquisto non è andato a buon fine perché l'app Stripe non dispone dell'autorizzazione necessaria. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non attivo","error_page.error_title_stripe_invalid_tax_origin_address":"Indirizzo di origine fiscale non valido","apple_pay.free_trial":"Prova gratuita","product_info.price_after_intro_price":"Dopo {{introPriceDuration}}, il {{renewalDate}}","product_info.after_trial":"dopo il periodo di prova","product_info.after":"dopo","product_info.intro_price_phase_after_trial":"Poi {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase":"Prima {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase_paid_once":"pagato una volta","payment_entry_page.trial_subscription_terms_info":"Al termine del periodo di prova, ti verranno addebitati {{price}} {{perFrequency}} a partire dal {{renewalDate}}. Puoi annullare in qualsiasi momento prima di questa data.","payment_entry_page.subscription_info":"L'abbonamento si rinnova automaticamente. Annulla in qualsiasi momento.","payment_entry_page.otp_terms_info":"Acquistando, accetti che {{appName}} ti addebiti l'importo in base ai suoi termini.","payment_entry_page.terms_link_label":"Termini","payment_entry_page.subscription_terms_info":"Abbonandoti, accetti che {{appName}} ti addebiti l'importo secondo i suoi termini fino all'annullamento.","loading_page.keep_page_open":"Il processo è quasi terminato. Mantieni questa pagina aperta.","loading_page.processing_payment":"Elaborazione del pagamento","pricing_table.discount":"Sconto","pricing_table.subtotal":"Subtotale","pricing_dropdown.add_promo_code":"Aggiungi codice promozionale","discount_input.label":"Codice promozionale"},rm={"periods.week":"{{amount}} أسبوع","periods.month":"{{amount}} شهر","periods.year":"{{amount}} سنة","periods.day":"{{amount}} يوم","periods.weekShort":"{{amount}}أسبوع","periods.monthShort":"{{amount}}شهر","periods.yearShort":"{{amount}}سنة","periods.dayShort":"{{amount}}يوم","periods.lifetime":"مدى الحياة","periods.weekPlural":"{{amount}} أسابيع","periods.monthPlural":"{{amount}} أشهر","periods.yearPlural":"{{amount}} سنوات","periods.dayPlural":"{{amount}} أيام","periods.weekFrequency":"أسبوعيًا","periods.monthFrequency":"شهريًا","periods.yearFrequency":"سنويًا","periods.dayFrequency":"يوميًا","periods.perWeekFrequency":"في الأسبوع","periods.perMonthFrequency":"في الشهر","periods.perYearFrequency":"في السنة","periods.perDayFrequency":"في اليوم","periods.unknownFrequency":"غير معروف","periods.weekFrequencyPlural":"كل {{amount}} أسابيع","periods.monthFrequencyPlural":"كل {{amount}} أشهر","periods.yearFrequencyPlural":"كل {{amount}} سنوات","periods.dayFrequencyPlural":"كل {{amount}} أيام","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} تجربة مجانية","product_info.price_after_free_trial":"بعد انتهاء التجربة، في {{renewalDate}}","product_info.renewal_frequency":"يتم التجديد {{frequency}}","product_info.continues_until_cancelled":"يستمر حتى يتم إلغاؤه","product_info.cancel_anytime":"يمكن الإلغاء في أي وقت","payment_entry_page.payment_step_title":"الدفع الآمن عبر RevenueCat","payment_entry_page.button_pay":"ادفع الآن","payment_entry_page.button_start_trial":"ابدأ التجربة","success_page.purchase_successful":"تم الدفع بنجاح","success_page.button_close":"متابعة","error_page.if_error_persists":"إذا استمرت المشكلة، يرجى الاتصال بـ ","error_page.error_title_already_subscribed":"أنت مشترك بالفعل في {{productTitle}}","error_page.error_title_already_purchased":"لقد اشتريت {{productTitle}} بالفعل","error_page.error_title_other_errors":"حدث خطأ ما","error_page.error_message_already_subscribed":"لا يمكنك الاشتراك في هذا المنتج مرة أخرى.","error_page.error_message_already_purchased":"لا يمكنك شراء هذا المنتج مرة أخرى.","error_page.error_message_missing_email_error":"يُطلب البريد الإلكتروني لإتمام عملية الشراء.","error_page.error_message_network_error":"خطأ في الشبكة. يرجى التحقق من اتصال الإنترنت.","error_page.error_message_error_charging_payment":"فشل الدفع.","error_page.error_message_error_setting_up_purchase":"لم تبدأ عملية الشراء بسبب خطأ (رمز الخطأ: {{errorCode}}).","error_page.error_message_invalid_tax_location":"لم نتمكن من التحقق من عنوان الفوترة الخاص بك. يرجى التحقق مرة أخرى من الرمز البريدي والبلد للتأكد من صحتهما.","error_page.error_message_unknown_error":"حدث خطأ غير معروف (رمز الخطأ: {{errorCode}}).","error_page.button_try_again":"حاول مرة أخرى","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"إجمالي المبلغ المستحق اليوم","product_info.subscribe_to":"اشترك في","navbar_header.details":"تفاصيل","navbar_header.back_button":"عودة","pricing_dropdown.show_details":"إظهار التفاصيل","pricing_dropdown.hide_details":"إخفاء التفاصيل","pricing_table.tax":"الضريبة","pricing_table.trial_ends":"بعد انتهاء الفترة التجريبية، في {{formattedTrialEndDate}}","pricing_table.total_due_today":"الإجمالي المستحق اليوم","pricing_table.total_excluding_tax":"الإجمالي باستثناء الضريبة","pricing_table.enter_billing_address_to_calculate":"أدخل عنوان إرسال الفواتير لحسابها","pricing_table.enter_state_or_postal_code_to_calculate":"أدخل الولاية أو الرمز البريدي للحساب","pricing_table.enter_postal_code_to_calculate":"أدخل الرمز البريدي للحساب","error_page.error_message_invalid_email_error":"تعذر التحقق من عنوان البريد الإلكتروني {{email}}. يرجى تقديم عنوان بريد إلكتروني صالح.","payment_entry_page.button_payment_method":"ادفع {{formattedPrice}} باستخدام {{paymentMethod}}","payment_entry_page.button_with_price":"ادفع {{formattedPrice}}","price_update.title":"تحديث السعر","price_update.base_message":"تم تحديث السعر الإجمالي مع الضريبة بناءً على عنوان إرسال الفواتير الخاص بك. يرجى المراجعة والمحاولة مرة أخرى. لن يتم تحصيل رسوم من بطاقتك إلا مرة واحدة.","price_update.trial_message":"تم تحديث سعر الاشتراك ليشمل الضرائب بناءً على عنوان الفوترة الخاص بك. فترة التجربة المجانية لا تزال سارية. يرجى التحقق والمحاولة مرة أخرى.","payment_entry_page.express_checkout_divider":"أو ادفع بواسطة البطاقة","error_page.trouble_accessing":"إذا كنت تواجه مشكلة في الوصول إلى عملية الشراء، فتواصل مع الدعم على ","error_page.close_button_title":"اذهب إلى {{appName}}","error_page.error_title_stripe_missing_required_permission":"إذن Stripe مفقود","error_page.button_close":"إغلاق","error_page.error_message_stripe_invalid_tax_origin_address":"فشلت عملية الشراء لأن عنوان المنشأ الضريبي غير صالح. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_message_stripe_tax_not_active":"فشلت عملية الشراء لأن ضريبة Stripe غير مفعلة. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_only_in_sandbox":"تظهر هذه الرسالة فقط في البيئة التجريبية.","error_page.error_message_stripe_missing_required_permission":"فشلت عملية الشراء لأن تطبيق Stripe يفتقر إلى إذن مطلوب. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_title_stripe_tax_not_active":"ضريبة Stripe غير نشطة","error_page.error_title_stripe_invalid_tax_origin_address":"عنوان منشأ ضريبي غير صالح","apple_pay.free_trial":"تجربة مجانية","product_info.price_after_intro_price":"بعد {{introPriceDuration}}، في {{renewalDate}}","product_info.after_trial":"بعد الفترة التجريبية","product_info.after":"بعد","product_info.intro_price_phase_after_trial":"ثم {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase":"أولاً {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase_paid_once":"تدفع مرة واحدة","payment_entry_page.trial_subscription_terms_info":"بعد انتهاء الفترة التجريبية، سيتم محاسبتك بمبلغ {{price}} {{perFrequency}} بدءًا من {{renewalDate}}. يمكنك الإلغاء في أي وقت قبل هذا التاريخ.","payment_entry_page.subscription_info":"يتم تجديد الاشتراك تلقائيًا. يمكنك الإلغاء في أي وقت.","payment_entry_page.otp_terms_info":"بالشراء، أنت توافق على السماح لتطبيق {{appName}} بتحصيل الرسوم منك وفقًا لشروطه.","payment_entry_page.terms_link_label":"الشروط","payment_entry_page.subscription_terms_info":"بالاشتراك، فإنك توافق على السماح لـ {{appName}} بتحصيل رسوم منك وفقًا لشروطها حتى تقوم بالإلغاء.","loading_page.keep_page_open":"العملية شارفت على الانتهاء. أبقِ هذه الصفحة مفتوحة.","loading_page.processing_payment":"جاري معالجة الدفع","pricing_table.discount":"خصم","pricing_table.subtotal":"المجموع الفرعي","pricing_dropdown.add_promo_code":"أضف رمزًا ترويجيًا","discount_input.label":"رمز ترويجي"},tm={"periods.week":"{{amount}} setmana","periods.month":"{{amount}} mes","periods.year":"{{amount}} any","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}set","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}any","periods.dayShort":"{{amount}}d","periods.lifetime":"de per vida","periods.weekPlural":"{{amount}} setmanes","periods.monthPlural":"{{amount}} mesos","periods.yearPlural":"{{amount}} anys","periods.dayPlural":"{{amount}} dies","periods.weekFrequency":"setmanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diari","periods.perWeekFrequency":"per setmana","periods.perMonthFrequency":"per mes","periods.perYearFrequency":"per any","periods.perDayFrequency":"per dia","periods.unknownFrequency":"desconeguda","periods.weekFrequencyPlural":"cada {{amount}} setmanes","periods.monthFrequencyPlural":"cada {{amount}} mesos","periods.yearFrequencyPlural":"cada {{amount}} anys","periods.dayFrequencyPlural":"cada {{amount}} dies","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} de prova gratuïta","product_info.price_after_free_trial":"Després del període de prova, el {{renewalDate}}","product_info.renewal_frequency":"Es renova {{frequency}}","product_info.continues_until_cancelled":"Continua fins que es cancel·li","product_info.cancel_anytime":"Cancel·la en qualsevol moment","payment_entry_page.payment_step_title":"Pagament segur amb RevenueCat","payment_entry_page.button_pay":"Paga ara","payment_entry_page.button_start_trial":"Comença la prova","success_page.purchase_successful":"Pagament complet","success_page.button_close":"Continua","error_page.if_error_persists":"Si l'error persisteix, contacta amb ","error_page.error_title_already_subscribed":"Ja us heu subscrit a {{productTitle}}","error_page.error_title_already_purchased":"Ja heu comprat {{productTitle}}","error_page.error_title_other_errors":"Alguna cosa ha anat malament","error_page.error_message_already_subscribed":"No us podeu subscriure a aquest producte de nou.","error_page.error_message_already_purchased":"No podeu comprar aquest producte de nou.","error_page.error_message_missing_email_error":"Es necessita un correu electrònic per completar la compra.","error_page.error_message_network_error":"Error de xarxa. Comprova la teva connexió a internet.","error_page.error_message_error_charging_payment":"El pagament ha fallat.","error_page.error_message_error_setting_up_purchase":"No s'ha iniciat la compra a causa d'un error (codi d'error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No hem pogut verificar la vostra adreça de facturació. Si us plau, verifiqueu de nou el codi postal i el país per assegurar-vos que són correctes.","error_page.error_message_unknown_error":"S'ha produït un error desconegut (codi d'error: {{errorCode}}).","error_page.button_try_again":"Torna a intentar-ho","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar avui","product_info.subscribe_to":"Subscriu-te a","navbar_header.details":"Detalls","navbar_header.back_button":"Enrere","pricing_dropdown.show_details":"Mostra detalls","pricing_dropdown.hide_details":"Amaga detalls","pricing_table.tax":"Impostos","pricing_table.trial_ends":"Després que finalitzi la prova, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar avui","pricing_table.total_excluding_tax":"Total sense impostos","pricing_table.enter_billing_address_to_calculate":"Introduïu l'adreça de facturació per calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduïu la província o el codi postal per calcular","pricing_table.enter_postal_code_to_calculate":"Introduïu el codi postal per calcular","error_page.error_message_invalid_email_error":"No s'ha pogut verificar l'adreça de correu electrònic {{email}}. Si us plau, proporcioneu una adreça de correu electrònic vàlida.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} amb {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Actualització de preu","price_update.base_message":"El preu total s'ha actualitzat amb els impostos segons la vostra adreça de facturació. Reviseu-ho i torneu-ho a provar. Només es carregarà la vostra targeta una vegada.","price_update.trial_message":"El preu de la subscripció s'ha actualitzat per incloure els impostos segons la seva adreça de facturació. El període de prova gratuït segueix vigent. Si us plau, comprovi-ho i torni-ho a provar.","payment_entry_page.express_checkout_divider":"O PAGUEU AMB TARGETA","error_page.trouble_accessing":"Si teniu problemes per accedir a la vostra compra, poseu-vos en contacte amb el servei d'assistència a ","error_page.close_button_title":"Vés a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta el permís de Stripe","error_page.button_close":"Tanca","error_page.error_message_stripe_invalid_tax_origin_address":"La compra ha fallat perquè l'adreça d'origen fiscal no és vàlida. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_message_stripe_tax_not_active":"La compra ha fallat perquè Stripe Tax no està activat. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_only_in_sandbox":"Aquest missatge apareix només a l'entorn de proves.","error_page.error_message_stripe_missing_required_permission":"La compra ha fallat perquè l'aplicació Stripe no té un permís necessari. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no està actiu","error_page.error_title_stripe_invalid_tax_origin_address":"Adreça d'origen fiscal no vàlida","apple_pay.free_trial":"Prova gratuïta","product_info.price_after_intro_price":"Després de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"després del període de prova","product_info.after":"després de","product_info.intro_price_phase_after_trial":"Després {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase":"Primer {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase_paid_once":"pagat un cop","payment_entry_page.trial_subscription_terms_info":"Un cop finalitzat el període de prova, se us cobrarà {{price}} {{perFrequency}} a partir del {{renewalDate}}. Podeu cancel·lar-ho en qualsevol moment abans d'aquesta data.","payment_entry_page.subscription_info":"La subscripció es renova automàticament. Cancel·leu-la quan vulgueu.","payment_entry_page.otp_terms_info":"En comprar, accepteu que {{appName}} us cobri d'acord amb les seves condicions.","payment_entry_page.terms_link_label":"Condicions","payment_entry_page.subscription_terms_info":"En subscriure-us, accepteu que {{appName}} us cobri d'acord amb les seves condicions fins que ho cancel·leu.","loading_page.keep_page_open":"El procés està gairebé acabat. Mantingueu aquesta pàgina oberta.","loading_page.processing_payment":"S'està processant el pagament","pricing_table.discount":"Descompte","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Afegir codi promocional","discount_input.label":"Codi promocional"},nm={"periods.week":"{{amount}} 周","periods.month":"{{amount}} 月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}周","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"终身","periods.weekPlural":"{{amount}} 周","periods.monthPlural":"{{amount}} 个月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每周","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每周","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 周","periods.monthFrequencyPlural":"每 {{amount}} 个月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免费试用","product_info.price_after_free_trial":"试用期结束后,于 {{renewalDate}}","product_info.renewal_frequency":"续订 {{frequency}}","product_info.continues_until_cancelled":"持续到取消","product_info.cancel_anytime":"随时取消","payment_entry_page.payment_step_title":"RevenueCat 安全结账","payment_entry_page.button_pay":"立即支付","payment_entry_page.button_start_trial":"开始试用","success_page.purchase_successful":"支付完成","success_page.button_close":"继续","error_page.if_error_persists":"如果错误仍然存在,请联系 ","error_page.error_title_already_subscribed":"您已订阅 {{productTitle}}","error_page.error_title_already_purchased":"您已购买 {{productTitle}}","error_page.error_title_other_errors":"出现错误","error_page.error_message_already_subscribed":"您不能再次订阅此产品。","error_page.error_message_already_purchased":"您不能再次购买此产品。","error_page.error_message_missing_email_error":"完成购买需要邮箱地址。","error_page.error_message_network_error":"网络错误。请检查您的互联网连接。","error_page.error_message_error_charging_payment":"支付失败。","error_page.error_message_error_setting_up_purchase":"由于错误,购买未启动(错误代码:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我们无法验证您的账单地址。请仔细检查邮政编码和国家是否正确。","error_page.error_message_unknown_error":"发生未知错误(错误代码:{{errorCode}})。","error_page.button_try_again":"重试","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今天应付总额","product_info.subscribe_to":"订阅","navbar_header.details":"详情","navbar_header.back_button":"返回","pricing_dropdown.show_details":"显示详情","pricing_dropdown.hide_details":"隐藏详情","pricing_table.tax":"税","pricing_table.trial_ends":"试用期结束后,于{{formattedTrialEndDate}}","pricing_table.total_due_today":"今日应付总额","pricing_table.total_excluding_tax":"总计(不含税)","pricing_table.enter_billing_address_to_calculate":"输入账单地址以计算","pricing_table.enter_state_or_postal_code_to_calculate":"输入州或邮政编码以计算","pricing_table.enter_postal_code_to_calculate":"输入邮政编码以计算","error_page.error_message_invalid_email_error":"无法验证电子邮件地址{{email}}。请提供有效的电子邮件地址。","payment_entry_page.button_payment_method":"使用{{paymentMethod}}支付{{formattedPrice}}","payment_entry_page.button_with_price":"支付{{formattedPrice}}","price_update.title":"价格更新","price_update.base_message":"总价已根据您的账单地址更新了税费。请查看并重试。您的银行卡只会扣款一次。","price_update.trial_message":"根据您的账单地址,订阅价格已更新为含税价格。免费试用仍然有效。请查看并重试。","payment_entry_page.express_checkout_divider":"或使用银行卡支付","error_page.trouble_accessing":"如果您在访问购买项目时遇到问题,请通过以下方式联系支持:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少Stripe权限","error_page.button_close":"关闭","error_page.error_message_stripe_invalid_tax_origin_address":"购买失败,因为税务起始地址无效。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_message_stripe_tax_not_active":"购买失败,因为Stripe Tax未启用。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_only_in_sandbox":"此消息仅在沙盒中显示。","error_page.error_message_stripe_missing_required_permission":"购买失败,因为Stripe应用程序缺少必需的权限。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_title_stripe_tax_not_active":"Stripe Tax未激活","error_page.error_title_stripe_invalid_tax_origin_address":"税务起始地址无效","apple_pay.free_trial":"免费试用","product_info.price_after_intro_price":"在{{introPriceDuration}}之后,于{{renewalDate}}开始","product_info.after_trial":"试用后","product_info.after":"之后","product_info.intro_price_phase_after_trial":"然后{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase":"首先{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"试用期结束后,您将被收取 {{price}} {{perFrequency}},从 {{renewalDate}} 开始。您可以在此日期之前的任何时间取消。","payment_entry_page.subscription_info":"订阅自动续订。随时取消。","payment_entry_page.otp_terms_info":"购买即表示您同意允许{{appName}}根据其条款向您收费。","payment_entry_page.terms_link_label":"条款","payment_entry_page.subscription_terms_info":"订阅即表示您同意允许 {{appName}} 按照其条款向您收费,直到您取消订阅。","loading_page.keep_page_open":"流程即将完成。请保持此页面打开。","loading_page.processing_payment":"正在处理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小计","pricing_dropdown.add_promo_code":"添加优惠码","discount_input.label":"优惠码"},am={"periods.week":"{{amount}} 週","periods.month":"{{amount}} 個月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"終身","periods.weekPlural":"{{amount}} 週","periods.monthPlural":"{{amount}} 個月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每週","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每週","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 週","periods.monthFrequencyPlural":"每 {{amount}} 個月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免費試用","product_info.price_after_free_trial":"試用期結束後,於 {{renewalDate}}","product_info.renewal_frequency":"每 {{frequency}} 續約","product_info.continues_until_cancelled":"持續到取消","product_info.cancel_anytime":"隨時取消","payment_entry_page.payment_step_title":"RevenueCat 安全結帳","payment_entry_page.button_pay":"立即付款","payment_entry_page.button_start_trial":"開始試用","success_page.purchase_successful":"付款完成","success_page.button_close":"繼續","error_page.if_error_persists":"如果錯誤持續存在,請聯絡 ","error_page.error_title_already_subscribed":"您已經訂閱 {{productTitle}}","error_page.error_title_already_purchased":"您已經購買 {{productTitle}}","error_page.error_title_other_errors":"發生錯誤","error_page.error_message_already_subscribed":"您無法再次訂閱此產品。","error_page.error_message_already_purchased":"您無法再次購買此產品。","error_page.error_message_missing_email_error":"完成購買需要電子郵件地址。","error_page.error_message_network_error":"網路錯誤。請檢查您的網路連線。","error_page.error_message_error_charging_payment":"付款失敗。","error_page.error_message_error_setting_up_purchase":"由於發生錯誤,購買未啟動(錯誤代碼:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我們無法驗證您的帳單地址。請仔細檢查郵遞區號和國家是否正確。","error_page.error_message_unknown_error":"發生不明錯誤(錯誤代碼:{{errorCode}})。","error_page.button_try_again":"再試一次","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今日應付總額","product_info.subscribe_to":"訂閱","navbar_header.details":"詳細資訊","navbar_header.back_button":"返回","pricing_dropdown.show_details":"顯示詳細資訊","pricing_dropdown.hide_details":"隱藏詳細資訊","pricing_table.tax":"稅金","pricing_table.trial_ends":"試用期結束後,於 {{formattedTrialEndDate}}","pricing_table.total_due_today":"今日應付總額","pricing_table.total_excluding_tax":"總計(不含稅)","pricing_table.enter_billing_address_to_calculate":"輸入帳單地址以計算","pricing_table.enter_state_or_postal_code_to_calculate":"輸入州或郵政編碼以計算","pricing_table.enter_postal_code_to_calculate":"輸入郵政編碼以計算","error_page.error_message_invalid_email_error":"無法驗證電子郵件地址 {{email}}。請提供有效的電子郵件地址。","payment_entry_page.button_payment_method":"使用 {{paymentMethod}} 支付 {{formattedPrice}}","payment_entry_page.button_with_price":"支付 {{formattedPrice}}","price_update.title":"價格更新","price_update.base_message":"總價已根據您的帳單地址更新稅金。請檢查後重試。您的信用卡只會被收取一次費用。","price_update.trial_message":"根據您的帳單地址,訂閱價格已更新為含稅價格。免費試用仍然有效。請查看並重試。","payment_entry_page.express_checkout_divider":"或以信用卡付款","error_page.trouble_accessing":"如果您在存取購買項目時遇到問題,請透過以下方式聯絡支援人員:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少 Stripe 權限","error_page.button_close":"關閉","error_page.error_message_stripe_invalid_tax_origin_address":"購買失敗,因為稅務起始地址無效。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_message_stripe_tax_not_active":"購買失敗,因為 Stripe Tax 未啟用。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_only_in_sandbox":"此訊息僅在沙盒中顯示。","error_page.error_message_stripe_missing_required_permission":"購買失敗,因為 Stripe 應用程式缺少必要的權限。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_title_stripe_tax_not_active":"Stripe Tax 未啟用","error_page.error_title_stripe_invalid_tax_origin_address":"無效的稅務起始地址","apple_pay.free_trial":"免費試用","product_info.price_after_intro_price":"在 {{introPriceDuration}} 之後,於 {{renewalDate}}","product_info.after_trial":"試用期後","product_info.after":"之後","product_info.intro_price_phase_after_trial":"然後 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase":"首先 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"在您的試用期結束後,您將被收取 {{price}} {{perFrequency}},從 {{renewalDate}} 開始。您可以隨時在此日期之前取消。","payment_entry_page.subscription_info":"訂閱會自動續訂。隨時取消。","payment_entry_page.otp_terms_info":"購買即表示您同意授權 {{appName}} 根據其條款向您收費。","payment_entry_page.terms_link_label":"條款","payment_entry_page.subscription_terms_info":"訂閱即表示您同意允許 {{appName}} 根據其條款向您收費,直到您取消為止。","loading_page.keep_page_open":"程序即將完成。請保持此頁面開啟。","loading_page.processing_payment":"正在處理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"新增優惠碼","discount_input.label":"促銷代碼"},om={"periods.week":"{{amount}} tjedan","periods.month":"{{amount}} mjesec","periods.year":"{{amount}} godina","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}tj","periods.monthShort":"{{amount}}mj","periods.yearShort":"{{amount}}g","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotno","periods.weekPlural":"{{amount}} tjedana","periods.monthPlural":"{{amount}} mjeseci","periods.yearPlural":"{{amount}} godina","periods.dayPlural":"{{amount}} dana","periods.weekFrequency":"tjedno","periods.monthFrequency":"mjesečno","periods.yearFrequency":"godišnje","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"tjedno","periods.perMonthFrequency":"mjesečno","periods.perYearFrequency":"godišnje","periods.perDayFrequency":"dnevno","periods.unknownFrequency":"nepoznato","periods.weekFrequencyPlural":"svakih {{amount}} tjedana","periods.monthFrequencyPlural":"svakih {{amount}} mjeseci","periods.yearFrequencyPlural":"svakih {{amount}} godina","periods.dayFrequencyPlural":"svakih {{amount}} dana","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} besplatno probno razdoblje","product_info.price_after_free_trial":"Nakon isteka probnog razdoblja, {{renewalDate}}","product_info.renewal_frequency":"Obnavlja se {{frequency}}","product_info.continues_until_cancelled":"Nastavlja se dok se ne otkaže","product_info.cancel_anytime":"Otkažite u bilo kojem trenutku","payment_entry_page.payment_step_title":"Sigurna naplata putem RevenueCat","payment_entry_page.button_pay":"Plati sada","payment_entry_page.button_start_trial":"Počni probno razdoblje","success_page.purchase_successful":"Uplata je uspješna","success_page.button_close":"Nastavi","error_page.if_error_persists":"Ako se pogreška nastavi, obratite se ","error_page.error_title_already_subscribed":"Već ste pretplaćeni na {{productTitle}}","error_page.error_title_already_purchased":"Već ste kupili {{productTitle}}","error_page.error_title_other_errors":"Nešto je pošlo po zlu","error_page.error_message_already_subscribed":"Ne možete se ponovno pretplatiti na ovaj proizvod.","error_page.error_message_already_purchased":"Ne možete ponovno kupiti ovaj proizvod.","error_page.error_message_missing_email_error":"E-pošta je potrebna za dovršetak kupnje.","error_page.error_message_network_error":"Mrežna pogreška. Provjerite internetsku vezu.","error_page.error_message_error_charging_payment":"Plaćanje nije uspjelo.","error_page.error_message_error_setting_up_purchase":"Kupnja nije započela zbog pogreške (kod pogreške: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nismo mogli potvrditi vašu adresu za naplatu. Molimo provjerite poštanski broj i državu kako biste bili sigurni da su točni.","error_page.error_message_unknown_error":"Došlo je do nepoznate pogreške (kod pogreške: {{errorCode}}).","error_page.button_try_again":"Pokušaj ponovno","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ukupno dospijeće danas","product_info.subscribe_to":"Pretplatite se","navbar_header.details":"Detalji","navbar_header.back_button":"Natrag","pricing_dropdown.show_details":"Prikaži detalje","pricing_dropdown.hide_details":"Sakrij detalje","pricing_table.tax":"Porez","pricing_table.trial_ends":"Nakon isteka probnog razdoblja, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ukupan iznos dospijeća danas","pricing_table.total_excluding_tax":"Ukupno bez poreza","pricing_table.enter_billing_address_to_calculate":"Unesite adresu za naplatu za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Unesite državu ili poštanski broj za izračun","pricing_table.enter_postal_code_to_calculate":"Unesite poštanski broj za izračun","error_page.error_message_invalid_email_error":"Adresa e-pošte {{email}} nije se mogla potvrditi. Molimo unesite valjanu adresu e-pošte.","payment_entry_page.button_payment_method":"Plati {{formattedPrice}} putem {{paymentMethod}}","payment_entry_page.button_with_price":"Plati {{formattedPrice}}","price_update.title":"Ažuriranje cijene","price_update.base_message":"Ukupna cijena je ažurirana s porezom na temelju vaše adrese za naplatu. Pregledajte i pokušajte ponovo. Vaša kartica bit će naplaćena samo jednom.","price_update.trial_message":"Cijena pretplate je ažurirana da uključi poreze na temelju vaše adrese za naplatu. Besplatno probno razdoblje i dalje vrijedi. Molimo provjerite i pokušajte ponovno.","payment_entry_page.express_checkout_divider":"ILI PLATITE KARTICOM","error_page.trouble_accessing":"Ako imate problema s pristupom kupnji, obratite se podršci na ","error_page.close_button_title":"Idi na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Nedostaje Stripe dopuštenje","error_page.button_close":"Zatvori","error_page.error_message_stripe_invalid_tax_origin_address":"Kupnja nije uspjela jer je adresa poreznog podrijetla nevažeća. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_message_stripe_tax_not_active":"Kupnja nije uspjela jer Stripe Tax nije omogućen. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_only_in_sandbox":"Ova se poruka pojavljuje samo u sandboxu.","error_page.error_message_stripe_missing_required_permission":"Kupnja nije uspjela jer Stripe aplikaciji nedostaje potrebno dopuštenje. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nije aktivan","error_page.error_title_stripe_invalid_tax_origin_address":"Nevažeća adresa poreznog podrijetla","apple_pay.free_trial":"Besplatna proba","product_info.price_after_intro_price":"Nakon {{introPriceDuration}}, na {{renewalDate}}","product_info.after_trial":"nakon probnog perioda","product_info.after":"nakon","product_info.intro_price_phase_after_trial":"Zatim {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvo {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plaća se jednokratno","payment_entry_page.trial_subscription_terms_info":"Nakon isteka probnog razdoblja, bit će vam naplaćeno {{price}} {{perFrequency}} počevši od {{renewalDate}}. Možete otkazati bilo kada prije tog datuma.","payment_entry_page.subscription_info":"Pretplata se automatski obnavlja. Otkažite bilo kada.","payment_entry_page.otp_terms_info":"Kupnjom pristajete dopustiti aplikaciji {{appName}} da vam naplati u skladu s njihovim uvjetima.","payment_entry_page.terms_link_label":"Uvjeti","payment_entry_page.subscription_terms_info":"Pretplatom se slažete da ćete dopustiti {{appName}} da vam naplaćuje u skladu s njihovim uvjetima dok ne otkažete.","loading_page.keep_page_open":"Proces je skoro gotov. Ostavite ovu stranicu otvorenom.","loading_page.processing_payment":"Obrada uplate","pricing_table.discount":"Popust","pricing_table.subtotal":"Međuzbroj","pricing_dropdown.add_promo_code":"Dodaj promotivni kod","discount_input.label":"Promo kod"},im={"periods.week":"{{amount}} týden","periods.month":"{{amount}} měsíc","periods.year":"{{amount}} rok","periods.day":"{{amount}} den","periods.weekShort":"{{amount}}týd","periods.monthShort":"{{amount}}měs","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotně","periods.weekPlural":"{{amount}} týdnů","periods.monthPlural":"{{amount}} měsíců","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dnů","periods.weekFrequency":"týdně","periods.monthFrequency":"měsíčně","periods.yearFrequency":"ročně","periods.dayFrequency":"denně","periods.perWeekFrequency":"týdně","periods.perMonthFrequency":"měsíčně","periods.perYearFrequency":"ročně","periods.perDayFrequency":"denně","periods.unknownFrequency":"neznámé","periods.weekFrequencyPlural":"každých {{amount}} týdnů","periods.monthFrequencyPlural":"každých {{amount}} měsíců","periods.yearFrequencyPlural":"každých {{amount}} let","periods.dayFrequencyPlural":"každých {{amount}} dnů","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} zkušební verze zdarma","product_info.price_after_free_trial":"Po skončení zkušební verze, {{renewalDate}}","product_info.renewal_frequency":"Obnovuje se {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, dokud není zrušeno","product_info.cancel_anytime":"Zrušit kdykoli","payment_entry_page.payment_step_title":"Bezpečné placení přes RevenueCat","payment_entry_page.button_pay":"Platit nyní","payment_entry_page.button_start_trial":"Spustit zkušební verzi","success_page.purchase_successful":"Platba dokončena","success_page.button_close":"Pokračovat","error_page.if_error_persists":"Pokud chyba přetrvává, kontaktujte ","error_page.error_title_already_subscribed":"Již máte předplatné pro {{productTitle}}","error_page.error_title_already_purchased":"Již jste zakoupili {{productTitle}}","error_page.error_title_other_errors":"Něco se pokazilo","error_page.error_message_already_subscribed":"Nemůžete si znovu předplatit tento produkt.","error_page.error_message_already_purchased":"Tento produkt si nemůžete znovu zakoupit.","error_page.error_message_missing_email_error":"Pro dokončení nákupu je vyžadován e-mail.","error_page.error_message_network_error":"Síťová chyba. Zkontrolujte prosím své internetové připojení.","error_page.error_message_error_charging_payment":"Platba selhala.","error_page.error_message_error_setting_up_purchase":"Nákup nebyl zahájen z důvodu chyby (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nemohli jsme ověřit vaši fakturační adresu. Zkontrolujte prosím, zda je poštovní směrovací číslo a země správné.","error_page.error_message_unknown_error":"Došlo k neznámé chybě (kód chyby: {{errorCode}}).","error_page.button_try_again":"Zkusit znovu","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celkem dnes k zaplacení","product_info.subscribe_to":"Předplatit","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Zpět","pricing_dropdown.show_details":"Zobrazit podrobnosti","pricing_dropdown.hide_details":"Skrýt podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení zkušební doby, dne {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celkem splatné dnes","pricing_table.total_excluding_tax":"Celkem bez daně","pricing_table.enter_billing_address_to_calculate":"Zadejte fakturační adresu pro výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadejte stát nebo PSČ pro výpočet","pricing_table.enter_postal_code_to_calculate":"Zadejte PSČ pro výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} nemohla být ověřena. Zadejte prosím platnou e-mailovou adresu.","payment_entry_page.button_payment_method":"Zaplatit {{formattedPrice}} pomocí {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatit {{formattedPrice}}","price_update.title":"Aktualizace ceny","price_update.base_message":"Celková cena byla aktualizována o daň na základě vaší fakturační adresy. Zkontrolujte ji a zkuste to znovu. Vaše karta bude stržena pouze jednou.","price_update.trial_message":"Cena předplatného byla aktualizována včetně daní na základě vaší fakturační adresy. Bezplatná zkušební doba stále platí. Prosím, zkontrolujte a zkuste to znovu.","payment_entry_page.express_checkout_divider":"NEBO ZAPLATIT KARTOU","error_page.trouble_accessing":"Pokud máte potíže s přístupem k zakoupenému obsahu, kontaktujte podporu na ","error_page.close_button_title":"Přejít na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chybí oprávnění Stripe","error_page.button_close":"Zavřít","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup se nezdařil, protože adresa původu daně je neplatná. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_message_stripe_tax_not_active":"Nákup se nezdařil, protože Stripe Tax není aktivní. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_only_in_sandbox":"Tato zpráva se zobrazuje pouze v sandboxu.","error_page.error_message_stripe_missing_required_permission":"Nákup se nezdařil, protože aplikaci Stripe chybí požadované oprávnění. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax není aktivní","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa původu daně","apple_pay.free_trial":"Zkušební verze zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po zkušební době","product_info.after":"po","product_info.intro_price_phase_after_trial":"Poté {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Nejprve {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"placeno jednorázově","payment_entry_page.trial_subscription_terms_info":"Po skončení zkušebního období vám bude účtováno {{price}} {{perFrequency}} počínaje {{renewalDate}}. Před tímto datem můžete kdykoli zrušit.","payment_entry_page.subscription_info":"Předplatné se automaticky obnovuje. Zrušit můžete kdykoli.","payment_entry_page.otp_terms_info":"Zakoupením souhlasíte s tím, že umožníte aplikaci {{appName}} účtovat vám poplatky v souladu s jejími podmínkami.","payment_entry_page.terms_link_label":"Podmínky","payment_entry_page.subscription_terms_info":"Přihlášením k odběru souhlasíte s tím, že společnost {{appName}} vám bude účtovat poplatky v souladu s jejími podmínkami, dokud odběr nezrušíte.","loading_page.keep_page_open":"Probíhá dokončování procesu. Nechte tuto stránku otevřenou.","loading_page.processing_payment":"Probíhá zpracování platby","pricing_table.discount":"Sleva","pricing_table.subtotal":"Mezisoučet","pricing_dropdown.add_promo_code":"Přidat promo kód","discount_input.label":"Promo kód"},sm={"periods.week":"{{amount}} uge","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}ug","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uger","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dage","periods.weekFrequency":"ugentligt","periods.monthFrequency":"månedligt","periods.yearFrequency":"årligt","periods.dayFrequency":"dagligt","periods.perWeekFrequency":"pr. uge","periods.perMonthFrequency":"pr. måned","periods.perYearFrequency":"pr. år","periods.perDayFrequency":"pr. dag","periods.unknownFrequency":"ukendt","periods.weekFrequencyPlural":"hver {{amount}} uger","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Efter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Fortsætter indtil annulleret","product_info.cancel_anytime":"Annuller når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nu","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betaling gennemført","success_page.button_close":"Fortsæt","error_page.if_error_persists":"Hvis fejlen fortsætter, kontakt venligst ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede købt {{productTitle}}","error_page.error_title_other_errors":"Noget gik galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produkt igen.","error_page.error_message_already_purchased":"Du kan ikke købe dette produkt igen.","error_page.error_message_missing_email_error":"Email er påkrævet for at gennemføre købet.","error_page.error_message_network_error":"Netværksfejl. Kontroller din internetforbindelse.","error_page.error_message_error_charging_payment":"Betalingen mislykkedes.","error_page.error_message_error_setting_up_purchase":"Køb ikke startet på grund af en fejl (fejlkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekræfte din faktureringsadresse. Kontroller venligst, at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"Der opstod en ukendt fejl (fejlkode: {{errorCode}}).","error_page.button_try_again":"Prøv igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Samlet beløb for i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbage","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Samlet beløb forfalden i dag","pricing_table.total_excluding_tax":"Samlet beløb eksklusive moms","pricing_table.enter_billing_address_to_calculate":"Indtast faktureringsadresse for at beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Indtast stat eller postnummer for at beregne","pricing_table.enter_postal_code_to_calculate":"Indtast postnummer for at beregne","error_page.error_message_invalid_email_error":"E-mailadressen {{email}} kunne ikke bekræftes. Angiv en gyldig e-mailadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisopdatering","price_update.base_message":"Den samlede pris er blevet opdateret med moms baseret på din faktureringsadresse. Gennemgå og prøv igen. Dit kort vil kun blive debiteret én gang.","price_update.trial_message":"Abonnementsprisen er opdateret for at inkludere skatter baseret på din faktureringsadresse. Den gratis prøveperiode gælder stadig. Kontroller venligst og prøv igen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med at få adgang til dit køb, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Manglende Stripe-tilladelse","error_page.button_close":"Luk","error_page.error_message_stripe_invalid_tax_origin_address":"Købet mislykkedes, fordi skatteoprindelsesadressen er ugyldig. I produktion vil køb fungere uden påførte skatter.","error_page.error_message_stripe_tax_not_active":"Købet mislykkedes, fordi Stripe Tax ikke er aktiveret. I produktion vil køb fungere uden påførte skatter.","error_page.error_only_in_sandbox":"Denne meddelelse vises kun i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Købet mislykkedes, fordi Stripe-appen mangler en påkrævet tilladelse. I produktion vil køb fungere uden påførte skatter.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteoprindelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter prøveperiode","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Derefter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Efter din prøveperiode slutter, vil du blive opkrævet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan opsige når som helst før denne dato.","payment_entry_page.subscription_info":"Abonnementet fornys automatisk. Opsig når som helst.","payment_entry_page.otp_terms_info":"Ved at købe accepterer du, at {{appName}} kan debitere dig i overensstemmelse med deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved at abonnere accepterer du, at {{appName}} kan opkræve dig i henhold til deres vilkår, indtil du opsiger.","loading_page.keep_page_open":"Processen er næsten færdig. Hold denne side åben.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabat","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tilføj rabatkode","discount_input.label":"Kampagnekode"},lm={"periods.week":"{{amount}} week","periods.month":"{{amount}} maand","periods.year":"{{amount}} jaar","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}maand","periods.yearShort":"{{amount}}jr","periods.dayShort":"{{amount}}d","periods.lifetime":"levenslang","periods.weekPlural":"{{amount}} weken","periods.monthPlural":"{{amount}} maanden","periods.yearPlural":"{{amount}} jaren","periods.dayPlural":"{{amount}} dagen","periods.weekFrequency":"wekelijks","periods.monthFrequency":"maandelijks","periods.yearFrequency":"jaarlijks","periods.dayFrequency":"dagelijks","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per maand","periods.perYearFrequency":"per jaar","periods.perDayFrequency":"per dag","periods.unknownFrequency":"onbekend","periods.weekFrequencyPlural":"elke {{amount}} weken","periods.monthFrequencyPlural":"elke {{amount}} maanden","periods.yearFrequencyPlural":"elke {{amount}} jaren","periods.dayFrequencyPlural":"elke {{amount}} dagen","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis proefperiode","product_info.price_after_free_trial":"Na afloop van de proefperiode, op {{renewalDate}}","product_info.renewal_frequency":"Wordt verlengd {{frequency}}","product_info.continues_until_cancelled":"Wordt voortgezet tot annulering","product_info.cancel_anytime":"Annuleer op elk gewenst moment","payment_entry_page.payment_step_title":"Veilige afrekening via RevenueCat","payment_entry_page.button_pay":"Nu betalen","payment_entry_page.button_start_trial":"Start proefperiode","success_page.purchase_successful":"Betaling voltooid","success_page.button_close":"Doorgaan","error_page.if_error_persists":"Neem contact op met als de fout aanhoudt","error_page.error_title_already_subscribed":"Je bent al geabonneerd op {{productTitle}}","error_page.error_title_already_purchased":"Je hebt {{productTitle}} al gekocht","error_page.error_title_other_errors":"Er is iets misgegaan","error_page.error_message_already_subscribed":"Je kunt je niet opnieuw abonneren op dit product.","error_page.error_message_already_purchased":"Je kunt dit product niet opnieuw kopen.","error_page.error_message_missing_email_error":"Een e-mailadres is vereist om de aankoop te voltooien.","error_page.error_message_network_error":"Netwerkfout. Controleer uw internetverbinding.","error_page.error_message_error_charging_payment":"Betaling mislukt.","error_page.error_message_error_setting_up_purchase":"Aankoop niet gestart vanwege een fout (foutcode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We konden uw factuuradres niet verifiëren. Controleer of de postcode en het land correct zijn.","error_page.error_message_unknown_error":"Er is een onbekende fout opgetreden (foutcode: {{errorCode}}).","error_page.button_try_again":"Opnieuw proberen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totaal te betalen vandaag","product_info.subscribe_to":"Abonneren op","navbar_header.details":"Details","navbar_header.back_button":"Terug","pricing_dropdown.show_details":"Toon details","pricing_dropdown.hide_details":"Verberg details","pricing_table.tax":"Btw","pricing_table.trial_ends":"Na afloop van de proefperiode, op {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totaal vandaag te betalen","pricing_table.total_excluding_tax":"Totaal exclusief btw","pricing_table.enter_billing_address_to_calculate":"Voer het factuuradres in om te berekenen","pricing_table.enter_state_or_postal_code_to_calculate":"Voer provincie of postcode in om te berekenen","pricing_table.enter_postal_code_to_calculate":"Voer postcode in om te berekenen","error_page.error_message_invalid_email_error":"Het e-mailadres {{email}} kon niet worden geverifieerd. Geef een geldig e-mailadres op.","payment_entry_page.button_payment_method":"Betaal {{formattedPrice}} met {{paymentMethod}}","payment_entry_page.button_with_price":"Betaal {{formattedPrice}}","price_update.title":"Prijsupdate","price_update.base_message":"De totale prijs is bijgewerkt met belasting op basis van uw factuuradres. Controleer en probeer het opnieuw. Uw kaart wordt slechts één keer belast.","price_update.trial_message":"De abonnementsprijs is bijgewerkt om belastingen op te nemen op basis van uw factuuradres. De gratis proefperiode blijft van toepassing. Controleer en probeer het opnieuw.","payment_entry_page.express_checkout_divider":"OF BETAAL MET EEN KAART","error_page.trouble_accessing":"Als je problemen hebt met het verkrijgen van toegang tot je aankoop, neem dan contact op met de ondersteuning via ","error_page.close_button_title":"Ga naar {{appName}}","error_page.error_title_stripe_missing_required_permission":"Ontbrekende Stripe-toestemming","error_page.button_close":"Sluiten","error_page.error_message_stripe_invalid_tax_origin_address":"De aankoop is mislukt omdat het belastingoorsprongadres ongeldig is. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_message_stripe_tax_not_active":"De aankoop is mislukt omdat Stripe Tax niet is ingeschakeld. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_only_in_sandbox":"Dit bericht verschijnt alleen in de sandbox.","error_page.error_message_stripe_missing_required_permission":"De aankoop is mislukt omdat de Stripe-app een vereiste toestemming mist. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_title_stripe_tax_not_active":"Stripe Tax niet actief","error_page.error_title_stripe_invalid_tax_origin_address":"Ongeldig belastingoorsprongadres","apple_pay.free_trial":"Gratis proefperiode","product_info.price_after_intro_price":"Na {{introPriceDuration}}, op {{renewalDate}}","product_info.after_trial":"na proefperiode","product_info.after":"na","product_info.intro_price_phase_after_trial":"Daarna {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase":"Eerst {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase_paid_once":"eenmalig betaald","payment_entry_page.trial_subscription_terms_info":"Na afloop van uw proefperiode wordt {{price}} {{perFrequency}} in rekening gebracht, beginnend op {{renewalDate}}. U kunt op elk moment vóór deze datum annuleren.","payment_entry_page.subscription_info":"Abonnement wordt automatisch verlengd. Annuleer op elk moment.","payment_entry_page.otp_terms_info":"Door de aankoop ga je ermee akkoord dat {{appName}} kosten in rekening brengt volgens hun voorwaarden.","payment_entry_page.terms_link_label":"Voorwaarden","payment_entry_page.subscription_terms_info":"Door u te abonneren, stemt u ermee in dat {{appName}} u kosten in rekening brengt volgens hun voorwaarden totdat u annuleert.","loading_page.keep_page_open":"Het proces is bijna voltooid. Houd deze pagina open.","loading_page.processing_payment":"Betaling verwerken","pricing_table.discount":"Korting","pricing_table.subtotal":"Subtotaal","pricing_dropdown.add_promo_code":"Promotiecode toevoegen","discount_input.label":"Promotiecode"},cm={"periods.week":"{{amount}} viikko","periods.month":"{{amount}} kuukausi","periods.year":"{{amount}} vuosi","periods.day":"{{amount}} päivä","periods.weekShort":"{{amount}}vk","periods.monthShort":"{{amount}}kk","periods.yearShort":"{{amount}}v","periods.dayShort":"{{amount}}p","periods.lifetime":"elämäaika","periods.weekPlural":"{{amount}} viikkoa","periods.monthPlural":"{{amount}} kuukautta","periods.yearPlural":"{{amount}} vuotta","periods.dayPlural":"{{amount}} päivää","periods.weekFrequency":"viikoittain","periods.monthFrequency":"kuukausittain","periods.yearFrequency":"vuosittain","periods.dayFrequency":"päivittäin","periods.perWeekFrequency":"viikossa","periods.perMonthFrequency":"kuukaudessa","periods.perYearFrequency":"vuodessa","periods.perDayFrequency":"päivässä","periods.unknownFrequency":"tuntematon","periods.weekFrequencyPlural":"joka {{amount}} viikko","periods.monthFrequencyPlural":"joka {{amount}} kuukausi","periods.yearFrequencyPlural":"joka {{amount}} vuosi","periods.dayFrequencyPlural":"joka {{amount}} päivä","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ilmainen kokeilujakso","product_info.price_after_free_trial":"Kokeilujakson päätyttyä, {{renewalDate}}","product_info.renewal_frequency":"Uusiutuu {{frequency}}","product_info.continues_until_cancelled":"Jatkuu, kunnes peruutetaan","product_info.cancel_anytime":"Peruuta milloin tahansa","payment_entry_page.payment_step_title":"Suojautunut kassatoiminto RevenueCatin kautta","payment_entry_page.button_pay":"Maksa nyt","payment_entry_page.button_start_trial":"Aloita kokeilujakso","success_page.purchase_successful":"Maksaminen onnistui","success_page.button_close":"Jatka","error_page.if_error_persists":"Jos virhe jatkuu, ota yhteyttä ","error_page.error_title_already_subscribed":"Olet jo tilannut tuotteen {{productTitle}}","error_page.error_title_already_purchased":"Olet jo ostanut tuotteen {{productTitle}}","error_page.error_title_other_errors":"Jokin meni pieleen","error_page.error_message_already_subscribed":"Et voi tilata tätä tuotetta uudelleen.","error_page.error_message_already_purchased":"Et voi ostaa tätä tuotetta uudelleen.","error_page.error_message_missing_email_error":"Sähköpostiosoite tarvitaan ostoksen loppuun saattamiseksi.","error_page.error_message_network_error":"Verkkovirhe. Tarkista internet-yhteytesi.","error_page.error_message_error_charging_payment":"Maksaminen epäonnistui.","error_page.error_message_error_setting_up_purchase":"Ostoa ei aloitettu virheen vuoksi (virhekoodi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Emme voineet vahvistaa laskutusosoitettasi. Tarkista, että postinumero ja maa ovat oikein.","error_page.error_message_unknown_error":"Tapahtui tuntematon virhe (virhekoodi: {{errorCode}}).","error_page.button_try_again":"Yritä uudelleen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Maksettava summa tänään","product_info.subscribe_to":"Tilaa","navbar_header.details":"Yksityiskohdat","navbar_header.back_button":"Takaisin","pricing_dropdown.show_details":"Näytä tiedot","pricing_dropdown.hide_details":"Piilota tiedot","pricing_table.tax":"Vero","pricing_table.trial_ends":"Kokeilujakson päätyttyä, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Maksettava summa tänään","pricing_table.total_excluding_tax":"Veroton kokonaissumma","pricing_table.enter_billing_address_to_calculate":"Syötä laskutusosoite laskeaksesi","pricing_table.enter_state_or_postal_code_to_calculate":"Syötä osavaltio tai postinumero laskeaksesi","pricing_table.enter_postal_code_to_calculate":"Syötä postinumero laskeaksesi","error_page.error_message_invalid_email_error":"Sähköpostiosoitetta {{email}} ei voitu vahvistaa. Anna kelvollinen sähköpostiosoite.","payment_entry_page.button_payment_method":"Maksa {{formattedPrice}} käyttämällä {{paymentMethod}}","payment_entry_page.button_with_price":"Maksa {{formattedPrice}}","price_update.title":"Hinnan päivitys","price_update.base_message":"Kokonaishinta on päivitetty verolla laskutusosoitteesi perusteella. Tarkista ja yritä uudelleen. Korttiasi veloitetaan vain kerran.","price_update.trial_message":"Tilauksen hinta on päivitetty sisältämään verot laskutusosoitteesi perusteella. Ilmainen kokeilujakso on edelleen voimassa. Tarkista ja yritä uudelleen.","payment_entry_page.express_checkout_divider":"TAI MAKSA KORTILLA","error_page.trouble_accessing":"Jos sinulla on ongelmia ostoksesi käyttämisessä, ota yhteyttä tukeen osoitteessa ","error_page.close_button_title":"Siirry sovellukseen {{appName}}","error_page.error_title_stripe_missing_required_permission":"Puuttuva Stripe-käyttöoikeus","error_page.button_close":"Sulje","error_page.error_message_stripe_invalid_tax_origin_address":"Osto epäonnistui, koska veron alkuperäosoite on virheellinen. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_message_stripe_tax_not_active":"Osto epäonnistui, koska Stripe Tax ei ole käytössä. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_only_in_sandbox":"Tämä viesti näkyy vain hiekkalaatikossa.","error_page.error_message_stripe_missing_required_permission":"Osto epäonnistui, koska Stripe-sovellukselta puuttuu vaadittu käyttöoikeus. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ei ole aktiivinen","error_page.error_title_stripe_invalid_tax_origin_address":"Virheellinen veron alkuperäosoite","apple_pay.free_trial":"Ilmainen kokeilu","product_info.price_after_intro_price":"{{introPriceDuration}} jälkeen, {{renewalDate}}","product_info.after_trial":"kokeilujakson jälkeen","product_info.after":"jälkeen","product_info.intro_price_phase_after_trial":"Sitten {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase":"Ensimmäiset {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase_paid_once":"maksetaan kerran","payment_entry_page.trial_subscription_terms_info":"Kokeilujakson päätyttyä sinulta veloitetaan {{price}} {{perFrequency}} alkaen {{renewalDate}}. Voit peruuttaa milloin tahansa ennen tätä päivämäärää.","payment_entry_page.subscription_info":"Tilaus uusiutuu automaattisesti. Peruuta milloin tahansa.","payment_entry_page.otp_terms_info":"Ostamalla hyväksyt, että {{appName}} veloittaa sinua heidän ehtojensa mukaisesti.","payment_entry_page.terms_link_label":"Ehdot","payment_entry_page.subscription_terms_info":"Tilaamalla hyväksyt, että {{appName}} veloittaa sinulta ehtojensa mukaisesti, kunnes peruutat tilauksen.","loading_page.keep_page_open":"Prosessi on melkein valmis. Pidä tämä sivu auki.","loading_page.processing_payment":"Maksua käsitellään","pricing_table.discount":"Alennus","pricing_table.subtotal":"Välisumma","pricing_dropdown.add_promo_code":"Lisää kampanjakoodi","discount_input.label":"Kampanjakoodi"},um={"periods.week":"{{amount}} semaine","periods.month":"{{amount}} mois","periods.year":"{{amount}} an","periods.day":"{{amount}} jour","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mois","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}j","periods.lifetime":"à vie","periods.weekPlural":"{{amount}} semaines","periods.monthPlural":"{{amount}} mois","periods.yearPlural":"{{amount}} ans","periods.dayPlural":"{{amount}} jours","periods.weekFrequency":"hebdomadaire","periods.monthFrequency":"mensuel","periods.yearFrequency":"annuel","periods.dayFrequency":"quotidien","periods.perWeekFrequency":"par semaine","periods.perMonthFrequency":"par mois","periods.perYearFrequency":"par an","periods.perDayFrequency":"par jour","periods.unknownFrequency":"inconnu","periods.weekFrequencyPlural":"toutes les {{amount}} semaines","periods.monthFrequencyPlural":"tous les {{amount}} mois","periods.yearFrequencyPlural":"tous les {{amount}} ans","periods.dayFrequencyPlural":"tous les {{amount}} jours","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} essai gratuit","product_info.price_after_free_trial":"Après la fin de l'essai, le {{renewalDate}}","product_info.renewal_frequency":"Renouvellement {{frequency}}","product_info.continues_until_cancelled":"Continue jusqu'à annulation","product_info.cancel_anytime":"Annulez à tout moment","payment_entry_page.payment_step_title":"Paiement sécurisé par RevenueCat","payment_entry_page.button_pay":"Payer maintenant","payment_entry_page.button_start_trial":"Commencer l'essai","success_page.purchase_successful":"Paiement effectué","success_page.button_close":"Continuer","error_page.if_error_persists":"Si l'erreur persiste, veuillez contacter ","error_page.error_title_already_subscribed":"Vous êtes déjà abonné à {{productTitle}}","error_page.error_title_already_purchased":"Vous avez déjà acheté {{productTitle}}","error_page.error_title_other_errors":"Une erreur s'est produite","error_page.error_message_already_subscribed":"Vous ne pouvez pas vous abonner à nouveau à ce produit.","error_page.error_message_already_purchased":"Vous ne pouvez pas acheter ce produit à nouveau.","error_page.error_message_missing_email_error":"L'adresse e-mail est requise pour effectuer l'achat.","error_page.error_message_network_error":"Erreur réseau. Veuillez vérifier votre connexion Internet.","error_page.error_message_error_charging_payment":"Échec du paiement.","error_page.error_message_error_setting_up_purchase":"L'achat n'a pas pu démarrer en raison d'une erreur (code d'erreur : {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nous n'avons pas pu vérifier votre adresse de facturation. Veuillez vérifier que le code postal et le pays sont corrects.","error_page.error_message_unknown_error":"Une erreur inconnue s'est produite (code d'erreur : {{errorCode}}).","error_page.button_try_again":"Réessayer","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total dû aujourd'hui","product_info.subscribe_to":"S'abonner à","navbar_header.details":"Détails","navbar_header.back_button":"Retour","pricing_dropdown.show_details":"Afficher les détails","pricing_dropdown.hide_details":"Masquer les détails","pricing_table.tax":"Taxe","pricing_table.trial_ends":"Après la fin de l'essai, le {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total dû aujourd'hui","pricing_table.total_excluding_tax":"Total hors taxes","pricing_table.enter_billing_address_to_calculate":"Saisir l'adresse de facturation pour calculer","pricing_table.enter_state_or_postal_code_to_calculate":"Entrez l'état ou le code postal pour calculer","pricing_table.enter_postal_code_to_calculate":"Entrez le code postal pour calculer","error_page.error_message_invalid_email_error":"L'adresse e-mail {{email}} n'a pas pu être vérifiée. Veuillez fournir une adresse e-mail valide.","payment_entry_page.button_payment_method":"Payer {{formattedPrice}} avec {{paymentMethod}}","payment_entry_page.button_with_price":"Payer {{formattedPrice}}","price_update.title":"Mise à jour du prix","price_update.base_message":"Le prix total a été mis à jour avec la taxe en fonction de votre adresse de facturation. Veuillez vérifier et réessayer. Votre carte ne sera débitée qu'une seule fois.","price_update.trial_message":"Le prix de l'abonnement a été mis à jour pour inclure les taxes en fonction de votre adresse de facturation. La période d'essai gratuit reste applicable. Veuillez vérifier et réessayer.","payment_entry_page.express_checkout_divider":"OU PAYER PAR CARTE","error_page.trouble_accessing":"Si vous avez des difficultés à accéder à votre achat, contactez le support à l'adresse suivante : ","error_page.close_button_title":"Aller sur {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorisation Stripe manquante","error_page.button_close":"Fermer","error_page.error_message_stripe_invalid_tax_origin_address":"L'achat a échoué car l'adresse d'origine de la taxe n'est pas valide. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_message_stripe_tax_not_active":"L'achat a échoué car Stripe Tax n'est pas activé. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_only_in_sandbox":"Ce message apparaît uniquement dans l'environnement de test.","error_page.error_message_stripe_missing_required_permission":"L'achat a échoué car l'application Stripe ne dispose pas d'une autorisation requise. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non actif","error_page.error_title_stripe_invalid_tax_origin_address":"Adresse d'origine de la taxe non valide","apple_pay.free_trial":"Essai gratuit","product_info.price_after_intro_price":"Après {{introPriceDuration}}, le {{renewalDate}}","product_info.after_trial":"après l'essai","product_info.after":"après","product_info.intro_price_phase_after_trial":"Puis {{introPriceDuration}} pour {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} pour {{introPrice}} au départ","product_info.intro_price_phase_paid_once":"payé une fois","payment_entry_page.trial_subscription_terms_info":"Après la fin de votre essai, vous serez facturé {{price}} {{perFrequency}} à partir du {{renewalDate}}. Vous pouvez annuler à tout moment avant cette date.","payment_entry_page.subscription_info":"L'abonnement est renouvelé automatiquement. Annulez à tout moment.","payment_entry_page.otp_terms_info":"En achetant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions.","payment_entry_page.terms_link_label":"Conditions","payment_entry_page.subscription_terms_info":"En vous abonnant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions jusqu'à ce que vous annuliez.","loading_page.keep_page_open":"Le processus est presque terminé. Veuillez garder cette page ouverte.","loading_page.processing_payment":"Paiement en cours","pricing_table.discount":"Remise","pricing_table.subtotal":"Sous-total","pricing_dropdown.add_promo_code":"Ajouter un code promotionnel","discount_input.label":"Code promo"},dm={"periods.week":"{{amount}} Woche","periods.month":"{{amount}} Monat","periods.year":"{{amount}} Jahr","periods.day":"{{amount}} Tag","periods.weekShort":"{{amount}}Wo","periods.monthShort":"{{amount}}Mo","periods.yearShort":"{{amount}}J","periods.dayShort":"{{amount}}T","periods.lifetime":"lebenslang","periods.weekPlural":"{{amount}} Wochen","periods.monthPlural":"{{amount}} Monate","periods.yearPlural":"{{amount}} Jahre","periods.dayPlural":"{{amount}} Tage","periods.weekFrequency":"wöchentlich","periods.monthFrequency":"monatlich","periods.yearFrequency":"jährlich","periods.dayFrequency":"täglich","periods.perWeekFrequency":"pro Woche","periods.perMonthFrequency":"pro Monat","periods.perYearFrequency":"pro Jahr","periods.perDayFrequency":"pro Tag","periods.unknownFrequency":"unbekannt","periods.weekFrequencyPlural":"alle {{amount}} Wochen","periods.monthFrequencyPlural":"alle {{amount}} Monate","periods.yearFrequencyPlural":"alle {{amount}} Jahre","periods.dayFrequencyPlural":"alle {{amount}} Tage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} kostenlose Testversion","product_info.price_after_free_trial":"Nach Ablauf der Testversion, am {{renewalDate}}","product_info.renewal_frequency":"Verlängert sich {{frequency}}","product_info.continues_until_cancelled":"Läuft bis zur Kündigung","product_info.cancel_anytime":"Jederzeit kündbar","payment_entry_page.payment_step_title":"Sicherer Checkout über RevenueCat","payment_entry_page.button_pay":"Jetzt bezahlen","payment_entry_page.button_start_trial":"Testversion starten","success_page.purchase_successful":"Zahlung abgeschlossen","success_page.button_close":"Weiter","error_page.if_error_persists":"Wenn der Fehler weiterhin besteht, wenden Sie sich bitte an ","error_page.error_title_already_subscribed":"Du hast {{productTitle}} bereits abonniert","error_page.error_title_already_purchased":"Du hast {{productTitle}} bereits gekauft","error_page.error_title_other_errors":"Etwas ist schief gelaufen","error_page.error_message_already_subscribed":"Du kannst dieses Produkt nicht erneut abonnieren.","error_page.error_message_already_purchased":"Du kannst dieses Produkt nicht erneut kaufen.","error_page.error_message_missing_email_error":"Für den Kauf ist eine E-Mail-Adresse erforderlich.","error_page.error_message_network_error":"Netzwerkfehler. Bitte überprüfen Sie Ihre Internetverbindung.","error_page.error_message_error_charging_payment":"Zahlung fehlgeschlagen.","error_page.error_message_error_setting_up_purchase":"Der Kauf wurde aufgrund eines Fehlers nicht gestartet (Fehlercode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Wir konnten Ihre Rechnungsadresse nicht überprüfen. Bitte überprüfen Sie, ob die Postleitzahl und das Land korrekt sind.","error_page.error_message_unknown_error":"Ein unbekannter Fehler ist aufgetreten (Fehlercode: {{errorCode}}).","error_page.button_try_again":"Erneut versuchen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Heute fälliger Gesamtbetrag","product_info.subscribe_to":"Abonnieren","navbar_header.details":"Details","navbar_header.back_button":"Zurück","pricing_dropdown.show_details":"Details anzeigen","pricing_dropdown.hide_details":"Details ausblenden","pricing_table.tax":"Steuer","pricing_table.trial_ends":"Nach Ablauf der Testphase, am {{formattedTrialEndDate}}","pricing_table.total_due_today":"Heute fälliger Gesamtbetrag","pricing_table.total_excluding_tax":"Gesamtbetrag ohne Steuer","pricing_table.enter_billing_address_to_calculate":"Rechnungsadresse eingeben, um zu berechnen","pricing_table.enter_state_or_postal_code_to_calculate":"Bundesland oder Postleitzahl zur Berechnung eingeben","pricing_table.enter_postal_code_to_calculate":"Postleitzahl zur Berechnung eingeben","error_page.error_message_invalid_email_error":"Die E-Mail-Adresse {{email}} konnte nicht verifiziert werden. Bitte gib eine gültige E-Mail-Adresse an.","payment_entry_page.button_payment_method":"Mit {{paymentMethod}} für {{formattedPrice}} bezahlen","payment_entry_page.button_with_price":"{{formattedPrice}} bezahlen","price_update.title":"Preisaktualisierung","price_update.base_message":"Der Gesamtpreis wurde basierend auf Ihrer Rechnungsadresse mit Steuern aktualisiert. Bitte überprüfen Sie ihn und versuchen Sie es erneut. Ihre Karte wird erst belastet, wenn alles korrekt ist.","price_update.trial_message":"Der Abonnementpreis wurde aktualisiert, um Steuern basierend auf Ihrer Rechnungsadresse einzuschließen. Die kostenlose Testphase gilt weiterhin. Bitte überprüfen Sie und versuchen Sie es erneut.","payment_entry_page.express_checkout_divider":"ODER MIT KARTE ZAHLEN","error_page.trouble_accessing":"Wenn Sie Probleme beim Zugriff auf Ihren Kauf haben, wenden Sie sich an den Support unter ","error_page.close_button_title":"Zu {{appName}} gehen","error_page.error_title_stripe_missing_required_permission":"Fehlende Stripe-Berechtigung","error_page.button_close":"Schließen","error_page.error_message_stripe_invalid_tax_origin_address":"Der Kauf ist fehlgeschlagen, da die Steuerursprungsadresse ungültig ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_message_stripe_tax_not_active":"Der Kauf ist fehlgeschlagen, da Stripe Tax nicht aktiviert ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_only_in_sandbox":"Diese Meldung wird nur in der Sandbox angezeigt.","error_page.error_message_stripe_missing_required_permission":"Der Kauf ist fehlgeschlagen, da der Stripe-App eine erforderliche Berechtigung fehlt. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ist nicht aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ungültige Steuerursprungsadresse","apple_pay.free_trial":"Kostenlose Testversion","product_info.price_after_intro_price":"Nach {{introPriceDuration}}, am {{renewalDate}}","product_info.after_trial":"nach Testphase","product_info.after":"nach","product_info.intro_price_phase_after_trial":"Danach {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase":"Zuerst {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase_paid_once":"einmalig bezahlt","payment_entry_page.trial_subscription_terms_info":"Nach Ablauf Ihres Testzeitraums werden Ihnen {{price}} {{perFrequency}} ab dem {{renewalDate}} berechnet. Sie können jederzeit vor diesem Datum kündigen.","payment_entry_page.subscription_info":"Das Abonnement verlängert sich automatisch. Jederzeit kündbar.","payment_entry_page.otp_terms_info":"Mit dem Kauf erklären Sie sich einverstanden, dass {{appName}} Ihnen Gebühren gemäß ihren Bedingungen berechnet.","payment_entry_page.terms_link_label":"Bedingungen","payment_entry_page.subscription_terms_info":"Mit dem Abonnieren erklären Sie sich damit einverstanden, dass {{appName}} Ihnen gemäß ihren Bedingungen Gebühren berechnet, bis Sie kündigen.","loading_page.keep_page_open":"Der Vorgang ist fast abgeschlossen. Bitte lassen Sie diese Seite geöffnet.","loading_page.processing_payment":"Zahlung wird verarbeitet","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Zwischensumme","pricing_dropdown.add_promo_code":"Promo-Code hinzufügen","discount_input.label":"Gutscheincode"},pm={"periods.week":"{{amount}} εβδομάδα","periods.month":"{{amount}} μήνας","periods.year":"{{amount}} χρόνος","periods.day":"{{amount}} ημέρα","periods.weekShort":"{{amount}} εβδ.","periods.monthShort":"{{amount}} μήν.","periods.yearShort":"{{amount}} έτ.","periods.dayShort":"{{amount}} ημ.","periods.lifetime":"διάρκεια ζωής","periods.weekPlural":"{{amount}} εβδομάδες","periods.monthPlural":"{{amount}} μήνες","periods.yearPlural":"{{amount}} χρόνια","periods.dayPlural":"{{amount}} ημέρες","periods.weekFrequency":"εβδομαδιαία","periods.monthFrequency":"μηνιαία","periods.yearFrequency":"ετήσια","periods.dayFrequency":"καθημερινά","periods.perWeekFrequency":"ανά εβδομάδα","periods.perMonthFrequency":"ανά μήνα","periods.perYearFrequency":"ανά έτος","periods.perDayFrequency":"ανά ημέρα","periods.unknownFrequency":"άγνωστο","periods.weekFrequencyPlural":"κάθε {{amount}} εβδομάδες","periods.monthFrequencyPlural":"κάθε {{amount}} μήνες","periods.yearFrequencyPlural":"κάθε {{amount}} χρόνια","periods.dayFrequencyPlural":"κάθε {{amount}} ημέρες","product_info.subscribe_to":"Εγγραφείτε στο","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Δωρεάν για {{trialDuration}}","product_info.price_after_free_trial":"Μετά τη λήξη της δοκιμής, στις {{renewalDate}}","product_info.total_due_today":"Σύνολο πληρωτέο σήμερα","product_info.renewal_frequency":"Ανανεώνεται {{frequency}}","product_info.continues_until_cancelled":"Συνεχίζεται μέχρι την ακύρωση","product_info.cancel_anytime":"Ακύρωση ανά πάσα στιγμή","payment_entry_page.payment_step_title":"Ασφαλής ολοκλήρωση αγοράς από την RevenueCat","payment_entry_page.button_pay":"Πληρωμή τώρα","payment_entry_page.button_start_trial":"Έναρξη δοκιμής","success_page.purchase_successful":"Η πληρωμή ολοκληρώθηκε","success_page.button_close":"Συνέχεια","error_page.if_error_persists":"Εάν το σφάλμα παραμένει, επικοινωνήστε με ","error_page.error_title_already_subscribed":"Έχετε ήδη εγγραφεί στο {{productTitle}}","error_page.error_title_already_purchased":"Έχετε ήδη αγοράσει το {{productTitle}}","error_page.error_title_other_errors":"Κάτι πήγε στραβά","error_page.error_message_already_subscribed":"Δεν μπορείτε να εγγραφείτε ξανά σε αυτό το προϊόν.","error_page.error_message_already_purchased":"Δεν μπορείτε να αγοράσετε ξανά αυτό το προϊόν.","error_page.error_message_missing_email_error":"Απαιτείται email για την ολοκλήρωση της αγοράς.","error_page.error_message_network_error":"Σφάλμα δικτύου. Ελέγξτε τη σύνδεσή σας στο διαδίκτυο.","error_page.error_message_error_charging_payment":"Η πληρωμή απέτυχε.","error_page.error_message_error_setting_up_purchase":"Η αγορά δεν ξεκίνησε λόγω σφάλματος (κωδικός σφάλματος: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Δεν μπορέσαμε να επαληθεύσουμε τη διεύθυνση χρέωσής σας. Παρακαλούμε ελέγξτε ξανά τον ταχυδρομικό κώδικα και τη χώρα για να βεβαιωθείτε ότι είναι σωστά.","error_page.error_message_unknown_error":"Παρουσιάστηκε ένα άγνωστο σφάλμα (κωδικός σφάλματος: {{errorCode}}).","error_page.button_try_again":"Προσπαθήστε ξανά","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","navbar_header.details":"Λεπτομέρειες","navbar_header.back_button":"Πίσω","pricing_dropdown.show_details":"Εμφάνιση λεπτομερειών","pricing_dropdown.hide_details":"Απόκρυψη λεπτομερειών","pricing_table.tax":"Φόρος","pricing_table.trial_ends":"Μετά τη λήξη της δοκιμαστικής περιόδου, στις {{formattedTrialEndDate}}","pricing_table.total_due_today":"Σύνολο πληρωτέο σήμερα","pricing_table.total_excluding_tax":"Σύνολο χωρίς φόρο","pricing_table.enter_billing_address_to_calculate":"Εισαγάγετε τη διεύθυνση χρέωσης για να υπολογιστεί","pricing_table.enter_state_or_postal_code_to_calculate":"Εισαγάγετε την πολιτεία ή τον ταχυδρομικό κώδικα για να υπολογιστεί","pricing_table.enter_postal_code_to_calculate":"Εισαγάγετε τον ταχυδρομικό κώδικα για να υπολογιστεί","error_page.error_message_invalid_email_error":"Η διεύθυνση email {{email}} δεν μπόρεσε να επαληθευτεί. Παρακαλώ δώστε μια έγκυρη διεύθυνση email.","payment_entry_page.button_payment_method":"Πληρωμή {{formattedPrice}} με {{paymentMethod}}","payment_entry_page.button_with_price":"Πληρωμή {{formattedPrice}}","price_update.title":"Ενημέρωση τιμής","price_update.base_message":"Η συνολική τιμή ενημερώθηκε με τον φόρο βάσει της διεύθυνσης χρέωσής σας. Ελέγξτε και δοκιμάστε ξανά. Η κάρτα σας θα χρεωθεί μόνο μία φορά.","price_update.trial_message":"Η τιμή της συνδρομής ενημερώθηκε για να συμπεριλάβει τους φόρους βάσει της διεύθυνσης χρέωσής σας. Η δωρεάν δοκιμαστική περίοδος εξακολουθεί να ισχύει. Παρακαλώ ελέγξτε και δοκιμάστε ξανά.","payment_entry_page.express_checkout_divider":"Ή ΠΛΗΡΩΣΤΕ ΜΕ ΚΑΡΤΑ","error_page.trouble_accessing":"Εάν αντιμετωπίζετε προβλήματα πρόσβασης στην αγορά σας, επικοινωνήστε με την υποστήριξη στο ","error_page.close_button_title":"Μετάβαση στο {{appName}}","error_page.error_title_stripe_missing_required_permission":"Λείπει άδεια Stripe","error_page.button_close":"Κλείσιμο","error_page.error_message_stripe_invalid_tax_origin_address":"Η αγορά απέτυχε επειδή η διεύθυνση προέλευσης φόρου δεν είναι έγκυρη. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_message_stripe_tax_not_active":"Η αγορά απέτυχε επειδή το Stripe Tax δεν είναι ενεργοποιημένο. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_only_in_sandbox":"Αυτό το μήνυμα εμφανίζεται μόνο στο sandbox.","error_page.error_message_stripe_missing_required_permission":"Η αγορά απέτυχε επειδή η εφαρμογή Stripe δεν διαθέτει την απαιτούμενη άδεια. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_title_stripe_tax_not_active":"Το Stripe Tax δεν είναι ενεργό","error_page.error_title_stripe_invalid_tax_origin_address":"Μη έγκυρη διεύθυνση προέλευσης φόρου","apple_pay.free_trial":"Δωρεάν δοκιμή","product_info.price_after_intro_price":"Μετά από {{introPriceDuration}}, στις {{renewalDate}}","product_info.after_trial":"μετά τη δοκιμή","product_info.after":"μετά","product_info.intro_price_phase_after_trial":"Έπειτα {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase":"Αρχικά {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase_paid_once":"πληρωμένο εφάπαξ","payment_entry_page.trial_subscription_terms_info":"Μετά τη λήξη της δοκιμαστικής περιόδου, θα χρεωθείτε {{price}} {{perFrequency}} ξεκινώντας από {{renewalDate}}. Μπορείτε να ακυρώσετε ανά πάσα στιγμή πριν από αυτήν την ημερομηνία.","payment_entry_page.subscription_info":"Η συνδρομή ανανεώνεται αυτόματα. Ακυρώστε ανά πάσα στιγμή.","payment_entry_page.otp_terms_info":"Με την αγορά, συμφωνείτε να επιτρέψετε στην {{appName}} να σας χρεώσει σύμφωνα με τους όρους της.","payment_entry_page.terms_link_label":"Όροι","payment_entry_page.subscription_terms_info":"Με την εγγραφή σας, συμφωνείτε να επιτρέψετε στην εφαρμογή {{appName}} να σας χρεώνει σύμφωνα με τους όρους της έως ότου ακυρώσετε.","loading_page.keep_page_open":"Η διαδικασία σχεδόν ολοκληρώθηκε. Κρατήστε αυτή τη σελίδα ανοιχτή.","loading_page.processing_payment":"Επεξεργασία πληρωμής","pricing_table.discount":"Έκπτωση","pricing_table.subtotal":"Υποσύνολο","pricing_dropdown.add_promo_code":"Προσθήκη κωδικού προσφοράς","discount_input.label":"Κωδικός προσφοράς"},_m={"periods.week":"{{amount}} שבוע","periods.month":"{{amount}} חודש","periods.year":"{{amount}} שנה","periods.day":"{{amount}} יום","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"למשך כל החיים","periods.weekPlural":"{{amount}} שבועות","periods.monthPlural":"{{amount}} חודשים","periods.yearPlural":"{{amount}} שנים","periods.dayPlural":"{{amount}} ימים","periods.weekFrequency":"שבועי","periods.monthFrequency":"חודשי","periods.yearFrequency":"שנתי","periods.dayFrequency":"יומי","periods.perWeekFrequency":"לשבוע","periods.perMonthFrequency":"לחודש","periods.perYearFrequency":"לשנה","periods.perDayFrequency":"ליום","periods.unknownFrequency":"לא ידוע","periods.weekFrequencyPlural":"כל {{amount}} שבועות","periods.monthFrequencyPlural":"כל {{amount}} חודשים","periods.yearFrequencyPlural":"כל {{amount}} שנים","periods.dayFrequencyPlural":"כל {{amount}} ימים","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ניסיון חינם","product_info.price_after_free_trial":"לאחר סיום הניסיון, ב-{{renewalDate}}","product_info.renewal_frequency":"מתחדש {{frequency}}","product_info.continues_until_cancelled":"נמשך עד ביטול","product_info.cancel_anytime":"ניתן לבטל בכל עת","payment_entry_page.payment_step_title":"קופה מאובטחת באמצעות RevenueCat","payment_entry_page.button_pay":"שלם עכשיו","payment_entry_page.button_start_trial":"התחל ניסיון","success_page.purchase_successful":"התשלום הושלם","success_page.button_close":"המשך","error_page.if_error_persists":"אם השגיאה נמשכת, אנא פנה אל ","error_page.error_title_already_subscribed":"כבר נרשמת כמנוי ל-{{productTitle}}","error_page.error_title_already_purchased":"כבר רכשת את {{productTitle}}","error_page.error_title_other_errors":"משהו השתבש","error_page.error_message_already_subscribed":"אינך יכול להירשם כמנוי למוצר זה שוב.","error_page.error_message_already_purchased":"אינך יכול לרכוש מוצר זה שוב.","error_page.error_message_missing_email_error":'דוא"ל נדרש כדי להשלים את הרכישה.',"error_page.error_message_network_error":"שגיאת רשת. אנא בדוק את חיבור האינטרנט שלך.","error_page.error_message_error_charging_payment":"התשלום נכשל.","error_page.error_message_error_setting_up_purchase":"הרכישה לא הופעלה עקב שגיאה (קוד שגיאה: {{errorCode}}).","error_page.error_message_invalid_tax_location":"לא הצלחנו לאמת את כתובת החיוב שלך. אנא בדוק שוב את המיקוד והמדינה כדי לוודא שהם נכונים.","error_page.error_message_unknown_error":"אירעה שגיאה לא ידועה (קוד שגיאה: {{errorCode}}).","error_page.button_try_again":"נסה שוב","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":'סה"כ לתשלום היום',"product_info.subscribe_to":"הירשם כמנוי ל-","navbar_header.details":"פרטים","navbar_header.back_button":"חזרה","pricing_dropdown.show_details":"הצג פרטים","pricing_dropdown.hide_details":"הסתר פרטים","pricing_table.tax":"מס","pricing_table.trial_ends":"לאחר סיום תקופת הניסיון, בתאריך {{formattedTrialEndDate}}","pricing_table.total_due_today":"סך הכל לתשלום היום","pricing_table.total_excluding_tax":"סך הכל לא כולל מס","pricing_table.enter_billing_address_to_calculate":"הזן כתובת לחיוב כדי לחשב","pricing_table.enter_state_or_postal_code_to_calculate":"הזן מדינה או מיקוד לחישוב","pricing_table.enter_postal_code_to_calculate":"הזן מיקוד לחישוב","error_page.error_message_invalid_email_error":"לא ניתן לאמת את כתובת האימייל {{email}}. אנא ספק כתובת אימייל חוקית.","payment_entry_page.button_payment_method":"שלם {{formattedPrice}} באמצעות {{paymentMethod}}","payment_entry_page.button_with_price":"שלם {{formattedPrice}}","price_update.title":"עדכון מחיר","price_update.base_message":"המחיר הכולל עודכן עם מס בהתבסס על כתובת החיוב שלך. אנא בדוק שוב ונסה שוב. החיוב יתבצע רק פעם אחת.","price_update.trial_message":"מחיר המנוי עודכן כדי לכלול מיסים בהתבסס על כתובת החיוב שלך. תקופת הניסיון החינמית עדיין תקפה. אנא בדוק ונסה שוב.","payment_entry_page.express_checkout_divider":"או שלם באמצעות כרטיס","error_page.trouble_accessing":"אם אתה מתקשה לגשת לרכישה שלך, פנה לתמיכה בכתובת ","error_page.close_button_title":"עבור אל {{appName}}","error_page.error_title_stripe_missing_required_permission":"חסרה הרשאה של Stripe","error_page.button_close":"סגור","error_page.error_message_stripe_invalid_tax_origin_address":"הרכישה נכשלה מכיוון שכתובת מקור המס אינה חוקית. בייצור, רכישות יעבדו ללא מסים.","error_page.error_message_stripe_tax_not_active":"הרכישה נכשלה מכיוון שמס Stripe אינו מופעל. בייצור, רכישות יעבדו ללא מסים.","error_page.error_only_in_sandbox":"הודעה זו מופיעה רק בארגז חול.","error_page.error_message_stripe_missing_required_permission":"הרכישה נכשלה מכיוון שלאפליקציית Stripe חסרה הרשאה נדרשת. בייצור, רכישות יעבדו ללא מסים.","error_page.error_title_stripe_tax_not_active":"מס Stripe לא פעיל","error_page.error_title_stripe_invalid_tax_origin_address":"כתובת מקור מס לא חוקית","apple_pay.free_trial":"תקופת ניסיון בחינם","product_info.price_after_intro_price":"לאחר {{introPriceDuration}}, בתאריך {{renewalDate}}","product_info.after_trial":"אחרי תקופת ניסיון","product_info.after":"אחרי","product_info.intro_price_phase_after_trial":"אחר כך {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase":"תחילה {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase_paid_once":"משולם פעם אחת","payment_entry_page.trial_subscription_terms_info":"לאחר סיום תקופת הניסיון שלך, תחויב בסך {{price}} {{perFrequency}} החל מ-{{renewalDate}}. באפשרותך לבטל בכל עת לפני תאריך זה.","payment_entry_page.subscription_info":"המנוי מתחדש אוטומטית. ניתן לבטל בכל עת.","payment_entry_page.otp_terms_info":"ברכישה, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם.","payment_entry_page.terms_link_label":"תנאים","payment_entry_page.subscription_terms_info":"על ידי הרשמה כמנוי, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם עד שתבטל.","loading_page.keep_page_open":"התהליך כמעט הסתיים. השאר דף זה פתוח.","loading_page.processing_payment":"מעבד תשלום תבעה","pricing_table.discount":"הנחה","pricing_table.subtotal":"סכום ביניים","pricing_dropdown.add_promo_code":"הוסף קוד קידום מכירות","discount_input.label":"קוד פרומו"},gm={"periods.week":"{{amount}} सप्ताह","periods.month":"{{amount}} महीना","periods.year":"{{amount}} वर्ष","periods.day":"{{amount}} दिन","periods.weekShort":"{{amount}}सप्ताह","periods.monthShort":"{{amount}}महीना","periods.yearShort":"{{amount}}वर्ष","periods.dayShort":"{{amount}}दिन","periods.lifetime":"लाइफ़टाइम","periods.weekPlural":"{{amount}} सप्ताह","periods.monthPlural":"{{amount}} महीने","periods.yearPlural":"{{amount}} वर्ष","periods.dayPlural":"{{amount}} दिन","periods.weekFrequency":"साप्ताहिक","periods.monthFrequency":"मासिक","periods.yearFrequency":"वार्षिक","periods.dayFrequency":"दैनिक","periods.perWeekFrequency":"प्रति सप्ताह","periods.perMonthFrequency":"प्रति माह","periods.perYearFrequency":"प्रति वर्ष","periods.perDayFrequency":"प्रति दिन","periods.unknownFrequency":"अज्ञात","periods.weekFrequencyPlural":"प्रत्येक {{amount}} सप्ताह","periods.monthFrequencyPlural":"प्रत्येक {{amount}} महीने","periods.yearFrequencyPlural":"प्रत्येक {{amount}} वर्ष","periods.dayFrequencyPlural":"प्रत्येक {{amount}} दिन","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} निःशुल्क परीक्षण","product_info.price_after_free_trial":"परीक्षण समाप्त होने के बाद, {{renewalDate}} को","product_info.renewal_frequency":"{{frequency}} पर नवीनीकृत होता है","product_info.continues_until_cancelled":"रद्द होने तक जारी रहता है","product_info.cancel_anytime":"किसी भी समय रद्द करें","payment_entry_page.payment_step_title":"RevenueCat द्वारा सुरक्षित चेकआउट","payment_entry_page.button_pay":"अभी भुगतान करें","payment_entry_page.button_start_trial":"परीक्षण प्रारंभ करें","success_page.purchase_successful":"भुगतान पूर्ण","success_page.button_close":"जारी रखें","error_page.if_error_persists":"यदि त्रुटि बनी रहती है, तो कृपया संपर्क करें ","error_page.error_title_already_subscribed":"आपने पहले ही {{productTitle}} की सदस्यता ले ली है","error_page.error_title_already_purchased":"आपने पहले ही {{productTitle}} खरीद लिया है","error_page.error_title_other_errors":"कुछ गलत हो गया","error_page.error_message_already_subscribed":"आप इस उत्पाद की सदस्यता फिर से नहीं ले सकते.","error_page.error_message_already_purchased":"आप इस उत्पाद को फिर से नहीं खरीद सकते.","error_page.error_message_missing_email_error":"खरीद को पूरा करने के लिए ईमेल आवश्यक है।","error_page.error_message_network_error":"नेटवर्क त्रुटि। कृपया अपना इंटरनेट कनेक्शन जांचें।","error_page.error_message_error_charging_payment":"भुगतान विफल।","error_page.error_message_error_setting_up_purchase":"किसी त्रुटि के कारण खरीदारी शुरू नहीं हुई (त्रुटि कोड: {{errorCode}})।","error_page.error_message_invalid_tax_location":"हम आपके बिलिंग पते को सत्यापित नहीं कर सके। कृपया सुनिश्चित करें कि पिन कोड और देश सही हैं।","error_page.error_message_unknown_error":"एक अज्ञात त्रुटि हुई (त्रुटि कोड: {{errorCode}})।","error_page.button_try_again":"फिर से कोशिश करें","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"आज देय कुल राशि","product_info.subscribe_to":"सदस्यता लें","navbar_header.details":"विवरण","navbar_header.back_button":"वापस","pricing_dropdown.show_details":"विवरण दिखाएँ","pricing_dropdown.hide_details":"विवरण छिपाएँ","pricing_table.tax":"कर","pricing_table.trial_ends":"{{formattedTrialEndDate}} पर परीक्षण समाप्त होने के बाद","pricing_table.total_due_today":"आज देय कुल","pricing_table.total_excluding_tax":"कर को छोड़कर कुल","pricing_table.enter_billing_address_to_calculate":"गणना करने के लिए बिलिंग पता दर्ज करें","pricing_table.enter_state_or_postal_code_to_calculate":"गणना करने के लिए राज्य या ज़िप कोड दर्ज करें","pricing_table.enter_postal_code_to_calculate":"गणना करने के लिए ज़िप कोड दर्ज करें","error_page.error_message_invalid_email_error":"ईमेल पता {{email}} सत्यापित नहीं किया जा सका. कृपया एक मान्य ईमेल पता प्रदान करें.","payment_entry_page.button_payment_method":"{{paymentMethod}} के साथ {{formattedPrice}} का भुगतान करें","payment_entry_page.button_with_price":"{{formattedPrice}} का भुगतान करें","price_update.title":"मूल्य अपडेट","price_update.base_message":"आप के बिलिंग पते के आधार पर कुल कीमत कर के साथ अपडेट की गई थी। कृपया समीक्षा करें और फिर से प्रयास करें। आपके कार्ड से केवल एक बार शुल्क लिया जाएगा।","price_update.trial_message":"सदस्यता मूल्य आपके बिलिंग पते के आधार पर करों को शामिल करने के लिए अपडेट किया गया है। निःशुल्क परीक्षण अवधि अभी भी लागू है। कृपया जांचें और पुनः प्रयास करें।","payment_entry_page.express_checkout_divider":"या कार्ड से भुगतान करें","error_page.trouble_accessing":"यदि आपको अपनी खरीदारी तक पहुंचने में परेशानी हो रही है, तो पर समर्थन के लिए संपर्क करें","error_page.close_button_title":"{{appName}} पर जाएं","error_page.error_title_stripe_missing_required_permission":"स्ट्राइप अनुमति गुम है","error_page.button_close":"बंद करें","error_page.error_message_stripe_invalid_tax_origin_address":"खरीदारी विफल रही क्योंकि कर उत्पत्ति पता अमान्य है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_message_stripe_tax_not_active":"खरीदारी विफल रही क्योंकि स्ट्राइप टैक्स सक्षम नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_only_in_sandbox":"यह संदेश केवल सैंडबॉक्स में दिखाई देता है.","error_page.error_message_stripe_missing_required_permission":"खरीदारी विफल रही क्योंकि स्ट्राइप ऐप में आवश्यक अनुमति नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_title_stripe_tax_not_active":"स्ट्राइप टैक्स सक्रिय नहीं है","error_page.error_title_stripe_invalid_tax_origin_address":"अमान्य कर उत्पत्ति पता","apple_pay.free_trial":"मुफ़्त ट्रायल","product_info.price_after_intro_price":"{{introPriceDuration}} के बाद, {{renewalDate}} पर","product_info.after_trial":"ट्रायल के बाद","product_info.after":"के बाद","product_info.intro_price_phase_after_trial":"फिर {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase":"पहले {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase_paid_once":"एक बार भुगतान किया गया","payment_entry_page.trial_subscription_terms_info":"आपकी परीक्षण अवधि समाप्त होने के बाद, आपसे {{renewalDate}} से शुरू होकर {{price}} {{perFrequency}} शुल्क लिया जाएगा. आप इस तिथि से पहले कभी भी रद्द कर सकते हैं.","payment_entry_page.subscription_info":"सदस्यता स्वतः नवीनीकृत हो जाती है. कभी भी रद्द करें.","payment_entry_page.otp_terms_info":"खरीदकर, आप {{appName}} को उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","payment_entry_page.terms_link_label":"नियम","payment_entry_page.subscription_terms_info":"सदस्यता लेकर, आप {{appName}} को रद्द करने तक उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","loading_page.keep_page_open":"प्रक्रिया लगभग पूरी हो चुकी है. इस पृष्ठ को खुला रखें.","loading_page.processing_payment":"भुगतान संसाधित किया जा रहा है","pricing_table.discount":"छूट","pricing_table.subtotal":"उपकुल योग","pricing_dropdown.add_promo_code":"प्रोमो_कोड_जोड़ें","discount_input.label":"प्रोमो कोड"},fm={"periods.week":"{{amount}} hét","periods.month":"{{amount}} hónap","periods.year":"{{amount}} év","periods.day":"{{amount}} nap","periods.weekShort":"{{amount}}hét","periods.monthShort":"{{amount}}hó","periods.yearShort":"{{amount}}év","periods.dayShort":"{{amount}}n","periods.lifetime":"életre szóló","periods.weekPlural":"{{amount}} hét","periods.monthPlural":"{{amount}} hónap","periods.yearPlural":"{{amount}} év","periods.dayPlural":"{{amount}} nap","periods.weekFrequency":"heti","periods.monthFrequency":"havi","periods.yearFrequency":"éves","periods.dayFrequency":"napi","periods.perWeekFrequency":"hetente","periods.perMonthFrequency":"havonta","periods.perYearFrequency":"évente","periods.perDayFrequency":"naponta","periods.unknownFrequency":"ismeretlen","periods.weekFrequencyPlural":"minden {{amount}} hétben","periods.monthFrequencyPlural":"minden {{amount}} hónapban","periods.yearFrequencyPlural":"minden {{amount}} évben","periods.dayFrequencyPlural":"minden {{amount}} napban","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} próbaidőszak","product_info.price_after_free_trial":"A próbaidőszak vége után, {{renewalDate}}-kor","product_info.renewal_frequency":"{{frequency}} gyakorisággal megújul","product_info.continues_until_cancelled":"Folytatódik, amíg le nem mondják","product_info.cancel_anytime":"Bármikor lemondható","payment_entry_page.payment_step_title":"Biztonságos fizetés a RevenueCat-en keresztül","payment_entry_page.button_pay":"Fizetés most","payment_entry_page.button_start_trial":"Próbaidőszak indítása","success_page.purchase_successful":"Fizetés sikeres","success_page.button_close":"Tovább","error_page.if_error_persists":"Ha a hiba továbbra is fennáll, kérjük, vedd fel a kapcsolatot ","error_page.error_title_already_subscribed":"Már előfizettél a(z) {{productTitle}} termékre","error_page.error_title_already_purchased":"Már megvásároltad a(z) {{productTitle}} terméket","error_page.error_title_other_errors":"Valami hiba történt","error_page.error_message_already_subscribed":"Nem fizethetsz elő újra erre a termékre.","error_page.error_message_already_purchased":"Nem vásárolhatod meg újra ezt a terméket.","error_page.error_message_missing_email_error":"Az email cím szükséges a vásárlás befejezéséhez.","error_page.error_message_network_error":"Hálózati hiba. Kérjük, ellenőrizd az internetkapcsolatodat.","error_page.error_message_error_charging_payment":"A fizetés sikertelen volt.","error_page.error_message_error_setting_up_purchase":"Hiba miatt nem indult el a vásárlás (hibakód: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nem tudtuk ellenőrizni a számlázási címét. Kérjük, ellenőrizze, hogy az irányítószám és az ország helyes-e.","error_page.error_message_unknown_error":"Ismeretlen hiba történt (hibakód: {{errorCode}}).","error_page.button_try_again":"Újrapróbálkozás","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ma fizetendő összesen","product_info.subscribe_to":"Feliratkozás erre:","navbar_header.details":"Részletek","navbar_header.back_button":"Vissza","pricing_dropdown.show_details":"Részletek mutatása","pricing_dropdown.hide_details":"Részletek elrejtése","pricing_table.tax":"Adó","pricing_table.trial_ends":"A próbaidőszak vége: {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ma fizetendő összeg","pricing_table.total_excluding_tax":"Összesen adó nélkül","pricing_table.enter_billing_address_to_calculate":"Adja meg a számlázási címet a számításhoz","pricing_table.enter_state_or_postal_code_to_calculate":"Adja meg az államot vagy az irányítószámot a számításhoz","pricing_table.enter_postal_code_to_calculate":"Adja meg az irányítószámot a számításhoz","error_page.error_message_invalid_email_error":"A(z) {{email}} e-mail címet nem sikerült ellenőrizni. Kérjük, adj meg egy érvényes e-mail címet.","payment_entry_page.button_payment_method":"Fizetés {{formattedPrice}} összeggel a következővel: {{paymentMethod}}","payment_entry_page.button_with_price":"Fizetés {{formattedPrice}}","price_update.title":"Ár frissítése","price_update.base_message":"A teljes ár frissítve lett az adóval a számlázási címed alapján. Kérjük, tekintsd át és próbáld újra. A kártyádat csak egyszer terheljük meg.","price_update.trial_message":"Az előfizetés ára adókkal együtt frissítésre került a számlázási címének megfelelően. Az ingyenes próbaidőszak továbbra is érvényes. Kérjük, ellenőrizze és próbálja újra.","payment_entry_page.express_checkout_divider":"VAGY FIZESSEN KÁRTYÁVAL","error_page.trouble_accessing":"Ha problémái vannak a vásárláshoz való hozzáféréssel, forduljon az ügyfélszolgálathoz a következő címen: ","error_page.close_button_title":"Ugrás a(z) {{appName}} alkalmazáshoz","error_page.error_title_stripe_missing_required_permission":"Hiányzó Stripe engedély","error_page.button_close":"Bezárás","error_page.error_message_stripe_invalid_tax_origin_address":"A vásárlás sikertelen volt, mert az adókiindulási cím érvénytelen. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_message_stripe_tax_not_active":"A vásárlás sikertelen volt, mert a Stripe adó nincs engedélyezve. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_only_in_sandbox":"Ez az üzenet csak a tesztkörnyezetben jelenik meg.","error_page.error_message_stripe_missing_required_permission":"A vásárlás sikertelen volt, mert a Stripe alkalmazásból hiányzik egy szükséges engedély. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_title_stripe_tax_not_active":"A Stripe adó nincs aktiválva","error_page.error_title_stripe_invalid_tax_origin_address":"Érvénytelen adókiindulási cím","apple_pay.free_trial":"Ingyenes próbaidőszak","product_info.price_after_intro_price":"{{introPriceDuration}} után, {{renewalDate}} napján","product_info.after_trial":"próbaidőszak után","product_info.after":"utána","product_info.intro_price_phase_after_trial":"Ezután {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase":"Először {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase_paid_once":"egyszeri fizetéssel","payment_entry_page.trial_subscription_terms_info":"A próbaidőszak vége után {{price}} összeget számítunk fel {{perFrequency}} gyakorisággal, kezdve {{renewalDate}} dátummal. Ezt a dátumot megelőzően bármikor lemondhatod.","payment_entry_page.subscription_info":"Az előfizetés automatikusan megújul. Bármikor lemondhatod.","payment_entry_page.otp_terms_info":"A vásárlással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen.","payment_entry_page.terms_link_label":"Feltételek","payment_entry_page.subscription_terms_info":"A feliratkozással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen, amíg le nem mondod.","loading_page.keep_page_open":"A folyamat majdnem befejeződött. Tartsa nyitva ezt az oldalt.","loading_page.processing_payment":"Fizetés feldolgozása","pricing_table.discount":"Kedvezmény","pricing_table.subtotal":"Részösszeg","pricing_dropdown.add_promo_code":"Promóciós kód hozzáadása","discount_input.label":"Promóciós kód"},mm={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"per minggu","periods.perMonthFrequency":"per bulan","periods.perYearFrequency":"per tahun","periods.perDayFrequency":"per hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} uji coba gratis","product_info.price_after_free_trial":"Setelah uji coba berakhir, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbarui {{frequency}}","product_info.continues_until_cancelled":"Berlanjut hingga dibatalkan","product_info.cancel_anytime":"Batalkan kapan saja","payment_entry_page.payment_step_title":"Pembayaran aman oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mulai Uji Coba","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Lanjutkan","error_page.if_error_persists":"Jika kesalahan berlanjut, silakan hubungi ","error_page.error_title_already_subscribed":"Anda sudah berlangganan ke {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Terjadi kesalahan","error_page.error_message_already_subscribed":"Anda tidak dapat berlangganan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak dapat membeli produk ini lagi.","error_page.error_message_missing_email_error":"Email diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Kesalahan jaringan. Periksa koneksi internet Anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulai karena kesalahan (kode kesalahan: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat memverifikasi alamat penagihan Anda. Harap periksa kembali kode pos dan negara untuk memastikan keduanya benar.","error_page.error_message_unknown_error":"Terjadi kesalahan yang tidak diketahui (kode kesalahan: {{errorCode}}).","error_page.button_try_again":"Coba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total yang harus dibayar hari ini","product_info.subscribe_to":"Berlangganan ke","navbar_header.details":"Detail","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tampilkan detail","pricing_dropdown.hide_details":"Sembunyikan detail","pricing_table.tax":"Pajak","pricing_table.trial_ends":"Setelah masa percobaan berakhir, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total yang harus dibayar hari ini","pricing_table.total_excluding_tax":"Total belum termasuk pajak","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat penagihan untuk menghitung","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negara bagian atau kode pos untuk menghitung","pricing_table.enter_postal_code_to_calculate":"Masukkan kode pos untuk menghitung","error_page.error_message_invalid_email_error":"Alamat email {{email}} tidak dapat diverifikasi. Harap berikan alamat email yang valid.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Pembaruan harga","price_update.base_message":"Total harga telah diperbarui dengan pajak berdasarkan alamat penagihan Anda. Harap tinjau dan coba lagi. Kartu Anda hanya akan dikenakan biaya sekali.","price_update.trial_message":"Harga langganan telah diperbarui untuk menyertakan pajak berdasarkan alamat penagihan Anda. Masa percobaan gratis masih berlaku. Silakan periksa dan coba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KARTU","error_page.trouble_accessing":"Jika Anda mengalami masalah dalam mengakses pembelian, hubungi dukungan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Izin Stripe tidak ada","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal karena alamat asal pajak tidak valid. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal karena Stripe Tax tidak diaktifkan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_only_in_sandbox":"Pesan ini hanya muncul di sandbox.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal karena aplikasi Stripe tidak memiliki izin yang diperlukan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_title_stripe_tax_not_active":"Stripe Tax tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal pajak tidak valid","apple_pay.free_trial":"Uji Coba Gratis","product_info.price_after_intro_price":"Setelah {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"setelah uji coba","product_info.after":"setelah","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Setelah masa percobaan Anda berakhir, Anda akan dikenakan biaya sebesar {{price}} {{perFrequency}} mulai {{renewalDate}}. Anda dapat membatalkan kapan saja sebelum tanggal ini.","payment_entry_page.subscription_info":"Langganan diperpanjang secara otomatis. Batalkan kapan saja.","payment_entry_page.otp_terms_info":"Dengan membeli, Anda setuju untuk mengizinkan {{appName}} menagih Anda sesuai dengan ketentuan mereka.","payment_entry_page.terms_link_label":"Ketentuan","payment_entry_page.subscription_terms_info":"Dengan berlangganan, Anda setuju untuk mengizinkan {{appName}} mengenakan biaya sesuai dengan ketentuan mereka hingga Anda membatalkan.","loading_page.keep_page_open":"Prosesnya hampir selesai. Jangan tutup halaman ini.","loading_page.processing_payment":"Pembayaran sedang diproses","pricing_table.discount":"Diskon","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambahkan kode promo","discount_input.label":"Kode promo"},hm={"periods.week":"{{amount}}週間","periods.month":"{{amount}}ヶ月","periods.year":"{{amount}}年","periods.day":"{{amount}}日","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}ヶ月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}日","periods.lifetime":"生涯","periods.weekPlural":"{{amount}}週間","periods.monthPlural":"{{amount}}ヶ月","periods.yearPlural":"{{amount}}年","periods.dayPlural":"{{amount}}日","periods.weekFrequency":"毎週","periods.monthFrequency":"毎月","periods.yearFrequency":"毎年","periods.dayFrequency":"毎日","periods.perWeekFrequency":"週ごと","periods.perMonthFrequency":"月ごと","periods.perYearFrequency":"年ごと","periods.perDayFrequency":"日ごと","periods.unknownFrequency":"不明","periods.weekFrequencyPlural":"{{amount}}週間ごと","periods.monthFrequencyPlural":"{{amount}}ヶ月ごと","periods.yearFrequencyPlural":"{{amount}}年ごと","periods.dayFrequencyPlural":"{{amount}}日ごと","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}日間無料トライアル","product_info.price_after_free_trial":"トライアル終了後、{{renewalDate}}に","product_info.renewal_frequency":"{{frequency}}で更新","product_info.continues_until_cancelled":"キャンセルされるまで継続されます","product_info.cancel_anytime":"いつでもキャンセルできます","payment_entry_page.payment_step_title":"RevenueCatによる安全なチェックアウト","payment_entry_page.button_pay":"今すぐ支払う","payment_entry_page.button_start_trial":"トライアルを開始","success_page.purchase_successful":"支払いが完了しました","success_page.button_close":"続行","error_page.if_error_persists":"エラーが続く場合は、ご連絡ください。","error_page.error_title_already_subscribed":"すでに{{productTitle}}を購読しています","error_page.error_title_already_purchased":"すでに{{productTitle}}を購入しています","error_page.error_title_other_errors":"エラーが発生しました","error_page.error_message_already_subscribed":"この商品を再度購読することはできません。","error_page.error_message_already_purchased":"この商品を再度購入することはできません。","error_page.error_message_missing_email_error":"購入を完了するにはメールアドレスが必要です。","error_page.error_message_network_error":"ネットワークエラーです。インターネット接続を確認してください。","error_page.error_message_error_charging_payment":"支払いに失敗しました。","error_page.error_message_error_setting_up_purchase":"エラーが発生したため、購入を開始できませんでした(エラーコード:{{errorCode}})。","error_page.error_message_invalid_tax_location":"請求先住所を確認できませんでした。郵便番号と国が正しいかご確認ください。","error_page.error_message_unknown_error":"不明なエラーが発生しました(エラーコード:{{errorCode}})。","error_page.button_try_again":"再試行","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"本日のお支払い合計","product_info.subscribe_to":"購読する","navbar_header.details":"詳細","navbar_header.back_button":"戻る","pricing_dropdown.show_details":"詳細を表示","pricing_dropdown.hide_details":"詳細を隠す","pricing_table.tax":"税金","pricing_table.trial_ends":"トライアル終了後、{{formattedTrialEndDate}}","pricing_table.total_due_today":"本日お支払いいただく合計金額","pricing_table.total_excluding_tax":"税抜き合計","pricing_table.enter_billing_address_to_calculate":"請求先住所を入力して計算","pricing_table.enter_state_or_postal_code_to_calculate":"計算するには州または郵便番号を入力してください","pricing_table.enter_postal_code_to_calculate":"計算するには郵便番号を入力してください","error_page.error_message_invalid_email_error":"メールアドレス{{email}}を確認できませんでした。有効なメールアドレスを入力してください。","payment_entry_page.button_payment_method":"{{paymentMethod}}で{{formattedPrice}}を支払う","payment_entry_page.button_with_price":"{{formattedPrice}}を支払う","price_update.title":"価格の更新","price_update.base_message":"合計金額が、お客様の請求先住所に基づいて税金とともに更新されました。再度ご確認ください。カードへの請求は1回のみです。","price_update.trial_message":"請求先住所に基づいて税金を含むサブスクリプション料金が更新されました。無料トライアルは引き続き適用されます。確認して再度お試しください。","payment_entry_page.express_checkout_divider":"カードで支払う","error_page.trouble_accessing":"購入へのアクセスに問題がある場合は、サポートにお問い合わせください: ","error_page.close_button_title":"{{appName}} に移動","error_page.error_title_stripe_missing_required_permission":"必要なStripeの権限がありません","error_page.button_close":"閉じる","error_page.error_message_stripe_invalid_tax_origin_address":"税の原産地住所が無効なため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_message_stripe_tax_not_active":"Stripe Taxが有効になっていないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_only_in_sandbox":"このメッセージはサンドボックスでのみ表示されます。","error_page.error_message_stripe_missing_required_permission":"Stripeアプリに必要な権限がないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_title_stripe_tax_not_active":"Stripe Taxが有効ではありません","error_page.error_title_stripe_invalid_tax_origin_address":"税の原産地住所が無効です","apple_pay.free_trial":"無料トライアル","product_info.price_after_intro_price":"{{introPriceDuration}}の後、{{renewalDate}}に","product_info.after_trial":"トライアル後","product_info.after":"後","product_info.intro_price_phase_after_trial":"その後、{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase":"最初の{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase_paid_once":"一回払い","payment_entry_page.trial_subscription_terms_info":"トライアル期間が終了すると、{{renewalDate}}から{{price}} {{perFrequency}}が課金されます。この日より前にいつでもキャンセルできます。","payment_entry_page.subscription_info":"サブスクリプションは自動的に更新されます。いつでもキャンセルできます。","payment_entry_page.otp_terms_info":"購入することにより、{{appName}}が利用規約に基づいて料金を請求することに同意したことになります。","payment_entry_page.terms_link_label":"利用規約","payment_entry_page.subscription_terms_info":"サブスクリプションに登録すると、キャンセルするまで{{appName}}が利用規約に従って課金することを許可することに同意したことになります。","loading_page.keep_page_open":"プロセスはほぼ完了です。このページを開いたままにしてください。","loading_page.processing_payment":"お支払い手続き中","pricing_table.discount":"割引","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"プロモーションコードを追加","discount_input.label":"プロモーションコード"},vm={"periods.week":"{{amount}}주","periods.month":"{{amount}}개월","periods.year":"{{amount}}년","periods.day":"{{amount}}일","periods.weekShort":"{{amount}}주","periods.monthShort":"{{amount}}개월","periods.yearShort":"{{amount}}년","periods.dayShort":"{{amount}}일","periods.lifetime":"평생","periods.weekPlural":"{{amount}}주","periods.monthPlural":"{{amount}}개월","periods.yearPlural":"{{amount}}년","periods.dayPlural":"{{amount}}일","periods.weekFrequency":"매주","periods.monthFrequency":"매달","periods.yearFrequency":"매년","periods.dayFrequency":"매일","periods.perWeekFrequency":"주당","periods.perMonthFrequency":"월별","periods.perYearFrequency":"연간","periods.perDayFrequency":"매일","periods.unknownFrequency":"알 수 없음","periods.weekFrequencyPlural":"{{amount}}주마다","periods.monthFrequencyPlural":"{{amount}}개월마다","periods.yearFrequencyPlural":"{{amount}}년마다","periods.dayFrequencyPlural":"{{amount}}일마다","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}일 무료 체험","product_info.price_after_free_trial":"체험 종료 후, {{renewalDate}}에","product_info.renewal_frequency":"{{frequency}}마다 갱신","product_info.continues_until_cancelled":"취소될 때까지 계속됩니다.","product_info.cancel_anytime":"언제든지 취소 가능","payment_entry_page.payment_step_title":"RevenueCat을 통한 안전한 결제","payment_entry_page.button_pay":"지금 결제","payment_entry_page.button_start_trial":"체험 시작","success_page.purchase_successful":"결제가 완료되었습니다.","success_page.button_close":"계속","error_page.if_error_persists":"오류가 지속되면 다음으로 문의하십시오.","error_page.error_title_already_subscribed":"이미 {{productTitle}}을 구독하셨습니다","error_page.error_title_already_purchased":"이미 {{productTitle}}을 구매하셨습니다","error_page.error_title_other_errors":"문제가 발생했습니다.","error_page.error_message_already_subscribed":"이 제품을 다시 구독할 수 없습니다.","error_page.error_message_already_purchased":"이 제품을 다시 구매할 수 없습니다.","error_page.error_message_missing_email_error":"구매를 완료하려면 이메일이 필요합니다.","error_page.error_message_network_error":"네트워크 오류입니다. 인터넷 연결을 확인하십시오.","error_page.error_message_error_charging_payment":"결제에 실패했습니다.","error_page.error_message_error_setting_up_purchase":"오류로 인해 구매가 시작되지 않았습니다(오류 코드: {{errorCode}}).","error_page.error_message_invalid_tax_location":"청구 주소를 확인할 수 없습니다. 우편번호와 국가가 정확한지 다시 한번 확인해 주세요.","error_page.error_message_unknown_error":"알 수 없는 오류가 발생했습니다(오류 코드: {{errorCode}}).","error_page.button_try_again":"다시 시도","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"오늘 총 결제 금액","product_info.subscribe_to":"구독하기","navbar_header.details":"세부 정보","navbar_header.back_button":"뒤로","pricing_dropdown.show_details":"세부 정보 표시","pricing_dropdown.hide_details":"세부 정보 숨기기","pricing_table.tax":"세금","pricing_table.trial_ends":"체험판 종료 후, {{formattedTrialEndDate}}","pricing_table.total_due_today":"오늘 지불해야 할 총액","pricing_table.total_excluding_tax":"세금 제외 총액","pricing_table.enter_billing_address_to_calculate":"계산을 위해 청구지 주소를 입력하세요","pricing_table.enter_state_or_postal_code_to_calculate":"주 또는 우편 번호를 입력하여 계산","pricing_table.enter_postal_code_to_calculate":"우편 번호를 입력하여 계산","error_page.error_message_invalid_email_error":"이메일 주소 {{email}}을(를) 확인할 수 없습니다. 유효한 이메일 주소를 제공해 주세요.","payment_entry_page.button_payment_method":"{{paymentMethod}}으로 {{formattedPrice}} 결제","payment_entry_page.button_with_price":"{{formattedPrice}} 결제","price_update.title":"가격 업데이트","price_update.base_message":"청구지 주소를 기준으로 세금이 포함된 총 가격이 업데이트되었습니다. 다시 확인하고 시도해 주세요. 카드는 한 번만 청구됩니다.","price_update.trial_message":"청구 주소에 따라 세금이 포함된 구독 가격이 업데이트되었습니다. 무료 체험은 계속 적용됩니다. 확인하고 다시 시도해 주세요.","payment_entry_page.express_checkout_divider":"또는 카드 결제","error_page.trouble_accessing":"구매에 문제가 있는 경우 다음 주소로 지원팀에 문의하세요. ","error_page.close_button_title":"{{appName}}으로 이동","error_page.error_title_stripe_missing_required_permission":"필수 Stripe 권한 누락","error_page.button_close":"닫기","error_page.error_message_stripe_invalid_tax_origin_address":"세금 원산지 주소가 잘못되어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_message_stripe_tax_not_active":"Stripe Tax가 활성화되지 않아 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_only_in_sandbox":"이 메시지는 샌드박스에서만 표시됩니다.","error_page.error_message_stripe_missing_required_permission":"Stripe 앱에 필요한 권한이 없어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_title_stripe_tax_not_active":"Stripe Tax가 활성화되지 않음","error_page.error_title_stripe_invalid_tax_origin_address":"잘못된 세금 원산지 주소","apple_pay.free_trial":"무료 체험","product_info.price_after_intro_price":"{{introPriceDuration}} 후 {{renewalDate}}에","product_info.after_trial":"체험 후","product_info.after":"후","product_info.intro_price_phase_after_trial":"다음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase":"처음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase_paid_once":"1회 결제","payment_entry_page.trial_subscription_terms_info":"체험 기간이 종료되면 {{renewalDate}}부터 {{price}} {{perFrequency}}가 청구됩니다. 이 날짜 전에는 언제든지 취소할 수 있습니다.","payment_entry_page.subscription_info":"구독은 자동으로 갱신됩니다. 언제든지 취소할 수 있습니다.","payment_entry_page.otp_terms_info":"구매하시면 {{appName}}의 약관에 따라 요금이 청구되는 것에 동의하는 것입니다.","payment_entry_page.terms_link_label":"약관","payment_entry_page.subscription_terms_info":"구독하면 취소할 때까지 {{appName}}이 약관에 따라 요금을 청구하는 데 동의하는 것입니다.","loading_page.keep_page_open":"거의 완료되었습니다. 이 페이지를 계속 열어 두세요.","loading_page.processing_payment":"결제 처리 중","pricing_table.discount":"할인","pricing_table.subtotal":"소계","pricing_dropdown.add_promo_code":"프로모션 코드 추가","discount_input.label":"프로모션 코드"},ym={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"setiap minggu","periods.perMonthFrequency":"setiap bulan","periods.perYearFrequency":"setiap tahun","periods.perDayFrequency":"setiap hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} percubaan percuma","product_info.price_after_free_trial":"Selepas tamat percubaan, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbaharui {{frequency}}","product_info.continues_until_cancelled":"Berterusan sehingga dibatalkan","product_info.cancel_anytime":"Batal bila-bila masa","payment_entry_page.payment_step_title":"Pembayaran selamat oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mula Percubaan","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Teruskan","error_page.if_error_persists":"Jika ralat berterusan, sila hubungi ","error_page.error_title_already_subscribed":"Anda sudah melanggan {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Ada sesuatu yang tidak kena","error_page.error_message_already_subscribed":"Anda tidak boleh melanggan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak boleh membeli produk ini lagi.","error_page.error_message_missing_email_error":"Emel diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Ralat rangkaian. Sila semak sambungan internet anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulakan disebabkan ralat (kod ralat: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat mengesahkan alamat bil anda. Sila semak sama ada poskod dan negara adalah betul.","error_page.error_message_unknown_error":"Ralat yang tidak diketahui telah berlaku (kod ralat: {{errorCode}}).","error_page.button_try_again":"Cuba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Jumlah yang perlu dibayar hari ini","product_info.subscribe_to":"Langgan","navbar_header.details":"Butiran","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tunjukkan butiran","pricing_dropdown.hide_details":"Sembunyikan butiran","pricing_table.tax":"Cukai","pricing_table.trial_ends":"Selepas tempoh percubaan tamat, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Jumlah yang perlu dibayar hari ini","pricing_table.total_excluding_tax":"Jumlah tidak termasuk cukai","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat pengebilan untuk mengira","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negeri atau poskod untuk mengira","pricing_table.enter_postal_code_to_calculate":"Masukkan poskod untuk mengira","error_page.error_message_invalid_email_error":"Alamat e-mel {{email}} tidak dapat disahkan. Sila berikan alamat e-mel yang sah.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Kemaskini harga","price_update.base_message":"Jumlah harga telah dikemas kini dengan cukai berdasarkan alamat pengebilan anda. Sila semak dan cuba lagi. Kad anda hanya akan dicaj sekali.","price_update.trial_message":"Harga langganan telah dikemas kini untuk memasukkan cukai berdasarkan alamat bil anda. Tempoh percubaan percuma masih terpakai. Sila semak dan cuba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KAD","error_page.trouble_accessing":"Jika anda menghadapi masalah untuk mengakses pembelian anda, hubungi sokongan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Kebenaran Stripe hilang","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal kerana alamat asal cukai tidak sah. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal kerana Cukai Stripe tidak didayakan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_only_in_sandbox":"Mesej ini hanya muncul dalam kotak pasir.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal kerana aplikasi Stripe kekurangan kebenaran yang diperlukan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_title_stripe_tax_not_active":"Cukai Stripe tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal cukai Stripe tidak sah","apple_pay.free_trial":"Percubaan Percuma","product_info.price_after_intro_price":"Selepas {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"selepas percubaan","product_info.after":"selepas","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Selepas tempoh percubaan anda tamat, anda akan dikenakan bayaran sebanyak {{price}} {{perFrequency}} bermula {{renewalDate}}. Anda boleh membatalkan pada bila-bila masa sebelum tarikh ini.","payment_entry_page.subscription_info":"Langganan diperbaharui secara automatik. Batalkan bila-bila masa.","payment_entry_page.otp_terms_info":"Dengan membuat pembelian, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka.","payment_entry_page.terms_link_label":"Terma","payment_entry_page.subscription_terms_info":"Dengan melanggan, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka sehingga anda membatalkan.","loading_page.keep_page_open":"Proses hampir selesai. Pastikan halaman ini dibuka.","loading_page.processing_payment":"Memproses pembayaran","pricing_table.discount":"Diskaun","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambah kod promo","discount_input.label":"Kod promo"},bm={"periods.week":"{{amount}} uke","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}uk","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uker","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dager","periods.weekFrequency":"ukentlig","periods.monthFrequency":"månedlig","periods.yearFrequency":"årlig","periods.dayFrequency":"daglig","periods.perWeekFrequency":"per uke","periods.perMonthFrequency":"per måned","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"ukjent","periods.weekFrequencyPlural":"hver {{amount}} uker","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dager","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Etter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Varer til den avbestilles","product_info.cancel_anytime":"Avbestille når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nå","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betalingen er fullført","success_page.button_close":"Fortsett","error_page.if_error_persists":"Hvis feilen vedvarer, vennligst kontakt ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede kjøpt {{productTitle}}","error_page.error_title_other_errors":"Noe gikk galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produktet igjen.","error_page.error_message_already_purchased":"Du kan ikke kjøpe dette produktet igjen.","error_page.error_message_missing_email_error":"E-post er nødvendig for å fullføre kjøpet.","error_page.error_message_network_error":"Nettverksfeil. Vennligst sjekk internettforbindelsen din.","error_page.error_message_error_charging_payment":"Betalingen mislyktes.","error_page.error_message_error_setting_up_purchase":"Kjøpet ble ikke startet på grunn av en feil (feilkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekrefte faktureringsadressen din. Vennligst sjekk at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"En ukjent feil oppstod (feilkode: {{errorCode}}).","error_page.button_try_again":"Prøv igjen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt forfaller i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbake","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Skatt","pricing_table.trial_ends":"Etter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totalt forfaller i dag","pricing_table.total_excluding_tax":"Total eksklusive skatt","pricing_table.enter_billing_address_to_calculate":"Oppgi faktureringsadresse for å beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Skriv inn stat eller postnummer for å beregne","pricing_table.enter_postal_code_to_calculate":"Skriv inn postnummer for å beregne","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunne ikke bekreftes. Vennligst oppgi en gyldig e-postadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisoppdatering","price_update.base_message":"Totalprisen er oppdatert med skatt basert på fakturaadressen din. Vennligst se gjennom og prøv igjen. Kortet ditt vil kun bli belastet én gang.","price_update.trial_message":"Abonnementsprisen er oppdatert for å inkludere skatter basert på din fakturaadresse. Den gratis prøveperioden gjelder fortsatt. Vennligst sjekk og prøv igjen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med å få tilgang til kjøpet ditt, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Mangler Stripe-tillatelse","error_page.button_close":"Lukk","error_page.error_message_stripe_invalid_tax_origin_address":"Kjøpet mislyktes fordi skatteopprinnelsesadressen er ugyldig. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_message_stripe_tax_not_active":"Kjøpet mislyktes fordi Stripe Tax ikke er aktivert. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_only_in_sandbox":"Denne meldingen vises bare i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Kjøpet mislyktes fordi Stripe-appen mangler en nødvendig tillatelse. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteopprinnelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Etter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"etter prøveperiode","product_info.after":"etter","product_info.intro_price_phase_after_trial":"Deretter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Etter at prøveperioden din er over, blir du belastet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan kansellere når som helst før denne datoen.","payment_entry_page.subscription_info":"Abonnementet fornyes automatisk. Avbryt når som helst.","payment_entry_page.otp_terms_info":"Ved å kjøpe godtar du at {{appName}} belaster deg i henhold til deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved å abonnere godtar du at {{appName}} belaster deg i henhold til deres vilkår til du kansellerer.","loading_page.keep_page_open":"Prosessen er nesten ferdig. Hold denne siden åpen.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Legg til kampanjekode","discount_input.label":"Kampanjekode"},km={"periods.week":"{{amount}} tydzień","periods.month":"{{amount}} miesiąc","periods.year":"{{amount}} rok","periods.day":"{{amount}} dzień","periods.weekShort":"{{amount}}tydz","periods.monthShort":"{{amount}}mies","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"dożywotnio","periods.weekPlural":"{{amount}} tygodni","periods.monthPlural":"{{amount}} miesięcy","periods.yearPlural":"{{amount}} lat","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tygodniowo","periods.monthFrequency":"miesięcznie","periods.yearFrequency":"rocznie","periods.dayFrequency":"dziennie","periods.perWeekFrequency":"na tydzień","periods.perMonthFrequency":"na miesiąc","periods.perYearFrequency":"na rok","periods.perDayFrequency":"na dzień","periods.unknownFrequency":"nieznany","periods.weekFrequencyPlural":"co {{amount}} tygodni","periods.monthFrequencyPlural":"co {{amount}} miesięcy","periods.yearFrequencyPlural":"co {{amount}} lat","periods.dayFrequencyPlural":"co {{amount}} dni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dni próbnych","product_info.price_after_free_trial":"Po zakończeniu okresu próbnego, dnia {{renewalDate}}","product_info.renewal_frequency":"Odnawialny co {{frequency}}","product_info.continues_until_cancelled":"Kontynuowane do momentu anulowania","product_info.cancel_anytime":"Możesz anulować w dowolnym momencie","payment_entry_page.payment_step_title":"Bezpieczna płatność przez RevenueCat","payment_entry_page.button_pay":"Zapłać teraz","payment_entry_page.button_start_trial":"Rozpocznij okres próbny","success_page.purchase_successful":"Płatność zakończona","success_page.button_close":"Kontynuuj","error_page.if_error_persists":"Jeśli błąd będzie się powtarzał, skontaktuj się z ","error_page.error_title_already_subscribed":"Już subskrybujesz {{productTitle}}","error_page.error_title_already_purchased":"Już zakupiłeś/aś {{productTitle}}","error_page.error_title_other_errors":"Coś poszło nie tak","error_page.error_message_already_subscribed":"Nie możesz ponownie subskrybować tego produktu.","error_page.error_message_already_purchased":"Nie możesz ponownie zakupić tego produktu.","error_page.error_message_missing_email_error":"Adres e-mail jest wymagany do dokonania zakupu.","error_page.error_message_network_error":"Błąd sieci. Sprawdź połączenie internetowe.","error_page.error_message_error_charging_payment":"Płatność nieudana.","error_page.error_message_error_setting_up_purchase":"Zakup nie został rozpoczęty z powodu błędu (kod błędu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nie mogliśmy zweryfikować Twojego adresu rozliczeniowego. Sprawdź, czy kod pocztowy i kraj są poprawne.","error_page.error_message_unknown_error":"Wystąpił nieznany błąd (kod błędu: {{errorCode}}).","error_page.button_try_again":"Spróbuj ponownie","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Do zapłaty dzisiaj","product_info.subscribe_to":"Subskrybuj","navbar_header.details":"Szczegóły","navbar_header.back_button":"Wstecz","pricing_dropdown.show_details":"Pokaż szczegóły","pricing_dropdown.hide_details":"Ukryj szczegóły","pricing_table.tax":"Podatek","pricing_table.trial_ends":"Po zakończeniu okresu próbnego, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Suma należna dzisiaj","pricing_table.total_excluding_tax":"Suma bez podatku","pricing_table.enter_billing_address_to_calculate":"Wprowadź adres rozliczeniowy, aby obliczyć","pricing_table.enter_state_or_postal_code_to_calculate":"Wprowadź stan lub kod pocztowy, aby obliczyć","pricing_table.enter_postal_code_to_calculate":"Wprowadź kod pocztowy, aby obliczyć","error_page.error_message_invalid_email_error":"Nie można zweryfikować adresu e-mail {{email}}. Proszę podać prawidłowy adres e-mail.","payment_entry_page.button_payment_method":"Zapłać {{formattedPrice}} przez {{paymentMethod}}","payment_entry_page.button_with_price":"Zapłać {{formattedPrice}}","price_update.title":"Aktualizacja ceny","price_update.base_message":"Cena całkowita została zaktualizowana o podatek na podstawie Twojego adresu rozliczeniowego. Sprawdź i spróbuj ponownie. Twoja karta zostanie obciążona tylko raz.","price_update.trial_message":"Cena subskrypcji została zaktualizowana o podatki na podstawie Twojego adresu rozliczeniowego. Okres próbny nadal obowiązuje. Sprawdź i spróbuj ponownie.","payment_entry_page.express_checkout_divider":"LUB ZAPŁAĆ KARTĄ","error_page.trouble_accessing":"Jeśli masz problemy z dostępem do zakupu, skontaktuj się z działem pomocy pod adresem ","error_page.close_button_title":"Przejdź do {{appName}}","error_page.error_title_stripe_missing_required_permission":"Brakujące uprawnienie Stripe","error_page.button_close":"Zamknij","error_page.error_message_stripe_invalid_tax_origin_address":"Zakup nie powiódł się, ponieważ adres pochodzenia podatku jest nieprawidłowy. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_message_stripe_tax_not_active":"Zakup nie powiódł się, ponieważ Stripe Tax nie jest włączony. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_only_in_sandbox":"Ta wiadomość pojawia się tylko w środowisku testowym.","error_page.error_message_stripe_missing_required_permission":"Zakup nie powiódł się, ponieważ aplikacja Stripe nie ma wymaganego uprawnienia. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nieaktywny","error_page.error_title_stripe_invalid_tax_origin_address":"Nieprawidłowy adres pochodzenia podatku","apple_pay.free_trial":"Okres próbny","product_info.price_after_intro_price":"Po {{introPriceDuration}}, od {{renewalDate}}","product_info.after_trial":"po okresie próbnym","product_info.after":"po","product_info.intro_price_phase_after_trial":"Następnie {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najpierw {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"płatne jednorazowo","payment_entry_page.trial_subscription_terms_info":"Po zakończeniu okresu próbnego zostanie pobrana opłata w wysokości {{price}} {{perFrequency}} począwszy od {{renewalDate}}. Możesz anulować subskrypcję w dowolnym momencie przed tą datą.","payment_entry_page.subscription_info":"Subskrypcja odnawia się automatycznie. Anuluj w dowolnym momencie.","payment_entry_page.otp_terms_info":"Dokonując zakupu, zgadzasz się na obciążenie przez {{appName}} zgodnie z ich warunkami.","payment_entry_page.terms_link_label":"Warunki","payment_entry_page.subscription_terms_info":"Subskrybując, zgadzasz się na obciążanie przez {{appName}} zgodnie z ich warunkami do momentu anulowania.","loading_page.keep_page_open":"Proces jest prawie zakończony. Pozostaw tę stronę otwartą.","loading_page.processing_payment":"Przetwarzanie płatności","pricing_table.discount":"Rabat","pricing_table.subtotal":"Suma częściowa","pricing_dropdown.add_promo_code":"Dodaj kod promocyjny","discount_input.label":"Kod promocyjny"},wm={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mês","periods.year":"{{amount}} ano","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mês","periods.yearShort":"{{amount}}ano","periods.dayShort":"{{amount}}d","periods.lifetime":"vitalício","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} anos","periods.dayPlural":"{{amount}} dias","periods.weekFrequency":"semanal","periods.monthFrequency":"mensal","periods.yearFrequency":"anual","periods.dayFrequency":"diário","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mês","periods.perYearFrequency":"por ano","periods.perDayFrequency":"por dia","periods.unknownFrequency":"desconhecido","periods.weekFrequencyPlural":"a cada {{amount}} semanas","periods.monthFrequencyPlural":"a cada {{amount}} meses","periods.yearFrequencyPlural":"a cada {{amount}} anos","periods.dayFrequencyPlural":"a cada {{amount}} dias","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} teste grátis","product_info.price_after_free_trial":"Após o término do teste, em {{renewalDate}}","product_info.renewal_frequency":"Renova {{frequency}}","product_info.continues_until_cancelled":"Continua até ser cancelado","product_info.cancel_anytime":"Cancelar a qualquer momento","payment_entry_page.payment_step_title":"Pagamento seguro pela RevenueCat","payment_entry_page.button_pay":"Pagar agora","payment_entry_page.button_start_trial":"Iniciar Teste","success_page.purchase_successful":"Pagamento concluído","success_page.button_close":"Continuar","error_page.if_error_persists":"Se o erro persistir, entre em contato com ","error_page.error_title_already_subscribed":"Você já se inscreveu em {{productTitle}}","error_page.error_title_already_purchased":"Você já comprou {{productTitle}}","error_page.error_title_other_errors":"Algo deu errado","error_page.error_message_already_subscribed":"Você não pode se inscrever neste produto novamente.","error_page.error_message_already_purchased":"Você não pode comprar este produto novamente.","error_page.error_message_missing_email_error":"Email é necessário para concluir a compra.","error_page.error_message_network_error":"Erro de rede. Verifique sua conexão com a internet.","error_page.error_message_error_charging_payment":"Pagamento falhou.","error_page.error_message_error_setting_up_purchase":"Compra não iniciada devido a um erro (código de erro: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Não conseguimos verificar seu endereço de cobrança. Por favor, verifique se o código postal e o país estão corretos.","error_page.error_message_unknown_error":"Ocorreu um erro desconhecido (código de erro: {{errorCode}}).","error_page.button_try_again":"Tentar novamente","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoje","product_info.subscribe_to":"Subscrever","navbar_header.details":"Detalhes","navbar_header.back_button":"Voltar","pricing_dropdown.show_details":"Mostrar detalhes","pricing_dropdown.hide_details":"Ocultar detalhes","pricing_table.tax":"Imposto","pricing_table.trial_ends":"Após o término do período de avaliação, em {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoje","pricing_table.total_excluding_tax":"Total sem impostos","pricing_table.enter_billing_address_to_calculate":"Insira o endereço de cobrança para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Insira o estado ou o CEP para calcular","pricing_table.enter_postal_code_to_calculate":"Insira o CEP para calcular","error_page.error_message_invalid_email_error":"O endereço de e-mail {{email}} não pôde ser verificado. Por favor, forneça um endereço de e-mail válido.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} com {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Atualização de preço","price_update.base_message":"O preço total foi atualizado com impostos com base no seu endereço de cobrança. Por favor, revise e tente novamente. Seu cartão só será cobrado uma vez.","price_update.trial_message":"O preço da assinatura foi atualizado para incluir impostos com base no seu endereço de faturação. O período de teste gratuito continua válido. Por favor, verifique e tente novamente.","payment_entry_page.express_checkout_divider":"OU PAGUE COM CARTÃO","error_page.trouble_accessing":"Se estiver com problemas para acessar sua compra, entre em contato com o suporte em ","error_page.close_button_title":"Ir para {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permissão do Stripe em falta","error_page.button_close":"Fechar","error_page.error_message_stripe_invalid_tax_origin_address":"A compra falhou porque o endereço de origem fiscal é inválido. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_message_stripe_tax_not_active":"A compra falhou porque o Stripe Tax não está ativado. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_only_in_sandbox":"Esta mensagem aparece apenas na sandbox.","error_page.error_message_stripe_missing_required_permission":"A compra falhou porque o aplicativo Stripe não tem uma permissão necessária. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax não está ativo","error_page.error_title_stripe_invalid_tax_origin_address":"Endereço de origem fiscal inválido","apple_pay.free_trial":"Teste Gratuito","product_info.price_after_intro_price":"Após {{introPriceDuration}}, em {{renewalDate}}","product_info.after_trial":"após o período de teste","product_info.after":"após","product_info.intro_price_phase_after_trial":"Depois, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primeiro, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago uma vez","payment_entry_page.trial_subscription_terms_info":"Após o término do período de avaliação, será cobrado o valor de {{price}} {{perFrequency}} a partir de {{renewalDate}}. Pode cancelar a qualquer momento antes desta data.","payment_entry_page.subscription_info":"A subscrição é renovada automaticamente. Cancele a qualquer momento.","payment_entry_page.otp_terms_info":"Ao comprar, você concorda em permitir que o {{appName}} cobre de acordo com os termos deles.","payment_entry_page.terms_link_label":"Termos","payment_entry_page.subscription_terms_info":"Ao subscrever, concorda em permitir que a {{appName}} lhe cobre de acordo com os seus termos até cancelar.","loading_page.keep_page_open":"O processo está quase concluído. Mantenha esta página aberta.","loading_page.processing_payment":"Processando o pagamento","pricing_table.discount":"Desconto","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adicionar código promocional","discount_input.label":"Código promocional"},Pm={"periods.week":"{{amount}} săptămână","periods.month":"{{amount}} lună","periods.year":"{{amount}} an","periods.day":"{{amount}} zi","periods.weekShort":"{{amount}}săpt","periods.monthShort":"{{amount}}lun","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}z","periods.lifetime":"pe viață","periods.weekPlural":"{{amount}} săptămâni","periods.monthPlural":"{{amount}} luni","periods.yearPlural":"{{amount}} ani","periods.dayPlural":"{{amount}} zile","periods.weekFrequency":"săptămânal","periods.monthFrequency":"lunar","periods.yearFrequency":"anual","periods.dayFrequency":"zilnic","periods.perWeekFrequency":"pe săptămână","periods.perMonthFrequency":"pe lună","periods.perYearFrequency":"pe an","periods.perDayFrequency":"pe zi","periods.unknownFrequency":"necunoscut","periods.weekFrequencyPlural":"la fiecare {{amount}} săptămâni","periods.monthFrequencyPlural":"la fiecare {{amount}} luni","periods.yearFrequencyPlural":"la fiecare {{amount}} ani","periods.dayFrequencyPlural":"la fiecare {{amount}} zile","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} perioadă de probă gratuită","product_info.price_after_free_trial":"După terminarea perioadei de probă, pe {{renewalDate}}","product_info.renewal_frequency":"Se reînnoiește {{frequency}}","product_info.continues_until_cancelled":"Continuă până la anulare","product_info.cancel_anytime":"Anulare oricând","payment_entry_page.payment_step_title":"Plata securizată prin RevenueCat","payment_entry_page.button_pay":"Plătește acum","payment_entry_page.button_start_trial":"Începe perioada de probă","success_page.purchase_successful":"Plata efectuată","success_page.button_close":"Continuă","error_page.if_error_persists":"Dacă eroarea persistă, vă rugăm să contactați ","error_page.error_title_already_subscribed":"Sunteți deja abonat la {{productTitle}}","error_page.error_title_already_purchased":"Ați achiziționat deja {{productTitle}}","error_page.error_title_other_errors":"A apărut o eroare","error_page.error_message_already_subscribed":"Nu vă puteți abona din nou la acest produs.","error_page.error_message_already_purchased":"Nu puteți achiziționa din nou acest produs.","error_page.error_message_missing_email_error":"Adresa de e-mail este necesară pentru a finaliza achiziția.","error_page.error_message_network_error":"Eroare de rețea. Verificați conexiunea la internet.","error_page.error_message_error_charging_payment":"Plata a eșuat.","error_page.error_message_error_setting_up_purchase":"Achiziția nu a putut fi inițiată din cauza unei erori (cod de eroare: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nu am putut verifica adresa de facturare. Vă rugăm să verificați dacă codul poștal și țara sunt corecte.","error_page.error_message_unknown_error":"A apărut o eroare necunoscută (cod de eroare: {{errorCode}}).","error_page.button_try_again":"Încearcă din nou","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total de plată astăzi","product_info.subscribe_to":"Abonare la","navbar_header.details":"Detalii","navbar_header.back_button":"Înapoi","pricing_dropdown.show_details":"Arată detalii","pricing_dropdown.hide_details":"Ascunde detalii","pricing_table.tax":"Taxă","pricing_table.trial_ends":"După ce perioada de probă se termină, pe {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total de plătit astăzi","pricing_table.total_excluding_tax":"Total fără taxe","pricing_table.enter_billing_address_to_calculate":"Introduceți adresa de facturare pentru a calcula","pricing_table.enter_state_or_postal_code_to_calculate":"Introduceți statul sau codul poștal pentru a calcula","pricing_table.enter_postal_code_to_calculate":"Introduceți codul poștal pentru a calcula","error_page.error_message_invalid_email_error":"Adresa de e-mail {{email}} nu a putut fi verificată. Vă rugăm să furnizați o adresă de e-mail validă.","payment_entry_page.button_payment_method":"Plătește {{formattedPrice}} cu {{paymentMethod}}","payment_entry_page.button_with_price":"Plătește {{formattedPrice}}","price_update.title":"Actualizare preț","price_update.base_message":"Prețul total a fost actualizat cu taxe, în funcție de adresa dumneavoastră de facturare. Vă rugăm să revizuiți și să încercați din nou. Cardul dumneavoastră va fi debitat o singură dată.","price_update.trial_message":"Prețul abonamentului a fost actualizat pentru a include taxele bazate pe adresa dvs. de facturare. Perioada de probă gratuită rămâne valabilă. Vă rugăm să verificați și să încercați din nou.","payment_entry_page.express_checkout_divider":"SAU PLĂTEȘTE CU CARDUL","error_page.trouble_accessing":"Dacă întâmpini probleme în accesarea achiziției tale, contactează serviciul de asistență la ","error_page.close_button_title":"Mergi la {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permisiune Stripe lipsă","error_page.button_close":"Închide","error_page.error_message_stripe_invalid_tax_origin_address":"Achiziția a eșuat deoarece adresa de origine fiscală este nevalidă. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_message_stripe_tax_not_active":"Achiziția a eșuat deoarece Stripe Tax nu este activat. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_only_in_sandbox":"Acest mesaj apare doar în sandbox.","error_page.error_message_stripe_missing_required_permission":"Achiziția a eșuat deoarece aplicației Stripe îi lipsește o permisiune necesară. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nu este activ","error_page.error_title_stripe_invalid_tax_origin_address":"Adresă de origine fiscală Stripe nevalidă","apple_pay.free_trial":"Perioadă de probă gratuită","product_info.price_after_intro_price":"După {{introPriceDuration}}, pe {{renewalDate}}","product_info.after_trial":"după perioada de probă","product_info.after":"după","product_info.intro_price_phase_after_trial":"Apoi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase":"Mai întâi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase_paid_once":"plătit o singură dată","payment_entry_page.trial_subscription_terms_info":"După ce perioada de probă se termină, veți fi taxat cu {{price}} {{perFrequency}} începând cu {{renewalDate}}. Puteți anula oricând înainte de această dată.","payment_entry_page.subscription_info":"Abonamentul se reînnoiește automat. Anulați oricând.","payment_entry_page.otp_terms_info":"Prin achiziționarea, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi.","payment_entry_page.terms_link_label":"Termeni","payment_entry_page.subscription_terms_info":"Prin abonare, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi până la anulare.","loading_page.keep_page_open":"Procesul este aproape finalizat. Păstrați această pagină deschisă.","loading_page.processing_payment":"Se procesează plata","pricing_table.discount":"Reducere","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adaugă cod promoțional","discount_input.label":"Cod promoțional"},xm={"periods.week":"{{amount}} неделя","periods.month":"{{amount}} месяц","periods.year":"{{amount}} год","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}нед","periods.monthShort":"{{amount}}мес","periods.yearShort":"{{amount}}г","periods.dayShort":"{{amount}}д","periods.lifetime":"пожизненно","periods.weekPlural":"{{amount}} недель","periods.monthPlural":"{{amount}} месяцев","periods.yearPlural":"{{amount}} лет","periods.dayPlural":"{{amount}} дней","periods.weekFrequency":"еженедельно","periods.monthFrequency":"ежемесячно","periods.yearFrequency":"ежегодно","periods.dayFrequency":"ежедневно","periods.perWeekFrequency":"в неделю","periods.perMonthFrequency":"в месяц","periods.perYearFrequency":"в год","periods.perDayFrequency":"в день","periods.unknownFrequency":"неизвестно","periods.weekFrequencyPlural":"каждые {{amount}} недель","periods.monthFrequencyPlural":"каждые {{amount}} месяцев","periods.yearFrequencyPlural":"каждые {{amount}} лет","periods.dayFrequencyPlural":"каждые {{amount}} дней","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} бесплатная пробная версия","product_info.price_after_free_trial":"После окончания пробного периода, {{renewalDate}}","product_info.renewal_frequency":"Продлевается {{frequency}}","product_info.continues_until_cancelled":"Продолжается до отмены","product_info.cancel_anytime":"Отменить в любое время","payment_entry_page.payment_step_title":"Безопасная оплата через RevenueCat","payment_entry_page.button_pay":"Оплатить сейчас","payment_entry_page.button_start_trial":"Начать пробный период","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продолжить","error_page.if_error_persists":"Если ошибка сохраняется, пожалуйста, свяжитесь с ","error_page.error_title_already_subscribed":"Вы уже подписаны на {{productTitle}}","error_page.error_title_already_purchased":"Вы уже приобрели {{productTitle}}","error_page.error_title_other_errors":"Что-то пошло не так","error_page.error_message_already_subscribed":"Вы не можете подписаться на этот продукт повторно.","error_page.error_message_already_purchased":"Вы не можете приобрести этот продукт повторно.","error_page.error_message_missing_email_error":"Для завершения покупки необходим адрес электронной почты.","error_page.error_message_network_error":"Ошибка сети. Проверьте ваше интернет-соединение.","error_page.error_message_error_charging_payment":"Оплата не прошла.","error_page.error_message_error_setting_up_purchase":"Покупка не была начата из-за ошибки (код ошибки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Мы не смогли проверить ваш платежный адрес. Пожалуйста, проверьте, что почтовый индекс и страна указаны правильно.","error_page.error_message_unknown_error":"Произошла неизвестная ошибка (код ошибки: {{errorCode}}).","error_page.button_try_again":"Повторить попытку","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всего к оплате сегодня","product_info.subscribe_to":"Подписаться","navbar_header.details":"Детали","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показать детали","pricing_dropdown.hide_details":"Скрыть детали","pricing_table.tax":"Налог","pricing_table.trial_ends":"После окончания пробного периода, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Итого к оплате сегодня","pricing_table.total_excluding_tax":"Итого без учета налога","pricing_table.enter_billing_address_to_calculate":"Введите платежный адрес для расчета","pricing_table.enter_state_or_postal_code_to_calculate":"Введите штат или почтовый индекс для расчета","pricing_table.enter_postal_code_to_calculate":"Введите почтовый индекс для расчета","error_page.error_message_invalid_email_error":"Не удалось проверить адрес электронной почты {{email}}. Пожалуйста, укажите действительный адрес электронной почты.","payment_entry_page.button_payment_method":"Оплатить {{formattedPrice}} через {{paymentMethod}}","payment_entry_page.button_with_price":"Оплатить {{formattedPrice}}","price_update.title":"Обновление цены","price_update.base_message":"Общая цена была обновлена с учетом налога на основе вашего платежного адреса. Пожалуйста, проверьте и повторите попытку. С вашей карты будет списано только один раз.","price_update.trial_message":"Цена подписки была обновлена с учетом налогов на основе вашего платежного адреса. Пробный период остается бесплатным. Пожалуйста, проверьте и попробуйте снова.","payment_entry_page.express_checkout_divider":"ИЛИ ОПЛАТИТЕ КАРТОЙ","error_page.trouble_accessing":"Если у вас возникли проблемы с доступом к вашей покупке, обратитесь в службу поддержки по адресу ","error_page.close_button_title":"Перейти в {{appName}}","error_page.error_title_stripe_missing_required_permission":"Отсутствует разрешение Stripe","error_page.button_close":"Закрыть","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не удалась, так как адрес отправления налога недействителен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_message_stripe_tax_not_active":"Покупка не удалась, так как Stripe Tax не включен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_only_in_sandbox":"Это сообщение появляется только в песочнице.","error_page.error_message_stripe_missing_required_permission":"Покупка не удалась, так как у приложения Stripe отсутствует необходимое разрешение. В рабочей среде покупки будут работать без применения налогов.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активен","error_page.error_title_stripe_invalid_tax_origin_address":"Недействительный адрес отправления налога","apple_pay.free_trial":"Бесплатная пробная версия","product_info.price_after_intro_price":"После {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"после пробного периода","product_info.after":"после","product_info.intro_price_phase_after_trial":"Затем {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Сначала {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"единоразовый платеж","payment_entry_page.trial_subscription_terms_info":"По окончании пробного периода с вас будет взиматься плата в размере {{price}} {{perFrequency}}, начиная с {{renewalDate}}. Вы можете отменить подписку в любое время до этой даты.","payment_entry_page.subscription_info":"Подписка продлевается автоматически. Отменить можно в любое время.","payment_entry_page.otp_terms_info":"Совершая покупку, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии со своими условиями.","payment_entry_page.terms_link_label":"Условия","payment_entry_page.subscription_terms_info":"Подписываясь, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии с их условиями до тех пор, пока вы не отмените подписку.","loading_page.keep_page_open":"Процесс почти завершен. Не закрывайте эту страницу.","loading_page.processing_payment":"Обработка платежа","pricing_table.discount":"Скидка","pricing_table.subtotal":"Итого","pricing_dropdown.add_promo_code":"Добавить промокод","discount_input.label":"Промокод"},Em={"periods.week":"{{amount}} týždeň","periods.month":"{{amount}} mesiac","periods.year":"{{amount}} rok","periods.day":"{{amount}} deň","periods.weekShort":"{{amount}}týž","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotne","periods.weekPlural":"{{amount}} týždňov","periods.monthPlural":"{{amount}} mesiacov","periods.yearPlural":"{{amount}} rokov","periods.dayPlural":"{{amount}} dní","periods.weekFrequency":"týždenne","periods.monthFrequency":"mesačne","periods.yearFrequency":"ročne","periods.dayFrequency":"denne","periods.perWeekFrequency":"týždenne","periods.perMonthFrequency":"mesačne","periods.perYearFrequency":"ročne","periods.perDayFrequency":"denne","periods.unknownFrequency":"neznáme","periods.weekFrequencyPlural":"každých {{amount}} týždňov","periods.monthFrequencyPlural":"každých {{amount}} mesiacov","periods.yearFrequencyPlural":"každých {{amount}} rokov","periods.dayFrequencyPlural":"každých {{amount}} dní","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} bezplatné skúšobné obdobie","product_info.price_after_free_trial":"Po skončení skúšobného obdobia, dňa {{renewalDate}}","product_info.renewal_frequency":"Obnovuje sa {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, kým sa nezruší","product_info.cancel_anytime":"Kedykoľvek zrušiť","payment_entry_page.payment_step_title":"Bezpečný nákup prostredníctvom RevenueCat","payment_entry_page.button_pay":"Zaplatiť teraz","payment_entry_page.button_start_trial":"Spustiť skúšobné obdobie","success_page.purchase_successful":"Platba dokončená","success_page.button_close":"Pokračovať","error_page.if_error_persists":"Ak chyba pretrváva, kontaktujte ","error_page.error_title_already_subscribed":"Už ste si predplatili {{productTitle}}","error_page.error_title_already_purchased":"Už ste si zakúpili {{productTitle}}","error_page.error_title_other_errors":"Niečo sa pokazilo","error_page.error_message_already_subscribed":"Na tento produkt sa nemôžete znova prihlásiť na odber.","error_page.error_message_already_purchased":"Tento produkt si nemôžete znova zakúpiť.","error_page.error_message_missing_email_error":"Na dokončenie nákupu je potrebný e-mail.","error_page.error_message_network_error":"Chyba siete. Skontrolujte svoje internetové pripojenie.","error_page.error_message_error_charging_payment":"Platba zlyhala.","error_page.error_message_error_setting_up_purchase":"Nákup sa nespustil kvôli chybe (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nepodarilo sa nám overiť vašu fakturačnú adresu. Skontrolujte, prosím, či je PSČ a krajina správne.","error_page.error_message_unknown_error":"Vyskytla sa neznáma chyba (kód chyby: {{errorCode}}).","error_page.button_try_again":"Skúsiť znova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celková suma splatná dnes","product_info.subscribe_to":"Prihlásiť sa na odber","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Späť","pricing_dropdown.show_details":"Zobraziť podrobnosti","pricing_dropdown.hide_details":"Skryť podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení skúšobnej verzie, dňa {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celková suma splatná dnes","pricing_table.total_excluding_tax":"Celkom bez dane","pricing_table.enter_billing_address_to_calculate":"Zadajte fakturačnú adresu pre výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadajte štát alebo PSČ pre výpočet","pricing_table.enter_postal_code_to_calculate":"Zadajte PSČ pre výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} sa nedala overiť. Zadajte platnú e-mailovú adresu.","payment_entry_page.button_payment_method":"Zaplatiť sumu {{formattedPrice}} pomocou {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatiť {{formattedPrice}}","price_update.title":"Aktualizácia ceny","price_update.base_message":"Celková cena bola aktualizovaná o daň na základe vašej fakturačnej adresy. Skontrolujte to a skúste znova. Vaša karta bude zaťažená iba raz.","price_update.trial_message":"Cena predplatného bola aktualizovaná o daňe na základe vašej fakturačnej adresy. Bezplatná skúšobná doba stále platí. Prosím, skontrolujte a skúste znova.","payment_entry_page.express_checkout_divider":"ALEBO ZAPLATIŤ KARTOU","error_page.trouble_accessing":"Ak máte problémy s prístupom k svojmu nákupu, kontaktujte podporu na ","error_page.close_button_title":"Prejsť na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chýbajúce povolenie Stripe","error_page.button_close":"Zavrieť","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup sa nepodaril, pretože adresa pôvodu dane je neplatná. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_message_stripe_tax_not_active":"Nákup sa nepodaril, pretože Stripe Tax nie je povolený. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_only_in_sandbox":"Táto správa sa zobrazuje iba v testovacom prostredí (sandbox).","error_page.error_message_stripe_missing_required_permission":"Nákup sa nepodaril, pretože aplikácii Stripe chýba požadované povolenie. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nie je aktívny","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa pôvodu dane","apple_pay.free_trial":"Skúšobná verzia zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dňa {{renewalDate}}","product_info.after_trial":"po skúšobnej dobe","product_info.after":"po","product_info.intro_price_phase_after_trial":"Potom {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najprv {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"zaplatené jednorazovo","payment_entry_page.trial_subscription_terms_info":"Po skončení skúšobného obdobia vám bude účtovaná suma {{price}} {{perFrequency}} počnúc dňom {{renewalDate}}. Pred týmto dátumom môžete kedykoľvek zrušiť.","payment_entry_page.subscription_info":"Predplatné sa automaticky obnovuje. Zrušiť môžete kedykoľvek.","payment_entry_page.otp_terms_info":"Zakúpením súhlasíte s tým, že spoločnosti {{appName}} umožníte účtovať vám poplatky v súlade s jej podmienkami.","payment_entry_page.terms_link_label":"Podmienky","payment_entry_page.subscription_terms_info":"Prihlásením na odber súhlasíte s tým, že spoločnosť {{appName}} vám bude účtovať poplatky podľa svojich podmienok, až kým odber nezrušíte.","loading_page.keep_page_open":"Proces sa takmer dokončil. Nechajte túto stránku otvorenú.","loading_page.processing_payment":"Spracováva sa platba","pricing_table.discount":"Zľava","pricing_table.subtotal":"Medzisúčet","pricing_dropdown.add_promo_code":"Pridať promo kód","discount_input.label":"Propagačný kód"},Sm={"periods.week":"{{amount}} teden","periods.month":"{{amount}} mesec","periods.year":"{{amount}} leto","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}ted","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}l","periods.dayShort":"{{amount}}d","periods.lifetime":"doživljenjsko","periods.weekPlural":"{{amount}} tednov","periods.monthPlural":"{{amount}} mesecev","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tedensko","periods.monthFrequency":"mesečno","periods.yearFrequency":"letno","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"na teden","periods.perMonthFrequency":"na mesec","periods.perYearFrequency":"na leto","periods.perDayFrequency":"na dan","periods.unknownFrequency":"neznano","periods.weekFrequencyPlural":"vsakih {{amount}} tednov","periods.monthFrequencyPlural":"vsakih {{amount}} mesecev","periods.yearFrequencyPlural":"vsakih {{amount}} let","periods.dayFrequencyPlural":"vsakih {{amount}} dni","product_info.subscribe_to":"Naročite se na","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Brezplačno preizkusite za {{trialDuration}}","product_info.price_after_free_trial":"Po koncu preizkusa, dne {{renewalDate}}","product_info.intro_price_phase_after_trial":"Nato {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvih {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plačano enkrat","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po preizkusu","product_info.after":"po","product_info.total_due_today":"Skupaj za plačilo danes","product_info.renewal_frequency":"Se obnovi {{frequency}}","product_info.continues_until_cancelled":"Traja do preklica","product_info.cancel_anytime":"Prekličete lahko kadar koli","payment_entry_page.payment_step_title":"Varno plačilo prek RevenueCat","payment_entry_page.trial_subscription_terms_info":"Po koncu preizkusnega obdobja vam bo zaračunano {{price}} {{perFrequency}} z začetkom {{renewalDate}}. Prekličete lahko kadar koli pred tem datumom.","payment_entry_page.subscription_terms_info":"Z naročnino se strinjate, da vam {{appName}} zaračunava v skladu s svojimi pogoji, dokler ne prekličete.","payment_entry_page.otp_terms_info":"Z nakupom se strinjate, da vam {{appName}} zaračuna v skladu s svojimi pogoji.","payment_entry_page.terms_link_label":"Pogoji","payment_entry_page.subscription_info":"Naročnina se samodejno obnavlja. Prekličete lahko kadar koli.","payment_entry_page.button_pay":"Plačaj zdaj","payment_entry_page.button_start_trial":"Začni preizkus","payment_entry_page.button_with_price":"Plačaj {{formattedPrice}}","payment_entry_page.button_payment_method":"Plačaj {{formattedPrice}} z {{paymentMethod}}","payment_entry_page.express_checkout_divider":"ALI PLAČAJTE S KARTICO","loading_page.processing_payment":"Obdelava plačila","loading_page.keep_page_open":"Postopek je skoraj končan. Pustite to stran odprto.","success_page.purchase_successful":"Plačilo zaključeno","success_page.button_close":"Nadaljuj","error_page.close_button_title":"Pojdi na {{appName}}","error_page.if_error_persists":"Če težava ne izgine, se obrnite na ","error_page.trouble_accessing":"Če imate težave z dostopom do svojega nakupa, se obrnite na podporo na ","error_page.error_title_already_subscribed":"Na {{productTitle}} ste že naročeni","error_page.error_title_already_purchased":"{{productTitle}} ste že kupili","error_page.error_title_other_errors":"Nekaj je šlo narobe","error_page.error_message_already_subscribed":"Na ta izdelek se ne morete ponovno naročiti.","error_page.error_message_already_purchased":"Tega izdelka ne morete ponovno kupiti.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ni aktiven","error_page.error_title_stripe_invalid_tax_origin_address":"Neveljaven izvorni naslov za davek","error_page.error_title_stripe_missing_required_permission":"Manjka dovoljenje Stripe","error_page.error_message_missing_email_error":"Za dokončanje nakupa je potrebna e-pošta.","error_page.error_message_invalid_email_error":"E-poštnega naslova {{email}} ni bilo mogoče preveriti. Vnesite veljaven e-poštni naslov.","error_page.error_message_network_error":"Napaka omrežja. Preverite svojo internetno povezavo.","error_page.error_message_error_charging_payment":"Plačilo ni uspelo.","error_page.error_message_error_setting_up_purchase":"Nakup se ni začel zaradi napake (koda napake: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vašega naslova za obračun nismo mogli preveriti. Preverite, ali sta poštna številka in država pravilni.","error_page.error_message_unknown_error":"Prišlo je do neznane napake (koda napake: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"Nakup ni uspel, ker Stripe Tax ni omogočen. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_invalid_tax_origin_address":"Nakup ni uspel, ker je izvorni naslov za davek neveljaven. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_missing_required_permission":"Nakup ni uspel, ker aplikaciji Stripe manjka zahtevano dovoljenje. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_only_in_sandbox":"To sporočilo se prikaže samo v peskovniku (sandbox).","error_page.button_try_again":"Poskusi znova","error_page.button_close":"Zapri","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Prikaži podrobnosti","pricing_dropdown.hide_details":"Skrij podrobnosti","pricing_dropdown.add_promo_code":"Dodaj promocijsko kodo","discount_input.label":"Promocijska koda","pricing_table.trial_ends":"Po koncu preizkusa, dne {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Skupaj brez davka","pricing_table.total_due_today":"Skupaj za plačilo danes","pricing_table.subtotal":"Vmesni seštevek","pricing_table.discount":"Popust","pricing_table.tax":"Davek","pricing_table.enter_billing_address_to_calculate":"Vnesite naslov za obračun za izračun","pricing_table.enter_postal_code_to_calculate":"Vnesite poštno številko za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Vnesite regijo ali poštno številko za izračun","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Nazaj","price_update.title":"Posodobitev cene","price_update.base_message":"Skupna cena je bila posodobljena z davkom glede na vaš naslov za obračun. Preglejte in poskusite znova. Vaša kartica bo bremenjena samo enkrat.","price_update.trial_message":"Cena naročnine je bila posodobljena, da vključuje davek glede na vaš naslov za obračun. Brezplačni preizkus še vedno velja. Preglejte in poskusite znova.","apple_pay.free_trial":"Brezplačni preizkus"},Im={"periods.week":"{{amount}} vecka","periods.month":"{{amount}} månad","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}v","periods.monthShort":"{{amount}}mån","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} veckor","periods.monthPlural":"{{amount}} månader","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dagar","periods.weekFrequency":"veckovis","periods.monthFrequency":"månadsvis","periods.yearFrequency":"årligen","periods.dayFrequency":"dagligen","periods.perWeekFrequency":"per vecka","periods.perMonthFrequency":"per månad","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"okänd","periods.weekFrequencyPlural":"varje {{amount}} veckor","periods.monthFrequencyPlural":"varje {{amount}} månader","periods.yearFrequencyPlural":"varje {{amount}} år","periods.dayFrequencyPlural":"varje {{amount}} dagar","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis provperiod","product_info.price_after_free_trial":"Efter provperioden slutar, den {{renewalDate}}","product_info.renewal_frequency":"Förnyas {{frequency}}","product_info.continues_until_cancelled":"Gäller tills avbokad","product_info.cancel_anytime":"Avboka när som helst","payment_entry_page.payment_step_title":"Säker betalning via RevenueCat","payment_entry_page.button_pay":"Betala nu","payment_entry_page.button_start_trial":"Starta provperiod","success_page.purchase_successful":"Betalningen är klar","success_page.button_close":"Fortsätt","error_page.if_error_persists":"Om felet kvarstår, vänligen kontakta ","error_page.error_title_already_subscribed":"Du prenumererar redan på {{productTitle}}","error_page.error_title_already_purchased":"Du har redan köpt {{productTitle}}","error_page.error_title_other_errors":"Något gick fel","error_page.error_message_already_subscribed":"Du kan inte prenumerera på den här produkten igen.","error_page.error_message_already_purchased":"Du kan inte köpa den här produkten igen.","error_page.error_message_missing_email_error":"E-post krävs för att slutföra köpet.","error_page.error_message_network_error":"Nätverksfel. Kontrollera din internetanslutning.","error_page.error_message_error_charging_payment":"Betalningen misslyckades.","error_page.error_message_error_setting_up_purchase":"Köp kunde inte startas på grund av ett fel (felkod: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunde inte verifiera din faktureringsadress. Kontrollera att postnummer och land är korrekta.","error_page.error_message_unknown_error":"Ett okänt fel inträffade (felkod: {{errorCode}}).","error_page.button_try_again":"Försök igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt att betala idag","product_info.subscribe_to":"Prenumerera på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tillbaka","pricing_dropdown.show_details":"Visa detaljer","pricing_dropdown.hide_details":"Dölj detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter provperiodens slut, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total summa att betala idag","pricing_table.total_excluding_tax":"Totalt exklusive moms","pricing_table.enter_billing_address_to_calculate":"Ange faktureringsadress för att beräkna","pricing_table.enter_state_or_postal_code_to_calculate":"Ange delstat eller postnummer för att beräkna","pricing_table.enter_postal_code_to_calculate":"Ange postnummer för att beräkna","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunde inte verifieras. Ange en giltig e-postadress.","payment_entry_page.button_payment_method":"Betala {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betala {{formattedPrice}}","price_update.title":"Prisuppdatering","price_update.base_message":"Det totala priset har uppdaterats med moms baserat på din faktureringsadress. Granska och försök igen. Ditt kort kommer endast att debiteras en gång.","price_update.trial_message":"Prenumerationspriset har uppdaterats för att inkludera skatter baserat på din fakturaadress. Den kostnadsfria provperioden gäller fortfarande. Kontrollera och försök igen.","payment_entry_page.express_checkout_divider":"ELLER BETALA MED KORT","error_page.trouble_accessing":"Om du har problem med att komma åt ditt köp, kontakta support på ","error_page.close_button_title":"Gå till {{appName}}","error_page.error_title_stripe_missing_required_permission":"Saknar Stripe-behörighet","error_page.button_close":"Stäng","error_page.error_message_stripe_invalid_tax_origin_address":"Köpet misslyckades eftersom skatteursprungsadressen är ogiltig. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_message_stripe_tax_not_active":"Köpet misslyckades eftersom Stripe Tax inte är aktiverat. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_only_in_sandbox":"Det här meddelandet visas bara i sandlådan.","error_page.error_message_stripe_missing_required_permission":"Köpet misslyckades eftersom Stripe-appen saknar en nödvändig behörighet. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_title_stripe_tax_not_active":"Stripe Tax är inte aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ogiltig skatteursprungsadress","apple_pay.free_trial":"Gratis provperiod","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter provperioden","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Sedan {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase":"Först {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase_paid_once":"betalas en gång","payment_entry_page.trial_subscription_terms_info":"Efter att din provperiod slutar debiteras du {{price}} {{perFrequency}} från och med {{renewalDate}}. Du kan avbryta när som helst före detta datum.","payment_entry_page.subscription_info":"Prenumerationen förnyas automatiskt. Avbryt när som helst.","payment_entry_page.otp_terms_info":"Genom att köpa godkänner du att {{appName}} debiterar dig i enlighet med deras villkor.","payment_entry_page.terms_link_label":"Villkor","payment_entry_page.subscription_terms_info":"Genom att prenumerera godkänner du att {{appName}} debiterar dig i enlighet med deras villkor tills du avbryter.","loading_page.keep_page_open":"Processen är nästan klar. Håll den här sidan öppen.","loading_page.processing_payment":"Behandlar betalning","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Delsumma","pricing_dropdown.add_promo_code":"Lägg till kampanjkod","discount_input.label":"Kampanjkod"},Cm={"periods.week":"{{amount}} สัปดาห์","periods.month":"{{amount}} เดือน","periods.year":"{{amount}} ปี","periods.day":"{{amount}} วัน","periods.weekShort":"{{amount}} สัปดาห์","periods.monthShort":"{{amount}} เดือน","periods.yearShort":"{{amount}} ปี","periods.dayShort":"{{amount}} วัน","periods.lifetime":"ตลอดชีพ","periods.weekPlural":"{{amount}} สัปดาห์","periods.monthPlural":"{{amount}} เดือน","periods.yearPlural":"{{amount}} ปี","periods.dayPlural":"{{amount}} วัน","periods.weekFrequency":"รายสัปดาห์","periods.monthFrequency":"รายเดือน","periods.yearFrequency":"รายปี","periods.dayFrequency":"รายวัน","periods.perWeekFrequency":"ต่อสัปดาห์","periods.perMonthFrequency":"ต่อเดือน","periods.perYearFrequency":"ต่อปี","periods.perDayFrequency":"ต่อวัน","periods.unknownFrequency":"ไม่รู้จัก","periods.weekFrequencyPlural":"ทุกๆ {{amount}} สัปดาห์","periods.monthFrequencyPlural":"ทุกๆ {{amount}} เดือน","periods.yearFrequencyPlural":"ทุกๆ {{amount}} ปี","periods.dayFrequencyPlural":"ทุกๆ {{amount}} วัน","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ทดลองใช้ฟรี","product_info.price_after_free_trial":"หลังจากสิ้นสุดการทดลองใช้ ในวันที่ {{renewalDate}}","product_info.renewal_frequency":"ต่ออายุ {{frequency}}","product_info.continues_until_cancelled":"ต่อเนื่องจนกว่าจะยกเลิก","product_info.cancel_anytime":"ยกเลิกได้ตลอดเวลา","payment_entry_page.payment_step_title":"การชำระเงินอย่างปลอดภัยโดย RevenueCat","payment_entry_page.button_pay":"ชำระเงินตอนนี้","payment_entry_page.button_start_trial":"เริ่มทดลองใช้","success_page.purchase_successful":"การชำระเงินเสร็จสมบูรณ์","success_page.button_close":"ดำเนินการต่อ","error_page.if_error_persists":"หากข้อผิดพลาดยังคงอยู่ โปรดติดต่อ ","error_page.error_title_already_subscribed":"คุณได้สมัครสมาชิก {{productTitle}} แล้ว","error_page.error_title_already_purchased":"คุณได้ซื้อ {{productTitle}} แล้ว","error_page.error_title_other_errors":"มีบางอย่างผิดพลาด","error_page.error_message_already_subscribed":"คุณไม่สามารถสมัครสมาชิกผลิตภัณฑ์นี้ได้อีก","error_page.error_message_already_purchased":"คุณไม่สามารถซื้อผลิตภัณฑ์นี้ได้อีก","error_page.error_message_missing_email_error":"ต้องใช้อีเมลเพื่อทำการซื้อให้เสร็จสมบูรณ์","error_page.error_message_network_error":"ข้อผิดพลาดของเครือข่าย โปรดตรวจสอบการเชื่อมต่ออินเทอร์เน็ตของคุณ","error_page.error_message_error_charging_payment":"การชำระเงินล้มเหลว","error_page.error_message_error_setting_up_purchase":"ไม่สามารถเริ่มการซื้อได้เนื่องจากข้อผิดพลาด (รหัสข้อผิดพลาด: {{errorCode}})","error_page.error_message_invalid_tax_location":"เราไม่สามารถยืนยันที่อยู่สำหรับออกใบแจ้งหนี้ของคุณได้ กรุณาตรวจสอบรหัสไปรษณีย์และประเทศให้ถูกต้อง","error_page.error_message_unknown_error":"เกิดข้อผิดพลาดที่ไม่รู้จัก (รหัสข้อผิดพลาด: {{errorCode}})","error_page.button_try_again":"ลองอีกครั้ง","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","product_info.subscribe_to":"สมัครสมาชิก","navbar_header.details":"รายละเอียด","navbar_header.back_button":"ย้อนกลับ","pricing_dropdown.show_details":"แสดงรายละเอียด","pricing_dropdown.hide_details":"ซ่อนรายละเอียด","pricing_table.tax":"ภาษี","pricing_table.trial_ends":"หลังจากช่วงทดลองใช้สิ้นสุด ในวันที่ {{formattedTrialEndDate}}","pricing_table.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","pricing_table.total_excluding_tax":"ราคารวมก่อนภาษี","pricing_table.enter_billing_address_to_calculate":"กรุณากรอกที่อยู่สำหรับเรียกเก็บเงินเพื่อคำนวณ","pricing_table.enter_state_or_postal_code_to_calculate":"ใส่รัฐหรือรหัสไปรษณีย์เพื่อคำนวณ","pricing_table.enter_postal_code_to_calculate":"ใส่รหัสไปรษณีย์เพื่อคำนวณ","error_page.error_message_invalid_email_error":"ไม่สามารถยืนยันที่อยู่อีเมล {{email}} ได้ โปรดระบุที่อยู่อีเมลที่ถูกต้อง","payment_entry_page.button_payment_method":"ชำระเงิน {{formattedPrice}} ด้วย {{paymentMethod}}","payment_entry_page.button_with_price":"ชำระเงิน {{formattedPrice}}","price_update.title":"อัปเดตราคา","price_update.base_message":"ราคารวมได้รับการอัปเดตพร้อมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ โปรดตรวจสอบและลองอีกครั้ง บัตรของคุณจะถูกเรียกเก็บเงินเพียงครั้งเดียวเท่านั้น","price_update.trial_message":"ราคาการสมัครสมาชิกได้รับการอัปเดตเพื่อรวมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ ระยะเวลาทดลองใช้ฟรียังคงมีผล โปรดตรวจสอบและลองอีกครั้ง","payment_entry_page.express_checkout_divider":"หรือชำระด้วยบัตร","error_page.trouble_accessing":"หากคุณมีปัญหาในการเข้าถึงการซื้อ โปรดติดต่อฝ่ายสนับสนุนที่ ","error_page.close_button_title":"ไปที่ {{appName}}","error_page.error_title_stripe_missing_required_permission":"ขาดสิทธิ์ Stripe ที่จำเป็น","error_page.button_close":"ปิด","error_page.error_message_stripe_invalid_tax_origin_address":"การซื้อล้มเหลวเนื่องจากที่อยู่ต้นทางภาษีไม่ถูกต้อง ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_message_stripe_tax_not_active":"การซื้อล้มเหลวเนื่องจากไม่ได้เปิดใช้งาน Stripe Tax ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_only_in_sandbox":"ข้อความนี้จะปรากฏเฉพาะใน sandbox เท่านั้น","error_page.error_message_stripe_missing_required_permission":"การซื้อล้มเหลวเนื่องจากแอป Stripe ขาดสิทธิ์ที่จำเป็น ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_title_stripe_tax_not_active":"Stripe Tax ไม่เปิดใช้งาน","error_page.error_title_stripe_invalid_tax_origin_address":"ที่อยู่ต้นทางภาษีไม่ถูกต้อง","apple_pay.free_trial":"ทดลองใช้ฟรี","product_info.price_after_intro_price":"หลังจาก {{introPriceDuration}} ในวันที่ {{renewalDate}}","product_info.after_trial":"หลังช่วงทดลองใช้","product_info.after":"หลังจาก","product_info.intro_price_phase_after_trial":"จากนั้น {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase":"ช่วงแรก {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase_paid_once":"ชำระครั้งเดียว","payment_entry_page.trial_subscription_terms_info":"หลังจากช่วงทดลองใช้ของคุณสิ้นสุดลง คุณจะถูกเรียกเก็บเงิน {{price}} {{perFrequency}} เริ่มตั้งแต่วันที่ {{renewalDate}} คุณสามารถยกเลิกได้ตลอดเวลาก่อนวันดังกล่าว","payment_entry_page.subscription_info":"การสมัครรับข้อมูลจะต่ออายุโดยอัตโนมัติ ยกเลิกได้ตลอดเวลา","payment_entry_page.otp_terms_info":"เมื่อทำการซื้อ คุณตกลงที่จะอนุญาตให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดของพวกเขา","payment_entry_page.terms_link_label":"ข้อกำหนด","payment_entry_page.subscription_terms_info":"เมื่อสมัครรับข้อมูล แสดงว่าคุณยินยอมให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดจนกว่าคุณจะยกเลิก","loading_page.keep_page_open":"กระบวนการเกือบเสร็จสมบูรณ์แล้ว โปรดเปิดหน้านี้ไว้","loading_page.processing_payment":"กำลังดำเนินการชำระเงิน","pricing_table.discount":"ส่วนลด","pricing_table.subtotal":"ราคารวมย่อย","pricing_dropdown.add_promo_code":"เพิ่มรหัสโปรโมชั่น","discount_input.label":"รหัสโปรโมชั่น"},Tm={"periods.week":"{{amount}} hafta","periods.month":"{{amount}} ay","periods.year":"{{amount}} yıl","periods.day":"{{amount}} gün","periods.weekShort":"{{amount}}hf","periods.monthShort":"{{amount}}ay","periods.yearShort":"{{amount}}yl","periods.dayShort":"{{amount}}g","periods.lifetime":"ömür boyu","periods.weekPlural":"{{amount}} hafta","periods.monthPlural":"{{amount}} ay","periods.yearPlural":"{{amount}} yıl","periods.dayPlural":"{{amount}} gün","periods.weekFrequency":"haftalık","periods.monthFrequency":"aylık","periods.yearFrequency":"yıllık","periods.dayFrequency":"günlük","periods.perWeekFrequency":"haftada","periods.perMonthFrequency":"ayda","periods.perYearFrequency":"yılda","periods.perDayFrequency":"günde","periods.unknownFrequency":"bilinmiyor","periods.weekFrequencyPlural":"her {{amount}} haftada","periods.monthFrequencyPlural":"her {{amount}} ayda","periods.yearFrequencyPlural":"her {{amount}} yılda","periods.dayFrequencyPlural":"her {{amount}} günde","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ücretsiz deneme","product_info.price_after_free_trial":"Deneme süresi sona erdiğinde, {{renewalDate}} tarihinde","product_info.renewal_frequency":"{{frequency}} sıklığında yenilenir","product_info.continues_until_cancelled":"İptal edilene kadar devam eder","product_info.cancel_anytime":"İstediğiniz zaman iptal edebilirsiniz","payment_entry_page.payment_step_title":"RevenueCat ile güvenli ödeme","payment_entry_page.button_pay":"Şimdi öde","payment_entry_page.button_start_trial":"Denemeyi başlat","success_page.purchase_successful":"Ödeme tamamlandı","success_page.button_close":"Devam et","error_page.if_error_persists":"Hata devam ederse lütfen iletişime geçin ","error_page.error_title_already_subscribed":"{{productTitle}} ürününe zaten abone oldunuz","error_page.error_title_already_purchased":"{{productTitle}} ürününü zaten satın aldınız","error_page.error_title_other_errors":"Bir şeyler ters gitti","error_page.error_message_already_subscribed":"Bu ürüne tekrar abone olamazsınız.","error_page.error_message_already_purchased":"Bu ürünü tekrar satın alamazsınız.","error_page.error_message_missing_email_error":"Satın almayı tamamlamak için e-posta gereklidir.","error_page.error_message_network_error":"Ağ hatası. Lütfen internet bağlantınızı kontrol edin.","error_page.error_message_error_charging_payment":"Ödeme başarısız oldu.","error_page.error_message_error_setting_up_purchase":"Bir hata nedeniyle satın alma başlatılamadı (hata kodu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Fatura adresinizi doğrulayamadık. Lütfen posta kodu ve ülkenin doğru olduğunu kontrol edin.","error_page.error_message_unknown_error":"Bilinmeyen bir hata oluştu (hata kodu: {{errorCode}}).","error_page.button_try_again":"Tekrar dene","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Bugün ödenecek toplam tutar","product_info.subscribe_to":"Abone Ol","navbar_header.details":"Detaylar","navbar_header.back_button":"Geri","pricing_dropdown.show_details":"Detayları göster","pricing_dropdown.hide_details":"Detayları gizle","pricing_table.tax":"Vergi","pricing_table.trial_ends":"Deneme süresi sona erdikten sonra, {{formattedTrialEndDate}} tarihinde","pricing_table.total_due_today":"Bugün ödenecek toplam","pricing_table.total_excluding_tax":"Vergi hariç toplam","pricing_table.enter_billing_address_to_calculate":"Hesaplamak için fatura adresini girin","pricing_table.enter_state_or_postal_code_to_calculate":"Hesaplamak için eyalet veya posta kodunu girin","pricing_table.enter_postal_code_to_calculate":"Hesaplamak için posta kodunu girin","error_page.error_message_invalid_email_error":"{{email}} e-posta adresi doğrulanamadı. Lütfen geçerli bir e-posta adresi girin.","payment_entry_page.button_payment_method":"{{paymentMethod}} ile {{formattedPrice}} öde","payment_entry_page.button_with_price":"{{formattedPrice}} öde","price_update.title":"Fiyat güncellemesi","price_update.base_message":"Toplam fiyat, fatura adresinize göre vergi dahil olacak şekilde güncellendi. Lütfen inceleyip tekrar deneyin. Kartınızdan yalnızca bir kez ücret alınacaktır.","price_update.trial_message":"Abonelik fiyatı, fatura adresinize göre vergileri içerecek şekilde güncellendi. Ücretsiz deneme süresi hala geçerli. Lütfen kontrol edin ve tekrar deneyin.","payment_entry_page.express_checkout_divider":"VEYA KARTLA ÖDEYİN","error_page.trouble_accessing":"Satın alımınıza erişmekte sorun yaşıyorsanız, şu adresten destek ekibine ulaşın: ","error_page.close_button_title":"{{appName}}'e Git","error_page.error_title_stripe_missing_required_permission":"Eksik Stripe izni","error_page.button_close":"Kapat","error_page.error_message_stripe_invalid_tax_origin_address":"Vergi başlangıç adresi geçersiz olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_message_stripe_tax_not_active":"Stripe Vergi etkinleştirilmediği için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_only_in_sandbox":"Bu mesaj yalnızca sanal ortamda görünür.","error_page.error_message_stripe_missing_required_permission":"Stripe uygulamasında gerekli bir izin eksik olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_title_stripe_tax_not_active":"Stripe Vergi aktif değil","error_page.error_title_stripe_invalid_tax_origin_address":"Geçersiz vergi başlangıç adresi","apple_pay.free_trial":"Ücretsiz Deneme","product_info.price_after_intro_price":"{{introPriceDuration}} sonra, {{renewalDate}} tarihinde","product_info.after_trial":"deneme süresinden sonra","product_info.after":"sonra","product_info.intro_price_phase_after_trial":"Sonra {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase":"İlk {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase_paid_once":"bir defaya mahsus ödenir","payment_entry_page.trial_subscription_terms_info":"Deneme süreniz sona erdikten sonra, {{renewalDate}} tarihinden itibaren {{price}} {{perFrequency}} ücretlendirileceksiniz. Bu tarihten önce istediğiniz zaman iptal edebilirsiniz.","payment_entry_page.subscription_info":"Abonelik otomatik olarak yenilenir. İstediğiniz zaman iptal edin.","payment_entry_page.otp_terms_info":"Satın alarak, {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","payment_entry_page.terms_link_label":"Koşullar","payment_entry_page.subscription_terms_info":"Abone olarak, iptal edene kadar {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","loading_page.keep_page_open":"İşlem neredeyse tamamlandı. Bu sayfayı açık tutun.","loading_page.processing_payment":"Ödeme işleniyor","pricing_table.discount":"İndirim","pricing_table.subtotal":"Ara Toplam","pricing_dropdown.add_promo_code":"kupon kodu ekle","discount_input.label":"Promosyon kodu"},Dm={"periods.week":"{{amount}} тиждень","periods.month":"{{amount}} місяць","periods.year":"{{amount}} рік","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}тиж","periods.monthShort":"{{amount}}міс","periods.yearShort":"{{amount}}рік","periods.dayShort":"{{amount}}дн","periods.lifetime":"пожиттєво","periods.weekPlural":"{{amount}} тижнів","periods.monthPlural":"{{amount}} місяців","periods.yearPlural":"{{amount}} років","periods.dayPlural":"{{amount}} днів","periods.weekFrequency":"щотижня","periods.monthFrequency":"щомісяця","periods.yearFrequency":"щороку","periods.dayFrequency":"щодня","periods.perWeekFrequency":"на тиждень","periods.perMonthFrequency":"на місяць","periods.perYearFrequency":"на рік","periods.perDayFrequency":"на день","periods.unknownFrequency":"невідомо","periods.weekFrequencyPlural":"кожні {{amount}} тижнів","periods.monthFrequencyPlural":"кожні {{amount}} місяців","periods.yearFrequencyPlural":"кожні {{amount}} років","periods.dayFrequencyPlural":"кожні {{amount}} днів","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} безкоштовний пробний період","product_info.price_after_free_trial":"Після закінчення пробного періоду, {{renewalDate}}","product_info.renewal_frequency":"Продовжується {{frequency}}","product_info.continues_until_cancelled":"Триває до скасування","product_info.cancel_anytime":"Можна скасувати в будь-який час","payment_entry_page.payment_step_title":"Безпечна оплата через RevenueCat","payment_entry_page.button_pay":"Оплатити зараз","payment_entry_page.button_start_trial":"Розпочати пробний період","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продовжити","error_page.if_error_persists":"Якщо помилка повторюється, зверніться до ","error_page.error_title_already_subscribed":"Ви вже підписалися на {{productTitle}}","error_page.error_title_already_purchased":"Ви вже придбали {{productTitle}}","error_page.error_title_other_errors":"Щось пішло не так","error_page.error_message_already_subscribed":"Ви не можете підписатися на цей продукт знову.","error_page.error_message_already_purchased":"Ви не можете придбати цей продукт знову.","error_page.error_message_missing_email_error":"Для завершення покупки потрібна електронна пошта.","error_page.error_message_network_error":"Помилка мережі. Перевірте підключення до інтернету.","error_page.error_message_error_charging_payment":"Оплата не пройшла.","error_page.error_message_error_setting_up_purchase":"Помилка при ініціалізації покупки (код помилки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Ми не змогли перевірити вашу платіжну адресу. Будь ласка, перевірте, чи правильні поштовий індекс та країна.","error_page.error_message_unknown_error":"Сталася невідома помилка (код помилки: {{errorCode}}).","error_page.button_try_again":"Спробувати ще раз","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всього до сплати сьогодні","product_info.subscribe_to":"Підписатися на","navbar_header.details":"Деталі","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показати деталі","pricing_dropdown.hide_details":"Приховати деталі","pricing_table.tax":"Податок","pricing_table.trial_ends":"Після закінчення пробного періоду, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Загальна сума до сплати сьогодні","pricing_table.total_excluding_tax":"Загальна сума без урахування податку","pricing_table.enter_billing_address_to_calculate":"Введіть адресу виставлення рахунку для розрахунку","pricing_table.enter_state_or_postal_code_to_calculate":"Введіть штат або поштовий індекс для розрахунку","pricing_table.enter_postal_code_to_calculate":"Введіть поштовий індекс для розрахунку","error_page.error_message_invalid_email_error":"Електронну адресу {{email}} не вдалося підтвердити. Будь ласка, вкажіть дійсну електронну адресу.","payment_entry_page.button_payment_method":"Сплатити {{formattedPrice}} за допомогою {{paymentMethod}}","payment_entry_page.button_with_price":"Сплатити {{formattedPrice}}","price_update.title":"Оновлення ціни","price_update.base_message":"Загальну ціну було оновлено з урахуванням податку на основі вашої платіжної адреси. Перегляньте та спробуйте ще раз. З вашої картки буде списано кошти лише один раз.","price_update.trial_message":"Ціна підписки була оновлена для включення податків на основі вашої платіжної адреси. Безкоштовний пробний період все ще діє. Будь ласка, перевірте та спробуйте ще раз.","payment_entry_page.express_checkout_divider":"АБО СПЛАТІТЬ КАРТКОЮ","error_page.trouble_accessing":"Якщо у вас виникли проблеми з доступом до вашої покупки, зверніться до служби підтримки за адресою ","error_page.close_button_title":"Перейти до {{appName}}","error_page.error_title_stripe_missing_required_permission":"Відсутній дозвіл Stripe","error_page.button_close":"Закрити","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не вдалася, оскільки адреса походження податку недійсна. У виробництві покупки працюватимуть без застосування податків.","error_page.error_message_stripe_tax_not_active":"Покупка не вдалася, оскільки Stripe Tax не ввімкнено. У виробництві покупки працюватимуть без застосування податків.","error_page.error_only_in_sandbox":"Це повідомлення з’являється лише в пісочниці.","error_page.error_message_stripe_missing_required_permission":"Покупка не вдалася, оскільки програмі Stripe не вистачає необхідного дозволу. У виробництві покупки працюватимуть без застосування податків.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активовано","error_page.error_title_stripe_invalid_tax_origin_address":"Недійсна адреса походження податку","apple_pay.free_trial":"Безкоштовна пробна версія","product_info.price_after_intro_price":"Після {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"після пробного періоду","product_info.after":"після","product_info.intro_price_phase_after_trial":"Потім {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Спочатку {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"сплачено один раз","payment_entry_page.trial_subscription_terms_info":"Після закінчення пробного періоду з вас буде стягуватися плата в розмірі {{price}} {{perFrequency}} починаючи з {{renewalDate}}. Ви можете скасувати підписку в будь-який час до цієї дати.","payment_entry_page.subscription_info":"Підписка поновлюється автоматично. Скасувати можна в будь-який час.","payment_entry_page.otp_terms_info":"Купуючи, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов.","payment_entry_page.terms_link_label":"Умови","payment_entry_page.subscription_terms_info":"Підписуючись, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов, поки ви не скасуєте підписку.","loading_page.keep_page_open":"Процес майже завершено. Залиште цю сторінку відкритою.","loading_page.processing_payment":"Обробка платежу","pricing_table.discount":"Знижка","pricing_table.subtotal":"Сума до сплати","pricing_dropdown.add_promo_code":"Додати промокод","discount_input.label":"Промокод"},Am={"periods.week":"{{amount}} tuần","periods.month":"{{amount}} tháng","periods.year":"{{amount}} năm","periods.day":"{{amount}} ngày","periods.weekShort":"{{amount}}tuần","periods.monthShort":"{{amount}}tháng","periods.yearShort":"{{amount}}năm","periods.dayShort":"{{amount}}ngày","periods.lifetime":"trọn đời","periods.weekPlural":"{{amount}} tuần","periods.monthPlural":"{{amount}} tháng","periods.yearPlural":"{{amount}} năm","periods.dayPlural":"{{amount}} ngày","periods.weekFrequency":"hàng tuần","periods.monthFrequency":"hàng tháng","periods.yearFrequency":"hàng năm","periods.dayFrequency":"hàng ngày","periods.perWeekFrequency":"mỗi tuần","periods.perMonthFrequency":"mỗi tháng","periods.perYearFrequency":"mỗi năm","periods.perDayFrequency":"mỗi ngày","periods.unknownFrequency":"không xác định","periods.weekFrequencyPlural":"cứ {{amount}} tuần","periods.monthFrequencyPlural":"cứ {{amount}} tháng","periods.yearFrequencyPlural":"cứ {{amount}} năm","periods.dayFrequencyPlural":"cứ {{amount}} ngày","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dùng thử miễn phí","product_info.price_after_free_trial":"Sau khi dùng thử kết thúc, vào {{renewalDate}}","product_info.renewal_frequency":"Gia hạn {{frequency}}","product_info.continues_until_cancelled":"Tiếp tục cho đến khi hủy","product_info.cancel_anytime":"Hủy bất cứ lúc nào","payment_entry_page.payment_step_title":"Thanh toán an toàn bởi RevenueCat","payment_entry_page.button_pay":"Thanh toán ngay","payment_entry_page.button_start_trial":"Bắt đầu dùng thử","success_page.purchase_successful":"Thanh toán hoàn tất","success_page.button_close":"Tiếp tục","error_page.if_error_persists":"Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ ","error_page.error_title_already_subscribed":"Bạn đã đăng ký {{productTitle}} rồi","error_page.error_title_already_purchased":"Bạn đã mua {{productTitle}} rồi","error_page.error_title_other_errors":"Có lỗi xảy ra","error_page.error_message_already_subscribed":"Bạn không thể đăng ký sản phẩm này lần nữa.","error_page.error_message_already_purchased":"Bạn không thể mua sản phẩm này lần nữa.","error_page.error_message_missing_email_error":"Email bắt buộc để hoàn tất việc mua hàng.","error_page.error_message_network_error":"Lỗi mạng. Vui lòng kiểm tra kết nối internet của bạn.","error_page.error_message_error_charging_payment":"Thanh toán thất bại.","error_page.error_message_error_setting_up_purchase":"Không thể bắt đầu mua do lỗi (mã lỗi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Chúng tôi không thể xác minh địa chỉ thanh toán của bạn. Vui lòng kiểm tra lại mã bưu điện và quốc gia.","error_page.error_message_unknown_error":"Đã xảy ra lỗi không xác định (mã lỗi: {{errorCode}}).","error_page.button_try_again":"Thử lại","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Tổng số tiền phải trả hôm nay","product_info.subscribe_to":"Đăng ký","navbar_header.details":"Chi tiết","navbar_header.back_button":"Quay lại","pricing_dropdown.show_details":"Xem chi tiết","pricing_dropdown.hide_details":"Ẩn chi tiết","pricing_table.tax":"Thuế","pricing_table.trial_ends":"Sau khi thời gian dùng thử kết thúc, vào {{formattedTrialEndDate}}","pricing_table.total_due_today":"Tổng số tiền phải trả hôm nay","pricing_table.total_excluding_tax":"Tổng cộng chưa bao gồm thuế","pricing_table.enter_billing_address_to_calculate":"Nhập địa chỉ thanh toán để tính toán","pricing_table.enter_state_or_postal_code_to_calculate":"Nhập tiểu bang hoặc mã bưu điện để tính toán","pricing_table.enter_postal_code_to_calculate":"Nhập mã bưu điện để tính toán","error_page.error_message_invalid_email_error":"Không thể xác minh địa chỉ email {{email}}. Vui lòng cung cấp một địa chỉ email hợp lệ.","payment_entry_page.button_payment_method":"Thanh toán {{formattedPrice}} bằng {{paymentMethod}}","payment_entry_page.button_with_price":"Thanh toán {{formattedPrice}}","price_update.title":"Cập nhật giá","price_update.base_message":"Tổng giá đã được cập nhật với thuế dựa trên địa chỉ thanh toán của bạn. Vui lòng xem lại và thử lại. Thẻ của bạn sẽ chỉ bị tính phí một lần.","price_update.trial_message":"Giá đăng ký đã được cập nhật để bao gồm thuế dựa trên địa chỉ thanh toán của bạn. Thời gian dùng thử miễn phí vẫn được áp dụng. Vui lòng kiểm tra và thử lại.","payment_entry_page.express_checkout_divider":"HOẶC THANH TOÁN BẰNG THẺ","error_page.trouble_accessing":"Nếu bạn gặp sự cố khi truy cập giao dịch mua của mình, hãy liên hệ với bộ phận hỗ trợ theo địa chỉ ","error_page.close_button_title":"Đi đến {{appName}}","error_page.error_title_stripe_missing_required_permission":"Thiếu quyền Stripe","error_page.button_close":"Đóng","error_page.error_message_stripe_invalid_tax_origin_address":"Giao dịch mua không thành công vì địa chỉ gốc thuế không hợp lệ. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_message_stripe_tax_not_active":"Giao dịch mua không thành công vì Thuế Stripe chưa được bật. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_only_in_sandbox":"Thông báo này chỉ xuất hiện trong môi trường thử nghiệm.","error_page.error_message_stripe_missing_required_permission":"Giao dịch mua không thành công vì ứng dụng Stripe thiếu một quyền cần thiết. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_title_stripe_tax_not_active":"Thuế Stripe chưa hoạt động","error_page.error_title_stripe_invalid_tax_origin_address":"Địa chỉ gốc thuế không hợp lệ","apple_pay.free_trial":"Dùng thử miễn phí","product_info.price_after_intro_price":"Sau {{introPriceDuration}}, vào {{renewalDate}}","product_info.after_trial":"sau khi dùng thử","product_info.after":"sau","product_info.intro_price_phase_after_trial":"Sau đó {{introPriceDuration}} với giá {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} đầu tiên với giá {{introPrice}}","product_info.intro_price_phase_paid_once":"trả một lần","payment_entry_page.trial_subscription_terms_info":"Sau khi thời gian dùng thử của bạn kết thúc, bạn sẽ bị tính phí {{price}} {{perFrequency}} bắt đầu từ {{renewalDate}}. Bạn có thể hủy bất cứ lúc nào trước ngày này.","payment_entry_page.subscription_info":"Gói đăng ký tự động gia hạn. Hủy bất cứ lúc nào.","payment_entry_page.otp_terms_info":"Bằng cách mua, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ.","payment_entry_page.terms_link_label":"Điều khoản","payment_entry_page.subscription_terms_info":"Bằng cách đăng ký, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ cho đến khi bạn hủy.","loading_page.keep_page_open":"Quá trình gần hoàn tất. Vui lòng giữ trang này mở.","loading_page.processing_payment":"Đang xử lý thanh toán","pricing_table.discount":"Giảm giá","pricing_table.subtotal":"Tổng cộng","pricing_dropdown.add_promo_code":"Thêm mã khuyến mãi","discount_input.label":"Mã khuyến mãi"};var de=(r=>(r.PeriodsWeek="periods.week",r.PeriodsMonth="periods.month",r.PeriodsYear="periods.year",r.PeriodsDay="periods.day",r.PeriodsWeekShort="periods.weekShort",r.PeriodsMonthShort="periods.monthShort",r.PeriodsYearShort="periods.yearShort",r.PeriodsDayShort="periods.dayShort",r.PeriodsLifetime="periods.lifetime",r.PeriodsWeekPlural="periods.weekPlural",r.PeriodsMonthPlural="periods.monthPlural",r.PeriodsYearPlural="periods.yearPlural",r.PeriodsDayPlural="periods.dayPlural",r.PeriodsWeekFrequency="periods.weekFrequency",r.PeriodsMonthFrequency="periods.monthFrequency",r.PeriodsYearFrequency="periods.yearFrequency",r.PeriodsDayFrequency="periods.dayFrequency",r.PeriodsPerWeekFrequency="periods.perWeekFrequency",r.PeriodsPerMonthFrequency="periods.perMonthFrequency",r.PeriodsPerYearFrequency="periods.perYearFrequency",r.PeriodsPerDayFrequency="periods.perDayFrequency",r.PeriodsUnknownFrequency="periods.unknownFrequency",r.PeriodsWeekFrequencyPlural="periods.weekFrequencyPlural",r.PeriodsMonthFrequencyPlural="periods.monthFrequencyPlural",r.PeriodsYearFrequencyPlural="periods.yearFrequencyPlural",r.PeriodsDayFrequencyPlural="periods.dayFrequencyPlural",r.ProductInfoProductTitle="product_info.product_title",r.ProductInfoProductDescription="product_info.product_description",r.ProductInfoProductPrice="product_info.product_price",r.ProductInfoFreeTrialDuration="product_info.free_trial_duration",r.ProductInfoPriceAfterFreeTrial="product_info.price_after_free_trial",r.ProductInfoIntroPricePhaseAfterTrial="product_info.intro_price_phase_after_trial",r.ProductInfoIntroPricePhasePaidOnce="product_info.intro_price_phase_paid_once",r.ProductInfoIntroPricePhase="product_info.intro_price_phase",r.ProductInfoPriceAfterIntroPrice="product_info.price_after_intro_price",r.ProductInfoAfterTrial="product_info.after_trial",r.ProductInfoAfter="product_info.after",r.ProductInfoPriceTotalDueToday="product_info.total_due_today",r.ProductInfoSubscribeTo="product_info.subscribe_to",r.ProductInfoRenewalFrequency="product_info.renewal_frequency",r.ProductInfoContinuesUntilCancelled="product_info.continues_until_cancelled",r.ProductInfoCancelAnytime="product_info.cancel_anytime",r.PaymentEntryPagePaymentStepTitle="payment_entry_page.payment_step_title",r.PaymentEntryPageTrialSubscriptionTermsInfo="payment_entry_page.trial_subscription_terms_info",r.PaymentEntryPageSubscriptionTermsInfo="payment_entry_page.subscription_terms_info",r.PaymentEntryPageOtpTermsInfo="payment_entry_page.otp_terms_info",r.PaymentEntryPageTermsLinkLabel="payment_entry_page.terms_link_label",r.PaymentEntryPageSubscriptionInfo="payment_entry_page.subscription_info",r.PaymentEntryPageButtonPay="payment_entry_page.button_pay",r.PaymentEntryPageButtonStartTrial="payment_entry_page.button_start_trial",r.PaymentEntryPageButtonWithPrice="payment_entry_page.button_with_price",r.PaymentEntryPageButtonPaymentMethod="payment_entry_page.button_payment_method",r.PaymentEntryPageExpressCheckoutDivider="payment_entry_page.express_checkout_divider",r.SuccessPagePurchaseSuccessful="success_page.purchase_successful",r.SuccessPageButtonClose="success_page.button_close",r.LoadingPageProcessingPayment="loading_page.processing_payment",r.LoadingPageKeepPageOpen="loading_page.keep_page_open",r.ErrorPageCloseButtonTitle="error_page.close_button_title",r.ErrorPageIfErrorPersists="error_page.if_error_persists",r.ErrorPageTroubleAccessing="error_page.trouble_accessing",r.ErrorPageErrorTitleAlreadySubscribed="error_page.error_title_already_subscribed",r.ErrorPageErrorTitleAlreadyPurchased="error_page.error_title_already_purchased",r.ErrorPageErrorTitleOtherErrors="error_page.error_title_other_errors",r.ErrorPageErrorTitleStripeTaxNotActive="error_page.error_title_stripe_tax_not_active",r.ErrorPageErrorTitleStripeInvalidTaxOriginAddress="error_page.error_title_stripe_invalid_tax_origin_address",r.ErrorPageErrorTitleStripeMissingRequiredPermission="error_page.error_title_stripe_missing_required_permission",r.ErrorPageErrorMessageAlreadySubscribed="error_page.error_message_already_subscribed",r.ErrorPageErrorMessageAlreadyPurchased="error_page.error_message_already_purchased",r.ErrorPageErrorMessageMissingEmailError="error_page.error_message_missing_email_error",r.ErrorPageErrorMessageInvalidEmailError="error_page.error_message_invalid_email_error",r.ErrorPageErrorMessageNetworkError="error_page.error_message_network_error",r.ErrorPageErrorMessageErrorChargingPayment="error_page.error_message_error_charging_payment",r.ErrorPageErrorMessageErrorSettingUpPurchase="error_page.error_message_error_setting_up_purchase",r.ErrorPageErrorMessageUnknownError="error_page.error_message_unknown_error",r.ErrorPageErrorMessageInvalidTaxLocation="error_page.error_message_invalid_tax_location",r.ErrorPageErrorMessageStripeTaxNotActive="error_page.error_message_stripe_tax_not_active",r.ErrorPageErrorMessageStripeInvalidTaxOriginAddress="error_page.error_message_stripe_invalid_tax_origin_address",r.ErrorPageErrorMessageStripeMissingRequiredPermission="error_page.error_message_stripe_missing_required_permission",r.ErrorPageErrorMessageOnlyInSandbox="error_page.error_only_in_sandbox",r.ErrorButtonTryAgain="error_page.button_try_again",r.ErrorButtonClose="error_page.button_close",r.PaywallVariablesPricePerPeriod="paywall_variables.price_per_period",r.PaywallVariablesSubRelativeDiscount="paywall_variables.sub_relative_discount",r.PaywallVariablesTotalPriceAndPerMonth="paywall_variables.total_price_and_per_month",r.PricingDropdownShowDetails="pricing_dropdown.show_details",r.PricingDropdownHideDetails="pricing_dropdown.hide_details",r.PricingDropdownAddPromoCode="pricing_dropdown.add_promo_code",r.DiscountInputLabel="discount_input.label",r.PricingTotalExcludingTax="pricing_table.total_excluding_tax",r.PricingTableTrialEnds="pricing_table.trial_ends",r.PricingTableTotalDueToday="pricing_table.total_due_today",r.PricingTableSubtotal="pricing_table.subtotal",r.PricingTableDiscount="pricing_table.discount",r.PricingTableTax="pricing_table.tax",r.PricingTableEnterBillingAddressToCalculate="pricing_table.enter_billing_address_to_calculate",r.PricingTableEnterStateOrPostalCodeToCalculate="pricing_table.enter_state_or_postal_code_to_calculate",r.PricingTableEnterPostalCodeToCalculate="pricing_table.enter_postal_code_to_calculate",r.NavbarHeaderDetails="navbar_header.details",r.NavbarBackButton="navbar_header.back_button",r.PriceUpdateTitle="price_update.title",r.PriceUpdateBaseMessage="price_update.base_message",r.PriceUpdateTrialMessage="price_update.trial_message",r.ApplePayFreeTrial="apple_pay.free_trial",r))(de||{});const Fm={en:Qf,es:$f,it:em,ar:rm,ca:tm,zh_Hans:nm,zh_Hant:am,hr:om,cs:im,da:sm,nl:lm,fi:cm,fr:um,de:dm,el:pm,he:_m,hi:gm,hu:fm,id:mm,ja:hm,ko:vm,ms:ym,no:bm,pl:km,pt:wm,ro:Pm,ru:xm,sk:Em,sl:Sm,sv:Im,th:Cm,tr:Tm,uk:Dm,vi:Am};var Le=(r=>(r.Year="year",r.Month="month",r.Week="week",r.Day="day",r))(Le||{});function So(r){const e=r.match(/^PT?([0-9]+)([MDYW])$/);if(!e||e.length<3)return ke.errorLog(`Invalid ISO 8601 duration format: ${r}`),null;const t=parseInt(e[1]);switch(e[2]){case"Y":return{number:t,unit:"year"};case"M":return{number:t,unit:"month"};case"W":return{number:t,unit:"week"};case"D":return{number:t,unit:"day"};default:return ke.errorLog(`Invalid ISO 8601 unit duration format: ${r}`),null}}function Io(r,e,t){if(!t)return null;let n=new Date(r);switch(e.unit){case"year":n.getDate()===29&&n.getMonth()===1&&e.number!==4?n.setFullYear(n.getFullYear()+e.number,n.getMonth(),28):n.setFullYear(n.getFullYear()+e.number,n.getMonth(),n.getDate());break;case"month":n.setMonth(n.getMonth()+e.number,n.getDate()),n.getDate()!==r.getDate()&&(n=new Date(r),n.setMonth(n.getMonth()+e.number+1,0));break;case"week":n.setDate(n.getDate()+e.number*7);break;case"day":n.setDate(n.getDate()+e.number);break}return n}const ua=r=>{if(!r)return r;const e=r.replace(/_/g,"-");try{const[n]=Intl.getCanonicalLocales(e);if(n)return n}catch{}const t=e.split("-")[0];try{const[n]=Intl.getCanonicalLocales(t);if(n)return n}catch{}return t},Mm=r=>r/1e6,ed=new Map;function zm(r){const e=ed.get(r);if(e!==void 0)return e;let t;try{t=new Intl.NumberFormat("en",{style:"currency",currency:r}).resolvedOptions().maximumFractionDigits??2}catch{t=2}return ed.set(r,t),t}function Ei(r,e){const n=10**(6-zm(e)),a=Math.round(r/n*1e9)/1e9;return Math.floor(a)*n}const bn=(r,e,t,n={})=>{const a=Mm(r),i={style:"currency",currency:e,currencyDisplay:"symbol",...n,minimumFractionDigits:n.maximumFractionDigits};return new Intl.NumberFormat(ua(t),i).format(a).replace("US$","$")},qm=(r,e)=>{const t=So(r);return t?e.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:r},jm=r=>{try{return r.charAt(0).toUpperCase()+r.slice(1)}catch{return r}},Va={noWhitespace:!1,short:!1},rd={useMultipleWords:!1};class Fn{constructor(e={},t=Yr,n=Yr){ee(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(Fm).forEach(([i,s])=>{a[i]=new td(s,i)}),this.locales=a,e&&this.override(e)}static fallback(){return new Fn}override(e){Object.entries(e).forEach(([t,n])=>{this.locales[t]=new td({...this.locales[t].labels||{},...n},this.getLanguageCodeString(t))})}formatPrice(e,t){const n={currencyDisplay:"narrowSymbol"};e===0&&(n.maximumFractionDigits=0);try{return bn(e,t,this.bcp47Locale,n)}catch{ke.errorLog(`Failed to create a price formatter for locale: ${this.bcp47Locale}`)}try{return bn(e,t,this.fallbackBcp47Locale,n)}catch{ke.errorLog(`Failed to create a price formatter for locale: ${this.fallbackBcp47Locale}`)}return bn(e,t,Yr,n)}get bcp47Locale(){var e;return ua((e=this.getLocaleInstance(this.selectedLocale))==null?void 0:e.localeKey)||ua(this.getLanguageCodeString(this.selectedLocale))||Yr}get fallbackBcp47Locale(){var e;return ua((e=this.getLocaleInstance(this.defaultLocale))==null?void 0:e.localeKey)||ua(this.getLanguageCodeString(this.defaultLocale))||Yr}getLanguageCodeString(e){return e.split("_")[0].split("-")[0]}getLocaleInstance(e){const t=this.getLanguageCodeString(e);return this.locales[e]||this.locales[t]}translate(e,t){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translate(e,t))||(a==null?void 0:a.translate(e,t))||""}formatCountry(e){return new Intl.DisplayNames([this.bcp47Locale],{type:"region"}).of(e)||e}translatePeriod(e,t,n=Va){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriod(e,t,n))||(i==null?void 0:i.translatePeriod(e,t,n))}translatePeriodUnit(e,t=Va){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translatePeriodUnit(e,t))||(a==null?void 0:a.translatePeriodUnit(e,t))}translatePeriodFrequency(e,t,n=rd){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriodFrequency(e,t,n))||(i==null?void 0:i.translatePeriodFrequency(e,t,n))}translateDate(e,t={}){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translateDate(e,t))||(a==null?void 0:a.translateDate(e,t))}}class td{constructor(e={},t){this.labels=e,this.localeKey=t}replaceVariables(e,t){return Object.entries(t).reduce((n,[a,i])=>n.replace(`{{${a}}}`,`${i??""}`),e)}translate(e,t){const n=this.labels[e];if(n)return this.replaceVariables(n,t||{})}translatePeriod(e,t,n=Va){var l;const{noWhitespace:a,short:i}={...Va,...n},s=i?`periods.${t}Short`:Math.abs(e)===1?`periods.${t}`:`periods.${t}Plural`;return(l=this.translate(s,{amount:e.toString()}))==null?void 0:l.replace(" ",a?"":" ")}translatePeriodUnit(e,t=Va){var s;const{noWhitespace:n,short:a}={...Va,...t},i=`periods.${e}${a?"Short":""}`;return(s=this.translate(i,{amount:""}))==null?void 0:s.replace(" ",n?"":" ")}translatePeriodFrequency(e,t,n=rd){const a=n==null?void 0:n.useMultipleWords,i=Math.abs(e)===1?`periods.${a===!0?"per":""}${a?jm(t.toString()):t}Frequency`:`periods.${t}FrequencyPlural`;return this.translate(i,{amount:e.toString()})}translateDate(e,t={}){return e.toLocaleDateString(ua(this.localeKey),t)}}function Lm(r){return r!=null}var nd=(r=>(r.Unknown="unknown",r.Custom="custom",r.Lifetime="$rc_lifetime",r.Annual="$rc_annual",r.SixMonth="$rc_six_month",r.ThreeMonth="$rc_three_month",r.TwoMonth="$rc_two_month",r.Monthly="$rc_monthly",r.Weekly="$rc_weekly",r))(nd||{}),Xr=(r=>(r.Subscription="subscription",r.Consumable="consumable",r.NonConsumable="non_consumable",r))(Xr||{});const $s=(r,e)=>({amount:r/1e4,amountMicros:r,currency:e,formattedPrice:bn(r,e)}),ad=r=>$s(r.amount_micros,r.currency),el=r=>{const e=r.period_duration,t=r.price?ad(r.price):null,n=e?So(e):null;let a=null,i=null,s=null;if(t!==null&&n!==null){const l=Om(n),c=1e4,u=Ei(t.amountMicros*l.toWeek,t.currency);a={amount:u/c,amountMicros:u,currency:t.currency,formattedPrice:bn(u,t.currency)};const d=Ei(t.amountMicros*l.toMonth,t.currency);i={amount:d/c,amountMicros:d,currency:t.currency,formattedPrice:bn(d,t.currency)};const p=Ei(t.amountMicros*l.toYear,t.currency);s={amount:p/c,amountMicros:p,currency:t.currency,formattedPrice:bn(p,t.currency)}}return{periodDuration:e,period:n,cycleCount:r.cycle_count,price:t,pricePerWeek:a,pricePerMonth:i,pricePerYear:s}},od=(r,e)=>{const t=r.duration_mode??"one_time";let n=r.time_window??null;(t==="one_time"||t==="forever")&&n===null&&e!==null&&(n=e);let a=null,i=null;const s=n?So(n):null;return s&&(a={number:1,unit:s.unit},i=t==="forever"?0:s.number),{timeWindow:r.time_window,durationMode:t,price:$s(r.amount_micros,r.currency),name:r.name,period:a,cycleCount:i??0,periodDuration:n,discountType:r.discount_type,percentage:r.percentage??null,fixedAmount:r.fixed_amount_micros!=null?$s(r.fixed_amount_micros,r.currency):null}};function Om(r){const{number:e,unit:t}=r,n=7,a=30,i=365;let s;switch(t){case Le.Day:s=e;break;case Le.Week:s=e*n;break;case Le.Month:s=e*a;break;case Le.Year:s=e*i;break;default:s=0,ke.errorLog(`Unknown period unit: ${t}`)}const l=s>0?n/s:0,c=s>0?a/s:0,u=s>0?i/s:0;return{toWeek:l,toMonth:c,toYear:u}}const id=r=>{var e;return r.base==null?(ke.debugLog("Missing base phase for subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,base:el(r.base),trial:r.trial?el(r.trial):null,introPrice:r.intro_price?el(r.intro_price):null,discount:r.discount?od(r.discount,(e=r.base)==null?void 0:e.period_duration):null}},sd=r=>r.base_price==null?(ke.debugLog("Missing base price for non-subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,basePrice:ad(r.base_price),discount:r.discount?od(r.discount,null):null},Nm=(r,e)=>{const t=r.product_type;return t==="subscription"?Um(r,e,t):Rm(r,e,t)},Bm=(r,e)=>r==="subscription"?"base"in e?id(e):null:"base_price"in e?sd(e):null,Rm=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([s,l])=>{const c=sd(l);c!=null&&(n[s]=c)}),Object.keys(n).length===0)return ke.debugLog(`Product ${r.identifier} has no purchase options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in r.purchase_options?n[a]:null;return i==null?(ke.debugLog(`Product ${r.identifier} has no default purchase option. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:i.basePrice,normalPeriodDuration:null,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:null,subscriptionOptions:{},defaultNonSubscriptionOption:i,price:i.basePrice,period:null,freeTrialPhase:null,introPricePhase:null,discountPhase:i.discount}},Um=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([l,c])=>{const u=id(c);u!=null&&(n[l]=u)}),Object.keys(n).length===0)return ke.debugLog(`Product ${r.identifier} has no subscription options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in n?n[a]:null;if(i==null)return ke.debugLog(`Product ${r.identifier} has no default subscription option. Ignoring.`),null;const s=i.base.price;return s==null?(ke.debugLog(`Product ${r.identifier} default option has no base price. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:s,normalPeriodDuration:i.base.periodDuration,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:i,subscriptionOptions:n,defaultNonSubscriptionOption:null,price:s,period:i.base.period,freeTrialPhase:i.trial,introPricePhase:i.introPrice,discountPhase:i.discount}},Vm=(r,e,t)=>{const n=t[e.platform_product_identifier];if(n===void 0)return null;const a=Nm(n,r);return a===null?null:{identifier:e.identifier,rcBillingProduct:a,webBillingProduct:a,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packageType:Hm(e.identifier)}},Wm=(r,e,t,n,a)=>{const i={offeringIdentifier:e.identifier,targetingContext:r&&n?{ruleId:n.rule_id,revision:n.revision}:null,placementIdentifier:null},s=e.packages.map(c=>Vm(i,c,t)).filter(Lm),l={};for(const c of s)c!=null&&(l[c.identifier]=c);return s.length==0?null:{identifier:e.identifier,serverDescription:e.description,metadata:e.metadata,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packagesById:l,availablePackages:s,lifetime:l.$rc_lifetime??null,annual:l.$rc_annual??null,sixMonth:l.$rc_six_month??null,threeMonth:l.$rc_three_month??null,twoMonth:l.$rc_two_month??null,monthly:l.$rc_monthly??null,weekly:l.$rc_weekly??null,hasPaywall:e.paywall_components!=null,paywallComponents:e.paywall_components,...a!==void 0?{uiConfig:a}:{}}};function Hm(r){switch(r){case"$rc_lifetime":return"$rc_lifetime";case"$rc_annual":return"$rc_annual";case"$rc_six_month":return"$rc_six_month";case"$rc_three_month":return"$rc_three_month";case"$rc_two_month":return"$rc_two_month";case"$rc_monthly":return"$rc_monthly";case"$rc_weekly":return"$rc_weekly";default:return r.startsWith("$rc_")?"unknown":"custom"}}function Co(r,e=!1){return(r==null?void 0:r.full_address_collection_mode)==="always"?!0:!!(r!=null&&r.gateway_tax_collection_enabled)&&e}Yg();const Ym=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
1
+ (function(xe,Oe){typeof exports=="object"&&typeof module<"u"?Oe(exports):typeof define=="function"&&define.amd?define(["exports"],Oe):(xe=typeof globalThis<"u"?globalThis:xe||self,Oe(xe.Purchases={}))})(this,function(xe){"use strict";var AS=Object.create;var xc=Object.defineProperty;var FS=Object.getOwnPropertyDescriptor;var wg=(xe,Oe)=>(Oe=Symbol[xe])?Oe:Symbol.for("Symbol."+xe),so=xe=>{throw TypeError(xe)};var Pg=(xe,Oe,Qe)=>Oe in xe?xc(xe,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):xe[Oe]=Qe;var kg=(xe,Oe)=>xc(xe,"name",{value:Oe,configurable:!0});var xg=xe=>[,,,AS((xe==null?void 0:xe[wg("metadata")])??null)],Eg=["class","method","getter","setter","accessor","field","value","get","set"],ai=xe=>xe!==void 0&&typeof xe!="function"?so("Function expected"):xe,MS=(xe,Oe,Qe,dt,kr)=>({kind:Eg[xe],name:Oe,metadata:dt,addInitializer:Vr=>Qe._?so("Already initialized"):kr.push(ai(Vr||null))}),Ec=(xe,Oe)=>Pg(Oe,wg("metadata"),xe[3]),Sg=(xe,Oe,Qe,dt)=>{for(var kr=0,Vr=xe[Oe>>1],Rt=Vr&&Vr.length;kr<Rt;kr++)Oe&1?Vr[kr].call(Qe):dt=Vr[kr].call(Qe,dt);return dt},Sc=(xe,Oe,Qe,dt,kr,Vr)=>{var Rt,at,oi,$n,lo,lr=Oe&7,co=!!(Oe&8),bt=!!(Oe&16),uo=lr>3?xe.length+1:lr?co?1:2:0,po=Eg[lr+5],ii=lr>3&&(xe[uo-1]=[]),Dr=xe[uo]||(xe[uo]=[]),pt=lr&&(!bt&&!co&&(kr=kr.prototype),lr<5&&(lr>3||!bt)&&FS(lr<4?kr:{get[Qe](){return Q(this,Vr)},set[Qe](Qr){return Ge(this,Vr,Qr)}},Qe));lr?bt&&lr<4&&kg(Vr,(lr>2?"set ":lr>1?"get ":"")+Qe):kg(kr,Qe);for(var _o=dt.length-1;_o>=0;_o--)$n=MS(lr,Qe,oi={},xe[3],Dr),lr&&($n.static=co,$n.private=bt,lo=$n.access={has:bt?Qr=>qS(kr,Qr):Qr=>Qe in Qr},lr^3&&(lo.get=bt?Qr=>(lr^1?Q:Or)(Qr,kr,lr^4?Vr:pt.get):Qr=>Qr[Qe]),lr>2&&(lo.set=bt?(Qr,ea)=>Ge(Qr,kr,ea,lr^4?Vr:pt.set):(Qr,ea)=>Qr[Qe]=ea)),at=(0,dt[_o])(lr?lr<4?bt?Vr:pt[po]:lr>4?void 0:{get:pt.get,set:pt.set}:kr,$n),oi._=1,lr^4||at===void 0?ai(at)&&(lr>4?ii.unshift(at):lr?bt?Vr=at:pt[po]=at:kr=at):typeof at!="object"||at===null?so("Object expected"):(ai(Rt=at.get)&&(pt.get=Rt),ai(Rt=at.set)&&(pt.set=Rt),ai(Rt=at.init)&&ii.unshift(Rt));return lr||Ec(xe,kr),pt&&xc(kr,Qe,pt),bt?lr^4?Vr:pt:kr},ee=(xe,Oe,Qe)=>Pg(xe,typeof Oe!="symbol"?Oe+"":Oe,Qe),Ic=(xe,Oe,Qe)=>Oe.has(xe)||so("Cannot "+Qe),qS=(xe,Oe)=>Object(Oe)!==Oe?so('Cannot use the "in" operator on this value'):xe.has(Oe),Q=(xe,Oe,Qe)=>(Ic(xe,Oe,"read from private field"),Qe?Qe.call(xe):Oe.get(xe)),Xe=(xe,Oe,Qe)=>Oe.has(xe)?so("Cannot add the same private member more than once"):Oe instanceof WeakSet?Oe.add(xe):Oe.set(xe,Qe),Ge=(xe,Oe,Qe,dt)=>(Ic(xe,Oe,"write to private field"),dt?dt.call(xe,Qe):Oe.set(xe,Qe),Qe),Or=(xe,Oe,Qe)=>(Ic(xe,Oe,"access private method"),Qe);var pg,Qa,$a,wa,Pa,Ko,eo,ro,Dt,Cc,Tc,Ig,Cg,At,bc,an,xa,on,Ft,ut,sn,xn,Gn,Ea,Kn,Sa,to,no,Xn,fs,Rr,zS,LS,Dc,Ps,xs,Ac,Bt,ln,vt,Ia,Xo,Zo,ms,Zn,ao,Jo,hs,Tg,Qo,$o,oo,_g,gg,ys;const Oe="5";typeof window<"u"&&((pg=window.__svelte??(window.__svelte={})).v??(pg.v=new Set)).add(Oe);const Qe=1,dt=2,kr=4,Vr=8,Rt=16,at=1,oi=2,$n=4,lo=8,lr=16,co=1,bt=2,uo=4,po=1,ii=2,Dr=Symbol(),pt="http://www.w3.org/1999/xhtml",_o="http://www.w3.org/2000/svg",Qr="@attach",ea=!1;var si=Array.isArray,Dg=Array.prototype.indexOf,li=Array.from,Fc=Object.defineProperty,Sn=Object.getOwnPropertyDescriptor,Mc=Object.getOwnPropertyDescriptors,Ag=Object.prototype,Fg=Array.prototype,Es=Object.getPrototypeOf,qc=Object.isExtensible;function Ta(r){return typeof r=="function"}const tr=()=>{};function Mg(r){return r()}function ci(r){for(var e=0;e<r.length;e++)r[e]()}function zc(){var r,e,t=new Promise((n,a)=>{r=n,e=a});return{promise:t,resolve:r,reject:e}}function ui(r,e){if(Array.isArray(r))return r;if(e===void 0||!(Symbol.iterator in r))return Array.from(r);const t=[];for(const n of r)if(t.push(n),t.length===e)break;return t}const Wr=2,di=4,go=8,Ss=1<<24,Ut=16,cn=32,In=64,Is=128,kt=512,Hr=1024,$r=2048,Vt=4096,_t=8192,un=16384,pi=32768,Wt=65536,Lc=1<<17,Oc=1<<18,ra=1<<19,Nc=1<<20,dn=1<<25,fo=32768,Cs=1<<21,Ts=1<<22,Cn=1<<23,Ht=Symbol("$state"),jc=Symbol("legacy props"),qg=Symbol(""),Da=new class extends Error{constructor(){super(...arguments);ee(this,"name","StaleReactionError");ee(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Ds(r){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function zg(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Lg(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Og(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ng(r){throw new Error("https://svelte.dev/e/effect_orphan")}function jg(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Bg(r){throw new Error("https://svelte.dev/e/props_invalid_value")}function Rg(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ug(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Vg(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Wg(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Hg(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Yg(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Bc(r){return r===this.v}function As(r,e){return r!=r?e==e:r!==e||r!==null&&typeof r=="object"||typeof r=="function"}function Rc(r){return!As(r,this.v)}let Aa=!1,Gg=!1;function Kg(){Aa=!0}let cr=null;function Fa(r){cr=r}function Ze(r){return Uc().get(r)}function vr(r,e){return Uc().set(r,e),e}function me(r,e=!1,t){cr={p:cr,i:!1,c:null,e:null,s:r,x:null,l:Aa&&!e?{s:null,u:null,$:[]}:null}}function he(r){var e=cr,t=e.e;if(t!==null){e.e=null;for(var n of t)pu(n)}return r!==void 0&&(e.x=r),e.i=!0,cr=e.p,r??{}}function Ma(){return!Aa||cr!==null&&cr.l===null}function Uc(r){return cr===null&&Ds(),cr.c??(cr.c=new Map(Xg(cr)||void 0))}function Xg(r){let e=r.p;for(;e!==null;){const t=e.c;if(t!==null)return t;e=e.p}return null}let ta=[];function Vc(){var r=ta;ta=[],ci(r)}function Tn(r){if(ta.length===0&&!mo){var e=ta;queueMicrotask(()=>{e===ta&&Vc()})}ta.push(r)}function Zg(){for(;ta.length>0;)Vc()}function Wc(r){var e=$e;if(e===null)return Je.f|=Cn,r;if((e.f&pi)===0){if((e.f&Is)===0)throw r;e.b.error(r)}else qa(r,e)}function qa(r,e){for(;e!==null;){if((e.f&Is)!==0)try{e.b.error(r);return}catch(t){r=t}e=e.parent}throw r}const Jg=-7169;function zr(r,e){r.f=r.f&Jg|e}function Fs(r){(r.f&kt)!==0||r.deps===null?zr(r,Hr):zr(r,Vt)}function Hc(r){if(r!==null)for(const e of r)(e.f&Wr)===0||(e.f&fo)===0||(e.f^=fo,Hc(e.deps))}function Yc(r,e,t){(r.f&$r)!==0?e.add(r):(r.f&Vt)!==0&&t.add(r),Hc(r.deps),zr(r,Hr)}const _i=new Set;let rr=null,gi=null,Yr=null,wt=[],fi=null,Ms=!1,mo=!1;const gs=class gs{constructor(){Xe(this,Dt);ee(this,"committed",!1);ee(this,"current",new Map);ee(this,"previous",new Map);Xe(this,Qa,new Set);Xe(this,$a,new Set);Xe(this,wa,0);Xe(this,Pa,0);Xe(this,Ko,null);Xe(this,eo,new Set);Xe(this,ro,new Set);ee(this,"skipped_effects",new Set);ee(this,"is_fork",!1)}is_deferred(){return this.is_fork||Q(this,Pa)>0}process(e){var a;wt=[],gi=null,this.apply();var t=[],n=[];for(const i of e)Or(this,Dt,Cc).call(this,i,t,n);this.is_fork||Or(this,Dt,Ig).call(this),this.is_deferred()?(Or(this,Dt,Tc).call(this,n),Or(this,Dt,Tc).call(this,t)):(gi=this,rr=null,Kc(n),Kc(t),gi=null,(a=Q(this,Ko))==null||a.resolve()),Yr=null}capture(e,t){t!==Dr&&!this.previous.has(e)&&this.previous.set(e,t),(e.f&Cn)===0&&(this.current.set(e,e.v),Yr==null||Yr.set(e,e.v))}activate(){rr=this,this.apply()}deactivate(){rr===this&&(rr=null,Yr=null)}flush(){if(this.activate(),wt.length>0){if(Gc(),rr!==null&&rr!==this)return}else Q(this,wa)===0&&this.process([]);this.deactivate()}discard(){for(const e of Q(this,$a))e(this);Q(this,$a).clear()}increment(e){Ge(this,wa,Q(this,wa)+1),e&&Ge(this,Pa,Q(this,Pa)+1)}decrement(e){Ge(this,wa,Q(this,wa)-1),e&&Ge(this,Pa,Q(this,Pa)-1),this.revive()}revive(){for(const e of Q(this,eo))Q(this,ro).delete(e),zr(e,$r),pn(e);for(const e of Q(this,ro))zr(e,Vt),pn(e);this.flush()}oncommit(e){Q(this,Qa).add(e)}ondiscard(e){Q(this,$a).add(e)}settled(){return(Q(this,Ko)??Ge(this,Ko,zc())).promise}static ensure(){if(rr===null){const e=rr=new gs;_i.add(rr),mo||gs.enqueue(()=>{rr===e&&e.flush()})}return rr}static enqueue(e){Tn(e)}apply(){}};Qa=new WeakMap,$a=new WeakMap,wa=new WeakMap,Pa=new WeakMap,Ko=new WeakMap,eo=new WeakMap,ro=new WeakMap,Dt=new WeakSet,Cc=function(e,t,n){e.f^=Hr;for(var a=e.first,i=null;a!==null;){var s=a.f,l=(s&(cn|In))!==0,c=l&&(s&Hr)!==0,u=c||(s&_t)!==0||this.skipped_effects.has(a);if(!u&&a.fn!==null){l?a.f^=Hr:i!==null&&(s&(di|go|Ss))!==0?i.b.defer_effect(a):(s&di)!==0?t.push(a):Na(a)&&((s&Ut)!==0&&Q(this,eo).add(a),ja(a));var d=a.first;if(d!==null){a=d;continue}}var p=a.parent;for(a=a.next;a===null&&p!==null;)p===i&&(i=null),a=p.next,p=p.parent}},Tc=function(e){for(var t=0;t<e.length;t+=1)Yc(e[t],Q(this,eo),Q(this,ro))},Ig=function(){if(Q(this,Pa)===0){for(const e of Q(this,Qa))e();Q(this,Qa).clear()}Q(this,wa)===0&&Or(this,Dt,Cg).call(this)},Cg=function(){var a;if(_i.size>1){this.previous.clear();var e=Yr,t=!0;for(const i of _i){if(i===this){t=!1;continue}const s=[];for(const[c,u]of this.current){if(i.current.has(c))if(t&&u!==i.current.get(c))i.current.set(c,u);else continue;s.push(c)}if(s.length===0)continue;const l=[...i.current.keys()].filter(c=>!this.current.has(c));if(l.length>0){var n=wt;wt=[];const c=new Set,u=new Map;for(const d of s)Xc(d,l,c,u);if(wt.length>0){rr=i,i.apply();for(const d of wt)Or(a=i,Dt,Cc).call(a,d,[],[]);i.deactivate()}wt=n}}rr=null,Yr=e}this.committed=!0,_i.delete(this)};let Yt=gs;function Qg(r){var e=mo;mo=!0;try{for(var t;;){if(Zg(),wt.length===0&&(rr==null||rr.flush(),wt.length===0))return fi=null,t;Gc()}}finally{mo=e}}function Gc(){var r=la;Ms=!0;var e=null;try{var t=0;for(hi(!0);wt.length>0;){var n=Yt.ensure();if(t++>1e3){var a,i;$g()}n.process(wt),An.clear()}}finally{Ms=!1,hi(r),fi=null}}function $g(){try{jg()}catch(r){qa(r,fi)}}let zt=null;function Kc(r){var e=r.length;if(e!==0){for(var t=0;t<e;){var n=r[t++];if((n.f&(un|_t))===0&&Na(n)&&(zt=new Set,ja(n),n.deps===null&&n.first===null&&n.nodes===null&&(n.teardown===null&&n.ac===null?vu(n):n.fn=null),(zt==null?void 0:zt.size)>0)){An.clear();for(const a of zt){if((a.f&(un|_t))!==0)continue;const i=[a];let s=a.parent;for(;s!==null;)zt.has(s)&&(zt.delete(s),i.push(s)),s=s.parent;for(let l=i.length-1;l>=0;l--){const c=i[l];(c.f&(un|_t))===0&&ja(c)}}zt.clear()}}zt=null}}function Xc(r,e,t,n){if(!t.has(r)&&(t.add(r),r.reactions!==null))for(const a of r.reactions){const i=a.f;(i&Wr)!==0?Xc(a,e,t,n):(i&(Ts|Ut))!==0&&(i&$r)===0&&Zc(a,e,n)&&(zr(a,$r),pn(a))}}function Zc(r,e,t){const n=t.get(r);if(n!==void 0)return n;if(r.deps!==null)for(const a of r.deps){if(e.includes(a))return!0;if((a.f&Wr)!==0&&Zc(a,e,t))return t.set(a,!0),!0}return t.set(r,!1),!1}function pn(r){for(var e=fi=r;e.parent!==null;){e=e.parent;var t=e.f;if(Ms&&e===$e&&(t&Ut)!==0&&(t&Oc)===0)return;if((t&(In|cn))!==0){if((t&Hr)===0)return;e.f^=Hr}}wt.push(e)}function Jc(r){let e=0,t=na(0),n;return()=>{Ls()&&(o(t),oa(()=>(e===0&&(n=He(()=>r(()=>vo(t)))),e+=1,()=>{Tn(()=>{e-=1,e===0&&(n==null||n(),n=void 0,vo(t))})})))}}var ef=Wt|ra|Is;function Qc(r,e,t){new rf(r,e,t)}class rf{constructor(e,t,n){Xe(this,Rr);ee(this,"parent");ee(this,"is_pending",!1);Xe(this,At);Xe(this,bc,null);Xe(this,an);Xe(this,xa);Xe(this,on);Xe(this,Ft,null);Xe(this,ut,null);Xe(this,sn,null);Xe(this,xn,null);Xe(this,Gn,null);Xe(this,Ea,0);Xe(this,Kn,0);Xe(this,Sa,!1);Xe(this,to,new Set);Xe(this,no,new Set);Xe(this,Xn,null);Xe(this,fs,Jc(()=>(Ge(this,Xn,na(Q(this,Ea))),()=>{Ge(this,Xn,null)})));Ge(this,At,e),Ge(this,an,t),Ge(this,xa,n),this.parent=$e.b,this.is_pending=!!Q(this,an).pending,Ge(this,on,ia(()=>{$e.b=this;{var a=Or(this,Rr,Dc).call(this);try{Ge(this,Ft,ot(()=>n(a)))}catch(i){this.error(i)}Q(this,Kn)>0?Or(this,Rr,xs).call(this):this.is_pending=!1}return()=>{var i;(i=Q(this,Gn))==null||i.remove()}},ef))}defer_effect(e){Yc(e,Q(this,to),Q(this,no))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!Q(this,an).pending}update_pending_count(e){Or(this,Rr,Ac).call(this,e),Ge(this,Ea,Q(this,Ea)+e),Q(this,Xn)&&za(Q(this,Xn),Q(this,Ea))}get_effect_pending(){return Q(this,fs).call(this),o(Q(this,Xn))}error(e){var t=Q(this,an).onerror;let n=Q(this,an).failed;if(Q(this,Sa)||!t&&!n)throw e;Q(this,Ft)&&(Nr(Q(this,Ft)),Ge(this,Ft,null)),Q(this,ut)&&(Nr(Q(this,ut)),Ge(this,ut,null)),Q(this,sn)&&(Nr(Q(this,sn)),Ge(this,sn,null));var a=!1,i=!1;const s=()=>{if(a){Yg();return}a=!0,i&&Wg(),Yt.ensure(),Ge(this,Ea,0),Q(this,sn)!==null&&sa(Q(this,sn),()=>{Ge(this,sn,null)}),this.is_pending=this.has_pending_snippet(),Ge(this,Ft,Or(this,Rr,Ps).call(this,()=>(Ge(this,Sa,!1),ot(()=>Q(this,xa).call(this,Q(this,At)))))),Q(this,Kn)>0?Or(this,Rr,xs).call(this):this.is_pending=!1};var l=Je;try{Xr(null),i=!0,t==null||t(e,s),i=!1}catch(c){qa(c,Q(this,on)&&Q(this,on).parent)}finally{Xr(l)}n&&Tn(()=>{Ge(this,sn,Or(this,Rr,Ps).call(this,()=>{Yt.ensure(),Ge(this,Sa,!0);try{return ot(()=>{n(Q(this,At),()=>e,()=>s)})}catch(c){return qa(c,Q(this,on).parent),null}finally{Ge(this,Sa,!1)}}))})}}At=new WeakMap,bc=new WeakMap,an=new WeakMap,xa=new WeakMap,on=new WeakMap,Ft=new WeakMap,ut=new WeakMap,sn=new WeakMap,xn=new WeakMap,Gn=new WeakMap,Ea=new WeakMap,Kn=new WeakMap,Sa=new WeakMap,to=new WeakMap,no=new WeakMap,Xn=new WeakMap,fs=new WeakMap,Rr=new WeakSet,zS=function(){try{Ge(this,Ft,ot(()=>Q(this,xa).call(this,Q(this,At))))}catch(e){this.error(e)}},LS=function(){const e=Q(this,an).pending;e&&(Ge(this,ut,ot(()=>e(Q(this,At)))),Yt.enqueue(()=>{var t=Or(this,Rr,Dc).call(this);Ge(this,Ft,Or(this,Rr,Ps).call(this,()=>(Yt.ensure(),ot(()=>Q(this,xa).call(this,t))))),Q(this,Kn)>0?Or(this,Rr,xs).call(this):(sa(Q(this,ut),()=>{Ge(this,ut,null)}),this.is_pending=!1)}))},Dc=function(){var e=Q(this,At);return this.is_pending&&(Ge(this,Gn,Gt()),Q(this,At).before(Q(this,Gn)),e=Q(this,Gn)),e},Ps=function(e){var t=$e,n=Je,a=cr;xt(Q(this,on)),Xr(Q(this,on)),Fa(Q(this,on).ctx);try{return e()}catch(i){return Wc(i),null}finally{xt(t),Xr(n),Fa(a)}},xs=function(){const e=Q(this,an).pending;Q(this,Ft)!==null&&(Ge(this,xn,document.createDocumentFragment()),Q(this,xn).append(Q(this,Gn)),ku(Q(this,Ft),Q(this,xn))),Q(this,ut)===null&&Ge(this,ut,ot(()=>e(Q(this,At))))},Ac=function(e){var t;if(!this.has_pending_snippet()){this.parent&&Or(t=this.parent,Rr,Ac).call(t,e);return}if(Ge(this,Kn,Q(this,Kn)+e),Q(this,Kn)===0){this.is_pending=!1;for(const n of Q(this,to))zr(n,$r),pn(n);for(const n of Q(this,no))zr(n,Vt),pn(n);Q(this,to).clear(),Q(this,no).clear(),Q(this,ut)&&sa(Q(this,ut),()=>{Ge(this,ut,null)}),Q(this,xn)&&(Q(this,At).before(Q(this,xn)),Ge(this,xn,null))}};function $c(r,e,t,n){const a=Ma()?ho:Dn;if(t.length===0&&r.length===0){n(e.map(a));return}var i=rr,s=$e,l=tf();function c(){Promise.all(t.map(u=>nf(u))).then(u=>{l();try{n([...e.map(a),...u])}catch(d){(s.f&un)===0&&qa(d,s)}i==null||i.deactivate(),mi()}).catch(u=>{qa(u,s)})}r.length>0?Promise.all(r).then(()=>{l();try{return c()}finally{i==null||i.deactivate(),mi()}}):c()}function tf(){var r=$e,e=Je,t=cr,n=rr;return function(i=!0){xt(r),Xr(e),Fa(t),i&&(n==null||n.activate())}}function mi(){xt(null),Xr(null),Fa(null)}function ho(r){var e=Wr|$r,t=Je!==null&&(Je.f&Wr)!==0?Je:null;return $e!==null&&($e.f|=ra),{ctx:cr,deps:null,effects:null,equals:Bc,f:e,fn:r,reactions:null,rv:0,v:Dr,wv:0,parent:t??$e,ac:null}}function nf(r,e,t){let n=$e;n===null&&zg();var a=n.b,i=void 0,s=na(Dr),l=!Je,c=new Map;return mf(()=>{var _;var u=zc();i=u.promise;try{Promise.resolve(r()).then(u.resolve,u.reject).then(()=>{d===rr&&d.committed&&d.deactivate(),mi()})}catch(f){u.reject(f),mi()}var d=rr;if(l){var p=a.is_rendered();a.update_pending_count(1),d.increment(p),(_=c.get(d))==null||_.reject(Da),c.delete(d),c.set(d,u)}const g=(f,v=void 0)=>{if(d.activate(),v)v!==Da&&(s.f|=Cn,za(s,v));else{(s.f&Cn)!==0&&(s.f^=Cn),za(s,f);for(const[w,h]of c){if(c.delete(w),w===d)break;h.reject(Da)}}l&&(a.update_pending_count(-1),d.decrement(p))};u.promise.then(g,f=>g(null,f||"unknown"))}),Oa(()=>{for(const u of c.values())u.reject(Da)}),new Promise(u=>{function d(p){function g(){p===i?u(s):d(i)}p.then(g,g)}d(i)})}function m(r){const e=ho(r);return Pu(e),e}function Dn(r){const e=ho(r);return e.equals=Rc,e}function eu(r){var e=r.effects;if(e!==null){r.effects=null;for(var t=0;t<e.length;t+=1)Nr(e[t])}}function af(r){for(var e=r.parent;e!==null;){if((e.f&Wr)===0)return(e.f&un)===0?e:null;e=e.parent}return null}function qs(r){var e,t=$e;xt(af(r));try{r.f&=~fo,eu(r),e=Cu(r)}finally{xt(t)}return e}function ru(r){var e=qs(r);if(!r.equals(e)&&(r.wv=Su(),(!(rr!=null&&rr.is_fork)||r.deps===null)&&(r.v=e,r.deps===null))){zr(r,Hr);return}Fn||(Yr!==null?(Ls()||rr!=null&&rr.is_fork)&&Yr.set(r,e):Fs(r))}let zs=new Set;const An=new Map;let tu=!1;function na(r,e){var t={f:0,v:r,reactions:null,equals:Bc,rv:0,wv:0};return t}function re(r,e){const t=na(r);return Pu(t),t}function ur(r,e=!1,t=!0){var a;const n=na(r);return e||(n.equals=Rc),Aa&&t&&cr!==null&&cr.l!==null&&((a=cr.l).s??(a.s=[])).push(n),n}function z(r,e,t=!1){Je!==null&&(!Lt||(Je.f&Lc)!==0)&&Ma()&&(Je.f&(Wr|Ut|Ts|Lc))!==0&&!(et!=null&&et.includes(r))&&Vg();let n=t?ar(e):e;return za(r,n)}function za(r,e){if(!r.equals(e)){var t=r.v;Fn?An.set(r,e):An.set(r,t),r.v=e;var n=Yt.ensure();if(n.capture(r,t),(r.f&Wr)!==0){const a=r;(r.f&$r)!==0&&qs(a),Fs(a)}r.wv=Su(),nu(r,$r),Ma()&&$e!==null&&($e.f&Hr)!==0&&($e.f&(cn|In))===0&&(Et===null?vf([r]):Et.push(r)),!n.is_fork&&zs.size>0&&!tu&&of()}return e}function of(){tu=!1;var r=la;hi(!0);const e=Array.from(zs);try{for(const t of e)(t.f&Hr)!==0&&zr(t,Vt),Na(t)&&ja(t)}finally{hi(r)}zs.clear()}function vo(r){z(r,r.v+1)}function nu(r,e){var t=r.reactions;if(t!==null)for(var n=Ma(),a=t.length,i=0;i<a;i++){var s=t[i],l=s.f;if(!(!n&&s===$e)){var c=(l&$r)===0;if(c&&zr(s,e),(l&Wr)!==0){var u=s;Yr==null||Yr.delete(u),(l&fo)===0&&(l&kt&&(s.f|=fo),nu(u,Vt))}else c&&((l&Ut)!==0&&zt!==null&&zt.add(s),pn(s))}}}function ar(r){if(typeof r!="object"||r===null||Ht in r)return r;const e=Es(r);if(e!==Ag&&e!==Fg)return r;var t=new Map,n=si(r),a=re(0),i=ca,s=l=>{if(ca===i)return l();var c=Je,u=ca;Xr(null),Eu(i);var d=l();return Xr(c),Eu(u),d};return n&&t.set("length",re(r.length)),new Proxy(r,{defineProperty(l,c,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Rg();var d=t.get(c);return d===void 0?d=s(()=>{var p=re(u.value);return t.set(c,p),p}):z(d,u.value,!0),!0},deleteProperty(l,c){var u=t.get(c);if(u===void 0){if(c in l){const d=s(()=>re(Dr));t.set(c,d),vo(a)}}else z(u,Dr),vo(a);return!0},get(l,c,u){var _;if(c===Ht)return r;var d=t.get(c),p=c in l;if(d===void 0&&(!p||(_=Sn(l,c))!=null&&_.writable)&&(d=s(()=>{var f=ar(p?l[c]:Dr),v=re(f);return v}),t.set(c,d)),d!==void 0){var g=o(d);return g===Dr?void 0:g}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var d=t.get(c);d&&(u.value=o(d))}else if(u===void 0){var p=t.get(c),g=p==null?void 0:p.v;if(p!==void 0&&g!==Dr)return{enumerable:!0,configurable:!0,value:g,writable:!0}}return u},has(l,c){var g;if(c===Ht)return!0;var u=t.get(c),d=u!==void 0&&u.v!==Dr||Reflect.has(l,c);if(u!==void 0||$e!==null&&(!d||(g=Sn(l,c))!=null&&g.writable)){u===void 0&&(u=s(()=>{var _=d?ar(l[c]):Dr,f=re(_);return f}),t.set(c,u));var p=o(u);if(p===Dr)return!1}return d},set(l,c,u,d){var k;var p=t.get(c),g=c in l;if(n&&c==="length")for(var _=u;_<p.v;_+=1){var f=t.get(_+"");f!==void 0?z(f,Dr):_ in l&&(f=s(()=>re(Dr)),t.set(_+"",f))}if(p===void 0)(!g||(k=Sn(l,c))!=null&&k.writable)&&(p=s(()=>re(void 0)),z(p,ar(u)),t.set(c,p));else{g=p.v!==Dr;var v=s(()=>ar(u));z(p,v)}var w=Reflect.getOwnPropertyDescriptor(l,c);if(w!=null&&w.set&&w.set.call(d,u),!g){if(n&&typeof c=="string"){var h=t.get("length"),y=Number(c);Number.isInteger(y)&&y>=h.v&&z(h,y+1)}vo(a)}return!0},ownKeys(l){o(a);var c=Reflect.ownKeys(l).filter(p=>{var g=t.get(p);return g===void 0||g.v!==Dr});for(var[u,d]of t)d.v!==Dr&&!(u in l)&&c.push(u);return c},setPrototypeOf(){Ug()}})}function au(r){try{if(r!==null&&typeof r=="object"&&Ht in r)return r[Ht]}catch{}return r}function sf(r,e){return Object.is(au(r),au(e))}var ou,iu,su,lu;function lf(){if(ou===void 0){ou=window,iu=/Firefox/.test(navigator.userAgent);var r=Element.prototype,e=Node.prototype,t=Text.prototype;su=Sn(e,"firstChild").get,lu=Sn(e,"nextSibling").get,qc(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),qc(t)&&(t.__t=void 0)}}function Gt(r=""){return document.createTextNode(r)}function gt(r){return su.call(r)}function yo(r){return lu.call(r)}function A(r,e){return gt(r)}function ie(r,e=!1){{var t=gt(r);return t instanceof Comment&&t.data===""?yo(t):t}}function Y(r,e=1,t=!1){let n=r;for(;e--;)n=yo(n);return n}function cf(r){r.textContent=""}function cu(){return!1}function uf(r,e){if(e){const t=document.body;r.autofocus=!0,Tn(()=>{document.activeElement===t&&r.focus()})}}let uu=!1;function df(){uu||(uu=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{var e;if(!r.defaultPrevented)for(const t of r.target.elements)(e=t.__on_r)==null||e.call(t)})},{capture:!0}))}function La(r){var e=Je,t=$e;Xr(null),xt(null);try{return r()}finally{Xr(e),xt(t)}}function pf(r,e,t,n=t){r.addEventListener(e,()=>La(t));const a=r.__on_r;a?r.__on_r=()=>{a(),n(!0)}:r.__on_r=()=>n(!0),df()}function du(r){$e===null&&(Je===null&&Ng(),Og()),Fn&&Lg()}function _f(r,e){var t=e.last;t===null?e.last=e.first=r:(t.next=r,r.prev=t,e.last=r)}function Pt(r,e,t){var n=$e;n!==null&&(n.f&_t)!==0&&(r|=_t);var a={ctx:cr,deps:null,nodes:null,f:r|$r|kt,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};if(t)try{ja(a),a.f|=pi}catch(l){throw Nr(a),l}else e!==null&&pn(a);var i=a;if(t&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ra)===0&&(i=i.first,(r&Ut)!==0&&(r&Wt)!==0&&i!==null&&(i.f|=Wt)),i!==null&&(i.parent=n,n!==null&&_f(i,n),Je!==null&&(Je.f&Wr)!==0&&(r&In)===0)){var s=Je;(s.effects??(s.effects=[])).push(i)}return a}function Ls(){return Je!==null&&!Lt}function Oa(r){const e=Pt(go,null,!1);return zr(e,Hr),e.teardown=r,e}function pr(r){du();var e=$e.f,t=!Je&&(e&cn)!==0&&(e&pi)===0;if(t){var n=cr;(n.e??(n.e=[])).push(r)}else return pu(r)}function pu(r){return Pt(di|Nc,r,!1)}function _u(r){return du(),Pt(go|Nc,r,!0)}function gf(r){Yt.ensure();const e=Pt(In|ra,r,!0);return()=>{Nr(e)}}function ff(r){Yt.ensure();const e=Pt(In|ra,r,!0);return(t={})=>new Promise(n=>{t.outro?sa(e,()=>{Nr(e),n(void 0)}):(Nr(e),n(void 0))})}function aa(r){return Pt(di,r,!1)}function mr(r,e){var t=cr,n={effect:null,ran:!1,deps:r};t.l.$.push(n),n.effect=oa(()=>{r(),!n.ran&&(n.ran=!0,He(e))})}function Os(){var r=cr;oa(()=>{for(var e of r.l.$){e.deps();var t=e.effect;(t.f&Hr)!==0&&t.deps!==null&&zr(t,Vt),Na(t)&&ja(t),e.ran=!1}})}function mf(r){return Pt(Ts|ra,r,!0)}function oa(r,e=0){return Pt(go|e,r,!0)}function X(r,e=[],t=[],n=[]){$c(n,e,t,a=>{Pt(go,()=>r(...a.map(o)),!0)})}function ia(r,e=0){var t=Pt(Ut|e,r,!0);return t}function gu(r,e=0){var t=Pt(Ss|e,r,!0);return t}function ot(r){return Pt(cn|ra,r,!0)}function fu(r){var e=r.teardown;if(e!==null){const t=Fn,n=Je;wu(!0),Xr(null);try{e.call(null)}finally{wu(t),Xr(n)}}}function mu(r,e=!1){var t=r.first;for(r.first=r.last=null;t!==null;){const a=t.ac;a!==null&&La(()=>{a.abort(Da)});var n=t.next;(t.f&In)!==0?t.parent=null:Nr(t,e),t=n}}function hf(r){for(var e=r.first;e!==null;){var t=e.next;(e.f&cn)===0&&Nr(e),e=t}}function Nr(r,e=!0){var t=!1;(e||(r.f&Oc)!==0)&&r.nodes!==null&&r.nodes.end!==null&&(hu(r.nodes.start,r.nodes.end),t=!0),mu(r,e&&!t),vi(r,0),zr(r,un);var n=r.nodes&&r.nodes.t;if(n!==null)for(const i of n)i.stop();fu(r);var a=r.parent;a!==null&&a.first!==null&&vu(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes=r.ac=null}function hu(r,e){for(;r!==null;){var t=r===e?null:yo(r);r.remove(),r=t}}function vu(r){var e=r.parent,t=r.prev,n=r.next;t!==null&&(t.next=n),n!==null&&(n.prev=t),e!==null&&(e.first===r&&(e.first=n),e.last===r&&(e.last=t))}function sa(r,e,t=!0){var n=[];yu(r,n,!0);var a=()=>{t&&Nr(r),e&&e()},i=n.length;if(i>0){var s=()=>--i||a();for(var l of n)l.out(s)}else a()}function yu(r,e,t){if((r.f&_t)===0){r.f^=_t;var n=r.nodes&&r.nodes.t;if(n!==null)for(const l of n)(l.is_global||t)&&e.push(l);for(var a=r.first;a!==null;){var i=a.next,s=(a.f&Wt)!==0||(a.f&cn)!==0&&(r.f&Ut)!==0;yu(a,e,s?t:!1),a=i}}}function Ns(r){bu(r,!0)}function bu(r,e){if((r.f&_t)!==0){r.f^=_t,(r.f&Hr)===0&&(zr(r,$r),pn(r));for(var t=r.first;t!==null;){var n=t.next,a=(t.f&Wt)!==0||(t.f&cn)!==0;bu(t,a?e:!1),t=n}var i=r.nodes&&r.nodes.t;if(i!==null)for(const s of i)(s.is_global||e)&&s.in()}}function ku(r,e){if(r.nodes)for(var t=r.nodes.start,n=r.nodes.end;t!==null;){var a=t===n?null:yo(t);e.append(t),t=a}}let la=!1;function hi(r){la=r}let Fn=!1;function wu(r){Fn=r}let Je=null,Lt=!1;function Xr(r){Je=r}let $e=null;function xt(r){$e=r}let et=null;function Pu(r){Je!==null&&(et===null?et=[r]:et.push(r))}let rt=null,ft=0,Et=null;function vf(r){Et=r}let xu=1,bo=0,ca=bo;function Eu(r){ca=r}function Su(){return++xu}function Na(r){var e=r.f;if((e&$r)!==0)return!0;if(e&Wr&&(r.f&=-32769),(e&Vt)!==0){for(var t=r.deps,n=t.length,a=0;a<n;a++){var i=t[a];if(Na(i)&&ru(i),i.wv>r.wv)return!0}(e&kt)!==0&&Yr===null&&zr(r,Hr)}return!1}function Iu(r,e,t=!0){var n=r.reactions;if(n!==null&&!(et!=null&&et.includes(r)))for(var a=0;a<n.length;a++){var i=n[a];(i.f&Wr)!==0?Iu(i,e,!1):e===i&&(t?zr(i,$r):(i.f&Hr)!==0&&zr(i,Vt),pn(i))}}function Cu(r){var f;var e=rt,t=ft,n=Et,a=Je,i=et,s=cr,l=Lt,c=ca,u=r.f;rt=null,ft=0,Et=null,Je=(u&(cn|In))===0?r:null,et=null,Fa(r.ctx),Lt=!1,ca=++bo,r.ac!==null&&(La(()=>{r.ac.abort(Da)}),r.ac=null);try{r.f|=Cs;var d=r.fn,p=d(),g=r.deps;if(rt!==null){var _;if(vi(r,ft),g!==null&&ft>0)for(g.length=ft+rt.length,_=0;_<rt.length;_++)g[ft+_]=rt[_];else r.deps=g=rt;if(Ls()&&(r.f&kt)!==0)for(_=ft;_<g.length;_++)((f=g[_]).reactions??(f.reactions=[])).push(r)}else g!==null&&ft<g.length&&(vi(r,ft),g.length=ft);if(Ma()&&Et!==null&&!Lt&&g!==null&&(r.f&(Wr|Vt|$r))===0)for(_=0;_<Et.length;_++)Iu(Et[_],r);return a!==null&&a!==r&&(bo++,Et!==null&&(n===null?n=Et:n.push(...Et))),(r.f&Cn)!==0&&(r.f^=Cn),p}catch(v){return Wc(v)}finally{r.f^=Cs,rt=e,ft=t,Et=n,Je=a,et=i,Fa(s),Lt=l,ca=c}}function yf(r,e){let t=e.reactions;if(t!==null){var n=Dg.call(t,r);if(n!==-1){var a=t.length-1;a===0?t=e.reactions=null:(t[n]=t[a],t.pop())}}if(t===null&&(e.f&Wr)!==0&&(rt===null||!rt.includes(e))){var i=e;(i.f&kt)!==0&&(i.f^=kt,i.f&=-32769),Fs(i),eu(i),vi(i,0)}}function vi(r,e){var t=r.deps;if(t!==null)for(var n=e;n<t.length;n++)yf(r,t[n])}function ja(r){var e=r.f;if((e&un)===0){zr(r,Hr);var t=$e,n=la;$e=r,la=!0;try{(e&(Ut|Ss))!==0?hf(r):mu(r),fu(r);var a=Cu(r);r.teardown=typeof a=="function"?a:null,r.wv=xu;var i;ea&&Gg&&(r.f&$r)!==0&&r.deps}finally{la=n,$e=t}}}async function Tu(){await Promise.resolve(),Qg()}function o(r){var e=r.f,t=(e&Wr)!==0;if(Je!==null&&!Lt){var n=$e!==null&&($e.f&un)!==0;if(!n&&!(et!=null&&et.includes(r))){var a=Je.deps;if((Je.f&Cs)!==0)r.rv<bo&&(r.rv=bo,rt===null&&a!==null&&a[ft]===r?ft++:rt===null?rt=[r]:rt.includes(r)||rt.push(r));else{(Je.deps??(Je.deps=[])).push(r);var i=r.reactions;i===null?r.reactions=[Je]:i.includes(Je)||i.push(Je)}}}if(Fn&&An.has(r))return An.get(r);if(t){var s=r;if(Fn){var l=s.v;return((s.f&Hr)===0&&s.reactions!==null||Au(s))&&(l=qs(s)),An.set(s,l),l}var c=(s.f&kt)===0&&!Lt&&Je!==null&&(la||(Je.f&kt)!==0),u=s.deps===null;Na(s)&&(c&&(s.f|=kt),ru(s)),c&&!u&&Du(s)}if(Yr!=null&&Yr.has(r))return Yr.get(r);if((r.f&Cn)!==0)throw r.v;return r.v}function Du(r){if(r.deps!==null){r.f|=kt;for(const e of r.deps)(e.reactions??(e.reactions=[])).push(r),(e.f&Wr)!==0&&(e.f&kt)===0&&Du(e)}}function Au(r){if(r.v===Dr)return!0;if(r.deps===null)return!1;for(const e of r.deps)if(An.has(e)||(e.f&Wr)!==0&&Au(e))return!0;return!1}function He(r){var e=Lt;try{return Lt=!0,r()}finally{Lt=e}}function bf(r,e){var t={};for(var n in r)e.includes(n)||(t[n]=r[n]);for(var a of Object.getOwnPropertySymbols(r))Object.propertyIsEnumerable.call(r,a)&&!e.includes(a)&&(t[a]=r[a]);return t}function Ke(r){if(!(typeof r!="object"||!r||r instanceof EventTarget)){if(Ht in r)js(r);else if(!Array.isArray(r))for(let e in r){const t=r[e];typeof t=="object"&&t&&Ht in t&&js(t)}}}function js(r,e=new Set){if(typeof r=="object"&&r!==null&&!(r instanceof EventTarget)&&!e.has(r)){e.add(r),r instanceof Date&&r.getTime();for(let n in r)try{js(r[n],e)}catch{}const t=Es(r);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const n=Mc(t);for(let a in n){const i=n[a].get;if(i)try{i.call(r)}catch{}}}}}const Fu=new Set,Bs=new Set;function Rs(r,e,t,n={}){function a(i){if(n.capture||ko.call(e,i),!i.cancelBubble)return La(()=>t==null?void 0:t.call(this,i))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?Tn(()=>{e.addEventListener(r,a,n)}):e.addEventListener(r,a,n),a}function kf(r,e,t,n={}){var a=Rs(e,r,t,n);return()=>{r.removeEventListener(e,a,n)}}function jr(r,e,t,n,a){var i={capture:n,passive:a},s=Rs(r,e,t,i);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Oa(()=>{e.removeEventListener(r,s,i)})}function _n(r){for(var e=0;e<r.length;e++)Fu.add(r[e]);for(var t of Bs)t(r)}let Mu=null;function ko(r){var w;var e=this,t=e.ownerDocument,n=r.type,a=((w=r.composedPath)==null?void 0:w.call(r))||[],i=a[0]||r.target;Mu=r;var s=0,l=Mu===r&&r.__root;if(l){var c=a.indexOf(l);if(c!==-1&&(e===document||e===window)){r.__root=e;return}var u=a.indexOf(e);if(u===-1)return;c<=u&&(s=c)}if(i=a[s]||r.target,i!==e){Fc(r,"currentTarget",{configurable:!0,get(){return i||t}});var d=Je,p=$e;Xr(null),xt(null);try{for(var g,_=[];i!==null;){var f=i.assignedSlot||i.parentNode||i.host||null;try{var v=i["__"+n];v!=null&&(!i.disabled||r.target===i)&&v.call(i,r)}catch(h){g?_.push(h):g=h}if(r.cancelBubble||f===e||f===null)break;i=f}if(g){for(let h of _)queueMicrotask(()=>{throw h});throw g}}finally{r.__root=e,delete r.currentTarget,Xr(d),xt(p)}}}function Us(r){var e=document.createElement("template");return e.innerHTML=r.replaceAll("<!>","<!---->"),e.content}function Mn(r,e){var t=$e;t.nodes===null&&(t.nodes={start:r,end:e,a:null,t:null})}function W(r,e){var t=(e&po)!==0,n=(e&ii)!==0,a,i=!r.startsWith("<!>");return()=>{a===void 0&&(a=Us(i?r:"<!>"+r),t||(a=gt(a)));var s=n||iu?document.importNode(a,!0):a.cloneNode(!0);if(t){var l=gt(s),c=s.lastChild;Mn(l,c)}else Mn(s,s);return s}}function wf(r,e,t="svg"){var n=!r.startsWith("<!>"),a=(e&po)!==0,i=`<${t}>${n?r:"<!>"+r}</${t}>`,s;return()=>{if(!s){var l=Us(i),c=gt(l);if(a)for(s=document.createDocumentFragment();gt(c);)s.appendChild(gt(c));else s=gt(c)}var u=s.cloneNode(!0);if(a){var d=gt(u),p=u.lastChild;Mn(d,p)}else Mn(u,u);return u}}function Ar(r,e){return wf(r,e,"svg")}function Re(r=""){{var e=Gt(r+"");return Mn(e,e),e}}function Ie(){var r=document.createDocumentFragment(),e=document.createComment(""),t=Gt();return r.append(e,t),Mn(e,t),r}function P(r,e){r!==null&&r.before(e)}function Pf(r){return r.endsWith("capture")&&r!=="gotpointercapture"&&r!=="lostpointercapture"}const xf=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Ef(r){return xf.includes(r)}const Sf={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function If(r){return r=r.toLowerCase(),Sf[r]??r}const Cf=["touchstart","touchmove"];function Tf(r){return Cf.includes(r)}let yi=!0;function bi(r){yi=r}function ke(r,e){var t=e==null?"":typeof e=="object"?e+"":e;t!==(r.__t??(r.__t=r.nodeValue))&&(r.__t=t,r.nodeValue=t+"")}function ua(r,e){return Df(r,e)}const Ba=new Map;function Df(r,{target:e,anchor:t,props:n={},events:a,context:i,intro:s=!0}){lf();var l=new Set,c=p=>{for(var g=0;g<p.length;g++){var _=p[g];if(!l.has(_)){l.add(_);var f=Tf(_);e.addEventListener(_,ko,{passive:f});var v=Ba.get(_);v===void 0?(document.addEventListener(_,ko,{passive:f}),Ba.set(_,1)):Ba.set(_,v+1)}}};c(li(Fu)),Bs.add(c);var u=void 0,d=ff(()=>{var p=t??e.appendChild(Gt());return Qc(p,{pending:()=>{}},g=>{if(i){me({});var _=cr;_.c=i}a&&(n.$$events=a),yi=s,u=r(g,n)||{},yi=!0,i&&he()}),()=>{var f;for(var g of l){e.removeEventListener(g,ko);var _=Ba.get(g);--_===0?(document.removeEventListener(g,ko),Ba.delete(g)):Ba.set(g,_)}Bs.delete(c),p!==t&&((f=p.parentNode)==null||f.removeChild(p))}});return Vs.set(u,d),u}let Vs=new WeakMap;function wo(r,e){const t=Vs.get(r);return t?(Vs.delete(r),t(e)):Promise.resolve()}class Po{constructor(e,t=!0){ee(this,"anchor");Xe(this,Bt,new Map);Xe(this,ln,new Map);Xe(this,vt,new Map);Xe(this,Ia,new Set);Xe(this,Xo,!0);Xe(this,Zo,()=>{var e=rr;if(Q(this,Bt).has(e)){var t=Q(this,Bt).get(e),n=Q(this,ln).get(t);if(n)Ns(n),Q(this,Ia).delete(t);else{var a=Q(this,vt).get(t);a&&(Q(this,ln).set(t,a.effect),Q(this,vt).delete(t),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[i,s]of Q(this,Bt)){if(Q(this,Bt).delete(i),i===e)break;const l=Q(this,vt).get(s);l&&(Nr(l.effect),Q(this,vt).delete(s))}for(const[i,s]of Q(this,ln)){if(i===t||Q(this,Ia).has(i))continue;const l=()=>{if(Array.from(Q(this,Bt).values()).includes(i)){var u=document.createDocumentFragment();ku(s,u),u.append(Gt()),Q(this,vt).set(i,{effect:s,fragment:u})}else Nr(s);Q(this,Ia).delete(i),Q(this,ln).delete(i)};Q(this,Xo)||!n?(Q(this,Ia).add(i),sa(s,l,!1)):l()}}});Xe(this,ms,e=>{Q(this,Bt).delete(e);const t=Array.from(Q(this,Bt).values());for(const[n,a]of Q(this,vt))t.includes(n)||(Nr(a.effect),Q(this,vt).delete(n))});this.anchor=e,Ge(this,Xo,t)}ensure(e,t){var n=rr,a=cu();if(t&&!Q(this,ln).has(e)&&!Q(this,vt).has(e))if(a){var i=document.createDocumentFragment(),s=Gt();i.append(s),Q(this,vt).set(e,{effect:ot(()=>t(s)),fragment:i})}else Q(this,ln).set(e,ot(()=>t(this.anchor)));if(Q(this,Bt).set(n,e),a){for(const[l,c]of Q(this,ln))l===e?n.skipped_effects.delete(c):n.skipped_effects.add(c);for(const[l,c]of Q(this,vt))l===e?n.skipped_effects.delete(c.effect):n.skipped_effects.add(c.effect);n.oncommit(Q(this,Zo)),n.ondiscard(Q(this,ms))}else Q(this,Zo).call(this)}}Bt=new WeakMap,ln=new WeakMap,vt=new WeakMap,Ia=new WeakMap,Xo=new WeakMap,Zo=new WeakMap,ms=new WeakMap;function wr(r,e,...t){var n=new Po(r);ia(()=>{const a=e()??null;n.ensure(a,a&&(i=>a(i,...t)))},Wt)}function Pr(r){cr===null&&Ds(),Aa&&cr.l!==null?Af(cr).m.push(r):pr(()=>{const e=He(r);if(typeof e=="function")return e})}function Ot(r){cr===null&&Ds(),Pr(()=>()=>He(r))}function Af(r){var e=r.l;return e.u??(e.u={a:[],b:[],m:[]})}function G(r,e,t=!1){var n=new Po(r),a=t?Wt:0;function i(s,l){n.ensure(s,l)}ia(()=>{var s=!1;e((l,c=!0)=>{s=!0,i(c,l)}),s||i(!1,null)},a)}function qu(r,e,t){var n=new Po(r),a=!Ma();ia(()=>{var i=e();a&&i!==null&&typeof i=="object"&&(i={}),n.ensure(i,t)})}function gn(r,e){return e}function Ff(r,e,t){for(var n=[],a=e.length,i,s=e.length,l=0;l<a;l++){let p=e[l];sa(p,()=>{if(i){if(i.pending.delete(p),i.done.add(p),i.pending.size===0){var g=r.outrogroups;Ws(li(i.done)),g.delete(i),g.size===0&&(r.outrogroups=null)}}else s-=1},!1)}if(s===0){var c=n.length===0&&t!==null;if(c){var u=t,d=u.parentNode;cf(d),d.append(u),r.items.clear()}Ws(e,!c)}else i={pending:new Set(e),done:new Set},(r.outrogroups??(r.outrogroups=new Set)).add(i)}function Ws(r,e=!0){for(var t=0;t<r.length;t++)Nr(r[t],e)}var zu;function Kt(r,e,t,n,a,i=null){var s=r,l=new Map,c=(e&kr)!==0;if(c){var u=r;s=u.appendChild(Gt())}var d=null,p=Dn(()=>{var h=t();return si(h)?h:h==null?[]:li(h)}),g,_=!0;function f(){w.fallback=d,Mf(w,g,s,e,n),d!==null&&(g.length===0?(d.f&dn)===0?Ns(d):(d.f^=dn,xo(d,null,s)):sa(d,()=>{d=null}))}var v=ia(()=>{g=o(p);for(var h=g.length,y=new Set,k=rr,b=cu(),E=0;E<h;E+=1){var S=g[E],I=n(S,E),q=_?null:l.get(I);q?(q.v&&za(q.v,S),q.i&&za(q.i,E),b&&k.skipped_effects.delete(q.e)):(q=qf(l,_?s:zu??(zu=Gt()),S,I,E,a,e,t),_||(q.e.f|=dn),l.set(I,q)),y.add(I)}if(h===0&&i&&!d&&(_?d=ot(()=>i(s)):(d=ot(()=>i(zu??(zu=Gt()))),d.f|=dn)),!_)if(b){for(const[x,F]of l)y.has(x)||k.skipped_effects.add(F.e);k.oncommit(f),k.ondiscard(()=>{})}else f();o(p)}),w={effect:v,items:l,outrogroups:null,fallback:d};_=!1}function Mf(r,e,t,n,a){var F,T,j,O,N,L,C,D,M;var i=(n&Vr)!==0,s=e.length,l=r.items,c=r.effect.first,u,d=null,p,g=[],_=[],f,v,w,h;if(i)for(h=0;h<s;h+=1)f=e[h],v=a(f,h),w=l.get(v).e,(w.f&dn)===0&&((T=(F=w.nodes)==null?void 0:F.a)==null||T.measure(),(p??(p=new Set)).add(w));for(h=0;h<s;h+=1){if(f=e[h],v=a(f,h),w=l.get(v).e,r.outrogroups!==null)for(const U of r.outrogroups)U.pending.delete(w),U.done.delete(w);if((w.f&dn)!==0)if(w.f^=dn,w===c)xo(w,null,t);else{var y=d?d.next:c;w===r.effect.last&&(r.effect.last=w.prev),w.prev&&(w.prev.next=w.next),w.next&&(w.next.prev=w.prev),qn(r,d,w),qn(r,w,y),xo(w,y,t),d=w,g=[],_=[],c=d.next;continue}if((w.f&_t)!==0&&(Ns(w),i&&((O=(j=w.nodes)==null?void 0:j.a)==null||O.unfix(),(p??(p=new Set)).delete(w))),w!==c){if(u!==void 0&&u.has(w)){if(g.length<_.length){var k=_[0],b;d=k.prev;var E=g[0],S=g[g.length-1];for(b=0;b<g.length;b+=1)xo(g[b],k,t);for(b=0;b<_.length;b+=1)u.delete(_[b]);qn(r,E.prev,S.next),qn(r,d,E),qn(r,S,k),c=k,d=S,h-=1,g=[],_=[]}else u.delete(w),xo(w,c,t),qn(r,w.prev,w.next),qn(r,w,d===null?r.effect.first:d.next),qn(r,d,w),d=w;continue}for(g=[],_=[];c!==null&&c!==w;)(u??(u=new Set)).add(c),_.push(c),c=c.next;if(c===null)continue}(w.f&dn)===0&&g.push(w),d=w,c=w.next}if(r.outrogroups!==null){for(const U of r.outrogroups)U.pending.size===0&&(Ws(li(U.done)),(N=r.outrogroups)==null||N.delete(U));r.outrogroups.size===0&&(r.outrogroups=null)}if(c!==null||u!==void 0){var I=[];if(u!==void 0)for(w of u)(w.f&_t)===0&&I.push(w);for(;c!==null;)(c.f&_t)===0&&c!==r.fallback&&I.push(c),c=c.next;var q=I.length;if(q>0){var x=(n&kr)!==0&&s===0?t:null;if(i){for(h=0;h<q;h+=1)(C=(L=I[h].nodes)==null?void 0:L.a)==null||C.measure();for(h=0;h<q;h+=1)(M=(D=I[h].nodes)==null?void 0:D.a)==null||M.fix()}Ff(r,I,x)}}i&&Tn(()=>{var U,V;if(p!==void 0)for(w of p)(V=(U=w.nodes)==null?void 0:U.a)==null||V.apply()})}function qf(r,e,t,n,a,i,s,l){var c=(s&Qe)!==0?(s&Rt)===0?ur(t,!1,!1):na(t):null,u=(s&dt)!==0?na(a):null;return{v:c,i:u,e:ot(()=>(i(e,c??t,u??a,l),()=>{r.delete(n)}))}}function xo(r,e,t){if(r.nodes)for(var n=r.nodes.start,a=r.nodes.end,i=e&&(e.f&dn)===0?e.nodes.start:t;n!==null;){var s=yo(n);if(i.before(n),n===a)return;n=s}}function qn(r,e,t){e===null?r.effect.first=t:e.next=t,t===null?r.effect.last=e:t.prev=e}function fn(r,e,t=!1,n=!1,a=!1){var i=r,s="";X(()=>{var l=$e;if(s!==(s=e()??"")&&(l.nodes!==null&&(hu(l.nodes.start,l.nodes.end),l.nodes=null),s!=="")){var c=s+"";t?c=`<svg>${c}</svg>`:n&&(c=`<math>${c}</math>`);var u=Us(c);if((t||n)&&(u=gt(u)),Mn(gt(u),u.lastChild),t||n)for(;gt(u);)i.before(gt(u));else i.before(u)}})}function zf(r,e,t){var n=new Po(r);ia(()=>{var a=e()??null;n.ensure(a,a&&(i=>t(i,a)))},Wt)}const Lf=()=>performance.now(),mn={tick:r=>requestAnimationFrame(r),now:()=>Lf(),tasks:new Set};function Lu(){const r=mn.now();mn.tasks.forEach(e=>{e.c(r)||(mn.tasks.delete(e),e.f())}),mn.tasks.size!==0&&mn.tick(Lu)}function Of(r){let e;return mn.tasks.size===0&&mn.tick(Lu),{promise:new Promise(t=>{mn.tasks.add(e={c:r,f:t})}),abort(){mn.tasks.delete(e)}}}function ki(r,e){La(()=>{r.dispatchEvent(new CustomEvent(e))})}function Nf(r){if(r==="float")return"cssFloat";if(r==="offset")return"cssOffset";if(r.startsWith("--"))return r;const e=r.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(t=>t[0].toUpperCase()+t.slice(1)).join("")}function Ou(r){const e={},t=r.split(";");for(const n of t){const[a,i]=n.split(":");if(!a||i===void 0)break;const s=Nf(a.trim());e[s]=i.trim()}return e}const jf=r=>r;function Nu(r,e,t,n){var k;var a=(r&co)!==0,i=(r&bt)!==0,s=a&&i,l=(r&uo)!==0,c=s?"both":a?"in":"out",u,d=e.inert,p=e.style.overflow,g,_;function f(){return La(()=>u??(u=t()(e,(n==null?void 0:n())??{},{direction:c})))}var v={is_global:l,in(){var b;if(e.inert=d,!a){_==null||_.abort(),(b=_==null?void 0:_.reset)==null||b.call(_);return}i||g==null||g.abort(),ki(e,"introstart"),g=Hs(e,f(),_,1,()=>{ki(e,"introend"),g==null||g.abort(),g=u=void 0,e.style.overflow=p})},out(b){if(!i){b==null||b(),u=void 0;return}e.inert=!0,ki(e,"outrostart"),_=Hs(e,f(),g,0,()=>{ki(e,"outroend"),b==null||b()})},stop:()=>{g==null||g.abort(),_==null||_.abort()}},w=$e;if(((k=w.nodes).t??(k.t=[])).push(v),a&&yi){var h=l;if(!h){for(var y=w.parent;y&&(y.f&Wt)!==0;)for(;(y=y.parent)&&(y.f&Ut)===0;);h=!y||(y.f&pi)!==0}h&&aa(()=>{He(()=>v.in())})}}function Hs(r,e,t,n,a){var i=n===1;if(Ta(e)){var s,l=!1;return Tn(()=>{if(!l){var w=e({direction:i?"in":"out"});s=Hs(r,w,t,n,a)}}),{abort:()=>{l=!0,s==null||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(t==null||t.deactivate(),!(e!=null&&e.duration))return a(),{abort:tr,deactivate:tr,reset:tr,t:()=>n};const{delay:c=0,css:u,tick:d,easing:p=jf}=e;var g=[];if(i&&t===void 0&&(d&&d(0,1),u)){var _=Ou(u(0,1));g.push(_,_)}var f=()=>1-n,v=r.animate(g,{duration:c,fill:"forwards"});return v.onfinish=()=>{v.cancel();var w=(t==null?void 0:t.t())??1-n;t==null||t.abort();var h=n-w,y=e.duration*Math.abs(h),k=[];if(y>0){var b=!1;if(u)for(var E=Math.ceil(y/16.666666666666668),S=0;S<=E;S+=1){var I=w+h*p(S/E),q=Ou(u(I,1-I));k.push(q),b||(b=q.overflow==="hidden")}b&&(r.style.overflow="hidden"),f=()=>{var x=v.currentTime;return w+h*p(x/y)},d&&Of(()=>{if(v.playState!=="running")return!1;var x=f();return d(x,1-x),!0})}v=r.animate(k,{duration:y,fill:"forwards"}),v.onfinish=()=>{f=()=>n,d==null||d(n,1-n),a()}},{abort:()=>{v&&(v.cancel(),v.effect=null,v.onfinish=tr)},deactivate:()=>{a=tr},reset:()=>{n===0&&(d==null||d(1,0))},t:()=>f()}}function Ys(r,e,t,n,a,i){var s=null,l=r,c=new Po(l,!1);ia(()=>{const u=e()||null;var d=u==="svg"?_o:null;if(u===null){c.ensure(null,null),bi(!0);return}return c.ensure(u,p=>{if(u){if(s=d?document.createElementNS(d,u):document.createElement(u),Mn(s,s),n){var g=s.appendChild(Gt());n(s,g)}$e.nodes.end=s,p.before(s)}}),bi(!0),()=>{u&&bi(!1)}},Wt),Oa(()=>{bi(!0)})}function Pe(r,e){aa(()=>{var t=r.getRootNode(),n=t.host?t:t.head??t.ownerDocument.head;if(!n.querySelector("#"+e.hash)){const a=document.createElement("style");a.id=e.hash,a.textContent=e.code,n.appendChild(a)}})}function Bf(r,e,t){aa(()=>{var n=He(()=>e(r,t==null?void 0:t())||{});if(t&&(n!=null&&n.update)){var a=!1,i={};oa(()=>{var s=t();Ke(s),a&&As(i,s)&&(i=s,n.update(s))}),a=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function Rf(r,e){var t=void 0,n;gu(()=>{t!==(t=e())&&(n&&(Nr(n),n=null),t&&(n=ot(()=>{aa(()=>t(r))})))})}function ju(r){var e,t,n="";if(typeof r=="string"||typeof r=="number")n+=r;else if(typeof r=="object")if(Array.isArray(r)){var a=r.length;for(e=0;e<a;e++)r[e]&&(t=ju(r[e]))&&(n&&(n+=" "),n+=t)}else for(t in r)r[t]&&(n&&(n+=" "),n+=t);return n}function Uf(){for(var r,e,t=0,n="",a=arguments.length;t<a;t++)(r=arguments[t])&&(e=ju(r))&&(n&&(n+=" "),n+=e);return n}function da(r){return typeof r=="object"?Uf(r):r??""}const Bu=[...`
2
+ \r\f \v\uFEFF`];function Vf(r,e,t){var n=r==null?"":""+r;if(e&&(n=n?n+" "+e:e),t){for(var a in t)if(t[a])n=n?n+" "+a:a;else if(n.length)for(var i=a.length,s=0;(s=n.indexOf(a,s))>=0;){var l=s+i;(s===0||Bu.includes(n[s-1]))&&(l===n.length||Bu.includes(n[l]))?n=(s===0?"":n.substring(0,s))+n.substring(l+1):s=l}}return n===""?null:n}function Ru(r,e=!1){var t=e?" !important;":";",n="";for(var a in r){var i=r[a];i!=null&&i!==""&&(n+=" "+a+": "+i+t)}return n}function Gs(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function Wf(r,e){if(e){var t="",n,a;if(Array.isArray(e)?(n=e[0],a=e[1]):n=e,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,s=0,l=!1,c=[];n&&c.push(...Object.keys(n).map(Gs)),a&&c.push(...Object.keys(a).map(Gs));var u=0,d=-1;const v=r.length;for(var p=0;p<v;p++){var g=r[p];if(l?g==="/"&&r[p-1]==="*"&&(l=!1):i?i===g&&(i=!1):g==="/"&&r[p+1]==="*"?l=!0:g==='"'||g==="'"?i=g:g==="("?s++:g===")"&&s--,!l&&i===!1&&s===0){if(g===":"&&d===-1)d=p;else if(g===";"||p===v-1){if(d!==-1){var _=Gs(r.substring(u,d).trim());if(!c.includes(_)){g!==";"&&p++;var f=r.substring(u,p).trim();t+=" "+f+";"}}u=p+1,d=-1}}}}return n&&(t+=Ru(n)),a&&(t+=Ru(a,!0)),t=t.trim(),t===""?null:t}return r==null?null:String(r)}function _r(r,e,t,n,a,i){var s=r.__className;if(s!==t||s===void 0){var l=Vf(t,n,i);l==null?r.removeAttribute("class"):e?r.className=l:r.setAttribute("class",l),r.__className=t}else if(i&&a!==i)for(var c in i){var u=!!i[c];(a==null||u!==!!a[c])&&r.classList.toggle(c,u)}return i}function Ks(r,e={},t,n){for(var a in t){var i=t[a];e[a]!==i&&(t[a]==null?r.style.removeProperty(a):r.style.setProperty(a,i,n))}}function Ae(r,e,t,n){var a=r.__style;if(a!==e){var i=Wf(e,n);i==null?r.removeAttribute("style"):r.style.cssText=i,r.__style=e}else n&&(Array.isArray(n)?(Ks(r,t==null?void 0:t[0],n[0]),Ks(r,t==null?void 0:t[1],n[1],"important")):Ks(r,t,n));return n}function Xs(r,e,t=!1){if(r.multiple){if(e==null)return;if(!si(e))return Hg();for(var n of r.options)n.selected=e.includes(Uu(n));return}for(n of r.options){var a=Uu(n);if(sf(a,e)){n.selected=!0;return}}(!t||e!==void 0)&&(r.selectedIndex=-1)}function Hf(r){var e=new MutationObserver(()=>{Xs(r,r.__value)});e.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Oa(()=>{e.disconnect()})}function Uu(r){return"__value"in r?r.__value:r.value}const Eo=Symbol("class"),So=Symbol("style"),Vu=Symbol("is custom element"),Wu=Symbol("is html");function Yf(r,e){e?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function be(r,e,t,n){var a=Hu(r);a[e]!==(a[e]=t)&&(e==="loading"&&(r[qg]=t),t==null?r.removeAttribute(e):typeof t!="string"&&Gu(r).includes(e)?r[e]=t:r.setAttribute(e,t))}function Gf(r,e,t,n,a=!1,i=!1){var s=Hu(r),l=s[Vu],c=!s[Wu],u=e||{},d=r.tagName==="OPTION";for(var p in e)p in t||(t[p]=null);t.class?t.class=da(t.class):(n||t[Eo])&&(t.class=null),t[So]&&(t.style??(t.style=null));var g=Gu(r);for(const k in t){let b=t[k];if(d&&k==="value"&&b==null){r.value=r.__value="",u[k]=b;continue}if(k==="class"){var _=r.namespaceURI==="http://www.w3.org/1999/xhtml";_r(r,_,b,n,e==null?void 0:e[Eo],t[Eo]),u[k]=b,u[Eo]=t[Eo];continue}if(k==="style"){Ae(r,b,e==null?void 0:e[So],t[So]),u[k]=b,u[So]=t[So];continue}var f=u[k];if(!(b===f&&!(b===void 0&&r.hasAttribute(k)))){u[k]=b;var v=k[0]+k[1];if(v!=="$$")if(v==="on"){const E={},S="$$"+k;let I=k.slice(2);var w=Ef(I);if(Pf(I)&&(I=I.slice(0,-7),E.capture=!0),!w&&f){if(b!=null)continue;r.removeEventListener(I,u[S],E),u[S]=null}if(b!=null)if(w)r[`__${I}`]=b,_n([I]);else{let q=function(x){u[k].call(this,x)};u[S]=Rs(I,r,q,E)}else w&&(r[`__${I}`]=void 0)}else if(k==="style")be(r,k,b);else if(k==="autofocus")uf(r,!!b);else if(!l&&(k==="__value"||k==="value"&&b!=null))r.value=r.__value=b;else if(k==="selected"&&d)Yf(r,b);else{var h=k;c||(h=If(h));var y=h==="defaultValue"||h==="defaultChecked";if(b==null&&!l&&!y)if(s[k]=null,h==="value"||h==="checked"){let E=r;const S=e===void 0;if(h==="value"){let I=E.defaultValue;E.removeAttribute(h),E.defaultValue=I,E.value=E.__value=S?I:null}else{let I=E.defaultChecked;E.removeAttribute(h),E.defaultChecked=I,E.checked=S?I:!1}}else r.removeAttribute(k);else y||g.includes(h)&&(l||typeof b!="string")?(r[h]=b,h in s&&(s[h]=Dr)):typeof b!="function"&&be(r,h,b)}}}return u}function Zs(r,e,t=[],n=[],a=[],i,s=!1,l=!1){$c(a,t,n,c=>{var u=void 0,d={},p=r.nodeName==="SELECT",g=!1;if(gu(()=>{var f=e(...c.map(o)),v=Gf(r,u,f,i,s,l);g&&p&&"value"in f&&Xs(r,f.value);for(let h of Object.getOwnPropertySymbols(d))f[h]||Nr(d[h]);for(let h of Object.getOwnPropertySymbols(f)){var w=f[h];h.description===Qr&&(!u||w!==u[h])&&(d[h]&&Nr(d[h]),d[h]=ot(()=>Rf(r,()=>w))),v[h]=w}u=v}),p){var _=r;aa(()=>{Xs(_,u.value,!0),Hf(_)})}g=!0})}function Hu(r){return r.__attributes??(r.__attributes={[Vu]:r.nodeName.includes("-"),[Wu]:r.namespaceURI===pt})}var Yu=new Map;function Gu(r){var e=r.getAttribute("is")||r.nodeName,t=Yu.get(e);if(t)return t;Yu.set(e,t=[]);for(var n,a=r,i=Element.prototype;i!==a;){n=Mc(a);for(var s in n)n[s].set&&t.push(s);a=Es(a)}return t}function Kf(r,e,t=e){var n=new WeakSet;pf(r,"input",async a=>{var i=a?r.defaultValue:r.value;if(i=Js(r)?Qs(i):i,t(i),rr!==null&&n.add(rr),await Tu(),i!==(i=e())){var s=r.selectionStart,l=r.selectionEnd,c=r.value.length;if(r.value=i??"",l!==null){var u=r.value.length;s===l&&l===c&&u>c?(r.selectionStart=u,r.selectionEnd=u):(r.selectionStart=s,r.selectionEnd=Math.min(l,u))}}}),He(e)==null&&r.value&&(t(Js(r)?Qs(r.value):r.value),rr!==null&&n.add(rr)),oa(()=>{var a=e();if(r===document.activeElement){var i=gi??rr;if(n.has(i))return}Js(r)&&a===Qs(r.value)||r.type==="date"&&!a&&!r.value||a!==r.value&&(r.value=a??"")})}function Js(r){var e=r.type;return e==="number"||e==="range"}function Qs(r){return r===""?null:+r}const vs=class vs{constructor(e){Xe(this,hs);Xe(this,Zn,new WeakMap);Xe(this,ao);Xe(this,Jo);Ge(this,Jo,e)}observe(e,t){var n=Q(this,Zn).get(e)||new Set;return n.add(t),Q(this,Zn).set(e,n),Or(this,hs,Tg).call(this).observe(e,Q(this,Jo)),()=>{var a=Q(this,Zn).get(e);a.delete(t),a.size===0&&(Q(this,Zn).delete(e),Q(this,ao).unobserve(e))}}};Zn=new WeakMap,ao=new WeakMap,Jo=new WeakMap,hs=new WeakSet,Tg=function(){return Q(this,ao)??Ge(this,ao,new ResizeObserver(e=>{for(var t of e){vs.entries.set(t.target,t);for(var n of Q(this,Zn).get(t.target)||[])n(t)}}))},ee(vs,"entries",new WeakMap);let wi=vs;var Xf=new wi({box:"content-box"}),Zf=new wi({box:"border-box"});function Ku(r,e,t){var n=Xf,a=n.observe(r,i=>t(i[e]));Oa(a)}function Pi(r,e,t){var n=Zf.observe(r,()=>t(r[e]));aa(()=>(He(()=>t(r[e])),n))}function Xu(r,e){return r===e||(r==null?void 0:r[Ht])===e}function pa(r={},e,t,n){return aa(()=>{var a,i;return oa(()=>{a=i,i=[],He(()=>{r!==t(...i)&&(e(r,...i),a&&Xu(t(...a),r)&&e(null,...a))})}),()=>{Tn(()=>{i&&Xu(t(...i),r)&&e(null,...i)})}}),r}function zn(r=!1){const e=cr,t=e.l.u;if(!t)return;let n=()=>Ke(e.s);if(r){let a=0,i={};const s=ho(()=>{let l=!1;const c=e.s;for(const u in c)c[u]!==i[u]&&(i[u]=c[u],l=!0);return l&&a++,a});n=()=>o(s)}t.b.length&&_u(()=>{Zu(e,n),ci(t.b)}),pr(()=>{const a=He(()=>t.m.map(Mg));return()=>{for(const i of a)typeof i=="function"&&i()}}),t.a.length&&pr(()=>{Zu(e,n),ci(t.a)})}function Zu(r,e){if(r.l.s)for(const t of r.l.s)o(t);e()}function Ju(r,e){var i;var t=(i=r.$$events)==null?void 0:i[e.type],n=si(t)?t.slice():t==null?[]:[t];for(var a of n)a.call(this,e)}function $s(r,e,t){if(r==null)return e(void 0),t&&t(void 0),tr;const n=He(()=>r.subscribe(e,t));return n.unsubscribe?()=>n.unsubscribe():n}const Ra=[];function mt(r,e){return{subscribe:Ir(r,e).subscribe}}function Ir(r,e=tr){let t=null;const n=new Set;function a(l){if(As(r,l)&&(r=l,t)){const c=!Ra.length;for(const u of n)u[1](),Ra.push(u,r);if(c){for(let u=0;u<Ra.length;u+=2)Ra[u][0](Ra[u+1]);Ra.length=0}}}function i(l){a(l(r))}function s(l,c=tr){const u=[l,c];return n.add(u),n.size===1&&(t=e(a,i)||tr),l(r),()=>{n.delete(u),n.size===0&&t&&(t(),t=null)}}return{set:a,update:i,subscribe:s}}function Nt(r,e,t){const n=!Array.isArray(r),a=n?[r]:r;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=e.length<2;return mt(t,(s,l)=>{let c=!1;const u=[];let d=0,p=tr;const g=()=>{if(d)return;p();const f=e(n?u[0]:u,s,l);i?s(f):p=typeof f=="function"?f:tr},_=a.map((f,v)=>$s(f,w=>{u[v]=w,d&=~(1<<v),c&&g()},()=>{d|=1<<v}));return c=!0,g(),function(){ci(_),p(),c=!1}})}function el(r){let e;return $s(r,t=>e=t)(),e}let xi=!1,rl=Symbol();function ge(r,e,t){const n=t[e]??(t[e]={store:null,source:ur(void 0),unsubscribe:tr});if(n.store!==r&&!(rl in t))if(n.unsubscribe(),n.store=r??null,r==null)n.source.v=void 0,n.unsubscribe=tr;else{var a=!0;n.unsubscribe=$s(r,i=>{a?n.source.v=i:z(n.source,i)}),a=!1}return r&&rl in t?el(r):o(n.source)}function Ei(r,e){return r.set(e),e}function Ve(){const r={};function e(){Oa(()=>{for(var t in r)r[t].unsubscribe();Fc(r,rl,{enumerable:!1,value:!0})})}return[r,e]}function Jf(r){var e=xi;try{return xi=!1,[r(),xi]}finally{xi=e}}const Qf={get(r,e){if(!r.exclude.includes(e))return r.props[e]},set(r,e){return!1},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function Cr(r,e,t){return new Proxy({props:r,exclude:e},Qf)}const $f={get(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(Ta(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n)return n[e]}},set(r,e,t){let n=r.props.length;for(;n--;){let a=r.props[n];Ta(a)&&(a=a());const i=Sn(a,e);if(i&&i.set)return i.set(t),!0}return!1},getOwnPropertyDescriptor(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(Ta(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const a=Sn(n,e);return a&&!a.configurable&&(a.configurable=!0),a}}},has(r,e){if(e===Ht||e===jc)return!1;for(let t of r.props)if(Ta(t)&&(t=t()),t!=null&&e in t)return!0;return!1},ownKeys(r){const e=[];for(let t of r.props)if(Ta(t)&&(t=t()),!!t){for(const n in t)e.includes(n)||e.push(n);for(const n of Object.getOwnPropertySymbols(t))e.includes(n)||e.push(n)}return e}};function gr(...r){return new Proxy({props:r},$f)}function J(r,e,t,n){var k;var a=!Aa||(t&oi)!==0,i=(t&lo)!==0,s=(t&lr)!==0,l=n,c=!0,u=()=>(c&&(c=!1,l=s?He(n):n),l),d;if(i){var p=Ht in r||jc in r;d=((k=Sn(r,e))==null?void 0:k.set)??(p&&e in r?b=>r[e]=b:void 0)}var g,_=!1;i?[g,_]=Jf(()=>r[e]):g=r[e],g===void 0&&n!==void 0&&(g=u(),d&&(a&&Bg(),d(g)));var f;if(a?f=()=>{var b=r[e];return b===void 0?u():(c=!0,b)}:f=()=>{var b=r[e];return b!==void 0&&(l=void 0),b===void 0?l:b},a&&(t&$n)===0)return f;if(d){var v=r.$$legacy;return function(b,E){return arguments.length>0?((!a||!E||v||_)&&d(E?f():b),b):f()}}var w=!1,h=((t&at)!==0?ho:Dn)(()=>(w=!1,f()));i&&o(h);var y=$e;return function(b,E){if(arguments.length>0){const S=E?o(h):a&&i?ar(b):b;return z(h,S),w=!0,l!==void 0&&(l=S),b}return Fn&&w||(y.f&un)!==0?h.v:o(h)}}var Fe=(r=>(r[r.UnknownError=0]="UnknownError",r[r.UserCancelledError=1]="UserCancelledError",r[r.StoreProblemError=2]="StoreProblemError",r[r.PurchaseNotAllowedError=3]="PurchaseNotAllowedError",r[r.PurchaseInvalidError=4]="PurchaseInvalidError",r[r.ProductNotAvailableForPurchaseError=5]="ProductNotAvailableForPurchaseError",r[r.ProductAlreadyPurchasedError=6]="ProductAlreadyPurchasedError",r[r.ReceiptAlreadyInUseError=7]="ReceiptAlreadyInUseError",r[r.InvalidReceiptError=8]="InvalidReceiptError",r[r.MissingReceiptFileError=9]="MissingReceiptFileError",r[r.NetworkError=10]="NetworkError",r[r.InvalidCredentialsError=11]="InvalidCredentialsError",r[r.UnexpectedBackendResponseError=12]="UnexpectedBackendResponseError",r[r.InvalidAppUserIdError=14]="InvalidAppUserIdError",r[r.OperationAlreadyInProgressError=15]="OperationAlreadyInProgressError",r[r.UnknownBackendError=16]="UnknownBackendError",r[r.InvalidAppleSubscriptionKeyError=17]="InvalidAppleSubscriptionKeyError",r[r.IneligibleError=18]="IneligibleError",r[r.InsufficientPermissionsError=19]="InsufficientPermissionsError",r[r.PaymentPendingError=20]="PaymentPendingError",r[r.InvalidSubscriberAttributesError=21]="InvalidSubscriberAttributesError",r[r.LogOutWithAnonymousUserError=22]="LogOutWithAnonymousUserError",r[r.ConfigurationError=23]="ConfigurationError",r[r.UnsupportedError=24]="UnsupportedError",r[r.EmptySubscriberAttributesError=25]="EmptySubscriberAttributesError",r[r.CustomerInfoError=28]="CustomerInfoError",r[r.SignatureVerificationError=36]="SignatureVerificationError",r[r.InvalidEmailError=38]="InvalidEmailError",r[r.TestStoreSimulatedPurchaseError=42]="TestStoreSimulatedPurchaseError",r))(Fe||{});function em(r){switch(r){case 0:return"Unknown error.";case 1:return"Purchase was cancelled.";case 2:return"There was a problem with the store.";case 3:return"The device or user is not allowed to make the purchase.";case 4:return"One or more of the arguments provided are invalid.";case 5:return"The product is not available for purchase.";case 6:return"This product is already active for the user.";case 7:return"There is already another active subscriber using the same receipt.";case 8:return"The receipt is not valid.";case 9:return"The receipt is missing.";case 10:return"Error performing request. Please check your network connection and try again.";case 11:return"There was a credentials issue. Check the underlying error for more details.";case 12:return"Received unexpected response from the backend.";case 14:return"The app user ID is not valid.";case 15:return"The operation is already in progress.";case 16:return"There was an unknown backend error.";case 17:return"Apple Subscription Key is invalid or not present. In order to provide subscription offers, you must first generate a subscription key. Please see https://docs.revenuecat.com/docs/ios-subscription-offers for more info.";case 18:return"The User is ineligible for that action.";case 19:return"App does not have sufficient permissions to make purchases.";case 20:return"The payment is pending.";case 21:return"One or more of the attributes sent could not be saved.";case 22:return"Called logOut but the current user is anonymous.";case 23:return"There is an issue with your configuration. Check the underlying error for more details.";case 24:return"There was a problem with the operation. Looks like we don't support that yet. Check the underlying error for more details.";case 25:return"A request for subscriber attributes returned none.";case 28:return"There was a problem related to the customer info.";case 36:return"Request failed signature verification. Please see https://rev.cat/trusted-entitlements for more info.";case 38:return"Email is not valid. Please provide a valid email address.";case 42:return"Purchase failure simulated successfully in Test Store."}}class Ua{static getPublicMessage(e){return em(e)}static getErrorCodeForBackendErrorCode(e){switch(e){case 7101:case 7773:case 7898:case 7899:case 7900:case 7901:return Fe.StoreProblemError;case 7102:return Fe.ReceiptAlreadyInUseError;case 7103:return Fe.InvalidReceiptError;case 7107:case 7224:case 7225:case 7967:return Fe.InvalidCredentialsError;case 7105:case 7106:case 7814:case 7877:case 7878:return Fe.PurchaseInvalidError;case 7772:return Fe.ProductAlreadyPurchasedError;case 7220:return Fe.InvalidAppUserIdError;case 7259:return Fe.CustomerInfoError;case 7229:return Fe.StoreProblemError;case 7230:case 7e3:return Fe.ConfigurationError;case 7231:return Fe.StoreProblemError;case 7232:return Fe.IneligibleError;case 7263:case 7264:return Fe.InvalidSubscriberAttributesError;case 7104:case 7234:case 7226:case 7110:return Fe.UnexpectedBackendResponseError;case 7662:return Fe.UnsupportedError;case 7012:case 7834:case 7879:return Fe.InvalidEmailError}}static convertCodeToBackendErrorCode(e){return e in hn?e:null}static convertPurchaseFlowErrorCodeToErrorCode(e){switch(e){case ve.ErrorSettingUpPurchase:return Fe.StoreProblemError;case ve.ErrorChargingPayment:return Fe.PaymentPendingError;case ve.NetworkError:return Fe.NetworkError;case ve.MissingEmailError:return Fe.PurchaseInvalidError;case ve.AlreadyPurchasedError:return Fe.ProductAlreadyPurchasedError;case ve.InvalidPaddleAPIKeyError:return Fe.InvalidCredentialsError;default:return Fe.UnknownError}}}var hn=(r=>(r[r.BackendInvalidPlatform=7e3]="BackendInvalidPlatform",r[r.BackendInvalidEmail=7012]="BackendInvalidEmail",r[r.BackendStoreProblem=7101]="BackendStoreProblem",r[r.BackendCannotTransferPurchase=7102]="BackendCannotTransferPurchase",r[r.BackendInvalidReceiptToken=7103]="BackendInvalidReceiptToken",r[r.BackendInvalidAppStoreSharedSecret=7104]="BackendInvalidAppStoreSharedSecret",r[r.BackendInvalidPaymentModeOrIntroPriceNotProvided=7105]="BackendInvalidPaymentModeOrIntroPriceNotProvided",r[r.BackendProductIdForGoogleReceiptNotProvided=7106]="BackendProductIdForGoogleReceiptNotProvided",r[r.BackendInvalidPlayStoreCredentials=7107]="BackendInvalidPlayStoreCredentials",r[r.BackendInternalServerError=7110]="BackendInternalServerError",r[r.BackendEmptyAppUserId=7220]="BackendEmptyAppUserId",r[r.BackendInvalidAuthToken=7224]="BackendInvalidAuthToken",r[r.BackendInvalidAPIKey=7225]="BackendInvalidAPIKey",r[r.BackendBadRequest=7226]="BackendBadRequest",r[r.BackendPlayStoreQuotaExceeded=7229]="BackendPlayStoreQuotaExceeded",r[r.BackendPlayStoreInvalidPackageName=7230]="BackendPlayStoreInvalidPackageName",r[r.BackendPlayStoreGenericError=7231]="BackendPlayStoreGenericError",r[r.BackendUserIneligibleForPromoOffer=7232]="BackendUserIneligibleForPromoOffer",r[r.BackendInvalidAppleSubscriptionKey=7234]="BackendInvalidAppleSubscriptionKey",r[r.BackendSubscriberNotFound=7259]="BackendSubscriberNotFound",r[r.BackendInvalidSubscriberAttributes=7263]="BackendInvalidSubscriberAttributes",r[r.BackendInvalidSubscriberAttributesBody=7264]="BackendInvalidSubscriberAttributesBody",r[r.BackendProductIDsMalformed=7662]="BackendProductIDsMalformed",r[r.BackendAlreadySubscribedError=7772]="BackendAlreadySubscribedError",r[r.BackendPaymentGatewayGenericError=7773]="BackendPaymentGatewayGenericError",r[r.BackendOfferNotFound=7814]="BackendOfferNotFound",r[r.BackendNoMXRecordsFound=7834]="BackendNoMXRecordsFound",r[r.BackendInvalidOperationSession=7877]="BackendInvalidOperationSession",r[r.BackendPurchaseCannotBeCompleted=7878]="BackendPurchaseCannotBeCompleted",r[r.BackendEmailIsRequired=7879]="BackendEmailIsRequired",r[r.BackendGatewaySetupErrorStripeTaxNotActive=7898]="BackendGatewaySetupErrorStripeTaxNotActive",r[r.BackendGatewaySetupErrorInvalidTaxOriginAddress=7899]="BackendGatewaySetupErrorInvalidTaxOriginAddress",r[r.BackendGatewaySetupErrorMissingRequiredPermission=7900]="BackendGatewaySetupErrorMissingRequiredPermission",r[r.BackendGatewaySetupErrorSandboxModeOnly=7901]="BackendGatewaySetupErrorSandboxModeOnly",r[r.BackendInvalidPaddleAPIKey=7967]="BackendInvalidPaddleAPIKey",r))(hn||{});class er extends Error{constructor(t,n,a,i){super(n);ee(this,"toString",()=>`PurchasesError(code: ${Fe[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=i}static getForBackendError(t,n){const a=Ua.getErrorCodeForBackendErrorCode(t);return new er(a,Ua.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new er(Ua.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class Qu extends Error{constructor(){super("Purchases must be configured before calling getInstance")}}var vn=(r=>(r.Started="started",r.InProgress="in_progress",r.Succeeded="succeeded",r.Failed="failed",r))(vn||{}),Va=(r=>(r[r.SetupIntentCreationFailed=1]="SetupIntentCreationFailed",r[r.PaymentMethodCreationFailed=2]="PaymentMethodCreationFailed",r[r.PaymentChargeFailed=3]="PaymentChargeFailed",r[r.SetupIntentCompletionFailed=4]="SetupIntentCompletionFailed",r[r.AlreadyPurchased=5]="AlreadyPurchased",r))(Va||{}),it=(r=>(r[r.Silent=0]="Silent",r[r.Error=1]="Error",r[r.Warn=2]="Warn",r[r.Info=3]="Info",r[r.Debug=4]="Debug",r[r.Verbose=5]="Verbose",r))(it||{});class we{static setLogLevel(e){this.logLevel=e}static setLogHandler(e){this.logHandler=e}static log(e,t=this.logLevel){const n=`[Purchases] ${e}`;if(!(this.logLevel<t||t===it.Silent)){if(this.logHandler!==null){this.logHandler(t,n);return}switch(t){case it.Error:console.error(n);break;case it.Warn:console.warn(n);break;case it.Info:console.info(n);break;case it.Debug:console.debug(n);break;case it.Verbose:console.debug(n);break}}}static errorLog(e){this.log(e,it.Error)}static warnLog(e){this.log(e,it.Warn)}static infoLog(e){this.log(e,it.Info)}static debugLog(e){this.log(e,it.Debug)}static verboseLog(e){this.log(e,it.Verbose)}}ee(we,"logLevel",it.Silent),ee(we,"logHandler",null);function $u(r){var e;return r.operation.redemption_info?{redeemUrl:((e=r.operation.redemption_info)==null?void 0:e.redeem_url)??null}:null}var yn=(r=>(r.tax_collection_disabled="tax_collection_disabled",r.invalid_tax_location="invalid_tax_location",r.rate_limit_exceeded="rate_limit_exceeded",r.missing_required_permission="missing_required_permission",r.invalid_origin_address="invalid_origin_address",r.invalid_head_office_address="invalid_head_office_address",r.taxes_not_active="taxes_not_active",r.stripe_tax_unsupported_country="stripe_tax_unsupported_country",r.unexpected_gateway_error="unexpected_gateway_error",r))(yn||{});function ed(r,e){const t=r.original_amount_in_micros??r.total_excluding_tax_in_micros,n=r.applied_discounts??[];return{currency:r.currency,originalAmountInMicros:t,totalAmountInMicros:r.total_amount_in_micros,totalExcludingTaxInMicros:r.total_excluding_tax_in_micros,taxCalculationStatus:e,taxAmountInMicros:r.tax_amount_in_micros,taxBreakdown:r.tax_breakdown,appliedDiscounts:n.map(a=>({identifier:a.identifier,displayName:a.display_name,discountedAmountInMicros:a.discounted_amount_in_micros,percentage:a.percentage,discountCode:a.discount_code,durationMode:a.duration_mode,timeWindow:a.time_window}))}}function rd(r,e){if(r==null){e(new ye(ve.UnknownError,"Got an error status but error field is empty."));return}switch(r.code){case Va.SetupIntentCreationFailed:e(new ye(ve.ErrorSettingUpPurchase,"Setup intent creation failed"));return;case Va.PaymentMethodCreationFailed:e(new ye(ve.ErrorSettingUpPurchase,"Payment method creation failed"));return;case Va.PaymentChargeFailed:e(new ye(ve.ErrorChargingPayment,"Payment charge failed"));return;case Va.SetupIntentCompletionFailed:e(new ye(ve.ErrorSettingUpPurchase,"Setup intent completion failed"));return;case Va.AlreadyPurchased:e(new ye(ve.AlreadyPurchasedError,"Purchased was already completed"));return;default:e(new ye(ve.UnknownError,"Unknown error code received"));return}}var ve=(r=>(r[r.ErrorSettingUpPurchase=0]="ErrorSettingUpPurchase",r[r.ErrorChargingPayment=1]="ErrorChargingPayment",r[r.UnknownError=2]="UnknownError",r[r.NetworkError=3]="NetworkError",r[r.MissingEmailError=4]="MissingEmailError",r[r.AlreadyPurchasedError=5]="AlreadyPurchasedError",r[r.StripeTaxNotActive=6]="StripeTaxNotActive",r[r.StripeInvalidTaxOriginAddress=7]="StripeInvalidTaxOriginAddress",r[r.StripeMissingRequiredPermission=8]="StripeMissingRequiredPermission",r[r.InvalidPaddleAPIKeyError=9]="InvalidPaddleAPIKeyError",r))(ve||{});class ye extends Error{constructor(e,t,n,a,i,s){super(t),this.errorCode=e,this.underlyingErrorMessage=n,this.purchasesErrorCode=a,this.extra=i,this.displayPurchaseFlowErrorCode=s}getErrorCode(){var t;const e=((t=this.extra)==null?void 0:t.backendErrorCode)??this.purchasesErrorCode;return this.displayPurchaseFlowErrorCode?this.errorCode??e:e??this.errorCode}static fromPurchasesError(e,t,n=!1){var i;let a;return e.errorCode===Fe.ProductAlreadyPurchasedError?a=5:e.errorCode===Fe.InvalidEmailError?a=4:e.errorCode===Fe.NetworkError?a=3:a=ye.fromBackendErrorCode((i=e.extra)==null?void 0:i.backendErrorCode)??t,new ye(a,e.message,e.underlyingErrorMessage,e.errorCode,e.extra,n)}static fromBackendErrorCode(e){switch(e){case hn.BackendGatewaySetupErrorStripeTaxNotActive:return 6;case hn.BackendGatewaySetupErrorInvalidTaxOriginAddress:return 7;case hn.BackendGatewaySetupErrorMissingRequiredPermission:return 8;case hn.BackendInvalidPaddleAPIKey:return 9;default:return null}}}class Si{constructor(e,t,n=10){ee(this,"operationSessionId",null);ee(this,"backend");ee(this,"eventsTracker");ee(this,"maxNumberAttempts");ee(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}static getBackendErrorCodeForInterruptedCheckout(e){switch(e){case yn.taxes_not_active:case yn.stripe_tax_unsupported_country:return hn.BackendGatewaySetupErrorStripeTaxNotActive;case yn.invalid_origin_address:case yn.invalid_head_office_address:return hn.BackendGatewaySetupErrorInvalidTaxOriginAddress;case yn.missing_required_permission:return hn.BackendGatewaySetupErrorMissingRequiredPermission;default:return null}}static throwIfCheckoutShouldBeInterrupted(e){if(!e.interrupt_checkout)return;const t=Si.getBackendErrorCodeForInterruptedCheckout(e.failed_reason);throw t==null?new ye(0,"There was a problem with the store.",e.failed_reason??"Checkout interrupted."):ye.fromPurchasesError(er.getForBackendError(t,e.failed_reason??null),0)}async prepareCheckout(e,t){try{return await this.backend.postCheckoutPrepare(e,t)}catch(n){if(n instanceof er)throw ye.fromPurchasesError(n,0);{const a="Unknown error preparing purchase: "+String(n);throw we.errorLog(a),new ye(2,a)}}}async checkoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,workflowPurchaseContext:i,paywallId:s,paywallSessionId:l,customerEmail:c,metadata:u,locale:d,attributionMetadata:p}){try{const g=this.eventsTracker.getTraceId(),_=i==null?void 0:i.stepId,f=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:g,presentedStepId:_,paywallId:s,paywallSessionId:l,customerEmail:c,metadata:u,locale:d,attributionMetadata:p});return this.operationSessionId=f.operation_session_id,f}catch(g){if(g instanceof er)throw ye.fromPurchasesError(g,0);{const _="Unknown error starting purchase: "+String(g);throw we.errorLog(_),new ye(2,_)}}}async checkoutRefreshPricing({countryCode:e,postalCode:t,state:n,city:a,addressLine1:i,addressLine2:s,discountCode:l,signal:c}={}){const u=this.operationSessionId;if(!u)throw new ye(0,"No purchase started");try{const d=await this.backend.patchCheckoutRefreshPricing(u,{countryCode:e,postalCode:t,state:n,city:a,addressLine1:i,addressLine2:s,discountCode:l,signal:c});return Si.throwIfCheckoutShouldBeInterrupted(d),d}catch(d){if(d instanceof ye)throw d;if(d instanceof er)throw ye.fromPurchasesError(d,0);{const p="Unknown error refreshing checkout pricing: "+String(d);throw we.errorLog(p),new ye(2,p)}}}async checkoutComplete(e,t){const n=this.operationSessionId;if(!n)throw new ye(0,"No purchase started");try{return await this.backend.postCheckoutComplete(n,e,t)}catch(a){if(a instanceof er)throw ye.fromPurchasesError(a,0);{const i="Unknown error starting purchase: "+String(a);throw we.errorLog(i),new ye(2,i)}}}async pollCurrentPurchaseForCompletion(){const e=this.operationSessionId;if(!e)throw new ye(0,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){this.clearPurchaseInProgress(),n(new ye(2,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const l=s.operation.store_transaction_identifier,c=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case vn.Started:case vn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case vn.Succeeded:if(this.clearPurchaseInProgress(),!l||!c||!u){n(new ye(2,"Missing required fields in operation response."));return}t({redemptionInfo:$u(s),operationSessionId:e,storeTransactionIdentifier:l,productIdentifier:c,purchaseDate:u,attributionMetadata:s.attribution_metadata??void 0});return;case vn.Failed:this.clearPurchaseInProgress(),rd(s.operation.error,n)}}).catch(s=>{const l=ye.fromPurchasesError(s,3);n(l)})};a()})}clearPurchaseInProgress(){this.operationSessionId=null}}const yr="rcb-ui-translator",Gr="en",rm={"periods.week":"{{amount}} week","periods.month":"{{amount}} month","periods.year":"{{amount}} year","periods.day":"{{amount}} day","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"lifetime","periods.weekPlural":"{{amount}} weeks","periods.monthPlural":"{{amount}} months","periods.yearPlural":"{{amount}} years","periods.dayPlural":"{{amount}} days","periods.weekFrequency":"weekly","periods.monthFrequency":"monthly","periods.yearFrequency":"yearly","periods.dayFrequency":"daily","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per month","periods.perYearFrequency":"per year","periods.perDayFrequency":"per day","periods.unknownFrequency":"unknown","periods.weekFrequencyPlural":"every {{amount}} weeks","periods.monthFrequencyPlural":"every {{amount}} months","periods.yearFrequencyPlural":"every {{amount}} years","periods.dayFrequencyPlural":"every {{amount}} days","product_info.subscribe_to":"Subscribe to","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Try free for {{trialDuration}}","product_info.price_after_free_trial":"After trial ends, on {{renewalDate}}","product_info.intro_price_phase_after_trial":"Then {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"First {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"paid once","product_info.price_after_intro_price":"After {{introPriceDuration}}, on {{renewalDate}}","product_info.after_trial":"after trial","product_info.after":"after","product_info.total_due_today":"Total due today","product_info.renewal_frequency":"Renews {{frequency}}","product_info.continues_until_cancelled":"Continues until cancelled","product_info.cancel_anytime":"Cancel anytime","payment_entry_page.payment_step_title":"Secure checkout by RevenueCat","payment_entry_page.trial_subscription_terms_info":"After your trial ends, you will be charged {{price}} {{perFrequency}} starting {{renewalDate}}. You can cancel any time before this date.","payment_entry_page.subscription_terms_info":"By subscribing, you agree to allow {{appName}} to charge you according to their terms until you cancel.","payment_entry_page.otp_terms_info":"By purchasing, you agree to allow {{appName}} to charge you according to their terms.","payment_entry_page.terms_link_label":"Terms","payment_entry_page.subscription_info":"Subscription renews automatically. Cancel anytime.","payment_entry_page.button_pay":"Pay now","payment_entry_page.button_start_trial":"Start trial","payment_entry_page.button_with_price":"Pay {{formattedPrice}}","payment_entry_page.button_payment_method":"Pay {{formattedPrice}} with {{paymentMethod}}","payment_entry_page.express_checkout_divider":"OR PAY BY CARD","loading_page.processing_payment":"Processing payment","loading_page.keep_page_open":"The process is almost done. Keep this page open.","success_page.purchase_successful":"Payment complete","success_page.button_close":"Continue","error_page.close_button_title":"Go to {{appName}}","error_page.if_error_persists":"If it persists, please contact ","error_page.trouble_accessing":"If you're having trouble accessing your purchase, reach out to support on ","error_page.error_title_already_subscribed":"You already subscribed to {{productTitle}}","error_page.error_title_already_purchased":"You already purchased {{productTitle}}","error_page.error_title_other_errors":"Something went wrong","error_page.error_message_already_subscribed":"You can't subscribe to this product again.","error_page.error_message_already_purchased":"You can't purchase this product again.","error_page.error_title_stripe_tax_not_active":"Stripe Tax not active","error_page.error_title_stripe_invalid_tax_origin_address":"Invalid tax origin address","error_page.error_title_stripe_missing_required_permission":"Missing Stripe permission","error_page.error_message_missing_email_error":"Email is required to complete the purchase.","error_page.error_message_invalid_email_error":"The email address {{email}} couldn't be verified. Please provide a valid email address.","error_page.error_message_network_error":"Network error. Please check your internet connection.","error_page.error_message_error_charging_payment":"Payment failed.","error_page.error_message_error_setting_up_purchase":"Purchase not started due to an error (error code: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We couldn't verify your billing address. Please double-check that the postal code and country are correct.","error_page.error_message_unknown_error":"An unknown error occurred (error code: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"The purchase failed because Stripe Tax isn’t enabled. In production, purchases will work without taxes applied.","error_page.error_message_stripe_invalid_tax_origin_address":"The purchase failed because the tax origin address is invalid. In production, purchases will work without taxes applied.","error_page.error_message_stripe_missing_required_permission":"The purchase failed because the Stripe app lacks a required permission. In production, purchases will work without taxes applied.","error_page.error_only_in_sandbox":"This message appears only in sandbox.","error_page.button_try_again":"Try again","error_page.button_close":"Close","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Show details","pricing_dropdown.hide_details":"Hide details","pricing_dropdown.add_promo_code":"Add promo code","discount_input.label":"Promo code","pricing_table.trial_ends":"After trial ends, on {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Total excluding tax","pricing_table.total_due_today":"Total due today","pricing_table.subtotal":"Subtotal","pricing_table.discount":"Discount","pricing_table.tax":"Tax","pricing_table.enter_billing_address_to_calculate":"Enter billing address to calculate","pricing_table.enter_postal_code_to_calculate":"Enter zip code to calculate","pricing_table.enter_state_or_postal_code_to_calculate":"Enter state or postal code to calculate","navbar_header.details":"Details","navbar_header.back_button":"Back","price_update.title":"Price update","price_update.base_message":"The total price was updated with tax based on your billing address. Please review and try again. Your card will only be charged once.","price_update.trial_message":"The subscription price was updated to include tax based on your billing address. Free trial still applies. Review and try again.","apple_pay.free_trial":"Free Trial"},tm={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mes","periods.year":"{{amount}} año","periods.day":"{{amount}} día","periods.weekShort":"{{amount}} sem","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}año","periods.dayShort":"{{amount}}d","periods.lifetime":"de por vida","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} años","periods.dayPlural":"{{amount}} días","periods.weekFrequency":"semanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diaria","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mes","periods.perYearFrequency":"por año","periods.perDayFrequency":"por día","periods.unknownFrequency":"desconocida","periods.weekFrequencyPlural":"cada {{amount}} semanas","periods.monthFrequencyPlural":"cada {{amount}} meses","periods.yearFrequencyPlural":"cada {{amount}} años","periods.dayFrequencyPlural":"cada {{amount}} días","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prueba gratuita","product_info.price_after_free_trial":"Después de que termine el periodo de prueba, el {{renewalDate}}","product_info.renewal_frequency":"Se renueva {{frequency}}","product_info.continues_until_cancelled":"Continua hasta que se cancele","product_info.cancel_anytime":"Cancelar en cualquier momento","payment_entry_page.payment_step_title":"Pago seguro mediante RevenueCat","payment_entry_page.button_pay":"Pagar ahora","payment_entry_page.button_start_trial":"Comenzar prueba","success_page.purchase_successful":"Pago completado","success_page.button_close":"Continuar","error_page.if_error_persists":"Si el error persiste, contacta con ","error_page.error_title_already_subscribed":"Ya te has suscrito a {{productTitle}}","error_page.error_title_already_purchased":"Ya has comprado {{productTitle}}","error_page.error_title_other_errors":"Algo salió mal","error_page.error_message_already_subscribed":"No puedes suscribirte a este producto de nuevo.","error_page.error_message_already_purchased":"No puedes comprar este producto de nuevo.","error_page.error_message_missing_email_error":"Se requiere un correo electrónico para completar la compra.","error_page.error_message_network_error":"Error de red. Por favor, comprueba tu conexión a internet.","error_page.error_message_error_charging_payment":"Pago fallido.","error_page.error_message_error_setting_up_purchase":"No se pudo iniciar la compra debido a un error (código de error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No pudimos verificar tu dirección de facturación. Por favor, verifica que el código postal y el país sean correctos.","error_page.error_message_unknown_error":"Ocurrió un error desconocido (código de error: {{errorCode}}).","error_page.button_try_again":"Intentar de nuevo","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoy","product_info.subscribe_to":"Suscribirse a","navbar_header.details":"Detalles","navbar_header.back_button":"Atrás","pricing_dropdown.show_details":"Mostrar detalles","pricing_dropdown.hide_details":"Ocultar detalles","pricing_table.tax":"Impuestos","pricing_table.trial_ends":"Después de que finalice la prueba, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoy","pricing_table.total_excluding_tax":"Total sin impuestos","pricing_table.enter_billing_address_to_calculate":"Introduce la dirección de facturación para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduce el estado o el código postal para calcular","pricing_table.enter_postal_code_to_calculate":"Introduce el código postal para calcular","error_page.error_message_invalid_email_error":"La dirección de correo electrónico {{email}} no se pudo verificar. Por favor, proporciona una dirección de correo electrónico válida.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Actualización de precio","price_update.base_message":"El precio total se actualizó con impuestos según su dirección de facturación. Revise e intente nuevamente. Solo se efectuará un cobro en su tarjeta.","price_update.trial_message":"El precio de la suscripción se actualizó para incluir impuestos según su dirección de facturación. La prueba gratuita sigue aplicándose. Revise e intente nuevamente.","payment_entry_page.express_checkout_divider":"O PAGA CON TARJETA","error_page.trouble_accessing":"Si tiene problemas para acceder a su compra, póngase en contacto con el servicio de asistencia en ","error_page.close_button_title":"Ir a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta permiso de Stripe","error_page.button_close":"Cerrar","error_page.error_message_stripe_invalid_tax_origin_address":"La compra falló porque la dirección de origen fiscal no es válida. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_message_stripe_tax_not_active":"La compra falló porque Stripe Tax no está habilitado. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_only_in_sandbox":"Este mensaje aparece solo en el entorno de pruebas.","error_page.error_message_stripe_missing_required_permission":"La compra falló porque la aplicación Stripe carece de un permiso necesario. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no está activo","error_page.error_title_stripe_invalid_tax_origin_address":"Dirección de origen fiscal no válida","apple_pay.free_trial":"Prueba gratuita","product_info.price_after_intro_price":"Después de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"después del período de prueba","product_info.after":"después de","product_info.intro_price_phase_after_trial":"Luego, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primero, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago único","payment_entry_page.trial_subscription_terms_info":"Una vez finalizado el período de prueba, se te cobrarán {{price}} {{perFrequency}} a partir del {{renewalDate}}. Puedes cancelar en cualquier momento antes de esta fecha.","payment_entry_page.subscription_info":"La suscripción se renueva automáticamente. Cancela en cualquier momento.","payment_entry_page.otp_terms_info":"Al comprar, aceptas que {{appName}} te cobre de acuerdo con sus términos.","payment_entry_page.terms_link_label":"Términos","payment_entry_page.subscription_terms_info":"Al suscribirte, aceptas que {{appName}} te cobre de acuerdo con sus términos hasta que canceles.","loading_page.keep_page_open":"El proceso está casi terminado. Mantén esta página abierta.","loading_page.processing_payment":"Procesando el pago","pricing_table.discount":"Descuento","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Añadir código promocional","discount_input.label":"Código promocional"},nm={"periods.week":"{{amount}} settimana","periods.month":"{{amount}} mese","periods.year":"{{amount}} anno","periods.day":"{{amount}} giorno","periods.weekShort":"{{amount}}sett","periods.monthShort":"{{amount}}mese","periods.yearShort":"{{amount}}anno","periods.dayShort":"{{amount}}g","periods.lifetime":"a vita","periods.weekPlural":"{{amount}} settimane","periods.monthPlural":"{{amount}} mesi","periods.yearPlural":"{{amount}} anni","periods.dayPlural":"{{amount}} giorni","periods.weekFrequency":"settimanale","periods.monthFrequency":"mensile","periods.yearFrequency":"annuale","periods.dayFrequency":"giornaliero","periods.perWeekFrequency":"a settimana","periods.perMonthFrequency":"al mese","periods.perYearFrequency":"all'anno","periods.perDayFrequency":"al giorno","periods.unknownFrequency":"sconosciuto","periods.weekFrequencyPlural":"ogni {{amount}} settimane","periods.monthFrequencyPlural":"ogni {{amount}} mesi","periods.yearFrequencyPlural":"ogni {{amount}} anni","periods.dayFrequencyPlural":"ogni {{amount}} giorni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prova gratuita","product_info.price_after_free_trial":"Dopo la fine della prova, il {{renewalDate}}","product_info.renewal_frequency":"Si rinnova {{frequency}}","product_info.continues_until_cancelled":"Continua fino a disdetta","product_info.cancel_anytime":"Disdici in qualsiasi momento","payment_entry_page.payment_step_title":"Pagamento sicuro tramite RevenueCat","payment_entry_page.button_pay":"Paga ora","payment_entry_page.button_start_trial":"Inizia la prova","success_page.purchase_successful":"Pagamento completato","success_page.button_close":"Continua","error_page.if_error_persists":"Se l'errore persiste, contatta ","error_page.error_title_already_subscribed":"Hai già un abbonamento a {{productTitle}}","error_page.error_title_already_purchased":"Hai già acquistato {{productTitle}}","error_page.error_title_other_errors":"Qualcosa è andato storto","error_page.error_message_already_subscribed":"Non puoi abbonarti di nuovo a questo prodotto.","error_page.error_message_already_purchased":"Non puoi acquistare di nuovo questo prodotto.","error_page.error_message_missing_email_error":"L'email è necessaria per completare l'acquisto.","error_page.error_message_network_error":"Errore di rete. Verifica la connessione internet.","error_page.error_message_error_charging_payment":"Pagamento fallito.","error_page.error_message_error_setting_up_purchase":"Acquisto non avviato a causa di un errore (codice errore: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Non siamo riusciti a verificare il tuo indirizzo di fatturazione. Per favore, controlla che il codice postale e il paese siano corretti.","error_page.error_message_unknown_error":"Si è verificato un errore sconosciuto (codice errore: {{errorCode}}).","error_page.button_try_again":"Riprova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totale dovuto oggi","product_info.subscribe_to":"Abbonati a","navbar_header.details":"Dettagli","navbar_header.back_button":"Indietro","pricing_dropdown.show_details":"Mostra dettagli","pricing_dropdown.hide_details":"Nascondi dettagli","pricing_table.tax":"Tasse","pricing_table.trial_ends":"Al termine del periodo di prova, il {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totale dovuto oggi","pricing_table.total_excluding_tax":"Totale tasse escluse","pricing_table.enter_billing_address_to_calculate":"Inserisci l'indirizzo di fatturazione per calcolare","pricing_table.enter_state_or_postal_code_to_calculate":"Inserisci la regione o il codice postale per calcolare","pricing_table.enter_postal_code_to_calculate":"Inserisci il codice postale per calcolare","error_page.error_message_invalid_email_error":"L'indirizzo email {{email}} non può essere verificato. Si prega di fornire un indirizzo email valido.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Aggiornamento prezzo","price_update.base_message":"Il prezzo totale è stato aggiornato con le tasse in base al tuo indirizzo di fatturazione. Rivedi e riprova. L'addebito sulla tua carta avverrà solo una volta.","price_update.trial_message":"Il prezzo dell'abbonamento è stato aggiornato per includere le tasse in base al tuo indirizzo di fatturazione. La prova gratuita è ancora valida. Controlla e riprova.","payment_entry_page.express_checkout_divider":"OPPURE PAGA CON CARTA","error_page.trouble_accessing":"Se hai problemi ad accedere al tuo acquisto, contatta l'assistenza all'indirizzo ","error_page.close_button_title":"Vai a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorizzazione Stripe mancante","error_page.button_close":"Chiudi","error_page.error_message_stripe_invalid_tax_origin_address":"L'acquisto non è andato a buon fine perché l'indirizzo di origine fiscale non è valido. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_message_stripe_tax_not_active":"L'acquisto non è andato a buon fine perché Stripe Tax non è abilitato. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_only_in_sandbox":"Questo messaggio viene visualizzato solo in sandbox.","error_page.error_message_stripe_missing_required_permission":"L'acquisto non è andato a buon fine perché l'app Stripe non dispone dell'autorizzazione necessaria. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non attivo","error_page.error_title_stripe_invalid_tax_origin_address":"Indirizzo di origine fiscale non valido","apple_pay.free_trial":"Prova gratuita","product_info.price_after_intro_price":"Dopo {{introPriceDuration}}, il {{renewalDate}}","product_info.after_trial":"dopo il periodo di prova","product_info.after":"dopo","product_info.intro_price_phase_after_trial":"Poi {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase":"Prima {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase_paid_once":"pagato una volta","payment_entry_page.trial_subscription_terms_info":"Al termine del periodo di prova, ti verranno addebitati {{price}} {{perFrequency}} a partire dal {{renewalDate}}. Puoi annullare in qualsiasi momento prima di questa data.","payment_entry_page.subscription_info":"L'abbonamento si rinnova automaticamente. Annulla in qualsiasi momento.","payment_entry_page.otp_terms_info":"Acquistando, accetti che {{appName}} ti addebiti l'importo in base ai suoi termini.","payment_entry_page.terms_link_label":"Termini","payment_entry_page.subscription_terms_info":"Abbonandoti, accetti che {{appName}} ti addebiti l'importo secondo i suoi termini fino all'annullamento.","loading_page.keep_page_open":"Il processo è quasi terminato. Mantieni questa pagina aperta.","loading_page.processing_payment":"Elaborazione del pagamento","pricing_table.discount":"Sconto","pricing_table.subtotal":"Subtotale","pricing_dropdown.add_promo_code":"Aggiungi codice promozionale","discount_input.label":"Codice promozionale"},am={"periods.week":"{{amount}} أسبوع","periods.month":"{{amount}} شهر","periods.year":"{{amount}} سنة","periods.day":"{{amount}} يوم","periods.weekShort":"{{amount}}أسبوع","periods.monthShort":"{{amount}}شهر","periods.yearShort":"{{amount}}سنة","periods.dayShort":"{{amount}}يوم","periods.lifetime":"مدى الحياة","periods.weekPlural":"{{amount}} أسابيع","periods.monthPlural":"{{amount}} أشهر","periods.yearPlural":"{{amount}} سنوات","periods.dayPlural":"{{amount}} أيام","periods.weekFrequency":"أسبوعيًا","periods.monthFrequency":"شهريًا","periods.yearFrequency":"سنويًا","periods.dayFrequency":"يوميًا","periods.perWeekFrequency":"في الأسبوع","periods.perMonthFrequency":"في الشهر","periods.perYearFrequency":"في السنة","periods.perDayFrequency":"في اليوم","periods.unknownFrequency":"غير معروف","periods.weekFrequencyPlural":"كل {{amount}} أسابيع","periods.monthFrequencyPlural":"كل {{amount}} أشهر","periods.yearFrequencyPlural":"كل {{amount}} سنوات","periods.dayFrequencyPlural":"كل {{amount}} أيام","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} تجربة مجانية","product_info.price_after_free_trial":"بعد انتهاء التجربة، في {{renewalDate}}","product_info.renewal_frequency":"يتم التجديد {{frequency}}","product_info.continues_until_cancelled":"يستمر حتى يتم إلغاؤه","product_info.cancel_anytime":"يمكن الإلغاء في أي وقت","payment_entry_page.payment_step_title":"الدفع الآمن عبر RevenueCat","payment_entry_page.button_pay":"ادفع الآن","payment_entry_page.button_start_trial":"ابدأ التجربة","success_page.purchase_successful":"تم الدفع بنجاح","success_page.button_close":"متابعة","error_page.if_error_persists":"إذا استمرت المشكلة، يرجى الاتصال بـ ","error_page.error_title_already_subscribed":"أنت مشترك بالفعل في {{productTitle}}","error_page.error_title_already_purchased":"لقد اشتريت {{productTitle}} بالفعل","error_page.error_title_other_errors":"حدث خطأ ما","error_page.error_message_already_subscribed":"لا يمكنك الاشتراك في هذا المنتج مرة أخرى.","error_page.error_message_already_purchased":"لا يمكنك شراء هذا المنتج مرة أخرى.","error_page.error_message_missing_email_error":"يُطلب البريد الإلكتروني لإتمام عملية الشراء.","error_page.error_message_network_error":"خطأ في الشبكة. يرجى التحقق من اتصال الإنترنت.","error_page.error_message_error_charging_payment":"فشل الدفع.","error_page.error_message_error_setting_up_purchase":"لم تبدأ عملية الشراء بسبب خطأ (رمز الخطأ: {{errorCode}}).","error_page.error_message_invalid_tax_location":"لم نتمكن من التحقق من عنوان الفوترة الخاص بك. يرجى التحقق مرة أخرى من الرمز البريدي والبلد للتأكد من صحتهما.","error_page.error_message_unknown_error":"حدث خطأ غير معروف (رمز الخطأ: {{errorCode}}).","error_page.button_try_again":"حاول مرة أخرى","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"إجمالي المبلغ المستحق اليوم","product_info.subscribe_to":"اشترك في","navbar_header.details":"تفاصيل","navbar_header.back_button":"عودة","pricing_dropdown.show_details":"إظهار التفاصيل","pricing_dropdown.hide_details":"إخفاء التفاصيل","pricing_table.tax":"الضريبة","pricing_table.trial_ends":"بعد انتهاء الفترة التجريبية، في {{formattedTrialEndDate}}","pricing_table.total_due_today":"الإجمالي المستحق اليوم","pricing_table.total_excluding_tax":"الإجمالي باستثناء الضريبة","pricing_table.enter_billing_address_to_calculate":"أدخل عنوان إرسال الفواتير لحسابها","pricing_table.enter_state_or_postal_code_to_calculate":"أدخل الولاية أو الرمز البريدي للحساب","pricing_table.enter_postal_code_to_calculate":"أدخل الرمز البريدي للحساب","error_page.error_message_invalid_email_error":"تعذر التحقق من عنوان البريد الإلكتروني {{email}}. يرجى تقديم عنوان بريد إلكتروني صالح.","payment_entry_page.button_payment_method":"ادفع {{formattedPrice}} باستخدام {{paymentMethod}}","payment_entry_page.button_with_price":"ادفع {{formattedPrice}}","price_update.title":"تحديث السعر","price_update.base_message":"تم تحديث السعر الإجمالي مع الضريبة بناءً على عنوان إرسال الفواتير الخاص بك. يرجى المراجعة والمحاولة مرة أخرى. لن يتم تحصيل رسوم من بطاقتك إلا مرة واحدة.","price_update.trial_message":"تم تحديث سعر الاشتراك ليشمل الضرائب بناءً على عنوان الفوترة الخاص بك. فترة التجربة المجانية لا تزال سارية. يرجى التحقق والمحاولة مرة أخرى.","payment_entry_page.express_checkout_divider":"أو ادفع بواسطة البطاقة","error_page.trouble_accessing":"إذا كنت تواجه مشكلة في الوصول إلى عملية الشراء، فتواصل مع الدعم على ","error_page.close_button_title":"اذهب إلى {{appName}}","error_page.error_title_stripe_missing_required_permission":"إذن Stripe مفقود","error_page.button_close":"إغلاق","error_page.error_message_stripe_invalid_tax_origin_address":"فشلت عملية الشراء لأن عنوان المنشأ الضريبي غير صالح. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_message_stripe_tax_not_active":"فشلت عملية الشراء لأن ضريبة Stripe غير مفعلة. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_only_in_sandbox":"تظهر هذه الرسالة فقط في البيئة التجريبية.","error_page.error_message_stripe_missing_required_permission":"فشلت عملية الشراء لأن تطبيق Stripe يفتقر إلى إذن مطلوب. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_title_stripe_tax_not_active":"ضريبة Stripe غير نشطة","error_page.error_title_stripe_invalid_tax_origin_address":"عنوان منشأ ضريبي غير صالح","apple_pay.free_trial":"تجربة مجانية","product_info.price_after_intro_price":"بعد {{introPriceDuration}}، في {{renewalDate}}","product_info.after_trial":"بعد الفترة التجريبية","product_info.after":"بعد","product_info.intro_price_phase_after_trial":"ثم {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase":"أولاً {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase_paid_once":"تدفع مرة واحدة","payment_entry_page.trial_subscription_terms_info":"بعد انتهاء الفترة التجريبية، سيتم محاسبتك بمبلغ {{price}} {{perFrequency}} بدءًا من {{renewalDate}}. يمكنك الإلغاء في أي وقت قبل هذا التاريخ.","payment_entry_page.subscription_info":"يتم تجديد الاشتراك تلقائيًا. يمكنك الإلغاء في أي وقت.","payment_entry_page.otp_terms_info":"بالشراء، أنت توافق على السماح لتطبيق {{appName}} بتحصيل الرسوم منك وفقًا لشروطه.","payment_entry_page.terms_link_label":"الشروط","payment_entry_page.subscription_terms_info":"بالاشتراك، فإنك توافق على السماح لـ {{appName}} بتحصيل رسوم منك وفقًا لشروطها حتى تقوم بالإلغاء.","loading_page.keep_page_open":"العملية شارفت على الانتهاء. أبقِ هذه الصفحة مفتوحة.","loading_page.processing_payment":"جاري معالجة الدفع","pricing_table.discount":"خصم","pricing_table.subtotal":"المجموع الفرعي","pricing_dropdown.add_promo_code":"أضف رمزًا ترويجيًا","discount_input.label":"رمز ترويجي"},om={"periods.week":"{{amount}} setmana","periods.month":"{{amount}} mes","periods.year":"{{amount}} any","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}set","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}any","periods.dayShort":"{{amount}}d","periods.lifetime":"de per vida","periods.weekPlural":"{{amount}} setmanes","periods.monthPlural":"{{amount}} mesos","periods.yearPlural":"{{amount}} anys","periods.dayPlural":"{{amount}} dies","periods.weekFrequency":"setmanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diari","periods.perWeekFrequency":"per setmana","periods.perMonthFrequency":"per mes","periods.perYearFrequency":"per any","periods.perDayFrequency":"per dia","periods.unknownFrequency":"desconeguda","periods.weekFrequencyPlural":"cada {{amount}} setmanes","periods.monthFrequencyPlural":"cada {{amount}} mesos","periods.yearFrequencyPlural":"cada {{amount}} anys","periods.dayFrequencyPlural":"cada {{amount}} dies","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} de prova gratuïta","product_info.price_after_free_trial":"Després del període de prova, el {{renewalDate}}","product_info.renewal_frequency":"Es renova {{frequency}}","product_info.continues_until_cancelled":"Continua fins que es cancel·li","product_info.cancel_anytime":"Cancel·la en qualsevol moment","payment_entry_page.payment_step_title":"Pagament segur amb RevenueCat","payment_entry_page.button_pay":"Paga ara","payment_entry_page.button_start_trial":"Comença la prova","success_page.purchase_successful":"Pagament complet","success_page.button_close":"Continua","error_page.if_error_persists":"Si l'error persisteix, contacta amb ","error_page.error_title_already_subscribed":"Ja us heu subscrit a {{productTitle}}","error_page.error_title_already_purchased":"Ja heu comprat {{productTitle}}","error_page.error_title_other_errors":"Alguna cosa ha anat malament","error_page.error_message_already_subscribed":"No us podeu subscriure a aquest producte de nou.","error_page.error_message_already_purchased":"No podeu comprar aquest producte de nou.","error_page.error_message_missing_email_error":"Es necessita un correu electrònic per completar la compra.","error_page.error_message_network_error":"Error de xarxa. Comprova la teva connexió a internet.","error_page.error_message_error_charging_payment":"El pagament ha fallat.","error_page.error_message_error_setting_up_purchase":"No s'ha iniciat la compra a causa d'un error (codi d'error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No hem pogut verificar la vostra adreça de facturació. Si us plau, verifiqueu de nou el codi postal i el país per assegurar-vos que són correctes.","error_page.error_message_unknown_error":"S'ha produït un error desconegut (codi d'error: {{errorCode}}).","error_page.button_try_again":"Torna a intentar-ho","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar avui","product_info.subscribe_to":"Subscriu-te a","navbar_header.details":"Detalls","navbar_header.back_button":"Enrere","pricing_dropdown.show_details":"Mostra detalls","pricing_dropdown.hide_details":"Amaga detalls","pricing_table.tax":"Impostos","pricing_table.trial_ends":"Després que finalitzi la prova, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar avui","pricing_table.total_excluding_tax":"Total sense impostos","pricing_table.enter_billing_address_to_calculate":"Introduïu l'adreça de facturació per calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduïu la província o el codi postal per calcular","pricing_table.enter_postal_code_to_calculate":"Introduïu el codi postal per calcular","error_page.error_message_invalid_email_error":"No s'ha pogut verificar l'adreça de correu electrònic {{email}}. Si us plau, proporcioneu una adreça de correu electrònic vàlida.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} amb {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Actualització de preu","price_update.base_message":"El preu total s'ha actualitzat amb els impostos segons la vostra adreça de facturació. Reviseu-ho i torneu-ho a provar. Només es carregarà la vostra targeta una vegada.","price_update.trial_message":"El preu de la subscripció s'ha actualitzat per incloure els impostos segons la seva adreça de facturació. El període de prova gratuït segueix vigent. Si us plau, comprovi-ho i torni-ho a provar.","payment_entry_page.express_checkout_divider":"O PAGUEU AMB TARGETA","error_page.trouble_accessing":"Si teniu problemes per accedir a la vostra compra, poseu-vos en contacte amb el servei d'assistència a ","error_page.close_button_title":"Vés a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta el permís de Stripe","error_page.button_close":"Tanca","error_page.error_message_stripe_invalid_tax_origin_address":"La compra ha fallat perquè l'adreça d'origen fiscal no és vàlida. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_message_stripe_tax_not_active":"La compra ha fallat perquè Stripe Tax no està activat. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_only_in_sandbox":"Aquest missatge apareix només a l'entorn de proves.","error_page.error_message_stripe_missing_required_permission":"La compra ha fallat perquè l'aplicació Stripe no té un permís necessari. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no està actiu","error_page.error_title_stripe_invalid_tax_origin_address":"Adreça d'origen fiscal no vàlida","apple_pay.free_trial":"Prova gratuïta","product_info.price_after_intro_price":"Després de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"després del període de prova","product_info.after":"després de","product_info.intro_price_phase_after_trial":"Després {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase":"Primer {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase_paid_once":"pagat un cop","payment_entry_page.trial_subscription_terms_info":"Un cop finalitzat el període de prova, se us cobrarà {{price}} {{perFrequency}} a partir del {{renewalDate}}. Podeu cancel·lar-ho en qualsevol moment abans d'aquesta data.","payment_entry_page.subscription_info":"La subscripció es renova automàticament. Cancel·leu-la quan vulgueu.","payment_entry_page.otp_terms_info":"En comprar, accepteu que {{appName}} us cobri d'acord amb les seves condicions.","payment_entry_page.terms_link_label":"Condicions","payment_entry_page.subscription_terms_info":"En subscriure-us, accepteu que {{appName}} us cobri d'acord amb les seves condicions fins que ho cancel·leu.","loading_page.keep_page_open":"El procés està gairebé acabat. Mantingueu aquesta pàgina oberta.","loading_page.processing_payment":"S'està processant el pagament","pricing_table.discount":"Descompte","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Afegir codi promocional","discount_input.label":"Codi promocional"},im={"periods.week":"{{amount}} 周","periods.month":"{{amount}} 月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}周","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"终身","periods.weekPlural":"{{amount}} 周","periods.monthPlural":"{{amount}} 个月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每周","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每周","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 周","periods.monthFrequencyPlural":"每 {{amount}} 个月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免费试用","product_info.price_after_free_trial":"试用期结束后,于 {{renewalDate}}","product_info.renewal_frequency":"续订 {{frequency}}","product_info.continues_until_cancelled":"持续到取消","product_info.cancel_anytime":"随时取消","payment_entry_page.payment_step_title":"RevenueCat 安全结账","payment_entry_page.button_pay":"立即支付","payment_entry_page.button_start_trial":"开始试用","success_page.purchase_successful":"支付完成","success_page.button_close":"继续","error_page.if_error_persists":"如果错误仍然存在,请联系 ","error_page.error_title_already_subscribed":"您已订阅 {{productTitle}}","error_page.error_title_already_purchased":"您已购买 {{productTitle}}","error_page.error_title_other_errors":"出现错误","error_page.error_message_already_subscribed":"您不能再次订阅此产品。","error_page.error_message_already_purchased":"您不能再次购买此产品。","error_page.error_message_missing_email_error":"完成购买需要邮箱地址。","error_page.error_message_network_error":"网络错误。请检查您的互联网连接。","error_page.error_message_error_charging_payment":"支付失败。","error_page.error_message_error_setting_up_purchase":"由于错误,购买未启动(错误代码:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我们无法验证您的账单地址。请仔细检查邮政编码和国家是否正确。","error_page.error_message_unknown_error":"发生未知错误(错误代码:{{errorCode}})。","error_page.button_try_again":"重试","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今天应付总额","product_info.subscribe_to":"订阅","navbar_header.details":"详情","navbar_header.back_button":"返回","pricing_dropdown.show_details":"显示详情","pricing_dropdown.hide_details":"隐藏详情","pricing_table.tax":"税","pricing_table.trial_ends":"试用期结束后,于{{formattedTrialEndDate}}","pricing_table.total_due_today":"今日应付总额","pricing_table.total_excluding_tax":"总计(不含税)","pricing_table.enter_billing_address_to_calculate":"输入账单地址以计算","pricing_table.enter_state_or_postal_code_to_calculate":"输入州或邮政编码以计算","pricing_table.enter_postal_code_to_calculate":"输入邮政编码以计算","error_page.error_message_invalid_email_error":"无法验证电子邮件地址{{email}}。请提供有效的电子邮件地址。","payment_entry_page.button_payment_method":"使用{{paymentMethod}}支付{{formattedPrice}}","payment_entry_page.button_with_price":"支付{{formattedPrice}}","price_update.title":"价格更新","price_update.base_message":"总价已根据您的账单地址更新了税费。请查看并重试。您的银行卡只会扣款一次。","price_update.trial_message":"根据您的账单地址,订阅价格已更新为含税价格。免费试用仍然有效。请查看并重试。","payment_entry_page.express_checkout_divider":"或使用银行卡支付","error_page.trouble_accessing":"如果您在访问购买项目时遇到问题,请通过以下方式联系支持:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少Stripe权限","error_page.button_close":"关闭","error_page.error_message_stripe_invalid_tax_origin_address":"购买失败,因为税务起始地址无效。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_message_stripe_tax_not_active":"购买失败,因为Stripe Tax未启用。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_only_in_sandbox":"此消息仅在沙盒中显示。","error_page.error_message_stripe_missing_required_permission":"购买失败,因为Stripe应用程序缺少必需的权限。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_title_stripe_tax_not_active":"Stripe Tax未激活","error_page.error_title_stripe_invalid_tax_origin_address":"税务起始地址无效","apple_pay.free_trial":"免费试用","product_info.price_after_intro_price":"在{{introPriceDuration}}之后,于{{renewalDate}}开始","product_info.after_trial":"试用后","product_info.after":"之后","product_info.intro_price_phase_after_trial":"然后{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase":"首先{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"试用期结束后,您将被收取 {{price}} {{perFrequency}},从 {{renewalDate}} 开始。您可以在此日期之前的任何时间取消。","payment_entry_page.subscription_info":"订阅自动续订。随时取消。","payment_entry_page.otp_terms_info":"购买即表示您同意允许{{appName}}根据其条款向您收费。","payment_entry_page.terms_link_label":"条款","payment_entry_page.subscription_terms_info":"订阅即表示您同意允许 {{appName}} 按照其条款向您收费,直到您取消订阅。","loading_page.keep_page_open":"流程即将完成。请保持此页面打开。","loading_page.processing_payment":"正在处理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小计","pricing_dropdown.add_promo_code":"添加优惠码","discount_input.label":"优惠码"},sm={"periods.week":"{{amount}} 週","periods.month":"{{amount}} 個月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"終身","periods.weekPlural":"{{amount}} 週","periods.monthPlural":"{{amount}} 個月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每週","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每週","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 週","periods.monthFrequencyPlural":"每 {{amount}} 個月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免費試用","product_info.price_after_free_trial":"試用期結束後,於 {{renewalDate}}","product_info.renewal_frequency":"每 {{frequency}} 續約","product_info.continues_until_cancelled":"持續到取消","product_info.cancel_anytime":"隨時取消","payment_entry_page.payment_step_title":"RevenueCat 安全結帳","payment_entry_page.button_pay":"立即付款","payment_entry_page.button_start_trial":"開始試用","success_page.purchase_successful":"付款完成","success_page.button_close":"繼續","error_page.if_error_persists":"如果錯誤持續存在,請聯絡 ","error_page.error_title_already_subscribed":"您已經訂閱 {{productTitle}}","error_page.error_title_already_purchased":"您已經購買 {{productTitle}}","error_page.error_title_other_errors":"發生錯誤","error_page.error_message_already_subscribed":"您無法再次訂閱此產品。","error_page.error_message_already_purchased":"您無法再次購買此產品。","error_page.error_message_missing_email_error":"完成購買需要電子郵件地址。","error_page.error_message_network_error":"網路錯誤。請檢查您的網路連線。","error_page.error_message_error_charging_payment":"付款失敗。","error_page.error_message_error_setting_up_purchase":"由於發生錯誤,購買未啟動(錯誤代碼:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我們無法驗證您的帳單地址。請仔細檢查郵遞區號和國家是否正確。","error_page.error_message_unknown_error":"發生不明錯誤(錯誤代碼:{{errorCode}})。","error_page.button_try_again":"再試一次","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今日應付總額","product_info.subscribe_to":"訂閱","navbar_header.details":"詳細資訊","navbar_header.back_button":"返回","pricing_dropdown.show_details":"顯示詳細資訊","pricing_dropdown.hide_details":"隱藏詳細資訊","pricing_table.tax":"稅金","pricing_table.trial_ends":"試用期結束後,於 {{formattedTrialEndDate}}","pricing_table.total_due_today":"今日應付總額","pricing_table.total_excluding_tax":"總計(不含稅)","pricing_table.enter_billing_address_to_calculate":"輸入帳單地址以計算","pricing_table.enter_state_or_postal_code_to_calculate":"輸入州或郵政編碼以計算","pricing_table.enter_postal_code_to_calculate":"輸入郵政編碼以計算","error_page.error_message_invalid_email_error":"無法驗證電子郵件地址 {{email}}。請提供有效的電子郵件地址。","payment_entry_page.button_payment_method":"使用 {{paymentMethod}} 支付 {{formattedPrice}}","payment_entry_page.button_with_price":"支付 {{formattedPrice}}","price_update.title":"價格更新","price_update.base_message":"總價已根據您的帳單地址更新稅金。請檢查後重試。您的信用卡只會被收取一次費用。","price_update.trial_message":"根據您的帳單地址,訂閱價格已更新為含稅價格。免費試用仍然有效。請查看並重試。","payment_entry_page.express_checkout_divider":"或以信用卡付款","error_page.trouble_accessing":"如果您在存取購買項目時遇到問題,請透過以下方式聯絡支援人員:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少 Stripe 權限","error_page.button_close":"關閉","error_page.error_message_stripe_invalid_tax_origin_address":"購買失敗,因為稅務起始地址無效。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_message_stripe_tax_not_active":"購買失敗,因為 Stripe Tax 未啟用。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_only_in_sandbox":"此訊息僅在沙盒中顯示。","error_page.error_message_stripe_missing_required_permission":"購買失敗,因為 Stripe 應用程式缺少必要的權限。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_title_stripe_tax_not_active":"Stripe Tax 未啟用","error_page.error_title_stripe_invalid_tax_origin_address":"無效的稅務起始地址","apple_pay.free_trial":"免費試用","product_info.price_after_intro_price":"在 {{introPriceDuration}} 之後,於 {{renewalDate}}","product_info.after_trial":"試用期後","product_info.after":"之後","product_info.intro_price_phase_after_trial":"然後 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase":"首先 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"在您的試用期結束後,您將被收取 {{price}} {{perFrequency}},從 {{renewalDate}} 開始。您可以隨時在此日期之前取消。","payment_entry_page.subscription_info":"訂閱會自動續訂。隨時取消。","payment_entry_page.otp_terms_info":"購買即表示您同意授權 {{appName}} 根據其條款向您收費。","payment_entry_page.terms_link_label":"條款","payment_entry_page.subscription_terms_info":"訂閱即表示您同意允許 {{appName}} 根據其條款向您收費,直到您取消為止。","loading_page.keep_page_open":"程序即將完成。請保持此頁面開啟。","loading_page.processing_payment":"正在處理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"新增優惠碼","discount_input.label":"促銷代碼"},lm={"periods.week":"{{amount}} tjedan","periods.month":"{{amount}} mjesec","periods.year":"{{amount}} godina","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}tj","periods.monthShort":"{{amount}}mj","periods.yearShort":"{{amount}}g","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotno","periods.weekPlural":"{{amount}} tjedana","periods.monthPlural":"{{amount}} mjeseci","periods.yearPlural":"{{amount}} godina","periods.dayPlural":"{{amount}} dana","periods.weekFrequency":"tjedno","periods.monthFrequency":"mjesečno","periods.yearFrequency":"godišnje","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"tjedno","periods.perMonthFrequency":"mjesečno","periods.perYearFrequency":"godišnje","periods.perDayFrequency":"dnevno","periods.unknownFrequency":"nepoznato","periods.weekFrequencyPlural":"svakih {{amount}} tjedana","periods.monthFrequencyPlural":"svakih {{amount}} mjeseci","periods.yearFrequencyPlural":"svakih {{amount}} godina","periods.dayFrequencyPlural":"svakih {{amount}} dana","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} besplatno probno razdoblje","product_info.price_after_free_trial":"Nakon isteka probnog razdoblja, {{renewalDate}}","product_info.renewal_frequency":"Obnavlja se {{frequency}}","product_info.continues_until_cancelled":"Nastavlja se dok se ne otkaže","product_info.cancel_anytime":"Otkažite u bilo kojem trenutku","payment_entry_page.payment_step_title":"Sigurna naplata putem RevenueCat","payment_entry_page.button_pay":"Plati sada","payment_entry_page.button_start_trial":"Počni probno razdoblje","success_page.purchase_successful":"Uplata je uspješna","success_page.button_close":"Nastavi","error_page.if_error_persists":"Ako se pogreška nastavi, obratite se ","error_page.error_title_already_subscribed":"Već ste pretplaćeni na {{productTitle}}","error_page.error_title_already_purchased":"Već ste kupili {{productTitle}}","error_page.error_title_other_errors":"Nešto je pošlo po zlu","error_page.error_message_already_subscribed":"Ne možete se ponovno pretplatiti na ovaj proizvod.","error_page.error_message_already_purchased":"Ne možete ponovno kupiti ovaj proizvod.","error_page.error_message_missing_email_error":"E-pošta je potrebna za dovršetak kupnje.","error_page.error_message_network_error":"Mrežna pogreška. Provjerite internetsku vezu.","error_page.error_message_error_charging_payment":"Plaćanje nije uspjelo.","error_page.error_message_error_setting_up_purchase":"Kupnja nije započela zbog pogreške (kod pogreške: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nismo mogli potvrditi vašu adresu za naplatu. Molimo provjerite poštanski broj i državu kako biste bili sigurni da su točni.","error_page.error_message_unknown_error":"Došlo je do nepoznate pogreške (kod pogreške: {{errorCode}}).","error_page.button_try_again":"Pokušaj ponovno","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ukupno dospijeće danas","product_info.subscribe_to":"Pretplatite se","navbar_header.details":"Detalji","navbar_header.back_button":"Natrag","pricing_dropdown.show_details":"Prikaži detalje","pricing_dropdown.hide_details":"Sakrij detalje","pricing_table.tax":"Porez","pricing_table.trial_ends":"Nakon isteka probnog razdoblja, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ukupan iznos dospijeća danas","pricing_table.total_excluding_tax":"Ukupno bez poreza","pricing_table.enter_billing_address_to_calculate":"Unesite adresu za naplatu za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Unesite državu ili poštanski broj za izračun","pricing_table.enter_postal_code_to_calculate":"Unesite poštanski broj za izračun","error_page.error_message_invalid_email_error":"Adresa e-pošte {{email}} nije se mogla potvrditi. Molimo unesite valjanu adresu e-pošte.","payment_entry_page.button_payment_method":"Plati {{formattedPrice}} putem {{paymentMethod}}","payment_entry_page.button_with_price":"Plati {{formattedPrice}}","price_update.title":"Ažuriranje cijene","price_update.base_message":"Ukupna cijena je ažurirana s porezom na temelju vaše adrese za naplatu. Pregledajte i pokušajte ponovo. Vaša kartica bit će naplaćena samo jednom.","price_update.trial_message":"Cijena pretplate je ažurirana da uključi poreze na temelju vaše adrese za naplatu. Besplatno probno razdoblje i dalje vrijedi. Molimo provjerite i pokušajte ponovno.","payment_entry_page.express_checkout_divider":"ILI PLATITE KARTICOM","error_page.trouble_accessing":"Ako imate problema s pristupom kupnji, obratite se podršci na ","error_page.close_button_title":"Idi na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Nedostaje Stripe dopuštenje","error_page.button_close":"Zatvori","error_page.error_message_stripe_invalid_tax_origin_address":"Kupnja nije uspjela jer je adresa poreznog podrijetla nevažeća. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_message_stripe_tax_not_active":"Kupnja nije uspjela jer Stripe Tax nije omogućen. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_only_in_sandbox":"Ova se poruka pojavljuje samo u sandboxu.","error_page.error_message_stripe_missing_required_permission":"Kupnja nije uspjela jer Stripe aplikaciji nedostaje potrebno dopuštenje. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nije aktivan","error_page.error_title_stripe_invalid_tax_origin_address":"Nevažeća adresa poreznog podrijetla","apple_pay.free_trial":"Besplatna proba","product_info.price_after_intro_price":"Nakon {{introPriceDuration}}, na {{renewalDate}}","product_info.after_trial":"nakon probnog perioda","product_info.after":"nakon","product_info.intro_price_phase_after_trial":"Zatim {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvo {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plaća se jednokratno","payment_entry_page.trial_subscription_terms_info":"Nakon isteka probnog razdoblja, bit će vam naplaćeno {{price}} {{perFrequency}} počevši od {{renewalDate}}. Možete otkazati bilo kada prije tog datuma.","payment_entry_page.subscription_info":"Pretplata se automatski obnavlja. Otkažite bilo kada.","payment_entry_page.otp_terms_info":"Kupnjom pristajete dopustiti aplikaciji {{appName}} da vam naplati u skladu s njihovim uvjetima.","payment_entry_page.terms_link_label":"Uvjeti","payment_entry_page.subscription_terms_info":"Pretplatom se slažete da ćete dopustiti {{appName}} da vam naplaćuje u skladu s njihovim uvjetima dok ne otkažete.","loading_page.keep_page_open":"Proces je skoro gotov. Ostavite ovu stranicu otvorenom.","loading_page.processing_payment":"Obrada uplate","pricing_table.discount":"Popust","pricing_table.subtotal":"Međuzbroj","pricing_dropdown.add_promo_code":"Dodaj promotivni kod","discount_input.label":"Promo kod"},cm={"periods.week":"{{amount}} týden","periods.month":"{{amount}} měsíc","periods.year":"{{amount}} rok","periods.day":"{{amount}} den","periods.weekShort":"{{amount}}týd","periods.monthShort":"{{amount}}měs","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotně","periods.weekPlural":"{{amount}} týdnů","periods.monthPlural":"{{amount}} měsíců","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dnů","periods.weekFrequency":"týdně","periods.monthFrequency":"měsíčně","periods.yearFrequency":"ročně","periods.dayFrequency":"denně","periods.perWeekFrequency":"týdně","periods.perMonthFrequency":"měsíčně","periods.perYearFrequency":"ročně","periods.perDayFrequency":"denně","periods.unknownFrequency":"neznámé","periods.weekFrequencyPlural":"každých {{amount}} týdnů","periods.monthFrequencyPlural":"každých {{amount}} měsíců","periods.yearFrequencyPlural":"každých {{amount}} let","periods.dayFrequencyPlural":"každých {{amount}} dnů","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} zkušební verze zdarma","product_info.price_after_free_trial":"Po skončení zkušební verze, {{renewalDate}}","product_info.renewal_frequency":"Obnovuje se {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, dokud není zrušeno","product_info.cancel_anytime":"Zrušit kdykoli","payment_entry_page.payment_step_title":"Bezpečné placení přes RevenueCat","payment_entry_page.button_pay":"Platit nyní","payment_entry_page.button_start_trial":"Spustit zkušební verzi","success_page.purchase_successful":"Platba dokončena","success_page.button_close":"Pokračovat","error_page.if_error_persists":"Pokud chyba přetrvává, kontaktujte ","error_page.error_title_already_subscribed":"Již máte předplatné pro {{productTitle}}","error_page.error_title_already_purchased":"Již jste zakoupili {{productTitle}}","error_page.error_title_other_errors":"Něco se pokazilo","error_page.error_message_already_subscribed":"Nemůžete si znovu předplatit tento produkt.","error_page.error_message_already_purchased":"Tento produkt si nemůžete znovu zakoupit.","error_page.error_message_missing_email_error":"Pro dokončení nákupu je vyžadován e-mail.","error_page.error_message_network_error":"Síťová chyba. Zkontrolujte prosím své internetové připojení.","error_page.error_message_error_charging_payment":"Platba selhala.","error_page.error_message_error_setting_up_purchase":"Nákup nebyl zahájen z důvodu chyby (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nemohli jsme ověřit vaši fakturační adresu. Zkontrolujte prosím, zda je poštovní směrovací číslo a země správné.","error_page.error_message_unknown_error":"Došlo k neznámé chybě (kód chyby: {{errorCode}}).","error_page.button_try_again":"Zkusit znovu","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celkem dnes k zaplacení","product_info.subscribe_to":"Předplatit","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Zpět","pricing_dropdown.show_details":"Zobrazit podrobnosti","pricing_dropdown.hide_details":"Skrýt podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení zkušební doby, dne {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celkem splatné dnes","pricing_table.total_excluding_tax":"Celkem bez daně","pricing_table.enter_billing_address_to_calculate":"Zadejte fakturační adresu pro výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadejte stát nebo PSČ pro výpočet","pricing_table.enter_postal_code_to_calculate":"Zadejte PSČ pro výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} nemohla být ověřena. Zadejte prosím platnou e-mailovou adresu.","payment_entry_page.button_payment_method":"Zaplatit {{formattedPrice}} pomocí {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatit {{formattedPrice}}","price_update.title":"Aktualizace ceny","price_update.base_message":"Celková cena byla aktualizována o daň na základě vaší fakturační adresy. Zkontrolujte ji a zkuste to znovu. Vaše karta bude stržena pouze jednou.","price_update.trial_message":"Cena předplatného byla aktualizována včetně daní na základě vaší fakturační adresy. Bezplatná zkušební doba stále platí. Prosím, zkontrolujte a zkuste to znovu.","payment_entry_page.express_checkout_divider":"NEBO ZAPLATIT KARTOU","error_page.trouble_accessing":"Pokud máte potíže s přístupem k zakoupenému obsahu, kontaktujte podporu na ","error_page.close_button_title":"Přejít na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chybí oprávnění Stripe","error_page.button_close":"Zavřít","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup se nezdařil, protože adresa původu daně je neplatná. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_message_stripe_tax_not_active":"Nákup se nezdařil, protože Stripe Tax není aktivní. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_only_in_sandbox":"Tato zpráva se zobrazuje pouze v sandboxu.","error_page.error_message_stripe_missing_required_permission":"Nákup se nezdařil, protože aplikaci Stripe chybí požadované oprávnění. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax není aktivní","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa původu daně","apple_pay.free_trial":"Zkušební verze zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po zkušební době","product_info.after":"po","product_info.intro_price_phase_after_trial":"Poté {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Nejprve {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"placeno jednorázově","payment_entry_page.trial_subscription_terms_info":"Po skončení zkušebního období vám bude účtováno {{price}} {{perFrequency}} počínaje {{renewalDate}}. Před tímto datem můžete kdykoli zrušit.","payment_entry_page.subscription_info":"Předplatné se automaticky obnovuje. Zrušit můžete kdykoli.","payment_entry_page.otp_terms_info":"Zakoupením souhlasíte s tím, že umožníte aplikaci {{appName}} účtovat vám poplatky v souladu s jejími podmínkami.","payment_entry_page.terms_link_label":"Podmínky","payment_entry_page.subscription_terms_info":"Přihlášením k odběru souhlasíte s tím, že společnost {{appName}} vám bude účtovat poplatky v souladu s jejími podmínkami, dokud odběr nezrušíte.","loading_page.keep_page_open":"Probíhá dokončování procesu. Nechte tuto stránku otevřenou.","loading_page.processing_payment":"Probíhá zpracování platby","pricing_table.discount":"Sleva","pricing_table.subtotal":"Mezisoučet","pricing_dropdown.add_promo_code":"Přidat promo kód","discount_input.label":"Promo kód"},um={"periods.week":"{{amount}} uge","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}ug","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uger","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dage","periods.weekFrequency":"ugentligt","periods.monthFrequency":"månedligt","periods.yearFrequency":"årligt","periods.dayFrequency":"dagligt","periods.perWeekFrequency":"pr. uge","periods.perMonthFrequency":"pr. måned","periods.perYearFrequency":"pr. år","periods.perDayFrequency":"pr. dag","periods.unknownFrequency":"ukendt","periods.weekFrequencyPlural":"hver {{amount}} uger","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Efter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Fortsætter indtil annulleret","product_info.cancel_anytime":"Annuller når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nu","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betaling gennemført","success_page.button_close":"Fortsæt","error_page.if_error_persists":"Hvis fejlen fortsætter, kontakt venligst ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede købt {{productTitle}}","error_page.error_title_other_errors":"Noget gik galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produkt igen.","error_page.error_message_already_purchased":"Du kan ikke købe dette produkt igen.","error_page.error_message_missing_email_error":"Email er påkrævet for at gennemføre købet.","error_page.error_message_network_error":"Netværksfejl. Kontroller din internetforbindelse.","error_page.error_message_error_charging_payment":"Betalingen mislykkedes.","error_page.error_message_error_setting_up_purchase":"Køb ikke startet på grund af en fejl (fejlkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekræfte din faktureringsadresse. Kontroller venligst, at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"Der opstod en ukendt fejl (fejlkode: {{errorCode}}).","error_page.button_try_again":"Prøv igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Samlet beløb for i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbage","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Samlet beløb forfalden i dag","pricing_table.total_excluding_tax":"Samlet beløb eksklusive moms","pricing_table.enter_billing_address_to_calculate":"Indtast faktureringsadresse for at beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Indtast stat eller postnummer for at beregne","pricing_table.enter_postal_code_to_calculate":"Indtast postnummer for at beregne","error_page.error_message_invalid_email_error":"E-mailadressen {{email}} kunne ikke bekræftes. Angiv en gyldig e-mailadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisopdatering","price_update.base_message":"Den samlede pris er blevet opdateret med moms baseret på din faktureringsadresse. Gennemgå og prøv igen. Dit kort vil kun blive debiteret én gang.","price_update.trial_message":"Abonnementsprisen er opdateret for at inkludere skatter baseret på din faktureringsadresse. Den gratis prøveperiode gælder stadig. Kontroller venligst og prøv igen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med at få adgang til dit køb, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Manglende Stripe-tilladelse","error_page.button_close":"Luk","error_page.error_message_stripe_invalid_tax_origin_address":"Købet mislykkedes, fordi skatteoprindelsesadressen er ugyldig. I produktion vil køb fungere uden påførte skatter.","error_page.error_message_stripe_tax_not_active":"Købet mislykkedes, fordi Stripe Tax ikke er aktiveret. I produktion vil køb fungere uden påførte skatter.","error_page.error_only_in_sandbox":"Denne meddelelse vises kun i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Købet mislykkedes, fordi Stripe-appen mangler en påkrævet tilladelse. I produktion vil køb fungere uden påførte skatter.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteoprindelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter prøveperiode","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Derefter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Efter din prøveperiode slutter, vil du blive opkrævet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan opsige når som helst før denne dato.","payment_entry_page.subscription_info":"Abonnementet fornys automatisk. Opsig når som helst.","payment_entry_page.otp_terms_info":"Ved at købe accepterer du, at {{appName}} kan debitere dig i overensstemmelse med deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved at abonnere accepterer du, at {{appName}} kan opkræve dig i henhold til deres vilkår, indtil du opsiger.","loading_page.keep_page_open":"Processen er næsten færdig. Hold denne side åben.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabat","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tilføj rabatkode","discount_input.label":"Kampagnekode"},dm={"periods.week":"{{amount}} week","periods.month":"{{amount}} maand","periods.year":"{{amount}} jaar","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}maand","periods.yearShort":"{{amount}}jr","periods.dayShort":"{{amount}}d","periods.lifetime":"levenslang","periods.weekPlural":"{{amount}} weken","periods.monthPlural":"{{amount}} maanden","periods.yearPlural":"{{amount}} jaren","periods.dayPlural":"{{amount}} dagen","periods.weekFrequency":"wekelijks","periods.monthFrequency":"maandelijks","periods.yearFrequency":"jaarlijks","periods.dayFrequency":"dagelijks","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per maand","periods.perYearFrequency":"per jaar","periods.perDayFrequency":"per dag","periods.unknownFrequency":"onbekend","periods.weekFrequencyPlural":"elke {{amount}} weken","periods.monthFrequencyPlural":"elke {{amount}} maanden","periods.yearFrequencyPlural":"elke {{amount}} jaren","periods.dayFrequencyPlural":"elke {{amount}} dagen","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis proefperiode","product_info.price_after_free_trial":"Na afloop van de proefperiode, op {{renewalDate}}","product_info.renewal_frequency":"Wordt verlengd {{frequency}}","product_info.continues_until_cancelled":"Wordt voortgezet tot annulering","product_info.cancel_anytime":"Annuleer op elk gewenst moment","payment_entry_page.payment_step_title":"Veilige afrekening via RevenueCat","payment_entry_page.button_pay":"Nu betalen","payment_entry_page.button_start_trial":"Start proefperiode","success_page.purchase_successful":"Betaling voltooid","success_page.button_close":"Doorgaan","error_page.if_error_persists":"Neem contact op met als de fout aanhoudt","error_page.error_title_already_subscribed":"Je bent al geabonneerd op {{productTitle}}","error_page.error_title_already_purchased":"Je hebt {{productTitle}} al gekocht","error_page.error_title_other_errors":"Er is iets misgegaan","error_page.error_message_already_subscribed":"Je kunt je niet opnieuw abonneren op dit product.","error_page.error_message_already_purchased":"Je kunt dit product niet opnieuw kopen.","error_page.error_message_missing_email_error":"Een e-mailadres is vereist om de aankoop te voltooien.","error_page.error_message_network_error":"Netwerkfout. Controleer uw internetverbinding.","error_page.error_message_error_charging_payment":"Betaling mislukt.","error_page.error_message_error_setting_up_purchase":"Aankoop niet gestart vanwege een fout (foutcode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We konden uw factuuradres niet verifiëren. Controleer of de postcode en het land correct zijn.","error_page.error_message_unknown_error":"Er is een onbekende fout opgetreden (foutcode: {{errorCode}}).","error_page.button_try_again":"Opnieuw proberen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totaal te betalen vandaag","product_info.subscribe_to":"Abonneren op","navbar_header.details":"Details","navbar_header.back_button":"Terug","pricing_dropdown.show_details":"Toon details","pricing_dropdown.hide_details":"Verberg details","pricing_table.tax":"Btw","pricing_table.trial_ends":"Na afloop van de proefperiode, op {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totaal vandaag te betalen","pricing_table.total_excluding_tax":"Totaal exclusief btw","pricing_table.enter_billing_address_to_calculate":"Voer het factuuradres in om te berekenen","pricing_table.enter_state_or_postal_code_to_calculate":"Voer provincie of postcode in om te berekenen","pricing_table.enter_postal_code_to_calculate":"Voer postcode in om te berekenen","error_page.error_message_invalid_email_error":"Het e-mailadres {{email}} kon niet worden geverifieerd. Geef een geldig e-mailadres op.","payment_entry_page.button_payment_method":"Betaal {{formattedPrice}} met {{paymentMethod}}","payment_entry_page.button_with_price":"Betaal {{formattedPrice}}","price_update.title":"Prijsupdate","price_update.base_message":"De totale prijs is bijgewerkt met belasting op basis van uw factuuradres. Controleer en probeer het opnieuw. Uw kaart wordt slechts één keer belast.","price_update.trial_message":"De abonnementsprijs is bijgewerkt om belastingen op te nemen op basis van uw factuuradres. De gratis proefperiode blijft van toepassing. Controleer en probeer het opnieuw.","payment_entry_page.express_checkout_divider":"OF BETAAL MET EEN KAART","error_page.trouble_accessing":"Als je problemen hebt met het verkrijgen van toegang tot je aankoop, neem dan contact op met de ondersteuning via ","error_page.close_button_title":"Ga naar {{appName}}","error_page.error_title_stripe_missing_required_permission":"Ontbrekende Stripe-toestemming","error_page.button_close":"Sluiten","error_page.error_message_stripe_invalid_tax_origin_address":"De aankoop is mislukt omdat het belastingoorsprongadres ongeldig is. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_message_stripe_tax_not_active":"De aankoop is mislukt omdat Stripe Tax niet is ingeschakeld. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_only_in_sandbox":"Dit bericht verschijnt alleen in de sandbox.","error_page.error_message_stripe_missing_required_permission":"De aankoop is mislukt omdat de Stripe-app een vereiste toestemming mist. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_title_stripe_tax_not_active":"Stripe Tax niet actief","error_page.error_title_stripe_invalid_tax_origin_address":"Ongeldig belastingoorsprongadres","apple_pay.free_trial":"Gratis proefperiode","product_info.price_after_intro_price":"Na {{introPriceDuration}}, op {{renewalDate}}","product_info.after_trial":"na proefperiode","product_info.after":"na","product_info.intro_price_phase_after_trial":"Daarna {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase":"Eerst {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase_paid_once":"eenmalig betaald","payment_entry_page.trial_subscription_terms_info":"Na afloop van uw proefperiode wordt {{price}} {{perFrequency}} in rekening gebracht, beginnend op {{renewalDate}}. U kunt op elk moment vóór deze datum annuleren.","payment_entry_page.subscription_info":"Abonnement wordt automatisch verlengd. Annuleer op elk moment.","payment_entry_page.otp_terms_info":"Door de aankoop ga je ermee akkoord dat {{appName}} kosten in rekening brengt volgens hun voorwaarden.","payment_entry_page.terms_link_label":"Voorwaarden","payment_entry_page.subscription_terms_info":"Door u te abonneren, stemt u ermee in dat {{appName}} u kosten in rekening brengt volgens hun voorwaarden totdat u annuleert.","loading_page.keep_page_open":"Het proces is bijna voltooid. Houd deze pagina open.","loading_page.processing_payment":"Betaling verwerken","pricing_table.discount":"Korting","pricing_table.subtotal":"Subtotaal","pricing_dropdown.add_promo_code":"Promotiecode toevoegen","discount_input.label":"Promotiecode"},pm={"periods.week":"{{amount}} viikko","periods.month":"{{amount}} kuukausi","periods.year":"{{amount}} vuosi","periods.day":"{{amount}} päivä","periods.weekShort":"{{amount}}vk","periods.monthShort":"{{amount}}kk","periods.yearShort":"{{amount}}v","periods.dayShort":"{{amount}}p","periods.lifetime":"elämäaika","periods.weekPlural":"{{amount}} viikkoa","periods.monthPlural":"{{amount}} kuukautta","periods.yearPlural":"{{amount}} vuotta","periods.dayPlural":"{{amount}} päivää","periods.weekFrequency":"viikoittain","periods.monthFrequency":"kuukausittain","periods.yearFrequency":"vuosittain","periods.dayFrequency":"päivittäin","periods.perWeekFrequency":"viikossa","periods.perMonthFrequency":"kuukaudessa","periods.perYearFrequency":"vuodessa","periods.perDayFrequency":"päivässä","periods.unknownFrequency":"tuntematon","periods.weekFrequencyPlural":"joka {{amount}} viikko","periods.monthFrequencyPlural":"joka {{amount}} kuukausi","periods.yearFrequencyPlural":"joka {{amount}} vuosi","periods.dayFrequencyPlural":"joka {{amount}} päivä","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ilmainen kokeilujakso","product_info.price_after_free_trial":"Kokeilujakson päätyttyä, {{renewalDate}}","product_info.renewal_frequency":"Uusiutuu {{frequency}}","product_info.continues_until_cancelled":"Jatkuu, kunnes peruutetaan","product_info.cancel_anytime":"Peruuta milloin tahansa","payment_entry_page.payment_step_title":"Suojautunut kassatoiminto RevenueCatin kautta","payment_entry_page.button_pay":"Maksa nyt","payment_entry_page.button_start_trial":"Aloita kokeilujakso","success_page.purchase_successful":"Maksaminen onnistui","success_page.button_close":"Jatka","error_page.if_error_persists":"Jos virhe jatkuu, ota yhteyttä ","error_page.error_title_already_subscribed":"Olet jo tilannut tuotteen {{productTitle}}","error_page.error_title_already_purchased":"Olet jo ostanut tuotteen {{productTitle}}","error_page.error_title_other_errors":"Jokin meni pieleen","error_page.error_message_already_subscribed":"Et voi tilata tätä tuotetta uudelleen.","error_page.error_message_already_purchased":"Et voi ostaa tätä tuotetta uudelleen.","error_page.error_message_missing_email_error":"Sähköpostiosoite tarvitaan ostoksen loppuun saattamiseksi.","error_page.error_message_network_error":"Verkkovirhe. Tarkista internet-yhteytesi.","error_page.error_message_error_charging_payment":"Maksaminen epäonnistui.","error_page.error_message_error_setting_up_purchase":"Ostoa ei aloitettu virheen vuoksi (virhekoodi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Emme voineet vahvistaa laskutusosoitettasi. Tarkista, että postinumero ja maa ovat oikein.","error_page.error_message_unknown_error":"Tapahtui tuntematon virhe (virhekoodi: {{errorCode}}).","error_page.button_try_again":"Yritä uudelleen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Maksettava summa tänään","product_info.subscribe_to":"Tilaa","navbar_header.details":"Yksityiskohdat","navbar_header.back_button":"Takaisin","pricing_dropdown.show_details":"Näytä tiedot","pricing_dropdown.hide_details":"Piilota tiedot","pricing_table.tax":"Vero","pricing_table.trial_ends":"Kokeilujakson päätyttyä, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Maksettava summa tänään","pricing_table.total_excluding_tax":"Veroton kokonaissumma","pricing_table.enter_billing_address_to_calculate":"Syötä laskutusosoite laskeaksesi","pricing_table.enter_state_or_postal_code_to_calculate":"Syötä osavaltio tai postinumero laskeaksesi","pricing_table.enter_postal_code_to_calculate":"Syötä postinumero laskeaksesi","error_page.error_message_invalid_email_error":"Sähköpostiosoitetta {{email}} ei voitu vahvistaa. Anna kelvollinen sähköpostiosoite.","payment_entry_page.button_payment_method":"Maksa {{formattedPrice}} käyttämällä {{paymentMethod}}","payment_entry_page.button_with_price":"Maksa {{formattedPrice}}","price_update.title":"Hinnan päivitys","price_update.base_message":"Kokonaishinta on päivitetty verolla laskutusosoitteesi perusteella. Tarkista ja yritä uudelleen. Korttiasi veloitetaan vain kerran.","price_update.trial_message":"Tilauksen hinta on päivitetty sisältämään verot laskutusosoitteesi perusteella. Ilmainen kokeilujakso on edelleen voimassa. Tarkista ja yritä uudelleen.","payment_entry_page.express_checkout_divider":"TAI MAKSA KORTILLA","error_page.trouble_accessing":"Jos sinulla on ongelmia ostoksesi käyttämisessä, ota yhteyttä tukeen osoitteessa ","error_page.close_button_title":"Siirry sovellukseen {{appName}}","error_page.error_title_stripe_missing_required_permission":"Puuttuva Stripe-käyttöoikeus","error_page.button_close":"Sulje","error_page.error_message_stripe_invalid_tax_origin_address":"Osto epäonnistui, koska veron alkuperäosoite on virheellinen. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_message_stripe_tax_not_active":"Osto epäonnistui, koska Stripe Tax ei ole käytössä. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_only_in_sandbox":"Tämä viesti näkyy vain hiekkalaatikossa.","error_page.error_message_stripe_missing_required_permission":"Osto epäonnistui, koska Stripe-sovellukselta puuttuu vaadittu käyttöoikeus. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ei ole aktiivinen","error_page.error_title_stripe_invalid_tax_origin_address":"Virheellinen veron alkuperäosoite","apple_pay.free_trial":"Ilmainen kokeilu","product_info.price_after_intro_price":"{{introPriceDuration}} jälkeen, {{renewalDate}}","product_info.after_trial":"kokeilujakson jälkeen","product_info.after":"jälkeen","product_info.intro_price_phase_after_trial":"Sitten {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase":"Ensimmäiset {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase_paid_once":"maksetaan kerran","payment_entry_page.trial_subscription_terms_info":"Kokeilujakson päätyttyä sinulta veloitetaan {{price}} {{perFrequency}} alkaen {{renewalDate}}. Voit peruuttaa milloin tahansa ennen tätä päivämäärää.","payment_entry_page.subscription_info":"Tilaus uusiutuu automaattisesti. Peruuta milloin tahansa.","payment_entry_page.otp_terms_info":"Ostamalla hyväksyt, että {{appName}} veloittaa sinua heidän ehtojensa mukaisesti.","payment_entry_page.terms_link_label":"Ehdot","payment_entry_page.subscription_terms_info":"Tilaamalla hyväksyt, että {{appName}} veloittaa sinulta ehtojensa mukaisesti, kunnes peruutat tilauksen.","loading_page.keep_page_open":"Prosessi on melkein valmis. Pidä tämä sivu auki.","loading_page.processing_payment":"Maksua käsitellään","pricing_table.discount":"Alennus","pricing_table.subtotal":"Välisumma","pricing_dropdown.add_promo_code":"Lisää kampanjakoodi","discount_input.label":"Kampanjakoodi"},_m={"periods.week":"{{amount}} semaine","periods.month":"{{amount}} mois","periods.year":"{{amount}} an","periods.day":"{{amount}} jour","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mois","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}j","periods.lifetime":"à vie","periods.weekPlural":"{{amount}} semaines","periods.monthPlural":"{{amount}} mois","periods.yearPlural":"{{amount}} ans","periods.dayPlural":"{{amount}} jours","periods.weekFrequency":"hebdomadaire","periods.monthFrequency":"mensuel","periods.yearFrequency":"annuel","periods.dayFrequency":"quotidien","periods.perWeekFrequency":"par semaine","periods.perMonthFrequency":"par mois","periods.perYearFrequency":"par an","periods.perDayFrequency":"par jour","periods.unknownFrequency":"inconnu","periods.weekFrequencyPlural":"toutes les {{amount}} semaines","periods.monthFrequencyPlural":"tous les {{amount}} mois","periods.yearFrequencyPlural":"tous les {{amount}} ans","periods.dayFrequencyPlural":"tous les {{amount}} jours","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} essai gratuit","product_info.price_after_free_trial":"Après la fin de l'essai, le {{renewalDate}}","product_info.renewal_frequency":"Renouvellement {{frequency}}","product_info.continues_until_cancelled":"Continue jusqu'à annulation","product_info.cancel_anytime":"Annulez à tout moment","payment_entry_page.payment_step_title":"Paiement sécurisé par RevenueCat","payment_entry_page.button_pay":"Payer maintenant","payment_entry_page.button_start_trial":"Commencer l'essai","success_page.purchase_successful":"Paiement effectué","success_page.button_close":"Continuer","error_page.if_error_persists":"Si l'erreur persiste, veuillez contacter ","error_page.error_title_already_subscribed":"Vous êtes déjà abonné à {{productTitle}}","error_page.error_title_already_purchased":"Vous avez déjà acheté {{productTitle}}","error_page.error_title_other_errors":"Une erreur s'est produite","error_page.error_message_already_subscribed":"Vous ne pouvez pas vous abonner à nouveau à ce produit.","error_page.error_message_already_purchased":"Vous ne pouvez pas acheter ce produit à nouveau.","error_page.error_message_missing_email_error":"L'adresse e-mail est requise pour effectuer l'achat.","error_page.error_message_network_error":"Erreur réseau. Veuillez vérifier votre connexion Internet.","error_page.error_message_error_charging_payment":"Échec du paiement.","error_page.error_message_error_setting_up_purchase":"L'achat n'a pas pu démarrer en raison d'une erreur (code d'erreur : {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nous n'avons pas pu vérifier votre adresse de facturation. Veuillez vérifier que le code postal et le pays sont corrects.","error_page.error_message_unknown_error":"Une erreur inconnue s'est produite (code d'erreur : {{errorCode}}).","error_page.button_try_again":"Réessayer","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total dû aujourd'hui","product_info.subscribe_to":"S'abonner à","navbar_header.details":"Détails","navbar_header.back_button":"Retour","pricing_dropdown.show_details":"Afficher les détails","pricing_dropdown.hide_details":"Masquer les détails","pricing_table.tax":"Taxe","pricing_table.trial_ends":"Après la fin de l'essai, le {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total dû aujourd'hui","pricing_table.total_excluding_tax":"Total hors taxes","pricing_table.enter_billing_address_to_calculate":"Saisir l'adresse de facturation pour calculer","pricing_table.enter_state_or_postal_code_to_calculate":"Entrez l'état ou le code postal pour calculer","pricing_table.enter_postal_code_to_calculate":"Entrez le code postal pour calculer","error_page.error_message_invalid_email_error":"L'adresse e-mail {{email}} n'a pas pu être vérifiée. Veuillez fournir une adresse e-mail valide.","payment_entry_page.button_payment_method":"Payer {{formattedPrice}} avec {{paymentMethod}}","payment_entry_page.button_with_price":"Payer {{formattedPrice}}","price_update.title":"Mise à jour du prix","price_update.base_message":"Le prix total a été mis à jour avec la taxe en fonction de votre adresse de facturation. Veuillez vérifier et réessayer. Votre carte ne sera débitée qu'une seule fois.","price_update.trial_message":"Le prix de l'abonnement a été mis à jour pour inclure les taxes en fonction de votre adresse de facturation. La période d'essai gratuit reste applicable. Veuillez vérifier et réessayer.","payment_entry_page.express_checkout_divider":"OU PAYER PAR CARTE","error_page.trouble_accessing":"Si vous avez des difficultés à accéder à votre achat, contactez le support à l'adresse suivante : ","error_page.close_button_title":"Aller sur {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorisation Stripe manquante","error_page.button_close":"Fermer","error_page.error_message_stripe_invalid_tax_origin_address":"L'achat a échoué car l'adresse d'origine de la taxe n'est pas valide. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_message_stripe_tax_not_active":"L'achat a échoué car Stripe Tax n'est pas activé. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_only_in_sandbox":"Ce message apparaît uniquement dans l'environnement de test.","error_page.error_message_stripe_missing_required_permission":"L'achat a échoué car l'application Stripe ne dispose pas d'une autorisation requise. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non actif","error_page.error_title_stripe_invalid_tax_origin_address":"Adresse d'origine de la taxe non valide","apple_pay.free_trial":"Essai gratuit","product_info.price_after_intro_price":"Après {{introPriceDuration}}, le {{renewalDate}}","product_info.after_trial":"après l'essai","product_info.after":"après","product_info.intro_price_phase_after_trial":"Puis {{introPriceDuration}} pour {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} pour {{introPrice}} au départ","product_info.intro_price_phase_paid_once":"payé une fois","payment_entry_page.trial_subscription_terms_info":"Après la fin de votre essai, vous serez facturé {{price}} {{perFrequency}} à partir du {{renewalDate}}. Vous pouvez annuler à tout moment avant cette date.","payment_entry_page.subscription_info":"L'abonnement est renouvelé automatiquement. Annulez à tout moment.","payment_entry_page.otp_terms_info":"En achetant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions.","payment_entry_page.terms_link_label":"Conditions","payment_entry_page.subscription_terms_info":"En vous abonnant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions jusqu'à ce que vous annuliez.","loading_page.keep_page_open":"Le processus est presque terminé. Veuillez garder cette page ouverte.","loading_page.processing_payment":"Paiement en cours","pricing_table.discount":"Remise","pricing_table.subtotal":"Sous-total","pricing_dropdown.add_promo_code":"Ajouter un code promotionnel","discount_input.label":"Code promo"},gm={"periods.week":"{{amount}} Woche","periods.month":"{{amount}} Monat","periods.year":"{{amount}} Jahr","periods.day":"{{amount}} Tag","periods.weekShort":"{{amount}}Wo","periods.monthShort":"{{amount}}Mo","periods.yearShort":"{{amount}}J","periods.dayShort":"{{amount}}T","periods.lifetime":"lebenslang","periods.weekPlural":"{{amount}} Wochen","periods.monthPlural":"{{amount}} Monate","periods.yearPlural":"{{amount}} Jahre","periods.dayPlural":"{{amount}} Tage","periods.weekFrequency":"wöchentlich","periods.monthFrequency":"monatlich","periods.yearFrequency":"jährlich","periods.dayFrequency":"täglich","periods.perWeekFrequency":"pro Woche","periods.perMonthFrequency":"pro Monat","periods.perYearFrequency":"pro Jahr","periods.perDayFrequency":"pro Tag","periods.unknownFrequency":"unbekannt","periods.weekFrequencyPlural":"alle {{amount}} Wochen","periods.monthFrequencyPlural":"alle {{amount}} Monate","periods.yearFrequencyPlural":"alle {{amount}} Jahre","periods.dayFrequencyPlural":"alle {{amount}} Tage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} kostenlose Testversion","product_info.price_after_free_trial":"Nach Ablauf der Testversion, am {{renewalDate}}","product_info.renewal_frequency":"Verlängert sich {{frequency}}","product_info.continues_until_cancelled":"Läuft bis zur Kündigung","product_info.cancel_anytime":"Jederzeit kündbar","payment_entry_page.payment_step_title":"Sicherer Checkout über RevenueCat","payment_entry_page.button_pay":"Jetzt bezahlen","payment_entry_page.button_start_trial":"Testversion starten","success_page.purchase_successful":"Zahlung abgeschlossen","success_page.button_close":"Weiter","error_page.if_error_persists":"Wenn der Fehler weiterhin besteht, wenden Sie sich bitte an ","error_page.error_title_already_subscribed":"Du hast {{productTitle}} bereits abonniert","error_page.error_title_already_purchased":"Du hast {{productTitle}} bereits gekauft","error_page.error_title_other_errors":"Etwas ist schief gelaufen","error_page.error_message_already_subscribed":"Du kannst dieses Produkt nicht erneut abonnieren.","error_page.error_message_already_purchased":"Du kannst dieses Produkt nicht erneut kaufen.","error_page.error_message_missing_email_error":"Für den Kauf ist eine E-Mail-Adresse erforderlich.","error_page.error_message_network_error":"Netzwerkfehler. Bitte überprüfen Sie Ihre Internetverbindung.","error_page.error_message_error_charging_payment":"Zahlung fehlgeschlagen.","error_page.error_message_error_setting_up_purchase":"Der Kauf wurde aufgrund eines Fehlers nicht gestartet (Fehlercode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Wir konnten Ihre Rechnungsadresse nicht überprüfen. Bitte überprüfen Sie, ob die Postleitzahl und das Land korrekt sind.","error_page.error_message_unknown_error":"Ein unbekannter Fehler ist aufgetreten (Fehlercode: {{errorCode}}).","error_page.button_try_again":"Erneut versuchen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Heute fälliger Gesamtbetrag","product_info.subscribe_to":"Abonnieren","navbar_header.details":"Details","navbar_header.back_button":"Zurück","pricing_dropdown.show_details":"Details anzeigen","pricing_dropdown.hide_details":"Details ausblenden","pricing_table.tax":"Steuer","pricing_table.trial_ends":"Nach Ablauf der Testphase, am {{formattedTrialEndDate}}","pricing_table.total_due_today":"Heute fälliger Gesamtbetrag","pricing_table.total_excluding_tax":"Gesamtbetrag ohne Steuer","pricing_table.enter_billing_address_to_calculate":"Rechnungsadresse eingeben, um zu berechnen","pricing_table.enter_state_or_postal_code_to_calculate":"Bundesland oder Postleitzahl zur Berechnung eingeben","pricing_table.enter_postal_code_to_calculate":"Postleitzahl zur Berechnung eingeben","error_page.error_message_invalid_email_error":"Die E-Mail-Adresse {{email}} konnte nicht verifiziert werden. Bitte gib eine gültige E-Mail-Adresse an.","payment_entry_page.button_payment_method":"Mit {{paymentMethod}} für {{formattedPrice}} bezahlen","payment_entry_page.button_with_price":"{{formattedPrice}} bezahlen","price_update.title":"Preisaktualisierung","price_update.base_message":"Der Gesamtpreis wurde basierend auf Ihrer Rechnungsadresse mit Steuern aktualisiert. Bitte überprüfen Sie ihn und versuchen Sie es erneut. Ihre Karte wird erst belastet, wenn alles korrekt ist.","price_update.trial_message":"Der Abonnementpreis wurde aktualisiert, um Steuern basierend auf Ihrer Rechnungsadresse einzuschließen. Die kostenlose Testphase gilt weiterhin. Bitte überprüfen Sie und versuchen Sie es erneut.","payment_entry_page.express_checkout_divider":"ODER MIT KARTE ZAHLEN","error_page.trouble_accessing":"Wenn Sie Probleme beim Zugriff auf Ihren Kauf haben, wenden Sie sich an den Support unter ","error_page.close_button_title":"Zu {{appName}} gehen","error_page.error_title_stripe_missing_required_permission":"Fehlende Stripe-Berechtigung","error_page.button_close":"Schließen","error_page.error_message_stripe_invalid_tax_origin_address":"Der Kauf ist fehlgeschlagen, da die Steuerursprungsadresse ungültig ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_message_stripe_tax_not_active":"Der Kauf ist fehlgeschlagen, da Stripe Tax nicht aktiviert ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_only_in_sandbox":"Diese Meldung wird nur in der Sandbox angezeigt.","error_page.error_message_stripe_missing_required_permission":"Der Kauf ist fehlgeschlagen, da der Stripe-App eine erforderliche Berechtigung fehlt. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ist nicht aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ungültige Steuerursprungsadresse","apple_pay.free_trial":"Kostenlose Testversion","product_info.price_after_intro_price":"Nach {{introPriceDuration}}, am {{renewalDate}}","product_info.after_trial":"nach Testphase","product_info.after":"nach","product_info.intro_price_phase_after_trial":"Danach {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase":"Zuerst {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase_paid_once":"einmalig bezahlt","payment_entry_page.trial_subscription_terms_info":"Nach Ablauf Ihres Testzeitraums werden Ihnen {{price}} {{perFrequency}} ab dem {{renewalDate}} berechnet. Sie können jederzeit vor diesem Datum kündigen.","payment_entry_page.subscription_info":"Das Abonnement verlängert sich automatisch. Jederzeit kündbar.","payment_entry_page.otp_terms_info":"Mit dem Kauf erklären Sie sich einverstanden, dass {{appName}} Ihnen Gebühren gemäß ihren Bedingungen berechnet.","payment_entry_page.terms_link_label":"Bedingungen","payment_entry_page.subscription_terms_info":"Mit dem Abonnieren erklären Sie sich damit einverstanden, dass {{appName}} Ihnen gemäß ihren Bedingungen Gebühren berechnet, bis Sie kündigen.","loading_page.keep_page_open":"Der Vorgang ist fast abgeschlossen. Bitte lassen Sie diese Seite geöffnet.","loading_page.processing_payment":"Zahlung wird verarbeitet","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Zwischensumme","pricing_dropdown.add_promo_code":"Promo-Code hinzufügen","discount_input.label":"Gutscheincode"},fm={"periods.week":"{{amount}} εβδομάδα","periods.month":"{{amount}} μήνας","periods.year":"{{amount}} χρόνος","periods.day":"{{amount}} ημέρα","periods.weekShort":"{{amount}} εβδ.","periods.monthShort":"{{amount}} μήν.","periods.yearShort":"{{amount}} έτ.","periods.dayShort":"{{amount}} ημ.","periods.lifetime":"διάρκεια ζωής","periods.weekPlural":"{{amount}} εβδομάδες","periods.monthPlural":"{{amount}} μήνες","periods.yearPlural":"{{amount}} χρόνια","periods.dayPlural":"{{amount}} ημέρες","periods.weekFrequency":"εβδομαδιαία","periods.monthFrequency":"μηνιαία","periods.yearFrequency":"ετήσια","periods.dayFrequency":"καθημερινά","periods.perWeekFrequency":"ανά εβδομάδα","periods.perMonthFrequency":"ανά μήνα","periods.perYearFrequency":"ανά έτος","periods.perDayFrequency":"ανά ημέρα","periods.unknownFrequency":"άγνωστο","periods.weekFrequencyPlural":"κάθε {{amount}} εβδομάδες","periods.monthFrequencyPlural":"κάθε {{amount}} μήνες","periods.yearFrequencyPlural":"κάθε {{amount}} χρόνια","periods.dayFrequencyPlural":"κάθε {{amount}} ημέρες","product_info.subscribe_to":"Εγγραφείτε στο","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Δωρεάν για {{trialDuration}}","product_info.price_after_free_trial":"Μετά τη λήξη της δοκιμής, στις {{renewalDate}}","product_info.total_due_today":"Σύνολο πληρωτέο σήμερα","product_info.renewal_frequency":"Ανανεώνεται {{frequency}}","product_info.continues_until_cancelled":"Συνεχίζεται μέχρι την ακύρωση","product_info.cancel_anytime":"Ακύρωση ανά πάσα στιγμή","payment_entry_page.payment_step_title":"Ασφαλής ολοκλήρωση αγοράς από την RevenueCat","payment_entry_page.button_pay":"Πληρωμή τώρα","payment_entry_page.button_start_trial":"Έναρξη δοκιμής","success_page.purchase_successful":"Η πληρωμή ολοκληρώθηκε","success_page.button_close":"Συνέχεια","error_page.if_error_persists":"Εάν το σφάλμα παραμένει, επικοινωνήστε με ","error_page.error_title_already_subscribed":"Έχετε ήδη εγγραφεί στο {{productTitle}}","error_page.error_title_already_purchased":"Έχετε ήδη αγοράσει το {{productTitle}}","error_page.error_title_other_errors":"Κάτι πήγε στραβά","error_page.error_message_already_subscribed":"Δεν μπορείτε να εγγραφείτε ξανά σε αυτό το προϊόν.","error_page.error_message_already_purchased":"Δεν μπορείτε να αγοράσετε ξανά αυτό το προϊόν.","error_page.error_message_missing_email_error":"Απαιτείται email για την ολοκλήρωση της αγοράς.","error_page.error_message_network_error":"Σφάλμα δικτύου. Ελέγξτε τη σύνδεσή σας στο διαδίκτυο.","error_page.error_message_error_charging_payment":"Η πληρωμή απέτυχε.","error_page.error_message_error_setting_up_purchase":"Η αγορά δεν ξεκίνησε λόγω σφάλματος (κωδικός σφάλματος: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Δεν μπορέσαμε να επαληθεύσουμε τη διεύθυνση χρέωσής σας. Παρακαλούμε ελέγξτε ξανά τον ταχυδρομικό κώδικα και τη χώρα για να βεβαιωθείτε ότι είναι σωστά.","error_page.error_message_unknown_error":"Παρουσιάστηκε ένα άγνωστο σφάλμα (κωδικός σφάλματος: {{errorCode}}).","error_page.button_try_again":"Προσπαθήστε ξανά","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","navbar_header.details":"Λεπτομέρειες","navbar_header.back_button":"Πίσω","pricing_dropdown.show_details":"Εμφάνιση λεπτομερειών","pricing_dropdown.hide_details":"Απόκρυψη λεπτομερειών","pricing_table.tax":"Φόρος","pricing_table.trial_ends":"Μετά τη λήξη της δοκιμαστικής περιόδου, στις {{formattedTrialEndDate}}","pricing_table.total_due_today":"Σύνολο πληρωτέο σήμερα","pricing_table.total_excluding_tax":"Σύνολο χωρίς φόρο","pricing_table.enter_billing_address_to_calculate":"Εισαγάγετε τη διεύθυνση χρέωσης για να υπολογιστεί","pricing_table.enter_state_or_postal_code_to_calculate":"Εισαγάγετε την πολιτεία ή τον ταχυδρομικό κώδικα για να υπολογιστεί","pricing_table.enter_postal_code_to_calculate":"Εισαγάγετε τον ταχυδρομικό κώδικα για να υπολογιστεί","error_page.error_message_invalid_email_error":"Η διεύθυνση email {{email}} δεν μπόρεσε να επαληθευτεί. Παρακαλώ δώστε μια έγκυρη διεύθυνση email.","payment_entry_page.button_payment_method":"Πληρωμή {{formattedPrice}} με {{paymentMethod}}","payment_entry_page.button_with_price":"Πληρωμή {{formattedPrice}}","price_update.title":"Ενημέρωση τιμής","price_update.base_message":"Η συνολική τιμή ενημερώθηκε με τον φόρο βάσει της διεύθυνσης χρέωσής σας. Ελέγξτε και δοκιμάστε ξανά. Η κάρτα σας θα χρεωθεί μόνο μία φορά.","price_update.trial_message":"Η τιμή της συνδρομής ενημερώθηκε για να συμπεριλάβει τους φόρους βάσει της διεύθυνσης χρέωσής σας. Η δωρεάν δοκιμαστική περίοδος εξακολουθεί να ισχύει. Παρακαλώ ελέγξτε και δοκιμάστε ξανά.","payment_entry_page.express_checkout_divider":"Ή ΠΛΗΡΩΣΤΕ ΜΕ ΚΑΡΤΑ","error_page.trouble_accessing":"Εάν αντιμετωπίζετε προβλήματα πρόσβασης στην αγορά σας, επικοινωνήστε με την υποστήριξη στο ","error_page.close_button_title":"Μετάβαση στο {{appName}}","error_page.error_title_stripe_missing_required_permission":"Λείπει άδεια Stripe","error_page.button_close":"Κλείσιμο","error_page.error_message_stripe_invalid_tax_origin_address":"Η αγορά απέτυχε επειδή η διεύθυνση προέλευσης φόρου δεν είναι έγκυρη. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_message_stripe_tax_not_active":"Η αγορά απέτυχε επειδή το Stripe Tax δεν είναι ενεργοποιημένο. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_only_in_sandbox":"Αυτό το μήνυμα εμφανίζεται μόνο στο sandbox.","error_page.error_message_stripe_missing_required_permission":"Η αγορά απέτυχε επειδή η εφαρμογή Stripe δεν διαθέτει την απαιτούμενη άδεια. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_title_stripe_tax_not_active":"Το Stripe Tax δεν είναι ενεργό","error_page.error_title_stripe_invalid_tax_origin_address":"Μη έγκυρη διεύθυνση προέλευσης φόρου","apple_pay.free_trial":"Δωρεάν δοκιμή","product_info.price_after_intro_price":"Μετά από {{introPriceDuration}}, στις {{renewalDate}}","product_info.after_trial":"μετά τη δοκιμή","product_info.after":"μετά","product_info.intro_price_phase_after_trial":"Έπειτα {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase":"Αρχικά {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase_paid_once":"πληρωμένο εφάπαξ","payment_entry_page.trial_subscription_terms_info":"Μετά τη λήξη της δοκιμαστικής περιόδου, θα χρεωθείτε {{price}} {{perFrequency}} ξεκινώντας από {{renewalDate}}. Μπορείτε να ακυρώσετε ανά πάσα στιγμή πριν από αυτήν την ημερομηνία.","payment_entry_page.subscription_info":"Η συνδρομή ανανεώνεται αυτόματα. Ακυρώστε ανά πάσα στιγμή.","payment_entry_page.otp_terms_info":"Με την αγορά, συμφωνείτε να επιτρέψετε στην {{appName}} να σας χρεώσει σύμφωνα με τους όρους της.","payment_entry_page.terms_link_label":"Όροι","payment_entry_page.subscription_terms_info":"Με την εγγραφή σας, συμφωνείτε να επιτρέψετε στην εφαρμογή {{appName}} να σας χρεώνει σύμφωνα με τους όρους της έως ότου ακυρώσετε.","loading_page.keep_page_open":"Η διαδικασία σχεδόν ολοκληρώθηκε. Κρατήστε αυτή τη σελίδα ανοιχτή.","loading_page.processing_payment":"Επεξεργασία πληρωμής","pricing_table.discount":"Έκπτωση","pricing_table.subtotal":"Υποσύνολο","pricing_dropdown.add_promo_code":"Προσθήκη κωδικού προσφοράς","discount_input.label":"Κωδικός προσφοράς"},mm={"periods.week":"{{amount}} שבוע","periods.month":"{{amount}} חודש","periods.year":"{{amount}} שנה","periods.day":"{{amount}} יום","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"למשך כל החיים","periods.weekPlural":"{{amount}} שבועות","periods.monthPlural":"{{amount}} חודשים","periods.yearPlural":"{{amount}} שנים","periods.dayPlural":"{{amount}} ימים","periods.weekFrequency":"שבועי","periods.monthFrequency":"חודשי","periods.yearFrequency":"שנתי","periods.dayFrequency":"יומי","periods.perWeekFrequency":"לשבוע","periods.perMonthFrequency":"לחודש","periods.perYearFrequency":"לשנה","periods.perDayFrequency":"ליום","periods.unknownFrequency":"לא ידוע","periods.weekFrequencyPlural":"כל {{amount}} שבועות","periods.monthFrequencyPlural":"כל {{amount}} חודשים","periods.yearFrequencyPlural":"כל {{amount}} שנים","periods.dayFrequencyPlural":"כל {{amount}} ימים","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ניסיון חינם","product_info.price_after_free_trial":"לאחר סיום הניסיון, ב-{{renewalDate}}","product_info.renewal_frequency":"מתחדש {{frequency}}","product_info.continues_until_cancelled":"נמשך עד ביטול","product_info.cancel_anytime":"ניתן לבטל בכל עת","payment_entry_page.payment_step_title":"קופה מאובטחת באמצעות RevenueCat","payment_entry_page.button_pay":"שלם עכשיו","payment_entry_page.button_start_trial":"התחל ניסיון","success_page.purchase_successful":"התשלום הושלם","success_page.button_close":"המשך","error_page.if_error_persists":"אם השגיאה נמשכת, אנא פנה אל ","error_page.error_title_already_subscribed":"כבר נרשמת כמנוי ל-{{productTitle}}","error_page.error_title_already_purchased":"כבר רכשת את {{productTitle}}","error_page.error_title_other_errors":"משהו השתבש","error_page.error_message_already_subscribed":"אינך יכול להירשם כמנוי למוצר זה שוב.","error_page.error_message_already_purchased":"אינך יכול לרכוש מוצר זה שוב.","error_page.error_message_missing_email_error":'דוא"ל נדרש כדי להשלים את הרכישה.',"error_page.error_message_network_error":"שגיאת רשת. אנא בדוק את חיבור האינטרנט שלך.","error_page.error_message_error_charging_payment":"התשלום נכשל.","error_page.error_message_error_setting_up_purchase":"הרכישה לא הופעלה עקב שגיאה (קוד שגיאה: {{errorCode}}).","error_page.error_message_invalid_tax_location":"לא הצלחנו לאמת את כתובת החיוב שלך. אנא בדוק שוב את המיקוד והמדינה כדי לוודא שהם נכונים.","error_page.error_message_unknown_error":"אירעה שגיאה לא ידועה (קוד שגיאה: {{errorCode}}).","error_page.button_try_again":"נסה שוב","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":'סה"כ לתשלום היום',"product_info.subscribe_to":"הירשם כמנוי ל-","navbar_header.details":"פרטים","navbar_header.back_button":"חזרה","pricing_dropdown.show_details":"הצג פרטים","pricing_dropdown.hide_details":"הסתר פרטים","pricing_table.tax":"מס","pricing_table.trial_ends":"לאחר סיום תקופת הניסיון, בתאריך {{formattedTrialEndDate}}","pricing_table.total_due_today":"סך הכל לתשלום היום","pricing_table.total_excluding_tax":"סך הכל לא כולל מס","pricing_table.enter_billing_address_to_calculate":"הזן כתובת לחיוב כדי לחשב","pricing_table.enter_state_or_postal_code_to_calculate":"הזן מדינה או מיקוד לחישוב","pricing_table.enter_postal_code_to_calculate":"הזן מיקוד לחישוב","error_page.error_message_invalid_email_error":"לא ניתן לאמת את כתובת האימייל {{email}}. אנא ספק כתובת אימייל חוקית.","payment_entry_page.button_payment_method":"שלם {{formattedPrice}} באמצעות {{paymentMethod}}","payment_entry_page.button_with_price":"שלם {{formattedPrice}}","price_update.title":"עדכון מחיר","price_update.base_message":"המחיר הכולל עודכן עם מס בהתבסס על כתובת החיוב שלך. אנא בדוק שוב ונסה שוב. החיוב יתבצע רק פעם אחת.","price_update.trial_message":"מחיר המנוי עודכן כדי לכלול מיסים בהתבסס על כתובת החיוב שלך. תקופת הניסיון החינמית עדיין תקפה. אנא בדוק ונסה שוב.","payment_entry_page.express_checkout_divider":"או שלם באמצעות כרטיס","error_page.trouble_accessing":"אם אתה מתקשה לגשת לרכישה שלך, פנה לתמיכה בכתובת ","error_page.close_button_title":"עבור אל {{appName}}","error_page.error_title_stripe_missing_required_permission":"חסרה הרשאה של Stripe","error_page.button_close":"סגור","error_page.error_message_stripe_invalid_tax_origin_address":"הרכישה נכשלה מכיוון שכתובת מקור המס אינה חוקית. בייצור, רכישות יעבדו ללא מסים.","error_page.error_message_stripe_tax_not_active":"הרכישה נכשלה מכיוון שמס Stripe אינו מופעל. בייצור, רכישות יעבדו ללא מסים.","error_page.error_only_in_sandbox":"הודעה זו מופיעה רק בארגז חול.","error_page.error_message_stripe_missing_required_permission":"הרכישה נכשלה מכיוון שלאפליקציית Stripe חסרה הרשאה נדרשת. בייצור, רכישות יעבדו ללא מסים.","error_page.error_title_stripe_tax_not_active":"מס Stripe לא פעיל","error_page.error_title_stripe_invalid_tax_origin_address":"כתובת מקור מס לא חוקית","apple_pay.free_trial":"תקופת ניסיון בחינם","product_info.price_after_intro_price":"לאחר {{introPriceDuration}}, בתאריך {{renewalDate}}","product_info.after_trial":"אחרי תקופת ניסיון","product_info.after":"אחרי","product_info.intro_price_phase_after_trial":"אחר כך {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase":"תחילה {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase_paid_once":"משולם פעם אחת","payment_entry_page.trial_subscription_terms_info":"לאחר סיום תקופת הניסיון שלך, תחויב בסך {{price}} {{perFrequency}} החל מ-{{renewalDate}}. באפשרותך לבטל בכל עת לפני תאריך זה.","payment_entry_page.subscription_info":"המנוי מתחדש אוטומטית. ניתן לבטל בכל עת.","payment_entry_page.otp_terms_info":"ברכישה, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם.","payment_entry_page.terms_link_label":"תנאים","payment_entry_page.subscription_terms_info":"על ידי הרשמה כמנוי, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם עד שתבטל.","loading_page.keep_page_open":"התהליך כמעט הסתיים. השאר דף זה פתוח.","loading_page.processing_payment":"מעבד תשלום תבעה","pricing_table.discount":"הנחה","pricing_table.subtotal":"סכום ביניים","pricing_dropdown.add_promo_code":"הוסף קוד קידום מכירות","discount_input.label":"קוד פרומו"},hm={"periods.week":"{{amount}} सप्ताह","periods.month":"{{amount}} महीना","periods.year":"{{amount}} वर्ष","periods.day":"{{amount}} दिन","periods.weekShort":"{{amount}}सप्ताह","periods.monthShort":"{{amount}}महीना","periods.yearShort":"{{amount}}वर्ष","periods.dayShort":"{{amount}}दिन","periods.lifetime":"लाइफ़टाइम","periods.weekPlural":"{{amount}} सप्ताह","periods.monthPlural":"{{amount}} महीने","periods.yearPlural":"{{amount}} वर्ष","periods.dayPlural":"{{amount}} दिन","periods.weekFrequency":"साप्ताहिक","periods.monthFrequency":"मासिक","periods.yearFrequency":"वार्षिक","periods.dayFrequency":"दैनिक","periods.perWeekFrequency":"प्रति सप्ताह","periods.perMonthFrequency":"प्रति माह","periods.perYearFrequency":"प्रति वर्ष","periods.perDayFrequency":"प्रति दिन","periods.unknownFrequency":"अज्ञात","periods.weekFrequencyPlural":"प्रत्येक {{amount}} सप्ताह","periods.monthFrequencyPlural":"प्रत्येक {{amount}} महीने","periods.yearFrequencyPlural":"प्रत्येक {{amount}} वर्ष","periods.dayFrequencyPlural":"प्रत्येक {{amount}} दिन","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} निःशुल्क परीक्षण","product_info.price_after_free_trial":"परीक्षण समाप्त होने के बाद, {{renewalDate}} को","product_info.renewal_frequency":"{{frequency}} पर नवीनीकृत होता है","product_info.continues_until_cancelled":"रद्द होने तक जारी रहता है","product_info.cancel_anytime":"किसी भी समय रद्द करें","payment_entry_page.payment_step_title":"RevenueCat द्वारा सुरक्षित चेकआउट","payment_entry_page.button_pay":"अभी भुगतान करें","payment_entry_page.button_start_trial":"परीक्षण प्रारंभ करें","success_page.purchase_successful":"भुगतान पूर्ण","success_page.button_close":"जारी रखें","error_page.if_error_persists":"यदि त्रुटि बनी रहती है, तो कृपया संपर्क करें ","error_page.error_title_already_subscribed":"आपने पहले ही {{productTitle}} की सदस्यता ले ली है","error_page.error_title_already_purchased":"आपने पहले ही {{productTitle}} खरीद लिया है","error_page.error_title_other_errors":"कुछ गलत हो गया","error_page.error_message_already_subscribed":"आप इस उत्पाद की सदस्यता फिर से नहीं ले सकते.","error_page.error_message_already_purchased":"आप इस उत्पाद को फिर से नहीं खरीद सकते.","error_page.error_message_missing_email_error":"खरीद को पूरा करने के लिए ईमेल आवश्यक है।","error_page.error_message_network_error":"नेटवर्क त्रुटि। कृपया अपना इंटरनेट कनेक्शन जांचें।","error_page.error_message_error_charging_payment":"भुगतान विफल।","error_page.error_message_error_setting_up_purchase":"किसी त्रुटि के कारण खरीदारी शुरू नहीं हुई (त्रुटि कोड: {{errorCode}})।","error_page.error_message_invalid_tax_location":"हम आपके बिलिंग पते को सत्यापित नहीं कर सके। कृपया सुनिश्चित करें कि पिन कोड और देश सही हैं।","error_page.error_message_unknown_error":"एक अज्ञात त्रुटि हुई (त्रुटि कोड: {{errorCode}})।","error_page.button_try_again":"फिर से कोशिश करें","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"आज देय कुल राशि","product_info.subscribe_to":"सदस्यता लें","navbar_header.details":"विवरण","navbar_header.back_button":"वापस","pricing_dropdown.show_details":"विवरण दिखाएँ","pricing_dropdown.hide_details":"विवरण छिपाएँ","pricing_table.tax":"कर","pricing_table.trial_ends":"{{formattedTrialEndDate}} पर परीक्षण समाप्त होने के बाद","pricing_table.total_due_today":"आज देय कुल","pricing_table.total_excluding_tax":"कर को छोड़कर कुल","pricing_table.enter_billing_address_to_calculate":"गणना करने के लिए बिलिंग पता दर्ज करें","pricing_table.enter_state_or_postal_code_to_calculate":"गणना करने के लिए राज्य या ज़िप कोड दर्ज करें","pricing_table.enter_postal_code_to_calculate":"गणना करने के लिए ज़िप कोड दर्ज करें","error_page.error_message_invalid_email_error":"ईमेल पता {{email}} सत्यापित नहीं किया जा सका. कृपया एक मान्य ईमेल पता प्रदान करें.","payment_entry_page.button_payment_method":"{{paymentMethod}} के साथ {{formattedPrice}} का भुगतान करें","payment_entry_page.button_with_price":"{{formattedPrice}} का भुगतान करें","price_update.title":"मूल्य अपडेट","price_update.base_message":"आप के बिलिंग पते के आधार पर कुल कीमत कर के साथ अपडेट की गई थी। कृपया समीक्षा करें और फिर से प्रयास करें। आपके कार्ड से केवल एक बार शुल्क लिया जाएगा।","price_update.trial_message":"सदस्यता मूल्य आपके बिलिंग पते के आधार पर करों को शामिल करने के लिए अपडेट किया गया है। निःशुल्क परीक्षण अवधि अभी भी लागू है। कृपया जांचें और पुनः प्रयास करें।","payment_entry_page.express_checkout_divider":"या कार्ड से भुगतान करें","error_page.trouble_accessing":"यदि आपको अपनी खरीदारी तक पहुंचने में परेशानी हो रही है, तो पर समर्थन के लिए संपर्क करें","error_page.close_button_title":"{{appName}} पर जाएं","error_page.error_title_stripe_missing_required_permission":"स्ट्राइप अनुमति गुम है","error_page.button_close":"बंद करें","error_page.error_message_stripe_invalid_tax_origin_address":"खरीदारी विफल रही क्योंकि कर उत्पत्ति पता अमान्य है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_message_stripe_tax_not_active":"खरीदारी विफल रही क्योंकि स्ट्राइप टैक्स सक्षम नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_only_in_sandbox":"यह संदेश केवल सैंडबॉक्स में दिखाई देता है.","error_page.error_message_stripe_missing_required_permission":"खरीदारी विफल रही क्योंकि स्ट्राइप ऐप में आवश्यक अनुमति नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_title_stripe_tax_not_active":"स्ट्राइप टैक्स सक्रिय नहीं है","error_page.error_title_stripe_invalid_tax_origin_address":"अमान्य कर उत्पत्ति पता","apple_pay.free_trial":"मुफ़्त ट्रायल","product_info.price_after_intro_price":"{{introPriceDuration}} के बाद, {{renewalDate}} पर","product_info.after_trial":"ट्रायल के बाद","product_info.after":"के बाद","product_info.intro_price_phase_after_trial":"फिर {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase":"पहले {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase_paid_once":"एक बार भुगतान किया गया","payment_entry_page.trial_subscription_terms_info":"आपकी परीक्षण अवधि समाप्त होने के बाद, आपसे {{renewalDate}} से शुरू होकर {{price}} {{perFrequency}} शुल्क लिया जाएगा. आप इस तिथि से पहले कभी भी रद्द कर सकते हैं.","payment_entry_page.subscription_info":"सदस्यता स्वतः नवीनीकृत हो जाती है. कभी भी रद्द करें.","payment_entry_page.otp_terms_info":"खरीदकर, आप {{appName}} को उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","payment_entry_page.terms_link_label":"नियम","payment_entry_page.subscription_terms_info":"सदस्यता लेकर, आप {{appName}} को रद्द करने तक उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","loading_page.keep_page_open":"प्रक्रिया लगभग पूरी हो चुकी है. इस पृष्ठ को खुला रखें.","loading_page.processing_payment":"भुगतान संसाधित किया जा रहा है","pricing_table.discount":"छूट","pricing_table.subtotal":"उपकुल योग","pricing_dropdown.add_promo_code":"प्रोमो_कोड_जोड़ें","discount_input.label":"प्रोमो कोड"},vm={"periods.week":"{{amount}} hét","periods.month":"{{amount}} hónap","periods.year":"{{amount}} év","periods.day":"{{amount}} nap","periods.weekShort":"{{amount}}hét","periods.monthShort":"{{amount}}hó","periods.yearShort":"{{amount}}év","periods.dayShort":"{{amount}}n","periods.lifetime":"életre szóló","periods.weekPlural":"{{amount}} hét","periods.monthPlural":"{{amount}} hónap","periods.yearPlural":"{{amount}} év","periods.dayPlural":"{{amount}} nap","periods.weekFrequency":"heti","periods.monthFrequency":"havi","periods.yearFrequency":"éves","periods.dayFrequency":"napi","periods.perWeekFrequency":"hetente","periods.perMonthFrequency":"havonta","periods.perYearFrequency":"évente","periods.perDayFrequency":"naponta","periods.unknownFrequency":"ismeretlen","periods.weekFrequencyPlural":"minden {{amount}} hétben","periods.monthFrequencyPlural":"minden {{amount}} hónapban","periods.yearFrequencyPlural":"minden {{amount}} évben","periods.dayFrequencyPlural":"minden {{amount}} napban","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} próbaidőszak","product_info.price_after_free_trial":"A próbaidőszak vége után, {{renewalDate}}-kor","product_info.renewal_frequency":"{{frequency}} gyakorisággal megújul","product_info.continues_until_cancelled":"Folytatódik, amíg le nem mondják","product_info.cancel_anytime":"Bármikor lemondható","payment_entry_page.payment_step_title":"Biztonságos fizetés a RevenueCat-en keresztül","payment_entry_page.button_pay":"Fizetés most","payment_entry_page.button_start_trial":"Próbaidőszak indítása","success_page.purchase_successful":"Fizetés sikeres","success_page.button_close":"Tovább","error_page.if_error_persists":"Ha a hiba továbbra is fennáll, kérjük, vedd fel a kapcsolatot ","error_page.error_title_already_subscribed":"Már előfizettél a(z) {{productTitle}} termékre","error_page.error_title_already_purchased":"Már megvásároltad a(z) {{productTitle}} terméket","error_page.error_title_other_errors":"Valami hiba történt","error_page.error_message_already_subscribed":"Nem fizethetsz elő újra erre a termékre.","error_page.error_message_already_purchased":"Nem vásárolhatod meg újra ezt a terméket.","error_page.error_message_missing_email_error":"Az email cím szükséges a vásárlás befejezéséhez.","error_page.error_message_network_error":"Hálózati hiba. Kérjük, ellenőrizd az internetkapcsolatodat.","error_page.error_message_error_charging_payment":"A fizetés sikertelen volt.","error_page.error_message_error_setting_up_purchase":"Hiba miatt nem indult el a vásárlás (hibakód: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nem tudtuk ellenőrizni a számlázási címét. Kérjük, ellenőrizze, hogy az irányítószám és az ország helyes-e.","error_page.error_message_unknown_error":"Ismeretlen hiba történt (hibakód: {{errorCode}}).","error_page.button_try_again":"Újrapróbálkozás","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ma fizetendő összesen","product_info.subscribe_to":"Feliratkozás erre:","navbar_header.details":"Részletek","navbar_header.back_button":"Vissza","pricing_dropdown.show_details":"Részletek mutatása","pricing_dropdown.hide_details":"Részletek elrejtése","pricing_table.tax":"Adó","pricing_table.trial_ends":"A próbaidőszak vége: {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ma fizetendő összeg","pricing_table.total_excluding_tax":"Összesen adó nélkül","pricing_table.enter_billing_address_to_calculate":"Adja meg a számlázási címet a számításhoz","pricing_table.enter_state_or_postal_code_to_calculate":"Adja meg az államot vagy az irányítószámot a számításhoz","pricing_table.enter_postal_code_to_calculate":"Adja meg az irányítószámot a számításhoz","error_page.error_message_invalid_email_error":"A(z) {{email}} e-mail címet nem sikerült ellenőrizni. Kérjük, adj meg egy érvényes e-mail címet.","payment_entry_page.button_payment_method":"Fizetés {{formattedPrice}} összeggel a következővel: {{paymentMethod}}","payment_entry_page.button_with_price":"Fizetés {{formattedPrice}}","price_update.title":"Ár frissítése","price_update.base_message":"A teljes ár frissítve lett az adóval a számlázási címed alapján. Kérjük, tekintsd át és próbáld újra. A kártyádat csak egyszer terheljük meg.","price_update.trial_message":"Az előfizetés ára adókkal együtt frissítésre került a számlázási címének megfelelően. Az ingyenes próbaidőszak továbbra is érvényes. Kérjük, ellenőrizze és próbálja újra.","payment_entry_page.express_checkout_divider":"VAGY FIZESSEN KÁRTYÁVAL","error_page.trouble_accessing":"Ha problémái vannak a vásárláshoz való hozzáféréssel, forduljon az ügyfélszolgálathoz a következő címen: ","error_page.close_button_title":"Ugrás a(z) {{appName}} alkalmazáshoz","error_page.error_title_stripe_missing_required_permission":"Hiányzó Stripe engedély","error_page.button_close":"Bezárás","error_page.error_message_stripe_invalid_tax_origin_address":"A vásárlás sikertelen volt, mert az adókiindulási cím érvénytelen. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_message_stripe_tax_not_active":"A vásárlás sikertelen volt, mert a Stripe adó nincs engedélyezve. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_only_in_sandbox":"Ez az üzenet csak a tesztkörnyezetben jelenik meg.","error_page.error_message_stripe_missing_required_permission":"A vásárlás sikertelen volt, mert a Stripe alkalmazásból hiányzik egy szükséges engedély. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_title_stripe_tax_not_active":"A Stripe adó nincs aktiválva","error_page.error_title_stripe_invalid_tax_origin_address":"Érvénytelen adókiindulási cím","apple_pay.free_trial":"Ingyenes próbaidőszak","product_info.price_after_intro_price":"{{introPriceDuration}} után, {{renewalDate}} napján","product_info.after_trial":"próbaidőszak után","product_info.after":"utána","product_info.intro_price_phase_after_trial":"Ezután {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase":"Először {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase_paid_once":"egyszeri fizetéssel","payment_entry_page.trial_subscription_terms_info":"A próbaidőszak vége után {{price}} összeget számítunk fel {{perFrequency}} gyakorisággal, kezdve {{renewalDate}} dátummal. Ezt a dátumot megelőzően bármikor lemondhatod.","payment_entry_page.subscription_info":"Az előfizetés automatikusan megújul. Bármikor lemondhatod.","payment_entry_page.otp_terms_info":"A vásárlással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen.","payment_entry_page.terms_link_label":"Feltételek","payment_entry_page.subscription_terms_info":"A feliratkozással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen, amíg le nem mondod.","loading_page.keep_page_open":"A folyamat majdnem befejeződött. Tartsa nyitva ezt az oldalt.","loading_page.processing_payment":"Fizetés feldolgozása","pricing_table.discount":"Kedvezmény","pricing_table.subtotal":"Részösszeg","pricing_dropdown.add_promo_code":"Promóciós kód hozzáadása","discount_input.label":"Promóciós kód"},ym={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"per minggu","periods.perMonthFrequency":"per bulan","periods.perYearFrequency":"per tahun","periods.perDayFrequency":"per hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} uji coba gratis","product_info.price_after_free_trial":"Setelah uji coba berakhir, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbarui {{frequency}}","product_info.continues_until_cancelled":"Berlanjut hingga dibatalkan","product_info.cancel_anytime":"Batalkan kapan saja","payment_entry_page.payment_step_title":"Pembayaran aman oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mulai Uji Coba","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Lanjutkan","error_page.if_error_persists":"Jika kesalahan berlanjut, silakan hubungi ","error_page.error_title_already_subscribed":"Anda sudah berlangganan ke {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Terjadi kesalahan","error_page.error_message_already_subscribed":"Anda tidak dapat berlangganan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak dapat membeli produk ini lagi.","error_page.error_message_missing_email_error":"Email diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Kesalahan jaringan. Periksa koneksi internet Anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulai karena kesalahan (kode kesalahan: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat memverifikasi alamat penagihan Anda. Harap periksa kembali kode pos dan negara untuk memastikan keduanya benar.","error_page.error_message_unknown_error":"Terjadi kesalahan yang tidak diketahui (kode kesalahan: {{errorCode}}).","error_page.button_try_again":"Coba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total yang harus dibayar hari ini","product_info.subscribe_to":"Berlangganan ke","navbar_header.details":"Detail","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tampilkan detail","pricing_dropdown.hide_details":"Sembunyikan detail","pricing_table.tax":"Pajak","pricing_table.trial_ends":"Setelah masa percobaan berakhir, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total yang harus dibayar hari ini","pricing_table.total_excluding_tax":"Total belum termasuk pajak","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat penagihan untuk menghitung","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negara bagian atau kode pos untuk menghitung","pricing_table.enter_postal_code_to_calculate":"Masukkan kode pos untuk menghitung","error_page.error_message_invalid_email_error":"Alamat email {{email}} tidak dapat diverifikasi. Harap berikan alamat email yang valid.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Pembaruan harga","price_update.base_message":"Total harga telah diperbarui dengan pajak berdasarkan alamat penagihan Anda. Harap tinjau dan coba lagi. Kartu Anda hanya akan dikenakan biaya sekali.","price_update.trial_message":"Harga langganan telah diperbarui untuk menyertakan pajak berdasarkan alamat penagihan Anda. Masa percobaan gratis masih berlaku. Silakan periksa dan coba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KARTU","error_page.trouble_accessing":"Jika Anda mengalami masalah dalam mengakses pembelian, hubungi dukungan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Izin Stripe tidak ada","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal karena alamat asal pajak tidak valid. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal karena Stripe Tax tidak diaktifkan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_only_in_sandbox":"Pesan ini hanya muncul di sandbox.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal karena aplikasi Stripe tidak memiliki izin yang diperlukan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_title_stripe_tax_not_active":"Stripe Tax tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal pajak tidak valid","apple_pay.free_trial":"Uji Coba Gratis","product_info.price_after_intro_price":"Setelah {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"setelah uji coba","product_info.after":"setelah","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Setelah masa percobaan Anda berakhir, Anda akan dikenakan biaya sebesar {{price}} {{perFrequency}} mulai {{renewalDate}}. Anda dapat membatalkan kapan saja sebelum tanggal ini.","payment_entry_page.subscription_info":"Langganan diperpanjang secara otomatis. Batalkan kapan saja.","payment_entry_page.otp_terms_info":"Dengan membeli, Anda setuju untuk mengizinkan {{appName}} menagih Anda sesuai dengan ketentuan mereka.","payment_entry_page.terms_link_label":"Ketentuan","payment_entry_page.subscription_terms_info":"Dengan berlangganan, Anda setuju untuk mengizinkan {{appName}} mengenakan biaya sesuai dengan ketentuan mereka hingga Anda membatalkan.","loading_page.keep_page_open":"Prosesnya hampir selesai. Jangan tutup halaman ini.","loading_page.processing_payment":"Pembayaran sedang diproses","pricing_table.discount":"Diskon","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambahkan kode promo","discount_input.label":"Kode promo"},bm={"periods.week":"{{amount}}週間","periods.month":"{{amount}}ヶ月","periods.year":"{{amount}}年","periods.day":"{{amount}}日","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}ヶ月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}日","periods.lifetime":"生涯","periods.weekPlural":"{{amount}}週間","periods.monthPlural":"{{amount}}ヶ月","periods.yearPlural":"{{amount}}年","periods.dayPlural":"{{amount}}日","periods.weekFrequency":"毎週","periods.monthFrequency":"毎月","periods.yearFrequency":"毎年","periods.dayFrequency":"毎日","periods.perWeekFrequency":"週ごと","periods.perMonthFrequency":"月ごと","periods.perYearFrequency":"年ごと","periods.perDayFrequency":"日ごと","periods.unknownFrequency":"不明","periods.weekFrequencyPlural":"{{amount}}週間ごと","periods.monthFrequencyPlural":"{{amount}}ヶ月ごと","periods.yearFrequencyPlural":"{{amount}}年ごと","periods.dayFrequencyPlural":"{{amount}}日ごと","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}日間無料トライアル","product_info.price_after_free_trial":"トライアル終了後、{{renewalDate}}に","product_info.renewal_frequency":"{{frequency}}で更新","product_info.continues_until_cancelled":"キャンセルされるまで継続されます","product_info.cancel_anytime":"いつでもキャンセルできます","payment_entry_page.payment_step_title":"RevenueCatによる安全なチェックアウト","payment_entry_page.button_pay":"今すぐ支払う","payment_entry_page.button_start_trial":"トライアルを開始","success_page.purchase_successful":"支払いが完了しました","success_page.button_close":"続行","error_page.if_error_persists":"エラーが続く場合は、ご連絡ください。","error_page.error_title_already_subscribed":"すでに{{productTitle}}を購読しています","error_page.error_title_already_purchased":"すでに{{productTitle}}を購入しています","error_page.error_title_other_errors":"エラーが発生しました","error_page.error_message_already_subscribed":"この商品を再度購読することはできません。","error_page.error_message_already_purchased":"この商品を再度購入することはできません。","error_page.error_message_missing_email_error":"購入を完了するにはメールアドレスが必要です。","error_page.error_message_network_error":"ネットワークエラーです。インターネット接続を確認してください。","error_page.error_message_error_charging_payment":"支払いに失敗しました。","error_page.error_message_error_setting_up_purchase":"エラーが発生したため、購入を開始できませんでした(エラーコード:{{errorCode}})。","error_page.error_message_invalid_tax_location":"請求先住所を確認できませんでした。郵便番号と国が正しいかご確認ください。","error_page.error_message_unknown_error":"不明なエラーが発生しました(エラーコード:{{errorCode}})。","error_page.button_try_again":"再試行","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"本日のお支払い合計","product_info.subscribe_to":"購読する","navbar_header.details":"詳細","navbar_header.back_button":"戻る","pricing_dropdown.show_details":"詳細を表示","pricing_dropdown.hide_details":"詳細を隠す","pricing_table.tax":"税金","pricing_table.trial_ends":"トライアル終了後、{{formattedTrialEndDate}}","pricing_table.total_due_today":"本日お支払いいただく合計金額","pricing_table.total_excluding_tax":"税抜き合計","pricing_table.enter_billing_address_to_calculate":"請求先住所を入力して計算","pricing_table.enter_state_or_postal_code_to_calculate":"計算するには州または郵便番号を入力してください","pricing_table.enter_postal_code_to_calculate":"計算するには郵便番号を入力してください","error_page.error_message_invalid_email_error":"メールアドレス{{email}}を確認できませんでした。有効なメールアドレスを入力してください。","payment_entry_page.button_payment_method":"{{paymentMethod}}で{{formattedPrice}}を支払う","payment_entry_page.button_with_price":"{{formattedPrice}}を支払う","price_update.title":"価格の更新","price_update.base_message":"合計金額が、お客様の請求先住所に基づいて税金とともに更新されました。再度ご確認ください。カードへの請求は1回のみです。","price_update.trial_message":"請求先住所に基づいて税金を含むサブスクリプション料金が更新されました。無料トライアルは引き続き適用されます。確認して再度お試しください。","payment_entry_page.express_checkout_divider":"カードで支払う","error_page.trouble_accessing":"購入へのアクセスに問題がある場合は、サポートにお問い合わせください: ","error_page.close_button_title":"{{appName}} に移動","error_page.error_title_stripe_missing_required_permission":"必要なStripeの権限がありません","error_page.button_close":"閉じる","error_page.error_message_stripe_invalid_tax_origin_address":"税の原産地住所が無効なため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_message_stripe_tax_not_active":"Stripe Taxが有効になっていないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_only_in_sandbox":"このメッセージはサンドボックスでのみ表示されます。","error_page.error_message_stripe_missing_required_permission":"Stripeアプリに必要な権限がないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_title_stripe_tax_not_active":"Stripe Taxが有効ではありません","error_page.error_title_stripe_invalid_tax_origin_address":"税の原産地住所が無効です","apple_pay.free_trial":"無料トライアル","product_info.price_after_intro_price":"{{introPriceDuration}}の後、{{renewalDate}}に","product_info.after_trial":"トライアル後","product_info.after":"後","product_info.intro_price_phase_after_trial":"その後、{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase":"最初の{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase_paid_once":"一回払い","payment_entry_page.trial_subscription_terms_info":"トライアル期間が終了すると、{{renewalDate}}から{{price}} {{perFrequency}}が課金されます。この日より前にいつでもキャンセルできます。","payment_entry_page.subscription_info":"サブスクリプションは自動的に更新されます。いつでもキャンセルできます。","payment_entry_page.otp_terms_info":"購入することにより、{{appName}}が利用規約に基づいて料金を請求することに同意したことになります。","payment_entry_page.terms_link_label":"利用規約","payment_entry_page.subscription_terms_info":"サブスクリプションに登録すると、キャンセルするまで{{appName}}が利用規約に従って課金することを許可することに同意したことになります。","loading_page.keep_page_open":"プロセスはほぼ完了です。このページを開いたままにしてください。","loading_page.processing_payment":"お支払い手続き中","pricing_table.discount":"割引","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"プロモーションコードを追加","discount_input.label":"プロモーションコード"},km={"periods.week":"{{amount}}주","periods.month":"{{amount}}개월","periods.year":"{{amount}}년","periods.day":"{{amount}}일","periods.weekShort":"{{amount}}주","periods.monthShort":"{{amount}}개월","periods.yearShort":"{{amount}}년","periods.dayShort":"{{amount}}일","periods.lifetime":"평생","periods.weekPlural":"{{amount}}주","periods.monthPlural":"{{amount}}개월","periods.yearPlural":"{{amount}}년","periods.dayPlural":"{{amount}}일","periods.weekFrequency":"매주","periods.monthFrequency":"매달","periods.yearFrequency":"매년","periods.dayFrequency":"매일","periods.perWeekFrequency":"주당","periods.perMonthFrequency":"월별","periods.perYearFrequency":"연간","periods.perDayFrequency":"매일","periods.unknownFrequency":"알 수 없음","periods.weekFrequencyPlural":"{{amount}}주마다","periods.monthFrequencyPlural":"{{amount}}개월마다","periods.yearFrequencyPlural":"{{amount}}년마다","periods.dayFrequencyPlural":"{{amount}}일마다","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}일 무료 체험","product_info.price_after_free_trial":"체험 종료 후, {{renewalDate}}에","product_info.renewal_frequency":"{{frequency}}마다 갱신","product_info.continues_until_cancelled":"취소될 때까지 계속됩니다.","product_info.cancel_anytime":"언제든지 취소 가능","payment_entry_page.payment_step_title":"RevenueCat을 통한 안전한 결제","payment_entry_page.button_pay":"지금 결제","payment_entry_page.button_start_trial":"체험 시작","success_page.purchase_successful":"결제가 완료되었습니다.","success_page.button_close":"계속","error_page.if_error_persists":"오류가 지속되면 다음으로 문의하십시오.","error_page.error_title_already_subscribed":"이미 {{productTitle}}을 구독하셨습니다","error_page.error_title_already_purchased":"이미 {{productTitle}}을 구매하셨습니다","error_page.error_title_other_errors":"문제가 발생했습니다.","error_page.error_message_already_subscribed":"이 제품을 다시 구독할 수 없습니다.","error_page.error_message_already_purchased":"이 제품을 다시 구매할 수 없습니다.","error_page.error_message_missing_email_error":"구매를 완료하려면 이메일이 필요합니다.","error_page.error_message_network_error":"네트워크 오류입니다. 인터넷 연결을 확인하십시오.","error_page.error_message_error_charging_payment":"결제에 실패했습니다.","error_page.error_message_error_setting_up_purchase":"오류로 인해 구매가 시작되지 않았습니다(오류 코드: {{errorCode}}).","error_page.error_message_invalid_tax_location":"청구 주소를 확인할 수 없습니다. 우편번호와 국가가 정확한지 다시 한번 확인해 주세요.","error_page.error_message_unknown_error":"알 수 없는 오류가 발생했습니다(오류 코드: {{errorCode}}).","error_page.button_try_again":"다시 시도","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"오늘 총 결제 금액","product_info.subscribe_to":"구독하기","navbar_header.details":"세부 정보","navbar_header.back_button":"뒤로","pricing_dropdown.show_details":"세부 정보 표시","pricing_dropdown.hide_details":"세부 정보 숨기기","pricing_table.tax":"세금","pricing_table.trial_ends":"체험판 종료 후, {{formattedTrialEndDate}}","pricing_table.total_due_today":"오늘 지불해야 할 총액","pricing_table.total_excluding_tax":"세금 제외 총액","pricing_table.enter_billing_address_to_calculate":"계산을 위해 청구지 주소를 입력하세요","pricing_table.enter_state_or_postal_code_to_calculate":"주 또는 우편 번호를 입력하여 계산","pricing_table.enter_postal_code_to_calculate":"우편 번호를 입력하여 계산","error_page.error_message_invalid_email_error":"이메일 주소 {{email}}을(를) 확인할 수 없습니다. 유효한 이메일 주소를 제공해 주세요.","payment_entry_page.button_payment_method":"{{paymentMethod}}으로 {{formattedPrice}} 결제","payment_entry_page.button_with_price":"{{formattedPrice}} 결제","price_update.title":"가격 업데이트","price_update.base_message":"청구지 주소를 기준으로 세금이 포함된 총 가격이 업데이트되었습니다. 다시 확인하고 시도해 주세요. 카드는 한 번만 청구됩니다.","price_update.trial_message":"청구 주소에 따라 세금이 포함된 구독 가격이 업데이트되었습니다. 무료 체험은 계속 적용됩니다. 확인하고 다시 시도해 주세요.","payment_entry_page.express_checkout_divider":"또는 카드 결제","error_page.trouble_accessing":"구매에 문제가 있는 경우 다음 주소로 지원팀에 문의하세요. ","error_page.close_button_title":"{{appName}}으로 이동","error_page.error_title_stripe_missing_required_permission":"필수 Stripe 권한 누락","error_page.button_close":"닫기","error_page.error_message_stripe_invalid_tax_origin_address":"세금 원산지 주소가 잘못되어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_message_stripe_tax_not_active":"Stripe Tax가 활성화되지 않아 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_only_in_sandbox":"이 메시지는 샌드박스에서만 표시됩니다.","error_page.error_message_stripe_missing_required_permission":"Stripe 앱에 필요한 권한이 없어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_title_stripe_tax_not_active":"Stripe Tax가 활성화되지 않음","error_page.error_title_stripe_invalid_tax_origin_address":"잘못된 세금 원산지 주소","apple_pay.free_trial":"무료 체험","product_info.price_after_intro_price":"{{introPriceDuration}} 후 {{renewalDate}}에","product_info.after_trial":"체험 후","product_info.after":"후","product_info.intro_price_phase_after_trial":"다음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase":"처음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase_paid_once":"1회 결제","payment_entry_page.trial_subscription_terms_info":"체험 기간이 종료되면 {{renewalDate}}부터 {{price}} {{perFrequency}}가 청구됩니다. 이 날짜 전에는 언제든지 취소할 수 있습니다.","payment_entry_page.subscription_info":"구독은 자동으로 갱신됩니다. 언제든지 취소할 수 있습니다.","payment_entry_page.otp_terms_info":"구매하시면 {{appName}}의 약관에 따라 요금이 청구되는 것에 동의하는 것입니다.","payment_entry_page.terms_link_label":"약관","payment_entry_page.subscription_terms_info":"구독하면 취소할 때까지 {{appName}}이 약관에 따라 요금을 청구하는 데 동의하는 것입니다.","loading_page.keep_page_open":"거의 완료되었습니다. 이 페이지를 계속 열어 두세요.","loading_page.processing_payment":"결제 처리 중","pricing_table.discount":"할인","pricing_table.subtotal":"소계","pricing_dropdown.add_promo_code":"프로모션 코드 추가","discount_input.label":"프로모션 코드"},wm={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"setiap minggu","periods.perMonthFrequency":"setiap bulan","periods.perYearFrequency":"setiap tahun","periods.perDayFrequency":"setiap hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} percubaan percuma","product_info.price_after_free_trial":"Selepas tamat percubaan, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbaharui {{frequency}}","product_info.continues_until_cancelled":"Berterusan sehingga dibatalkan","product_info.cancel_anytime":"Batal bila-bila masa","payment_entry_page.payment_step_title":"Pembayaran selamat oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mula Percubaan","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Teruskan","error_page.if_error_persists":"Jika ralat berterusan, sila hubungi ","error_page.error_title_already_subscribed":"Anda sudah melanggan {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Ada sesuatu yang tidak kena","error_page.error_message_already_subscribed":"Anda tidak boleh melanggan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak boleh membeli produk ini lagi.","error_page.error_message_missing_email_error":"Emel diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Ralat rangkaian. Sila semak sambungan internet anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulakan disebabkan ralat (kod ralat: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat mengesahkan alamat bil anda. Sila semak sama ada poskod dan negara adalah betul.","error_page.error_message_unknown_error":"Ralat yang tidak diketahui telah berlaku (kod ralat: {{errorCode}}).","error_page.button_try_again":"Cuba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Jumlah yang perlu dibayar hari ini","product_info.subscribe_to":"Langgan","navbar_header.details":"Butiran","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tunjukkan butiran","pricing_dropdown.hide_details":"Sembunyikan butiran","pricing_table.tax":"Cukai","pricing_table.trial_ends":"Selepas tempoh percubaan tamat, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Jumlah yang perlu dibayar hari ini","pricing_table.total_excluding_tax":"Jumlah tidak termasuk cukai","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat pengebilan untuk mengira","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negeri atau poskod untuk mengira","pricing_table.enter_postal_code_to_calculate":"Masukkan poskod untuk mengira","error_page.error_message_invalid_email_error":"Alamat e-mel {{email}} tidak dapat disahkan. Sila berikan alamat e-mel yang sah.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Kemaskini harga","price_update.base_message":"Jumlah harga telah dikemas kini dengan cukai berdasarkan alamat pengebilan anda. Sila semak dan cuba lagi. Kad anda hanya akan dicaj sekali.","price_update.trial_message":"Harga langganan telah dikemas kini untuk memasukkan cukai berdasarkan alamat bil anda. Tempoh percubaan percuma masih terpakai. Sila semak dan cuba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KAD","error_page.trouble_accessing":"Jika anda menghadapi masalah untuk mengakses pembelian anda, hubungi sokongan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Kebenaran Stripe hilang","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal kerana alamat asal cukai tidak sah. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal kerana Cukai Stripe tidak didayakan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_only_in_sandbox":"Mesej ini hanya muncul dalam kotak pasir.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal kerana aplikasi Stripe kekurangan kebenaran yang diperlukan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_title_stripe_tax_not_active":"Cukai Stripe tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal cukai Stripe tidak sah","apple_pay.free_trial":"Percubaan Percuma","product_info.price_after_intro_price":"Selepas {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"selepas percubaan","product_info.after":"selepas","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Selepas tempoh percubaan anda tamat, anda akan dikenakan bayaran sebanyak {{price}} {{perFrequency}} bermula {{renewalDate}}. Anda boleh membatalkan pada bila-bila masa sebelum tarikh ini.","payment_entry_page.subscription_info":"Langganan diperbaharui secara automatik. Batalkan bila-bila masa.","payment_entry_page.otp_terms_info":"Dengan membuat pembelian, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka.","payment_entry_page.terms_link_label":"Terma","payment_entry_page.subscription_terms_info":"Dengan melanggan, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka sehingga anda membatalkan.","loading_page.keep_page_open":"Proses hampir selesai. Pastikan halaman ini dibuka.","loading_page.processing_payment":"Memproses pembayaran","pricing_table.discount":"Diskaun","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambah kod promo","discount_input.label":"Kod promo"},Pm={"periods.week":"{{amount}} uke","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}uk","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uker","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dager","periods.weekFrequency":"ukentlig","periods.monthFrequency":"månedlig","periods.yearFrequency":"årlig","periods.dayFrequency":"daglig","periods.perWeekFrequency":"per uke","periods.perMonthFrequency":"per måned","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"ukjent","periods.weekFrequencyPlural":"hver {{amount}} uker","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dager","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Etter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Varer til den avbestilles","product_info.cancel_anytime":"Avbestille når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nå","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betalingen er fullført","success_page.button_close":"Fortsett","error_page.if_error_persists":"Hvis feilen vedvarer, vennligst kontakt ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede kjøpt {{productTitle}}","error_page.error_title_other_errors":"Noe gikk galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produktet igjen.","error_page.error_message_already_purchased":"Du kan ikke kjøpe dette produktet igjen.","error_page.error_message_missing_email_error":"E-post er nødvendig for å fullføre kjøpet.","error_page.error_message_network_error":"Nettverksfeil. Vennligst sjekk internettforbindelsen din.","error_page.error_message_error_charging_payment":"Betalingen mislyktes.","error_page.error_message_error_setting_up_purchase":"Kjøpet ble ikke startet på grunn av en feil (feilkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekrefte faktureringsadressen din. Vennligst sjekk at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"En ukjent feil oppstod (feilkode: {{errorCode}}).","error_page.button_try_again":"Prøv igjen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt forfaller i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbake","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Skatt","pricing_table.trial_ends":"Etter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totalt forfaller i dag","pricing_table.total_excluding_tax":"Total eksklusive skatt","pricing_table.enter_billing_address_to_calculate":"Oppgi faktureringsadresse for å beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Skriv inn stat eller postnummer for å beregne","pricing_table.enter_postal_code_to_calculate":"Skriv inn postnummer for å beregne","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunne ikke bekreftes. Vennligst oppgi en gyldig e-postadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisoppdatering","price_update.base_message":"Totalprisen er oppdatert med skatt basert på fakturaadressen din. Vennligst se gjennom og prøv igjen. Kortet ditt vil kun bli belastet én gang.","price_update.trial_message":"Abonnementsprisen er oppdatert for å inkludere skatter basert på din fakturaadresse. Den gratis prøveperioden gjelder fortsatt. Vennligst sjekk og prøv igjen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med å få tilgang til kjøpet ditt, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Mangler Stripe-tillatelse","error_page.button_close":"Lukk","error_page.error_message_stripe_invalid_tax_origin_address":"Kjøpet mislyktes fordi skatteopprinnelsesadressen er ugyldig. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_message_stripe_tax_not_active":"Kjøpet mislyktes fordi Stripe Tax ikke er aktivert. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_only_in_sandbox":"Denne meldingen vises bare i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Kjøpet mislyktes fordi Stripe-appen mangler en nødvendig tillatelse. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteopprinnelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Etter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"etter prøveperiode","product_info.after":"etter","product_info.intro_price_phase_after_trial":"Deretter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Etter at prøveperioden din er over, blir du belastet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan kansellere når som helst før denne datoen.","payment_entry_page.subscription_info":"Abonnementet fornyes automatisk. Avbryt når som helst.","payment_entry_page.otp_terms_info":"Ved å kjøpe godtar du at {{appName}} belaster deg i henhold til deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved å abonnere godtar du at {{appName}} belaster deg i henhold til deres vilkår til du kansellerer.","loading_page.keep_page_open":"Prosessen er nesten ferdig. Hold denne siden åpen.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Legg til kampanjekode","discount_input.label":"Kampanjekode"},xm={"periods.week":"{{amount}} tydzień","periods.month":"{{amount}} miesiąc","periods.year":"{{amount}} rok","periods.day":"{{amount}} dzień","periods.weekShort":"{{amount}}tydz","periods.monthShort":"{{amount}}mies","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"dożywotnio","periods.weekPlural":"{{amount}} tygodni","periods.monthPlural":"{{amount}} miesięcy","periods.yearPlural":"{{amount}} lat","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tygodniowo","periods.monthFrequency":"miesięcznie","periods.yearFrequency":"rocznie","periods.dayFrequency":"dziennie","periods.perWeekFrequency":"na tydzień","periods.perMonthFrequency":"na miesiąc","periods.perYearFrequency":"na rok","periods.perDayFrequency":"na dzień","periods.unknownFrequency":"nieznany","periods.weekFrequencyPlural":"co {{amount}} tygodni","periods.monthFrequencyPlural":"co {{amount}} miesięcy","periods.yearFrequencyPlural":"co {{amount}} lat","periods.dayFrequencyPlural":"co {{amount}} dni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dni próbnych","product_info.price_after_free_trial":"Po zakończeniu okresu próbnego, dnia {{renewalDate}}","product_info.renewal_frequency":"Odnawialny co {{frequency}}","product_info.continues_until_cancelled":"Kontynuowane do momentu anulowania","product_info.cancel_anytime":"Możesz anulować w dowolnym momencie","payment_entry_page.payment_step_title":"Bezpieczna płatność przez RevenueCat","payment_entry_page.button_pay":"Zapłać teraz","payment_entry_page.button_start_trial":"Rozpocznij okres próbny","success_page.purchase_successful":"Płatność zakończona","success_page.button_close":"Kontynuuj","error_page.if_error_persists":"Jeśli błąd będzie się powtarzał, skontaktuj się z ","error_page.error_title_already_subscribed":"Już subskrybujesz {{productTitle}}","error_page.error_title_already_purchased":"Już zakupiłeś/aś {{productTitle}}","error_page.error_title_other_errors":"Coś poszło nie tak","error_page.error_message_already_subscribed":"Nie możesz ponownie subskrybować tego produktu.","error_page.error_message_already_purchased":"Nie możesz ponownie zakupić tego produktu.","error_page.error_message_missing_email_error":"Adres e-mail jest wymagany do dokonania zakupu.","error_page.error_message_network_error":"Błąd sieci. Sprawdź połączenie internetowe.","error_page.error_message_error_charging_payment":"Płatność nieudana.","error_page.error_message_error_setting_up_purchase":"Zakup nie został rozpoczęty z powodu błędu (kod błędu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nie mogliśmy zweryfikować Twojego adresu rozliczeniowego. Sprawdź, czy kod pocztowy i kraj są poprawne.","error_page.error_message_unknown_error":"Wystąpił nieznany błąd (kod błędu: {{errorCode}}).","error_page.button_try_again":"Spróbuj ponownie","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Do zapłaty dzisiaj","product_info.subscribe_to":"Subskrybuj","navbar_header.details":"Szczegóły","navbar_header.back_button":"Wstecz","pricing_dropdown.show_details":"Pokaż szczegóły","pricing_dropdown.hide_details":"Ukryj szczegóły","pricing_table.tax":"Podatek","pricing_table.trial_ends":"Po zakończeniu okresu próbnego, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Suma należna dzisiaj","pricing_table.total_excluding_tax":"Suma bez podatku","pricing_table.enter_billing_address_to_calculate":"Wprowadź adres rozliczeniowy, aby obliczyć","pricing_table.enter_state_or_postal_code_to_calculate":"Wprowadź stan lub kod pocztowy, aby obliczyć","pricing_table.enter_postal_code_to_calculate":"Wprowadź kod pocztowy, aby obliczyć","error_page.error_message_invalid_email_error":"Nie można zweryfikować adresu e-mail {{email}}. Proszę podać prawidłowy adres e-mail.","payment_entry_page.button_payment_method":"Zapłać {{formattedPrice}} przez {{paymentMethod}}","payment_entry_page.button_with_price":"Zapłać {{formattedPrice}}","price_update.title":"Aktualizacja ceny","price_update.base_message":"Cena całkowita została zaktualizowana o podatek na podstawie Twojego adresu rozliczeniowego. Sprawdź i spróbuj ponownie. Twoja karta zostanie obciążona tylko raz.","price_update.trial_message":"Cena subskrypcji została zaktualizowana o podatki na podstawie Twojego adresu rozliczeniowego. Okres próbny nadal obowiązuje. Sprawdź i spróbuj ponownie.","payment_entry_page.express_checkout_divider":"LUB ZAPŁAĆ KARTĄ","error_page.trouble_accessing":"Jeśli masz problemy z dostępem do zakupu, skontaktuj się z działem pomocy pod adresem ","error_page.close_button_title":"Przejdź do {{appName}}","error_page.error_title_stripe_missing_required_permission":"Brakujące uprawnienie Stripe","error_page.button_close":"Zamknij","error_page.error_message_stripe_invalid_tax_origin_address":"Zakup nie powiódł się, ponieważ adres pochodzenia podatku jest nieprawidłowy. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_message_stripe_tax_not_active":"Zakup nie powiódł się, ponieważ Stripe Tax nie jest włączony. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_only_in_sandbox":"Ta wiadomość pojawia się tylko w środowisku testowym.","error_page.error_message_stripe_missing_required_permission":"Zakup nie powiódł się, ponieważ aplikacja Stripe nie ma wymaganego uprawnienia. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nieaktywny","error_page.error_title_stripe_invalid_tax_origin_address":"Nieprawidłowy adres pochodzenia podatku","apple_pay.free_trial":"Okres próbny","product_info.price_after_intro_price":"Po {{introPriceDuration}}, od {{renewalDate}}","product_info.after_trial":"po okresie próbnym","product_info.after":"po","product_info.intro_price_phase_after_trial":"Następnie {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najpierw {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"płatne jednorazowo","payment_entry_page.trial_subscription_terms_info":"Po zakończeniu okresu próbnego zostanie pobrana opłata w wysokości {{price}} {{perFrequency}} począwszy od {{renewalDate}}. Możesz anulować subskrypcję w dowolnym momencie przed tą datą.","payment_entry_page.subscription_info":"Subskrypcja odnawia się automatycznie. Anuluj w dowolnym momencie.","payment_entry_page.otp_terms_info":"Dokonując zakupu, zgadzasz się na obciążenie przez {{appName}} zgodnie z ich warunkami.","payment_entry_page.terms_link_label":"Warunki","payment_entry_page.subscription_terms_info":"Subskrybując, zgadzasz się na obciążanie przez {{appName}} zgodnie z ich warunkami do momentu anulowania.","loading_page.keep_page_open":"Proces jest prawie zakończony. Pozostaw tę stronę otwartą.","loading_page.processing_payment":"Przetwarzanie płatności","pricing_table.discount":"Rabat","pricing_table.subtotal":"Suma częściowa","pricing_dropdown.add_promo_code":"Dodaj kod promocyjny","discount_input.label":"Kod promocyjny"},Em={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mês","periods.year":"{{amount}} ano","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mês","periods.yearShort":"{{amount}}ano","periods.dayShort":"{{amount}}d","periods.lifetime":"vitalício","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} anos","periods.dayPlural":"{{amount}} dias","periods.weekFrequency":"semanal","periods.monthFrequency":"mensal","periods.yearFrequency":"anual","periods.dayFrequency":"diário","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mês","periods.perYearFrequency":"por ano","periods.perDayFrequency":"por dia","periods.unknownFrequency":"desconhecido","periods.weekFrequencyPlural":"a cada {{amount}} semanas","periods.monthFrequencyPlural":"a cada {{amount}} meses","periods.yearFrequencyPlural":"a cada {{amount}} anos","periods.dayFrequencyPlural":"a cada {{amount}} dias","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} teste grátis","product_info.price_after_free_trial":"Após o término do teste, em {{renewalDate}}","product_info.renewal_frequency":"Renova {{frequency}}","product_info.continues_until_cancelled":"Continua até ser cancelado","product_info.cancel_anytime":"Cancelar a qualquer momento","payment_entry_page.payment_step_title":"Pagamento seguro pela RevenueCat","payment_entry_page.button_pay":"Pagar agora","payment_entry_page.button_start_trial":"Iniciar Teste","success_page.purchase_successful":"Pagamento concluído","success_page.button_close":"Continuar","error_page.if_error_persists":"Se o erro persistir, entre em contato com ","error_page.error_title_already_subscribed":"Você já se inscreveu em {{productTitle}}","error_page.error_title_already_purchased":"Você já comprou {{productTitle}}","error_page.error_title_other_errors":"Algo deu errado","error_page.error_message_already_subscribed":"Você não pode se inscrever neste produto novamente.","error_page.error_message_already_purchased":"Você não pode comprar este produto novamente.","error_page.error_message_missing_email_error":"Email é necessário para concluir a compra.","error_page.error_message_network_error":"Erro de rede. Verifique sua conexão com a internet.","error_page.error_message_error_charging_payment":"Pagamento falhou.","error_page.error_message_error_setting_up_purchase":"Compra não iniciada devido a um erro (código de erro: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Não conseguimos verificar seu endereço de cobrança. Por favor, verifique se o código postal e o país estão corretos.","error_page.error_message_unknown_error":"Ocorreu um erro desconhecido (código de erro: {{errorCode}}).","error_page.button_try_again":"Tentar novamente","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoje","product_info.subscribe_to":"Subscrever","navbar_header.details":"Detalhes","navbar_header.back_button":"Voltar","pricing_dropdown.show_details":"Mostrar detalhes","pricing_dropdown.hide_details":"Ocultar detalhes","pricing_table.tax":"Imposto","pricing_table.trial_ends":"Após o término do período de avaliação, em {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoje","pricing_table.total_excluding_tax":"Total sem impostos","pricing_table.enter_billing_address_to_calculate":"Insira o endereço de cobrança para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Insira o estado ou o CEP para calcular","pricing_table.enter_postal_code_to_calculate":"Insira o CEP para calcular","error_page.error_message_invalid_email_error":"O endereço de e-mail {{email}} não pôde ser verificado. Por favor, forneça um endereço de e-mail válido.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} com {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Atualização de preço","price_update.base_message":"O preço total foi atualizado com impostos com base no seu endereço de cobrança. Por favor, revise e tente novamente. Seu cartão só será cobrado uma vez.","price_update.trial_message":"O preço da assinatura foi atualizado para incluir impostos com base no seu endereço de faturação. O período de teste gratuito continua válido. Por favor, verifique e tente novamente.","payment_entry_page.express_checkout_divider":"OU PAGUE COM CARTÃO","error_page.trouble_accessing":"Se estiver com problemas para acessar sua compra, entre em contato com o suporte em ","error_page.close_button_title":"Ir para {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permissão do Stripe em falta","error_page.button_close":"Fechar","error_page.error_message_stripe_invalid_tax_origin_address":"A compra falhou porque o endereço de origem fiscal é inválido. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_message_stripe_tax_not_active":"A compra falhou porque o Stripe Tax não está ativado. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_only_in_sandbox":"Esta mensagem aparece apenas na sandbox.","error_page.error_message_stripe_missing_required_permission":"A compra falhou porque o aplicativo Stripe não tem uma permissão necessária. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax não está ativo","error_page.error_title_stripe_invalid_tax_origin_address":"Endereço de origem fiscal inválido","apple_pay.free_trial":"Teste Gratuito","product_info.price_after_intro_price":"Após {{introPriceDuration}}, em {{renewalDate}}","product_info.after_trial":"após o período de teste","product_info.after":"após","product_info.intro_price_phase_after_trial":"Depois, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primeiro, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago uma vez","payment_entry_page.trial_subscription_terms_info":"Após o término do período de avaliação, será cobrado o valor de {{price}} {{perFrequency}} a partir de {{renewalDate}}. Pode cancelar a qualquer momento antes desta data.","payment_entry_page.subscription_info":"A subscrição é renovada automaticamente. Cancele a qualquer momento.","payment_entry_page.otp_terms_info":"Ao comprar, você concorda em permitir que o {{appName}} cobre de acordo com os termos deles.","payment_entry_page.terms_link_label":"Termos","payment_entry_page.subscription_terms_info":"Ao subscrever, concorda em permitir que a {{appName}} lhe cobre de acordo com os seus termos até cancelar.","loading_page.keep_page_open":"O processo está quase concluído. Mantenha esta página aberta.","loading_page.processing_payment":"Processando o pagamento","pricing_table.discount":"Desconto","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adicionar código promocional","discount_input.label":"Código promocional"},Sm={"periods.week":"{{amount}} săptămână","periods.month":"{{amount}} lună","periods.year":"{{amount}} an","periods.day":"{{amount}} zi","periods.weekShort":"{{amount}}săpt","periods.monthShort":"{{amount}}lun","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}z","periods.lifetime":"pe viață","periods.weekPlural":"{{amount}} săptămâni","periods.monthPlural":"{{amount}} luni","periods.yearPlural":"{{amount}} ani","periods.dayPlural":"{{amount}} zile","periods.weekFrequency":"săptămânal","periods.monthFrequency":"lunar","periods.yearFrequency":"anual","periods.dayFrequency":"zilnic","periods.perWeekFrequency":"pe săptămână","periods.perMonthFrequency":"pe lună","periods.perYearFrequency":"pe an","periods.perDayFrequency":"pe zi","periods.unknownFrequency":"necunoscut","periods.weekFrequencyPlural":"la fiecare {{amount}} săptămâni","periods.monthFrequencyPlural":"la fiecare {{amount}} luni","periods.yearFrequencyPlural":"la fiecare {{amount}} ani","periods.dayFrequencyPlural":"la fiecare {{amount}} zile","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} perioadă de probă gratuită","product_info.price_after_free_trial":"După terminarea perioadei de probă, pe {{renewalDate}}","product_info.renewal_frequency":"Se reînnoiește {{frequency}}","product_info.continues_until_cancelled":"Continuă până la anulare","product_info.cancel_anytime":"Anulare oricând","payment_entry_page.payment_step_title":"Plata securizată prin RevenueCat","payment_entry_page.button_pay":"Plătește acum","payment_entry_page.button_start_trial":"Începe perioada de probă","success_page.purchase_successful":"Plata efectuată","success_page.button_close":"Continuă","error_page.if_error_persists":"Dacă eroarea persistă, vă rugăm să contactați ","error_page.error_title_already_subscribed":"Sunteți deja abonat la {{productTitle}}","error_page.error_title_already_purchased":"Ați achiziționat deja {{productTitle}}","error_page.error_title_other_errors":"A apărut o eroare","error_page.error_message_already_subscribed":"Nu vă puteți abona din nou la acest produs.","error_page.error_message_already_purchased":"Nu puteți achiziționa din nou acest produs.","error_page.error_message_missing_email_error":"Adresa de e-mail este necesară pentru a finaliza achiziția.","error_page.error_message_network_error":"Eroare de rețea. Verificați conexiunea la internet.","error_page.error_message_error_charging_payment":"Plata a eșuat.","error_page.error_message_error_setting_up_purchase":"Achiziția nu a putut fi inițiată din cauza unei erori (cod de eroare: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nu am putut verifica adresa de facturare. Vă rugăm să verificați dacă codul poștal și țara sunt corecte.","error_page.error_message_unknown_error":"A apărut o eroare necunoscută (cod de eroare: {{errorCode}}).","error_page.button_try_again":"Încearcă din nou","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total de plată astăzi","product_info.subscribe_to":"Abonare la","navbar_header.details":"Detalii","navbar_header.back_button":"Înapoi","pricing_dropdown.show_details":"Arată detalii","pricing_dropdown.hide_details":"Ascunde detalii","pricing_table.tax":"Taxă","pricing_table.trial_ends":"După ce perioada de probă se termină, pe {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total de plătit astăzi","pricing_table.total_excluding_tax":"Total fără taxe","pricing_table.enter_billing_address_to_calculate":"Introduceți adresa de facturare pentru a calcula","pricing_table.enter_state_or_postal_code_to_calculate":"Introduceți statul sau codul poștal pentru a calcula","pricing_table.enter_postal_code_to_calculate":"Introduceți codul poștal pentru a calcula","error_page.error_message_invalid_email_error":"Adresa de e-mail {{email}} nu a putut fi verificată. Vă rugăm să furnizați o adresă de e-mail validă.","payment_entry_page.button_payment_method":"Plătește {{formattedPrice}} cu {{paymentMethod}}","payment_entry_page.button_with_price":"Plătește {{formattedPrice}}","price_update.title":"Actualizare preț","price_update.base_message":"Prețul total a fost actualizat cu taxe, în funcție de adresa dumneavoastră de facturare. Vă rugăm să revizuiți și să încercați din nou. Cardul dumneavoastră va fi debitat o singură dată.","price_update.trial_message":"Prețul abonamentului a fost actualizat pentru a include taxele bazate pe adresa dvs. de facturare. Perioada de probă gratuită rămâne valabilă. Vă rugăm să verificați și să încercați din nou.","payment_entry_page.express_checkout_divider":"SAU PLĂTEȘTE CU CARDUL","error_page.trouble_accessing":"Dacă întâmpini probleme în accesarea achiziției tale, contactează serviciul de asistență la ","error_page.close_button_title":"Mergi la {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permisiune Stripe lipsă","error_page.button_close":"Închide","error_page.error_message_stripe_invalid_tax_origin_address":"Achiziția a eșuat deoarece adresa de origine fiscală este nevalidă. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_message_stripe_tax_not_active":"Achiziția a eșuat deoarece Stripe Tax nu este activat. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_only_in_sandbox":"Acest mesaj apare doar în sandbox.","error_page.error_message_stripe_missing_required_permission":"Achiziția a eșuat deoarece aplicației Stripe îi lipsește o permisiune necesară. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nu este activ","error_page.error_title_stripe_invalid_tax_origin_address":"Adresă de origine fiscală Stripe nevalidă","apple_pay.free_trial":"Perioadă de probă gratuită","product_info.price_after_intro_price":"După {{introPriceDuration}}, pe {{renewalDate}}","product_info.after_trial":"după perioada de probă","product_info.after":"după","product_info.intro_price_phase_after_trial":"Apoi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase":"Mai întâi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase_paid_once":"plătit o singură dată","payment_entry_page.trial_subscription_terms_info":"După ce perioada de probă se termină, veți fi taxat cu {{price}} {{perFrequency}} începând cu {{renewalDate}}. Puteți anula oricând înainte de această dată.","payment_entry_page.subscription_info":"Abonamentul se reînnoiește automat. Anulați oricând.","payment_entry_page.otp_terms_info":"Prin achiziționarea, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi.","payment_entry_page.terms_link_label":"Termeni","payment_entry_page.subscription_terms_info":"Prin abonare, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi până la anulare.","loading_page.keep_page_open":"Procesul este aproape finalizat. Păstrați această pagină deschisă.","loading_page.processing_payment":"Se procesează plata","pricing_table.discount":"Reducere","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adaugă cod promoțional","discount_input.label":"Cod promoțional"},Im={"periods.week":"{{amount}} неделя","periods.month":"{{amount}} месяц","periods.year":"{{amount}} год","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}нед","periods.monthShort":"{{amount}}мес","periods.yearShort":"{{amount}}г","periods.dayShort":"{{amount}}д","periods.lifetime":"пожизненно","periods.weekPlural":"{{amount}} недель","periods.monthPlural":"{{amount}} месяцев","periods.yearPlural":"{{amount}} лет","periods.dayPlural":"{{amount}} дней","periods.weekFrequency":"еженедельно","periods.monthFrequency":"ежемесячно","periods.yearFrequency":"ежегодно","periods.dayFrequency":"ежедневно","periods.perWeekFrequency":"в неделю","periods.perMonthFrequency":"в месяц","periods.perYearFrequency":"в год","periods.perDayFrequency":"в день","periods.unknownFrequency":"неизвестно","periods.weekFrequencyPlural":"каждые {{amount}} недель","periods.monthFrequencyPlural":"каждые {{amount}} месяцев","periods.yearFrequencyPlural":"каждые {{amount}} лет","periods.dayFrequencyPlural":"каждые {{amount}} дней","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} бесплатная пробная версия","product_info.price_after_free_trial":"После окончания пробного периода, {{renewalDate}}","product_info.renewal_frequency":"Продлевается {{frequency}}","product_info.continues_until_cancelled":"Продолжается до отмены","product_info.cancel_anytime":"Отменить в любое время","payment_entry_page.payment_step_title":"Безопасная оплата через RevenueCat","payment_entry_page.button_pay":"Оплатить сейчас","payment_entry_page.button_start_trial":"Начать пробный период","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продолжить","error_page.if_error_persists":"Если ошибка сохраняется, пожалуйста, свяжитесь с ","error_page.error_title_already_subscribed":"Вы уже подписаны на {{productTitle}}","error_page.error_title_already_purchased":"Вы уже приобрели {{productTitle}}","error_page.error_title_other_errors":"Что-то пошло не так","error_page.error_message_already_subscribed":"Вы не можете подписаться на этот продукт повторно.","error_page.error_message_already_purchased":"Вы не можете приобрести этот продукт повторно.","error_page.error_message_missing_email_error":"Для завершения покупки необходим адрес электронной почты.","error_page.error_message_network_error":"Ошибка сети. Проверьте ваше интернет-соединение.","error_page.error_message_error_charging_payment":"Оплата не прошла.","error_page.error_message_error_setting_up_purchase":"Покупка не была начата из-за ошибки (код ошибки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Мы не смогли проверить ваш платежный адрес. Пожалуйста, проверьте, что почтовый индекс и страна указаны правильно.","error_page.error_message_unknown_error":"Произошла неизвестная ошибка (код ошибки: {{errorCode}}).","error_page.button_try_again":"Повторить попытку","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всего к оплате сегодня","product_info.subscribe_to":"Подписаться","navbar_header.details":"Детали","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показать детали","pricing_dropdown.hide_details":"Скрыть детали","pricing_table.tax":"Налог","pricing_table.trial_ends":"После окончания пробного периода, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Итого к оплате сегодня","pricing_table.total_excluding_tax":"Итого без учета налога","pricing_table.enter_billing_address_to_calculate":"Введите платежный адрес для расчета","pricing_table.enter_state_or_postal_code_to_calculate":"Введите штат или почтовый индекс для расчета","pricing_table.enter_postal_code_to_calculate":"Введите почтовый индекс для расчета","error_page.error_message_invalid_email_error":"Не удалось проверить адрес электронной почты {{email}}. Пожалуйста, укажите действительный адрес электронной почты.","payment_entry_page.button_payment_method":"Оплатить {{formattedPrice}} через {{paymentMethod}}","payment_entry_page.button_with_price":"Оплатить {{formattedPrice}}","price_update.title":"Обновление цены","price_update.base_message":"Общая цена была обновлена с учетом налога на основе вашего платежного адреса. Пожалуйста, проверьте и повторите попытку. С вашей карты будет списано только один раз.","price_update.trial_message":"Цена подписки была обновлена с учетом налогов на основе вашего платежного адреса. Пробный период остается бесплатным. Пожалуйста, проверьте и попробуйте снова.","payment_entry_page.express_checkout_divider":"ИЛИ ОПЛАТИТЕ КАРТОЙ","error_page.trouble_accessing":"Если у вас возникли проблемы с доступом к вашей покупке, обратитесь в службу поддержки по адресу ","error_page.close_button_title":"Перейти в {{appName}}","error_page.error_title_stripe_missing_required_permission":"Отсутствует разрешение Stripe","error_page.button_close":"Закрыть","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не удалась, так как адрес отправления налога недействителен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_message_stripe_tax_not_active":"Покупка не удалась, так как Stripe Tax не включен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_only_in_sandbox":"Это сообщение появляется только в песочнице.","error_page.error_message_stripe_missing_required_permission":"Покупка не удалась, так как у приложения Stripe отсутствует необходимое разрешение. В рабочей среде покупки будут работать без применения налогов.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активен","error_page.error_title_stripe_invalid_tax_origin_address":"Недействительный адрес отправления налога","apple_pay.free_trial":"Бесплатная пробная версия","product_info.price_after_intro_price":"После {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"после пробного периода","product_info.after":"после","product_info.intro_price_phase_after_trial":"Затем {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Сначала {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"единоразовый платеж","payment_entry_page.trial_subscription_terms_info":"По окончании пробного периода с вас будет взиматься плата в размере {{price}} {{perFrequency}}, начиная с {{renewalDate}}. Вы можете отменить подписку в любое время до этой даты.","payment_entry_page.subscription_info":"Подписка продлевается автоматически. Отменить можно в любое время.","payment_entry_page.otp_terms_info":"Совершая покупку, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии со своими условиями.","payment_entry_page.terms_link_label":"Условия","payment_entry_page.subscription_terms_info":"Подписываясь, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии с их условиями до тех пор, пока вы не отмените подписку.","loading_page.keep_page_open":"Процесс почти завершен. Не закрывайте эту страницу.","loading_page.processing_payment":"Обработка платежа","pricing_table.discount":"Скидка","pricing_table.subtotal":"Итого","pricing_dropdown.add_promo_code":"Добавить промокод","discount_input.label":"Промокод"},Cm={"periods.week":"{{amount}} týždeň","periods.month":"{{amount}} mesiac","periods.year":"{{amount}} rok","periods.day":"{{amount}} deň","periods.weekShort":"{{amount}}týž","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotne","periods.weekPlural":"{{amount}} týždňov","periods.monthPlural":"{{amount}} mesiacov","periods.yearPlural":"{{amount}} rokov","periods.dayPlural":"{{amount}} dní","periods.weekFrequency":"týždenne","periods.monthFrequency":"mesačne","periods.yearFrequency":"ročne","periods.dayFrequency":"denne","periods.perWeekFrequency":"týždenne","periods.perMonthFrequency":"mesačne","periods.perYearFrequency":"ročne","periods.perDayFrequency":"denne","periods.unknownFrequency":"neznáme","periods.weekFrequencyPlural":"každých {{amount}} týždňov","periods.monthFrequencyPlural":"každých {{amount}} mesiacov","periods.yearFrequencyPlural":"každých {{amount}} rokov","periods.dayFrequencyPlural":"každých {{amount}} dní","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} bezplatné skúšobné obdobie","product_info.price_after_free_trial":"Po skončení skúšobného obdobia, dňa {{renewalDate}}","product_info.renewal_frequency":"Obnovuje sa {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, kým sa nezruší","product_info.cancel_anytime":"Kedykoľvek zrušiť","payment_entry_page.payment_step_title":"Bezpečný nákup prostredníctvom RevenueCat","payment_entry_page.button_pay":"Zaplatiť teraz","payment_entry_page.button_start_trial":"Spustiť skúšobné obdobie","success_page.purchase_successful":"Platba dokončená","success_page.button_close":"Pokračovať","error_page.if_error_persists":"Ak chyba pretrváva, kontaktujte ","error_page.error_title_already_subscribed":"Už ste si predplatili {{productTitle}}","error_page.error_title_already_purchased":"Už ste si zakúpili {{productTitle}}","error_page.error_title_other_errors":"Niečo sa pokazilo","error_page.error_message_already_subscribed":"Na tento produkt sa nemôžete znova prihlásiť na odber.","error_page.error_message_already_purchased":"Tento produkt si nemôžete znova zakúpiť.","error_page.error_message_missing_email_error":"Na dokončenie nákupu je potrebný e-mail.","error_page.error_message_network_error":"Chyba siete. Skontrolujte svoje internetové pripojenie.","error_page.error_message_error_charging_payment":"Platba zlyhala.","error_page.error_message_error_setting_up_purchase":"Nákup sa nespustil kvôli chybe (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nepodarilo sa nám overiť vašu fakturačnú adresu. Skontrolujte, prosím, či je PSČ a krajina správne.","error_page.error_message_unknown_error":"Vyskytla sa neznáma chyba (kód chyby: {{errorCode}}).","error_page.button_try_again":"Skúsiť znova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celková suma splatná dnes","product_info.subscribe_to":"Prihlásiť sa na odber","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Späť","pricing_dropdown.show_details":"Zobraziť podrobnosti","pricing_dropdown.hide_details":"Skryť podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení skúšobnej verzie, dňa {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celková suma splatná dnes","pricing_table.total_excluding_tax":"Celkom bez dane","pricing_table.enter_billing_address_to_calculate":"Zadajte fakturačnú adresu pre výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadajte štát alebo PSČ pre výpočet","pricing_table.enter_postal_code_to_calculate":"Zadajte PSČ pre výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} sa nedala overiť. Zadajte platnú e-mailovú adresu.","payment_entry_page.button_payment_method":"Zaplatiť sumu {{formattedPrice}} pomocou {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatiť {{formattedPrice}}","price_update.title":"Aktualizácia ceny","price_update.base_message":"Celková cena bola aktualizovaná o daň na základe vašej fakturačnej adresy. Skontrolujte to a skúste znova. Vaša karta bude zaťažená iba raz.","price_update.trial_message":"Cena predplatného bola aktualizovaná o daňe na základe vašej fakturačnej adresy. Bezplatná skúšobná doba stále platí. Prosím, skontrolujte a skúste znova.","payment_entry_page.express_checkout_divider":"ALEBO ZAPLATIŤ KARTOU","error_page.trouble_accessing":"Ak máte problémy s prístupom k svojmu nákupu, kontaktujte podporu na ","error_page.close_button_title":"Prejsť na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chýbajúce povolenie Stripe","error_page.button_close":"Zavrieť","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup sa nepodaril, pretože adresa pôvodu dane je neplatná. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_message_stripe_tax_not_active":"Nákup sa nepodaril, pretože Stripe Tax nie je povolený. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_only_in_sandbox":"Táto správa sa zobrazuje iba v testovacom prostredí (sandbox).","error_page.error_message_stripe_missing_required_permission":"Nákup sa nepodaril, pretože aplikácii Stripe chýba požadované povolenie. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nie je aktívny","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa pôvodu dane","apple_pay.free_trial":"Skúšobná verzia zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dňa {{renewalDate}}","product_info.after_trial":"po skúšobnej dobe","product_info.after":"po","product_info.intro_price_phase_after_trial":"Potom {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najprv {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"zaplatené jednorazovo","payment_entry_page.trial_subscription_terms_info":"Po skončení skúšobného obdobia vám bude účtovaná suma {{price}} {{perFrequency}} počnúc dňom {{renewalDate}}. Pred týmto dátumom môžete kedykoľvek zrušiť.","payment_entry_page.subscription_info":"Predplatné sa automaticky obnovuje. Zrušiť môžete kedykoľvek.","payment_entry_page.otp_terms_info":"Zakúpením súhlasíte s tým, že spoločnosti {{appName}} umožníte účtovať vám poplatky v súlade s jej podmienkami.","payment_entry_page.terms_link_label":"Podmienky","payment_entry_page.subscription_terms_info":"Prihlásením na odber súhlasíte s tým, že spoločnosť {{appName}} vám bude účtovať poplatky podľa svojich podmienok, až kým odber nezrušíte.","loading_page.keep_page_open":"Proces sa takmer dokončil. Nechajte túto stránku otvorenú.","loading_page.processing_payment":"Spracováva sa platba","pricing_table.discount":"Zľava","pricing_table.subtotal":"Medzisúčet","pricing_dropdown.add_promo_code":"Pridať promo kód","discount_input.label":"Propagačný kód"},Tm={"periods.week":"{{amount}} teden","periods.month":"{{amount}} mesec","periods.year":"{{amount}} leto","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}ted","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}l","periods.dayShort":"{{amount}}d","periods.lifetime":"doživljenjsko","periods.weekPlural":"{{amount}} tednov","periods.monthPlural":"{{amount}} mesecev","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tedensko","periods.monthFrequency":"mesečno","periods.yearFrequency":"letno","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"na teden","periods.perMonthFrequency":"na mesec","periods.perYearFrequency":"na leto","periods.perDayFrequency":"na dan","periods.unknownFrequency":"neznano","periods.weekFrequencyPlural":"vsakih {{amount}} tednov","periods.monthFrequencyPlural":"vsakih {{amount}} mesecev","periods.yearFrequencyPlural":"vsakih {{amount}} let","periods.dayFrequencyPlural":"vsakih {{amount}} dni","product_info.subscribe_to":"Naročite se na","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Brezplačno preizkusite za {{trialDuration}}","product_info.price_after_free_trial":"Po koncu preizkusa, dne {{renewalDate}}","product_info.intro_price_phase_after_trial":"Nato {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvih {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plačano enkrat","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po preizkusu","product_info.after":"po","product_info.total_due_today":"Skupaj za plačilo danes","product_info.renewal_frequency":"Se obnovi {{frequency}}","product_info.continues_until_cancelled":"Traja do preklica","product_info.cancel_anytime":"Prekličete lahko kadar koli","payment_entry_page.payment_step_title":"Varno plačilo prek RevenueCat","payment_entry_page.trial_subscription_terms_info":"Po koncu preizkusnega obdobja vam bo zaračunano {{price}} {{perFrequency}} z začetkom {{renewalDate}}. Prekličete lahko kadar koli pred tem datumom.","payment_entry_page.subscription_terms_info":"Z naročnino se strinjate, da vam {{appName}} zaračunava v skladu s svojimi pogoji, dokler ne prekličete.","payment_entry_page.otp_terms_info":"Z nakupom se strinjate, da vam {{appName}} zaračuna v skladu s svojimi pogoji.","payment_entry_page.terms_link_label":"Pogoji","payment_entry_page.subscription_info":"Naročnina se samodejno obnavlja. Prekličete lahko kadar koli.","payment_entry_page.button_pay":"Plačaj zdaj","payment_entry_page.button_start_trial":"Začni preizkus","payment_entry_page.button_with_price":"Plačaj {{formattedPrice}}","payment_entry_page.button_payment_method":"Plačaj {{formattedPrice}} z {{paymentMethod}}","payment_entry_page.express_checkout_divider":"ALI PLAČAJTE S KARTICO","loading_page.processing_payment":"Obdelava plačila","loading_page.keep_page_open":"Postopek je skoraj končan. Pustite to stran odprto.","success_page.purchase_successful":"Plačilo zaključeno","success_page.button_close":"Nadaljuj","error_page.close_button_title":"Pojdi na {{appName}}","error_page.if_error_persists":"Če težava ne izgine, se obrnite na ","error_page.trouble_accessing":"Če imate težave z dostopom do svojega nakupa, se obrnite na podporo na ","error_page.error_title_already_subscribed":"Na {{productTitle}} ste že naročeni","error_page.error_title_already_purchased":"{{productTitle}} ste že kupili","error_page.error_title_other_errors":"Nekaj je šlo narobe","error_page.error_message_already_subscribed":"Na ta izdelek se ne morete ponovno naročiti.","error_page.error_message_already_purchased":"Tega izdelka ne morete ponovno kupiti.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ni aktiven","error_page.error_title_stripe_invalid_tax_origin_address":"Neveljaven izvorni naslov za davek","error_page.error_title_stripe_missing_required_permission":"Manjka dovoljenje Stripe","error_page.error_message_missing_email_error":"Za dokončanje nakupa je potrebna e-pošta.","error_page.error_message_invalid_email_error":"E-poštnega naslova {{email}} ni bilo mogoče preveriti. Vnesite veljaven e-poštni naslov.","error_page.error_message_network_error":"Napaka omrežja. Preverite svojo internetno povezavo.","error_page.error_message_error_charging_payment":"Plačilo ni uspelo.","error_page.error_message_error_setting_up_purchase":"Nakup se ni začel zaradi napake (koda napake: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vašega naslova za obračun nismo mogli preveriti. Preverite, ali sta poštna številka in država pravilni.","error_page.error_message_unknown_error":"Prišlo je do neznane napake (koda napake: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"Nakup ni uspel, ker Stripe Tax ni omogočen. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_invalid_tax_origin_address":"Nakup ni uspel, ker je izvorni naslov za davek neveljaven. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_missing_required_permission":"Nakup ni uspel, ker aplikaciji Stripe manjka zahtevano dovoljenje. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_only_in_sandbox":"To sporočilo se prikaže samo v peskovniku (sandbox).","error_page.button_try_again":"Poskusi znova","error_page.button_close":"Zapri","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Prikaži podrobnosti","pricing_dropdown.hide_details":"Skrij podrobnosti","pricing_dropdown.add_promo_code":"Dodaj promocijsko kodo","discount_input.label":"Promocijska koda","pricing_table.trial_ends":"Po koncu preizkusa, dne {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Skupaj brez davka","pricing_table.total_due_today":"Skupaj za plačilo danes","pricing_table.subtotal":"Vmesni seštevek","pricing_table.discount":"Popust","pricing_table.tax":"Davek","pricing_table.enter_billing_address_to_calculate":"Vnesite naslov za obračun za izračun","pricing_table.enter_postal_code_to_calculate":"Vnesite poštno številko za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Vnesite regijo ali poštno številko za izračun","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Nazaj","price_update.title":"Posodobitev cene","price_update.base_message":"Skupna cena je bila posodobljena z davkom glede na vaš naslov za obračun. Preglejte in poskusite znova. Vaša kartica bo bremenjena samo enkrat.","price_update.trial_message":"Cena naročnine je bila posodobljena, da vključuje davek glede na vaš naslov za obračun. Brezplačni preizkus še vedno velja. Preglejte in poskusite znova.","apple_pay.free_trial":"Brezplačni preizkus"},Dm={"periods.week":"{{amount}} vecka","periods.month":"{{amount}} månad","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}v","periods.monthShort":"{{amount}}mån","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} veckor","periods.monthPlural":"{{amount}} månader","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dagar","periods.weekFrequency":"veckovis","periods.monthFrequency":"månadsvis","periods.yearFrequency":"årligen","periods.dayFrequency":"dagligen","periods.perWeekFrequency":"per vecka","periods.perMonthFrequency":"per månad","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"okänd","periods.weekFrequencyPlural":"varje {{amount}} veckor","periods.monthFrequencyPlural":"varje {{amount}} månader","periods.yearFrequencyPlural":"varje {{amount}} år","periods.dayFrequencyPlural":"varje {{amount}} dagar","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis provperiod","product_info.price_after_free_trial":"Efter provperioden slutar, den {{renewalDate}}","product_info.renewal_frequency":"Förnyas {{frequency}}","product_info.continues_until_cancelled":"Gäller tills avbokad","product_info.cancel_anytime":"Avboka när som helst","payment_entry_page.payment_step_title":"Säker betalning via RevenueCat","payment_entry_page.button_pay":"Betala nu","payment_entry_page.button_start_trial":"Starta provperiod","success_page.purchase_successful":"Betalningen är klar","success_page.button_close":"Fortsätt","error_page.if_error_persists":"Om felet kvarstår, vänligen kontakta ","error_page.error_title_already_subscribed":"Du prenumererar redan på {{productTitle}}","error_page.error_title_already_purchased":"Du har redan köpt {{productTitle}}","error_page.error_title_other_errors":"Något gick fel","error_page.error_message_already_subscribed":"Du kan inte prenumerera på den här produkten igen.","error_page.error_message_already_purchased":"Du kan inte köpa den här produkten igen.","error_page.error_message_missing_email_error":"E-post krävs för att slutföra köpet.","error_page.error_message_network_error":"Nätverksfel. Kontrollera din internetanslutning.","error_page.error_message_error_charging_payment":"Betalningen misslyckades.","error_page.error_message_error_setting_up_purchase":"Köp kunde inte startas på grund av ett fel (felkod: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunde inte verifiera din faktureringsadress. Kontrollera att postnummer och land är korrekta.","error_page.error_message_unknown_error":"Ett okänt fel inträffade (felkod: {{errorCode}}).","error_page.button_try_again":"Försök igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt att betala idag","product_info.subscribe_to":"Prenumerera på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tillbaka","pricing_dropdown.show_details":"Visa detaljer","pricing_dropdown.hide_details":"Dölj detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter provperiodens slut, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total summa att betala idag","pricing_table.total_excluding_tax":"Totalt exklusive moms","pricing_table.enter_billing_address_to_calculate":"Ange faktureringsadress för att beräkna","pricing_table.enter_state_or_postal_code_to_calculate":"Ange delstat eller postnummer för att beräkna","pricing_table.enter_postal_code_to_calculate":"Ange postnummer för att beräkna","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunde inte verifieras. Ange en giltig e-postadress.","payment_entry_page.button_payment_method":"Betala {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betala {{formattedPrice}}","price_update.title":"Prisuppdatering","price_update.base_message":"Det totala priset har uppdaterats med moms baserat på din faktureringsadress. Granska och försök igen. Ditt kort kommer endast att debiteras en gång.","price_update.trial_message":"Prenumerationspriset har uppdaterats för att inkludera skatter baserat på din fakturaadress. Den kostnadsfria provperioden gäller fortfarande. Kontrollera och försök igen.","payment_entry_page.express_checkout_divider":"ELLER BETALA MED KORT","error_page.trouble_accessing":"Om du har problem med att komma åt ditt köp, kontakta support på ","error_page.close_button_title":"Gå till {{appName}}","error_page.error_title_stripe_missing_required_permission":"Saknar Stripe-behörighet","error_page.button_close":"Stäng","error_page.error_message_stripe_invalid_tax_origin_address":"Köpet misslyckades eftersom skatteursprungsadressen är ogiltig. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_message_stripe_tax_not_active":"Köpet misslyckades eftersom Stripe Tax inte är aktiverat. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_only_in_sandbox":"Det här meddelandet visas bara i sandlådan.","error_page.error_message_stripe_missing_required_permission":"Köpet misslyckades eftersom Stripe-appen saknar en nödvändig behörighet. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_title_stripe_tax_not_active":"Stripe Tax är inte aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ogiltig skatteursprungsadress","apple_pay.free_trial":"Gratis provperiod","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter provperioden","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Sedan {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase":"Först {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase_paid_once":"betalas en gång","payment_entry_page.trial_subscription_terms_info":"Efter att din provperiod slutar debiteras du {{price}} {{perFrequency}} från och med {{renewalDate}}. Du kan avbryta när som helst före detta datum.","payment_entry_page.subscription_info":"Prenumerationen förnyas automatiskt. Avbryt när som helst.","payment_entry_page.otp_terms_info":"Genom att köpa godkänner du att {{appName}} debiterar dig i enlighet med deras villkor.","payment_entry_page.terms_link_label":"Villkor","payment_entry_page.subscription_terms_info":"Genom att prenumerera godkänner du att {{appName}} debiterar dig i enlighet med deras villkor tills du avbryter.","loading_page.keep_page_open":"Processen är nästan klar. Håll den här sidan öppen.","loading_page.processing_payment":"Behandlar betalning","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Delsumma","pricing_dropdown.add_promo_code":"Lägg till kampanjkod","discount_input.label":"Kampanjkod"},Am={"periods.week":"{{amount}} สัปดาห์","periods.month":"{{amount}} เดือน","periods.year":"{{amount}} ปี","periods.day":"{{amount}} วัน","periods.weekShort":"{{amount}} สัปดาห์","periods.monthShort":"{{amount}} เดือน","periods.yearShort":"{{amount}} ปี","periods.dayShort":"{{amount}} วัน","periods.lifetime":"ตลอดชีพ","periods.weekPlural":"{{amount}} สัปดาห์","periods.monthPlural":"{{amount}} เดือน","periods.yearPlural":"{{amount}} ปี","periods.dayPlural":"{{amount}} วัน","periods.weekFrequency":"รายสัปดาห์","periods.monthFrequency":"รายเดือน","periods.yearFrequency":"รายปี","periods.dayFrequency":"รายวัน","periods.perWeekFrequency":"ต่อสัปดาห์","periods.perMonthFrequency":"ต่อเดือน","periods.perYearFrequency":"ต่อปี","periods.perDayFrequency":"ต่อวัน","periods.unknownFrequency":"ไม่รู้จัก","periods.weekFrequencyPlural":"ทุกๆ {{amount}} สัปดาห์","periods.monthFrequencyPlural":"ทุกๆ {{amount}} เดือน","periods.yearFrequencyPlural":"ทุกๆ {{amount}} ปี","periods.dayFrequencyPlural":"ทุกๆ {{amount}} วัน","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ทดลองใช้ฟรี","product_info.price_after_free_trial":"หลังจากสิ้นสุดการทดลองใช้ ในวันที่ {{renewalDate}}","product_info.renewal_frequency":"ต่ออายุ {{frequency}}","product_info.continues_until_cancelled":"ต่อเนื่องจนกว่าจะยกเลิก","product_info.cancel_anytime":"ยกเลิกได้ตลอดเวลา","payment_entry_page.payment_step_title":"การชำระเงินอย่างปลอดภัยโดย RevenueCat","payment_entry_page.button_pay":"ชำระเงินตอนนี้","payment_entry_page.button_start_trial":"เริ่มทดลองใช้","success_page.purchase_successful":"การชำระเงินเสร็จสมบูรณ์","success_page.button_close":"ดำเนินการต่อ","error_page.if_error_persists":"หากข้อผิดพลาดยังคงอยู่ โปรดติดต่อ ","error_page.error_title_already_subscribed":"คุณได้สมัครสมาชิก {{productTitle}} แล้ว","error_page.error_title_already_purchased":"คุณได้ซื้อ {{productTitle}} แล้ว","error_page.error_title_other_errors":"มีบางอย่างผิดพลาด","error_page.error_message_already_subscribed":"คุณไม่สามารถสมัครสมาชิกผลิตภัณฑ์นี้ได้อีก","error_page.error_message_already_purchased":"คุณไม่สามารถซื้อผลิตภัณฑ์นี้ได้อีก","error_page.error_message_missing_email_error":"ต้องใช้อีเมลเพื่อทำการซื้อให้เสร็จสมบูรณ์","error_page.error_message_network_error":"ข้อผิดพลาดของเครือข่าย โปรดตรวจสอบการเชื่อมต่ออินเทอร์เน็ตของคุณ","error_page.error_message_error_charging_payment":"การชำระเงินล้มเหลว","error_page.error_message_error_setting_up_purchase":"ไม่สามารถเริ่มการซื้อได้เนื่องจากข้อผิดพลาด (รหัสข้อผิดพลาด: {{errorCode}})","error_page.error_message_invalid_tax_location":"เราไม่สามารถยืนยันที่อยู่สำหรับออกใบแจ้งหนี้ของคุณได้ กรุณาตรวจสอบรหัสไปรษณีย์และประเทศให้ถูกต้อง","error_page.error_message_unknown_error":"เกิดข้อผิดพลาดที่ไม่รู้จัก (รหัสข้อผิดพลาด: {{errorCode}})","error_page.button_try_again":"ลองอีกครั้ง","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","product_info.subscribe_to":"สมัครสมาชิก","navbar_header.details":"รายละเอียด","navbar_header.back_button":"ย้อนกลับ","pricing_dropdown.show_details":"แสดงรายละเอียด","pricing_dropdown.hide_details":"ซ่อนรายละเอียด","pricing_table.tax":"ภาษี","pricing_table.trial_ends":"หลังจากช่วงทดลองใช้สิ้นสุด ในวันที่ {{formattedTrialEndDate}}","pricing_table.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","pricing_table.total_excluding_tax":"ราคารวมก่อนภาษี","pricing_table.enter_billing_address_to_calculate":"กรุณากรอกที่อยู่สำหรับเรียกเก็บเงินเพื่อคำนวณ","pricing_table.enter_state_or_postal_code_to_calculate":"ใส่รัฐหรือรหัสไปรษณีย์เพื่อคำนวณ","pricing_table.enter_postal_code_to_calculate":"ใส่รหัสไปรษณีย์เพื่อคำนวณ","error_page.error_message_invalid_email_error":"ไม่สามารถยืนยันที่อยู่อีเมล {{email}} ได้ โปรดระบุที่อยู่อีเมลที่ถูกต้อง","payment_entry_page.button_payment_method":"ชำระเงิน {{formattedPrice}} ด้วย {{paymentMethod}}","payment_entry_page.button_with_price":"ชำระเงิน {{formattedPrice}}","price_update.title":"อัปเดตราคา","price_update.base_message":"ราคารวมได้รับการอัปเดตพร้อมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ โปรดตรวจสอบและลองอีกครั้ง บัตรของคุณจะถูกเรียกเก็บเงินเพียงครั้งเดียวเท่านั้น","price_update.trial_message":"ราคาการสมัครสมาชิกได้รับการอัปเดตเพื่อรวมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ ระยะเวลาทดลองใช้ฟรียังคงมีผล โปรดตรวจสอบและลองอีกครั้ง","payment_entry_page.express_checkout_divider":"หรือชำระด้วยบัตร","error_page.trouble_accessing":"หากคุณมีปัญหาในการเข้าถึงการซื้อ โปรดติดต่อฝ่ายสนับสนุนที่ ","error_page.close_button_title":"ไปที่ {{appName}}","error_page.error_title_stripe_missing_required_permission":"ขาดสิทธิ์ Stripe ที่จำเป็น","error_page.button_close":"ปิด","error_page.error_message_stripe_invalid_tax_origin_address":"การซื้อล้มเหลวเนื่องจากที่อยู่ต้นทางภาษีไม่ถูกต้อง ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_message_stripe_tax_not_active":"การซื้อล้มเหลวเนื่องจากไม่ได้เปิดใช้งาน Stripe Tax ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_only_in_sandbox":"ข้อความนี้จะปรากฏเฉพาะใน sandbox เท่านั้น","error_page.error_message_stripe_missing_required_permission":"การซื้อล้มเหลวเนื่องจากแอป Stripe ขาดสิทธิ์ที่จำเป็น ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_title_stripe_tax_not_active":"Stripe Tax ไม่เปิดใช้งาน","error_page.error_title_stripe_invalid_tax_origin_address":"ที่อยู่ต้นทางภาษีไม่ถูกต้อง","apple_pay.free_trial":"ทดลองใช้ฟรี","product_info.price_after_intro_price":"หลังจาก {{introPriceDuration}} ในวันที่ {{renewalDate}}","product_info.after_trial":"หลังช่วงทดลองใช้","product_info.after":"หลังจาก","product_info.intro_price_phase_after_trial":"จากนั้น {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase":"ช่วงแรก {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase_paid_once":"ชำระครั้งเดียว","payment_entry_page.trial_subscription_terms_info":"หลังจากช่วงทดลองใช้ของคุณสิ้นสุดลง คุณจะถูกเรียกเก็บเงิน {{price}} {{perFrequency}} เริ่มตั้งแต่วันที่ {{renewalDate}} คุณสามารถยกเลิกได้ตลอดเวลาก่อนวันดังกล่าว","payment_entry_page.subscription_info":"การสมัครรับข้อมูลจะต่ออายุโดยอัตโนมัติ ยกเลิกได้ตลอดเวลา","payment_entry_page.otp_terms_info":"เมื่อทำการซื้อ คุณตกลงที่จะอนุญาตให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดของพวกเขา","payment_entry_page.terms_link_label":"ข้อกำหนด","payment_entry_page.subscription_terms_info":"เมื่อสมัครรับข้อมูล แสดงว่าคุณยินยอมให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดจนกว่าคุณจะยกเลิก","loading_page.keep_page_open":"กระบวนการเกือบเสร็จสมบูรณ์แล้ว โปรดเปิดหน้านี้ไว้","loading_page.processing_payment":"กำลังดำเนินการชำระเงิน","pricing_table.discount":"ส่วนลด","pricing_table.subtotal":"ราคารวมย่อย","pricing_dropdown.add_promo_code":"เพิ่มรหัสโปรโมชั่น","discount_input.label":"รหัสโปรโมชั่น"},Fm={"periods.week":"{{amount}} hafta","periods.month":"{{amount}} ay","periods.year":"{{amount}} yıl","periods.day":"{{amount}} gün","periods.weekShort":"{{amount}}hf","periods.monthShort":"{{amount}}ay","periods.yearShort":"{{amount}}yl","periods.dayShort":"{{amount}}g","periods.lifetime":"ömür boyu","periods.weekPlural":"{{amount}} hafta","periods.monthPlural":"{{amount}} ay","periods.yearPlural":"{{amount}} yıl","periods.dayPlural":"{{amount}} gün","periods.weekFrequency":"haftalık","periods.monthFrequency":"aylık","periods.yearFrequency":"yıllık","periods.dayFrequency":"günlük","periods.perWeekFrequency":"haftada","periods.perMonthFrequency":"ayda","periods.perYearFrequency":"yılda","periods.perDayFrequency":"günde","periods.unknownFrequency":"bilinmiyor","periods.weekFrequencyPlural":"her {{amount}} haftada","periods.monthFrequencyPlural":"her {{amount}} ayda","periods.yearFrequencyPlural":"her {{amount}} yılda","periods.dayFrequencyPlural":"her {{amount}} günde","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ücretsiz deneme","product_info.price_after_free_trial":"Deneme süresi sona erdiğinde, {{renewalDate}} tarihinde","product_info.renewal_frequency":"{{frequency}} sıklığında yenilenir","product_info.continues_until_cancelled":"İptal edilene kadar devam eder","product_info.cancel_anytime":"İstediğiniz zaman iptal edebilirsiniz","payment_entry_page.payment_step_title":"RevenueCat ile güvenli ödeme","payment_entry_page.button_pay":"Şimdi öde","payment_entry_page.button_start_trial":"Denemeyi başlat","success_page.purchase_successful":"Ödeme tamamlandı","success_page.button_close":"Devam et","error_page.if_error_persists":"Hata devam ederse lütfen iletişime geçin ","error_page.error_title_already_subscribed":"{{productTitle}} ürününe zaten abone oldunuz","error_page.error_title_already_purchased":"{{productTitle}} ürününü zaten satın aldınız","error_page.error_title_other_errors":"Bir şeyler ters gitti","error_page.error_message_already_subscribed":"Bu ürüne tekrar abone olamazsınız.","error_page.error_message_already_purchased":"Bu ürünü tekrar satın alamazsınız.","error_page.error_message_missing_email_error":"Satın almayı tamamlamak için e-posta gereklidir.","error_page.error_message_network_error":"Ağ hatası. Lütfen internet bağlantınızı kontrol edin.","error_page.error_message_error_charging_payment":"Ödeme başarısız oldu.","error_page.error_message_error_setting_up_purchase":"Bir hata nedeniyle satın alma başlatılamadı (hata kodu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Fatura adresinizi doğrulayamadık. Lütfen posta kodu ve ülkenin doğru olduğunu kontrol edin.","error_page.error_message_unknown_error":"Bilinmeyen bir hata oluştu (hata kodu: {{errorCode}}).","error_page.button_try_again":"Tekrar dene","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Bugün ödenecek toplam tutar","product_info.subscribe_to":"Abone Ol","navbar_header.details":"Detaylar","navbar_header.back_button":"Geri","pricing_dropdown.show_details":"Detayları göster","pricing_dropdown.hide_details":"Detayları gizle","pricing_table.tax":"Vergi","pricing_table.trial_ends":"Deneme süresi sona erdikten sonra, {{formattedTrialEndDate}} tarihinde","pricing_table.total_due_today":"Bugün ödenecek toplam","pricing_table.total_excluding_tax":"Vergi hariç toplam","pricing_table.enter_billing_address_to_calculate":"Hesaplamak için fatura adresini girin","pricing_table.enter_state_or_postal_code_to_calculate":"Hesaplamak için eyalet veya posta kodunu girin","pricing_table.enter_postal_code_to_calculate":"Hesaplamak için posta kodunu girin","error_page.error_message_invalid_email_error":"{{email}} e-posta adresi doğrulanamadı. Lütfen geçerli bir e-posta adresi girin.","payment_entry_page.button_payment_method":"{{paymentMethod}} ile {{formattedPrice}} öde","payment_entry_page.button_with_price":"{{formattedPrice}} öde","price_update.title":"Fiyat güncellemesi","price_update.base_message":"Toplam fiyat, fatura adresinize göre vergi dahil olacak şekilde güncellendi. Lütfen inceleyip tekrar deneyin. Kartınızdan yalnızca bir kez ücret alınacaktır.","price_update.trial_message":"Abonelik fiyatı, fatura adresinize göre vergileri içerecek şekilde güncellendi. Ücretsiz deneme süresi hala geçerli. Lütfen kontrol edin ve tekrar deneyin.","payment_entry_page.express_checkout_divider":"VEYA KARTLA ÖDEYİN","error_page.trouble_accessing":"Satın alımınıza erişmekte sorun yaşıyorsanız, şu adresten destek ekibine ulaşın: ","error_page.close_button_title":"{{appName}}'e Git","error_page.error_title_stripe_missing_required_permission":"Eksik Stripe izni","error_page.button_close":"Kapat","error_page.error_message_stripe_invalid_tax_origin_address":"Vergi başlangıç adresi geçersiz olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_message_stripe_tax_not_active":"Stripe Vergi etkinleştirilmediği için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_only_in_sandbox":"Bu mesaj yalnızca sanal ortamda görünür.","error_page.error_message_stripe_missing_required_permission":"Stripe uygulamasında gerekli bir izin eksik olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_title_stripe_tax_not_active":"Stripe Vergi aktif değil","error_page.error_title_stripe_invalid_tax_origin_address":"Geçersiz vergi başlangıç adresi","apple_pay.free_trial":"Ücretsiz Deneme","product_info.price_after_intro_price":"{{introPriceDuration}} sonra, {{renewalDate}} tarihinde","product_info.after_trial":"deneme süresinden sonra","product_info.after":"sonra","product_info.intro_price_phase_after_trial":"Sonra {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase":"İlk {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase_paid_once":"bir defaya mahsus ödenir","payment_entry_page.trial_subscription_terms_info":"Deneme süreniz sona erdikten sonra, {{renewalDate}} tarihinden itibaren {{price}} {{perFrequency}} ücretlendirileceksiniz. Bu tarihten önce istediğiniz zaman iptal edebilirsiniz.","payment_entry_page.subscription_info":"Abonelik otomatik olarak yenilenir. İstediğiniz zaman iptal edin.","payment_entry_page.otp_terms_info":"Satın alarak, {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","payment_entry_page.terms_link_label":"Koşullar","payment_entry_page.subscription_terms_info":"Abone olarak, iptal edene kadar {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","loading_page.keep_page_open":"İşlem neredeyse tamamlandı. Bu sayfayı açık tutun.","loading_page.processing_payment":"Ödeme işleniyor","pricing_table.discount":"İndirim","pricing_table.subtotal":"Ara Toplam","pricing_dropdown.add_promo_code":"kupon kodu ekle","discount_input.label":"Promosyon kodu"},Mm={"periods.week":"{{amount}} тиждень","periods.month":"{{amount}} місяць","periods.year":"{{amount}} рік","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}тиж","periods.monthShort":"{{amount}}міс","periods.yearShort":"{{amount}}рік","periods.dayShort":"{{amount}}дн","periods.lifetime":"пожиттєво","periods.weekPlural":"{{amount}} тижнів","periods.monthPlural":"{{amount}} місяців","periods.yearPlural":"{{amount}} років","periods.dayPlural":"{{amount}} днів","periods.weekFrequency":"щотижня","periods.monthFrequency":"щомісяця","periods.yearFrequency":"щороку","periods.dayFrequency":"щодня","periods.perWeekFrequency":"на тиждень","periods.perMonthFrequency":"на місяць","periods.perYearFrequency":"на рік","periods.perDayFrequency":"на день","periods.unknownFrequency":"невідомо","periods.weekFrequencyPlural":"кожні {{amount}} тижнів","periods.monthFrequencyPlural":"кожні {{amount}} місяців","periods.yearFrequencyPlural":"кожні {{amount}} років","periods.dayFrequencyPlural":"кожні {{amount}} днів","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} безкоштовний пробний період","product_info.price_after_free_trial":"Після закінчення пробного періоду, {{renewalDate}}","product_info.renewal_frequency":"Продовжується {{frequency}}","product_info.continues_until_cancelled":"Триває до скасування","product_info.cancel_anytime":"Можна скасувати в будь-який час","payment_entry_page.payment_step_title":"Безпечна оплата через RevenueCat","payment_entry_page.button_pay":"Оплатити зараз","payment_entry_page.button_start_trial":"Розпочати пробний період","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продовжити","error_page.if_error_persists":"Якщо помилка повторюється, зверніться до ","error_page.error_title_already_subscribed":"Ви вже підписалися на {{productTitle}}","error_page.error_title_already_purchased":"Ви вже придбали {{productTitle}}","error_page.error_title_other_errors":"Щось пішло не так","error_page.error_message_already_subscribed":"Ви не можете підписатися на цей продукт знову.","error_page.error_message_already_purchased":"Ви не можете придбати цей продукт знову.","error_page.error_message_missing_email_error":"Для завершення покупки потрібна електронна пошта.","error_page.error_message_network_error":"Помилка мережі. Перевірте підключення до інтернету.","error_page.error_message_error_charging_payment":"Оплата не пройшла.","error_page.error_message_error_setting_up_purchase":"Помилка при ініціалізації покупки (код помилки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Ми не змогли перевірити вашу платіжну адресу. Будь ласка, перевірте, чи правильні поштовий індекс та країна.","error_page.error_message_unknown_error":"Сталася невідома помилка (код помилки: {{errorCode}}).","error_page.button_try_again":"Спробувати ще раз","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всього до сплати сьогодні","product_info.subscribe_to":"Підписатися на","navbar_header.details":"Деталі","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показати деталі","pricing_dropdown.hide_details":"Приховати деталі","pricing_table.tax":"Податок","pricing_table.trial_ends":"Після закінчення пробного періоду, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Загальна сума до сплати сьогодні","pricing_table.total_excluding_tax":"Загальна сума без урахування податку","pricing_table.enter_billing_address_to_calculate":"Введіть адресу виставлення рахунку для розрахунку","pricing_table.enter_state_or_postal_code_to_calculate":"Введіть штат або поштовий індекс для розрахунку","pricing_table.enter_postal_code_to_calculate":"Введіть поштовий індекс для розрахунку","error_page.error_message_invalid_email_error":"Електронну адресу {{email}} не вдалося підтвердити. Будь ласка, вкажіть дійсну електронну адресу.","payment_entry_page.button_payment_method":"Сплатити {{formattedPrice}} за допомогою {{paymentMethod}}","payment_entry_page.button_with_price":"Сплатити {{formattedPrice}}","price_update.title":"Оновлення ціни","price_update.base_message":"Загальну ціну було оновлено з урахуванням податку на основі вашої платіжної адреси. Перегляньте та спробуйте ще раз. З вашої картки буде списано кошти лише один раз.","price_update.trial_message":"Ціна підписки була оновлена для включення податків на основі вашої платіжної адреси. Безкоштовний пробний період все ще діє. Будь ласка, перевірте та спробуйте ще раз.","payment_entry_page.express_checkout_divider":"АБО СПЛАТІТЬ КАРТКОЮ","error_page.trouble_accessing":"Якщо у вас виникли проблеми з доступом до вашої покупки, зверніться до служби підтримки за адресою ","error_page.close_button_title":"Перейти до {{appName}}","error_page.error_title_stripe_missing_required_permission":"Відсутній дозвіл Stripe","error_page.button_close":"Закрити","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не вдалася, оскільки адреса походження податку недійсна. У виробництві покупки працюватимуть без застосування податків.","error_page.error_message_stripe_tax_not_active":"Покупка не вдалася, оскільки Stripe Tax не ввімкнено. У виробництві покупки працюватимуть без застосування податків.","error_page.error_only_in_sandbox":"Це повідомлення з’являється лише в пісочниці.","error_page.error_message_stripe_missing_required_permission":"Покупка не вдалася, оскільки програмі Stripe не вистачає необхідного дозволу. У виробництві покупки працюватимуть без застосування податків.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активовано","error_page.error_title_stripe_invalid_tax_origin_address":"Недійсна адреса походження податку","apple_pay.free_trial":"Безкоштовна пробна версія","product_info.price_after_intro_price":"Після {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"після пробного періоду","product_info.after":"після","product_info.intro_price_phase_after_trial":"Потім {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Спочатку {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"сплачено один раз","payment_entry_page.trial_subscription_terms_info":"Після закінчення пробного періоду з вас буде стягуватися плата в розмірі {{price}} {{perFrequency}} починаючи з {{renewalDate}}. Ви можете скасувати підписку в будь-який час до цієї дати.","payment_entry_page.subscription_info":"Підписка поновлюється автоматично. Скасувати можна в будь-який час.","payment_entry_page.otp_terms_info":"Купуючи, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов.","payment_entry_page.terms_link_label":"Умови","payment_entry_page.subscription_terms_info":"Підписуючись, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов, поки ви не скасуєте підписку.","loading_page.keep_page_open":"Процес майже завершено. Залиште цю сторінку відкритою.","loading_page.processing_payment":"Обробка платежу","pricing_table.discount":"Знижка","pricing_table.subtotal":"Сума до сплати","pricing_dropdown.add_promo_code":"Додати промокод","discount_input.label":"Промокод"},qm={"periods.week":"{{amount}} tuần","periods.month":"{{amount}} tháng","periods.year":"{{amount}} năm","periods.day":"{{amount}} ngày","periods.weekShort":"{{amount}}tuần","periods.monthShort":"{{amount}}tháng","periods.yearShort":"{{amount}}năm","periods.dayShort":"{{amount}}ngày","periods.lifetime":"trọn đời","periods.weekPlural":"{{amount}} tuần","periods.monthPlural":"{{amount}} tháng","periods.yearPlural":"{{amount}} năm","periods.dayPlural":"{{amount}} ngày","periods.weekFrequency":"hàng tuần","periods.monthFrequency":"hàng tháng","periods.yearFrequency":"hàng năm","periods.dayFrequency":"hàng ngày","periods.perWeekFrequency":"mỗi tuần","periods.perMonthFrequency":"mỗi tháng","periods.perYearFrequency":"mỗi năm","periods.perDayFrequency":"mỗi ngày","periods.unknownFrequency":"không xác định","periods.weekFrequencyPlural":"cứ {{amount}} tuần","periods.monthFrequencyPlural":"cứ {{amount}} tháng","periods.yearFrequencyPlural":"cứ {{amount}} năm","periods.dayFrequencyPlural":"cứ {{amount}} ngày","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dùng thử miễn phí","product_info.price_after_free_trial":"Sau khi dùng thử kết thúc, vào {{renewalDate}}","product_info.renewal_frequency":"Gia hạn {{frequency}}","product_info.continues_until_cancelled":"Tiếp tục cho đến khi hủy","product_info.cancel_anytime":"Hủy bất cứ lúc nào","payment_entry_page.payment_step_title":"Thanh toán an toàn bởi RevenueCat","payment_entry_page.button_pay":"Thanh toán ngay","payment_entry_page.button_start_trial":"Bắt đầu dùng thử","success_page.purchase_successful":"Thanh toán hoàn tất","success_page.button_close":"Tiếp tục","error_page.if_error_persists":"Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ ","error_page.error_title_already_subscribed":"Bạn đã đăng ký {{productTitle}} rồi","error_page.error_title_already_purchased":"Bạn đã mua {{productTitle}} rồi","error_page.error_title_other_errors":"Có lỗi xảy ra","error_page.error_message_already_subscribed":"Bạn không thể đăng ký sản phẩm này lần nữa.","error_page.error_message_already_purchased":"Bạn không thể mua sản phẩm này lần nữa.","error_page.error_message_missing_email_error":"Email bắt buộc để hoàn tất việc mua hàng.","error_page.error_message_network_error":"Lỗi mạng. Vui lòng kiểm tra kết nối internet của bạn.","error_page.error_message_error_charging_payment":"Thanh toán thất bại.","error_page.error_message_error_setting_up_purchase":"Không thể bắt đầu mua do lỗi (mã lỗi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Chúng tôi không thể xác minh địa chỉ thanh toán của bạn. Vui lòng kiểm tra lại mã bưu điện và quốc gia.","error_page.error_message_unknown_error":"Đã xảy ra lỗi không xác định (mã lỗi: {{errorCode}}).","error_page.button_try_again":"Thử lại","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Tổng số tiền phải trả hôm nay","product_info.subscribe_to":"Đăng ký","navbar_header.details":"Chi tiết","navbar_header.back_button":"Quay lại","pricing_dropdown.show_details":"Xem chi tiết","pricing_dropdown.hide_details":"Ẩn chi tiết","pricing_table.tax":"Thuế","pricing_table.trial_ends":"Sau khi thời gian dùng thử kết thúc, vào {{formattedTrialEndDate}}","pricing_table.total_due_today":"Tổng số tiền phải trả hôm nay","pricing_table.total_excluding_tax":"Tổng cộng chưa bao gồm thuế","pricing_table.enter_billing_address_to_calculate":"Nhập địa chỉ thanh toán để tính toán","pricing_table.enter_state_or_postal_code_to_calculate":"Nhập tiểu bang hoặc mã bưu điện để tính toán","pricing_table.enter_postal_code_to_calculate":"Nhập mã bưu điện để tính toán","error_page.error_message_invalid_email_error":"Không thể xác minh địa chỉ email {{email}}. Vui lòng cung cấp một địa chỉ email hợp lệ.","payment_entry_page.button_payment_method":"Thanh toán {{formattedPrice}} bằng {{paymentMethod}}","payment_entry_page.button_with_price":"Thanh toán {{formattedPrice}}","price_update.title":"Cập nhật giá","price_update.base_message":"Tổng giá đã được cập nhật với thuế dựa trên địa chỉ thanh toán của bạn. Vui lòng xem lại và thử lại. Thẻ của bạn sẽ chỉ bị tính phí một lần.","price_update.trial_message":"Giá đăng ký đã được cập nhật để bao gồm thuế dựa trên địa chỉ thanh toán của bạn. Thời gian dùng thử miễn phí vẫn được áp dụng. Vui lòng kiểm tra và thử lại.","payment_entry_page.express_checkout_divider":"HOẶC THANH TOÁN BẰNG THẺ","error_page.trouble_accessing":"Nếu bạn gặp sự cố khi truy cập giao dịch mua của mình, hãy liên hệ với bộ phận hỗ trợ theo địa chỉ ","error_page.close_button_title":"Đi đến {{appName}}","error_page.error_title_stripe_missing_required_permission":"Thiếu quyền Stripe","error_page.button_close":"Đóng","error_page.error_message_stripe_invalid_tax_origin_address":"Giao dịch mua không thành công vì địa chỉ gốc thuế không hợp lệ. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_message_stripe_tax_not_active":"Giao dịch mua không thành công vì Thuế Stripe chưa được bật. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_only_in_sandbox":"Thông báo này chỉ xuất hiện trong môi trường thử nghiệm.","error_page.error_message_stripe_missing_required_permission":"Giao dịch mua không thành công vì ứng dụng Stripe thiếu một quyền cần thiết. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_title_stripe_tax_not_active":"Thuế Stripe chưa hoạt động","error_page.error_title_stripe_invalid_tax_origin_address":"Địa chỉ gốc thuế không hợp lệ","apple_pay.free_trial":"Dùng thử miễn phí","product_info.price_after_intro_price":"Sau {{introPriceDuration}}, vào {{renewalDate}}","product_info.after_trial":"sau khi dùng thử","product_info.after":"sau","product_info.intro_price_phase_after_trial":"Sau đó {{introPriceDuration}} với giá {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} đầu tiên với giá {{introPrice}}","product_info.intro_price_phase_paid_once":"trả một lần","payment_entry_page.trial_subscription_terms_info":"Sau khi thời gian dùng thử của bạn kết thúc, bạn sẽ bị tính phí {{price}} {{perFrequency}} bắt đầu từ {{renewalDate}}. Bạn có thể hủy bất cứ lúc nào trước ngày này.","payment_entry_page.subscription_info":"Gói đăng ký tự động gia hạn. Hủy bất cứ lúc nào.","payment_entry_page.otp_terms_info":"Bằng cách mua, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ.","payment_entry_page.terms_link_label":"Điều khoản","payment_entry_page.subscription_terms_info":"Bằng cách đăng ký, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ cho đến khi bạn hủy.","loading_page.keep_page_open":"Quá trình gần hoàn tất. Vui lòng giữ trang này mở.","loading_page.processing_payment":"Đang xử lý thanh toán","pricing_table.discount":"Giảm giá","pricing_table.subtotal":"Tổng cộng","pricing_dropdown.add_promo_code":"Thêm mã khuyến mãi","discount_input.label":"Mã khuyến mãi"};var ce=(r=>(r.PeriodsWeek="periods.week",r.PeriodsMonth="periods.month",r.PeriodsYear="periods.year",r.PeriodsDay="periods.day",r.PeriodsWeekShort="periods.weekShort",r.PeriodsMonthShort="periods.monthShort",r.PeriodsYearShort="periods.yearShort",r.PeriodsDayShort="periods.dayShort",r.PeriodsLifetime="periods.lifetime",r.PeriodsWeekPlural="periods.weekPlural",r.PeriodsMonthPlural="periods.monthPlural",r.PeriodsYearPlural="periods.yearPlural",r.PeriodsDayPlural="periods.dayPlural",r.PeriodsWeekFrequency="periods.weekFrequency",r.PeriodsMonthFrequency="periods.monthFrequency",r.PeriodsYearFrequency="periods.yearFrequency",r.PeriodsDayFrequency="periods.dayFrequency",r.PeriodsPerWeekFrequency="periods.perWeekFrequency",r.PeriodsPerMonthFrequency="periods.perMonthFrequency",r.PeriodsPerYearFrequency="periods.perYearFrequency",r.PeriodsPerDayFrequency="periods.perDayFrequency",r.PeriodsUnknownFrequency="periods.unknownFrequency",r.PeriodsWeekFrequencyPlural="periods.weekFrequencyPlural",r.PeriodsMonthFrequencyPlural="periods.monthFrequencyPlural",r.PeriodsYearFrequencyPlural="periods.yearFrequencyPlural",r.PeriodsDayFrequencyPlural="periods.dayFrequencyPlural",r.ProductInfoProductTitle="product_info.product_title",r.ProductInfoProductDescription="product_info.product_description",r.ProductInfoProductPrice="product_info.product_price",r.ProductInfoFreeTrialDuration="product_info.free_trial_duration",r.ProductInfoPriceAfterFreeTrial="product_info.price_after_free_trial",r.ProductInfoIntroPricePhaseAfterTrial="product_info.intro_price_phase_after_trial",r.ProductInfoIntroPricePhasePaidOnce="product_info.intro_price_phase_paid_once",r.ProductInfoIntroPricePhase="product_info.intro_price_phase",r.ProductInfoPriceAfterIntroPrice="product_info.price_after_intro_price",r.ProductInfoAfterTrial="product_info.after_trial",r.ProductInfoAfter="product_info.after",r.ProductInfoPriceTotalDueToday="product_info.total_due_today",r.ProductInfoSubscribeTo="product_info.subscribe_to",r.ProductInfoRenewalFrequency="product_info.renewal_frequency",r.ProductInfoContinuesUntilCancelled="product_info.continues_until_cancelled",r.ProductInfoCancelAnytime="product_info.cancel_anytime",r.PaymentEntryPagePaymentStepTitle="payment_entry_page.payment_step_title",r.PaymentEntryPageTrialSubscriptionTermsInfo="payment_entry_page.trial_subscription_terms_info",r.PaymentEntryPageSubscriptionTermsInfo="payment_entry_page.subscription_terms_info",r.PaymentEntryPageOtpTermsInfo="payment_entry_page.otp_terms_info",r.PaymentEntryPageTermsLinkLabel="payment_entry_page.terms_link_label",r.PaymentEntryPageSubscriptionInfo="payment_entry_page.subscription_info",r.PaymentEntryPageButtonPay="payment_entry_page.button_pay",r.PaymentEntryPageButtonStartTrial="payment_entry_page.button_start_trial",r.PaymentEntryPageButtonWithPrice="payment_entry_page.button_with_price",r.PaymentEntryPageButtonPaymentMethod="payment_entry_page.button_payment_method",r.PaymentEntryPageExpressCheckoutDivider="payment_entry_page.express_checkout_divider",r.SuccessPagePurchaseSuccessful="success_page.purchase_successful",r.SuccessPageButtonClose="success_page.button_close",r.LoadingPageProcessingPayment="loading_page.processing_payment",r.LoadingPageKeepPageOpen="loading_page.keep_page_open",r.ErrorPageCloseButtonTitle="error_page.close_button_title",r.ErrorPageIfErrorPersists="error_page.if_error_persists",r.ErrorPageTroubleAccessing="error_page.trouble_accessing",r.ErrorPageErrorTitleAlreadySubscribed="error_page.error_title_already_subscribed",r.ErrorPageErrorTitleAlreadyPurchased="error_page.error_title_already_purchased",r.ErrorPageErrorTitleOtherErrors="error_page.error_title_other_errors",r.ErrorPageErrorTitleStripeTaxNotActive="error_page.error_title_stripe_tax_not_active",r.ErrorPageErrorTitleStripeInvalidTaxOriginAddress="error_page.error_title_stripe_invalid_tax_origin_address",r.ErrorPageErrorTitleStripeMissingRequiredPermission="error_page.error_title_stripe_missing_required_permission",r.ErrorPageErrorMessageAlreadySubscribed="error_page.error_message_already_subscribed",r.ErrorPageErrorMessageAlreadyPurchased="error_page.error_message_already_purchased",r.ErrorPageErrorMessageMissingEmailError="error_page.error_message_missing_email_error",r.ErrorPageErrorMessageInvalidEmailError="error_page.error_message_invalid_email_error",r.ErrorPageErrorMessageNetworkError="error_page.error_message_network_error",r.ErrorPageErrorMessageErrorChargingPayment="error_page.error_message_error_charging_payment",r.ErrorPageErrorMessageErrorSettingUpPurchase="error_page.error_message_error_setting_up_purchase",r.ErrorPageErrorMessageUnknownError="error_page.error_message_unknown_error",r.ErrorPageErrorMessageInvalidTaxLocation="error_page.error_message_invalid_tax_location",r.ErrorPageErrorMessageStripeTaxNotActive="error_page.error_message_stripe_tax_not_active",r.ErrorPageErrorMessageStripeInvalidTaxOriginAddress="error_page.error_message_stripe_invalid_tax_origin_address",r.ErrorPageErrorMessageStripeMissingRequiredPermission="error_page.error_message_stripe_missing_required_permission",r.ErrorPageErrorMessageOnlyInSandbox="error_page.error_only_in_sandbox",r.ErrorButtonTryAgain="error_page.button_try_again",r.ErrorButtonClose="error_page.button_close",r.PaywallVariablesPricePerPeriod="paywall_variables.price_per_period",r.PaywallVariablesSubRelativeDiscount="paywall_variables.sub_relative_discount",r.PaywallVariablesTotalPriceAndPerMonth="paywall_variables.total_price_and_per_month",r.PricingDropdownShowDetails="pricing_dropdown.show_details",r.PricingDropdownHideDetails="pricing_dropdown.hide_details",r.PricingDropdownAddPromoCode="pricing_dropdown.add_promo_code",r.DiscountInputLabel="discount_input.label",r.PricingTotalExcludingTax="pricing_table.total_excluding_tax",r.PricingTableTrialEnds="pricing_table.trial_ends",r.PricingTableTotalDueToday="pricing_table.total_due_today",r.PricingTableSubtotal="pricing_table.subtotal",r.PricingTableDiscount="pricing_table.discount",r.PricingTableTax="pricing_table.tax",r.PricingTableEnterBillingAddressToCalculate="pricing_table.enter_billing_address_to_calculate",r.PricingTableEnterStateOrPostalCodeToCalculate="pricing_table.enter_state_or_postal_code_to_calculate",r.PricingTableEnterPostalCodeToCalculate="pricing_table.enter_postal_code_to_calculate",r.NavbarHeaderDetails="navbar_header.details",r.NavbarBackButton="navbar_header.back_button",r.PriceUpdateTitle="price_update.title",r.PriceUpdateBaseMessage="price_update.base_message",r.PriceUpdateTrialMessage="price_update.trial_message",r.ApplePayFreeTrial="apple_pay.free_trial",r))(ce||{});const zm={en:rm,es:tm,it:nm,ar:am,ca:om,zh_Hans:im,zh_Hant:sm,hr:lm,cs:cm,da:um,nl:dm,fi:pm,fr:_m,de:gm,el:fm,he:mm,hi:hm,hu:vm,id:ym,ja:bm,ko:km,ms:wm,no:Pm,pl:xm,pt:Em,ro:Sm,ru:Im,sk:Cm,sl:Tm,sv:Dm,th:Am,tr:Fm,uk:Mm,vi:qm};var Ne=(r=>(r.Year="year",r.Month="month",r.Week="week",r.Day="day",r))(Ne||{});function Io(r){const e=r.match(/^PT?([0-9]+)([MDYW])$/);if(!e||e.length<3)return we.errorLog(`Invalid ISO 8601 duration format: ${r}`),null;const t=parseInt(e[1]);switch(e[2]){case"Y":return{number:t,unit:"year"};case"M":return{number:t,unit:"month"};case"W":return{number:t,unit:"week"};case"D":return{number:t,unit:"day"};default:return we.errorLog(`Invalid ISO 8601 unit duration format: ${r}`),null}}function Co(r,e,t){if(!t)return null;let n=new Date(r);switch(e.unit){case"year":n.getDate()===29&&n.getMonth()===1&&e.number!==4?n.setFullYear(n.getFullYear()+e.number,n.getMonth(),28):n.setFullYear(n.getFullYear()+e.number,n.getMonth(),n.getDate());break;case"month":n.setMonth(n.getMonth()+e.number,n.getDate()),n.getDate()!==r.getDate()&&(n=new Date(r),n.setMonth(n.getMonth()+e.number+1,0));break;case"week":n.setDate(n.getDate()+e.number*7);break;case"day":n.setDate(n.getDate()+e.number);break}return n}const _a=r=>{if(!r)return r;const e=r.replace(/_/g,"-");try{const[n]=Intl.getCanonicalLocales(e);if(n)return n}catch{}const t=e.split("-")[0];try{const[n]=Intl.getCanonicalLocales(t);if(n)return n}catch{}return t},Lm=r=>r/1e6,td=new Map;function Om(r){const e=td.get(r);if(e!==void 0)return e;let t;try{t=new Intl.NumberFormat("en",{style:"currency",currency:r}).resolvedOptions().maximumFractionDigits??2}catch{t=2}return td.set(r,t),t}function Ii(r,e){const n=10**(6-Om(e)),a=Math.round(r/n*1e9)/1e9;return Math.floor(a)*n}const bn=(r,e,t,n={})=>{const a=Lm(r),i={style:"currency",currency:e,currencyDisplay:"symbol",...n,minimumFractionDigits:n.maximumFractionDigits};return new Intl.NumberFormat(_a(t),i).format(a).replace("US$","$")},Nm=(r,e)=>{const t=Io(r);return t?e.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:r},jm=r=>{try{return r.charAt(0).toUpperCase()+r.slice(1)}catch{return r}},Wa={noWhitespace:!1,short:!1},nd={useMultipleWords:!1};class Ln{constructor(e={},t=Gr,n=Gr){ee(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(zm).forEach(([i,s])=>{a[i]=new ad(s,i)}),this.locales=a,e&&this.override(e)}static fallback(){return new Ln}override(e){Object.entries(e).forEach(([t,n])=>{this.locales[t]=new ad({...this.locales[t].labels||{},...n},this.getLanguageCodeString(t))})}formatPrice(e,t){const n={currencyDisplay:"narrowSymbol"};e===0&&(n.maximumFractionDigits=0);try{return bn(e,t,this.bcp47Locale,n)}catch{we.errorLog(`Failed to create a price formatter for locale: ${this.bcp47Locale}`)}try{return bn(e,t,this.fallbackBcp47Locale,n)}catch{we.errorLog(`Failed to create a price formatter for locale: ${this.fallbackBcp47Locale}`)}return bn(e,t,Gr,n)}get bcp47Locale(){var e;return _a((e=this.getLocaleInstance(this.selectedLocale))==null?void 0:e.localeKey)||_a(this.getLanguageCodeString(this.selectedLocale))||Gr}get fallbackBcp47Locale(){var e;return _a((e=this.getLocaleInstance(this.defaultLocale))==null?void 0:e.localeKey)||_a(this.getLanguageCodeString(this.defaultLocale))||Gr}getLanguageCodeString(e){return e.split("_")[0].split("-")[0]}getLocaleInstance(e){const t=this.getLanguageCodeString(e);return this.locales[e]||this.locales[t]}translate(e,t){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translate(e,t))||(a==null?void 0:a.translate(e,t))||""}formatCountry(e){return new Intl.DisplayNames([this.bcp47Locale],{type:"region"}).of(e)||e}translatePeriod(e,t,n=Wa){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriod(e,t,n))||(i==null?void 0:i.translatePeriod(e,t,n))}translatePeriodUnit(e,t=Wa){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translatePeriodUnit(e,t))||(a==null?void 0:a.translatePeriodUnit(e,t))}translatePeriodFrequency(e,t,n=nd){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriodFrequency(e,t,n))||(i==null?void 0:i.translatePeriodFrequency(e,t,n))}translateDate(e,t={}){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translateDate(e,t))||(a==null?void 0:a.translateDate(e,t))}}class ad{constructor(e={},t){this.labels=e,this.localeKey=t}replaceVariables(e,t){return Object.entries(t).reduce((n,[a,i])=>n.replace(`{{${a}}}`,`${i??""}`),e)}translate(e,t){const n=this.labels[e];if(n)return this.replaceVariables(n,t||{})}translatePeriod(e,t,n=Wa){var l;const{noWhitespace:a,short:i}={...Wa,...n},s=i?`periods.${t}Short`:Math.abs(e)===1?`periods.${t}`:`periods.${t}Plural`;return(l=this.translate(s,{amount:e.toString()}))==null?void 0:l.replace(" ",a?"":" ")}translatePeriodUnit(e,t=Wa){var s;const{noWhitespace:n,short:a}={...Wa,...t},i=`periods.${e}${a?"Short":""}`;return(s=this.translate(i,{amount:""}))==null?void 0:s.replace(" ",n?"":" ")}translatePeriodFrequency(e,t,n=nd){const a=n==null?void 0:n.useMultipleWords,i=Math.abs(e)===1?`periods.${a===!0?"per":""}${a?jm(t.toString()):t}Frequency`:`periods.${t}FrequencyPlural`;return this.translate(i,{amount:e.toString()})}translateDate(e,t={}){return e.toLocaleDateString(_a(this.localeKey),t)}}function Bm(r){return r!=null}var od=(r=>(r.Unknown="unknown",r.Custom="custom",r.Lifetime="$rc_lifetime",r.Annual="$rc_annual",r.SixMonth="$rc_six_month",r.ThreeMonth="$rc_three_month",r.TwoMonth="$rc_two_month",r.Monthly="$rc_monthly",r.Weekly="$rc_weekly",r))(od||{}),Zr=(r=>(r.Subscription="subscription",r.Consumable="consumable",r.NonConsumable="non_consumable",r))(Zr||{});const tl=(r,e)=>({amount:r/1e4,amountMicros:r,currency:e,formattedPrice:bn(r,e)}),id=r=>tl(r.amount_micros,r.currency),nl=r=>{const e=r.period_duration,t=r.price?id(r.price):null,n=e?Io(e):null;let a=null,i=null,s=null;if(t!==null&&n!==null){const l=Rm(n),c=1e4,u=Ii(t.amountMicros*l.toWeek,t.currency);a={amount:u/c,amountMicros:u,currency:t.currency,formattedPrice:bn(u,t.currency)};const d=Ii(t.amountMicros*l.toMonth,t.currency);i={amount:d/c,amountMicros:d,currency:t.currency,formattedPrice:bn(d,t.currency)};const p=Ii(t.amountMicros*l.toYear,t.currency);s={amount:p/c,amountMicros:p,currency:t.currency,formattedPrice:bn(p,t.currency)}}return{periodDuration:e,period:n,cycleCount:r.cycle_count,price:t,pricePerWeek:a,pricePerMonth:i,pricePerYear:s}},sd=(r,e)=>{const t=r.duration_mode??"one_time";let n=r.time_window??null;(t==="one_time"||t==="forever")&&n===null&&e!==null&&(n=e);let a=null,i=null;const s=n?Io(n):null;return s&&(a={number:1,unit:s.unit},i=t==="forever"?0:s.number),{timeWindow:r.time_window,durationMode:t,price:tl(r.amount_micros,r.currency),name:r.name,period:a,cycleCount:i??0,periodDuration:n,discountType:r.discount_type,percentage:r.percentage??null,fixedAmount:r.fixed_amount_micros!=null?tl(r.fixed_amount_micros,r.currency):null}};function Rm(r){const{number:e,unit:t}=r,n=7,a=30,i=365;let s;switch(t){case Ne.Day:s=e;break;case Ne.Week:s=e*n;break;case Ne.Month:s=e*a;break;case Ne.Year:s=e*i;break;default:s=0,we.errorLog(`Unknown period unit: ${t}`)}const l=s>0?n/s:0,c=s>0?a/s:0,u=s>0?i/s:0;return{toWeek:l,toMonth:c,toYear:u}}const ld=r=>{var e;return r.base==null?(we.debugLog("Missing base phase for subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,base:nl(r.base),trial:r.trial?nl(r.trial):null,introPrice:r.intro_price?nl(r.intro_price):null,discount:r.discount?sd(r.discount,(e=r.base)==null?void 0:e.period_duration):null}},cd=r=>r.base_price==null?(we.debugLog("Missing base price for non-subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,basePrice:id(r.base_price),discount:r.discount?sd(r.discount,null):null},Um=(r,e)=>{const t=r.product_type;return t==="subscription"?Hm(r,e,t):Wm(r,e,t)},Vm=(r,e)=>r==="subscription"?"base"in e?ld(e):null:"base_price"in e?cd(e):null,Wm=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([s,l])=>{const c=cd(l);c!=null&&(n[s]=c)}),Object.keys(n).length===0)return we.debugLog(`Product ${r.identifier} has no purchase options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in r.purchase_options?n[a]:null;return i==null?(we.debugLog(`Product ${r.identifier} has no default purchase option. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:i.basePrice,normalPeriodDuration:null,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:null,subscriptionOptions:{},defaultNonSubscriptionOption:i,price:i.basePrice,period:null,freeTrialPhase:null,introPricePhase:null,discountPhase:i.discount}},Hm=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([l,c])=>{const u=ld(c);u!=null&&(n[l]=u)}),Object.keys(n).length===0)return we.debugLog(`Product ${r.identifier} has no subscription options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in n?n[a]:null;if(i==null)return we.debugLog(`Product ${r.identifier} has no default subscription option. Ignoring.`),null;const s=i.base.price;return s==null?(we.debugLog(`Product ${r.identifier} default option has no base price. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:s,normalPeriodDuration:i.base.periodDuration,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:i,subscriptionOptions:n,defaultNonSubscriptionOption:null,price:s,period:i.base.period,freeTrialPhase:i.trial,introPricePhase:i.introPrice,discountPhase:i.discount}},Ym=(r,e,t)=>{const n=t[e.platform_product_identifier];if(n===void 0)return null;const a=Um(n,r);return a===null?null:{identifier:e.identifier,rcBillingProduct:a,webBillingProduct:a,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packageType:Km(e.identifier)}},Gm=(r,e,t,n,a)=>{const i={offeringIdentifier:e.identifier,targetingContext:r&&n?{ruleId:n.rule_id,revision:n.revision}:null,placementIdentifier:null},s=e.packages.map(c=>Ym(i,c,t)).filter(Bm),l={};for(const c of s)c!=null&&(l[c.identifier]=c);return s.length==0?null:{identifier:e.identifier,serverDescription:e.description,metadata:e.metadata,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packagesById:l,availablePackages:s,lifetime:l.$rc_lifetime??null,annual:l.$rc_annual??null,sixMonth:l.$rc_six_month??null,threeMonth:l.$rc_three_month??null,twoMonth:l.$rc_two_month??null,monthly:l.$rc_monthly??null,weekly:l.$rc_weekly??null,hasPaywall:e.paywall_components!=null,paywallComponents:e.paywall_components,...a!==void 0?{uiConfig:a}:{}}};function Km(r){switch(r){case"$rc_lifetime":return"$rc_lifetime";case"$rc_annual":return"$rc_annual";case"$rc_six_month":return"$rc_six_month";case"$rc_three_month":return"$rc_three_month";case"$rc_two_month":return"$rc_two_month";case"$rc_monthly":return"$rc_monthly";case"$rc_weekly":return"$rc_weekly";default:return r.startsWith("$rc_")?"unknown":"custom"}}function To(r,e=!1){return(r==null?void 0:r.full_address_collection_mode)==="always"?!0:!!(r!=null&&r.gateway_tax_collection_enabled)&&e}Kg();const Xm=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
3
3
  <circle cx="62" cy="62" r="62" fill="var(--rc-color-grey-text-dark)" opacity="0.2"/>
4
4
  <path d="M87.6668 41.504L82.4968 36.334L62.0002 56.8307L41.5035 36.334L36.3335 41.504L56.8302 62.0006L36.3335 82.4973L41.5035 87.6673L62.0002 67.1706L82.4968 87.6673L87.6668 82.4973L67.1702 62.0006L87.6668 41.504Z"
5
5
  />
6
6
  </svg>
7
- `;var Gm=W('<div style="color:var(--rc-color-primary);"><!></div>');function ld(r){var e=Gm(),t=D(e);fn(t,()=>Ym),P(r,e)}const cd=Symbol("inputValidation"),ud=Symbol("initialInputSelections");function Km(){const r=Sr(!0);return{isSatisfied:r,updateSatisfaction:t=>{r.set(t)}}}function Xm(r){kr(cd,r)}function rl(){return Xe(cd)}function Zm(r){kr(ud,r)}function dd(){return Xe(ud)??{}}const pd=Symbol("localization");function Jm(r){const t={getLocalizedString:n=>{var d,p;if(!n)return"";const{selectedLocale:a,defaultLocale:i,localizations:s}=r(),c=(d=s[a??i])==null?void 0:d[n],u=(p=s[i])==null?void 0:p[n];return c??u}};return kr(pd,t),t}function Si(){const r=Xe(pd);if(r===void 0)throw new Error("Localization context not found");return r}const _d=Symbol("paywall");function gd(r){kr(_d,r)}function Gr(){const r=Xe(_d);if(r===void 0)throw new Error("Paywall context not found");return r}const fd=Symbol("selected");function Ii(r){kr(fd,r)}function xt(){return Xe(fd)??Pt(!1)}function Qm(r){switch(r.type){case"stack":{const e=[...r.components];return r.badge&&e.push(r.badge.stack),e}case"button":case"purchase_button":case"redemption_button":return[r.stack];case"carousel":return r.pages;case"countdown":{const e=[r.countdown_stack];return r.end_stack&&e.push(r.end_stack),e}case"footer":return[r.stack];case"input_multiple_choice":case"input_single_choice":case"input_option":return[r.stack];case"tabs":return[r.control.stack,...r.tabs];case"tab":return[r.stack];case"tab_control_button":return[r.stack];case"timeline":return r.items.flatMap(e=>{const t=[e.icon,e.title];return e.description&&t.push(e.description),t});case"express_purchase_button":return[r.wallet_unknown_stack,r.wallet_available_stack,r.wallet_unavailable_stack];default:return[]}}function Ci(r,e){const t=[r];for(;t.length>0;){const n=t.pop();if(n.type==="package"&&e(n))return n;const a=Qm(n);for(let i=a.length-1;i>=0;i--)t.push(a[i])}}function $m({stack:r,sticky_footer:e}){const t=Ci(r,a=>a.is_selected_by_default);if(t!==void 0)return t.package_id;const n=Ci(r,()=>!0);if(n!==void 0)return n.package_id;if(e!=null){const a=Ci(e,s=>s.is_selected_by_default);if(a!==void 0)return a.package_id;const i=Ci(e,()=>!0);if(i!==void 0)return i.package_id}}const Et=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="selected"));return(t==null?void 0:t.properties)??{}},eh=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="hover"));return(t==null?void 0:t.properties)??{}},rh=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="focus"));return(t==null?void 0:t.properties)??{}},th=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="error"));return(t==null?void 0:t.properties)??{}},nh=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="intro_offer"));return(t==null?void 0:t.properties)??{}},ah=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="promo_offer"));return(t==null?void 0:t.properties)??{}},Mn=(r,e,t)=>t===!1?!1:!(e==null?void 0:e.find(a=>a.properties.visible!==!1?!1:a.conditions.every(s=>oh(s,r)))),oh=(r,e)=>{var t,n,a;if(r.type==="intro_offer_condition"){const i=!!((t=e.packageInfo)!=null&&t.hasIntroOffer)||!!((n=e.packageInfo)!=null&&n.hasTrial);if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="promo_offer_condition"){const i=!!((a=e.packageInfo)!=null&&a.hasPromoOffer);if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="selected_package_condition"){const i=e.selectedPackageId??"";if(r.operator==="in")return r.packages.includes(i);if(r.operator==="not in")return!r.packages.includes(i)}if(r.type==="variable_condition"){const i=r.variable.replace(/^\$?custom\./,""),s=e.variables[i],l=r.value,c=String(typeof l=="object"&&l!==null&&"value"in l?l.value:l);if(r.operator==="=")return s===c;if(r.operator==="!=")return s!==c}return!1};function ih(r,e){fe(e,!0);const t=()=>ge(c,"$selectedState",i),n=()=>ge(h,"$inputSatisfied",i),a=()=>ge(f,"$selectedPackageId",i),[i,s]=He(),l=Ir(e,["$$slots","$$events","$$legacy"]),c=xt(),u=m(()=>({...l,...Et(t(),e.overrides)})),d=m(()=>o(u).action),{emitComponentInteraction:p,onButtonAction:g,hideBackButtons:_,selectedPackageId:f}=Gr(),v=rl(),{getLocalizedString:y}=Si(),h=(v==null?void 0:v.isSatisfied)??Pt(!0),b=m(()=>(o(d).type==="workflow"||o(d).type==="complete_workflow")&&!n()),k=()=>{switch(o(d).type){case"workflow":return{componentType:"button",componentName:e.name,componentValue:"workflow"};case"complete_workflow":{const T=y(o(d).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:"navigate_to_url",...T?{componentURL:T}:{}}}case"navigate_back":return{componentType:"button",componentName:e.name,componentValue:"navigate_back"};case"close_workflow":return{componentType:"button",componentName:e.name,componentValue:"close_workflow"};case"restore_purchases":return{componentType:"button",componentName:e.name,componentValue:"restore_purchases"}}switch(o(d).destination){case"customer_center":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_customer_center"};case"screen_redirect":return{componentType:"button",componentName:e.name,componentValue:"screen_redirect"};case"privacy_policy":case"terms":case"url":{const T=y(o(d).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:o(d).destination==="privacy_policy"?"navigate_to_privacy_policy":o(d).destination==="terms"?"navigate_to_terms":"navigate_to_url",...T?{componentURL:T}:{}}}case"sheet":throw new Error("Sheet actions must be handled by the sheet branches in onclick");case"offer_code":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_offer_code"};case"web_paywall_link":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_web_paywall_link"}}},w=T=>{var N;return{componentType:"package_selection_sheet",componentName:((N=T.sheet)==null?void 0:N.name)??e.name,componentValue:"open",currentPackageId:a()}},E=()=>{if(o(b))return;const T=o(d).type==="workflow"?e.id:void 0;if(o(d).type==="navigate_to"&&o(d).destination==="sheet"){o(d).sheet!=null&&p(w(o(d))),g(o(d),T);return}p(k()),g(o(d),T)},S=m(()=>{switch(o(d).type){case"workflow":return!0;case"complete_workflow":return!0;case"restore_purchases":return!1;case"navigate_back":return!_;case"close_workflow":return!0;case"navigate_to":return o(d).destination!=="web_paywall_link";default:return!0}}),I=m(()=>o(b)?{opacity:"0.4","pointer-events":"none",cursor:"not-allowed"}:void 0);var F=Se(),x=se(F);{var q=T=>{{let N=m(()=>`button-${o(d).type}`);jr(T,_r(()=>e.stack,{onclick:E,get style(){return o(I)},get testId(){return o(N)}}))}};G(x,T=>{o(S)&&T(q)})}P(r,F),me(),s()}const md=1e3,tl="light",sh="#000000",To={top:0,bottom:0,leading:0,trailing:0};class lh{constructor(e,t){Ge(this,Jo);Ge(this,Qo);Ve(this,Jo,e),Ve(this,Qo,Xc(t))}get current(){return Q(this,Qo).call(this),Q(this,Jo).call(this)}}Jo=new WeakMap,Qo=new WeakMap;const ch=/\(.+\)/,uh=new Set(["all","print","screen","and","or","not","only"]);class dh extends lh{constructor(e,t){let n=ch.test(e)||e.split(/[\s,]+/).some(i=>uh.has(i.trim()))?e:`(${e})`;const a=window.matchMedia(n);super(()=>a.matches,i=>vf(a,"change",i))}}const hd=Symbol("color-mode");function ph(r){const e=new dh("prefers-color-scheme: dark",((r==null?void 0:r())??tl)==="dark"),t=()=>(r==null?void 0:r())??(e.current?"dark":tl);return kr(hd,t),t}function st(){return Xe(hd)??(()=>tl)}const nl=Symbol("packageInfo");function vd(r){kr(nl,r)}function _h(){const r=Xe(nl);if(r===void 0)throw new Error("PackageInfo context not found");return r}const gh=Pt(void 0);function zn(){return Xe(nl)??gh}const al=Symbol("variables");function ol(r){kr(al,r)}function il(){const r=Xe(al);if(r===void 0)throw new Error("Variables context not found");return r}const fh=Pt(void 0);function qn(){return Xe(al)??fh}var yd;(function(r){r.body_s="p",r.body_m="p",r.body_l="p",r.body_xl="p",r.heading_xs="h6",r.heading_s="h5",r.heading_m="h4",r.heading_l="h3",r.heading_xl="h2",r.heading_xxl="h1"})(yd||(yd={}));var Wa;(function(r){r[r.extra_light=100]="extra_light",r[r.thin=200]="thin",r[r.light=300]="light",r[r.regular=400]="regular",r[r.medium=500]="medium",r[r.semibold=600]="semibold",r[r.bold=700]="bold",r[r.extra_bold=800]="extra_bold",r[r.black=900]="black"})(Wa||(Wa={}));var Ti;(function(r){r.body_s="13px",r.body_m="14px",r.body_l="15px",r.body_xl="16px",r.heading_xs="14px",r.heading_s="16px",r.heading_m="18px",r.heading_l="20px",r.heading_xl="26px",r.heading_xxl="32px"})(Ti||(Ti={}));var jn;(function(r){r.leading="start",r.center="center",r.trailing="end"})(jn||(jn={}));var bd;(function(r){r.vertical="column",r.horizontal="row",r.zlayer="zstack"})(bd||(bd={}));var kd;(function(r){r.top="flex-start",r.leading="flex-start",r.center="center",r.bottom="flex-end",r.trailing="flex-end"})(kd||(kd={}));var wd;(function(r){r.space_between="space-between",r.space_around="space-around",r.space_evenly="space-evenly",r.start="flex-start",r.center="center",r.end="flex-end"})(wd||(wd={}));function ir(r){return Object.entries(r).map(([e,t])=>`${e}:${t}`).join(";")}function qr(r){return`${r}px`}function Pd(...r){return r.map(qr).join(" ")}function rt(r,e){return e[r]??e.light}function Cr(r){switch(r.type){case"fill":return navigator.userAgent.includes("Firefox")?"-moz-available":"-webkit-fill-available";case"fit":return"fit-content";case"fixed":return qr(r.value);case"relative":return`${r.value*100}%`}}function Pr(r){const{top:e,bottom:t,leading:n,trailing:a}=r??To;return Pd(e,a,t,n)}function Do(r){if(r.type==="alias"||r.type==="hex")return r.value;const e=r.points.map(t=>`${t.color} ${t.percent}%`).join(", ");switch(r.type){case"linear":return`linear-gradient(${r.degrees}deg, ${e})`;case"radial":return`radial-gradient(circle, ${e})`}}function lt(r,e){if(e==null)return"transparent";const t=rt(r,e);return Do(t)}function Di(r,e){return e==null?"transparent":lt(r,e)}function Ln(r,e){const t={"--rc-border-display":"none","--rc-border-bg":"transparent","--rc-border-width":"0px"};if(e==null)return{border:"none",...t};const{width:n}=e,a=rt(r,e.color),i=Do(a);return a.type==="alias"||a.type==="hex"?{border:`${n}px solid ${i}`,...t}:{border:`${n}px solid transparent`,"--rc-border-display":"block","--rc-border-bg":i,"--rc-border-width":`${n}px`}}function mh(r){if(r==null)return"0";const{top_leading:e,top_trailing:t,bottom_trailing:n,bottom_leading:a}=r;return Pd(e,t,n,a)}function On(r){switch(r==null?void 0:r.type){case void 0:case"concave":case"convex":return"0";case"rectangle":return`${mh(r.corners)}`;case"circle":case"pill":return"9999px"}}function da(r,e){if(e==null)return"none";const{x:t,y:n,radius:a}=e,i=lt(r,e.color);return`${t}px ${n}px ${a}px ${i}`}function Ha(r){switch(r){case"fill":return"cover";case"fit":return"contain"}}function hh(r,e){const t=rt(r,e),n=String(t.url_low_res??"").trim();return{url:t.url,url_low_res:n.length>0?n:null}}function Ao(r,e){const t=yh(e),n=hh(r,e.value);return{url:n.url,url_low_res:n.url_low_res,fit:Ha(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Di(r,e.color_overlay),mute:t.mute_audio,loop:t.loop,posterWebp:t.fallback_image?rt(r,t.fallback_image).webp:null}}function vh(r,e){return`url(${rt(r,e).webp})`}function yh(r){return{fit_mode:r.fit_mode??"fill",mute_audio:r.mute_audio??!0,loop:r.loop??!0,fallback_image:r.fallback_image??null}}function bh(r,e,t){return t==null?e==null?"none":lt(r,e):t.type==="color"?lt(r,e??t.value):t.type==="image"?vh(r,t.value):"transparent"}function kh(r,e){var a,i;const t=(i=(a=r==null?void 0:r.components_config)==null?void 0:a.base)==null?void 0:i.background;if(t==null)return{kind:"none"};if(t.type==="video"){const s=Ao(e,t);return{kind:"video",url:s.url,url_low_res:s.url_low_res,fit:s.fit,position:s.position,overlay:s.overlay,mute:s.mute,loop:s.loop,posterWebp:s.posterWebp}}if(t.type!=="image"){const s=Nn(e,null,t),l=s["--overlay"]??"none",c={...s};return delete c["--overlay"],{kind:"style",style:c,overlay:l}}return{kind:"image",src:rt(e,t.value).webp,fit:Ha(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Di(e,t.color_overlay)}}function Nn(r,e,t){if((t==null?void 0:t.type)==="video")return{background:"transparent","--overlay":Di(r,t.color_overlay)};const n=bh(r,e,t);if((t==null?void 0:t.type)!=="image")return{background:n,"--overlay":"none"};const{fit_mode:a,color_overlay:i}=t;return{background:n,"background-size":Ha(a),"background-position":a==="fill"?"center":"top center","background-repeat":"no-repeat","--overlay":Di(r,i)}}function sl(r){return r.startsWith("RCFM:")}function Fo(r){return`RevCatPaywall-${r}`}async function wh(r){var t;if(!r.app.fonts||typeof document>"u")return;const e=[];for(const[n,a]of Object.entries(r.app.fonts)){const i=a.web;if(!i||!i.url||!i.family){console.warn(`[Font Registration] Skipping font ${n}: missing web config or required fields`);continue}try{const s=`${Fo(i.family)}-${i.style}-${i.weight}`,l=new FontFace(s,`url(${i.url})`,{weight:((t=i.weight)==null?void 0:t.toString())||"400",style:i.style||"normal"});l.family=Fo(i.family);const c=l.load().then(()=>{document.fonts.add(l),console.debug(`[Font Registration] Successfully registered font: ${s} (${i.family}, ${i.weight}, ${i.style})`)}).catch(u=>{console.warn(`[Font Registration] Failed to load font ${i.family}:`,u)});e.push(c)}catch(s){console.warn(`[Font Registration] Failed to create FontFace for ${n}:`,s)}}try{await Promise.allSettled(e),console.debug(`[Font Registration] Font registration complete. Processed ${e.length} fonts.`)}catch(n){console.warn("[Font Registration] Unexpected error during font registration:",n)}}function Ph(r){return r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()}const xh={uppercase:r=>String(r??"").toUpperCase(),lowercase:r=>String(r??"").toLowerCase(),capitalize:r=>String(r??"").replaceAll(new RegExp("(\\p{Letter}+)","giu"),Ph)},Eh=/^\$?custom\./;function Sh(r,e){const t=/\{\{\s*([$a-z0-9._-]+)(?:\s*\|\s*([^}]*))?\s*\}\}/gi;return r.replace(t,(n,a,i)=>{var d;const s=(d=a==null?void 0:a.trim())==null?void 0:d.replace(Eh,""),l=s&&e[s];if(l===void 0)return"";const c=i==null?void 0:i.trim();if(c===void 0)return l;const u=xh[c];return u?u(l):l})}function xd(r="",e){return Sh(r,e??{})}const Ih={light:{type:"hex",value:sh}};function ll(r,e){const t=rt(r,e),n=Do(t);switch(t.type){case"alias":case"hex":return{color:n};case"linear":case"radial":return{color:"transparent",background:n,"-webkit-background-clip":"text","background-clip":"text"}}}const Ch=(r,e,t)=>{var f;const{font_name:n,font_size:a,font_weight:i,font_weight_int:s,horizontal_alignment:l,color:c=Ih,padding:u,margin:d,size:p}=e,g=t[n??""],_=(f=g==null?void 0:g.web)==null?void 0:f.family;return ir({display:"block",width:Cr(p.width),height:Cr(p.height),margin:Pr(d),padding:Pr(u),...ll(r,c),"text-align":jn[l]||jn.leading,"font-weight":s??Wa[i]??Wa.regular,"font-size":Number.isInteger(Number(a))?`${a}px`:Ti[a]||Ti.body_m,"font-family":sl(n??"")?Fo(_??""):"sans-serif"})};function Th(r,e,t,n){return ir({display:"block",position:"relative",width:Cr(t.width),height:Cr(t.height),...Nn(r,n,null)})}const Dh={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Ah(r){return r.replace(/[&<>"']/g,e=>Dh[e])}const Fh=["http","https","mailto","tel"];function Mh(r){const t=Array.from(r).filter(n=>n.charCodeAt(0)>32).join("").toLowerCase().match(/^([a-z][a-z0-9+.-]*):/);return t&&!Fh.includes(t[1])?null:r}function zh(r){if(!r)return"";const e=Ah(r),t=[],n=e.replaceAll(/\\([\\`*_[\]{}()#+\-.!~])/g,(s,l)=>(t.push(l),`\0RC_ESCAPED_MARKDOWN_${t.length-1}\0`)),i=Object.values({newLine:{regexp:/\\\n/g,output:"<br/>"},bold:{regexp:/\*\*(.*?)\*\*/g,output:"<b>$1</b>"},italic:{regexp:/\*(.*?)\*/g,output:"<i>$1</i>"},strikethrough:{regexp:/~(.*?)~/g,output:"<s>$1</s>"},code:{regexp:/`(.*?)`/g,output:"<span style='font-family: monospace'>$1</span>"},link:{regexp:/\[(.*?)\]\((.*?)\)/g,output:(s,l,c)=>{const u=Mh(c);return u===null?l:`<a href="${u}" target='_blank' rel='noopener noreferrer'>${l}</a>`}}}).reduce((s,{regexp:l,output:c})=>s.replaceAll(l,c),n);return t.reduce((s,l,c)=>s.replaceAll(`\0RC_ESCAPED_MARKDOWN_${c}\0`,l),i)}var qh=W('<div class="rc-gradient-border"><input class="svelte-a25es"/></div>');const jh={hash:"svelte-a25es",code:"input.svelte-a25es {width:100%;height:100%;border:none;background:transparent;border-radius:inherit;}input.svelte-a25es:focus-visible {outline:none;}input.svelte-a25es::placeholder {color:var(--placeholder-color);background:var(--placeholder-background);background-clip:var(--placeholder-background-clip);-webkit-background-clip:var(--placeholder-webkit-background-clip);text-align:var(--placeholder-text-align);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);font-family:var(--placeholder-font-family);}"};function Lh(r,e){fe(e,!0),Pe(r,jh);const t=()=>ge(ue,"$variables",i),n=()=>ge(B,"$selectedPackageId",i),a=()=>ge(K,"$packageInfo",i),[i,s]=He(),l=Ir(e,["$$slots","$$events","$$legacy"]);let c=te(!1),u=te(!1);const d=m(()=>({...l,...rh(o(c),e.overrides),...th(o(u),e.overrides)})),p=m(()=>o(d).placeholder_lid),g=m(()=>o(d).keyboard_type),_=m(()=>o(d).capitalize),f=m(()=>o(d).field_id),v=m(()=>o(d).reserved_attribute),y=m(()=>o(d).required),h=m(()=>o(d).size),b=m(()=>o(d).padding),k=m(()=>o(d).margin),w=m(()=>o(d).vertical_alignment),E=m(()=>o(d).border),S=m(()=>o(d).shape),I=m(()=>o(d).shadow),F=m(()=>o(d).font_name),x=m(()=>o(d).font_weight_int),q=m(()=>o(d).font_size),T=m(()=>o(d).horizontal_alignment),N=m(()=>o(d).color),L=m(()=>o(d).placeholder_font_name),O=m(()=>o(d).placeholder_font_weight_int),j=m(()=>o(d).placeholder_font_size),C=m(()=>o(d).placeholder_horizontal_alignment),A=m(()=>o(d).placeholder_color),M=m(()=>o(d).background_color);function U(ie){if(z(u,!ie.validity.valid),o(u))return;const ye=ie.value.trim();o(v)?Z?Z(o(v),ye):console.error("onReservedAttributeChanged is not set"):ae==null||ae(o(f),ye)}const V=ie=>{o(u)&&U(ie.currentTarget)},R=ie=>{z(c,!1),U(ie.currentTarget)},$=st(),le=m($),{uiConfig:_e,onInputChanged:ae,onReservedAttributeChanged:Z,selectedPackageId:B}=Gr(),K=zn(),oe=m(()=>o(w)==="top"?"flex-start":o(w)==="bottom"?"flex-end":null),H=m(()=>ir({display:"flex",...o(oe)?{"align-items":o(oe)}:{},width:Cr(o(h).width),height:Cr(o(h).height),margin:Pr(o(k)),...Nn(o(le),o(M),null),...Ln(o(le),o(E)),"border-radius":On(o(S)),"box-shadow":da(o(le),o(I))})),pe=m(()=>{var nr,yr;const ie=_e.app.fonts[o(F)??""],ye=(nr=ie==null?void 0:ie.web)==null?void 0:nr.family,ne=_e.app.fonts[o(L)??""],Ce=(yr=ne==null?void 0:ne.web)==null?void 0:yr.family,Ke=ll(o(le),o(A));return ir({...o(oe)?{height:"auto"}:{},padding:Pr(o(b)),...ll(o(le),o(N)),"text-align":jn[o(T)]||jn.leading,"font-weight":o(x)??Wa.regular,"font-size":`${o(q)}px`,"font-family":sl(o(F)??"")?Fo(ye??""):"sans-serif","--placeholder-color":Ke.color,"--placeholder-background":Ke.background,"--placeholder-background-clip":Ke["background-clip"],"--placeholder-webkit-background-clip":Ke["-webkit-background-clip"],"--placeholder-text-align":jn[o(C)]||jn.leading,"--placeholder-font-weight":o(O)??Wa.regular,"--placeholder-font-size":`${o(j)}px`,"--placeholder-font-family":sl(o(L)??"")?Fo(Ce??""):"sans-serif"})}),ue=qn(),{getLocalizedString:Ee}=Si(),qe=m(()=>xd(Ee(o(p)),t())),Me=m(()=>{switch(e.keyboard_type){case"decimal":case"numeric":return"number";case"email":return"email";case"tel":return"tel";case"text":return"text";case"url":return"url"}}),Te=m(()=>Mn({selectedPackageId:n(),packageInfo:a(),variables:t()??{}},e.overrides,e.visible));var Ie=Se(),Be=se(Ie);{var Ye=ie=>{var ye=qh(),ne=D(ye);ne.__input=V,X(()=>{Ae(ye,o(H)),we(ne,"type",o(Me)),we(ne,"placeholder",o(qe)),ne.required=o(y),we(ne,"inputmode",o(g)),we(ne,"autocapitalize",o(_)),Ae(ne,o(pe))}),Or("focus",ne,()=>z(c,!0)),Or("blur",ne,R),P(ie,ye)};G(Be,ie=>{o(Te)&&ie(Ye)})}P(r,Ie),me(),s()}_n(["input"]);const Ed=Symbol("inputChoice");function Sd(r,e,t=!1,n=null,a=[]){const i=Sr(new Set(a)),s=Lt(i,d=>(n==null?void 0:n.max)==null?!1:d.size>=n.max),l=Lt(i,d=>{const p=d.size;return!t&&n==null?!0:t&&n==null?p>=1:t&&n!=null?n.min===n.max?p===n.min:p>=n.min&&p<=n.max:!0});let c=!1;return s.subscribe(d=>c=d),{fieldId:r,mode:e,required:t,selectionRange:n,selectedOptionIds:i,selectOption:d=>{i.update(p=>{if(e==="single")return new Set([d]);const g=new Set(p);return g.has(d)?g.delete(d):c||g.add(d),g})},isAtMax:s,isSatisfied:l}}function Id(r){kr(Ed,r)}function Oh(){return Xe(Ed)}function Nh(r,e){fe(e,!0);const t=Ir(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,c=dd()[a]??[],u=Sd(a,"multiple",i,s,c);Id(u);const d=rl();if(d){const p=u.isSatisfied.subscribe(g=>{d.updateSatisfaction(g)});jt(p)}qo(r,{get nodeData(){return n}}),me()}const Cd=Symbol("hover");function Bh(r){kr(Cd,r)}function Rh(){return Xe(Cd)??Pt(!1)}var Uh=W('<div class="option-wrapper svelte-867vwk"><!></div>');const Vh={hash:"svelte-867vwk",code:".option-wrapper.svelte-867vwk {display:contents;}"};function Wh(r,e){fe(e,!0),Pe(r,Vh);const t=()=>ge(g,"$isDisabled",n),[n,a]=He(),i=Ir(e,["$$slots","$$events","$$legacy"]),{stack:s,option_id:l}=i,{onButtonAction:c,onInputChanged:u}=Gr(),d=Oh(),p=d?Lt(d.selectedOptionIds,w=>w.has(l)):Pt(!1);Ii(p);const g=d?Lt([p,d.isAtMax],([w,E])=>!w&&E):Pt(!1),_=Sr(!1);Bh(_);const f=()=>_.set(!0),v=()=>_.set(!1),y=()=>{var S;if(t())return;const w=(S=e.triggers)==null?void 0:S.on_press;d==null||d.selectOption(l);const E=d==null?void 0:d.fieldId;E&&(u==null||u(E,l,w)),c({type:"workflow"},w)},h=m(()=>t()?{"pointer-events":"none",opacity:"0.4"}:void 0);var b=Uh(),k=D(b);jr(k,_r(()=>s,{onclick:y,get style(){return o(h)}})),Or("mouseenter",b,f),Or("mouseleave",b,v),P(r,b),me(),a()}function Hh(r,e){fe(e,!0);const t=Ir(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,c=dd()[a]??[],u=Sd(a,"single",i,s,c);Id(u);const d=rl();if(d){const p=u.isSatisfied.subscribe(g=>{d.updateSatisfaction(g)});jt(p)}qo(r,{get nodeData(){return n}}),me()}function Yh(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Ya={},cl,Td;function Gh(){return Td||(Td=1,cl=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),cl}var ul={},Bn={},Dd;function pa(){if(Dd)return Bn;Dd=1;let r;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Bn.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},Bn.getSymbolTotalCodewords=function(n){return e[n]},Bn.getBCHDigit=function(t){let n=0;for(;t!==0;)n++,t>>>=1;return n},Bn.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');r=n},Bn.isKanjiModeEnabled=function(){return typeof r<"u"},Bn.toSJIS=function(n){return r(n)},Bn}var dl={},Ad;function pl(){return Ad||(Ad=1,function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function e(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+t)}}r.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},r.from=function(n,a){if(r.isValid(n))return n;try{return e(n)}catch{return a}}}(dl)),dl}var _l,Fd;function Kh(){if(Fd)return _l;Fd=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},_l=r,_l}var gl,Md;function Xh(){if(Md)return gl;Md=1;function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return r.prototype.set=function(e,t,n,a){const i=e*this.size+t;this.data[i]=n,a&&(this.reservedBit[i]=!0)},r.prototype.get=function(e,t){return this.data[e*this.size+t]},r.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},gl=r,gl}var fl={},zd;function Zh(){return zd||(zd=1,function(r){const e=pa().getSymbolSize;r.getRowColCoords=function(n){if(n===1)return[];const a=Math.floor(n/7)+2,i=e(n),s=i===145?26:Math.ceil((i-13)/(2*a-2))*2,l=[i-7];for(let c=1;c<a-1;c++)l[c]=l[c-1]-s;return l.push(6),l.reverse()},r.getPositions=function(n){const a=[],i=r.getRowColCoords(n),s=i.length;for(let l=0;l<s;l++)for(let c=0;c<s;c++)l===0&&c===0||l===0&&c===s-1||l===s-1&&c===0||a.push([i[l],i[c]]);return a}}(fl)),fl}var ml={},qd;function Jh(){if(qd)return ml;qd=1;const r=pa().getSymbolSize,e=7;return ml.getPositions=function(n){const a=r(n);return[[0,0],[a-e,0],[0,a-e]]},ml}var hl={},jd;function Qh(){return jd||(jd=1,function(r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};r.isValid=function(a){return a!=null&&a!==""&&!isNaN(a)&&a>=0&&a<=7},r.from=function(a){return r.isValid(a)?parseInt(a,10):void 0},r.getPenaltyN1=function(a){const i=a.size;let s=0,l=0,c=0,u=null,d=null;for(let p=0;p<i;p++){l=c=0,u=d=null;for(let g=0;g<i;g++){let _=a.get(p,g);_===u?l++:(l>=5&&(s+=e.N1+(l-5)),u=_,l=1),_=a.get(g,p),_===d?c++:(c>=5&&(s+=e.N1+(c-5)),d=_,c=1)}l>=5&&(s+=e.N1+(l-5)),c>=5&&(s+=e.N1+(c-5))}return s},r.getPenaltyN2=function(a){const i=a.size;let s=0;for(let l=0;l<i-1;l++)for(let c=0;c<i-1;c++){const u=a.get(l,c)+a.get(l,c+1)+a.get(l+1,c)+a.get(l+1,c+1);(u===4||u===0)&&s++}return s*e.N2},r.getPenaltyN3=function(a){const i=a.size;let s=0,l=0,c=0;for(let u=0;u<i;u++){l=c=0;for(let d=0;d<i;d++)l=l<<1&2047|a.get(u,d),d>=10&&(l===1488||l===93)&&s++,c=c<<1&2047|a.get(d,u),d>=10&&(c===1488||c===93)&&s++}return s*e.N3},r.getPenaltyN4=function(a){let i=0;const s=a.data.length;for(let c=0;c<s;c++)i+=a.data[c];return Math.abs(Math.ceil(i*100/s/5)-10)*e.N4};function t(n,a,i){switch(n){case r.Patterns.PATTERN000:return(a+i)%2===0;case r.Patterns.PATTERN001:return a%2===0;case r.Patterns.PATTERN010:return i%3===0;case r.Patterns.PATTERN011:return(a+i)%3===0;case r.Patterns.PATTERN100:return(Math.floor(a/2)+Math.floor(i/3))%2===0;case r.Patterns.PATTERN101:return a*i%2+a*i%3===0;case r.Patterns.PATTERN110:return(a*i%2+a*i%3)%2===0;case r.Patterns.PATTERN111:return(a*i%3+(a+i)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}r.applyMask=function(a,i){const s=i.size;for(let l=0;l<s;l++)for(let c=0;c<s;c++)i.isReserved(c,l)||i.xor(c,l,t(a,c,l))},r.getBestMask=function(a,i){const s=Object.keys(r.Patterns).length;let l=0,c=1/0;for(let u=0;u<s;u++){i(u),r.applyMask(u,a);const d=r.getPenaltyN1(a)+r.getPenaltyN2(a)+r.getPenaltyN3(a)+r.getPenaltyN4(a);r.applyMask(u,a),d<c&&(c=d,l=u)}return l}}(hl)),hl}var Ai={},Ld;function Od(){if(Ld)return Ai;Ld=1;const r=pl(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],t=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Ai.getBlocksCount=function(a,i){switch(i){case r.L:return e[(a-1)*4+0];case r.M:return e[(a-1)*4+1];case r.Q:return e[(a-1)*4+2];case r.H:return e[(a-1)*4+3];default:return}},Ai.getTotalCodewordsCount=function(a,i){switch(i){case r.L:return t[(a-1)*4+0];case r.M:return t[(a-1)*4+1];case r.Q:return t[(a-1)*4+2];case r.H:return t[(a-1)*4+3];default:return}},Ai}var vl={},Mo={},Nd;function $h(){if(Nd)return Mo;Nd=1;const r=new Uint8Array(512),e=new Uint8Array(256);return function(){let n=1;for(let a=0;a<255;a++)r[a]=n,e[n]=a,n<<=1,n&256&&(n^=285);for(let a=255;a<512;a++)r[a]=r[a-255]}(),Mo.log=function(n){if(n<1)throw new Error("log("+n+")");return e[n]},Mo.exp=function(n){return r[n]},Mo.mul=function(n,a){return n===0||a===0?0:r[e[n]+e[a]]},Mo}var Bd;function ev(){return Bd||(Bd=1,function(r){const e=$h();r.mul=function(n,a){const i=new Uint8Array(n.length+a.length-1);for(let s=0;s<n.length;s++)for(let l=0;l<a.length;l++)i[s+l]^=e.mul(n[s],a[l]);return i},r.mod=function(n,a){let i=new Uint8Array(n);for(;i.length-a.length>=0;){const s=i[0];for(let c=0;c<a.length;c++)i[c]^=e.mul(a[c],s);let l=0;for(;l<i.length&&i[l]===0;)l++;i=i.slice(l)}return i},r.generateECPolynomial=function(n){let a=new Uint8Array([1]);for(let i=0;i<n;i++)a=r.mul(a,new Uint8Array([1,e.exp(i)]));return a}}(vl)),vl}var yl,Rd;function rv(){if(Rd)return yl;Rd=1;const r=ev();function e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(n){this.degree=n,this.genPoly=r.generateECPolynomial(this.degree)},e.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const a=new Uint8Array(n.length+this.degree);a.set(n);const i=r.mod(a,this.genPoly),s=this.degree-i.length;if(s>0){const l=new Uint8Array(this.degree);return l.set(i,s),l}return i},yl=e,yl}var bl={},kl={},wl={},Ud;function Vd(){return Ud||(Ud=1,wl.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),wl}var Kt={},Wd;function Hd(){if(Wd)return Kt;Wd=1;const r="[0-9]+",e="[A-Z $%*+\\-./:]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
8
- ]))+`;Kt.KANJI=new RegExp(t,"g"),Kt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Kt.BYTE=new RegExp(n,"g"),Kt.NUMERIC=new RegExp(r,"g"),Kt.ALPHANUMERIC=new RegExp(e,"g");const a=new RegExp("^"+t+"$"),i=new RegExp("^"+r+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Kt.testKanji=function(c){return a.test(c)},Kt.testNumeric=function(c){return i.test(c)},Kt.testAlphanumeric=function(c){return s.test(c)},Kt}var Yd;function _a(){return Yd||(Yd=1,function(r){const e=Vd(),t=Hd();r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(i,s){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!e.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?i.ccBits[0]:s<27?i.ccBits[1]:i.ccBits[2]},r.getBestModeForData=function(i){return t.testNumeric(i)?r.NUMERIC:t.testAlphanumeric(i)?r.ALPHANUMERIC:t.testKanji(i)?r.KANJI:r.BYTE},r.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},r.isValid=function(i){return i&&i.bit&&i.ccBits};function n(a){if(typeof a!="string")throw new Error("Param is not a string");switch(a.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+a)}}r.from=function(i,s){if(r.isValid(i))return i;try{return n(i)}catch{return s}}}(kl)),kl}var Gd;function tv(){return Gd||(Gd=1,function(r){const e=pa(),t=Od(),n=pl(),a=_a(),i=Vd(),s=7973,l=e.getBCHDigit(s);function c(g,_,f){for(let v=1;v<=40;v++)if(_<=r.getCapacity(v,f,g))return v}function u(g,_){return a.getCharCountIndicator(g,_)+4}function d(g,_){let f=0;return g.forEach(function(v){const y=u(v.mode,_);f+=y+v.getBitsLength()}),f}function p(g,_){for(let f=1;f<=40;f++)if(d(g,f)<=r.getCapacity(f,_,a.MIXED))return f}r.from=function(_,f){return i.isValid(_)?parseInt(_,10):f},r.getCapacity=function(_,f,v){if(!i.isValid(_))throw new Error("Invalid QR Code version");typeof v>"u"&&(v=a.BYTE);const y=e.getSymbolTotalCodewords(_),h=t.getTotalCodewordsCount(_,f),b=(y-h)*8;if(v===a.MIXED)return b;const k=b-u(v,_);switch(v){case a.NUMERIC:return Math.floor(k/10*3);case a.ALPHANUMERIC:return Math.floor(k/11*2);case a.KANJI:return Math.floor(k/13);case a.BYTE:default:return Math.floor(k/8)}},r.getBestVersionForData=function(_,f){let v;const y=n.from(f,n.M);if(Array.isArray(_)){if(_.length>1)return p(_,y);if(_.length===0)return 1;v=_[0]}else v=_;return c(v.mode,v.getLength(),y)},r.getEncodedBits=function(_){if(!i.isValid(_)||_<7)throw new Error("Invalid QR Code version");let f=_<<12;for(;e.getBCHDigit(f)-l>=0;)f^=s<<e.getBCHDigit(f)-l;return _<<12|f}}(bl)),bl}var Pl={},Kd;function nv(){if(Kd)return Pl;Kd=1;const r=pa(),e=1335,t=21522,n=r.getBCHDigit(e);return Pl.getEncodedBits=function(i,s){const l=i.bit<<3|s;let c=l<<10;for(;r.getBCHDigit(c)-n>=0;)c^=e<<r.getBCHDigit(c)-n;return(l<<10|c)^t},Pl}var xl={},El,Xd;function av(){if(Xd)return El;Xd=1;const r=_a();function e(t){this.mode=r.NUMERIC,this.data=t.toString()}return e.getBitsLength=function(n){return 10*Math.floor(n/3)+(n%3?n%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(n){let a,i,s;for(a=0;a+3<=this.data.length;a+=3)i=this.data.substr(a,3),s=parseInt(i,10),n.put(s,10);const l=this.data.length-a;l>0&&(i=this.data.substr(a),s=parseInt(i,10),n.put(s,l*3+1))},El=e,El}var Sl,Zd;function ov(){if(Zd)return Sl;Zd=1;const r=_a(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function t(n){this.mode=r.ALPHANUMERIC,this.data=n}return t.getBitsLength=function(a){return 11*Math.floor(a/2)+6*(a%2)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(a){let i;for(i=0;i+2<=this.data.length;i+=2){let s=e.indexOf(this.data[i])*45;s+=e.indexOf(this.data[i+1]),a.put(s,11)}this.data.length%2&&a.put(e.indexOf(this.data[i]),6)},Sl=t,Sl}var Il,Jd;function iv(){if(Jd)return Il;Jd=1;const r=_a();function e(t){this.mode=r.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}return e.getBitsLength=function(n){return n*8},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){for(let n=0,a=this.data.length;n<a;n++)t.put(this.data[n],8)},Il=e,Il}var Cl,Qd;function sv(){if(Qd)return Cl;Qd=1;const r=_a(),e=pa();function t(n){this.mode=r.KANJI,this.data=n}return t.getBitsLength=function(a){return a*13},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){let a;for(a=0;a<this.data.length;a++){let i=e.toSJIS(this.data[a]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[a]+`
9
- Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),n.put(i,13)}},Cl=t,Cl}var Tl={exports:{}},$d;function lv(){return $d||($d=1,function(r){var e={single_source_shortest_paths:function(t,n,a){var i={},s={};s[n]=0;var l=e.PriorityQueue.make();l.push(n,0);for(var c,u,d,p,g,_,f,v,y;!l.empty();){c=l.pop(),u=c.value,p=c.cost,g=t[u]||{};for(d in g)g.hasOwnProperty(d)&&(_=g[d],f=p+_,v=s[d],y=typeof s[d]>"u",(y||v>f)&&(s[d]=f,l.push(d,f),i[d]=u))}if(typeof a<"u"&&typeof s[a]>"u"){var h=["Could not find a path from ",n," to ",a,"."].join("");throw new Error(h)}return i},extract_shortest_path_from_predecessor_list:function(t,n){for(var a=[],i=n;i;)a.push(i),t[i],i=t[i];return a.reverse(),a},find_path:function(t,n,a){var i=e.single_source_shortest_paths(t,n,a);return e.extract_shortest_path_from_predecessor_list(i,a)},PriorityQueue:{make:function(t){var n=e.PriorityQueue,a={},i;t=t||{};for(i in n)n.hasOwnProperty(i)&&(a[i]=n[i]);return a.queue=[],a.sorter=t.sorter||n.default_sorter,a},default_sorter:function(t,n){return t.cost-n.cost},push:function(t,n){var a={value:t,cost:n};this.queue.push(a),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};r.exports=e}(Tl)),Tl.exports}var ep;function cv(){return ep||(ep=1,function(r){const e=_a(),t=av(),n=ov(),a=iv(),i=sv(),s=Hd(),l=pa(),c=lv();function u(h){return unescape(encodeURIComponent(h)).length}function d(h,b,k){const w=[];let E;for(;(E=h.exec(k))!==null;)w.push({data:E[0],index:E.index,mode:b,length:E[0].length});return w}function p(h){const b=d(s.NUMERIC,e.NUMERIC,h),k=d(s.ALPHANUMERIC,e.ALPHANUMERIC,h);let w,E;return l.isKanjiModeEnabled()?(w=d(s.BYTE,e.BYTE,h),E=d(s.KANJI,e.KANJI,h)):(w=d(s.BYTE_KANJI,e.BYTE,h),E=[]),b.concat(k,w,E).sort(function(I,F){return I.index-F.index}).map(function(I){return{data:I.data,mode:I.mode,length:I.length}})}function g(h,b){switch(b){case e.NUMERIC:return t.getBitsLength(h);case e.ALPHANUMERIC:return n.getBitsLength(h);case e.KANJI:return i.getBitsLength(h);case e.BYTE:return a.getBitsLength(h)}}function _(h){return h.reduce(function(b,k){const w=b.length-1>=0?b[b.length-1]:null;return w&&w.mode===k.mode?(b[b.length-1].data+=k.data,b):(b.push(k),b)},[])}function f(h){const b=[];for(let k=0;k<h.length;k++){const w=h[k];switch(w.mode){case e.NUMERIC:b.push([w,{data:w.data,mode:e.ALPHANUMERIC,length:w.length},{data:w.data,mode:e.BYTE,length:w.length}]);break;case e.ALPHANUMERIC:b.push([w,{data:w.data,mode:e.BYTE,length:w.length}]);break;case e.KANJI:b.push([w,{data:w.data,mode:e.BYTE,length:u(w.data)}]);break;case e.BYTE:b.push([{data:w.data,mode:e.BYTE,length:u(w.data)}])}}return b}function v(h,b){const k={},w={start:{}};let E=["start"];for(let S=0;S<h.length;S++){const I=h[S],F=[];for(let x=0;x<I.length;x++){const q=I[x],T=""+S+x;F.push(T),k[T]={node:q,lastCount:0},w[T]={};for(let N=0;N<E.length;N++){const L=E[N];k[L]&&k[L].node.mode===q.mode?(w[L][T]=g(k[L].lastCount+q.length,q.mode)-g(k[L].lastCount,q.mode),k[L].lastCount+=q.length):(k[L]&&(k[L].lastCount=q.length),w[L][T]=g(q.length,q.mode)+4+e.getCharCountIndicator(q.mode,b))}}E=F}for(let S=0;S<E.length;S++)w[E[S]].end=0;return{map:w,table:k}}function y(h,b){let k;const w=e.getBestModeForData(h);if(k=e.from(b,w),k!==e.BYTE&&k.bit<w.bit)throw new Error('"'+h+'" cannot be encoded with mode '+e.toString(k)+`.
10
- Suggested mode is: `+e.toString(w));switch(k===e.KANJI&&!l.isKanjiModeEnabled()&&(k=e.BYTE),k){case e.NUMERIC:return new t(h);case e.ALPHANUMERIC:return new n(h);case e.KANJI:return new i(h);case e.BYTE:return new a(h)}}r.fromArray=function(b){return b.reduce(function(k,w){return typeof w=="string"?k.push(y(w,null)):w.data&&k.push(y(w.data,w.mode)),k},[])},r.fromString=function(b,k){const w=p(b,l.isKanjiModeEnabled()),E=f(w),S=v(E,k),I=c.find_path(S.map,"start","end"),F=[];for(let x=1;x<I.length-1;x++)F.push(S.table[I[x]].node);return r.fromArray(_(F))},r.rawSplit=function(b){return r.fromArray(p(b,l.isKanjiModeEnabled()))}}(xl)),xl}var rp;function uv(){if(rp)return ul;rp=1;const r=pa(),e=pl(),t=Kh(),n=Xh(),a=Zh(),i=Jh(),s=Qh(),l=Od(),c=rv(),u=tv(),d=nv(),p=_a(),g=cv();function _(S,I){const F=S.size,x=i.getPositions(I);for(let q=0;q<x.length;q++){const T=x[q][0],N=x[q][1];for(let L=-1;L<=7;L++)if(!(T+L<=-1||F<=T+L))for(let O=-1;O<=7;O++)N+O<=-1||F<=N+O||(L>=0&&L<=6&&(O===0||O===6)||O>=0&&O<=6&&(L===0||L===6)||L>=2&&L<=4&&O>=2&&O<=4?S.set(T+L,N+O,!0,!0):S.set(T+L,N+O,!1,!0))}}function f(S){const I=S.size;for(let F=8;F<I-8;F++){const x=F%2===0;S.set(F,6,x,!0),S.set(6,F,x,!0)}}function v(S,I){const F=a.getPositions(I);for(let x=0;x<F.length;x++){const q=F[x][0],T=F[x][1];for(let N=-2;N<=2;N++)for(let L=-2;L<=2;L++)N===-2||N===2||L===-2||L===2||N===0&&L===0?S.set(q+N,T+L,!0,!0):S.set(q+N,T+L,!1,!0)}}function y(S,I){const F=S.size,x=u.getEncodedBits(I);let q,T,N;for(let L=0;L<18;L++)q=Math.floor(L/3),T=L%3+F-8-3,N=(x>>L&1)===1,S.set(q,T,N,!0),S.set(T,q,N,!0)}function h(S,I,F){const x=S.size,q=d.getEncodedBits(I,F);let T,N;for(T=0;T<15;T++)N=(q>>T&1)===1,T<6?S.set(T,8,N,!0):T<8?S.set(T+1,8,N,!0):S.set(x-15+T,8,N,!0),T<8?S.set(8,x-T-1,N,!0):T<9?S.set(8,15-T-1+1,N,!0):S.set(8,15-T-1,N,!0);S.set(x-8,8,1,!0)}function b(S,I){const F=S.size;let x=-1,q=F-1,T=7,N=0;for(let L=F-1;L>0;L-=2)for(L===6&&L--;;){for(let O=0;O<2;O++)if(!S.isReserved(q,L-O)){let j=!1;N<I.length&&(j=(I[N]>>>T&1)===1),S.set(q,L-O,j),T--,T===-1&&(N++,T=7)}if(q+=x,q<0||F<=q){q-=x,x=-x;break}}}function k(S,I,F){const x=new t;F.forEach(function(O){x.put(O.mode.bit,4),x.put(O.getLength(),p.getCharCountIndicator(O.mode,S)),O.write(x)});const q=r.getSymbolTotalCodewords(S),T=l.getTotalCodewordsCount(S,I),N=(q-T)*8;for(x.getLengthInBits()+4<=N&&x.put(0,4);x.getLengthInBits()%8!==0;)x.putBit(0);const L=(N-x.getLengthInBits())/8;for(let O=0;O<L;O++)x.put(O%2?17:236,8);return w(x,S,I)}function w(S,I,F){const x=r.getSymbolTotalCodewords(I),q=l.getTotalCodewordsCount(I,F),T=x-q,N=l.getBlocksCount(I,F),L=x%N,O=N-L,j=Math.floor(x/N),C=Math.floor(T/N),A=C+1,M=j-C,U=new c(M);let V=0;const R=new Array(N),$=new Array(N);let le=0;const _e=new Uint8Array(S.buffer);for(let oe=0;oe<N;oe++){const H=oe<O?C:A;R[oe]=_e.slice(V,V+H),$[oe]=U.encode(R[oe]),V+=H,le=Math.max(le,H)}const ae=new Uint8Array(x);let Z=0,B,K;for(B=0;B<le;B++)for(K=0;K<N;K++)B<R[K].length&&(ae[Z++]=R[K][B]);for(B=0;B<M;B++)for(K=0;K<N;K++)ae[Z++]=$[K][B];return ae}function E(S,I,F,x){let q;if(Array.isArray(S))q=g.fromArray(S);else if(typeof S=="string"){let j=I;if(!j){const C=g.rawSplit(S);j=u.getBestVersionForData(C,F)}q=g.fromString(S,j||40)}else throw new Error("Invalid data");const T=u.getBestVersionForData(q,F);if(!T)throw new Error("The amount of data is too big to be stored in a QR Code");if(!I)I=T;else if(I<T)throw new Error(`
7
+ `;var Zm=W('<div style="color:var(--rc-color-primary);"><!></div>');function ud(r){var e=Zm(),t=A(e);fn(t,()=>Xm),P(r,e)}function Jm(r,e){var t=$e,n=Je,a=r();return{subscribe:Ir(a,s=>{var l=a!==r(),c,u=Je,d=$e;Xr(n),xt(t);try{c=gf(()=>{oa(()=>{const p=r();l&&s(p)})})}finally{Xr(u),xt(d)}return l=!0,c}).subscribe}}const dd=Symbol("inputValidation"),pd=Symbol("initialInputSelections");function Qm(){const r=Ir(!0);return{isSatisfied:r,updateSatisfaction:t=>{r.set(t)}}}function $m(r){vr(dd,r)}function Ci(){return Ze(dd)}function eh(r){vr(pd,r)}function _d(){return Ze(pd)??{}}const gd=Symbol("localization");function rh(r){const t={getLocalizedString:n=>{var d,p;if(!n)return"";const{selectedLocale:a,defaultLocale:i,localizations:s}=r(),c=(d=s[a??i])==null?void 0:d[n],u=(p=s[i])==null?void 0:p[n];return c??u}};return vr(gd,t),t}function Ti(){const r=Ze(gd);if(r===void 0)throw new Error("Localization context not found");return r}const fd=Symbol("paywall");function md(r){vr(fd,r)}function Br(){const r=Ze(fd);if(r===void 0)throw new Error("Paywall context not found");return r}const hd=Symbol("selected");function Di(r){vr(hd,r)}function St(){return Ze(hd)??mt(!1)}function th(r){switch(r.type){case"stack":{const e=[...r.components];return r.badge&&e.push(r.badge.stack),e}case"button":case"purchase_button":case"redemption_button":return[r.stack];case"carousel":return r.pages;case"countdown":{const e=[r.countdown_stack];return r.end_stack&&e.push(r.end_stack),e}case"footer":return[r.stack];case"input_multiple_choice":case"input_single_choice":case"input_option":return[r.stack];case"tabs":return[r.control.stack,...r.tabs];case"tab":return[r.stack];case"tab_control_button":return[r.stack];case"timeline":return r.items.flatMap(e=>{const t=[e.icon,e.title];return e.description&&t.push(e.description),t});case"express_purchase_button":return[r.wallet_unknown_stack,r.wallet_available_stack,r.wallet_unavailable_stack];default:return[]}}function Ai(r,e){const t=[r];for(;t.length>0;){const n=t.pop();if(n.type==="package"&&e(n))return n;const a=th(n);for(let i=a.length-1;i>=0;i--)t.push(a[i])}}function nh({stack:r,sticky_footer:e}){const t=Ai(r,a=>a.is_selected_by_default);if(t!==void 0)return t.package_id;const n=Ai(r,()=>!0);if(n!==void 0)return n.package_id;if(e!=null){const a=Ai(e,s=>s.is_selected_by_default);if(a!==void 0)return a.package_id;const i=Ai(e,()=>!0);if(i!==void 0)return i.package_id}}const It=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="selected"));return(t==null?void 0:t.properties)??{}},ah=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="hover"));return(t==null?void 0:t.properties)??{}},oh=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="focus"));return(t==null?void 0:t.properties)??{}},ih=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="error"));return(t==null?void 0:t.properties)??{}},sh=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="intro_offer"));return(t==null?void 0:t.properties)??{}},lh=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="promo_offer"));return(t==null?void 0:t.properties)??{}},kn=(r,e,t)=>t===!1?!1:!(e==null?void 0:e.find(a=>a.properties.visible!==!1?!1:a.conditions.every(s=>ch(s,r)))),ch=(r,e)=>{var t,n,a;if(r.type==="intro_offer_condition"){const i=!!((t=e.packageInfo)!=null&&t.hasIntroOffer)||!!((n=e.packageInfo)!=null&&n.hasTrial);if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="promo_offer_condition"){const i=!!((a=e.packageInfo)!=null&&a.hasPromoOffer);if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="selected_package_condition"){const i=e.selectedPackageId??"";if(r.operator==="in")return r.packages.includes(i);if(r.operator==="not in")return!r.packages.includes(i)}if(r.type==="variable_condition"){const i=r.variable.replace(/^\$?custom\./,""),s=e.variables[i],l=r.value,c=String(typeof l=="object"&&l!==null&&"value"in l?l.value:l);if(r.operator==="=")return s===c;if(r.operator==="!=")return s!==c}return!1};function uh(r,e){me(e,!0);const t=()=>ge(c,"$selectedState",i),n=()=>ge(h,"$inputSatisfied",i),a=()=>ge(f,"$selectedPackageId",i),[i,s]=Ve(),l=Cr(e,["$$slots","$$events","$$legacy"]),c=St(),u=m(()=>({...l,...It(t(),e.overrides)})),d=m(()=>o(u).action),{emitComponentInteraction:p,onButtonAction:g,hideBackButtons:_,selectedPackageId:f}=Br(),v=Ci(),{getLocalizedString:w}=Ti(),h=(v==null?void 0:v.isSatisfied)??mt(!0),y=m(()=>(o(d).type==="workflow"||o(d).type==="complete_workflow")&&!n()),k=()=>{switch(o(d).type){case"workflow":return{componentType:"button",componentName:e.name,componentValue:"workflow"};case"complete_workflow":{const T=w(o(d).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:"navigate_to_url",...T?{componentURL:T}:{}}}case"navigate_back":return{componentType:"button",componentName:e.name,componentValue:"navigate_back"};case"close_workflow":return{componentType:"button",componentName:e.name,componentValue:"close_workflow"};case"restore_purchases":return{componentType:"button",componentName:e.name,componentValue:"restore_purchases"}}switch(o(d).destination){case"customer_center":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_customer_center"};case"screen_redirect":return{componentType:"button",componentName:e.name,componentValue:"screen_redirect"};case"privacy_policy":case"terms":case"url":{const T=w(o(d).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:o(d).destination==="privacy_policy"?"navigate_to_privacy_policy":o(d).destination==="terms"?"navigate_to_terms":"navigate_to_url",...T?{componentURL:T}:{}}}case"sheet":throw new Error("Sheet actions must be handled by the sheet branches in onclick");case"offer_code":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_offer_code"};case"web_paywall_link":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_web_paywall_link"}}},b=T=>{var j;return{componentType:"package_selection_sheet",componentName:((j=T.sheet)==null?void 0:j.name)??e.name,componentValue:"open",currentPackageId:a()}},E=()=>{if(o(y))return;const T=o(d).type==="workflow"?e.id:void 0;if(o(d).type==="navigate_to"&&o(d).destination==="sheet"){o(d).sheet!=null&&p(b(o(d))),g(o(d),T);return}p(k()),g(o(d),T)},S=m(()=>{switch(o(d).type){case"workflow":return!0;case"complete_workflow":return!0;case"restore_purchases":return!1;case"navigate_back":return!_;case"close_workflow":return!0;case"navigate_to":return o(d).destination!=="web_paywall_link";default:return!0}}),I=m(()=>o(y)?{opacity:"0.4","pointer-events":"none",cursor:"not-allowed"}:void 0);var q=Ie(),x=ie(q);{var F=T=>{{let j=m(()=>`button-${o(d).type}`);Lr(T,gr(()=>e.stack,{onclick:E,get style(){return o(I)},get testId(){return o(j)}}))}};G(x,T=>{o(S)&&T(F)})}P(r,q),he(),s()}const vd=1e3,al="light",dh="#000000",Do={top:0,bottom:0,leading:0,trailing:0};class ph{constructor(e,t){Xe(this,Qo);Xe(this,$o);Ge(this,Qo,e),Ge(this,$o,Jc(t))}get current(){return Q(this,$o).call(this),Q(this,Qo).call(this)}}Qo=new WeakMap,$o=new WeakMap;const _h=/\(.+\)/,gh=new Set(["all","print","screen","and","or","not","only"]);class fh extends ph{constructor(e,t){let n=_h.test(e)||e.split(/[\s,]+/).some(i=>gh.has(i.trim()))?e:`(${e})`;const a=window.matchMedia(n);super(()=>a.matches,i=>kf(a,"change",i))}}const yd=Symbol("color-mode");function mh(r){const e=new fh("prefers-color-scheme: dark",((r==null?void 0:r())??al)==="dark"),t=()=>(r==null?void 0:r())??(e.current?"dark":al);return vr(yd,t),t}function st(){return Ze(yd)??(()=>al)}const ol=Symbol("packageInfo");function bd(r){vr(ol,r)}function hh(){const r=Ze(ol);if(r===void 0)throw new Error("PackageInfo context not found");return r}const vh=mt(void 0);function wn(){return Ze(ol)??vh}const il=Symbol("variables");function sl(r){vr(il,r)}function ll(){const r=Ze(il);if(r===void 0)throw new Error("Variables context not found");return r}const yh=mt(void 0);function Pn(){return Ze(il)??yh}var kd;(function(r){r.body_s="p",r.body_m="p",r.body_l="p",r.body_xl="p",r.heading_xs="h6",r.heading_s="h5",r.heading_m="h4",r.heading_l="h3",r.heading_xl="h2",r.heading_xxl="h1"})(kd||(kd={}));var Ha;(function(r){r[r.extra_light=100]="extra_light",r[r.thin=200]="thin",r[r.light=300]="light",r[r.regular=400]="regular",r[r.medium=500]="medium",r[r.semibold=600]="semibold",r[r.bold=700]="bold",r[r.extra_bold=800]="extra_bold",r[r.black=900]="black"})(Ha||(Ha={}));var Fi;(function(r){r.body_s="13px",r.body_m="14px",r.body_l="15px",r.body_xl="16px",r.heading_xs="14px",r.heading_s="16px",r.heading_m="18px",r.heading_l="20px",r.heading_xl="26px",r.heading_xxl="32px"})(Fi||(Fi={}));var On;(function(r){r.leading="start",r.center="center",r.trailing="end"})(On||(On={}));var wd;(function(r){r.vertical="column",r.horizontal="row",r.zlayer="zstack"})(wd||(wd={}));var Pd;(function(r){r.top="flex-start",r.leading="flex-start",r.center="center",r.bottom="flex-end",r.trailing="flex-end"})(Pd||(Pd={}));var xd;(function(r){r.space_between="space-between",r.space_around="space-around",r.space_evenly="space-evenly",r.start="flex-start",r.center="center",r.end="flex-end"})(xd||(xd={}));function or(r){return Object.entries(r).map(([e,t])=>`${e}:${t}`).join(";")}function Tr(r){return`${r}px`}function Ed(...r){return r.map(Tr).join(" ")}function tt(r,e){return e[r]??e.light}function br(r){switch(r.type){case"fill":return navigator.userAgent.includes("Firefox")?"-moz-available":"-webkit-fill-available";case"fit":return"fit-content";case"fixed":return Tr(r.value);case"relative":return`${r.value*100}%`}}function xr(r){const{top:e,bottom:t,leading:n,trailing:a}=r??Do;return Ed(e,a,t,n)}function Ao(r){if(r.type==="alias"||r.type==="hex")return r.value;const e=r.points.map(t=>`${t.color} ${t.percent}%`).join(", ");switch(r.type){case"linear":return`linear-gradient(${r.degrees}deg, ${e})`;case"radial":return`radial-gradient(circle, ${e})`}}function lt(r,e){if(e==null)return"transparent";const t=tt(r,e);return Ao(t)}function Mi(r,e){return e==null?"transparent":lt(r,e)}function Nn(r,e){const t={"--rc-border-display":"none","--rc-border-bg":"transparent","--rc-border-width":"0px"};if(e==null)return{border:"none",...t};const{width:n}=e,a=tt(r,e.color),i=Ao(a);return a.type==="alias"||a.type==="hex"?{border:`${n}px solid ${i}`,...t}:{border:`${n}px solid transparent`,"--rc-border-display":"block","--rc-border-bg":i,"--rc-border-width":`${n}px`}}function bh(r){if(r==null)return"0";const{top_leading:e,top_trailing:t,bottom_trailing:n,bottom_leading:a}=r;return Ed(e,t,n,a)}function jn(r){switch(r==null?void 0:r.type){case void 0:case"concave":case"convex":return"0";case"rectangle":return`${bh(r.corners)}`;case"circle":case"pill":return"9999px"}}function ga(r,e){if(e==null)return"none";const{x:t,y:n,radius:a}=e,i=lt(r,e.color);return`${t}px ${n}px ${a}px ${i}`}function Ya(r){switch(r){case"fill":return"cover";case"fit":return"contain"}}function kh(r,e){const t=tt(r,e),n=String(t.url_low_res??"").trim();return{url:t.url,url_low_res:n.length>0?n:null}}function Fo(r,e){const t=Ph(e),n=kh(r,e.value);return{url:n.url,url_low_res:n.url_low_res,fit:Ya(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Mi(r,e.color_overlay),mute:t.mute_audio,loop:t.loop,posterWebp:t.fallback_image?tt(r,t.fallback_image).webp:null}}function wh(r,e){return`url(${tt(r,e).webp})`}function Ph(r){return{fit_mode:r.fit_mode??"fill",mute_audio:r.mute_audio??!0,loop:r.loop??!0,fallback_image:r.fallback_image??null}}function xh(r,e,t){return t==null?e==null?"none":lt(r,e):t.type==="color"?lt(r,e??t.value):t.type==="image"?wh(r,t.value):"transparent"}function Eh(r,e){var a,i;const t=(i=(a=r==null?void 0:r.components_config)==null?void 0:a.base)==null?void 0:i.background;if(t==null)return{kind:"none"};if(t.type==="video"){const s=Fo(e,t);return{kind:"video",url:s.url,url_low_res:s.url_low_res,fit:s.fit,position:s.position,overlay:s.overlay,mute:s.mute,loop:s.loop,posterWebp:s.posterWebp}}if(t.type!=="image"){const s=Bn(e,null,t),l=s["--overlay"]??"none",c={...s};return delete c["--overlay"],{kind:"style",style:c,overlay:l}}return{kind:"image",src:tt(e,t.value).webp,fit:Ya(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Mi(e,t.color_overlay)}}function Bn(r,e,t){if((t==null?void 0:t.type)==="video")return{background:"transparent","--overlay":Mi(r,t.color_overlay)};const n=xh(r,e,t);if((t==null?void 0:t.type)!=="image")return{background:n,"--overlay":"none"};const{fit_mode:a,color_overlay:i}=t;return{background:n,"background-size":Ya(a),"background-position":a==="fill"?"center":"top center","background-repeat":"no-repeat","--overlay":Mi(r,i)}}function cl(r){return r.startsWith("RCFM:")}function Mo(r){return`RevCatPaywall-${r}`}async function Sh(r){var t;if(!r.app.fonts||typeof document>"u")return;const e=[];for(const[n,a]of Object.entries(r.app.fonts)){const i=a.web;if(!i||!i.url||!i.family){console.warn(`[Font Registration] Skipping font ${n}: missing web config or required fields`);continue}try{const s=`${Mo(i.family)}-${i.style}-${i.weight}`,l=new FontFace(s,`url(${i.url})`,{weight:((t=i.weight)==null?void 0:t.toString())||"400",style:i.style||"normal"});l.family=Mo(i.family);const c=l.load().then(()=>{document.fonts.add(l),console.debug(`[Font Registration] Successfully registered font: ${s} (${i.family}, ${i.weight}, ${i.style})`)}).catch(u=>{console.warn(`[Font Registration] Failed to load font ${i.family}:`,u)});e.push(c)}catch(s){console.warn(`[Font Registration] Failed to create FontFace for ${n}:`,s)}}try{await Promise.allSettled(e),console.debug(`[Font Registration] Font registration complete. Processed ${e.length} fonts.`)}catch(n){console.warn("[Font Registration] Unexpected error during font registration:",n)}}function Ih(r){return r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()}const Ch={uppercase:r=>String(r??"").toUpperCase(),lowercase:r=>String(r??"").toLowerCase(),capitalize:r=>String(r??"").replaceAll(new RegExp("(\\p{Letter}+)","giu"),Ih)},Th=/^\$?custom\./;function Dh(r,e){const t=/\{\{\s*([$a-z0-9._-]+)(?:\s*\|\s*([^}]*))?\s*\}\}/gi;return r.replace(t,(n,a,i)=>{var d;const s=(d=a==null?void 0:a.trim())==null?void 0:d.replace(Th,""),l=s&&e[s];if(l===void 0)return"";const c=i==null?void 0:i.trim();if(c===void 0)return l;const u=Ch[c];return u?u(l):l})}function Sd(r="",e){return Dh(r,e??{})}const Ah={light:{type:"hex",value:dh}};function ul(r,e){const t=tt(r,e),n=Ao(t);switch(t.type){case"alias":case"hex":return{color:n};case"linear":case"radial":return{color:"transparent",background:n,"-webkit-background-clip":"text","background-clip":"text"}}}const Fh=(r,e,t)=>{var f;const{font_name:n,font_size:a,font_weight:i,font_weight_int:s,horizontal_alignment:l,color:c=Ah,padding:u,margin:d,size:p}=e,g=t[n??""],_=(f=g==null?void 0:g.web)==null?void 0:f.family;return or({display:"block",width:br(p.width),height:br(p.height),margin:xr(d),padding:xr(u),...ul(r,c),"text-align":On[l]||On.leading,"font-weight":s??Ha[i]??Ha.regular,"font-size":Number.isInteger(Number(a))?`${a}px`:Fi[a]||Fi.body_m,"font-family":cl(n??"")?Mo(_??""):"sans-serif"})};function Mh(r,e,t,n){return or({display:"block",position:"relative",width:br(t.width),height:br(t.height),...Bn(r,n,null)})}const qh={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function zh(r){return r.replace(/[&<>"']/g,e=>qh[e])}const Lh=["http","https","mailto","tel"];function Oh(r){const t=Array.from(r).filter(n=>n.charCodeAt(0)>32).join("").toLowerCase().match(/^([a-z][a-z0-9+.-]*):/);return t&&!Lh.includes(t[1])?null:r}function Nh(r){if(!r)return"";const e=zh(r),t=[],n=e.replaceAll(/\\([\\`*_[\]{}()#+\-.!~])/g,(s,l)=>(t.push(l),`\0RC_ESCAPED_MARKDOWN_${t.length-1}\0`)),i=Object.values({newLine:{regexp:/\\\n/g,output:"<br/>"},bold:{regexp:/\*\*(.*?)\*\*/g,output:"<b>$1</b>"},italic:{regexp:/\*(.*?)\*/g,output:"<i>$1</i>"},strikethrough:{regexp:/~(.*?)~/g,output:"<s>$1</s>"},code:{regexp:/`(.*?)`/g,output:"<span style='font-family: monospace'>$1</span>"},link:{regexp:/\[(.*?)\]\((.*?)\)/g,output:(s,l,c)=>{const u=Oh(c);return u===null?l:`<a href="${u}" target='_blank' rel='noopener noreferrer'>${l}</a>`}}}).reduce((s,{regexp:l,output:c})=>s.replaceAll(l,c),n);return t.reduce((s,l,c)=>s.replaceAll(`\0RC_ESCAPED_MARKDOWN_${c}\0`,l),i)}var jh=W('<div class="rc-gradient-border"><input class="svelte-xfodsh"/></div>');const Bh={hash:"svelte-xfodsh",code:"input.svelte-xfodsh {width:100%;height:100%;border:none;background:transparent;border-radius:inherit;}input.svelte-xfodsh:focus-visible {outline:none;}input.svelte-xfodsh::placeholder {color:var(--placeholder-color);background:var(--placeholder-background);background-clip:var(--placeholder-background-clip);-webkit-background-clip:var(--placeholder-webkit-background-clip);text-align:var(--placeholder-text-align);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);font-family:var(--placeholder-font-family);}"};function Rh(r,e){me(e,!0),Pe(r,Bh);const t=()=>ge(Me,"$variables",i),n=()=>ge(H,"$selectedPackageId",i),a=()=>ge(de,"$packageInfo",i),[i,s]=Ve(),l=Cr(e,["$$slots","$$events","$$legacy"]);let c=re(!1),u=re(!1),d=re(!e.required);const p=m(()=>({...l,...oh(o(c),e.overrides),...ih(o(u),e.overrides)})),g=m(()=>o(p).placeholder_lid),_=m(()=>o(p).keyboard_type),f=m(()=>o(p).capitalize),v=m(()=>o(p).field_id),w=m(()=>o(p).reserved_attribute),h=m(()=>o(p).required),y=m(()=>o(p).size),k=m(()=>o(p).padding),b=m(()=>o(p).margin),E=m(()=>o(p).vertical_alignment),S=m(()=>o(p).border),I=m(()=>o(p).shape),q=m(()=>o(p).shadow),x=m(()=>o(p).font_name),F=m(()=>o(p).font_weight_int),T=m(()=>o(p).font_size),j=m(()=>o(p).horizontal_alignment),O=m(()=>o(p).color),N=m(()=>o(p).placeholder_font_name),L=m(()=>o(p).placeholder_font_weight_int),C=m(()=>o(p).placeholder_font_size),D=m(()=>o(p).placeholder_horizontal_alignment),M=m(()=>o(p).placeholder_color),U=m(()=>o(p).background_color);function V(fe){const je=fe.value.trim();o(w)?ae?ae(o(w),je):console.error("onReservedAttributeChanged is not set"):K==null||K(o(v),je)}function R(fe){z(u,!fe.validity.valid),!o(u)&&V(fe)}const $=fe=>{const je=fe.currentTarget;z(d,je.validity.valid,!0),o(d)&&V(je),o(u)&&R(je)},ue=fe=>{z(c,!1),z(d,fe.currentTarget.validity.valid,!0),R(fe.currentTarget)},pe=Ci(),ne=st(),Z=m(ne),{uiConfig:B,onInputChanged:K,onReservedAttributeChanged:ae,selectedPackageId:H}=Br(),de=wn(),se=m(()=>o(E)==="top"?"flex-start":o(E)==="bottom"?"flex-end":null),Ee=m(()=>or({display:"flex",...o(se)?{"align-items":o(se)}:{},width:br(o(y).width),height:br(o(y).height),margin:xr(o(b)),...Bn(o(Z),o(U),null),...Nn(o(Z),o(S)),"border-radius":jn(o(I)),"box-shadow":ga(o(Z),o(q))})),Le=m(()=>{var oe,Be;const fe=B.app.fonts[o(x)??""],je=(oe=fe==null?void 0:fe.web)==null?void 0:oe.family,Ue=B.app.fonts[o(N)??""],Er=(Be=Ue==null?void 0:Ue.web)==null?void 0:Be.family,qe=ul(o(Z),o(M));return or({...o(se)?{height:"auto"}:{},padding:xr(o(k)),...ul(o(Z),o(O)),"text-align":On[o(j)]||On.leading,"font-weight":o(F)??Ha.regular,"font-size":`${o(T)}px`,"font-family":cl(o(x)??"")?Mo(je??""):"sans-serif","--placeholder-color":qe.color,"--placeholder-background":qe.background,"--placeholder-background-clip":qe["background-clip"],"--placeholder-webkit-background-clip":qe["-webkit-background-clip"],"--placeholder-text-align":On[o(D)]||On.leading,"--placeholder-font-weight":o(L)??Ha.regular,"--placeholder-font-size":`${o(C)}px`,"--placeholder-font-family":cl(o(N)??"")?Mo(Er??""):"sans-serif"})}),Me=Pn(),{getLocalizedString:Te}=Ti(),Ce=m(()=>Sd(Te(o(g)),t())),We=m(()=>{switch(e.keyboard_type){case"decimal":case"numeric":return"number";case"email":return"email";case"tel":return"tel";case"text":return"text";case"url":return"url"}}),Ye=m(()=>kn({selectedPackageId:n(),packageInfo:a(),variables:t()??{}},e.overrides,e.visible));pe&&pr(()=>{pe.updateSatisfaction(!o(Ye)||o(d))});var _e=Ie(),Se=ie(_e);{var le=fe=>{var je=jh(),Ue=A(je);Ue.__input=$,X(()=>{Ae(je,o(Ee)),be(Ue,"type",o(We)),be(Ue,"placeholder",o(Ce)),Ue.required=o(h),be(Ue,"inputmode",o(_)),be(Ue,"autocapitalize",o(f)),Ae(Ue,o(Le))}),jr("focus",Ue,()=>z(c,!0)),jr("blur",Ue,ue),P(fe,je)};G(Se,fe=>{o(Ye)&&fe(le)})}P(r,_e),he(),s()}_n(["input"]);const Id=Symbol("inputChoice");function Cd(r,e,t=!1,n=null,a=[]){const i=Ir(new Set(a)),s=Nt(i,d=>(n==null?void 0:n.max)==null?!1:d.size>=n.max),l=Nt(i,d=>{const p=d.size;return!t&&n==null?!0:t&&n==null?p>=1:t&&n!=null?n.min===n.max?p===n.min:p>=n.min&&p<=n.max:!0});let c=!1;return s.subscribe(d=>c=d),{fieldId:r,mode:e,required:t,selectionRange:n,selectedOptionIds:i,selectOption:d=>{i.update(p=>{if(e==="single")return new Set([d]);const g=new Set(p);return g.has(d)?g.delete(d):c||g.add(d),g})},isAtMax:s,isSatisfied:l}}function Td(r){vr(Id,r)}function Uh(){return Ze(Id)}function Vh(r,e){me(e,!0);const t=Cr(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,c=_d()[a]??[],u=Cd(a,"multiple",i,s,c);Td(u);const d=Ci();if(d){const p=u.isSatisfied.subscribe(g=>{d.updateSatisfaction(g)});Ot(p)}Lo(r,{get nodeData(){return n}}),he()}const Dd=Symbol("hover");function Wh(r){vr(Dd,r)}function Hh(){return Ze(Dd)??mt(!1)}var Yh=W('<div class="option-wrapper svelte-uyu0j5"><!></div>');const Gh={hash:"svelte-uyu0j5",code:".option-wrapper.svelte-uyu0j5 {display:contents;}"};function Kh(r,e){me(e,!0),Pe(r,Gh);const t=()=>ge(g,"$isDisabled",n),[n,a]=Ve(),i=Cr(e,["$$slots","$$events","$$legacy"]),{stack:s,option_id:l}=i,{onButtonAction:c,onInputChanged:u}=Br(),d=Uh(),p=d?Nt(d.selectedOptionIds,b=>b.has(l)):mt(!1);Di(p);const g=d?Nt([p,d.isAtMax],([b,E])=>!b&&E):mt(!1),_=Ir(!1);Wh(_);const f=()=>_.set(!0),v=()=>_.set(!1),w=()=>{var S;if(t())return;const b=(S=e.triggers)==null?void 0:S.on_press;d==null||d.selectOption(l);const E=d==null?void 0:d.fieldId;E&&(u==null||u(E,l,b)),c({type:"workflow"},b)},h=m(()=>t()?{"pointer-events":"none",opacity:"0.4"}:void 0);var y=Yh(),k=A(y);Lr(k,gr(()=>s,{onclick:w,get style(){return o(h)}})),jr("mouseenter",y,f),jr("mouseleave",y,v),P(r,y),he(),a()}function Xh(r,e){me(e,!0);const t=Cr(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,c=_d()[a]??[],u=Cd(a,"single",i,s,c);Td(u);const d=Ci();if(d){const p=u.isSatisfied.subscribe(g=>{d.updateSatisfaction(g)});Ot(p)}Lo(r,{get nodeData(){return n}}),he()}function Zh(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Ga={},dl,Ad;function Jh(){return Ad||(Ad=1,dl=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),dl}var pl={},Rn={},Fd;function fa(){if(Fd)return Rn;Fd=1;let r;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Rn.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},Rn.getSymbolTotalCodewords=function(n){return e[n]},Rn.getBCHDigit=function(t){let n=0;for(;t!==0;)n++,t>>>=1;return n},Rn.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');r=n},Rn.isKanjiModeEnabled=function(){return typeof r<"u"},Rn.toSJIS=function(n){return r(n)},Rn}var _l={},Md;function gl(){return Md||(Md=1,function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function e(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+t)}}r.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},r.from=function(n,a){if(r.isValid(n))return n;try{return e(n)}catch{return a}}}(_l)),_l}var fl,qd;function Qh(){if(qd)return fl;qd=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},fl=r,fl}var ml,zd;function $h(){if(zd)return ml;zd=1;function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return r.prototype.set=function(e,t,n,a){const i=e*this.size+t;this.data[i]=n,a&&(this.reservedBit[i]=!0)},r.prototype.get=function(e,t){return this.data[e*this.size+t]},r.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},ml=r,ml}var hl={},Ld;function ev(){return Ld||(Ld=1,function(r){const e=fa().getSymbolSize;r.getRowColCoords=function(n){if(n===1)return[];const a=Math.floor(n/7)+2,i=e(n),s=i===145?26:Math.ceil((i-13)/(2*a-2))*2,l=[i-7];for(let c=1;c<a-1;c++)l[c]=l[c-1]-s;return l.push(6),l.reverse()},r.getPositions=function(n){const a=[],i=r.getRowColCoords(n),s=i.length;for(let l=0;l<s;l++)for(let c=0;c<s;c++)l===0&&c===0||l===0&&c===s-1||l===s-1&&c===0||a.push([i[l],i[c]]);return a}}(hl)),hl}var vl={},Od;function rv(){if(Od)return vl;Od=1;const r=fa().getSymbolSize,e=7;return vl.getPositions=function(n){const a=r(n);return[[0,0],[a-e,0],[0,a-e]]},vl}var yl={},Nd;function tv(){return Nd||(Nd=1,function(r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};r.isValid=function(a){return a!=null&&a!==""&&!isNaN(a)&&a>=0&&a<=7},r.from=function(a){return r.isValid(a)?parseInt(a,10):void 0},r.getPenaltyN1=function(a){const i=a.size;let s=0,l=0,c=0,u=null,d=null;for(let p=0;p<i;p++){l=c=0,u=d=null;for(let g=0;g<i;g++){let _=a.get(p,g);_===u?l++:(l>=5&&(s+=e.N1+(l-5)),u=_,l=1),_=a.get(g,p),_===d?c++:(c>=5&&(s+=e.N1+(c-5)),d=_,c=1)}l>=5&&(s+=e.N1+(l-5)),c>=5&&(s+=e.N1+(c-5))}return s},r.getPenaltyN2=function(a){const i=a.size;let s=0;for(let l=0;l<i-1;l++)for(let c=0;c<i-1;c++){const u=a.get(l,c)+a.get(l,c+1)+a.get(l+1,c)+a.get(l+1,c+1);(u===4||u===0)&&s++}return s*e.N2},r.getPenaltyN3=function(a){const i=a.size;let s=0,l=0,c=0;for(let u=0;u<i;u++){l=c=0;for(let d=0;d<i;d++)l=l<<1&2047|a.get(u,d),d>=10&&(l===1488||l===93)&&s++,c=c<<1&2047|a.get(d,u),d>=10&&(c===1488||c===93)&&s++}return s*e.N3},r.getPenaltyN4=function(a){let i=0;const s=a.data.length;for(let c=0;c<s;c++)i+=a.data[c];return Math.abs(Math.ceil(i*100/s/5)-10)*e.N4};function t(n,a,i){switch(n){case r.Patterns.PATTERN000:return(a+i)%2===0;case r.Patterns.PATTERN001:return a%2===0;case r.Patterns.PATTERN010:return i%3===0;case r.Patterns.PATTERN011:return(a+i)%3===0;case r.Patterns.PATTERN100:return(Math.floor(a/2)+Math.floor(i/3))%2===0;case r.Patterns.PATTERN101:return a*i%2+a*i%3===0;case r.Patterns.PATTERN110:return(a*i%2+a*i%3)%2===0;case r.Patterns.PATTERN111:return(a*i%3+(a+i)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}r.applyMask=function(a,i){const s=i.size;for(let l=0;l<s;l++)for(let c=0;c<s;c++)i.isReserved(c,l)||i.xor(c,l,t(a,c,l))},r.getBestMask=function(a,i){const s=Object.keys(r.Patterns).length;let l=0,c=1/0;for(let u=0;u<s;u++){i(u),r.applyMask(u,a);const d=r.getPenaltyN1(a)+r.getPenaltyN2(a)+r.getPenaltyN3(a)+r.getPenaltyN4(a);r.applyMask(u,a),d<c&&(c=d,l=u)}return l}}(yl)),yl}var qi={},jd;function Bd(){if(jd)return qi;jd=1;const r=gl(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],t=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return qi.getBlocksCount=function(a,i){switch(i){case r.L:return e[(a-1)*4+0];case r.M:return e[(a-1)*4+1];case r.Q:return e[(a-1)*4+2];case r.H:return e[(a-1)*4+3];default:return}},qi.getTotalCodewordsCount=function(a,i){switch(i){case r.L:return t[(a-1)*4+0];case r.M:return t[(a-1)*4+1];case r.Q:return t[(a-1)*4+2];case r.H:return t[(a-1)*4+3];default:return}},qi}var bl={},qo={},Rd;function nv(){if(Rd)return qo;Rd=1;const r=new Uint8Array(512),e=new Uint8Array(256);return function(){let n=1;for(let a=0;a<255;a++)r[a]=n,e[n]=a,n<<=1,n&256&&(n^=285);for(let a=255;a<512;a++)r[a]=r[a-255]}(),qo.log=function(n){if(n<1)throw new Error("log("+n+")");return e[n]},qo.exp=function(n){return r[n]},qo.mul=function(n,a){return n===0||a===0?0:r[e[n]+e[a]]},qo}var Ud;function av(){return Ud||(Ud=1,function(r){const e=nv();r.mul=function(n,a){const i=new Uint8Array(n.length+a.length-1);for(let s=0;s<n.length;s++)for(let l=0;l<a.length;l++)i[s+l]^=e.mul(n[s],a[l]);return i},r.mod=function(n,a){let i=new Uint8Array(n);for(;i.length-a.length>=0;){const s=i[0];for(let c=0;c<a.length;c++)i[c]^=e.mul(a[c],s);let l=0;for(;l<i.length&&i[l]===0;)l++;i=i.slice(l)}return i},r.generateECPolynomial=function(n){let a=new Uint8Array([1]);for(let i=0;i<n;i++)a=r.mul(a,new Uint8Array([1,e.exp(i)]));return a}}(bl)),bl}var kl,Vd;function ov(){if(Vd)return kl;Vd=1;const r=av();function e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(n){this.degree=n,this.genPoly=r.generateECPolynomial(this.degree)},e.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const a=new Uint8Array(n.length+this.degree);a.set(n);const i=r.mod(a,this.genPoly),s=this.degree-i.length;if(s>0){const l=new Uint8Array(this.degree);return l.set(i,s),l}return i},kl=e,kl}var wl={},Pl={},xl={},Wd;function Hd(){return Wd||(Wd=1,xl.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),xl}var Xt={},Yd;function Gd(){if(Yd)return Xt;Yd=1;const r="[0-9]+",e="[A-Z $%*+\\-./:]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
8
+ ]))+`;Xt.KANJI=new RegExp(t,"g"),Xt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Xt.BYTE=new RegExp(n,"g"),Xt.NUMERIC=new RegExp(r,"g"),Xt.ALPHANUMERIC=new RegExp(e,"g");const a=new RegExp("^"+t+"$"),i=new RegExp("^"+r+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Xt.testKanji=function(c){return a.test(c)},Xt.testNumeric=function(c){return i.test(c)},Xt.testAlphanumeric=function(c){return s.test(c)},Xt}var Kd;function ma(){return Kd||(Kd=1,function(r){const e=Hd(),t=Gd();r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(i,s){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!e.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?i.ccBits[0]:s<27?i.ccBits[1]:i.ccBits[2]},r.getBestModeForData=function(i){return t.testNumeric(i)?r.NUMERIC:t.testAlphanumeric(i)?r.ALPHANUMERIC:t.testKanji(i)?r.KANJI:r.BYTE},r.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},r.isValid=function(i){return i&&i.bit&&i.ccBits};function n(a){if(typeof a!="string")throw new Error("Param is not a string");switch(a.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+a)}}r.from=function(i,s){if(r.isValid(i))return i;try{return n(i)}catch{return s}}}(Pl)),Pl}var Xd;function iv(){return Xd||(Xd=1,function(r){const e=fa(),t=Bd(),n=gl(),a=ma(),i=Hd(),s=7973,l=e.getBCHDigit(s);function c(g,_,f){for(let v=1;v<=40;v++)if(_<=r.getCapacity(v,f,g))return v}function u(g,_){return a.getCharCountIndicator(g,_)+4}function d(g,_){let f=0;return g.forEach(function(v){const w=u(v.mode,_);f+=w+v.getBitsLength()}),f}function p(g,_){for(let f=1;f<=40;f++)if(d(g,f)<=r.getCapacity(f,_,a.MIXED))return f}r.from=function(_,f){return i.isValid(_)?parseInt(_,10):f},r.getCapacity=function(_,f,v){if(!i.isValid(_))throw new Error("Invalid QR Code version");typeof v>"u"&&(v=a.BYTE);const w=e.getSymbolTotalCodewords(_),h=t.getTotalCodewordsCount(_,f),y=(w-h)*8;if(v===a.MIXED)return y;const k=y-u(v,_);switch(v){case a.NUMERIC:return Math.floor(k/10*3);case a.ALPHANUMERIC:return Math.floor(k/11*2);case a.KANJI:return Math.floor(k/13);case a.BYTE:default:return Math.floor(k/8)}},r.getBestVersionForData=function(_,f){let v;const w=n.from(f,n.M);if(Array.isArray(_)){if(_.length>1)return p(_,w);if(_.length===0)return 1;v=_[0]}else v=_;return c(v.mode,v.getLength(),w)},r.getEncodedBits=function(_){if(!i.isValid(_)||_<7)throw new Error("Invalid QR Code version");let f=_<<12;for(;e.getBCHDigit(f)-l>=0;)f^=s<<e.getBCHDigit(f)-l;return _<<12|f}}(wl)),wl}var El={},Zd;function sv(){if(Zd)return El;Zd=1;const r=fa(),e=1335,t=21522,n=r.getBCHDigit(e);return El.getEncodedBits=function(i,s){const l=i.bit<<3|s;let c=l<<10;for(;r.getBCHDigit(c)-n>=0;)c^=e<<r.getBCHDigit(c)-n;return(l<<10|c)^t},El}var Sl={},Il,Jd;function lv(){if(Jd)return Il;Jd=1;const r=ma();function e(t){this.mode=r.NUMERIC,this.data=t.toString()}return e.getBitsLength=function(n){return 10*Math.floor(n/3)+(n%3?n%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(n){let a,i,s;for(a=0;a+3<=this.data.length;a+=3)i=this.data.substr(a,3),s=parseInt(i,10),n.put(s,10);const l=this.data.length-a;l>0&&(i=this.data.substr(a),s=parseInt(i,10),n.put(s,l*3+1))},Il=e,Il}var Cl,Qd;function cv(){if(Qd)return Cl;Qd=1;const r=ma(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function t(n){this.mode=r.ALPHANUMERIC,this.data=n}return t.getBitsLength=function(a){return 11*Math.floor(a/2)+6*(a%2)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(a){let i;for(i=0;i+2<=this.data.length;i+=2){let s=e.indexOf(this.data[i])*45;s+=e.indexOf(this.data[i+1]),a.put(s,11)}this.data.length%2&&a.put(e.indexOf(this.data[i]),6)},Cl=t,Cl}var Tl,$d;function uv(){if($d)return Tl;$d=1;const r=ma();function e(t){this.mode=r.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}return e.getBitsLength=function(n){return n*8},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){for(let n=0,a=this.data.length;n<a;n++)t.put(this.data[n],8)},Tl=e,Tl}var Dl,ep;function dv(){if(ep)return Dl;ep=1;const r=ma(),e=fa();function t(n){this.mode=r.KANJI,this.data=n}return t.getBitsLength=function(a){return a*13},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){let a;for(a=0;a<this.data.length;a++){let i=e.toSJIS(this.data[a]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[a]+`
9
+ Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),n.put(i,13)}},Dl=t,Dl}var Al={exports:{}},rp;function pv(){return rp||(rp=1,function(r){var e={single_source_shortest_paths:function(t,n,a){var i={},s={};s[n]=0;var l=e.PriorityQueue.make();l.push(n,0);for(var c,u,d,p,g,_,f,v,w;!l.empty();){c=l.pop(),u=c.value,p=c.cost,g=t[u]||{};for(d in g)g.hasOwnProperty(d)&&(_=g[d],f=p+_,v=s[d],w=typeof s[d]>"u",(w||v>f)&&(s[d]=f,l.push(d,f),i[d]=u))}if(typeof a<"u"&&typeof s[a]>"u"){var h=["Could not find a path from ",n," to ",a,"."].join("");throw new Error(h)}return i},extract_shortest_path_from_predecessor_list:function(t,n){for(var a=[],i=n;i;)a.push(i),t[i],i=t[i];return a.reverse(),a},find_path:function(t,n,a){var i=e.single_source_shortest_paths(t,n,a);return e.extract_shortest_path_from_predecessor_list(i,a)},PriorityQueue:{make:function(t){var n=e.PriorityQueue,a={},i;t=t||{};for(i in n)n.hasOwnProperty(i)&&(a[i]=n[i]);return a.queue=[],a.sorter=t.sorter||n.default_sorter,a},default_sorter:function(t,n){return t.cost-n.cost},push:function(t,n){var a={value:t,cost:n};this.queue.push(a),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};r.exports=e}(Al)),Al.exports}var tp;function _v(){return tp||(tp=1,function(r){const e=ma(),t=lv(),n=cv(),a=uv(),i=dv(),s=Gd(),l=fa(),c=pv();function u(h){return unescape(encodeURIComponent(h)).length}function d(h,y,k){const b=[];let E;for(;(E=h.exec(k))!==null;)b.push({data:E[0],index:E.index,mode:y,length:E[0].length});return b}function p(h){const y=d(s.NUMERIC,e.NUMERIC,h),k=d(s.ALPHANUMERIC,e.ALPHANUMERIC,h);let b,E;return l.isKanjiModeEnabled()?(b=d(s.BYTE,e.BYTE,h),E=d(s.KANJI,e.KANJI,h)):(b=d(s.BYTE_KANJI,e.BYTE,h),E=[]),y.concat(k,b,E).sort(function(I,q){return I.index-q.index}).map(function(I){return{data:I.data,mode:I.mode,length:I.length}})}function g(h,y){switch(y){case e.NUMERIC:return t.getBitsLength(h);case e.ALPHANUMERIC:return n.getBitsLength(h);case e.KANJI:return i.getBitsLength(h);case e.BYTE:return a.getBitsLength(h)}}function _(h){return h.reduce(function(y,k){const b=y.length-1>=0?y[y.length-1]:null;return b&&b.mode===k.mode?(y[y.length-1].data+=k.data,y):(y.push(k),y)},[])}function f(h){const y=[];for(let k=0;k<h.length;k++){const b=h[k];switch(b.mode){case e.NUMERIC:y.push([b,{data:b.data,mode:e.ALPHANUMERIC,length:b.length},{data:b.data,mode:e.BYTE,length:b.length}]);break;case e.ALPHANUMERIC:y.push([b,{data:b.data,mode:e.BYTE,length:b.length}]);break;case e.KANJI:y.push([b,{data:b.data,mode:e.BYTE,length:u(b.data)}]);break;case e.BYTE:y.push([{data:b.data,mode:e.BYTE,length:u(b.data)}])}}return y}function v(h,y){const k={},b={start:{}};let E=["start"];for(let S=0;S<h.length;S++){const I=h[S],q=[];for(let x=0;x<I.length;x++){const F=I[x],T=""+S+x;q.push(T),k[T]={node:F,lastCount:0},b[T]={};for(let j=0;j<E.length;j++){const O=E[j];k[O]&&k[O].node.mode===F.mode?(b[O][T]=g(k[O].lastCount+F.length,F.mode)-g(k[O].lastCount,F.mode),k[O].lastCount+=F.length):(k[O]&&(k[O].lastCount=F.length),b[O][T]=g(F.length,F.mode)+4+e.getCharCountIndicator(F.mode,y))}}E=q}for(let S=0;S<E.length;S++)b[E[S]].end=0;return{map:b,table:k}}function w(h,y){let k;const b=e.getBestModeForData(h);if(k=e.from(y,b),k!==e.BYTE&&k.bit<b.bit)throw new Error('"'+h+'" cannot be encoded with mode '+e.toString(k)+`.
10
+ Suggested mode is: `+e.toString(b));switch(k===e.KANJI&&!l.isKanjiModeEnabled()&&(k=e.BYTE),k){case e.NUMERIC:return new t(h);case e.ALPHANUMERIC:return new n(h);case e.KANJI:return new i(h);case e.BYTE:return new a(h)}}r.fromArray=function(y){return y.reduce(function(k,b){return typeof b=="string"?k.push(w(b,null)):b.data&&k.push(w(b.data,b.mode)),k},[])},r.fromString=function(y,k){const b=p(y,l.isKanjiModeEnabled()),E=f(b),S=v(E,k),I=c.find_path(S.map,"start","end"),q=[];for(let x=1;x<I.length-1;x++)q.push(S.table[I[x]].node);return r.fromArray(_(q))},r.rawSplit=function(y){return r.fromArray(p(y,l.isKanjiModeEnabled()))}}(Sl)),Sl}var np;function gv(){if(np)return pl;np=1;const r=fa(),e=gl(),t=Qh(),n=$h(),a=ev(),i=rv(),s=tv(),l=Bd(),c=ov(),u=iv(),d=sv(),p=ma(),g=_v();function _(S,I){const q=S.size,x=i.getPositions(I);for(let F=0;F<x.length;F++){const T=x[F][0],j=x[F][1];for(let O=-1;O<=7;O++)if(!(T+O<=-1||q<=T+O))for(let N=-1;N<=7;N++)j+N<=-1||q<=j+N||(O>=0&&O<=6&&(N===0||N===6)||N>=0&&N<=6&&(O===0||O===6)||O>=2&&O<=4&&N>=2&&N<=4?S.set(T+O,j+N,!0,!0):S.set(T+O,j+N,!1,!0))}}function f(S){const I=S.size;for(let q=8;q<I-8;q++){const x=q%2===0;S.set(q,6,x,!0),S.set(6,q,x,!0)}}function v(S,I){const q=a.getPositions(I);for(let x=0;x<q.length;x++){const F=q[x][0],T=q[x][1];for(let j=-2;j<=2;j++)for(let O=-2;O<=2;O++)j===-2||j===2||O===-2||O===2||j===0&&O===0?S.set(F+j,T+O,!0,!0):S.set(F+j,T+O,!1,!0)}}function w(S,I){const q=S.size,x=u.getEncodedBits(I);let F,T,j;for(let O=0;O<18;O++)F=Math.floor(O/3),T=O%3+q-8-3,j=(x>>O&1)===1,S.set(F,T,j,!0),S.set(T,F,j,!0)}function h(S,I,q){const x=S.size,F=d.getEncodedBits(I,q);let T,j;for(T=0;T<15;T++)j=(F>>T&1)===1,T<6?S.set(T,8,j,!0):T<8?S.set(T+1,8,j,!0):S.set(x-15+T,8,j,!0),T<8?S.set(8,x-T-1,j,!0):T<9?S.set(8,15-T-1+1,j,!0):S.set(8,15-T-1,j,!0);S.set(x-8,8,1,!0)}function y(S,I){const q=S.size;let x=-1,F=q-1,T=7,j=0;for(let O=q-1;O>0;O-=2)for(O===6&&O--;;){for(let N=0;N<2;N++)if(!S.isReserved(F,O-N)){let L=!1;j<I.length&&(L=(I[j]>>>T&1)===1),S.set(F,O-N,L),T--,T===-1&&(j++,T=7)}if(F+=x,F<0||q<=F){F-=x,x=-x;break}}}function k(S,I,q){const x=new t;q.forEach(function(N){x.put(N.mode.bit,4),x.put(N.getLength(),p.getCharCountIndicator(N.mode,S)),N.write(x)});const F=r.getSymbolTotalCodewords(S),T=l.getTotalCodewordsCount(S,I),j=(F-T)*8;for(x.getLengthInBits()+4<=j&&x.put(0,4);x.getLengthInBits()%8!==0;)x.putBit(0);const O=(j-x.getLengthInBits())/8;for(let N=0;N<O;N++)x.put(N%2?17:236,8);return b(x,S,I)}function b(S,I,q){const x=r.getSymbolTotalCodewords(I),F=l.getTotalCodewordsCount(I,q),T=x-F,j=l.getBlocksCount(I,q),O=x%j,N=j-O,L=Math.floor(x/j),C=Math.floor(T/j),D=C+1,M=L-C,U=new c(M);let V=0;const R=new Array(j),$=new Array(j);let ue=0;const pe=new Uint8Array(S.buffer);for(let ae=0;ae<j;ae++){const H=ae<N?C:D;R[ae]=pe.slice(V,V+H),$[ae]=U.encode(R[ae]),V+=H,ue=Math.max(ue,H)}const ne=new Uint8Array(x);let Z=0,B,K;for(B=0;B<ue;B++)for(K=0;K<j;K++)B<R[K].length&&(ne[Z++]=R[K][B]);for(B=0;B<M;B++)for(K=0;K<j;K++)ne[Z++]=$[K][B];return ne}function E(S,I,q,x){let F;if(Array.isArray(S))F=g.fromArray(S);else if(typeof S=="string"){let L=I;if(!L){const C=g.rawSplit(S);L=u.getBestVersionForData(C,q)}F=g.fromString(S,L||40)}else throw new Error("Invalid data");const T=u.getBestVersionForData(F,q);if(!T)throw new Error("The amount of data is too big to be stored in a QR Code");if(!I)I=T;else if(I<T)throw new Error(`
11
11
  The chosen QR Code version cannot contain this amount of data.
12
12
  Minimum version required to store current data is: `+T+`.
13
- `);const N=k(I,F,q),L=r.getSymbolSize(I),O=new n(L);return _(O,I),f(O),v(O,I),h(O,F,0),I>=7&&y(O,I),b(O,N),isNaN(x)&&(x=s.getBestMask(O,h.bind(null,O,F))),s.applyMask(x,O),h(O,F,x),{modules:O,version:I,errorCorrectionLevel:F,maskPattern:x,segments:q}}return ul.create=function(I,F){if(typeof I>"u"||I==="")throw new Error("No input text");let x=e.M,q,T;return typeof F<"u"&&(x=e.from(F.errorCorrectionLevel,e.M),q=u.from(F.version),T=s.from(F.maskPattern),F.toSJISFunc&&r.setToSJISFunction(F.toSJISFunc)),E(I,q,x,T)},ul}var Dl={},Al={},tp;function np(){return tp||(tp=1,function(r){function e(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let n=t.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+t);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(i){return[i,i]}))),n.length===6&&n.push("F","F");const a=parseInt(n.join(""),16);return{r:a>>24&255,g:a>>16&255,b:a>>8&255,a:a&255,hex:"#"+n.slice(0,6).join("")}}r.getOptions=function(n){n||(n={}),n.color||(n.color={});const a=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,i=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:i,scale:i?4:s,margin:a,color:{dark:e(n.color.dark||"#000000ff"),light:e(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},r.getScale=function(n,a){return a.width&&a.width>=n+a.margin*2?a.width/(n+a.margin*2):a.scale},r.getImageWidth=function(n,a){const i=r.getScale(n,a);return Math.floor((n+a.margin*2)*i)},r.qrToImageData=function(n,a,i){const s=a.modules.size,l=a.modules.data,c=r.getScale(s,i),u=Math.floor((s+i.margin*2)*c),d=i.margin*c,p=[i.color.light,i.color.dark];for(let g=0;g<u;g++)for(let _=0;_<u;_++){let f=(g*u+_)*4,v=i.color.light;if(g>=d&&_>=d&&g<u-d&&_<u-d){const y=Math.floor((g-d)/c),h=Math.floor((_-d)/c);v=p[l[y*s+h]?1:0]}n[f++]=v.r,n[f++]=v.g,n[f++]=v.b,n[f]=v.a}}}(Al)),Al}var ap;function dv(){return ap||(ap=1,function(r){const e=np();function t(a,i,s){a.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}r.render=function(i,s,l){let c=l,u=s;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(u=n()),c=e.getOptions(c);const d=e.getImageWidth(i.modules.size,c),p=u.getContext("2d"),g=p.createImageData(d,d);return e.qrToImageData(g.data,i,c),t(p,u,d),p.putImageData(g,0,0),u},r.renderToDataURL=function(i,s,l){let c=l;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={});const u=r.render(i,s,c),d=c.type||"image/png",p=c.rendererOpts||{};return u.toDataURL(d,p.quality)}}(Dl)),Dl}var Fl={},op;function pv(){if(op)return Fl;op=1;const r=np();function e(a,i){const s=a.a/255,l=i+'="'+a.hex+'"';return s<1?l+" "+i+'-opacity="'+s.toFixed(2).slice(1)+'"':l}function t(a,i,s){let l=a+i;return typeof s<"u"&&(l+=" "+s),l}function n(a,i,s){let l="",c=0,u=!1,d=0;for(let p=0;p<a.length;p++){const g=Math.floor(p%i),_=Math.floor(p/i);!g&&!u&&(u=!0),a[p]?(d++,p>0&&g>0&&a[p-1]||(l+=u?t("M",g+s,.5+_+s):t("m",c,0),c=0,u=!1),g+1<i&&a[p+1]||(l+=t("h",d),d=0)):c++}return l}return Fl.render=function(i,s,l){const c=r.getOptions(s),u=i.modules.size,d=i.modules.data,p=u+c.margin*2,g=c.color.light.a?"<path "+e(c.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",_="<path "+e(c.color.dark,"stroke")+' d="'+n(d,u,c.margin)+'"/>',f='viewBox="0 0 '+p+" "+p+'"',y='<svg xmlns="http://www.w3.org/2000/svg" '+(c.width?'width="'+c.width+'" height="'+c.width+'" ':"")+f+' shape-rendering="crispEdges">'+g+_+`</svg>
14
- `;return typeof l=="function"&&l(null,y),y},Fl}var ip;function _v(){if(ip)return Ya;ip=1;const r=Gh(),e=uv(),t=dv(),n=pv();function a(i,s,l,c,u){const d=[].slice.call(arguments,1),p=d.length,g=typeof d[p-1]=="function";if(!g&&!r())throw new Error("Callback required as last argument");if(g){if(p<2)throw new Error("Too few arguments provided");p===2?(u=l,l=s,s=c=void 0):p===3&&(s.getContext&&typeof u>"u"?(u=c,c=void 0):(u=c,c=l,l=s,s=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=s,s=c=void 0):p===2&&!s.getContext&&(c=l,l=s,s=void 0),new Promise(function(_,f){try{const v=e.create(l,c);_(i(v,s,c))}catch(v){f(v)}})}try{const _=e.create(l,c);u(null,i(_,s,c))}catch(_){u(_)}}return Ya.create=e.create,Ya.toCanvas=a.bind(null,t.render),Ya.toDataURL=a.bind(null,t.renderToDataURL),Ya.toString=a.bind(null,function(i,s,l){return n.render(i,l)}),Ya}var gv=_v();const fv=Yh(gv);var mv=W('<div class="qr-wrapper svelte-1xx8p2k"><img alt="Redemption QR Code" class="qr-code svelte-1xx8p2k"/></div>');const hv={hash:"svelte-1xx8p2k",code:".qr-wrapper.svelte-1xx8p2k {display:flex;justify-content:center;align-items:center;align-self:center;width:fit-content;margin:0 auto;background-color:#ffffff;border-radius:8px;padding:16px;}.qr-code.svelte-1xx8p2k {display:block;width:128px;height:128px;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;}"};function vv(r,e){fe(e,!0),Pe(r,hv);const t=()=>ge(i,"$variables",n),[n,a]=He(),i=il(),s=m(()=>{var f;return(f=t())==null?void 0:f["success.redemption_url"]});let l=te(!0),c=te(""),u=te(!1);Er(()=>{const f=window.matchMedia("(max-width: 767px)");z(l,f.matches,!0);const v=y=>{z(l,y.matches,!0)};return f.addEventListener("change",v),()=>{f.removeEventListener("change",v)}}),gr(()=>{!o(l)&&o(s)&&(z(u,!1),fv.toDataURL(o(s),{width:512,margin:2,errorCorrectionLevel:"M",color:{dark:"#000000",light:"#ffffff"}}).then(f=>{z(c,f,!0)}).catch(f=>{console.warn("Failed to generate QR code:",f),z(u,!0)}))});var d=Se(),p=se(d);{var g=f=>{jr(f,_r(()=>e.stack,{onclick:()=>{window.location.href=o(s)}}))},_=f=>{var v=Se(),y=se(v);{var h=b=>{var k=mv(),w=D(k);X(()=>we(w,"src",o(c))),P(b,k)};G(y,b=>{o(c)&&b(h)},!0)}P(f,v)};G(p,f=>{(o(l)||o(u))&&o(s)?f(g):f(_,!1)})}P(r,d),me(),a()}function yv(r,e){const t=J(e,"style",3,""),n=J(e,"component",3,"p");var a=Se(),i=se(a);Us(i,n,!1,(s,l)=>{Ys(s,()=>({style:t()}));var c=Se(),u=se(c);wr(u,()=>e.children??er),P(l,c)}),P(r,a)}var bv=W("<span><!></span>");function Ml(r,e){fe(e,!0);const t=()=>ge(u,"$selectedState",s),n=()=>ge(d,"$packageInfo",s),a=()=>ge(w,"$variables",s),i=()=>ge(g,"$selectedPackageId",s),[s,l]=He(),c=Ir(e,["$$slots","$$events","$$legacy"]),u=xt(),d=zn(),{uiConfig:p,selectedPackageId:g,emitComponentInteraction:_,onNavigateToUrl:f}=Gr(),v=m(()=>{var L,O,j;return{...c,...Et(t(),e.overrides),...nh(!!((L=n())!=null&&L.hasIntroOffer)||!!((O=n())!=null&&O.hasTrial),e.overrides),...ah(!!((j=n())!=null&&j.hasPromoOffer),e.overrides)}}),y=st(),h=m(y);let b=m(()=>Ch(o(h),o(v),p.app.fonts));const k=m(()=>Th(o(h),o(v),o(v).size,o(v).background_color)),w=qn(),{getLocalizedString:E}=Si(),S=m(()=>xd(E(o(v).text_lid),a())),I=m(()=>Mn({selectedPackageId:i(),packageInfo:n(),variables:a()??{}},e.overrides,e.visible)),F=m(()=>zh(o(S))),x=L=>{if(L.defaultPrevented||L.button!==0||L.metaKey||L.ctrlKey||L.shiftKey||L.altKey)return;const O=L.target;if(!(O instanceof Element))return;const j=O.closest("a[href]");if(!(j instanceof HTMLAnchorElement))return;const C=j.getAttribute("href")??j.href;C&&(_({componentType:"text",componentName:e.name,componentValue:"navigate_to_url",componentURL:C}),f==null||f(C))};var q=Se(),T=se(q);{var N=L=>{var O=bv();O.__click=x;var j=D(O);yv(j,{get style(){return o(b)},component:"span",children:(C,A)=>{var M=Se(),U=se(M);fn(U,()=>o(F)),P(C,M)},$$slots:{default:!0}}),X(()=>Ae(O,o(k))),P(L,O)};G(T,L=>{o(I)&&L(N)})}P(r,q),me(),l()}_n(["click"]);function kv(r,e){return typeof r.addEventListener=="function"?(r.addEventListener("change",e),()=>r.removeEventListener("change",e)):(r.addListener(e),()=>r.removeListener(e))}function Fi(r,e){r.muted=e.preferMuted||e.mutedPlaybackOverride,r.playsInline=!0}function wv(r,e){const{cancelled:t,preferMuted:n,getMutedOverride:a,setMutedOverride:i}=e;if(t()||!r.paused||(Fi(r,{preferMuted:n,mutedPlaybackOverride:a()}),r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const s=r.play();s!==void 0&&s.catch(()=>{t()||!r.isConnected||!n&&!a()&&(i(!0),Fi(r,{preferMuted:n,mutedPlaybackOverride:!0}),r.play().catch(()=>{}))})}function sp(r,e,t){const n=()=>{t()||e()},a=()=>n();r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA?(r.addEventListener("loadeddata",a),r.addEventListener("canplay",a)):queueMicrotask(n),queueMicrotask(n),requestAnimationFrame(()=>{n()});const i=()=>n();return typeof document<"u"&&typeof window<"u"&&(document.readyState==="complete"?queueMicrotask(n):window.addEventListener("load",i)),()=>{r.removeEventListener("loadeddata",a),r.removeEventListener("canplay",a),typeof window<"u"&&window.removeEventListener("load",i)}}var Pv=W('<div class="rc-bg-video svelte-1gaf84x" aria-hidden="true"><img alt="" class="fill svelte-1gaf84x"/></div>'),xv=W('<source media="(max-width: 600px)"/>'),Ev=W('<div class="rc-bg-video svelte-1gaf84x" aria-hidden="true"><video class="fill svelte-1gaf84x" playsinline="" autoplay preload="auto"><!> <source/></video></div>',2);const Sv={hash:"svelte-1gaf84x",code:`.rc-bg-video.svelte-1gaf84x {position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none;}
13
+ `);const j=k(I,q,F),O=r.getSymbolSize(I),N=new n(O);return _(N,I),f(N),v(N,I),h(N,q,0),I>=7&&w(N,I),y(N,j),isNaN(x)&&(x=s.getBestMask(N,h.bind(null,N,q))),s.applyMask(x,N),h(N,q,x),{modules:N,version:I,errorCorrectionLevel:q,maskPattern:x,segments:F}}return pl.create=function(I,q){if(typeof I>"u"||I==="")throw new Error("No input text");let x=e.M,F,T;return typeof q<"u"&&(x=e.from(q.errorCorrectionLevel,e.M),F=u.from(q.version),T=s.from(q.maskPattern),q.toSJISFunc&&r.setToSJISFunction(q.toSJISFunc)),E(I,F,x,T)},pl}var Fl={},Ml={},ap;function op(){return ap||(ap=1,function(r){function e(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let n=t.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+t);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(i){return[i,i]}))),n.length===6&&n.push("F","F");const a=parseInt(n.join(""),16);return{r:a>>24&255,g:a>>16&255,b:a>>8&255,a:a&255,hex:"#"+n.slice(0,6).join("")}}r.getOptions=function(n){n||(n={}),n.color||(n.color={});const a=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,i=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:i,scale:i?4:s,margin:a,color:{dark:e(n.color.dark||"#000000ff"),light:e(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},r.getScale=function(n,a){return a.width&&a.width>=n+a.margin*2?a.width/(n+a.margin*2):a.scale},r.getImageWidth=function(n,a){const i=r.getScale(n,a);return Math.floor((n+a.margin*2)*i)},r.qrToImageData=function(n,a,i){const s=a.modules.size,l=a.modules.data,c=r.getScale(s,i),u=Math.floor((s+i.margin*2)*c),d=i.margin*c,p=[i.color.light,i.color.dark];for(let g=0;g<u;g++)for(let _=0;_<u;_++){let f=(g*u+_)*4,v=i.color.light;if(g>=d&&_>=d&&g<u-d&&_<u-d){const w=Math.floor((g-d)/c),h=Math.floor((_-d)/c);v=p[l[w*s+h]?1:0]}n[f++]=v.r,n[f++]=v.g,n[f++]=v.b,n[f]=v.a}}}(Ml)),Ml}var ip;function fv(){return ip||(ip=1,function(r){const e=op();function t(a,i,s){a.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}r.render=function(i,s,l){let c=l,u=s;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(u=n()),c=e.getOptions(c);const d=e.getImageWidth(i.modules.size,c),p=u.getContext("2d"),g=p.createImageData(d,d);return e.qrToImageData(g.data,i,c),t(p,u,d),p.putImageData(g,0,0),u},r.renderToDataURL=function(i,s,l){let c=l;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={});const u=r.render(i,s,c),d=c.type||"image/png",p=c.rendererOpts||{};return u.toDataURL(d,p.quality)}}(Fl)),Fl}var ql={},sp;function mv(){if(sp)return ql;sp=1;const r=op();function e(a,i){const s=a.a/255,l=i+'="'+a.hex+'"';return s<1?l+" "+i+'-opacity="'+s.toFixed(2).slice(1)+'"':l}function t(a,i,s){let l=a+i;return typeof s<"u"&&(l+=" "+s),l}function n(a,i,s){let l="",c=0,u=!1,d=0;for(let p=0;p<a.length;p++){const g=Math.floor(p%i),_=Math.floor(p/i);!g&&!u&&(u=!0),a[p]?(d++,p>0&&g>0&&a[p-1]||(l+=u?t("M",g+s,.5+_+s):t("m",c,0),c=0,u=!1),g+1<i&&a[p+1]||(l+=t("h",d),d=0)):c++}return l}return ql.render=function(i,s,l){const c=r.getOptions(s),u=i.modules.size,d=i.modules.data,p=u+c.margin*2,g=c.color.light.a?"<path "+e(c.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",_="<path "+e(c.color.dark,"stroke")+' d="'+n(d,u,c.margin)+'"/>',f='viewBox="0 0 '+p+" "+p+'"',w='<svg xmlns="http://www.w3.org/2000/svg" '+(c.width?'width="'+c.width+'" height="'+c.width+'" ':"")+f+' shape-rendering="crispEdges">'+g+_+`</svg>
14
+ `;return typeof l=="function"&&l(null,w),w},ql}var lp;function hv(){if(lp)return Ga;lp=1;const r=Jh(),e=gv(),t=fv(),n=mv();function a(i,s,l,c,u){const d=[].slice.call(arguments,1),p=d.length,g=typeof d[p-1]=="function";if(!g&&!r())throw new Error("Callback required as last argument");if(g){if(p<2)throw new Error("Too few arguments provided");p===2?(u=l,l=s,s=c=void 0):p===3&&(s.getContext&&typeof u>"u"?(u=c,c=void 0):(u=c,c=l,l=s,s=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=s,s=c=void 0):p===2&&!s.getContext&&(c=l,l=s,s=void 0),new Promise(function(_,f){try{const v=e.create(l,c);_(i(v,s,c))}catch(v){f(v)}})}try{const _=e.create(l,c);u(null,i(_,s,c))}catch(_){u(_)}}return Ga.create=e.create,Ga.toCanvas=a.bind(null,t.render),Ga.toDataURL=a.bind(null,t.renderToDataURL),Ga.toString=a.bind(null,function(i,s,l){return n.render(i,l)}),Ga}var vv=hv();const yv=Zh(vv);var bv=W('<div class="qr-wrapper svelte-11ztos9"><img alt="Redemption QR Code" class="qr-code svelte-11ztos9"/></div>');const kv={hash:"svelte-11ztos9",code:".qr-wrapper.svelte-11ztos9 {display:flex;justify-content:center;align-items:center;align-self:center;width:fit-content;margin:0 auto;background-color:#ffffff;border-radius:8px;padding:16px;}.qr-code.svelte-11ztos9 {display:block;width:128px;height:128px;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;}"};function wv(r,e){me(e,!0),Pe(r,kv);const t=()=>ge(i,"$variables",n),[n,a]=Ve(),i=ll(),s=m(()=>{var f;return(f=t())==null?void 0:f["success.redemption_url"]});let l=re(!0),c=re(""),u=re(!1);Pr(()=>{const f=window.matchMedia("(max-width: 767px)");z(l,f.matches,!0);const v=w=>{z(l,w.matches,!0)};return f.addEventListener("change",v),()=>{f.removeEventListener("change",v)}}),pr(()=>{!o(l)&&o(s)&&(z(u,!1),yv.toDataURL(o(s),{width:512,margin:2,errorCorrectionLevel:"M",color:{dark:"#000000",light:"#ffffff"}}).then(f=>{z(c,f,!0)}).catch(f=>{console.warn("Failed to generate QR code:",f),z(u,!0)}))});var d=Ie(),p=ie(d);{var g=f=>{Lr(f,gr(()=>e.stack,{onclick:()=>{window.location.href=o(s)}}))},_=f=>{var v=Ie(),w=ie(v);{var h=y=>{var k=bv(),b=A(k);X(()=>be(b,"src",o(c))),P(y,k)};G(w,y=>{o(c)&&y(h)},!0)}P(f,v)};G(p,f=>{(o(l)||o(u))&&o(s)?f(g):f(_,!1)})}P(r,d),he(),a()}function Pv(r,e){const t=J(e,"style",3,""),n=J(e,"component",3,"p");var a=Ie(),i=ie(a);Ys(i,n,!1,(s,l)=>{Zs(s,()=>({style:t()}));var c=Ie(),u=ie(c);wr(u,()=>e.children??tr),P(l,c)}),P(r,a)}var xv=W("<span><!></span>");function zl(r,e){me(e,!0);const t=()=>ge(u,"$selectedState",s),n=()=>ge(d,"$packageInfo",s),a=()=>ge(b,"$variables",s),i=()=>ge(g,"$selectedPackageId",s),[s,l]=Ve(),c=Cr(e,["$$slots","$$events","$$legacy"]),u=St(),d=wn(),{uiConfig:p,selectedPackageId:g,emitComponentInteraction:_,onNavigateToUrl:f}=Br(),v=m(()=>{var O,N,L;return{...c,...It(t(),e.overrides),...sh(!!((O=n())!=null&&O.hasIntroOffer)||!!((N=n())!=null&&N.hasTrial),e.overrides),...lh(!!((L=n())!=null&&L.hasPromoOffer),e.overrides)}}),w=st(),h=m(w);let y=m(()=>Fh(o(h),o(v),p.app.fonts));const k=m(()=>Mh(o(h),o(v),o(v).size,o(v).background_color)),b=Pn(),{getLocalizedString:E}=Ti(),S=m(()=>Sd(E(o(v).text_lid),a())),I=m(()=>kn({selectedPackageId:i(),packageInfo:n(),variables:a()??{}},e.overrides,e.visible)),q=m(()=>Nh(o(S))),x=O=>{if(O.defaultPrevented||O.button!==0||O.metaKey||O.ctrlKey||O.shiftKey||O.altKey)return;const N=O.target;if(!(N instanceof Element))return;const L=N.closest("a[href]");if(!(L instanceof HTMLAnchorElement))return;const C=L.getAttribute("href")??L.href;C&&(_({componentType:"text",componentName:e.name,componentValue:"navigate_to_url",componentURL:C}),f==null||f(C))};var F=Ie(),T=ie(F);{var j=O=>{var N=xv();N.__click=x;var L=A(N);Pv(L,{get style(){return o(y)},component:"span",children:(C,D)=>{var M=Ie(),U=ie(M);fn(U,()=>o(q)),P(C,M)},$$slots:{default:!0}}),X(()=>Ae(N,o(k))),P(O,N)};G(T,O=>{o(I)&&O(j)})}P(r,F),he(),l()}_n(["click"]);function Ev(r,e){return typeof r.addEventListener=="function"?(r.addEventListener("change",e),()=>r.removeEventListener("change",e)):(r.addListener(e),()=>r.removeListener(e))}function zi(r,e){r.muted=e.preferMuted||e.mutedPlaybackOverride,r.playsInline=!0}function Sv(r,e){const{cancelled:t,preferMuted:n,getMutedOverride:a,setMutedOverride:i}=e;if(t()||!r.paused||(zi(r,{preferMuted:n,mutedPlaybackOverride:a()}),r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const s=r.play();s!==void 0&&s.catch(()=>{t()||!r.isConnected||!n&&!a()&&(i(!0),zi(r,{preferMuted:n,mutedPlaybackOverride:!0}),r.play().catch(()=>{}))})}function cp(r,e,t){const n=()=>{t()||e()},a=()=>n();r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA?(r.addEventListener("loadeddata",a),r.addEventListener("canplay",a)):queueMicrotask(n),queueMicrotask(n),requestAnimationFrame(()=>{n()});const i=()=>n();return typeof document<"u"&&typeof window<"u"&&(document.readyState==="complete"?queueMicrotask(n):window.addEventListener("load",i)),()=>{r.removeEventListener("loadeddata",a),r.removeEventListener("canplay",a),typeof window<"u"&&window.removeEventListener("load",i)}}var Iv=W('<div class="rc-bg-video svelte-16dfgn8" aria-hidden="true"><img alt="" class="fill svelte-16dfgn8"/></div>'),Cv=W('<source media="(max-width: 600px)"/>'),Tv=W('<div class="rc-bg-video svelte-16dfgn8" aria-hidden="true"><video class="fill svelte-16dfgn8" playsinline="" autoplay preload="auto"><!> <source/></video></div>',2);const Dv={hash:"svelte-16dfgn8",code:`.rc-bg-video.svelte-16dfgn8 {position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none;}
15
15
 
16
16
  /**
17
17
  * Fill the layer with absolute edges (percent heights are unreliable under nested
18
18
  * flex/absolute hosts). Beat Paywall's global \`.paywall video { max-width: 100% }\`
19
19
  * so \`object-fit: cover|contain\` applies to the full backdrop box (e.g. carousel).
20
- */.rc-bg-video.svelte-1gaf84x :is(video:where(.svelte-1gaf84x), img:where(.svelte-1gaf84x)).fill:where(.svelte-1gaf84x) {position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;display:block;}.rc-bg-video.svelte-1gaf84x video.fill:where(.svelte-1gaf84x) {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function zo(r,e){fe(e,!0),Pe(r,Sv);let t=J(e,"urlLowRes",3,null),n=J(e,"poster",3,null),a=te(null),i=te(!1),s=te(!1),l=te(!1);Er(()=>{if(typeof window>"u")return;const v=window.matchMedia("(prefers-reduced-motion: reduce)");return z(s,v.matches,!0),kv(v,()=>{z(s,v.matches,!0)})}),gr(()=>{e.url,t(),Ue(()=>{z(i,!1),z(l,!1)}),queueMicrotask(()=>{var v;(v=o(a))==null||v.load()})});const c=m(()=>o(s)||o(i)),u=m(()=>`object-fit:${e.objectFit};object-position:${e.objectPosition}`);gr(()=>{if(o(c)||!o(a)){Ue(()=>{z(l,!1)});return}const v=o(a);let y=!1;const h=()=>y,k=sp(v,()=>{wv(v,{cancelled:h,preferMuted:e.mute,getMutedOverride:()=>o(l),setMutedOverride:w=>Ue(()=>{z(l,w,!0)})})},h);return()=>{y=!0,k()}});function d(){z(i,!0)}var p=Se(),g=se(p);{var _=v=>{var y=Pv(),h=D(y);X(()=>{we(h,"src",n()),Ae(h,o(u))}),P(v,y)},f=v=>{var y=Se(),h=se(y);{var b=w=>{},k=w=>{var E=Ev(),S=D(E),I=D(S);{var F=q=>{var T=xv();X(()=>we(T,"src",t())),P(q,T)};G(I,q=>{t()&&q(F)})}var x=Y(I,2);Na(S,q=>z(a,q),()=>o(a)),X(()=>{Ae(S,o(u)),S.loop=e.loop,S.muted=e.mute||o(l),we(S,"poster",n()??void 0),we(x,"src",e.url)}),Or("error",S,d),P(w,E)};G(h,w=>{o(c)?w(b):w(k,!1)},!0)}P(v,y)};G(g,v=>{o(c)&&n()?v(_):v(f,!1)})}P(r,p),me()}function Mi(r){return`rc-${r}-video-bg`}function zi(r){if(!r.hasVideoBg)return{};const e={isolation:"isolate"};return r.positionRelative&&(e.position="relative"),r.clipOverflow&&(e.overflow="hidden"),e}function Iv(r){switch(r){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end"}}function Cv(r,e,t){return Math.max(e,Math.min(r,t))}function qi(r){if(r===null)return 0;const e=window.getComputedStyle(r);return new WebKitCSSMatrix(e.transform).m41}var Tv=W('<div class="page svelte-1je9uw2" role="group" aria-roledescription="slide"><!></div>');const Dv={hash:"svelte-1je9uw2",code:"div.svelte-1je9uw2 {flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;}"};function zl(r,e){Pe(r,Dv);const t=J(e,"hidden",3,!1);var n=Tv(),a=D(n);jr(a,_r(()=>e.page)),X(()=>{we(n,"aria-label",`Slide ${e.index+1} of ${e.pages}`),we(n,"aria-current",e.selected),we(n,"aria-hidden",t())}),P(r,n)}var Av=W("<div></div>"),Fv=W('<div class="control rc-gradient-border svelte-1t0ent5"></div>');const Mv={hash:"svelte-1t0ent5",code:".control.svelte-1t0ent5 {align-self:center;display:flex;flex-direction:row;align-items:center;justify-content:center;}"};function zv(r,e){fe(e,!0),Pe(r,Mv);const t=J(e,"background_color",3,null),n=J(e,"border",3,null),a=J(e,"shape",3,null),i=J(e,"shadow",3,null),s=st(),l=m(s);function c(f){return Ln(o(l),f.stroke_width==null||f.stroke_color==null?null:{width:f.stroke_width,color:f.stroke_color})}function u(f){return ir({width:qr(f.width),height:qr(f.height),background:lt(o(l),f.color),...c(f),"border-radius":"9999px"})}const d=m(()=>u(e.default)),p=m(()=>u(e.active)),g=m(()=>ir({order:e.position==="top"?-1:1,gap:qr(e.spacing),margin:Pr(e.margin),padding:Pr(e.padding),...Nn(o(l),t(),null),...Ln(o(l),n()),"border-radius":On(a()),"box-shadow":da(o(l),i())}));var _=Fv();Gt(_,21,()=>({length:e.length}),gn,(f,v,y)=>{var h=Av();X(()=>Ae(h,y===e.selected?o(p):o(d))),P(f,h)}),X(()=>Ae(_,o(g))),P(r,_),me()}var qv=W('<div class="carousel-bg-video-mount svelte-abl81b"><!></div>'),jv=W('<div><!> <div class="carousel-clip svelte-abl81b"><div class="slider svelte-abl81b" role="region" aria-label="Feature carousel" aria-roledescription="carousel" aria-live="polite"><!> <!> <!></div> <!></div></div>');const Lv={hash:"svelte-abl81b",code:'.carousel.svelte-abl81b {max-width:100%;display:flex;flex-direction:column;flex-shrink:0;align-self:stretch;}.carousel-clip.svelte-abl81b {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden;border-radius:inherit;}.carousel-bg-video-mount.svelte-abl81b {position:absolute;inset:0;z-index:1;border-radius:inherit;overflow:hidden;pointer-events:none;}.carousel.rc-carousel-video-bg.svelte-abl81b::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.carousel.rc-carousel-video-bg.svelte-abl81b .carousel-clip:where(.svelte-abl81b) {position:relative;z-index:3;}.slider.svelte-abl81b {display:flex;flex-direction:row;flex-wrap:nowrap;transition-property:transform;transition-duration:500ms;transition-timing-function:ease-in-out;transition-delay:2500ms;transform:translateX(0);touch-action:pan-y;cursor:grab;&:active {cursor:grabbing;user-select:none;}}'};function Ov(r,e){fe(e,!0),Pe(r,Lv);const t=()=>ge(s,"$selectedState",n),[n,a]=He(),i=Ir(e,["$$slots","$$events","$$legacy"]),s=xt(),l=m(()=>({...i,...Et(t(),e.overrides)})),c=m(()=>o(l).pages),u=m(()=>o(l).padding),d=m(()=>o(l).margin),p=m(()=>o(l).background),g=m(()=>o(l).shape),_=m(()=>o(l).border),f=m(()=>o(l).shadow),v=m(()=>o(l).page_alignment),y=m(()=>o(l).page_spacing),h=m(()=>o(l).page_peek),b=m(()=>o(l).page_control),k=m(()=>o(l).initial_page_index),w=m(()=>o(l).loop),E=m(()=>o(l).auto_advance),S=st(),I=m(S),{emitComponentInteraction:F}=Gr(),x=m(()=>{var ce;return((ce=o(p))==null?void 0:ce.type)==="video"}),q=m(()=>{if(!o(x))return null;const ce=o(p);return!ce||ce.type!=="video"?null:Ao(o(I),ce)}),T=m(()=>On(o(g))),N=m(()=>{var ce;return ir({margin:Pr(o(d)),padding:Pr(o(u)),...zi({hasVideoBg:o(x),positionRelative:!0}),...Nn(o(I),null,o(p)),...Ln(o(I),o(_)),"border-radius":o(T),"box-shadow":da(o(I),o(f)),"transition-duration":`${((ce=o(E))==null?void 0:ce.ms_transition_time)??0}ms`})}),L=m(()=>ir({gap:qr(o(y)),padding:`0 ${o(h)+o(y)}px`,"align-items":Iv(o(v))})),O=m(()=>{if(!o(w))return[];const ce=o(c).length-1;switch(o(c).length){case 0:return[];case 1:return[0,0];case 2:return[0,ce];default:return[ce-1,ce]}}),j=m(()=>{if(!o(w))return[];switch(o(c).length){case 0:return[];case 1:return[0,0];default:return[0,1]}});let C=null,A=te(0),M=te(0),U=m(()=>2*o(h)+o(y)),V=m(()=>o(M)-o(U)),R=te(null);function $(){return o(c).at(o(k))!==void 0?o(k):0}function le(ce){return o(c).length===0?0:(ce%o(c).length+o(c).length)%o(c).length}function _e(ce){var Re;return(Re=o(c)[ce])==null?void 0:Re.name}function ae(ce=!0,Re){var fr,Br;if(C===null)return;const hr=ce?((fr=o(E))==null?void 0:fr.ms_time_per_page)??0:0;Re??(Re=((Br=o(E))==null?void 0:Br.ms_transition_time)??0),C.style.transition=`transform ${Re}ms ease-in-out ${hr}ms`}function Z(){C!==null&&(C.style.transition="none")}const B=m(()=>o(w)?2:0);function K(ce){C!==null&&(C.style.transform=`translateX(${ce}px)`)}function oe(ce){if(C===null)return;ce+=o(B);const Re=ce*-o(V);K(Re)}function H(ce){ce%=o(c).length+o(B),ae(!0),oe(ce)}function pe(){o(E)!=null&&requestAnimationFrame(()=>{H(o(A)+1)})}Er(()=>{const ce=$();z(A,ce,!0),Z(),oe(o(A)),pe()});function ue(ce){return Math.round(ce/-o(V))-o(B)}function Ee(){const ce=qi(C),Re=ue(ce);z(A,(Re+o(c).length)%o(c).length),Z(),oe(o(A)),requestAnimationFrame(()=>{pe()})}let qe=te(0);function Me(ce){ce.currentTarget.setPointerCapture(ce.pointerId),z(qe,qi(C),!0),z(R,o(A),!0)}function Te(ce){ce.currentTarget.releasePointerCapture(ce.pointerId);const hr=qi(C),fr=ue(hr),Br=le(fr);o(R)!==null&&o(R)!==Br&&F({componentType:"carousel",componentName:e.name,componentValue:Br.toString(),originIndex:o(R),destinationIndex:Br,originContextName:_e(o(R)),destinationContextName:_e(Br),defaultIndex:$()}),z(R,null),ae(!1,500),oe(fr)}function Ie(ce){if(!ce.currentTarget.hasPointerCapture(ce.pointerId))return;const[hr,fr]=o(w)?[o(qe)-o(M),o(qe)+o(M)]:[-(o(c).length-1)*o(V),0],Br=qi(C),vt=Cv(Br+ce.movementX,hr,fr),Zn=ue(vt);z(A,(Zn+o(c).length)%o(c).length),K(vt),Z()}var Be=jv(),Ye=D(Be);{var ie=ce=>{var Re=qv(),hr=D(Re);zo(hr,{get url(){return o(q).url},get urlLowRes(){return o(q).url_low_res},get objectFit(){return o(q).fit},get objectPosition(){return o(q).position},get poster(){return o(q).posterWebp},get mute(){return o(q).mute},get loop(){return o(q).loop}}),P(ce,Re)};G(Ye,ce=>{o(q)&&ce(ie)})}var ye=Y(Ye,2),ne=D(ye);ne.__pointerdown=Me,ne.__pointerup=Te,ne.__pointermove=Ie;var Ce=D(ne);Gt(Ce,17,()=>o(O),gn,(ce,Re)=>{{let hr=m(()=>o(A)===o(Re));zl(ce,{get page(){return o(c)[o(Re)]},get index(){return o(Re)},get pages(){return o(c).length},get selected(){return o(hr)},hidden:!0})}});var Ke=Y(Ce,2);Gt(Ke,17,()=>o(c),gn,(ce,Re,hr)=>{{let fr=m(()=>o(A)===hr);zl(ce,{get page(){return o(Re)},index:hr,get pages(){return o(c).length},get selected(){return o(fr)}})}});var nr=Y(Ke,2);Gt(nr,17,()=>o(j),gn,(ce,Re)=>{{let hr=m(()=>o(A)===o(Re));zl(ce,{get page(){return o(c)[o(Re)]},get index(){return o(Re)},get pages(){return o(c).length},get selected(){return o(hr)},hidden:!0})}}),Na(ne,ce=>C=ce,()=>C);var yr=Y(ne,2);{var Ne=ce=>{zv(ce,_r(()=>o(b),{get length(){return o(c).length},get selected(){return o(A)}}))};G(yr,ce=>{o(b)!=null&&ce(Ne)})}X(ce=>{pr(Be,1,ce,"svelte-abl81b"),Ae(Be,o(N)),Ae(ne,o(L))},[()=>ca(["carousel","rc-gradient-border",o(x)?Mi("carousel"):""].filter(Boolean).join(" "))]),Or("transitionend",ne,Ee),wi(ne,"clientWidth",ce=>z(M,ce)),P(r,Be),me(),a()}_n(["pointerdown","pointerup","pointermove"]);var Nv=W('<div class="rc-gradient-border"><div></div></div>');function lp(r,e){fe(e,!0);const t=()=>ge(u,"$selectedState",s),n=()=>ge(p,"$selectedPackageId",s),a=()=>ge(d,"$packageInfo",s),i=()=>ge(g,"$variables",s),[s,l]=He(),c=Ir(e,["$$slots","$$events","$$legacy"]),u=xt(),d=zn(),{selectedPackageId:p}=Gr(),g=qn(),_=m(()=>({...c,...Et(t(),e.overrides)})),f=m(()=>o(_).base_url),v=m(()=>o(_).formats),y=m(()=>o(_).size),h=m(()=>o(_).margin),b=m(()=>o(_).padding),k=m(()=>o(_).color),w=m(()=>o(_).icon_background),E=st(),S=m(E),I=m(()=>{var O,j,C,A;return ir({width:Cr(o(y).width),height:Cr(o(y).height),margin:Pr(o(h)),padding:Pr(o(b)),"background-color":lt(o(S),(O=o(w))==null?void 0:O.color),...Ln(o(S),(j=o(w))==null?void 0:j.border),"border-radius":On((C=o(w))==null?void 0:C.shape),"box-shadow":da(o(S),(A=o(w))==null?void 0:A.shadow),flex:"0 0 auto"})}),F=m(()=>Mn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible)),x=m(()=>`${o(f)}/${o(v).webp}`),q=m(()=>ir({width:"100%",height:"100%",position:"relative","z-index":1,overflow:"hidden","background-color":lt(o(S),o(k)),"mask-image":`url(${o(x)})`,"-webkit-mask-image":`url(${o(x)})`,"mask-size":"contain","-webkit-mask-size":"contain","mask-position":"center","-webkit-mask-position":"center","mask-repeat":"no-repeat","-webkit-mask-repeat":"no-repeat"}));var T=Se(),N=se(T);{var L=O=>{var j=Nv(),C=D(j);X(()=>{Ae(j,o(I)),Ae(C,o(q))}),P(O,j)};G(N,O=>{o(F)&&O(L)})}P(r,T),me(),l()}const cp=Symbol("selected");function Bv(r){kr(cp,r)}function ql(){const r=Xe(cp);if(r===void 0)throw new Error("Tabs context not found");return r}function Rv(r,e){fe(e,!0);const t=()=>ge(i,"$control",n),[n,a]=He(),{control:i}=ql();jr(r,_r(()=>t().stack)),me(),a()}function Uv(r,e){fe(e,!0);const{selectedTabId:t,selectTab:n}=ql();Ii(Lt(t,i=>i===e.tab_id)),jr(r,_r(()=>e.stack,{onclick:()=>{n(e.tab_id,e.tab_index,"tab")}})),me()}var Vv=W('<div role="button" tabindex="0" aria-label="Toggle" class="toggle svelte-nc2d5j"><div class="thumb svelte-nc2d5j"></div></div>');const Wv={hash:"svelte-nc2d5j",code:`.toggle.svelte-nc2d5j {appearance:none;--height: 31px;position:relative;width:51px;height:var(--height);border-radius:calc(var(--height) / 2);cursor:pointer;user-select:none;transition:background-color 300ms ease;}.thumb.svelte-nc2d5j {--size: 27px;position:absolute;top:2px;width:var(--size);height:var(--size);border-radius:50%;box-shadow:0 1px 3px rgba(0, 0, 0, 0.2),
20
+ */.rc-bg-video.svelte-16dfgn8 :is(video:where(.svelte-16dfgn8), img:where(.svelte-16dfgn8)).fill:where(.svelte-16dfgn8) {position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;display:block;}.rc-bg-video.svelte-16dfgn8 video.fill:where(.svelte-16dfgn8) {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function zo(r,e){me(e,!0),Pe(r,Dv);let t=J(e,"urlLowRes",3,null),n=J(e,"poster",3,null),a=re(null),i=re(!1),s=re(!1),l=re(!1);Pr(()=>{if(typeof window>"u")return;const v=window.matchMedia("(prefers-reduced-motion: reduce)");return z(s,v.matches,!0),Ev(v,()=>{z(s,v.matches,!0)})}),pr(()=>{e.url,t(),He(()=>{z(i,!1),z(l,!1)}),queueMicrotask(()=>{var v;(v=o(a))==null||v.load()})});const c=m(()=>o(s)||o(i)),u=m(()=>`object-fit:${e.objectFit};object-position:${e.objectPosition}`);pr(()=>{if(o(c)||!o(a)){He(()=>{z(l,!1)});return}const v=o(a);let w=!1;const h=()=>w,k=cp(v,()=>{Sv(v,{cancelled:h,preferMuted:e.mute,getMutedOverride:()=>o(l),setMutedOverride:b=>He(()=>{z(l,b,!0)})})},h);return()=>{w=!0,k()}});function d(){z(i,!0)}var p=Ie(),g=ie(p);{var _=v=>{var w=Iv(),h=A(w);X(()=>{be(h,"src",n()),Ae(h,o(u))}),P(v,w)},f=v=>{var w=Ie(),h=ie(w);{var y=b=>{},k=b=>{var E=Tv(),S=A(E),I=A(S);{var q=F=>{var T=Cv();X(()=>be(T,"src",t())),P(F,T)};G(I,F=>{t()&&F(q)})}var x=Y(I,2);pa(S,F=>z(a,F),()=>o(a)),X(()=>{Ae(S,o(u)),S.loop=e.loop,S.muted=e.mute||o(l),be(S,"poster",n()??void 0),be(x,"src",e.url)}),jr("error",S,d),P(b,E)};G(h,b=>{o(c)?b(y):b(k,!1)},!0)}P(v,w)};G(g,v=>{o(c)&&n()?v(_):v(f,!1)})}P(r,p),he()}function Li(r){return`rc-${r}-video-bg`}function Oi(r){if(!r.hasVideoBg)return{};const e={isolation:"isolate"};return r.positionRelative&&(e.position="relative"),r.clipOverflow&&(e.overflow="hidden"),e}function Av(r){switch(r){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end"}}function Fv(r,e,t){return Math.max(e,Math.min(r,t))}function Ni(r){if(r===null)return 0;const e=window.getComputedStyle(r);return new WebKitCSSMatrix(e.transform).m41}var Mv=W('<div class="page svelte-yv09wr" role="group" aria-roledescription="slide"><!></div>');const qv={hash:"svelte-yv09wr",code:"div.svelte-yv09wr {flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;}"};function Ll(r,e){Pe(r,qv);const t=J(e,"hidden",3,!1);var n=Mv(),a=A(n);Lr(a,gr(()=>e.page)),X(()=>{be(n,"aria-label",`Slide ${e.index+1} of ${e.pages}`),be(n,"aria-current",e.selected),be(n,"aria-hidden",t())}),P(r,n)}var zv=W("<div></div>"),Lv=W('<div class="control rc-gradient-border svelte-1139mm4"></div>');const Ov={hash:"svelte-1139mm4",code:".control.svelte-1139mm4 {align-self:center;display:flex;flex-direction:row;align-items:center;justify-content:center;}"};function Nv(r,e){me(e,!0),Pe(r,Ov);const t=J(e,"background_color",3,null),n=J(e,"border",3,null),a=J(e,"shape",3,null),i=J(e,"shadow",3,null),s=st(),l=m(s);function c(f){return Nn(o(l),f.stroke_width==null||f.stroke_color==null?null:{width:f.stroke_width,color:f.stroke_color})}function u(f){return or({width:Tr(f.width),height:Tr(f.height),background:lt(o(l),f.color),...c(f),"border-radius":"9999px"})}const d=m(()=>u(e.default)),p=m(()=>u(e.active)),g=m(()=>or({order:e.position==="top"?-1:1,gap:Tr(e.spacing),margin:xr(e.margin),padding:xr(e.padding),...Bn(o(l),t(),null),...Nn(o(l),n()),"border-radius":jn(a()),"box-shadow":ga(o(l),i())}));var _=Lv();Kt(_,21,()=>({length:e.length}),gn,(f,v,w)=>{var h=zv();X(()=>Ae(h,w===e.selected?o(p):o(d))),P(f,h)}),X(()=>Ae(_,o(g))),P(r,_),he()}var jv=W('<div class="carousel-bg-video-mount svelte-17hwce6"><!></div>'),Bv=W('<div><!> <div class="carousel-clip svelte-17hwce6"><div class="slider svelte-17hwce6" role="region" aria-label="Feature carousel" aria-roledescription="carousel" aria-live="polite"><!> <!> <!></div> <!></div></div>');const Rv={hash:"svelte-17hwce6",code:'.carousel.svelte-17hwce6 {max-width:100%;display:flex;flex-direction:column;flex-shrink:0;align-self:stretch;}.carousel-clip.svelte-17hwce6 {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden;border-radius:inherit;}.carousel-bg-video-mount.svelte-17hwce6 {position:absolute;inset:0;z-index:1;border-radius:inherit;overflow:hidden;pointer-events:none;}.carousel.rc-carousel-video-bg.svelte-17hwce6::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.carousel.rc-carousel-video-bg.svelte-17hwce6 .carousel-clip:where(.svelte-17hwce6) {position:relative;z-index:3;}.slider.svelte-17hwce6 {display:flex;flex-direction:row;flex-wrap:nowrap;transition-property:transform;transition-duration:500ms;transition-timing-function:ease-in-out;transition-delay:2500ms;transform:translateX(0);touch-action:pan-y;cursor:grab;&:active {cursor:grabbing;user-select:none;}}'};function Uv(r,e){me(e,!0),Pe(r,Rv);const t=()=>ge(s,"$selectedState",n),[n,a]=Ve(),i=Cr(e,["$$slots","$$events","$$legacy"]),s=St(),l=m(()=>({...i,...It(t(),e.overrides)})),c=m(()=>o(l).pages),u=m(()=>o(l).padding),d=m(()=>o(l).margin),p=m(()=>o(l).background),g=m(()=>o(l).shape),_=m(()=>o(l).border),f=m(()=>o(l).shadow),v=m(()=>o(l).page_alignment),w=m(()=>o(l).page_spacing),h=m(()=>o(l).page_peek),y=m(()=>o(l).page_control),k=m(()=>o(l).initial_page_index),b=m(()=>o(l).loop),E=m(()=>o(l).auto_advance),S=st(),I=m(S),{emitComponentInteraction:q}=Br(),x=m(()=>{var oe;return((oe=o(p))==null?void 0:oe.type)==="video"}),F=m(()=>{if(!o(x))return null;const oe=o(p);return!oe||oe.type!=="video"?null:Fo(o(I),oe)}),T=m(()=>jn(o(g))),j=m(()=>{var oe;return or({margin:xr(o(d)),padding:xr(o(u)),...Oi({hasVideoBg:o(x),positionRelative:!0}),...Bn(o(I),null,o(p)),...Nn(o(I),o(_)),"border-radius":o(T),"box-shadow":ga(o(I),o(f)),"transition-duration":`${((oe=o(E))==null?void 0:oe.ms_transition_time)??0}ms`})}),O=m(()=>or({gap:Tr(o(w)),padding:`0 ${o(h)+o(w)}px`,"align-items":Av(o(v))})),N=m(()=>{if(!o(b))return[];const oe=o(c).length-1;switch(o(c).length){case 0:return[];case 1:return[0,0];case 2:return[0,oe];default:return[oe-1,oe]}}),L=m(()=>{if(!o(b))return[];switch(o(c).length){case 0:return[];case 1:return[0,0];default:return[0,1]}});let C=null,D=re(0),M=re(0),U=m(()=>2*o(h)+o(w)),V=m(()=>o(M)-o(U)),R=re(null);function $(){return o(c).at(o(k))!==void 0?o(k):0}function ue(oe){return o(c).length===0?0:(oe%o(c).length+o(c).length)%o(c).length}function pe(oe){var Be;return(Be=o(c)[oe])==null?void 0:Be.name}function ne(oe=!0,Be){var fr,Ur;if(C===null)return;const hr=oe?((fr=o(E))==null?void 0:fr.ms_time_per_page)??0:0;Be??(Be=((Ur=o(E))==null?void 0:Ur.ms_transition_time)??0),C.style.transition=`transform ${Be}ms ease-in-out ${hr}ms`}function Z(){C!==null&&(C.style.transition="none")}const B=m(()=>o(b)?2:0);function K(oe){C!==null&&(C.style.transform=`translateX(${oe}px)`)}function ae(oe){if(C===null)return;oe+=o(B);const Be=oe*-o(V);K(Be)}function H(oe){oe%=o(c).length+o(B),ne(!0),ae(oe)}function de(){o(E)!=null&&requestAnimationFrame(()=>{H(o(D)+1)})}Pr(()=>{const oe=$();z(D,oe,!0),Z(),ae(o(D)),de()});function se(oe){return Math.round(oe/-o(V))-o(B)}function Ee(){const oe=Ni(C),Be=se(oe);z(D,(Be+o(c).length)%o(c).length),Z(),ae(o(D)),requestAnimationFrame(()=>{de()})}let Le=re(0);function Me(oe){oe.currentTarget.setPointerCapture(oe.pointerId),z(Le,Ni(C),!0),z(R,o(D),!0)}function Te(oe){oe.currentTarget.releasePointerCapture(oe.pointerId);const hr=Ni(C),fr=se(hr),Ur=ue(fr);o(R)!==null&&o(R)!==Ur&&q({componentType:"carousel",componentName:e.name,componentValue:Ur.toString(),originIndex:o(R),destinationIndex:Ur,originContextName:pe(o(R)),destinationContextName:pe(Ur),defaultIndex:$()}),z(R,null),ne(!1,500),ae(fr)}function Ce(oe){if(!oe.currentTarget.hasPointerCapture(oe.pointerId))return;const[hr,fr]=o(b)?[o(Le)-o(M),o(Le)+o(M)]:[-(o(c).length-1)*o(V),0],Ur=Ni(C),yt=Fv(Ur+oe.movementX,hr,fr),Jn=se(yt);z(D,(Jn+o(c).length)%o(c).length),K(yt),Z()}var We=Bv(),Ye=A(We);{var _e=oe=>{var Be=jv(),hr=A(Be);zo(hr,{get url(){return o(F).url},get urlLowRes(){return o(F).url_low_res},get objectFit(){return o(F).fit},get objectPosition(){return o(F).position},get poster(){return o(F).posterWebp},get mute(){return o(F).mute},get loop(){return o(F).loop}}),P(oe,Be)};G(Ye,oe=>{o(F)&&oe(_e)})}var Se=Y(Ye,2),le=A(Se);le.__pointerdown=Me,le.__pointerup=Te,le.__pointermove=Ce;var fe=A(le);Kt(fe,17,()=>o(N),gn,(oe,Be)=>{{let hr=m(()=>o(D)===o(Be));Ll(oe,{get page(){return o(c)[o(Be)]},get index(){return o(Be)},get pages(){return o(c).length},get selected(){return o(hr)},hidden:!0})}});var je=Y(fe,2);Kt(je,17,()=>o(c),gn,(oe,Be,hr)=>{{let fr=m(()=>o(D)===hr);Ll(oe,{get page(){return o(Be)},index:hr,get pages(){return o(c).length},get selected(){return o(fr)}})}});var Ue=Y(je,2);Kt(Ue,17,()=>o(L),gn,(oe,Be)=>{{let hr=m(()=>o(D)===o(Be));Ll(oe,{get page(){return o(c)[o(Be)]},get index(){return o(Be)},get pages(){return o(c).length},get selected(){return o(hr)},hidden:!0})}}),pa(le,oe=>C=oe,()=>C);var Er=Y(le,2);{var qe=oe=>{Nv(oe,gr(()=>o(y),{get length(){return o(c).length},get selected(){return o(D)}}))};G(Er,oe=>{o(y)!=null&&oe(qe)})}X(oe=>{_r(We,1,oe,"svelte-17hwce6"),Ae(We,o(j)),Ae(le,o(O))},[()=>da(["carousel","rc-gradient-border",o(x)?Li("carousel"):""].filter(Boolean).join(" "))]),jr("transitionend",le,Ee),Pi(le,"clientWidth",oe=>z(M,oe)),P(r,We),he(),a()}_n(["pointerdown","pointerup","pointermove"]);var Vv=W('<div class="rc-gradient-border"><div></div></div>');function up(r,e){me(e,!0);const t=()=>ge(u,"$selectedState",s),n=()=>ge(p,"$selectedPackageId",s),a=()=>ge(d,"$packageInfo",s),i=()=>ge(g,"$variables",s),[s,l]=Ve(),c=Cr(e,["$$slots","$$events","$$legacy"]),u=St(),d=wn(),{selectedPackageId:p}=Br(),g=Pn(),_=m(()=>({...c,...It(t(),e.overrides)})),f=m(()=>o(_).base_url),v=m(()=>o(_).formats),w=m(()=>o(_).size),h=m(()=>o(_).margin),y=m(()=>o(_).padding),k=m(()=>o(_).color),b=m(()=>o(_).icon_background),E=st(),S=m(E),I=m(()=>{var N,L,C,D;return or({width:br(o(w).width),height:br(o(w).height),margin:xr(o(h)),padding:xr(o(y)),"background-color":lt(o(S),(N=o(b))==null?void 0:N.color),...Nn(o(S),(L=o(b))==null?void 0:L.border),"border-radius":jn((C=o(b))==null?void 0:C.shape),"box-shadow":ga(o(S),(D=o(b))==null?void 0:D.shadow),flex:"0 0 auto"})}),q=m(()=>kn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible)),x=m(()=>`${o(f)}/${o(v).webp}`),F=m(()=>or({width:"100%",height:"100%",position:"relative","z-index":1,overflow:"hidden","background-color":lt(o(S),o(k)),"mask-image":`url(${o(x)})`,"-webkit-mask-image":`url(${o(x)})`,"mask-size":"contain","-webkit-mask-size":"contain","mask-position":"center","-webkit-mask-position":"center","mask-repeat":"no-repeat","-webkit-mask-repeat":"no-repeat"}));var T=Ie(),j=ie(T);{var O=N=>{var L=Vv(),C=A(L);X(()=>{Ae(L,o(I)),Ae(C,o(F))}),P(N,L)};G(j,N=>{o(q)&&N(O)})}P(r,T),he(),l()}const dp=Symbol("selected");function Wv(r){vr(dp,r)}function Ol(){const r=Ze(dp);if(r===void 0)throw new Error("Tabs context not found");return r}function Hv(r,e){me(e,!0);const t=()=>ge(i,"$control",n),[n,a]=Ve(),{control:i}=Ol();Lr(r,gr(()=>t().stack)),he(),a()}function Yv(r,e){me(e,!0);const{selectedTabId:t,selectTab:n}=Ol();Di(Nt(t,i=>i===e.tab_id)),Lr(r,gr(()=>e.stack,{onclick:()=>{n(e.tab_id,e.tab_index,"tab")}})),he()}var Gv=W('<div role="button" tabindex="0" aria-label="Toggle" class="toggle svelte-nvdiva"><div class="thumb svelte-nvdiva"></div></div>');const Kv={hash:"svelte-nvdiva",code:`.toggle.svelte-nvdiva {appearance:none;--height: 31px;position:relative;width:51px;height:var(--height);border-radius:calc(var(--height) / 2);cursor:pointer;user-select:none;transition:background-color 300ms ease;}.thumb.svelte-nvdiva {--size: 27px;position:absolute;top:2px;width:var(--size);height:var(--size);border-radius:50%;box-shadow:0 1px 3px rgba(0, 0, 0, 0.2),
21
21
  0 1px 2px rgba(0, 0, 0, 0.12);transition:left 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
22
- background-color 300ms ease;}`};function Hv(r,e){fe(e,!0),Pe(r,Wv);const t=()=>ge(l,"$selectedState",a),n=()=>ge(_,"$isActive",a),[a,i]=He(),s=Ir(e,["$$slots","$$events","$$legacy"]),l=xt(),c=m(()=>({...s,...Et(t(),e.overrides)})),u=m(()=>o(c).thumb_color_on),d=m(()=>o(c).thumb_color_off),p=m(()=>o(c).track_color_on),g=m(()=>o(c).track_color_off),{isActive:_,selectTab:f}=ql();Ii(_);const v=st(),y=m(v),h=m(()=>ir({background:n()?lt(o(y),o(p)):lt(o(y),o(g))})),b=m(()=>ir({left:n()?"22px":"2px",background:n()?lt(o(y),o(u)):lt(o(y),o(d))})),k=()=>{f("",n()?0:1,"switch")},w=I=>{(I.code==="Enter"||I.code==="Space")&&k()};var E=Vv();E.__click=k,E.__keydown=w;var S=D(E);X(()=>{Ae(E,o(h)),Ae(S,o(b))}),P(r,E),me(),i()}_n(["click","keydown"]);var Yv=W("<div><!> <!></div>");const Gv={hash:"svelte-14axynf",code:'.rc-tabs-video-bg.svelte-14axynf::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.rc-tabs-video-bg.svelte-14axynf > .rc-bg-video {z-index:1;}.rc-tabs-video-bg.svelte-14axynf > .rc-tabs-stack-front {position:relative;z-index:3;}'};function Kv(r,e){fe(e,!0),Pe(r,Gv);const t=()=>ge(f,"$selectedState",l),n=()=>ge(y,"$selectedPackageId",l),a=()=>ge(v,"$packageInfo",l),i=()=>ge(h,"$variables",l),s=()=>ge(U,"$tab",l),[l,c]=He(),u=Ir(e,["$$slots","$$events","$$legacy"]),{name:d,control:p,tabs:g,default_tab_id:_}=u,f=xt(),v=zn(),{selectedPackageId:y}=Gr(),h=qn(),b=m(()=>({...u,...Et(t(),e.overrides)})),k=m(()=>o(b).size),w=m(()=>o(b).padding),E=m(()=>o(b).margin),S=m(()=>o(b).background),I=m(()=>o(b).shape),F=m(()=>o(b).border),x=m(()=>o(b).shadow),q=st(),T=m(q),N=m(()=>{var Z;return((Z=o(S))==null?void 0:Z.type)==="video"}),L=m(()=>{if(!o(N))return null;const Z=o(S);return!Z||Z.type!=="video"?null:Ao(o(T),Z)}),O=m(()=>On(o(I))),j=m(()=>ir({position:"relative",width:Cr(o(k).width),height:Cr(o(k).height),margin:Pr(o(E)),padding:Pr(o(w)),...zi({hasVideoBg:o(N),clipOverflow:o(O)!=="0"}),...Nn(o(T),null,o(S)),...Ln(o(T),o(F)),"border-radius":o(O),"box-shadow":da(o(T),o(x))})),{emitComponentInteraction:C}=Gr(),A=Math.max(0,g.findIndex(Z=>Z.id===_)),M=Sr(A),U=Lt(M,Z=>g[Z]),V=Z=>{var B;return(B=g[Z])==null?void 0:B.name},R=(Z,B,K)=>{var pe;const oe=g.findIndex(ue=>ue.id===Z),H=oe!==-1?oe:B;if(H>=0&&H<g.length){const ue=Zs(M);if(ue===H)return;K==="tab"?C({componentType:"tab",componentName:d,componentValue:((pe=g[H])==null?void 0:pe.id)??Z,originIndex:ue,destinationIndex:H,originContextName:V(ue),destinationContextName:V(H),defaultIndex:A}):K==="switch"&&C({componentType:"switch",componentName:d,componentValue:H===1?"on":"off"}),M.set(H)}};Bv({control:Pt(p),selectedTabId:Lt(U,Z=>(Z==null?void 0:Z.id)??""),selectTab:R,isActive:Lt(M,Z=>Z===1)});const $=m(()=>Mn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var le=Se(),_e=se(le);{var ae=Z=>{var B=Yv(),K=D(B);{var oe=ue=>{zo(ue,{get url(){return o(L).url},get urlLowRes(){return o(L).url_low_res},get objectFit(){return o(L).fit},get objectPosition(){return o(L).position},get poster(){return o(L).posterWebp},get mute(){return o(L).mute},get loop(){return o(L).loop}})};G(K,ue=>{o(L)&&ue(oe)})}var H=Y(K,2);{var pe=ue=>{{let Ee=m(()=>o(N)?"rc-tabs-stack-front":void 0);jr(ue,_r(()=>s().stack,{get class(){return o(Ee)}}))}};G(H,ue=>{s()!==void 0&&ue(pe)})}X(ue=>{pr(B,1,ue,"svelte-14axynf"),Ae(B,o(j))},[()=>ca(["rc-gradient-border",o(N)?Mi("tabs"):""].filter(Boolean).join(" "))]),P(Z,B)};G(_e,Z=>{o($)&&Z(ae)})}P(r,le),me(),c()}const Xv=Object.freeze({leading:"flex-start",top:"flex-start",center:"center",trailing:"flex-end",bottom:"flex-end"}),Zv=Object.freeze({space_between:"space-between",space_around:"space-around",space_evenly:"space-evenly",start:"flex-start",center:"center",end:"flex-end"});function Jv(r){if(r.type!=="fixed")return{};const e=qr(r.value);return{"min-width":e,"max-width":e}}function Qv(r){if(r.type!=="fixed")return{};const e=qr(r.value);return{"min-height":e,"max-height":e}}function jl(r){if(r.type==="zlayer")return{};const e=r.type==="vertical"?"column":"row",t=Zv[r.distribution]||"center",n=Xv[r.alignment]||"center";return{"flex-direction":e,"justify-content":t,"align-items":n}}const $v=Object.freeze({top_leading:{justifyContent:"flex-start",alignItems:"flex-start"},top:{justifyContent:"center",alignItems:"flex-start"},top_trailing:{justifyContent:"flex-end",alignItems:"flex-start"},leading:{justifyContent:"flex-start",alignItems:"center"},center:{justifyContent:"center",alignItems:"center"},trailing:{justifyContent:"flex-end",alignItems:"center"},bottom_leading:{justifyContent:"flex-start",alignItems:"flex-end"},bottom:{justifyContent:"center",alignItems:"flex-end"},bottom_trailing:{justifyContent:"flex-end",alignItems:"flex-end"}});function ey(r){return $v[r]}function ry(r,e){if(r==null)return{};const{style:t,alignment:n}=r,a=n.startsWith("top"),i=n.endsWith("leading"),s=n.endsWith("trailing"),l=!i&&!s,c=e??0;if(t==="overlay"){const u=l?"translateX(-50%)":"",d=a?"translateY(-50%)":"translateY(50%)";return{"z-index":10,position:"absolute",width:"max-content",top:a?qr(-c/2):"initial",bottom:a?"initial":qr(-c/2),left:i?qr(-c):l?"50%":"initial",right:s?qr(-c):"initial",transform:`${u} ${d}`}}return t==="nested"?{"z-index":10,position:"absolute",inset:0,display:"flex",top:a?qr(c):"initial",bottom:a?"initial":qr(c),left:i?qr(c):l?"50%":"initial",right:s?qr(c):"initial",transform:l?"translateX(-50%)":"initial"}:{}}var ty=W('<div style="flex-grow: 1; width:100%;"></div>'),ny=W("<div><!></div>");function ay(r,e){fe(e,!0);const t=()=>ge(l,"$selectedPackageId",n),[n,a]=He(),{walletButtonRender:i,onWalletButtonReady:s,selectedPackageId:l}=Gr(),c=st(),u=m(c),d=Ir(e,["$$slots","$$events","$$legacy"]),p=m(()=>{const{style:F}=d;if(F!=null)return o(u)==="dark"&&F.dark!=null?F.dark:F.light}),g={width:{type:"fill"},height:{type:"fit"}},_={type:"vertical",alignment:"center",distribution:"center"},f=m(()=>({size:e.size??g,dimension:e.dimension??_,spacing:e.spacing??0,margin:e.margin??To,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null})),v=m(()=>o(f).size),y=m(()=>o(f).dimension),h=m(()=>o(f).spacing),b=m(()=>o(f).margin),k=m(()=>({display:"flex",position:"relative",width:Cr(o(v).width),height:Cr(o(v).height),...jl(o(y)),gap:qr(o(h)),margin:Pr({...o(b)?{...o(b)}:{...To}})})),w=m(()=>ir(o(k)));var E=Se(),S=se(E);{var I=F=>{var x=ny(),q=D(x);Fu(q,()=>o(p),T=>{var N=ty();Lf(N,(L,O)=>i==null?void 0:i(L,O),()=>({selectedPackageId:t(),onReady:e.onWalletButtonReady??s,walletButtonTheme:o(p)})),P(T,N)}),X(()=>Ae(x,o(w))),P(F,x)};G(S,F=>{i&&t()&&F(I)})}P(r,E),me(),a()}var oy=W('<div class="wallet-skeleton rc-gradient-border svelte-8vcmla">&nbsp; <div class="wallet-skeleton-shimmer svelte-8vcmla"></div></div>');const iy={hash:"svelte-8vcmla",code:`.wallet-skeleton.svelte-8vcmla {position:relative;border-radius:9999px;background-color:rgba(128, 128, 128, 0.16);backdrop-filter:blur(18px);min-height:48px;flex-grow:1;width:100%;}.wallet-skeleton-shimmer.svelte-8vcmla {position:absolute;inset:0;overflow:hidden;border-radius:inherit;}.wallet-skeleton-shimmer.svelte-8vcmla::before {content:"";position:absolute;inset:0;background:linear-gradient(
22
+ background-color 300ms ease;}`};function Xv(r,e){me(e,!0),Pe(r,Kv);const t=()=>ge(l,"$selectedState",a),n=()=>ge(_,"$isActive",a),[a,i]=Ve(),s=Cr(e,["$$slots","$$events","$$legacy"]),l=St(),c=m(()=>({...s,...It(t(),e.overrides)})),u=m(()=>o(c).thumb_color_on),d=m(()=>o(c).thumb_color_off),p=m(()=>o(c).track_color_on),g=m(()=>o(c).track_color_off),{isActive:_,selectTab:f}=Ol();Di(_);const v=st(),w=m(v),h=m(()=>or({background:n()?lt(o(w),o(p)):lt(o(w),o(g))})),y=m(()=>or({left:n()?"22px":"2px",background:n()?lt(o(w),o(u)):lt(o(w),o(d))})),k=()=>{f("",n()?0:1,"switch")},b=I=>{(I.code==="Enter"||I.code==="Space")&&k()};var E=Gv();E.__click=k,E.__keydown=b;var S=A(E);X(()=>{Ae(E,o(h)),Ae(S,o(y))}),P(r,E),he(),i()}_n(["click","keydown"]);var Zv=W("<div><!> <!></div>");const Jv={hash:"svelte-1ou7jmq",code:'.rc-tabs-video-bg.svelte-1ou7jmq::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.rc-tabs-video-bg.svelte-1ou7jmq > .rc-bg-video {z-index:1;}.rc-tabs-video-bg.svelte-1ou7jmq > .rc-tabs-stack-front {position:relative;z-index:3;}'};function Qv(r,e){me(e,!0),Pe(r,Jv);const t=()=>ge(f,"$selectedState",l),n=()=>ge(w,"$selectedPackageId",l),a=()=>ge(v,"$packageInfo",l),i=()=>ge(h,"$variables",l),s=()=>ge(U,"$tab",l),[l,c]=Ve(),u=Cr(e,["$$slots","$$events","$$legacy"]),{name:d,control:p,tabs:g,default_tab_id:_}=u,f=St(),v=wn(),{selectedPackageId:w}=Br(),h=Pn(),y=m(()=>({...u,...It(t(),e.overrides)})),k=m(()=>o(y).size),b=m(()=>o(y).padding),E=m(()=>o(y).margin),S=m(()=>o(y).background),I=m(()=>o(y).shape),q=m(()=>o(y).border),x=m(()=>o(y).shadow),F=st(),T=m(F),j=m(()=>{var Z;return((Z=o(S))==null?void 0:Z.type)==="video"}),O=m(()=>{if(!o(j))return null;const Z=o(S);return!Z||Z.type!=="video"?null:Fo(o(T),Z)}),N=m(()=>jn(o(I))),L=m(()=>or({position:"relative",width:br(o(k).width),height:br(o(k).height),margin:xr(o(E)),padding:xr(o(b)),...Oi({hasVideoBg:o(j),clipOverflow:o(N)!=="0"}),...Bn(o(T),null,o(S)),...Nn(o(T),o(q)),"border-radius":o(N),"box-shadow":ga(o(T),o(x))})),{emitComponentInteraction:C}=Br(),D=Math.max(0,g.findIndex(Z=>Z.id===_)),M=Ir(D),U=Nt(M,Z=>g[Z]),V=Z=>{var B;return(B=g[Z])==null?void 0:B.name},R=(Z,B,K)=>{var de;const ae=g.findIndex(se=>se.id===Z),H=ae!==-1?ae:B;if(H>=0&&H<g.length){const se=el(M);if(se===H)return;K==="tab"?C({componentType:"tab",componentName:d,componentValue:((de=g[H])==null?void 0:de.id)??Z,originIndex:se,destinationIndex:H,originContextName:V(se),destinationContextName:V(H),defaultIndex:D}):K==="switch"&&C({componentType:"switch",componentName:d,componentValue:H===1?"on":"off"}),M.set(H)}};Wv({control:mt(p),selectedTabId:Nt(U,Z=>(Z==null?void 0:Z.id)??""),selectTab:R,isActive:Nt(M,Z=>Z===1)});const $=m(()=>kn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var ue=Ie(),pe=ie(ue);{var ne=Z=>{var B=Zv(),K=A(B);{var ae=se=>{zo(se,{get url(){return o(O).url},get urlLowRes(){return o(O).url_low_res},get objectFit(){return o(O).fit},get objectPosition(){return o(O).position},get poster(){return o(O).posterWebp},get mute(){return o(O).mute},get loop(){return o(O).loop}})};G(K,se=>{o(O)&&se(ae)})}var H=Y(K,2);{var de=se=>{{let Ee=m(()=>o(j)?"rc-tabs-stack-front":void 0);Lr(se,gr(()=>s().stack,{get class(){return o(Ee)}}))}};G(H,se=>{s()!==void 0&&se(de)})}X(se=>{_r(B,1,se,"svelte-1ou7jmq"),Ae(B,o(L))},[()=>da(["rc-gradient-border",o(j)?Li("tabs"):""].filter(Boolean).join(" "))]),P(Z,B)};G(pe,Z=>{o($)&&Z(ne)})}P(r,ue),he(),c()}const $v=Object.freeze({leading:"flex-start",top:"flex-start",center:"center",trailing:"flex-end",bottom:"flex-end"}),ey=Object.freeze({space_between:"space-between",space_around:"space-around",space_evenly:"space-evenly",start:"flex-start",center:"center",end:"flex-end"});function ry(r){if(r.type!=="fixed")return{};const e=Tr(r.value);return{"min-width":e,"max-width":e}}function ty(r){if(r.type!=="fixed")return{};const e=Tr(r.value);return{"min-height":e,"max-height":e}}function Nl(r){if(r.type==="zlayer")return{};const e=r.type==="vertical"?"column":"row",t=ey[r.distribution]||"center",n=$v[r.alignment]||"center";return{"flex-direction":e,"justify-content":t,"align-items":n}}const ny=Object.freeze({top_leading:{justifyContent:"flex-start",alignItems:"flex-start"},top:{justifyContent:"center",alignItems:"flex-start"},top_trailing:{justifyContent:"flex-end",alignItems:"flex-start"},leading:{justifyContent:"flex-start",alignItems:"center"},center:{justifyContent:"center",alignItems:"center"},trailing:{justifyContent:"flex-end",alignItems:"center"},bottom_leading:{justifyContent:"flex-start",alignItems:"flex-end"},bottom:{justifyContent:"center",alignItems:"flex-end"},bottom_trailing:{justifyContent:"flex-end",alignItems:"flex-end"}});function ay(r){return ny[r]}function oy(r,e){if(r==null)return{};const{style:t,alignment:n}=r,a=n.startsWith("top"),i=n.endsWith("leading"),s=n.endsWith("trailing"),l=!i&&!s,c=e??0;if(t==="overlay"){const u=l?"translateX(-50%)":"",d=a?"translateY(-50%)":"translateY(50%)";return{"z-index":10,position:"absolute",width:"max-content",top:a?Tr(-c/2):"initial",bottom:a?"initial":Tr(-c/2),left:i?Tr(-c):l?"50%":"initial",right:s?Tr(-c):"initial",transform:`${u} ${d}`}}return t==="nested"?{"z-index":10,position:"absolute",inset:0,display:"flex",top:a?Tr(c):"initial",bottom:a?"initial":Tr(c),left:i?Tr(c):l?"50%":"initial",right:s?Tr(c):"initial",transform:l?"translateX(-50%)":"initial"}:{}}var iy=W('<div style="flex-grow: 1; width:100%;"></div>'),sy=W("<div><!></div>");function ly(r,e){me(e,!0);const t=()=>ge(l,"$selectedPackageId",n),[n,a]=Ve(),{walletButtonRender:i,onWalletButtonReady:s,selectedPackageId:l}=Br(),c=st(),u=m(c),d=Cr(e,["$$slots","$$events","$$legacy"]),p=m(()=>{const{style:q}=d;if(q!=null)return o(u)==="dark"&&q.dark!=null?q.dark:q.light}),g={width:{type:"fill"},height:{type:"fit"}},_={type:"vertical",alignment:"center",distribution:"center"},f=m(()=>({size:e.size??g,dimension:e.dimension??_,spacing:e.spacing??0,margin:e.margin??Do,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null})),v=m(()=>o(f).size),w=m(()=>o(f).dimension),h=m(()=>o(f).spacing),y=m(()=>o(f).margin),k=m(()=>({display:"flex",position:"relative",width:br(o(v).width),height:br(o(v).height),...Nl(o(w)),gap:Tr(o(h)),margin:xr({...o(y)?{...o(y)}:{...Do}})})),b=m(()=>or(o(k)));var E=Ie(),S=ie(E);{var I=q=>{var x=sy(),F=A(x);qu(F,()=>o(p),T=>{var j=iy();Bf(j,(O,N)=>i==null?void 0:i(O,N),()=>({selectedPackageId:t(),onReady:e.onWalletButtonReady??s,walletButtonTheme:o(p)})),P(T,j)}),X(()=>Ae(x,o(b))),P(q,x)};G(S,q=>{i&&t()&&q(I)})}P(r,E),he(),a()}var cy=W('<div class="wallet-skeleton rc-gradient-border svelte-17iyahb">&nbsp; <div class="wallet-skeleton-shimmer svelte-17iyahb"></div></div>');const uy={hash:"svelte-17iyahb",code:`.wallet-skeleton.svelte-17iyahb {position:relative;border-radius:9999px;background-color:rgba(128, 128, 128, 0.16);backdrop-filter:blur(18px);min-height:48px;flex-grow:1;width:100%;}.wallet-skeleton-shimmer.svelte-17iyahb {position:absolute;inset:0;overflow:hidden;border-radius:inherit;}.wallet-skeleton-shimmer.svelte-17iyahb::before {content:"";position:absolute;inset:0;background:linear-gradient(
23
23
  135deg,
24
24
  rgba(255, 255, 255, 0.2),
25
25
  rgba(255, 255, 255, 0.01)
26
- );opacity:0.9;mix-blend-mode:screen;}.wallet-skeleton-shimmer.svelte-8vcmla::after {content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(
26
+ );opacity:0.9;mix-blend-mode:screen;}.wallet-skeleton-shimmer.svelte-17iyahb::after {content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(
27
27
  120deg,
28
28
  transparent 0%,
29
29
  rgba(255, 255, 255, 0.6) 20%,
30
30
  transparent 40%
31
31
  );opacity:0.8;
32
- animation: svelte-8vcmla-wallet-skeleton-shimmer 1.4s ease-in-out infinite;}
32
+ animation: svelte-17iyahb-wallet-skeleton-shimmer 1.4s ease-in-out infinite;}
33
33
 
34
- @keyframes svelte-8vcmla-wallet-skeleton-shimmer {
34
+ @keyframes svelte-17iyahb-wallet-skeleton-shimmer {
35
35
  100% {
36
36
  transform: translateX(100%);
37
37
  }
38
- }`};function sy(r,e){fe(e,!0),Pe(r,iy);const t={width:{type:"fill"},height:{type:"fit"}},n={type:"vertical",alignment:"center",distribution:"center"},a=m(()=>({size:e.size??t,dimension:e.dimension??n,spacing:e.spacing??0,margin:e.margin??To,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null,style:e.style})),i=m(()=>o(a).size),s=m(()=>o(a).dimension),l=m(()=>o(a).spacing),c=m(()=>o(a).margin),u=m(()=>o(a).border),d=m(()=>o(a).shape),p=m(()=>o(a).shadow),g=m(()=>o(a).style),_=10,f=st(),v=m(f),y=m(()=>({...o(g),display:"flex",position:"relative",width:Cr(o(i).width),height:Cr(o(i).height),...jl(o(s)),gap:qr(o(l)),margin:Pr({...o(c)?{...o(c),bottom:Math.max(o(c).bottom,_)}:{...To,bottom:_}})})),h=m(()=>ir({...o(y),...Ln(o(v),o(u)),"border-radius":On(o(d)),"box-shadow":da(o(v),o(p))}));var b=oy();we(b,"aria-hidden",!0),X(()=>Ae(b,o(h))),P(r,b),me()}var ly=W("<div><!></div> <!>",1);const cy={hash:"svelte-x3x6nt",code:".wallet-slot.svelte-x3x6nt {display:contents;}.wallet-slot-hidden.svelte-x3x6nt {display:none;}"};function uy(r,e){fe(e,!0),Pe(r,cy);const t=Ir(e,["$$slots","$$events","$$legacy"]),{wallet_unknown_stack:n,wallet_available_stack:a,wallet_unavailable_stack:i,type:s,...l}=t,{walletButtonRender:c,...u}=Gr();let d=te(void 0),p=te(!!c);gd({walletButtonRender:c,...u,onWalletButtonReady:y=>{z(d,y,!0),z(p,!1)}});const _=m(()=>!o(d)||!a),f=m(()=>!!(a&&o(d)&&!o(p))),v={components:[],type:"stack",visible:null,dimension:{type:"vertical",distribution:"start",alignment:"center"},background_color:null,spacing:0,...l};jr(r,_r(()=>v,{children:(y,h)=>{var b=ly(),k=se(b),w=D(k);jr(w,_r(()=>a));var E=Y(k,2);{var S=F=>{jr(F,_r(()=>n))},I=F=>{var x=Se(),q=se(x);{var T=N=>{jr(N,_r(()=>i))};G(q,N=>{o(_)&&N(T)},!0)}P(F,x)};G(E,F=>{o(p)?F(S):F(I,!1)})}X(()=>pr(k,1,ca(o(f)?"wallet-slot":"wallet-slot-hidden"),"svelte-x3x6nt")),P(y,b)},$$slots:{default:!0}})),me()}function qo(r,e){fe(e,!0);const t={button:ih,carousel:Ov,countdown:my,express_purchase_button:uy,footer:pp,header:_p,icon:lp,image:Ly,input_multiple_choice:Nh,input_option:Wh,input_single_choice:Hh,input_text:Lh,package:Oy,purchase_button:ab,redemption_button:vv,skeleton_loader:sy,stack:jr,tab_control_button:Uv,tab_control_toggle:Hv,tab_control:Rv,tabs:Kv,text:Ml,timeline:db,video:Pb,wallet_button:ay},n=f=>f.type in t,a=f=>{if(n(f))return[t[f.type],f];if(f.type==="fallback_header")return;const{fallback:v}=f;if(v&&n(v))return[t[v.type],v]},i=Ir(e,["$$slots","$$events","$$legacy","nodeData"]),s=m(()=>a(e.nodeData)??[]),l=m(()=>ci(o(s),2)),c=m(()=>o(l)[0]),u=m(()=>o(l)[1]);var d={getComponentClass:a},p=Se(),g=se(p);{var _=f=>{var v=Se(),y=se(v);Ff(y,()=>o(c),(h,b)=>{b(h,_r(()=>o(u)||{},()=>i))}),P(f,v)};G(g,f=>{o(c)&&f(_)})}return P(r,p),me(d)}var dy=W("<div><!></div>"),py=W("<div><!></div>"),_y=W('<div style="position: relative; width: 100%; height: 100%; isolation: isolate;"></div>'),gy=W("<!> <!> <!> <!>",1);const fy={hash:"svelte-1450idd",code:`.stack.svelte-1450idd {appearance:none;position:relative;&[role="button"] {cursor:pointer;}&::before {content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--overlay);}}.stack.rc-stack-video-bg.svelte-1450idd::before {z-index:2;pointer-events:none;}.stack.rc-stack-video-bg.svelte-1450idd > .rc-bg-video {z-index:1;}
38
+ }`};function dy(r,e){me(e,!0),Pe(r,uy);const t={width:{type:"fill"},height:{type:"fit"}},n={type:"vertical",alignment:"center",distribution:"center"},a=m(()=>({size:e.size??t,dimension:e.dimension??n,spacing:e.spacing??0,margin:e.margin??Do,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null,style:e.style})),i=m(()=>o(a).size),s=m(()=>o(a).dimension),l=m(()=>o(a).spacing),c=m(()=>o(a).margin),u=m(()=>o(a).border),d=m(()=>o(a).shape),p=m(()=>o(a).shadow),g=m(()=>o(a).style),_=10,f=st(),v=m(f),w=m(()=>({...o(g),display:"flex",position:"relative",width:br(o(i).width),height:br(o(i).height),...Nl(o(s)),gap:Tr(o(l)),margin:xr({...o(c)?{...o(c),bottom:Math.max(o(c).bottom,_)}:{...Do,bottom:_}})})),h=m(()=>or({...o(w),...Nn(o(v),o(u)),"border-radius":jn(o(d)),"box-shadow":ga(o(v),o(p))}));var y=cy();be(y,"aria-hidden",!0),X(()=>Ae(y,o(h))),P(r,y),he()}const ha=(r,e)=>{var t;return r.components.some(n=>pp(n,e))||((t=r.badge)!=null&&t.stack?ha(r.badge.stack,e):!1)},pp=(r,e)=>{if(r.type===e||r.fallback&&pp(r.fallback,e))return!0;switch(r.type){case"carousel":return r.pages.some(t=>ha(t,e));case"package":case"purchase_button":case"tab":case"tab_control_button":return ha(r.stack,e);case"stack":return ha(r,e);case"tabs":return ha(r.control.stack,e)||r.tabs.some(t=>ha(t.stack,e));default:return!1}};var py=W("<div><!></div> <!>",1);const _y={hash:"svelte-18n973g",code:".wallet-slot.svelte-18n973g {display:contents;}.wallet-slot-hidden.svelte-18n973g {display:none;}"};function gy(r,e){me(e,!0),Pe(r,_y);const t=Cr(e,["$$slots","$$events","$$legacy"]),{wallet_unknown_stack:n,wallet_available_stack:a,wallet_unavailable_stack:i,type:s,...l}=t,{walletButtonRender:c,...u}=Br(),d=ha(a,"wallet_button");let p=re(ar(d?void 0:!1)),g=re(ar(!!c&&d));md({walletButtonRender:c,...u,onWalletButtonReady:h=>{z(p,h,!0),z(g,!1)}});const f=m(()=>!o(p)||!a),v=m(()=>!!(a&&o(p)&&!o(g))),w={components:[],type:"stack",visible:null,dimension:{type:"vertical",distribution:"start",alignment:"center"},background_color:null,spacing:0,...l};Lr(r,gr(()=>w,{children:(h,y)=>{var k=py(),b=ie(k),E=A(b);Lr(E,gr(()=>a));var S=Y(b,2);{var I=x=>{Lr(x,gr(()=>n))},q=x=>{var F=Ie(),T=ie(F);{var j=O=>{Lr(O,gr(()=>i))};G(T,O=>{o(f)&&O(j)},!0)}P(x,F)};G(S,x=>{o(g)?x(I):x(q,!1)})}X(()=>_r(b,1,da(o(v)?"wallet-slot":"wallet-slot-hidden"),"svelte-18n973g")),P(h,k)},$$slots:{default:!0}})),he()}function Lo(r,e){me(e,!0);const t={button:uh,carousel:Uv,countdown:Py,express_purchase_button:gy,footer:_p,header:gp,icon:up,image:Wy,input_multiple_choice:Vh,input_option:Kh,input_single_choice:Xh,input_text:Rh,package:Gy,purchase_button:_b,redemption_button:wv,skeleton_loader:dy,stack:Lr,tab_control_button:Yv,tab_control_toggle:Xv,tab_control:Hv,tabs:Qv,text:zl,timeline:bb,video:Fb,wallet_button:ly,web_view:Gb},n=f=>f.type in t,a=f=>{if(n(f))return[t[f.type],f];if(f.type==="fallback_header")return;const{fallback:v}=f;if(v&&n(v))return[t[v.type],v]},i=Cr(e,["$$slots","$$events","$$legacy","nodeData"]),s=m(()=>a(e.nodeData)??[]),l=m(()=>ui(o(s),2)),c=m(()=>o(l)[0]),u=m(()=>o(l)[1]);var d={getComponentClass:a},p=Ie(),g=ie(p);{var _=f=>{var v=Ie(),w=ie(v);zf(w,()=>o(c),(h,y)=>{y(h,gr(()=>o(u)||{},()=>i))}),P(f,v)};G(g,f=>{o(c)&&f(_)})}return P(r,p),he(d)}var fy=W("<div><!></div>"),my=W('<div class="rc-zlayer-layer svelte-a88qhg"><!></div>'),hy=W('<div style="position: relative; width: 100%; height: 100%; isolation: isolate;"></div>'),vy=W("<!> <!> <!> <!>",1);const yy={hash:"svelte-a88qhg",code:`.stack.svelte-a88qhg {appearance:none;position:relative;&[role="button"] {cursor:pointer;}&::before {content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--overlay);}}.stack.rc-stack-video-bg.svelte-a88qhg::before {z-index:2;pointer-events:none;}.stack.rc-stack-video-bg.svelte-a88qhg > .rc-bg-video {z-index:1;}
39
39
 
40
- /* Keep flex children interactive and above tinted overlay (::before z-index). */.stack.rc-stack-video-bg.svelte-1450idd > :not(.rc-bg-video) {position:relative;z-index:3;}`};function jr(r,e){fe(e,!0),Pe(r,fy);const t=()=>ge(v,"$hoverState",l),n=()=>ge(f,"$selectedState",l),a=()=>ge(h,"$selectedPackageId",l),i=()=>ge(y,"$packageInfo",l),s=()=>ge(b,"$variables",l),[l,c]=He(),u=Ir(e,["$$slots","$$events","$$legacy"]),{onclick:d,children:p,class:g,testId:_}=u,f=xt(),v=Rh(),y=zn(),{selectedPackageId:h}=Gr(),b=qn(),k=m(()=>({...u,...eh(t(),e.overrides),...Et(n(),e.overrides)})),w=m(()=>o(k).components),E=m(()=>o(k).size),S=m(()=>o(k).dimension),I=m(()=>o(k).spacing),F=m(()=>o(k).margin),x=m(()=>o(k).padding),q=m(()=>o(k).background_color),T=m(()=>o(k).background),N=m(()=>o(k).border),L=m(()=>o(k).shape),O=m(()=>o(k).shadow),j=m(()=>o(k).badge),C=st(),A=m(C),M=m(()=>{var K;return((K=o(T))==null?void 0:K.type)==="video"}),U=m(()=>{if(!o(M))return null;const K=o(T);return!K||K.type!=="video"?null:Ao(o(A),K)}),V=m(()=>On(o(L))),R=m(()=>ir({display:"flex",position:"relative",width:Cr(o(E).width),height:Cr(o(E).height),...Jv(o(E).width),...Qv(o(E).height),...jl(o(S)),gap:qr(o(I)),margin:Pr(o(F)),padding:Pr(o(x)),...Nn(o(A),o(q),o(T)),...Ln(o(A),o(N)),"border-radius":o(V),"box-shadow":da(o(A),o(O)),...zi({hasVideoBg:o(M),clipOverflow:o(V)!=="0"}),...e.style})),$=K=>{if(K===0||o(S).type!=="zlayer")return"";const{justifyContent:oe,alignItems:H}=ey(o(S).alignment);return ir({position:"absolute",inset:0,display:"flex","justify-content":oe,"align-items":H,"z-index":K+1})},le=m(()=>{var K;return ir(ry(o(j),(K=o(N))==null?void 0:K.width))}),_e=m(()=>Mn({selectedPackageId:a(),packageInfo:i(),variables:s()??{}},e.overrides,e.visible));var ae=Se(),Z=se(ae);{var B=K=>{var oe=Se(),H=se(oe);Us(H,()=>d!==void 0?"button":"div",!1,(pe,ue)=>{Ys(pe,ne=>({role:d!==void 0?"button":void 0,onclick:d,style:o(R),class:ne,"data-testid":_}),[()=>["stack","rc-gradient-border",g,o(M)?Mi("stack"):""].filter(Boolean).join(" ")],void 0,void 0,"svelte-1450idd");var Ee=gy(),qe=se(Ee);{var Me=ne=>{zo(ne,{get url(){return o(U).url},get urlLowRes(){return o(U).url_low_res},get objectFit(){return o(U).fit},get objectPosition(){return o(U).position},get poster(){return o(U).posterWebp},get mute(){return o(U).mute},get loop(){return o(U).loop}})};G(qe,ne=>{o(U)&&ne(Me)})}var Te=Y(qe,2);{var Ie=ne=>{var Ce=dy(),Ke=D(Ce);qo(Ke,{get nodeData(){return o(j).stack}}),X(()=>Ae(Ce,o(le))),P(ne,Ce)};G(Te,ne=>{o(j)&&ne(Ie)})}var Be=Y(Te,2);{var Ye=ne=>{var Ce=_y();Gt(Ce,21,()=>o(w),gn,(Ke,nr,yr)=>{var Ne=py(),ce=D(Ne);qo(ce,{get nodeData(){return o(nr)}}),X(Re=>Ae(Ne,Re),[()=>$(yr)]),P(Ke,Ne)}),P(ne,Ce)},ie=ne=>{var Ce=Se(),Ke=se(Ce);Gt(Ke,17,()=>o(w),gn,(nr,yr)=>{qo(nr,{get nodeData(){return o(yr)}})}),P(ne,Ce)};G(Be,ne=>{o(S).type==="zlayer"?ne(Ye):ne(ie,!1)})}var ye=Y(Be,2);p==null||p(ye),P(ue,Ee)}),P(K,oe)};G(Z,K=>{o(_e)&&K(B)})}P(r,ae),me(),c()}function ji(r){return r<10?`0${r}`:`${r}`}function Li(r){return`${r}`}function up(r){const e=new Date,n=new Date(r).getTime()-e.getTime();if(n<=0)return{count_days_with_zero:"00",count_days_without_zero:"0",count_hours_with_zero:"00",count_hours_without_zero:"0",count_minutes_with_zero:"00",count_minutes_without_zero:"0",count_seconds_with_zero:"00",count_seconds_without_zero:"0"};const a=Math.floor(n/1e3),i=Math.floor(a/60),s=Math.floor(i/60),c=Math.floor(s/24),u=s%24,d=i%60,p=a%60;return{count_days_with_zero:ji(c),count_days_without_zero:Li(c),count_hours_with_zero:ji(u),count_hours_without_zero:Li(u),count_minutes_with_zero:ji(d),count_minutes_without_zero:Li(d),count_seconds_with_zero:ji(p),count_seconds_without_zero:Li(p)}}function dp(r){const e=new Date;return new Date(r).getTime()<=e.getTime()}function my(r,e){fe(e,!0);const t=Ir(e,["$$slots","$$events","$$legacy"]),{countdown_stack:n,end_stack:a}=t;let i=te(ar(up(e.style.date))),s=te(ar(dp(e.style.date)));const l=il(),c=Sr(o(i)),u=Lt([l,c],([v,y])=>({...v,...y}));ol(u),gr(()=>{const v=setInterval(()=>{z(i,up(e.style.date),!0),z(s,dp(e.style.date),!0),c.set(o(i))},1e3);return()=>clearInterval(v)});const d=m(()=>o(s)&&a?a:n),p=m(()=>e.visible!==!1);var g=Se(),_=se(g);{var f=v=>{jr(v,_r(()=>o(d)))};G(_,v=>{o(p)&&v(f)})}P(r,g),me()}var hy=W('<div class="svelte-16mjl2l"><!></div>');const vy={hash:"svelte-16mjl2l",code:"div.svelte-16mjl2l {position:sticky;bottom:0;width:100%;display:flex;flex-direction:row;justify-content:center;}"};function pp(r,e){Pe(r,vy);var t=hy(),n=D(t);jr(n,_r(()=>e.stack)),X(()=>Ae(t,`z-index: ${md};`)),P(r,t)}var yy=W('<div class="svelte-psiwu1"><!></div>');const by={hash:"svelte-psiwu1",code:"div.svelte-psiwu1 {display:flex;flex-direction:row;justify-content:center;}"};function _p(r,e){Pe(r,by);var t=yy(),n=D(t);jr(n,_r(()=>e.stack)),P(r,t)}var ky=Dr("<circle></circle>"),wy=Dr("<path></path>"),Py=Dr("<path></path>"),xy=Dr("<path></path>"),Ey=Dr("<!><!><!><!>",1);function Oi(r,e){fe(e,!0);const t=m(()=>{var b;if(((b=e.shape)==null?void 0:b.type)!=="rectangle")return[0,0,0,0];const{corners:h}=e.shape;return[(h==null?void 0:h.top_leading)??0,(h==null?void 0:h.top_trailing)??0,(h==null?void 0:h.bottom_trailing)??0,(h==null?void 0:h.bottom_leading)??0]}),n=m(()=>ci(o(t),4)),a=m(()=>o(n)[0]),i=m(()=>o(n)[1]),s=m(()=>o(n)[2]),l=m(()=>o(n)[3]);var c=Ey(),u=se(c);{var d=h=>{var b=ky();X(k=>{we(b,"cx",e.width/2),we(b,"cy",e.height/2),we(b,"r",k)},[()=>Math.min(e.width,e.height)/2]),P(h,b)};G(u,h=>{var b;((b=e.shape)==null?void 0:b.type)==="circle"&&h(d)})}var p=Y(u);{var g=h=>{var b=wy();X(()=>we(b,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height} Q ${e.width/2} ${e.height-54} 0 ${e.height} Z`)),P(h,b)};G(p,h=>{var b;((b=e.shape)==null?void 0:b.type)==="concave"&&h(g)})}var _=Y(p);{var f=h=>{var b=Py();X(()=>we(b,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height-27} Q ${e.width/2} ${e.height+27} 0 ${e.height-27} Z`)),P(h,b)};G(_,h=>{var b;((b=e.shape)==null?void 0:b.type)==="convex"&&h(f)})}var v=Y(_);{var y=h=>{var b=xy();X(()=>we(b,"d",`M ${o(a)} 0 H ${e.width-o(i)} A ${o(i)} ${o(i)} 0 0 1 ${e.width} ${o(i)}
40
+ /* Keep flex children interactive and above tinted overlay (::before z-index). */.stack.rc-stack-video-bg.svelte-a88qhg > :not(.rc-bg-video) {position:relative;z-index:3;}
41
+
42
+ /*
43
+ * Each overlay layer is a full-size (inset:0) box, so by default it swallows
44
+ * clicks anywhere over the stack — including where it has no content —
45
+ * blocking interactive elements on the layers beneath. Only its own content
46
+ * should be hit-testable.
47
+ */.rc-zlayer-layer.svelte-a88qhg {pointer-events:none;}.rc-zlayer-layer.svelte-a88qhg > * {pointer-events:auto;}`};function Lr(r,e){me(e,!0),Pe(r,yy);const t=()=>ge(v,"$hoverState",l),n=()=>ge(f,"$selectedState",l),a=()=>ge(h,"$selectedPackageId",l),i=()=>ge(w,"$packageInfo",l),s=()=>ge(y,"$variables",l),[l,c]=Ve(),u=Cr(e,["$$slots","$$events","$$legacy"]),{onclick:d,children:p,class:g,testId:_}=u,f=St(),v=Hh(),w=wn(),{selectedPackageId:h}=Br(),y=Pn(),k=m(()=>({...u,...ah(t(),e.overrides),...It(n(),e.overrides)})),b=m(()=>o(k).components),E=m(()=>o(k).size),S=m(()=>o(k).dimension),I=m(()=>o(k).spacing),q=m(()=>o(k).margin),x=m(()=>o(k).padding),F=m(()=>o(k).background_color),T=m(()=>o(k).background),j=m(()=>o(k).border),O=m(()=>o(k).shape),N=m(()=>o(k).shadow),L=m(()=>o(k).badge),C=st(),D=m(C),M=m(()=>{var K;return((K=o(T))==null?void 0:K.type)==="video"}),U=m(()=>{if(!o(M))return null;const K=o(T);return!K||K.type!=="video"?null:Fo(o(D),K)}),V=m(()=>jn(o(O))),R=m(()=>or({display:"flex",position:"relative",width:br(o(E).width),height:br(o(E).height),...ry(o(E).width),...ty(o(E).height),...Nl(o(S)),gap:Tr(o(I)),margin:xr(o(q)),padding:xr(o(x)),...Bn(o(D),o(F),o(T)),...Nn(o(D),o(j)),"border-radius":o(V),"box-shadow":ga(o(D),o(N)),...Oi({hasVideoBg:o(M),clipOverflow:o(V)!=="0"}),...e.style})),$=K=>{if(K===0||o(S).type!=="zlayer")return"";const{justifyContent:ae,alignItems:H}=ay(o(S).alignment);return or({position:"absolute",inset:0,display:"flex","justify-content":ae,"align-items":H,"z-index":K+1})},ue=m(()=>{var K;return or(oy(o(L),(K=o(j))==null?void 0:K.width))}),pe=m(()=>kn({selectedPackageId:a(),packageInfo:i(),variables:s()??{}},e.overrides,e.visible));var ne=Ie(),Z=ie(ne);{var B=K=>{var ae=Ie(),H=ie(ae);Ys(H,()=>d!==void 0?"button":"div",!1,(de,se)=>{Zs(de,le=>({role:d!==void 0?"button":void 0,onclick:d,style:o(R),class:le,"data-testid":_}),[()=>["stack","rc-gradient-border",g,o(M)?Li("stack"):""].filter(Boolean).join(" ")],void 0,void 0,"svelte-a88qhg");var Ee=vy(),Le=ie(Ee);{var Me=le=>{zo(le,{get url(){return o(U).url},get urlLowRes(){return o(U).url_low_res},get objectFit(){return o(U).fit},get objectPosition(){return o(U).position},get poster(){return o(U).posterWebp},get mute(){return o(U).mute},get loop(){return o(U).loop}})};G(Le,le=>{o(U)&&le(Me)})}var Te=Y(Le,2);{var Ce=le=>{var fe=fy(),je=A(fe);Lo(je,{get nodeData(){return o(L).stack}}),X(()=>Ae(fe,o(ue))),P(le,fe)};G(Te,le=>{o(L)&&le(Ce)})}var We=Y(Te,2);{var Ye=le=>{var fe=hy();Kt(fe,21,()=>o(b),gn,(je,Ue,Er)=>{var qe=my(),oe=A(qe);Lo(oe,{get nodeData(){return o(Ue)}}),X(Be=>Ae(qe,Be),[()=>$(Er)]),P(je,qe)}),P(le,fe)},_e=le=>{var fe=Ie(),je=ie(fe);Kt(je,17,()=>o(b),gn,(Ue,Er)=>{Lo(Ue,{get nodeData(){return o(Er)}})}),P(le,fe)};G(We,le=>{o(S).type==="zlayer"?le(Ye):le(_e,!1)})}var Se=Y(We,2);p==null||p(Se),P(se,Ee)}),P(K,ae)};G(Z,K=>{o(pe)&&K(B)})}P(r,ne),he(),c()}function ji(r){return r<10?`0${r}`:`${r}`}function Bi(r){return`${r}`}function by(r,e=Date.now()){const n=new Date(r).getTime()-e;if(n<=0)return{count_days_with_zero:"00",count_days_without_zero:"0",count_hours_with_zero:"00",count_hours_without_zero:"0",count_minutes_with_zero:"00",count_minutes_without_zero:"0",count_seconds_with_zero:"00",count_seconds_without_zero:"0"};const a=Math.floor(n/1e3),i=Math.floor(a/60),s=Math.floor(i/60),c=Math.floor(s/24),u=s%24,d=i%60,p=a%60;return{count_days_with_zero:ji(c),count_days_without_zero:Bi(c),count_hours_with_zero:ji(u),count_hours_without_zero:Bi(u),count_minutes_with_zero:ji(d),count_minutes_without_zero:Bi(d),count_seconds_with_zero:ji(p),count_seconds_without_zero:Bi(p)}}function ky(r,e=Date.now()){return new Date(r).getTime()<=e}const wy=mt(Date.now(),r=>{r(Date.now());let e;const t=setTimeout(()=>{r(Date.now()),e=setInterval(()=>r(Date.now()),1e3)},1e3-Date.now()%1e3);return()=>{clearTimeout(t),e!==void 0&&clearInterval(e)}});function Py(r,e){me(e,!0);const t=()=>ge(wy,"$sharedNow",n),[n,a]=Ve(),i=Cr(e,["$$slots","$$events","$$legacy"]),{countdown_stack:s,end_stack:l}=i,c=m(()=>by(e.style.date,t())),u=m(()=>ky(e.style.date,t())),d=ll(),p=Nt([d,Jm(()=>o(c))],([h,y])=>({...h,...y}));sl(p);const g=m(()=>o(u)&&l?l:s),_=m(()=>e.visible!==!1);var f=Ie(),v=ie(f);{var w=h=>{Lr(h,gr(()=>o(g)))};G(v,h=>{o(_)&&h(w)})}P(r,f),he(),a()}var xy=W('<div class="svelte-13fcoiw"><!></div>');const Ey={hash:"svelte-13fcoiw",code:"div.svelte-13fcoiw {position:sticky;bottom:0;width:100%;display:flex;flex-direction:row;justify-content:center;}"};function _p(r,e){Pe(r,Ey);var t=xy(),n=A(t);Lr(n,gr(()=>e.stack)),X(()=>Ae(t,`z-index: ${vd};`)),P(r,t)}var Sy=W('<div class="svelte-1lpxx4c"><!></div>');const Iy={hash:"svelte-1lpxx4c",code:"div.svelte-1lpxx4c {display:flex;flex-direction:row;justify-content:center;}"};function gp(r,e){Pe(r,Iy);var t=Sy(),n=A(t);Lr(n,gr(()=>e.stack)),P(r,t)}var Cy=Ar("<circle></circle>"),Ty=Ar("<path></path>"),Dy=Ar("<path></path>"),Ay=Ar("<path></path>"),Fy=Ar("<!><!><!><!>",1);function Ri(r,e){me(e,!0);const t=m(()=>{var y;if(((y=e.shape)==null?void 0:y.type)!=="rectangle")return[0,0,0,0];const{corners:h}=e.shape;return[(h==null?void 0:h.top_leading)??0,(h==null?void 0:h.top_trailing)??0,(h==null?void 0:h.bottom_trailing)??0,(h==null?void 0:h.bottom_leading)??0]}),n=m(()=>ui(o(t),4)),a=m(()=>o(n)[0]),i=m(()=>o(n)[1]),s=m(()=>o(n)[2]),l=m(()=>o(n)[3]);var c=Fy(),u=ie(c);{var d=h=>{var y=Cy();X(k=>{be(y,"cx",e.width/2),be(y,"cy",e.height/2),be(y,"r",k)},[()=>Math.min(e.width,e.height)/2]),P(h,y)};G(u,h=>{var y;((y=e.shape)==null?void 0:y.type)==="circle"&&h(d)})}var p=Y(u);{var g=h=>{var y=Ty();X(()=>be(y,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height} Q ${e.width/2} ${e.height-54} 0 ${e.height} Z`)),P(h,y)};G(p,h=>{var y;((y=e.shape)==null?void 0:y.type)==="concave"&&h(g)})}var _=Y(p);{var f=h=>{var y=Dy();X(()=>be(y,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height-27} Q ${e.width/2} ${e.height+27} 0 ${e.height-27} Z`)),P(h,y)};G(_,h=>{var y;((y=e.shape)==null?void 0:y.type)==="convex"&&h(f)})}var v=Y(_);{var w=h=>{var y=Ay();X(()=>be(y,"d",`M ${o(a)} 0 H ${e.width-o(i)} A ${o(i)} ${o(i)} 0 0 1 ${e.width} ${o(i)}
41
48
  V ${e.height-o(s)} A ${o(s)} ${o(s)} 0 0 1 ${e.width-o(s)} ${e.height}
42
49
  H ${o(l)} A ${o(l)} ${o(l)} 0 0 1 0 ${e.height-o(l)}
43
- V ${o(a)} A ${o(a)} ${o(a)} 0 0 1 ${o(a)} 0 Z`)),P(h,b)};G(v,h=>{var b,k;(((b=e.shape)==null?void 0:b.type)==="rectangle"||((k=e.shape)==null?void 0:k.type)===void 0)&&h(y)})}P(r,c),me()}var Sy=Dr('<linearGradient x1="0" y1="0" x2="100%" y2="100%"><stop offset="0%"></stop><stop offset="100%"></stop></linearGradient>'),Iy=Dr("<stop></stop>"),Cy=Dr("<linearGradient></linearGradient>"),Ty=Dr("<stop></stop>"),Dy=Dr("<radialGradient></radialGradient>"),Ay=Dr("<!><!><!>",1);function Ni(r,e){fe(e,!0);var t=Ay(),n=se(t);{var a=u=>{var d=Sy(),p=D(d),g=Y(p);X(()=>{we(d,"id",e.id),we(p,"stop-color",e.overlay.value),we(g,"stop-color",e.overlay.value)}),P(u,d)};G(n,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="hex"&&u(a)})}var i=Y(n);{var s=u=>{var d=Cy();Gt(d,21,()=>e.overlay.points,gn,(p,g)=>{var _=Iy();X(()=>{we(_,"offset",`${o(g).percent}%`),we(_,"stop-color",o(g).color)}),P(p,_)}),X(()=>{we(d,"id",e.id),we(d,"gradientTransform",`rotate(${e.overlay.degrees-90}, 0.5, 0.5)`)}),P(u,d)};G(i,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="linear"&&u(s)})}var l=Y(i);{var c=u=>{var d=Dy();Gt(d,21,()=>e.overlay.points,gn,(p,g)=>{var _=Ty();X(()=>{we(_,"offset",`${o(g).percent}%`),we(_,"stop-color",o(g).color)}),P(p,_)}),X(()=>we(d,"id",e.id)),P(u,d)};G(l,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="radial"&&u(c)})}P(r,t),me()}var Fy=Dr('<use fill="transparent"></use>'),My=Dr('<rect x="0" y="0" height="100%" width="100%"></rect>'),zy=Dr('<use fill="none"></use>'),qy=W('<div><svg width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><foreignObject x="0" y="0" width="100%" height="100%"><img alt="" class="svelte-qgo18d"/></foreignObject><!><!></g></svg></div>');const jy={hash:"svelte-qgo18d",code:"img.svelte-qgo18d {width:100%;height:100%;object-fit:contain;object-position:center;}"};function Ly(r,e){fe(e,!0),Pe(r,jy);const t=()=>ge(u,"$selectedState",s),n=()=>ge(p,"$selectedPackageId",s),a=()=>ge(d,"$packageInfo",s),i=()=>ge(g,"$variables",s),[s,l]=He(),c=Ir(e,["$$slots","$$events","$$legacy"]),u=xt(),d=zn(),{selectedPackageId:p}=Gr(),g=qn(),_=m(()=>({...c,...Et(t(),e.overrides)})),f=m(()=>o(_).id),v=m(()=>o(_).source),y=m(()=>o(_).size),h=m(()=>o(_).mask_shape),b=m(()=>o(_).fit_mode),k=m(()=>o(_).padding),w=m(()=>o(_).margin),E=m(()=>o(_).color_overlay),S=m(()=>o(_).border),I=m(()=>o(_).shadow),F=st(),x=m(F),q=m(()=>rt(o(x),o(v)));let T=te(0),N=te(ar({height:0,width:0}));gr(()=>{if(o(q).width||o(q).height){z(N,{height:o(q).height,width:o(q).width},!0);return}const B=new window.Image;B.src=o(q).original;const K=()=>{z(N,{height:B.height,width:B.width},!0)};return B.addEventListener("load",K),()=>{B.removeEventListener("load",K)}});const L=m(()=>o(y).height.type==="fixed"?o(y).height.value:Math.round(o(T)*(o(N).height/o(N).width))),O=m(()=>ir({width:Cr(o(y).width),height:`${o(L)}px`,margin:Pr(o(w)),padding:Pr(o(k)),"line-height":0,"flex-shrink":o(y).width.type==="fixed"?0:1}));let j=te(null);const C=m(()=>{var B,K;return[((B=o(j))==null?void 0:B.width)??0,((K=o(j))==null?void 0:K.height)??0]}),A=m(()=>ci(o(C),2)),M=m(()=>o(A)[0]),U=m(()=>o(A)[1]),V=m(()=>`0 0 ${o(M)} ${o(U)}`),R=m(()=>{var ue;if(!((ue=o(I))!=null&&ue.color))return"";const{x:B,y:K,radius:oe,color:H}=o(I),pe=lt(o(x),H);return`filter: drop-shadow(${B}px ${K}px ${oe}px ${pe})`}),$=m(()=>o(E)&&rt(o(x),o(E))),le=m(()=>Mn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var _e=Se(),ae=se(_e);{var Z=B=>{var K=qy(),oe=D(K),H=D(oe),pe=D(H),ue=D(pe);Oi(ue,{get shape(){return o(h)},get width(){return o(M)},get height(){return o(U)}});var Ee=Y(pe),qe=D(Ee);Oi(qe,{get shape(){return o(h)},get width(){return o(M)},get height(){return o(U)}});var Me=Y(Ee);{let Ne=m(()=>`${o(f)}-overlay`);Ni(Me,{get id(){return o(Ne)},get overlay(){return o($)}})}var Te=Y(Me);{var Ie=Ne=>{{let ce=m(()=>`${o(f)}-border-color`),Re=m(()=>rt(o(x),o(S).color));Ni(Ne,{get id(){return o(ce)},get overlay(){return o(Re)}})}};G(Te,Ne=>{o(S)&&o(S).width>0&&Ne(Ie)})}var Be=Y(H);{var Ye=Ne=>{var ce=Fy();X(()=>we(ce,"href",`#${o(f)}-border`)),P(Ne,ce)};G(Be,Ne=>{o(S)&&o(S).width>0&&Ne(Ye)})}var ie=Y(Be),ye=D(ie),ne=D(ye),Ce=Y(ye);{var Ke=Ne=>{var ce=My();X(()=>we(ce,"fill",`url(#${o(f)}-overlay)`)),P(Ne,ce)};G(Ce,Ne=>{o($)&&Ne(Ke)})}var nr=Y(Ce);{var yr=Ne=>{var ce=zy();X(()=>{we(ce,"href",`#${o(f)}-border`),we(ce,"stroke",`url(#${o(f)}-border-color)`),we(ce,"stroke-width",o(S).width*2)}),P(Ne,ce)};G(nr,Ne=>{o(S)&&o(S).width>0&&Ne(yr)})}X(Ne=>{Ae(K,o(O)),we(oe,"viewBox",o(V)),Ae(oe,o(R)),we(pe,"id",`${o(f)}-path`),we(Ee,"id",`${o(f)}-border`),we(ie,"clip-path",`url(#${o(f)}-path)`),we(ne,"src",o(q).original),Ae(ne,`object-fit:${Ne??""}`)},[()=>Ha(o(b))]),Yu(oe,"contentRect",Ne=>z(j,Ne)),wi(K,"clientWidth",Ne=>z(T,Ne)),P(B,K)};G(ae,B=>{o(le)&&B(Z)})}P(r,_e),me(),l()}function Oy(r,e){fe(e,!0);const t=()=>ge(g,"$selectedPackageId",c),n=()=>ge(_,"$variablesPerPackage",c),a=()=>ge(k,"$fallbackVariables",c),i=()=>ge(f,"$baseVariables",c),s=()=>ge(v,"$infoPerPackage",c),l=()=>ge(S,"$fallbackPackageInfo",c),[c,u]=He(),{defaultPackageId:d,emitComponentInteraction:p,selectedPackageId:g,variablesPerPackage:_,baseVariables:f,infoPerPackage:v}=Gr();gr(()=>{if(e.is_selected_by_default){const x=e.package_id;Ue(()=>{Qs(g,x)})}});const y=m(()=>t()===e.package_id),h=Sr(o(y));gr(()=>{h.set(o(y))}),Ii(h);const b=()=>{const x=t();x!==e.package_id&&(Qs(g,e.package_id),p({componentType:"package",componentName:e.name,componentValue:e.package_id,originPackageId:x,destinationPackageId:e.package_id,defaultPackageId:d}))},k=il(),w=m(()=>{var q;const x=(q=n())==null?void 0:q[e.package_id];return x===void 0?a():{...i(),...x}}),E=Sr(o(w));gr(()=>{E.set(o(w))}),ol(E);const S=_h(),I=m(()=>{var x;return((x=s())==null?void 0:x[e.package_id])??l()}),F=Sr(o(I));gr(()=>{F.set(o(I))}),vd(F),jr(r,_r(()=>e.stack,{onclick:b})),me(),u()}var gp;(function(r){r.weekly="$rc_weekly",r.monthly="$rc_monthly",r.two_month="$rc_two_month",r.three_month="$rc_three_month",r.six_month="$rc_six_month",r.annual="$rc_annual",r.lifetime="$rc_lifetime"})(gp||(gp={}));const Ny={string:r=>({type:"string",value:r}),number:r=>({type:"number",value:r}),boolean:r=>({type:"boolean",value:r})};function fp(r,e){const t=Object.fromEntries(Object.entries(r).map(([a,{value:i}])=>[a,String(i)]));return e?{...Object.fromEntries(Object.entries(e.custom_variables??{}).map(([a,{default_value:i}])=>[a,String(i)])),...t}:t}const mp="--rc-purchases-ui-bg-color";function By(r,e,t){const n=a=>t==="dark"?a==null?void 0:a.dark:a==null?void 0:a.light;return n(r)??n(e)??null}const hp=/^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$/;function Ry(r){return hp.test(r)}function Uy(r){const e=hp.exec(r);return e!=null&&(e[1]==null||e[1].toLowerCase()==="ff")}function Bi(r){return r.length===7?`${r.toLowerCase()}ff`:r.toLowerCase()}function vp(r,e,t){const n=By(r,e,t);return n?Do(n):null}function Ll(r,e){const t=r[0],n=r.at(-1);if(t==null||n==null)return null;if(e<=t.percent)return Bi(t.color);if(e>=n.percent)return Bi(n.color);const a=r.findIndex(l=>l.percent>=e),i=r[a-1],s=r[a];return i==null||s==null?null:i.color.toLowerCase()===s.color.toLowerCase()?Bi(i.color):i.percent===s.percent?Bi(s.color):null}function Vy(r){return r.filter(e=>Number.isFinite(e.percent)&&Ry(e.color)).slice().sort((e,t)=>e.percent-t.percent)}function yp(r,[e,t]){const n=Ll(r,e);if(n==null||!Uy(n))return null;const a=[e,...r.map(s=>s.percent).filter(s=>s>e&&s<t),t];return a.every((s,l)=>{if(Ll(r,s)!==n)return!1;const c=a[l+1];return c==null||c===s?!0:Ll(r,(s+c)/2)===n})?n:null}function bp(r){return Math.abs(r)<1e-10?0:r}function kp(r,e,t,n){const a=r*Math.PI/180,i=bp(Math.sin(a)),s=bp(-Math.cos(a)),l=Math.abs(i)*n.width+Math.abs(s)*n.height;return((e-n.width/2)*i+(t-n.height/2)*s+l/2)/l*100}function Wy(r,e,t){const n=e==="top"?0:t.height,a=kp(r,0,n,t),i=kp(r,t.width,n,t);return[Math.min(a,i),Math.max(a,i)]}function wp(r,e,t){const n=Math.hypot(t.width/2,t.height/2);return Math.hypot(r-t.width/2,e-t.height/2)/n*100}function Hy(r,e){const t=r==="top"?0:e.height,n=wp(e.width/2,t,e),a=wp(0,t,e);return[Math.min(n,a),Math.max(n,a)]}function Pp(r,e,t,n){switch(r.type){case"hex":case"alias":return Do(r);case"linear":return yp(n??[],Wy(r.degrees,e,t));case"radial":return yp(n??[],Hy(e,t))}}function Yy(r,e,t,n){let a=null,i=null;if((r==null?void 0:r.type)==="color"){const s=rt(e,r.value),l=s.type==="linear"||s.type==="radial"?Vy(s.points):null;a=Pp(s,"top",t,l),i=Pp(s,"bottom",t,l)}if(n!=null&&n.stickyComponents){const s=n.stickyComponents.hasHeader===!0,l=n.stickyComponents.hasFooter===!0;a=l&&!s?a:null,i=s&&!l?i:null}if((n==null?void 0:n.paywallFallbackColor)!=null||(n==null?void 0:n.hostFallbackColor)!=null){const s=vp(n.paywallFallbackColor,n.hostFallbackColor,e);a=a??s,i=i??s}return{top:a,bottom:i}}let Ol=null;function Gy(r,e,t){var u;if(typeof document>"u")return()=>{};const{paywallData:n,colorMode:a,hostFallbackColor:i}=t,s=document.documentElement,l=(u=n==null?void 0:n.components_config)==null?void 0:u.base;let c=null;if(e.kind==="style"&&e.style.background){const d=e.style.background;if(!d.includes("gradient"))c=d;else{const p=Yy(l==null?void 0:l.background,a,{width:window.innerWidth,height:window.innerHeight},{stickyComponents:{hasHeader:(l==null?void 0:l.header)!=null,hasFooter:(l==null?void 0:l.sticky_footer)!=null}});c=p.top??p.bottom}}return c===null&&(c=vp(l==null?void 0:l.safe_area_fallback_color,i,a)),c!==null&&(Ol=r,s.style.setProperty(mp,c)),()=>{Ol===r&&(Ol=null,s.style.removeProperty(mp))}}var Ky=W('<div class="backdrop svelte-n0yjga" role="presentation" tabindex="-1" aria-hidden="true"><div role="dialog" aria-modal="true"><!> <!></div></div>');const Xy={hash:"svelte-n0yjga",code:`.backdrop.svelte-n0yjga {position:absolute;inset:0 0 0 0;width:100%;height:100%;background-color:#0000003f;display:flex;flex-direction:column;}.sheet.svelte-n0yjga {position:absolute;inset:auto 0 0 0;transition-property:transform;transition-duration:225ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:translateY(100%);&::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;}&.visible {transform:translateY(0);}}.sheet.rc-sheet-video-bg.svelte-n0yjga::before {z-index:2;}
50
+ V ${o(a)} A ${o(a)} ${o(a)} 0 0 1 ${o(a)} 0 Z`)),P(h,y)};G(v,h=>{var y,k;(((y=e.shape)==null?void 0:y.type)==="rectangle"||((k=e.shape)==null?void 0:k.type)===void 0)&&h(w)})}P(r,c),he()}var My=Ar('<linearGradient x1="0" y1="0" x2="100%" y2="100%"><stop offset="0%"></stop><stop offset="100%"></stop></linearGradient>'),qy=Ar("<stop></stop>"),zy=Ar("<linearGradient></linearGradient>"),Ly=Ar("<stop></stop>"),Oy=Ar("<radialGradient></radialGradient>"),Ny=Ar("<!><!><!>",1);function Ui(r,e){me(e,!0);var t=Ny(),n=ie(t);{var a=u=>{var d=My(),p=A(d),g=Y(p);X(()=>{be(d,"id",e.id),be(p,"stop-color",e.overlay.value),be(g,"stop-color",e.overlay.value)}),P(u,d)};G(n,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="hex"&&u(a)})}var i=Y(n);{var s=u=>{var d=zy();Kt(d,21,()=>e.overlay.points,gn,(p,g)=>{var _=qy();X(()=>{be(_,"offset",`${o(g).percent}%`),be(_,"stop-color",o(g).color)}),P(p,_)}),X(()=>{be(d,"id",e.id),be(d,"gradientTransform",`rotate(${e.overlay.degrees-90}, 0.5, 0.5)`)}),P(u,d)};G(i,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="linear"&&u(s)})}var l=Y(i);{var c=u=>{var d=Oy();Kt(d,21,()=>e.overlay.points,gn,(p,g)=>{var _=Ly();X(()=>{be(_,"offset",`${o(g).percent}%`),be(_,"stop-color",o(g).color)}),P(p,_)}),X(()=>be(d,"id",e.id)),P(u,d)};G(l,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="radial"&&u(c)})}P(r,t),he()}var jy=Ar('<use fill="transparent"></use>'),By=Ar('<rect x="0" y="0" height="100%" width="100%"></rect>'),Ry=Ar('<use fill="none"></use>'),Uy=W('<div><svg width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><foreignObject x="0" y="0" width="100%" height="100%"><img alt="" class="svelte-cca6yg"/></foreignObject><!><!></g></svg></div>');const Vy={hash:"svelte-cca6yg",code:"img.svelte-cca6yg {width:100%;height:100%;object-fit:contain;object-position:center;}"};function Wy(r,e){me(e,!0),Pe(r,Vy);const t=()=>ge(u,"$selectedState",s),n=()=>ge(p,"$selectedPackageId",s),a=()=>ge(d,"$packageInfo",s),i=()=>ge(g,"$variables",s),[s,l]=Ve(),c=Cr(e,["$$slots","$$events","$$legacy"]),u=St(),d=wn(),{selectedPackageId:p}=Br(),g=Pn(),_=m(()=>({...c,...It(t(),e.overrides)})),f=m(()=>o(_).id),v=m(()=>o(_).source),w=m(()=>o(_).size),h=m(()=>o(_).mask_shape),y=m(()=>o(_).fit_mode),k=m(()=>o(_).padding),b=m(()=>o(_).margin),E=m(()=>o(_).color_overlay),S=m(()=>o(_).border),I=m(()=>o(_).shadow),q=st(),x=m(q),F=m(()=>tt(o(x),o(v)));let T=re(0),j=re(ar({height:0,width:0}));pr(()=>{if(o(F).width||o(F).height){z(j,{height:o(F).height,width:o(F).width},!0);return}const B=new window.Image;B.src=o(F).original;const K=()=>{z(j,{height:B.height,width:B.width},!0)};return B.addEventListener("load",K),()=>{B.removeEventListener("load",K)}});const O=m(()=>o(w).height.type==="fixed"?o(w).height.value:Math.round(o(T)*(o(j).height/o(j).width))),N=m(()=>or({width:br(o(w).width),height:`${o(O)}px`,margin:xr(o(b)),padding:xr(o(k)),"line-height":0,"flex-shrink":o(w).width.type==="fixed"?0:1}));let L=re(null);const C=m(()=>{var B,K;return[((B=o(L))==null?void 0:B.width)??0,((K=o(L))==null?void 0:K.height)??0]}),D=m(()=>ui(o(C),2)),M=m(()=>o(D)[0]),U=m(()=>o(D)[1]),V=m(()=>`0 0 ${o(M)} ${o(U)}`),R=m(()=>{var se;if(!((se=o(I))!=null&&se.color))return"";const{x:B,y:K,radius:ae,color:H}=o(I),de=lt(o(x),H);return`filter: drop-shadow(${B}px ${K}px ${ae}px ${de})`}),$=m(()=>o(E)&&tt(o(x),o(E))),ue=m(()=>kn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var pe=Ie(),ne=ie(pe);{var Z=B=>{var K=Uy(),ae=A(K),H=A(ae),de=A(H),se=A(de);Ri(se,{get shape(){return o(h)},get width(){return o(M)},get height(){return o(U)}});var Ee=Y(de),Le=A(Ee);Ri(Le,{get shape(){return o(h)},get width(){return o(M)},get height(){return o(U)}});var Me=Y(Ee);{let qe=m(()=>`${o(f)}-overlay`);Ui(Me,{get id(){return o(qe)},get overlay(){return o($)}})}var Te=Y(Me);{var Ce=qe=>{{let oe=m(()=>`${o(f)}-border-color`),Be=m(()=>tt(o(x),o(S).color));Ui(qe,{get id(){return o(oe)},get overlay(){return o(Be)}})}};G(Te,qe=>{o(S)&&o(S).width>0&&qe(Ce)})}var We=Y(H);{var Ye=qe=>{var oe=jy();X(()=>be(oe,"href",`#${o(f)}-border`)),P(qe,oe)};G(We,qe=>{o(S)&&o(S).width>0&&qe(Ye)})}var _e=Y(We),Se=A(_e),le=A(Se),fe=Y(Se);{var je=qe=>{var oe=By();X(()=>be(oe,"fill",`url(#${o(f)}-overlay)`)),P(qe,oe)};G(fe,qe=>{o($)&&qe(je)})}var Ue=Y(fe);{var Er=qe=>{var oe=Ry();X(()=>{be(oe,"href",`#${o(f)}-border`),be(oe,"stroke",`url(#${o(f)}-border-color)`),be(oe,"stroke-width",o(S).width*2)}),P(qe,oe)};G(Ue,qe=>{o(S)&&o(S).width>0&&qe(Er)})}X(qe=>{Ae(K,o(N)),be(ae,"viewBox",o(V)),Ae(ae,o(R)),be(de,"id",`${o(f)}-path`),be(Ee,"id",`${o(f)}-border`),be(_e,"clip-path",`url(#${o(f)}-path)`),be(le,"src",o(F).original),Ae(le,`object-fit:${qe??""}`)},[()=>Ya(o(y))]),Ku(ae,"contentRect",qe=>z(L,qe)),Pi(K,"clientWidth",qe=>z(T,qe)),P(B,K)};G(ne,B=>{o(ue)&&B(Z)})}P(r,pe),he(),l()}const fp=Symbol("packageId");function Hy(r){vr(fp,r)}function Yy(){return Ze(fp)}function Gy(r,e){me(e,!0);const t=()=>ge(g,"$selectedPackageId",c),n=()=>ge(_,"$variablesPerPackage",c),a=()=>ge(k,"$fallbackVariables",c),i=()=>ge(f,"$baseVariables",c),s=()=>ge(v,"$infoPerPackage",c),l=()=>ge(S,"$fallbackPackageInfo",c),[c,u]=Ve();Hy(e.package_id);const{defaultPackageId:d,emitComponentInteraction:p,selectedPackageId:g,variablesPerPackage:_,baseVariables:f,infoPerPackage:v}=Br();pr(()=>{if(e.is_selected_by_default){const x=e.package_id;He(()=>{Ei(g,x)})}});const w=m(()=>t()===e.package_id),h=Ir(o(w));pr(()=>{h.set(o(w))}),Di(h);const y=()=>{const x=t();x!==e.package_id&&(Ei(g,e.package_id),p({componentType:"package",componentName:e.name,componentValue:e.package_id,originPackageId:x,destinationPackageId:e.package_id,defaultPackageId:d}))},k=ll(),b=m(()=>{var F;const x=(F=n())==null?void 0:F[e.package_id];return x===void 0?a():{...i(),...x}}),E=Ir(o(b));pr(()=>{E.set(o(b))}),sl(E);const S=hh(),I=m(()=>{var x;return((x=s())==null?void 0:x[e.package_id])??l()}),q=Ir(o(I));pr(()=>{q.set(o(I))}),bd(q),Lr(r,gr(()=>e.stack,{onclick:y})),he(),u()}var mp;(function(r){r.weekly="$rc_weekly",r.monthly="$rc_monthly",r.two_month="$rc_two_month",r.three_month="$rc_three_month",r.six_month="$rc_six_month",r.annual="$rc_annual",r.lifetime="$rc_lifetime"})(mp||(mp={}));const Ky={string:r=>({type:"string",value:r}),number:r=>({type:"number",value:r}),boolean:r=>({type:"boolean",value:r})};function hp(r,e){const t=Object.fromEntries(Object.entries(r).map(([a,{value:i}])=>[a,String(i)]));return e?{...Object.fromEntries(Object.entries(e.custom_variables??{}).map(([a,{default_value:i}])=>[a,String(i)])),...t}:t}const vp="--rc-purchases-ui-bg-color";function Xy(r,e,t){const n=a=>t==="dark"?a==null?void 0:a.dark:a==null?void 0:a.light;return n(r)??n(e)??null}const yp=/^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$/;function Zy(r){return yp.test(r)}function Jy(r){const e=yp.exec(r);return e!=null&&(e[1]==null||e[1].toLowerCase()==="ff")}function Vi(r){return r.length===7?`${r.toLowerCase()}ff`:r.toLowerCase()}function bp(r,e,t){const n=Xy(r,e,t);return n?Ao(n):null}function jl(r,e){const t=r[0],n=r.at(-1);if(t==null||n==null)return null;if(e<=t.percent)return Vi(t.color);if(e>=n.percent)return Vi(n.color);const a=r.findIndex(l=>l.percent>=e),i=r[a-1],s=r[a];return i==null||s==null?null:i.color.toLowerCase()===s.color.toLowerCase()?Vi(i.color):i.percent===s.percent?Vi(s.color):null}function Qy(r){return r.filter(e=>Number.isFinite(e.percent)&&Zy(e.color)).slice().sort((e,t)=>e.percent-t.percent)}function kp(r,[e,t]){const n=jl(r,e);if(n==null||!Jy(n))return null;const a=[e,...r.map(s=>s.percent).filter(s=>s>e&&s<t),t];return a.every((s,l)=>{if(jl(r,s)!==n)return!1;const c=a[l+1];return c==null||c===s?!0:jl(r,(s+c)/2)===n})?n:null}function wp(r){return Math.abs(r)<1e-10?0:r}function Pp(r,e,t,n){const a=r*Math.PI/180,i=wp(Math.sin(a)),s=wp(-Math.cos(a)),l=Math.abs(i)*n.width+Math.abs(s)*n.height;return((e-n.width/2)*i+(t-n.height/2)*s+l/2)/l*100}function $y(r,e,t){const n=e==="top"?0:t.height,a=Pp(r,0,n,t),i=Pp(r,t.width,n,t);return[Math.min(a,i),Math.max(a,i)]}function xp(r,e,t){const n=Math.hypot(t.width/2,t.height/2);return Math.hypot(r-t.width/2,e-t.height/2)/n*100}function eb(r,e){const t=r==="top"?0:e.height,n=xp(e.width/2,t,e),a=xp(0,t,e);return[Math.min(n,a),Math.max(n,a)]}function Ep(r,e,t,n){switch(r.type){case"hex":case"alias":return Ao(r);case"linear":return kp(n??[],$y(r.degrees,e,t));case"radial":return kp(n??[],eb(e,t))}}function rb(r,e,t,n){let a=null,i=null;if((r==null?void 0:r.type)==="color"){const s=tt(e,r.value),l=s.type==="linear"||s.type==="radial"?Qy(s.points):null;a=Ep(s,"top",t,l),i=Ep(s,"bottom",t,l)}if(n!=null&&n.stickyComponents){const s=n.stickyComponents.hasHeader===!0,l=n.stickyComponents.hasFooter===!0;a=l&&!s?a:null,i=s&&!l?i:null}if((n==null?void 0:n.paywallFallbackColor)!=null||(n==null?void 0:n.hostFallbackColor)!=null){const s=bp(n.paywallFallbackColor,n.hostFallbackColor,e);a=a??s,i=i??s}return{top:a,bottom:i}}let Bl=null;function tb(r,e,t){var u;if(typeof document>"u")return()=>{};const{paywallData:n,colorMode:a,hostFallbackColor:i}=t,s=document.documentElement,l=(u=n==null?void 0:n.components_config)==null?void 0:u.base;let c=null;if(e.kind==="style"&&e.style.background){const d=e.style.background;if(!d.includes("gradient"))c=d;else{const p=rb(l==null?void 0:l.background,a,{width:window.innerWidth,height:window.innerHeight},{stickyComponents:{hasHeader:(l==null?void 0:l.header)!=null,hasFooter:(l==null?void 0:l.sticky_footer)!=null}});c=p.top??p.bottom}}return c===null&&(c=bp(l==null?void 0:l.safe_area_fallback_color,i,a)),c!==null&&(Bl=r,s.style.setProperty(vp,c)),()=>{Bl===r&&(Bl=null,s.style.removeProperty(vp))}}var nb=W('<div class="backdrop svelte-3782sj" role="presentation" tabindex="-1" aria-hidden="true"><div role="dialog" aria-modal="true"><!> <!></div></div>');const ab={hash:"svelte-3782sj",code:`.backdrop.svelte-3782sj {position:absolute;inset:0 0 0 0;width:100%;height:100%;background-color:#0000003f;display:flex;flex-direction:column;}.sheet.svelte-3782sj {position:absolute;inset:auto 0 0 0;transition-property:transform;transition-duration:225ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:translateY(100%);&::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;}&.visible {transform:translateY(0);}}.sheet.rc-sheet-video-bg.svelte-3782sj::before {z-index:2;}
44
51
 
45
- /* Match stack video stacking: tint above video (::before z-index). */.sheet.rc-sheet-video-bg.svelte-n0yjga > .rc-bg-video {z-index:1;}.sheet.rc-sheet-video-bg.svelte-n0yjga > .rc-sheet-stack-above-video {position:relative;z-index:3;}`};function Zy(r,e){fe(e,!0),Pe(r,Xy);const t=()=>ge(l,"$selectedState",n),[n,a]=He(),i=Ir(e,["$$slots","$$events","$$legacy"]),{stack:s}=i,l=xt(),c=m(()=>({...i,...Et(t(),e.overrides)})),u=m(()=>o(c).size),d=m(()=>o(c).background),p=m(()=>o(c).background_blur),g=st(),_=m(g),f=m(()=>{var j;return((j=o(d))==null?void 0:j.type)==="video"}),v=m(()=>{if(!o(f))return null;const j=o(d);return!j||j.type!=="video"?null:Ao(o(_),j)}),y=m(()=>ir({background:o(p)?"#0000003f":""})),h=m(()=>ir({height:Cr(o(u).height),...zi({hasVideoBg:o(f),clipOverflow:!0}),...Nn(o(_),null,o(d))})),{onButtonAction:b}=Gr();let k,w=te(!1);Er(()=>{requestAnimationFrame(()=>{z(w,!0)})});const E=()=>{z(w,!1)},S=()=>{o(w)||b({type:"navigate_to",destination:"sheet",sheet:null})},I=j=>{j.target===j.currentTarget&&E()},F=j=>{j.key==="Escape"&&E()};let x=m(()=>[`sheet ${o(w)?"visible":""}`,o(f)?Mi("sheet"):""].filter(Boolean).join(" "));var q=Ky();q.__click=I,q.__keydown=F;var T=D(q),N=D(T);{var L=j=>{zo(j,{get url(){return o(v).url},get urlLowRes(){return o(v).url_low_res},get objectFit(){return o(v).fit},get objectPosition(){return o(v).position},get poster(){return o(v).posterWebp},get mute(){return o(v).mute},get loop(){return o(v).loop}})};G(N,j=>{o(v)&&j(L)})}var O=Y(N,2);{let j=m(()=>o(f)?"rc-sheet-stack-above-video":void 0);jr(O,_r(()=>s,{get class(){return o(j)}}))}Na(T,j=>k=j,()=>k),X(()=>{Ae(q,o(y)),pr(T,1,ca(o(x)),"svelte-n0yjga"),Ae(T,o(h))}),Or("transitionend",T,S),P(r,q),me(),a()}_n(["click","keydown"]);var Jy=W("<div></div>"),Qy=W('<div class="viewport-backdrop svelte-8i5irv"><!> <!></div>');const $y={hash:"svelte-8i5irv",code:".viewport-backdrop.svelte-8i5irv {position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;isolation:isolate;}.viewport-backdrop-overlay.svelte-8i5irv {position:absolute;inset:0;pointer-events:none;z-index:1;}.viewport-backdrop-overlay.z-over-video-bg.svelte-8i5irv {z-index:2;}"};function eb(r,e){fe(e,!0),Pe(r,$y);const t=m(()=>{var c;return e.model.kind==="style"&&((c=e.model.style.background)!=null&&c.includes("gradient"))?Object.entries(e.model.style).map(([u,d])=>`${u}:${d}`).join(";"):e.model.kind==="image"?[`background-image:url("${e.model.src}")`,`background-size:${e.model.fit}`,`background-position:${e.model.position}`,"background-repeat:no-repeat"].join(";"):""}),n=m(()=>e.model.kind!=="image"&&e.model.kind!=="video"||!e.model.overlay||e.model.overlay==="none"?null:`background:${e.model.overlay}`),a=m(()=>o(t)!==""||e.model.kind==="video");var i=Se(),s=se(i);{var l=c=>{var u=Qy(),d=D(u);{var p=f=>{zo(f,{get url(){return e.model.url},get urlLowRes(){return e.model.url_low_res},get objectFit(){return e.model.fit},get objectPosition(){return e.model.position},get poster(){return e.model.posterWebp},get mute(){return e.model.mute},get loop(){return e.model.loop}})};G(d,f=>{e.model.kind==="video"&&f(p)})}var g=Y(d,2);{var _=f=>{var v=Jy();let y;X(()=>{y=pr(v,1,"viewport-backdrop-overlay svelte-8i5irv",null,y,{"z-over-video-bg":e.model.kind==="video"}),Ae(v,o(n))}),P(f,v)};G(g,f=>{o(n)&&f(_)})}X(()=>Ae(u,o(t)!==""?o(t):void 0)),P(c,u)};G(s,c=>{o(a)&&c(l)})}P(r,i),me()}var rb=W('<div class="header-wrapper svelte-1x9obm9"><!></div>'),tb=W('<div><!> <!> <div class="paywall-content svelte-1x9obm9"><!> <!></div></div> <!>',1);const nb={hash:"svelte-1x9obm9",code:`.paywall.svelte-1x9obm9 {position:relative;display:flex;flex-direction:column;align-items:stretch;height:100%;transition-property:filter, transform;transition-duration:0.1s;transition-timing-function:ease-in-out;transform-origin:center;&.blur {filter:blur(10px) brightness(0.8);transform:scale(1.045);}}.header-wrapper.svelte-1x9obm9 {position:sticky;top:0;width:100%;}.paywall-content.svelte-1x9obm9 {z-index:2;width:100%;flex:1 1 auto;display:flex;flex-direction:column;min-height:0;& > .paywall-content-scroll {flex:1 1 auto;min-height:0;overflow-y:auto;}}
52
+ /* Match stack video stacking: tint above video (::before z-index). */.sheet.rc-sheet-video-bg.svelte-3782sj > .rc-bg-video {z-index:1;}.sheet.rc-sheet-video-bg.svelte-3782sj > .rc-sheet-stack-above-video {position:relative;z-index:3;}`};function ob(r,e){me(e,!0),Pe(r,ab);const t=()=>ge(l,"$selectedState",n),[n,a]=Ve(),i=Cr(e,["$$slots","$$events","$$legacy"]),{stack:s}=i,l=St(),c=m(()=>({...i,...It(t(),e.overrides)})),u=m(()=>o(c).size),d=m(()=>o(c).background),p=m(()=>o(c).background_blur),g=st(),_=m(g),f=m(()=>{var L;return((L=o(d))==null?void 0:L.type)==="video"}),v=m(()=>{if(!o(f))return null;const L=o(d);return!L||L.type!=="video"?null:Fo(o(_),L)}),w=m(()=>or({background:o(p)?"#0000003f":""})),h=m(()=>or({height:br(o(u).height),...Oi({hasVideoBg:o(f),clipOverflow:!0}),...Bn(o(_),null,o(d))})),{onButtonAction:y}=Br();let k,b=re(!1);Pr(()=>{requestAnimationFrame(()=>{z(b,!0)})});const E=()=>{z(b,!1)},S=()=>{o(b)||y({type:"navigate_to",destination:"sheet",sheet:null})},I=L=>{L.target===L.currentTarget&&E()},q=L=>{L.key==="Escape"&&E()};let x=m(()=>[`sheet ${o(b)?"visible":""}`,o(f)?Li("sheet"):""].filter(Boolean).join(" "));var F=nb();F.__click=I,F.__keydown=q;var T=A(F),j=A(T);{var O=L=>{zo(L,{get url(){return o(v).url},get urlLowRes(){return o(v).url_low_res},get objectFit(){return o(v).fit},get objectPosition(){return o(v).position},get poster(){return o(v).posterWebp},get mute(){return o(v).mute},get loop(){return o(v).loop}})};G(j,L=>{o(v)&&L(O)})}var N=Y(j,2);{let L=m(()=>o(f)?"rc-sheet-stack-above-video":void 0);Lr(N,gr(()=>s,{get class(){return o(L)}}))}pa(T,L=>k=L,()=>k),X(()=>{Ae(F,o(w)),_r(T,1,da(o(x)),"svelte-3782sj"),Ae(T,o(h))}),jr("transitionend",T,S),P(r,F),he(),a()}_n(["click","keydown"]);var ib=W("<div></div>"),sb=W('<div class="viewport-backdrop svelte-1v6ofgi"><!> <!></div>');const lb={hash:"svelte-1v6ofgi",code:".viewport-backdrop.svelte-1v6ofgi {position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;isolation:isolate;}.viewport-backdrop-overlay.svelte-1v6ofgi {position:absolute;inset:0;pointer-events:none;z-index:1;}.viewport-backdrop-overlay.z-over-video-bg.svelte-1v6ofgi {z-index:2;}"};function cb(r,e){me(e,!0),Pe(r,lb);const t=m(()=>{var c;return e.model.kind==="style"&&((c=e.model.style.background)!=null&&c.includes("gradient"))?Object.entries(e.model.style).map(([u,d])=>`${u}:${d}`).join(";"):e.model.kind==="image"?[`background-image:url("${e.model.src}")`,`background-size:${e.model.fit}`,`background-position:${e.model.position}`,"background-repeat:no-repeat"].join(";"):""}),n=m(()=>e.model.kind!=="image"&&e.model.kind!=="video"||!e.model.overlay||e.model.overlay==="none"?null:`background:${e.model.overlay}`),a=m(()=>o(t)!==""||e.model.kind==="video");var i=Ie(),s=ie(i);{var l=c=>{var u=sb(),d=A(u);{var p=f=>{zo(f,{get url(){return e.model.url},get urlLowRes(){return e.model.url_low_res},get objectFit(){return e.model.fit},get objectPosition(){return e.model.position},get poster(){return e.model.posterWebp},get mute(){return e.model.mute},get loop(){return e.model.loop}})};G(d,f=>{e.model.kind==="video"&&f(p)})}var g=Y(d,2);{var _=f=>{var v=ib();let w;X(()=>{w=_r(v,1,"viewport-backdrop-overlay svelte-1v6ofgi",null,w,{"z-over-video-bg":e.model.kind==="video"}),Ae(v,o(n))}),P(f,v)};G(g,f=>{o(n)&&f(_)})}X(()=>Ae(u,o(t)!==""?o(t):void 0)),P(c,u)};G(s,c=>{o(a)&&c(l)})}P(r,i),he()}var ub=W('<div class="header-wrapper svelte-104238k"><!></div>'),db=W('<div><!> <!> <div class="paywall-content svelte-104238k"><!> <!></div></div> <!>',1);const pb={hash:"svelte-104238k",code:`.paywall.svelte-104238k {position:relative;display:flex;flex-direction:column;align-items:stretch;height:100%;transition-property:filter, transform;transition-duration:0.1s;transition-timing-function:ease-in-out;transform-origin:center;&.blur {filter:blur(10px) brightness(0.8);transform:scale(1.045);}}.header-wrapper.svelte-104238k {position:sticky;top:0;width:100%;}.paywall-content.svelte-104238k {z-index:2;width:100%;flex:1 1 auto;display:flex;flex-direction:column;min-height:0;& > .paywall-content-scroll {flex:1 1 auto;min-height:0;overflow-y:auto;}}
46
53
  /* Scoped reset - same as original but only affects .paywall descendants */.paywall *,
47
54
  .paywall *::before,
48
- .paywall *::after {box-sizing:border-box;margin:0;padding:0;font-family:sans-serif;}.paywall {line-height:1.5;-webkit-font-smoothing:antialiased;}.paywall img,
55
+ .paywall *::after {box-sizing:border-box;margin:0;padding:0;font-family:inherit;}.paywall {font-family:sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased;}.paywall img,
49
56
  .paywall picture,
50
57
  .paywall video,
51
58
  .paywall canvas,
@@ -65,54 +72,54 @@ Minimum version required to store current data is: `+T+`.
65
72
  .paywall h5,
66
73
  .paywall h6 {text-wrap:balance;}.paywall .rc-gradient-border {position:relative;}.paywall .rc-gradient-border::after {content:"";display:var(--rc-border-display, none);position:absolute;inset:calc(-1 * var(--rc-border-width, 0px));border-radius:inherit;padding:var(--rc-border-width, 0px);background:var(--rc-border-bg, transparent);mask:linear-gradient(#fff 0 0) content-box,
67
74
  linear-gradient(#fff 0 0);-webkit-mask:linear-gradient(#fff 0 0) content-box,
68
- linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;pointer-events:none;}`};function xp(r,e){fe(e,!0),Pe(r,nb);const t=()=>ge(E,"$selectedPackageId",n),[n,a]=He(),i=J(e,"variablesPerPackage",19,()=>({})),s=J(e,"globalVariables",19,()=>({})),l=J(e,"infoPerPackage",19,()=>({})),c=J(e,"hideBackButtons",3,!1),u=J(e,"initialInputSelections",19,()=>({})),d=J(e,"customVariables",19,()=>({})),p=ph(()=>e.preferredColorMode),g=m(()=>kh(e.paywallData,p())),_=Symbol();gr(()=>Gy(_,o(g),{paywallData:e.paywallData,colorMode:p(),hostFallbackColor:e.safeAreaFallbackColor}));const{default_locale:f,components_config:v,components_localizations:y}=e.paywallData,{base:h}=v,b=$m(h),k=m(()=>{const ae=o(g);return ae.kind==="style"&&ae.style.background&&!ae.style.background.includes("gradient")?ir(ae.style):""}),{getLocalizedString:w}=Jm(()=>({defaultLocale:f,selectedLocale:e.selectedLocale,localizations:y})),E=Sr(b),S=ae=>{if(ae!==void 0)return ae.trim().length>0?ae:void 0},I=ae=>{var Z;(Z=e.onComponentInteraction)==null||Z.call(e,{...ae,componentName:S(ae.componentName)})},F=ae=>{var B;const Z=t();Z!==void 0&&((B=e.onPurchaseClicked)==null||B.call(e,Z,ae??""))};let x=te(void 0);const q=(ae,Z)=>{var B,K,oe,H,pe,ue,Ee,qe;switch(ae.type){case"workflow":Z&&((B=e.onActionTriggered)==null||B.call(e,Z));return;case"complete_workflow":{const Me=w(ae.url.url_lid);if(!Me)return;(K=e.onCompleteWorkflowNavigate)==null||K.call(e,{url:Me,method:ae.url.method,url_query_params:ae.url_query_params});return}case"navigate_back":(oe=e.onBackClicked)==null||oe.call(e);return;case"close_workflow":(H=e.onClose)==null||H.call(e);return;case"restore_purchases":(pe=e.onRestorePurchasesClicked)==null||pe.call(e);return}switch(ae.destination){case"customer_center":(ue=e.onVisitCustomerCenterClicked)==null||ue.call(e);return;case"screen_redirect":(Ee=e.onActionTriggered)==null||Ee.call(e,"screen_redirect");return;case"privacy_policy":case"terms":case"url":const Me=w(ae.url.url_lid);Me&&((qe=e.onNavigateToUrlClicked)==null||qe.call(e,Me));return;case"sheet":if(ae.sheet)z(x,{props:ae.sheet,rootSelectedPackageId:t()},!0);else{if(o(x)){const Te=o(x).rootSelectedPackageId;I({componentType:"package_selection_sheet",componentName:o(x).props.name,componentValue:"close",currentPackageId:t(),resultingPackageId:Te}),E.set(Te)}z(x,void 0)}return;case"offer_code":case"web_paywall_link":return}},T=fp(d(),e.uiConfig);gd({defaultPackageId:b,selectedPackageId:E,variablesPerPackage:Pt(i()),baseVariables:Pt({...s(),...T}),infoPerPackage:Pt(l()),onPurchase:F,emitComponentInteraction:I,onNavigateToUrl:e.onNavigateToUrlClicked,onButtonAction:q,onInputChanged:e.onInputChanged,onReservedAttributeChanged:e.onReservedAttributeChanged,walletButtonRender:e.walletButtonRender,uiConfig:e.uiConfig,hideBackButtons:c()});const N=Km();Xm(N),Zm(u());const L=Lt(E,ae=>{const Z=i()[ae||""];return{...s(),...T,...Z}});ol(L);const O=Lt(E,ae=>l()[ae||""]);vd(O),Er(()=>{wh(e.uiConfig)});const j=m(()=>o(x)?"paywall blur":"paywall"),{stack:C,sticky_footer:A,header:M}=h,U=C.components[0],V=(U==null?void 0:U.type)==="image"&&U.size.width.type==="fill",R=!!M&&V;let $=te(0);var le=Se(),_e=se(le);Zc(_e,{get onerror(){return e.onError}},ae=>{var Z=tb(),B=se(Z),K=D(B);eb(K,{get model(){return o(g)}});var oe=Y(K,2);{var H=Ie=>{var Be=rb(),Ye=D(Be);_p(Ye,_r(()=>M)),X(()=>Ae(Be,`z-index: ${md};`)),wi(Be,"clientHeight",ie=>z($,ie)),P(Ie,Be)};G(oe,Ie=>{M&&Ie(H)})}var pe=Y(oe,2),ue=D(pe);{let Ie=m(()=>({height:"auto",...R?{"margin-top":`-${o($)}px`}:{}}));jr(ue,_r(()=>C,{class:"paywall-content-scroll",get style(){return o(Ie)}}))}var Ee=Y(ue,2);{var qe=Ie=>{pp(Ie,_r(()=>A))};G(Ee,Ie=>{A&&Ie(qe)})}var Me=Y(B,2);{var Te=Ie=>{Zy(Ie,_r(()=>o(x).props))};G(Me,Ie=>{o(x)&&Ie(Te)})}X(Ie=>{pr(B,1,ca(o(j)),"svelte-1x9obm9"),Ae(B,o(k)),Ae(pe,Ie)},[()=>[e.maxContentWidth?`max-width: ${e.maxContentWidth}; margin-inline: auto;`:""].filter(Boolean).join(" ")]),P(ae,Z)}),P(r,le),me(),a()}function ab(r,e){fe(e,!0);const t=()=>ge(p,"$infoPerPackage",a),n=()=>ge(d,"$selectedPackageId",a),[a,i]=He(),s=Ir(e,["$$slots","$$events","$$legacy"]),{stack:l}=s,{emitComponentInteraction:c,onPurchase:u,selectedPackageId:d,infoPerPackage:p}=Gr(),{getLocalizedString:g}=Si(),_=(y,h,b)=>{const k=y.indexOf("#"),w=k===-1?"":y.slice(k),E=k===-1?y:y.slice(0,k),S=E.includes("?")?"&":"?";return`${E}${S}${encodeURIComponent(h)}=${encodeURIComponent(b)}${w}`},f=y=>{var w,E,S,I,F;let h;const b=((w=e.method)==null?void 0:w.type)==="unknown"||(E=e.method)==null?void 0:E.type,k=(I=(S=t())==null?void 0:S[y])==null?void 0:I.webCheckoutURL;if(((F=e.method)==null?void 0:F.type)==="custom_web_checkout"){const x=g(e.method.custom_url.url_lid);if(x){const q=e.method.custom_url.package_param;h=q?_(x,q,y):x}}if(h===void 0){const x=b??e.action;(x==="web_checkout"||x==="web_product_selection"||x==="custom_web_checkout")&&(h=k)}return{componentType:"purchase_button",componentName:e.name,componentValue:b??e.action??"web_checkout",...h?{componentURL:h}:{},currentPackageId:y}};jr(r,_r(()=>l,{onclick:()=>{var h;const y=n();y!==void 0&&c(f(y)),u((h=e.triggers)==null?void 0:h.on_purchase_press)}})),me(),i()}function ob(r){return{display:"grid","grid-template-columns":"auto 1fr","column-gap":`${r.column_gutter}px`,"align-items":"stretch",position:"relative",flex:"0 1 auto",width:Cr(r.size.width),height:Cr(r.size.height),padding:Pr(r.padding),margin:Pr(r.margin)}}function ib(r,e){return{display:"flex","flex-direction":"column","justify-content":"flex-start","align-items":"flex-start",gap:`${e.text_spacing}px`,height:"fit-content","margin-bottom":`${e.item_spacing}px`}}var sb=W("<div><div></div></div>"),lb=W("<div><!> <div><!></div></div> <div><!> <!></div>",1);function cb(r,e){fe(e,!0);const t=()=>ge(s,"$selectedState",n),[n,a]=He(),i=Ir(e,["$$slots","$$events","$$legacy"]),s=xt(),l=m(()=>({...i,...Et(t(),e.overrides)})),c=m(()=>o(l).icon),u=m(()=>o(l).title),d=m(()=>o(l).description),p=m(()=>o(l).connector),g=m(()=>o(l).text_spacing),_=m(()=>o(l).item_spacing),f=st(),v=m(f),y=ir({position:"relative"}),h=ir({position:"relative","z-index":"2"}),b=m(()=>ir(ib(o(v),{text_spacing:o(g),item_spacing:o(_)}))),k=m(()=>{var j;return o(p)?ir({position:"absolute",left:"50%",top:`${(((j=o(c))==null?void 0:j.size.width.value)??24)/2}px`,transform:"translateX(-50%)","z-index":"1",width:`${o(p).width}px`,height:"100%","padding-top":`${o(p).margin.top}px`,"padding-bottom":`${o(p).margin.bottom}px`}):""}),w=m(()=>{if(!o(p))return"";const j=lt(o(v),o(p).color);return ir({width:"100%",height:"100%",background:j})});var E=lb(),S=se(E),I=D(S);{var F=j=>{var C=sb(),A=D(C);X(()=>{Ae(C,o(k)),Ae(A,o(w))}),P(j,C)};G(I,j=>{o(p)&&j(F)})}var x=Y(I,2),q=D(x);lp(q,_r(()=>o(c)));var T=Y(S,2),N=D(T);Ml(N,_r(()=>o(u)));var L=Y(N,2);{var O=j=>{Ml(j,_r(()=>o(d)))};G(L,j=>{o(d)&&j(O)})}X(()=>{Ae(S,y),Ae(x,h),Ae(T,o(b))}),P(r,E),me(),a()}var ub=W("<div></div>");function db(r,e){fe(e,!0);const t=()=>ge(u,"$selectedState",s),n=()=>ge(p,"$selectedPackageId",s),a=()=>ge(d,"$packageInfo",s),i=()=>ge(g,"$variables",s),[s,l]=He(),c=Ir(e,["$$slots","$$events","$$legacy"]),u=xt(),d=zn(),{selectedPackageId:p}=Gr(),g=qn(),_=m(()=>({...c,...Et(t(),e.overrides)})),f=m(()=>o(_).items),v=m(()=>o(_).text_spacing),y=m(()=>o(_).item_spacing),h=m(()=>o(_).column_gutter),b=m(()=>o(_).icon_alignment),k=m(()=>o(_).size),w=m(()=>o(_).padding),E=m(()=>o(_).margin),S=m(()=>hf(o(_),["items","text_spacing","item_spacing","column_gutter","icon_alignment","size","padding","margin"])),I=m(()=>Mn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible)),F=m(()=>ir(ob({items:o(f),text_spacing:o(v),item_spacing:o(y),column_gutter:o(h),icon_alignment:o(b),size:o(k),padding:o(w),margin:o(E),...o(S)})));var x=Se(),q=se(x);{var T=N=>{var L=ub();Gt(L,21,()=>o(f),O=>O.id,(O,j)=>{cb(O,_r(()=>o(j),{get text_spacing(){return o(v)},get item_spacing(){return o(y)}}))}),X(()=>Ae(L,o(F))),P(N,L)};G(q,N=>{o(I)&&o(f).length&&N(T)})}P(r,x),me(),l()}var pb=W("<div><p>No paywall data provided</p></div>"),_b=W('<div class="paywall-container"><!></div>');function gb(r,e){fe(e,!0);const t=J(e,"selectedLocale",3,"en_US"),n=J(e,"globalVariables",19,()=>({})),a=J(e,"containerId",3,"screen-container"),i=J(e,"initialInputSelections",19,()=>({}));var s=_b(),l=D(s);{var c=d=>{xp(d,{get paywallData(){return e.paywallComponents},get selectedLocale(){return t()},get uiConfig(){return e.uiConfig},get variablesPerPackage(){return e.variablesPerPackage},get infoPerPackage(){return e.infoPerPackage},get globalVariables(){return n()},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return i()},onNavigateToUrlClicked:p=>{e.onNavigateToUrlClicked?e.onNavigateToUrlClicked(p):window.open(p,"_blank")},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},onVisitCustomerCenterClicked:()=>{var p;return(p=e.onVisitCustomerCenterClicked)==null?void 0:p.call(e)},get onBackClicked(){return e.onBackClicked},get onClose(){return e.onClose},onRestorePurchasesClicked:()=>{var p;return(p=e.onRestorePurchasesClicked)==null?void 0:p.call(e)},onActionTriggered:p=>{var g;(g=e.onActionTriggered)==null||g.call(e,p)},get onComponentInteraction(){return e.onComponentInteraction},get onPurchaseClicked(){return e.onPurchaseClicked},get onInputChanged(){return e.onInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},onError:p=>{console.error("Paywall error:",p)}})},u=d=>{var p=pb();P(d,p)};G(l,d=>{e.paywallComponents?d(c):d(u,!1)})}X(()=>we(s,"id",a())),P(r,s),me()}function fb(r,e){fe(e,!0);function t(_){return _.type==="step"&&typeof _.step_id=="string"}let n=te(ar([])),a=te(void 0);const i=m(()=>o(n)[o(n).length-1]??{pageId:e.workflow.initial_page_id,stepId:e.workflow.initial_step_id}),s=m(()=>e.workflow.pages[o(i).pageId]);du(()=>{o(a)!==e.workflow.initial_page_id&&(z(a,e.workflow.initial_page_id,!0),z(n,[{pageId:e.workflow.initial_page_id,stepId:e.workflow.initial_step_id}],!0),c({workflowId:e.workflow.workflowId,stepId:e.workflow.initial_step_id,fromStepId:void 0,toStepId:void 0,reason:"start",...l(e.workflow.initial_step_id)}))});function l(_){const f=e.workflow.steps[_];return{isFirstStep:_===e.workflow.initial_step_id,isLastStep:f!==void 0&&!Object.values(f.trigger_actions).some(v=>t(v))}}function c(_){var f;(f=e.onStepChanged)==null||f.call(e,_)}function u(_){var E,S,I,F;const f=e.workflow.steps[o(i).stepId];if(!f){console.warn(`[Workflow] onActionTriggered: no current step found for step_id "${o(i).stepId}"`);return}const v=(E=f.triggers.find(x=>x.component_id===_))==null?void 0:E.action_id;if(!v){console.warn(`[Workflow] onActionTriggered: no trigger entry found for component "${_}" on step "${o(i).stepId}"`),(S=e.onActionTriggered)==null||S.call(e,_);return}const y=f.trigger_actions[v];if(!y){console.warn(`[Workflow] onActionTriggered: no trigger_action found for action_id "${v}" on step "${o(i).stepId}"`),(I=e.onActionTriggered)==null||I.call(e,_);return}if(!t(y)){console.warn("[Workflow] onActionTriggered: trigger_action is not a simple step action, falling back to onActionTriggered"),(F=e.onActionTriggered)==null||F.call(e,_);return}const h=e.workflow.steps[y.step_id];if(!h){console.warn(`[Workflow] onActionTriggered: step_id "${y.step_id}" not found in workflow steps`);return}const b=h.screen_id;if(!b){console.warn(`[Workflow] onActionTriggered: step "${y.step_id}" has no screen_id (logic/experiment step?)`);return}if(!e.workflow.pages[b]){console.warn(`[Workflow] onActionTriggered: screen_id "${b}" not found in workflow pages`);return}const k=o(i).stepId,w=y.step_id;c({workflowId:e.workflow.workflowId,stepId:k,fromStepId:void 0,toStepId:w,reason:"completed",...l(k)}),z(n,[...o(n),{pageId:b,stepId:w}],!0),c({workflowId:e.workflow.workflowId,stepId:w,fromStepId:k,toStepId:void 0,reason:"forward",...l(w)})}function d(){var _;if(o(n).length>1){const f=o(i).stepId,v=o(n)[o(n).length-2].stepId;c({workflowId:e.workflow.workflowId,stepId:f,fromStepId:void 0,toStepId:v,reason:"completed",...l(f)}),z(n,o(n).slice(0,-1),!0),c({workflowId:e.workflow.workflowId,stepId:v,fromStepId:f,toStepId:void 0,reason:"back",...l(v)})}else c({workflowId:e.workflow.workflowId,stepId:o(i).stepId,fromStepId:void 0,toStepId:void 0,reason:"completed",...l(o(i).stepId)}),(_=e.onExitBack)==null||_.call(e)}var p=Se(),g=se(p);Fu(g,()=>o(i).pageId,_=>{gb(_,{get paywallComponents(){return o(s)},get uiConfig(){return e.uiConfig},get selectedLocale(){return e.selectedLocale},get globalVariables(){return e.globalVariables},get variablesPerPackage(){return e.variablesPerPackage},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return e.initialInputSelections},get containerId(){return e.containerId},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},get onPurchaseClicked(){return e.onPurchaseClicked},onActionTriggered:u,get onInputChanged(){return e.onInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},get onNavigateToUrlClicked(){return e.onNavigateToUrlClicked},get onRestorePurchasesClicked(){return e.onRestorePurchasesClicked},get onVisitCustomerCenterClicked(){return e.onVisitCustomerCenterClicked},get onComponentInteraction(){return e.onComponentInteraction},onBackClicked:d,onClose:()=>{var f;c({workflowId:e.workflow.workflowId,stepId:o(i).stepId,fromStepId:void 0,toStepId:void 0,reason:"completed",...l(o(i).stepId)}),(f=e.onClose)==null||f.call(e)}})}),P(r,p),me()}var mb=W('<img alt="" class="svelte-j5chcp"/>'),hb=W('<video playsinline="" class="svelte-j5chcp"><track kind="captions"/></video>',2),vb=Dr('<use fill="transparent"></use>'),yb=Dr('<rect x="0" y="0" height="100%" width="100%"></rect>'),bb=Dr('<use fill="none"></use>'),kb=W('<div class="video-outer svelte-j5chcp"><div class="video-media svelte-j5chcp"><div class="video-clip"><!></div> <svg class="video-deco svelte-j5chcp" width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><!><!></g></svg></div></div>');const wb={hash:"svelte-j5chcp",code:`.video-outer.svelte-j5chcp {position:relative;}.video-media.svelte-j5chcp {position:relative;width:100%;height:100%;min-height:0;}.video-deco.svelte-j5chcp {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}video.svelte-j5chcp,
69
- img.svelte-j5chcp {width:100%;height:100%;object-fit:contain;object-position:center;}
75
+ linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;pointer-events:none;}`};function Sp(r,e){me(e,!0),Pe(r,pb);const t=()=>ge(E,"$selectedPackageId",n),[n,a]=Ve(),i=J(e,"variablesPerPackage",19,()=>({})),s=J(e,"globalVariables",19,()=>({})),l=J(e,"infoPerPackage",19,()=>({})),c=J(e,"hideBackButtons",3,!1),u=J(e,"initialInputSelections",19,()=>({})),d=J(e,"customVariables",19,()=>({})),p=mh(()=>e.preferredColorMode),g=m(()=>Eh(e.paywallData,p())),_=Symbol();pr(()=>tb(_,o(g),{paywallData:e.paywallData,colorMode:p(),hostFallbackColor:e.safeAreaFallbackColor}));const{default_locale:f,components_config:v,components_localizations:w}=e.paywallData,{base:h}=v,y=nh(h),k=m(()=>{const ne=o(g);return ne.kind==="style"&&ne.style.background&&!ne.style.background.includes("gradient")?or(ne.style):""}),{getLocalizedString:b}=rh(()=>({defaultLocale:f,selectedLocale:e.selectedLocale,localizations:w})),E=Ir(y),S=ne=>{if(ne!==void 0)return ne.trim().length>0?ne:void 0},I=ne=>{var Z;(Z=e.onComponentInteraction)==null||Z.call(e,{...ne,componentName:S(ne.componentName)})},q=ne=>{var B;const Z=t();Z!==void 0&&((B=e.onPurchaseClicked)==null||B.call(e,Z,ne??""))};let x=re(void 0);const F=(ne,Z)=>{var B,K,ae,H,de,se,Ee,Le;switch(ne.type){case"workflow":Z&&((B=e.onActionTriggered)==null||B.call(e,Z));return;case"complete_workflow":{const Me=b(ne.url.url_lid);if(!Me)return;(K=e.onCompleteWorkflowNavigate)==null||K.call(e,{url:Me,method:ne.url.method,url_query_params:ne.url_query_params});return}case"navigate_back":(ae=e.onBackClicked)==null||ae.call(e);return;case"close_workflow":(H=e.onClose)==null||H.call(e);return;case"restore_purchases":(de=e.onRestorePurchasesClicked)==null||de.call(e);return}switch(ne.destination){case"customer_center":(se=e.onVisitCustomerCenterClicked)==null||se.call(e);return;case"screen_redirect":(Ee=e.onActionTriggered)==null||Ee.call(e,"screen_redirect");return;case"privacy_policy":case"terms":case"url":const Me=b(ne.url.url_lid);Me&&((Le=e.onNavigateToUrlClicked)==null||Le.call(e,Me));return;case"sheet":if(ne.sheet)z(x,{props:ne.sheet,rootSelectedPackageId:t()},!0);else{if(o(x)){const Te=o(x).rootSelectedPackageId;I({componentType:"package_selection_sheet",componentName:o(x).props.name,componentValue:"close",currentPackageId:t(),resultingPackageId:Te}),E.set(Te)}z(x,void 0)}return;case"offer_code":case"web_paywall_link":return}},T=hp(d(),e.uiConfig);md({defaultPackageId:y,selectedPackageId:E,variablesPerPackage:mt(i()),baseVariables:mt({...s(),...T}),infoPerPackage:mt(l()),onPurchase:q,emitComponentInteraction:I,onNavigateToUrl:e.onNavigateToUrlClicked,onButtonAction:F,onInputChanged:e.onInputChanged,onReservedAttributeChanged:e.onReservedAttributeChanged,walletButtonRender:e.walletButtonRender,uiConfig:e.uiConfig,hideBackButtons:c()});const j=Qm();$m(j),eh(u());const O=Nt(E,ne=>{const Z=i()[ne||""];return{...s(),...T,...Z}});sl(O);const N=Nt(E,ne=>l()[ne||""]);bd(N),Pr(()=>{Sh(e.uiConfig)});const L=m(()=>o(x)?"paywall blur":"paywall"),{stack:C,sticky_footer:D,header:M}=h,U=C.components[0],V=(U==null?void 0:U.type)==="image"&&U.size.width.type==="fill",R=!!M&&V;let $=re(0);var ue=Ie(),pe=ie(ue);Qc(pe,{get onerror(){return e.onError}},ne=>{var Z=db(),B=ie(Z),K=A(B);cb(K,{get model(){return o(g)}});var ae=Y(K,2);{var H=Ce=>{var We=ub(),Ye=A(We);gp(Ye,gr(()=>M)),X(()=>Ae(We,`z-index: ${vd};`)),Pi(We,"clientHeight",_e=>z($,_e)),P(Ce,We)};G(ae,Ce=>{M&&Ce(H)})}var de=Y(ae,2),se=A(de);{let Ce=m(()=>({height:"auto",...R?{"margin-top":`-${o($)}px`}:{}}));Lr(se,gr(()=>C,{class:"paywall-content-scroll",get style(){return o(Ce)}}))}var Ee=Y(se,2);{var Le=Ce=>{_p(Ce,gr(()=>D))};G(Ee,Ce=>{D&&Ce(Le)})}var Me=Y(B,2);{var Te=Ce=>{ob(Ce,gr(()=>o(x).props))};G(Me,Ce=>{o(x)&&Ce(Te)})}X(Ce=>{_r(B,1,da(o(L)),"svelte-104238k"),Ae(B,o(k)),Ae(de,Ce)},[()=>[e.maxContentWidth?`max-width: ${e.maxContentWidth}; margin-inline: auto;`:""].filter(Boolean).join(" ")]),P(ne,Z)}),P(r,ue),he(),a()}function _b(r,e){me(e,!0);const t=()=>ge(p,"$infoPerPackage",a),n=()=>ge(d,"$selectedPackageId",a),[a,i]=Ve(),s=Cr(e,["$$slots","$$events","$$legacy"]),{stack:l}=s,{emitComponentInteraction:c,onPurchase:u,selectedPackageId:d,infoPerPackage:p}=Br(),{getLocalizedString:g}=Ti(),_=Yy(),f=(h,y,k)=>{const b=h.indexOf("#"),E=b===-1?"":h.slice(b),S=b===-1?h:h.slice(0,b),I=S.includes("?")?"&":"?";return`${S}${I}${encodeURIComponent(y)}=${encodeURIComponent(k)}${E}`},v=h=>{var E,S,I,q,x;let y;const k=((E=e.method)==null?void 0:E.type)==="unknown"||(S=e.method)==null?void 0:S.type,b=(q=(I=t())==null?void 0:I[h])==null?void 0:q.webCheckoutURL;if(((x=e.method)==null?void 0:x.type)==="custom_web_checkout"){const F=g(e.method.custom_url.url_lid);if(F){const T=e.method.custom_url.package_param;y=T?f(F,T,h):F}}if(y===void 0){const F=k??e.action;(F==="web_checkout"||F==="web_product_selection"||F==="custom_web_checkout")&&(y=b)}return{componentType:"purchase_button",componentName:e.name,componentValue:k??e.action??"web_checkout",...y?{componentURL:y}:{},currentPackageId:h}};Lr(r,gr(()=>l,{onclick:()=>{var y;const h=_??n();h!==void 0&&(Ei(d,h),c(v(h))),u((y=e.triggers)==null?void 0:y.on_purchase_press)}})),he(),i()}function gb(r){return{display:"grid","grid-template-columns":"auto 1fr","column-gap":`${r.column_gutter}px`,"align-items":"stretch",position:"relative",flex:"0 1 auto",width:br(r.size.width),height:br(r.size.height),padding:xr(r.padding),margin:xr(r.margin)}}function fb(r,e){return{display:"flex","flex-direction":"column","justify-content":"flex-start","align-items":"flex-start",gap:`${e.text_spacing}px`,height:"fit-content","margin-bottom":`${e.item_spacing}px`}}var mb=W("<div><div></div></div>"),hb=W("<div><!> <div><!></div></div> <div><!> <!></div>",1);function vb(r,e){me(e,!0);const t=()=>ge(s,"$selectedState",n),[n,a]=Ve(),i=Cr(e,["$$slots","$$events","$$legacy"]),s=St(),l=m(()=>({...i,...It(t(),e.overrides)})),c=m(()=>o(l).icon),u=m(()=>o(l).title),d=m(()=>o(l).description),p=m(()=>o(l).connector),g=m(()=>o(l).text_spacing),_=m(()=>o(l).item_spacing),f=st(),v=m(f),w=or({position:"relative"}),h=or({position:"relative","z-index":"2"}),y=m(()=>or(fb(o(v),{text_spacing:o(g),item_spacing:o(_)}))),k=m(()=>{var L;return o(p)?or({position:"absolute",left:"50%",top:`${(((L=o(c))==null?void 0:L.size.width.value)??24)/2}px`,transform:"translateX(-50%)","z-index":"1",width:`${o(p).width}px`,height:"100%","padding-top":`${o(p).margin.top}px`,"padding-bottom":`${o(p).margin.bottom}px`}):""}),b=m(()=>{if(!o(p))return"";const L=lt(o(v),o(p).color);return or({width:"100%",height:"100%",background:L})});var E=hb(),S=ie(E),I=A(S);{var q=L=>{var C=mb(),D=A(C);X(()=>{Ae(C,o(k)),Ae(D,o(b))}),P(L,C)};G(I,L=>{o(p)&&L(q)})}var x=Y(I,2),F=A(x);up(F,gr(()=>o(c)));var T=Y(S,2),j=A(T);zl(j,gr(()=>o(u)));var O=Y(j,2);{var N=L=>{zl(L,gr(()=>o(d)))};G(O,L=>{o(d)&&L(N)})}X(()=>{Ae(S,w),Ae(x,h),Ae(T,o(y))}),P(r,E),he(),a()}var yb=W("<div></div>");function bb(r,e){me(e,!0);const t=()=>ge(u,"$selectedState",s),n=()=>ge(p,"$selectedPackageId",s),a=()=>ge(d,"$packageInfo",s),i=()=>ge(g,"$variables",s),[s,l]=Ve(),c=Cr(e,["$$slots","$$events","$$legacy"]),u=St(),d=wn(),{selectedPackageId:p}=Br(),g=Pn(),_=m(()=>({...c,...It(t(),e.overrides)})),f=m(()=>o(_).items),v=m(()=>o(_).text_spacing),w=m(()=>o(_).item_spacing),h=m(()=>o(_).column_gutter),y=m(()=>o(_).icon_alignment),k=m(()=>o(_).size),b=m(()=>o(_).padding),E=m(()=>o(_).margin),S=m(()=>bf(o(_),["items","text_spacing","item_spacing","column_gutter","icon_alignment","size","padding","margin"])),I=m(()=>kn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible)),q=m(()=>or(gb({items:o(f),text_spacing:o(v),item_spacing:o(w),column_gutter:o(h),icon_alignment:o(y),size:o(k),padding:o(b),margin:o(E),...o(S)})));var x=Ie(),F=ie(x);{var T=j=>{var O=yb();Kt(O,21,()=>o(f),N=>N.id,(N,L)=>{vb(N,gr(()=>o(L),{get text_spacing(){return o(v)},get item_spacing(){return o(w)}}))}),X(()=>Ae(O,o(q))),P(j,O)};G(F,j=>{o(I)&&o(f).length&&j(T)})}P(r,x),he(),l()}var kb=W("<div><p>No paywall data provided</p></div>"),wb=W('<div class="paywall-container"><!></div>');function Pb(r,e){me(e,!0);const t=J(e,"selectedLocale",3,"en_US"),n=J(e,"globalVariables",19,()=>({})),a=J(e,"containerId",3,"screen-container"),i=J(e,"initialInputSelections",19,()=>({}));var s=wb(),l=A(s);{var c=d=>{Sp(d,{get paywallData(){return e.paywallComponents},get selectedLocale(){return t()},get uiConfig(){return e.uiConfig},get variablesPerPackage(){return e.variablesPerPackage},get infoPerPackage(){return e.infoPerPackage},get globalVariables(){return n()},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return i()},onNavigateToUrlClicked:p=>{e.onNavigateToUrlClicked?e.onNavigateToUrlClicked(p):window.open(p,"_blank")},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},onVisitCustomerCenterClicked:()=>{var p;return(p=e.onVisitCustomerCenterClicked)==null?void 0:p.call(e)},get onBackClicked(){return e.onBackClicked},get onClose(){return e.onClose},onRestorePurchasesClicked:()=>{var p;return(p=e.onRestorePurchasesClicked)==null?void 0:p.call(e)},onActionTriggered:p=>{var g;(g=e.onActionTriggered)==null||g.call(e,p)},get onComponentInteraction(){return e.onComponentInteraction},get onPurchaseClicked(){return e.onPurchaseClicked},get onInputChanged(){return e.onInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},onError:p=>{console.error("Paywall error:",p)}})},u=d=>{var p=kb();P(d,p)};G(l,d=>{e.paywallComponents?d(c):d(u,!1)})}X(()=>be(s,"id",a())),P(r,s),he()}function xb(r,e){me(e,!0);function t(_){return _.type==="step"&&typeof _.step_id=="string"}let n=re(ar([])),a=re(void 0);const i=m(()=>o(n)[o(n).length-1]??{pageId:e.workflow.initial_page_id,stepId:e.workflow.initial_step_id}),s=m(()=>e.workflow.pages[o(i).pageId]);_u(()=>{o(a)!==e.workflow.initial_page_id&&(z(a,e.workflow.initial_page_id,!0),z(n,[{pageId:e.workflow.initial_page_id,stepId:e.workflow.initial_step_id}],!0),c({workflowId:e.workflow.workflowId,stepId:e.workflow.initial_step_id,fromStepId:void 0,toStepId:void 0,reason:"start",...l(e.workflow.initial_step_id)}))});function l(_){const f=e.workflow.steps[_];return{isFirstStep:_===e.workflow.initial_step_id,isLastStep:f!==void 0&&!Object.values(f.trigger_actions).some(v=>t(v))}}function c(_){var f;(f=e.onStepChanged)==null||f.call(e,_)}function u(_){var E,S,I,q;const f=e.workflow.steps[o(i).stepId];if(!f){console.warn(`[Workflow] onActionTriggered: no current step found for step_id "${o(i).stepId}"`);return}const v=(E=f.triggers.find(x=>x.component_id===_))==null?void 0:E.action_id;if(!v){console.warn(`[Workflow] onActionTriggered: no trigger entry found for component "${_}" on step "${o(i).stepId}"`),(S=e.onActionTriggered)==null||S.call(e,_);return}const w=f.trigger_actions[v];if(!w){console.warn(`[Workflow] onActionTriggered: no trigger_action found for action_id "${v}" on step "${o(i).stepId}"`),(I=e.onActionTriggered)==null||I.call(e,_);return}if(!t(w)){console.warn("[Workflow] onActionTriggered: trigger_action is not a simple step action, falling back to onActionTriggered"),(q=e.onActionTriggered)==null||q.call(e,_);return}const h=e.workflow.steps[w.step_id];if(!h){console.warn(`[Workflow] onActionTriggered: step_id "${w.step_id}" not found in workflow steps`);return}const y=h.screen_id;if(!y){console.warn(`[Workflow] onActionTriggered: step "${w.step_id}" has no screen_id (logic/experiment step?)`);return}if(!e.workflow.pages[y]){console.warn(`[Workflow] onActionTriggered: screen_id "${y}" not found in workflow pages`);return}const k=o(i).stepId,b=w.step_id;c({workflowId:e.workflow.workflowId,stepId:k,fromStepId:void 0,toStepId:b,reason:"completed",...l(k)}),z(n,[...o(n),{pageId:y,stepId:b}],!0),c({workflowId:e.workflow.workflowId,stepId:b,fromStepId:k,toStepId:void 0,reason:"forward",...l(b)})}function d(){var _;if(o(n).length>1){const f=o(i).stepId,v=o(n)[o(n).length-2].stepId;c({workflowId:e.workflow.workflowId,stepId:f,fromStepId:void 0,toStepId:v,reason:"completed",...l(f)}),z(n,o(n).slice(0,-1),!0),c({workflowId:e.workflow.workflowId,stepId:v,fromStepId:f,toStepId:void 0,reason:"back",...l(v)})}else c({workflowId:e.workflow.workflowId,stepId:o(i).stepId,fromStepId:void 0,toStepId:void 0,reason:"completed",...l(o(i).stepId)}),(_=e.onExitBack)==null||_.call(e)}var p=Ie(),g=ie(p);qu(g,()=>o(i).pageId,_=>{Pb(_,{get paywallComponents(){return o(s)},get uiConfig(){return e.uiConfig},get selectedLocale(){return e.selectedLocale},get globalVariables(){return e.globalVariables},get variablesPerPackage(){return e.variablesPerPackage},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return e.initialInputSelections},get containerId(){return e.containerId},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},get onPurchaseClicked(){return e.onPurchaseClicked},onActionTriggered:u,get onInputChanged(){return e.onInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},get onNavigateToUrlClicked(){return e.onNavigateToUrlClicked},get onRestorePurchasesClicked(){return e.onRestorePurchasesClicked},get onVisitCustomerCenterClicked(){return e.onVisitCustomerCenterClicked},get onComponentInteraction(){return e.onComponentInteraction},onBackClicked:d,onClose:()=>{var f;c({workflowId:e.workflow.workflowId,stepId:o(i).stepId,fromStepId:void 0,toStepId:void 0,reason:"completed",...l(o(i).stepId)}),(f=e.onClose)==null||f.call(e)}})}),P(r,p),he()}var Eb=W('<img alt="" class="svelte-94eah8"/>'),Sb=W('<video playsinline="" class="svelte-94eah8"><track kind="captions"/></video>',2),Ib=Ar('<use fill="transparent"></use>'),Cb=Ar('<rect x="0" y="0" height="100%" width="100%"></rect>'),Tb=Ar('<use fill="none"></use>'),Db=W('<div class="video-outer svelte-94eah8"><div class="video-media svelte-94eah8"><div class="video-clip"><!></div> <svg class="video-deco svelte-94eah8" width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><!><!></g></svg></div></div>');const Ab={hash:"svelte-94eah8",code:`.video-outer.svelte-94eah8 {position:relative;}.video-media.svelte-94eah8 {position:relative;width:100%;height:100%;min-height:0;}.video-deco.svelte-94eah8 {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}video.svelte-94eah8,
76
+ img.svelte-94eah8 {width:100%;height:100%;object-fit:contain;object-position:center;}
70
77
 
71
- /* Own compositing layer — mitigates WebKit freezing video frames under animated/transform ancestors */video.svelte-j5chcp {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function Pb(r,e){fe(e,!0),Pe(r,wb);const t=()=>ge(u,"$selectedState",s),n=()=>ge(p,"$selectedPackageId",s),a=()=>ge(d,"$packageInfo",s),i=()=>ge(g,"$variables",s),[s,l]=He(),c=Ir(e,["$$slots","$$events","$$legacy"]),u=xt(),d=zn(),{selectedPackageId:p}=Gr(),g=qn(),_=m(()=>({...c,...Et(t(),e.overrides)})),f=m(()=>o(_).id),v=m(()=>o(_).source),y=m(()=>o(_).fallback_source),h=m(()=>o(_).size),b=m(()=>o(_).mask_shape),k=m(()=>o(_).fit_mode),w=m(()=>o(_).padding),E=m(()=>o(_).margin),S=m(()=>o(_).color_overlay),I=m(()=>o(_).border),F=m(()=>o(_).shadow),x=m(()=>o(_).auto_play),q=m(()=>o(_).loop),T=m(()=>o(_).mute_audio),N=m(()=>o(_).show_controls),L=st(),O=m(L),j=m(()=>o(v)?rt(o(O),o(v)):null),C=m(()=>o(y)?rt(o(O),o(y)):null);let A=te(0),M=te(ar({height:0,width:0})),U=te(null),V=te(!1),R=te(!1),$=te(null);gr(()=>{if(o(j)){if(o(j).width&&o(j).height){z(M,{height:o(j).height,width:o(j).width},!0);return}if(o(U)){const ie=()=>{var ne,Ce;z(M,{height:((ne=o(U))==null?void 0:ne.videoHeight)??0,width:((Ce=o(U))==null?void 0:Ce.videoWidth)??0},!0)},ye=()=>{z(V,!0)};return o(U).addEventListener("loadedmetadata",ie),o(U).addEventListener("error",ye),()=>{var ne,Ce;(ne=o(U))==null||ne.removeEventListener("loadedmetadata",ie),(Ce=o(U))==null||Ce.removeEventListener("error",ye)}}}else if(o(C)){if(o(C).width&&o(C).height){z(M,{height:o(C).height,width:o(C).width},!0);return}const ie=new window.Image;ie.src=o(C).original;const ye=()=>{z(M,{height:ie.height,width:ie.width},!0)};return ie.addEventListener("load",ye),()=>{ie.removeEventListener("load",ye)}}});const le=m(()=>{if(o(h).height.type==="fixed")return o(h).height.value;const ie=o(M).width,ye=o(M).height;return!Number.isFinite(ie)||!Number.isFinite(ye)||ie<=0||ye<=0?o(A)>0?Math.round(o(A)*(9/16)):200:Math.round(o(A)*(ye/ie))}),_e=m(()=>ir({width:Cr(o(h).width),height:`${o(le)}px`,margin:Pr(o(E)),padding:Pr(o(w)),"line-height":0,"flex-shrink":o(h).width.type==="fixed"?0:1}));let ae=te(null);const Z=m(()=>{var ie,ye;return[((ie=o(ae))==null?void 0:ie.width)??0,((ye=o(ae))==null?void 0:ye.height)??0]}),B=m(()=>ci(o(Z),2)),K=m(()=>o(B)[0]),oe=m(()=>o(B)[1]),H=m(()=>`0 0 ${o(K)} ${o(oe)}`),pe=m(()=>{var nr;if(!((nr=o(F))!=null&&nr.color))return"";const{x:ie,y:ye,radius:ne,color:Ce}=o(F),Ke=lt(o(O),Ce);return`filter:drop-shadow(${ie}px ${ye}px ${ne}px ${Ke})`}),ue=m(()=>o(pe)?`${o(_e)};${o(pe)}`:o(_e)),Ee=m(()=>{var ie,ye;return ir({width:"100%",height:"100%",overflow:"hidden","border-radius":On(o(b)),"clip-path":((ie=o(b))==null?void 0:ie.type)==="concave"||((ye=o(b))==null?void 0:ye.type)==="convex"?`url(#${o(f)}-path)`:"none"})}),qe=m(()=>o(S)&&rt(o(O),o(S))),Me=m(()=>o(V)||!o(j));gr(()=>{if(!o(x)){Ue(()=>{z(R,!1)});return}if(o(Me)||!o(j)){Ue(()=>{z(R,!1)});return}const ie=o(U);if(!ie)return;const ye=o(j).url,ne=o($)!==ye;ne&&(z($,ye,!0),Ue(()=>{z(R,!1)}));let Ce=!1;const Ke=()=>{Fi(ie,{preferMuted:o(T),mutedPlaybackOverride:o(R)})};let nr=null;const yr=()=>{nr!==null&&(ie.removeEventListener("playing",nr),nr=null)},Ne=()=>{if(Ce||!ie.paused||(Ke(),ie.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const hr=ie.play();hr!==void 0&&hr.catch(()=>{if(!(Ce||!ie.isConnected)&&!o(T)&&!o(R)){Ue(()=>{z(R,!0)}),Fi(ie,{preferMuted:o(T),mutedPlaybackOverride:!0});let fr=!1;const Br=()=>{fr||o(T)||Ce||!ie.isConnected||(fr=!0,queueMicrotask(()=>{if(Ce)return;Ue(()=>{z(R,!1)}),Ke(),ie.volume=1;const xa=ie.play();xa!==void 0&&xa.catch(()=>{Ce||!ie.isConnected||(Ue(()=>{z(R,!0)}),Ke())})}))},vt=()=>{Ce||!ie.isConnected||(nr=null,Br())},Zn=ie.play();Zn!==void 0?Zn.then(()=>{Ce||o(T)||fr||(nr=vt,ie.addEventListener("playing",vt,{once:!0}),queueMicrotask(()=>{if(!(Ce||o(T)||fr||ie.paused)){if(!ie.muted){yr();return}Br()}}))}):(nr=vt,ie.addEventListener("playing",vt,{once:!0}))}})},ce=()=>{if(Ke(),o(T))ie.play().catch(()=>{});else try{ie.load()}catch{}};ne&&ie.readyState<HTMLMediaElement.HAVE_CURRENT_DATA&&ce();const Re=sp(ie,Ne,()=>Ce);return()=>{Ce=!0,yr(),Re()}});const Te=m(()=>Mn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var Ie=Se(),Be=se(Ie);{var Ye=ie=>{var ye=kb(),ne=D(ye),Ce=D(ne),Ke=D(Ce);{var nr=or=>{var xr=mb();X(Jn=>{we(xr,"src",o(C).original),Ae(xr,`object-fit:${Jn??""}`)},[()=>Ha(o(k))]),P(or,xr)},yr=or=>{var xr=Se(),Jn=se(xr);{var bc=ti=>{var Ft=hb();Na(Ft,oo=>z(U,oo),()=>o(U)),X(oo=>{we(Ft,"src",o(j).url),Ae(Ft,`object-fit:${oo??""}`),Ft.loop=o(q),Ft.muted=o(T)||o(R),Ft.controls=o(N),Ft.autoplay=o(x),we(Ft,"preload",o(x)?"auto":"metadata")},[()=>Ha(o(k))]),P(ti,Ft)};G(Jn,ti=>{o(j)&&ti(bc)},!0)}P(or,xr)};G(Ke,or=>{o(Me)&&o(C)?or(nr):or(yr,!1)})}var Ne=Y(Ce,2),ce=D(Ne),Re=D(ce),hr=D(Re);Oi(hr,{get shape(){return o(b)},get width(){return o(K)},get height(){return o(oe)}});var fr=Y(Re),Br=D(fr);Oi(Br,{get shape(){return o(b)},get width(){return o(K)},get height(){return o(oe)}});var vt=Y(fr);{let or=m(()=>`${o(f)}-overlay`);Ni(vt,{get id(){return o(or)},get overlay(){return o(qe)}})}var Zn=Y(vt);{var xa=or=>{{let xr=m(()=>`${o(f)}-border-color`),Jn=m(()=>rt(o(O),o(I).color));Ni(or,{get id(){return o(xr)},get overlay(){return o(Jn)}})}};G(Zn,or=>{o(I)&&o(I).width>0&&or(xa)})}var $o=Y(ce);{var ms=or=>{var xr=vb();X(()=>we(xr,"href",`#${o(f)}-border`)),P(or,xr)};G($o,or=>{o(I)&&o(I).width>0&&or(ms)})}var ei=Y($o),hs=D(ei);{var ri=or=>{var xr=yb();X(()=>we(xr,"fill",`url(#${o(f)}-overlay)`)),P(or,xr)};G(hs,or=>{o(qe)&&or(ri)})}var vs=Y(hs);{var yc=or=>{var xr=bb();X(()=>{we(xr,"href",`#${o(f)}-border`),we(xr,"stroke",`url(#${o(f)}-border-color)`),we(xr,"stroke-width",o(I).width*2)}),P(or,xr)};G(vs,or=>{o(I)&&o(I).width>0&&or(yc)})}X(()=>{Ae(ye,o(ue)),Ae(Ce,o(Ee)),we(Ne,"viewBox",o(H)),we(Re,"id",`${o(f)}-path`),we(fr,"id",`${o(f)}-border`),we(ei,"clip-path",`url(#${o(f)}-path)`)}),Yu(Ne,"contentRect",or=>z(ae,or)),wi(ye,"clientWidth",or=>z(A,or)),P(ie,ye)};G(Be,ie=>{o(Te)&&ie(Ye)})}P(r,Ie),me(),l()}function xb(r){const e=r.steps[r.initial_step_id];if(!e)return console.warn(`[workflowDataToNavData] initial_step_id "${r.initial_step_id}" not found in steps`),null;const t=e.screen_id;return t?r.screens[t]?{workflowId:r.id,initial_page_id:t,initial_step_id:r.initial_step_id,pages:r.screens,steps:r.steps}:(console.warn(`[workflowDataToNavData] screen_id "${t}" not found in screens`),null):(console.warn(`[workflowDataToNavData] initial step "${r.initial_step_id}" has no screen_id (logic/experiment step?)`),null)}var Eb=W("<span><!></span>");const Sb={hash:"svelte-m5lzig",code:`
72
- /* svelte-ignore css-unused-selector */.rcb-typography-heading-2xl.svelte-m5lzig {font:var(--rc-text-heading2xl-mobile);}
78
+ /* Own compositing layer — mitigates WebKit freezing video frames under animated/transform ancestors */video.svelte-94eah8 {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function Fb(r,e){me(e,!0),Pe(r,Ab);const t=()=>ge(u,"$selectedState",s),n=()=>ge(p,"$selectedPackageId",s),a=()=>ge(d,"$packageInfo",s),i=()=>ge(g,"$variables",s),[s,l]=Ve(),c=Cr(e,["$$slots","$$events","$$legacy"]),u=St(),d=wn(),{selectedPackageId:p}=Br(),g=Pn(),_=m(()=>({...c,...It(t(),e.overrides)})),f=m(()=>o(_).id),v=m(()=>o(_).source),w=m(()=>o(_).fallback_source),h=m(()=>o(_).size),y=m(()=>o(_).mask_shape),k=m(()=>o(_).fit_mode),b=m(()=>o(_).padding),E=m(()=>o(_).margin),S=m(()=>o(_).color_overlay),I=m(()=>o(_).border),q=m(()=>o(_).shadow),x=m(()=>o(_).auto_play),F=m(()=>o(_).loop),T=m(()=>o(_).mute_audio),j=m(()=>o(_).show_controls),O=st(),N=m(O),L=m(()=>o(v)?tt(o(N),o(v)):null),C=m(()=>o(w)?tt(o(N),o(w)):null);let D=re(0),M=re(ar({height:0,width:0})),U=re(null),V=re(!1),R=re(!1),$=re(null);pr(()=>{if(o(L)){if(o(L).width&&o(L).height){z(M,{height:o(L).height,width:o(L).width},!0);return}if(o(U)){const _e=()=>{var le,fe;z(M,{height:((le=o(U))==null?void 0:le.videoHeight)??0,width:((fe=o(U))==null?void 0:fe.videoWidth)??0},!0)},Se=()=>{z(V,!0)};return o(U).addEventListener("loadedmetadata",_e),o(U).addEventListener("error",Se),()=>{var le,fe;(le=o(U))==null||le.removeEventListener("loadedmetadata",_e),(fe=o(U))==null||fe.removeEventListener("error",Se)}}}else if(o(C)){if(o(C).width&&o(C).height){z(M,{height:o(C).height,width:o(C).width},!0);return}const _e=new window.Image;_e.src=o(C).original;const Se=()=>{z(M,{height:_e.height,width:_e.width},!0)};return _e.addEventListener("load",Se),()=>{_e.removeEventListener("load",Se)}}});const ue=m(()=>{if(o(h).height.type==="fixed")return o(h).height.value;const _e=o(M).width,Se=o(M).height;return!Number.isFinite(_e)||!Number.isFinite(Se)||_e<=0||Se<=0?o(D)>0?Math.round(o(D)*(9/16)):200:Math.round(o(D)*(Se/_e))}),pe=m(()=>or({width:br(o(h).width),height:`${o(ue)}px`,margin:xr(o(E)),padding:xr(o(b)),"line-height":0,"flex-shrink":o(h).width.type==="fixed"?0:1}));let ne=re(null);const Z=m(()=>{var _e,Se;return[((_e=o(ne))==null?void 0:_e.width)??0,((Se=o(ne))==null?void 0:Se.height)??0]}),B=m(()=>ui(o(Z),2)),K=m(()=>o(B)[0]),ae=m(()=>o(B)[1]),H=m(()=>`0 0 ${o(K)} ${o(ae)}`),de=m(()=>{var Ue;if(!((Ue=o(q))!=null&&Ue.color))return"";const{x:_e,y:Se,radius:le,color:fe}=o(q),je=lt(o(N),fe);return`filter:drop-shadow(${_e}px ${Se}px ${le}px ${je})`}),se=m(()=>o(de)?`${o(pe)};${o(de)}`:o(pe)),Ee=m(()=>{var _e,Se;return or({width:"100%",height:"100%",overflow:"hidden","border-radius":jn(o(y)),"clip-path":((_e=o(y))==null?void 0:_e.type)==="concave"||((Se=o(y))==null?void 0:Se.type)==="convex"?`url(#${o(f)}-path)`:"none"})}),Le=m(()=>o(S)&&tt(o(N),o(S))),Me=m(()=>o(V)||!o(L));pr(()=>{if(!o(x)){He(()=>{z(R,!1)});return}if(o(Me)||!o(L)){He(()=>{z(R,!1)});return}const _e=o(U);if(!_e)return;const Se=o(L).url,le=o($)!==Se;le&&(z($,Se,!0),He(()=>{z(R,!1)}));let fe=!1;const je=()=>{zi(_e,{preferMuted:o(T),mutedPlaybackOverride:o(R)})};let Ue=null;const Er=()=>{Ue!==null&&(_e.removeEventListener("playing",Ue),Ue=null)},qe=()=>{if(fe||!_e.paused||(je(),_e.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const hr=_e.play();hr!==void 0&&hr.catch(()=>{if(!(fe||!_e.isConnected)&&!o(T)&&!o(R)){He(()=>{z(R,!0)}),zi(_e,{preferMuted:o(T),mutedPlaybackOverride:!0});let fr=!1;const Ur=()=>{fr||o(T)||fe||!_e.isConnected||(fr=!0,queueMicrotask(()=>{if(fe)return;He(()=>{z(R,!1)}),je(),_e.volume=1;const Ca=_e.play();Ca!==void 0&&Ca.catch(()=>{fe||!_e.isConnected||(He(()=>{z(R,!0)}),je())})}))},yt=()=>{fe||!_e.isConnected||(Ue=null,Ur())},Jn=_e.play();Jn!==void 0?Jn.then(()=>{fe||o(T)||fr||(Ue=yt,_e.addEventListener("playing",yt,{once:!0}),queueMicrotask(()=>{if(!(fe||o(T)||fr||_e.paused)){if(!_e.muted){Er();return}Ur()}}))}):(Ue=yt,_e.addEventListener("playing",yt,{once:!0}))}})},oe=()=>{if(je(),o(T))_e.play().catch(()=>{});else try{_e.load()}catch{}};le&&_e.readyState<HTMLMediaElement.HAVE_CURRENT_DATA&&oe();const Be=cp(_e,qe,()=>fe);return()=>{fe=!0,Er(),Be()}});const Te=m(()=>kn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var Ce=Ie(),We=ie(Ce);{var Ye=_e=>{var Se=Db(),le=A(Se),fe=A(le),je=A(fe);{var Ue=ir=>{var Sr=Eb();X(Qn=>{be(Sr,"src",o(C).original),Ae(Sr,`object-fit:${Qn??""}`)},[()=>Ya(o(k))]),P(ir,Sr)},Er=ir=>{var Sr=Ie(),Qn=ie(Sr);{var wc=ni=>{var qt=Sb();pa(qt,io=>z(U,io),()=>o(U)),X(io=>{be(qt,"src",o(L).url),Ae(qt,`object-fit:${io??""}`),qt.loop=o(F),qt.muted=o(T)||o(R),qt.controls=o(j),qt.autoplay=o(x),be(qt,"preload",o(x)?"auto":"metadata")},[()=>Ya(o(k))]),P(ni,qt)};G(Qn,ni=>{o(L)&&ni(wc)},!0)}P(ir,Sr)};G(je,ir=>{o(Me)&&o(C)?ir(Ue):ir(Er,!1)})}var qe=Y(fe,2),oe=A(qe),Be=A(oe),hr=A(Be);Ri(hr,{get shape(){return o(y)},get width(){return o(K)},get height(){return o(ae)}});var fr=Y(Be),Ur=A(fr);Ri(Ur,{get shape(){return o(y)},get width(){return o(K)},get height(){return o(ae)}});var yt=Y(fr);{let ir=m(()=>`${o(f)}-overlay`);Ui(yt,{get id(){return o(ir)},get overlay(){return o(Le)}})}var Jn=Y(yt);{var Ca=ir=>{{let Sr=m(()=>`${o(f)}-border-color`),Qn=m(()=>tt(o(N),o(I).color));Ui(ir,{get id(){return o(Sr)},get overlay(){return o(Qn)}})}};G(Jn,ir=>{o(I)&&o(I).width>0&&ir(Ca)})}var ei=Y(oe);{var bs=ir=>{var Sr=Ib();X(()=>be(Sr,"href",`#${o(f)}-border`)),P(ir,Sr)};G(ei,ir=>{o(I)&&o(I).width>0&&ir(bs)})}var ri=Y(ei),ks=A(ri);{var ti=ir=>{var Sr=Cb();X(()=>be(Sr,"fill",`url(#${o(f)}-overlay)`)),P(ir,Sr)};G(ks,ir=>{o(Le)&&ir(ti)})}var ws=Y(ks);{var kc=ir=>{var Sr=Tb();X(()=>{be(Sr,"href",`#${o(f)}-border`),be(Sr,"stroke",`url(#${o(f)}-border-color)`),be(Sr,"stroke-width",o(I).width*2)}),P(ir,Sr)};G(ws,ir=>{o(I)&&o(I).width>0&&ir(kc)})}X(()=>{Ae(Se,o(se)),Ae(fe,o(Ee)),be(qe,"viewBox",o(H)),be(Be,"id",`${o(f)}-path`),be(fr,"id",`${o(f)}-border`),be(ri,"clip-path",`url(#${o(f)}-path)`)}),Ku(qe,"contentRect",ir=>z(ne,ir)),Pi(Se,"clientWidth",ir=>z(D,ir)),P(_e,Se)};G(We,_e=>{o(Te)&&_e(Ye)})}P(r,Ce),he(),l()}const Mb="https:";function qb(r){const e=Array.from(r).filter(n=>n.charCodeAt(0)>32).join("");let t;try{t=new URL(e)}catch{return null}return t.protocol.toLowerCase()!==Mb||t.username!==""||t.password!==""?null:t.href}function zb(r,e){try{return new URL(r).origin===e}catch{return!0}}var Lb="resize",Ob="fit",Nb=["connect","init","reject","message","request","response","error"];new Set(Nb);const jb="https://sdk.revenuecat-static.com";function Bb(r){return`${jb}/v${r}/rc-host.js`}let Rb=r=>import(r);const Wi=new Map;function Ub(r){if(!Number.isInteger(r)||r<1)throw new Error(`invalid web_view protocol_version: ${r}`)}function Vb(r){const e=Wi.get(r);if(e)return e;const t=Bb(r),n=Rb(t).then(a=>{const i=a.createHostBridge;if(typeof i!="function")throw new Error(`rc-host.js at ${t} does not export createHostBridge`);return{createHostBridge:i}});return n.catch(()=>{Wi.get(r)===n&&Wi.delete(r)}),Wi.set(r,n),n}async function Wb(r){Ub(r);const{createHostBridge:e}=await Vb(r);return e}var Hb=W('<div class="web-view svelte-1kvq1m1"><iframe sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer" allow="" class="svelte-1kvq1m1"></iframe></div>');const Yb={hash:"svelte-1kvq1m1",code:".web-view.svelte-1kvq1m1 {position:relative;overflow:hidden;}iframe.svelte-1kvq1m1 {display:block;width:100%;height:100%;border:0;}"};function Gb(r,e){me(e,!0),Pe(r,Yb);const t=()=>ge(p,"$selectedPackageId",i),n=()=>ge(g,"$packageInfo",i),a=()=>ge(_,"$variables",i),[i,s]=Ve(),l=300,c=1e4,u=F=>Math.max(1,Math.min(c,Math.round(F))),d=F=>typeof F=="number"&&Number.isFinite(F)&&F>0,{selectedPackageId:p}=Br(),g=wn(),_=Pn();let f=re(!1);Pr(()=>{z(f,!0)});const v=m(()=>qb(e.url)),w=m(()=>o(f)&&o(v)!==null&&!zb(o(v),window.location.origin));let h=re(void 0),y=re(void 0);const k=m(()=>{const{width:F,height:T}=e.size,j=F.type==="fit",O=T.type==="fit",N=j?u(o(h)??l):null,L=O?u(o(y)??l):null;return or({width:N!=null?Tr(N):br(F),height:L!=null?Tr(L):br(T),...N!=null?{"max-width":"100%"}:{},...L!=null?{"max-height":"100%"}:{},"flex-shrink":F.type==="fixed"||j||O?0:1,"line-height":0})}),b=m(()=>kn({selectedPackageId:t(),packageInfo:n(),variables:a()??{}},void 0,e.visible));let E=re(void 0),S;pr(()=>{const F=o(v);F!==S&&(z(h,void 0),z(y,void 0),S=F);const T=o(E),j=e.id,O=e.protocol_version,N=e.size.width.type==="fit",L=e.size.height.type==="fit";if(!T||!F)return;let C=!1,D;return Wb(O).then(M=>{if(!C)try{D=M({iframe:T,allowedOrigin:new URL(F).origin,componentId:j,protocolVersion:O}),(N||L)&&D.onReady(()=>D==null?void 0:D.send(Ob,{width:N,height:L})),D.on(Lb,U=>{const{width:V,height:R}=U??{};N&&d(V)&&z(h,V,!0),L&&d(R)&&z(y,R,!0)})}catch(U){console.warn("web_view: failed to wire host bridge",U)}}).catch(()=>{}),()=>{C=!0,D==null||D.destroy()}});var I=Ie(),q=ie(I);{var x=F=>{var T=Hb(),j=A(T);pa(j,O=>z(E,O),()=>o(E)),X(()=>{Ae(T,o(k)),be(j,"title",e.name??"Web view"),be(j,"src",o(v))}),P(F,T)};G(q,F=>{o(b)&&o(v)&&o(w)&&F(x)})}P(r,I),he(),s()}function Kb(r){const e=r.steps[r.initial_step_id];if(!e)return console.warn(`[workflowDataToNavData] initial_step_id "${r.initial_step_id}" not found in steps`),null;const t=e.screen_id;return t?r.screens[t]?{workflowId:r.id,initial_page_id:t,initial_step_id:r.initial_step_id,pages:r.screens,steps:r.steps}:(console.warn(`[workflowDataToNavData] screen_id "${t}" not found in screens`),null):(console.warn(`[workflowDataToNavData] initial step "${r.initial_step_id}" has no screen_id (logic/experiment step?)`),null)}var Xb=W("<span><!></span>");const Zb={hash:"svelte-1457559",code:`
79
+ /* svelte-ignore css-unused-selector */.rcb-typography-heading-2xl.svelte-1457559 {font:var(--rc-text-heading2xl-mobile);}
73
80
 
74
- /* svelte-ignore css-unused-selector */.rcb-typography-heading-xl.svelte-m5lzig {font:var(--rc-text-headingXl-mobile);}
81
+ /* svelte-ignore css-unused-selector */.rcb-typography-heading-xl.svelte-1457559 {font:var(--rc-text-headingXl-mobile);}
75
82
 
76
- /* svelte-ignore css-unused-selector */.rcb-typography-heading-lg.svelte-m5lzig {font:var(--rc-text-headingLg-mobile);}
83
+ /* svelte-ignore css-unused-selector */.rcb-typography-heading-lg.svelte-1457559 {font:var(--rc-text-headingLg-mobile);}
77
84
 
78
- /* svelte-ignore css-unused-selector */.rcb-typography-heading-md.svelte-m5lzig {font:var(--rc-text-headingMd-mobile);}
85
+ /* svelte-ignore css-unused-selector */.rcb-typography-heading-md.svelte-1457559 {font:var(--rc-text-headingMd-mobile);}
79
86
 
80
- /* svelte-ignore css-unused-selector */.rcb-typography-body-base.svelte-m5lzig {font:var(--rc-text-bodyBase-mobile);}
87
+ /* svelte-ignore css-unused-selector */.rcb-typography-body-base.svelte-1457559 {font:var(--rc-text-bodyBase-mobile);}
81
88
 
82
- /* svelte-ignore css-unused-selector */.rcb-typography-body-small.svelte-m5lzig {font:var(--rc-text-bodySmall-mobile);}
89
+ /* svelte-ignore css-unused-selector */.rcb-typography-body-small.svelte-1457559 {font:var(--rc-text-bodySmall-mobile);}
83
90
 
84
- /* svelte-ignore css-unused-selector */.rcb-typography-label-button.svelte-m5lzig {font:var(--rc-text-labelButton-mobile);}
91
+ /* svelte-ignore css-unused-selector */.rcb-typography-label-button.svelte-1457559 {font:var(--rc-text-labelButton-mobile);}
85
92
 
86
- /* svelte-ignore css-unused-selector */.rcb-typography-label-default.svelte-m5lzig {font:var(--rc-text-labelDefault-mobile);}
93
+ /* svelte-ignore css-unused-selector */.rcb-typography-label-default.svelte-1457559 {font:var(--rc-text-labelDefault-mobile);}
87
94
 
88
- /* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-m5lzig {font:var(--rc-text-captionDefault-mobile);}
95
+ /* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-1457559 {font:var(--rc-text-captionDefault-mobile);}
89
96
 
90
- /* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-m5lzig {font:var(--rc-text-captionLink-mobile);}
97
+ /* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-1457559 {font:var(--rc-text-captionLink-mobile);}
91
98
 
92
99
  @container layout-query-container (width >= 768px) {
93
- /* svelte-ignore css-unused-selector */.rcb-typography-heading-2xl.svelte-m5lzig {font:var(--rc-text-heading2xl-desktop);}
100
+ /* svelte-ignore css-unused-selector */.rcb-typography-heading-2xl.svelte-1457559 {font:var(--rc-text-heading2xl-desktop);}
94
101
 
95
- /* svelte-ignore css-unused-selector */.rcb-typography-heading-xl.svelte-m5lzig {font:var(--rc-text-headingXl-desktop);}
102
+ /* svelte-ignore css-unused-selector */.rcb-typography-heading-xl.svelte-1457559 {font:var(--rc-text-headingXl-desktop);}
96
103
 
97
- /* svelte-ignore css-unused-selector */.rcb-typography-heading-lg.svelte-m5lzig {font:var(--rc-text-headingLg-desktop);}
104
+ /* svelte-ignore css-unused-selector */.rcb-typography-heading-lg.svelte-1457559 {font:var(--rc-text-headingLg-desktop);}
98
105
 
99
- /* svelte-ignore css-unused-selector */.rcb-typography-heading-md.svelte-m5lzig {font:var(--rc-text-headingMd-desktop);}
106
+ /* svelte-ignore css-unused-selector */.rcb-typography-heading-md.svelte-1457559 {font:var(--rc-text-headingMd-desktop);}
100
107
 
101
- /* svelte-ignore css-unused-selector */.rcb-typography-body-base.svelte-m5lzig {font:var(--rc-text-bodyBase-desktop);}
108
+ /* svelte-ignore css-unused-selector */.rcb-typography-body-base.svelte-1457559 {font:var(--rc-text-bodyBase-desktop);}
102
109
 
103
- /* svelte-ignore css-unused-selector */.rcb-typography-body-small.svelte-m5lzig {font:var(--rc-text-bodySmall-desktop);}
110
+ /* svelte-ignore css-unused-selector */.rcb-typography-body-small.svelte-1457559 {font:var(--rc-text-bodySmall-desktop);}
104
111
 
105
- /* svelte-ignore css-unused-selector */.rcb-typography-label-button.svelte-m5lzig {font:var(--rc-text-labelButton-desktop);}
112
+ /* svelte-ignore css-unused-selector */.rcb-typography-label-button.svelte-1457559 {font:var(--rc-text-labelButton-desktop);}
106
113
 
107
- /* svelte-ignore css-unused-selector */.rcb-typography-label-default.svelte-m5lzig {font:var(--rc-text-labelDefault-desktop);}
114
+ /* svelte-ignore css-unused-selector */.rcb-typography-label-default.svelte-1457559 {font:var(--rc-text-labelDefault-desktop);}
108
115
 
109
- /* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-m5lzig {font:var(--rc-text-captionDefault-desktop);}
116
+ /* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-1457559 {font:var(--rc-text-captionDefault-desktop);}
110
117
 
111
- /* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-m5lzig {font:var(--rc-text-captionLink-desktop);}
112
- }`};function Ib(r,e){Pe(r,Sb);const t=J(e,"size",3,"body-base");var n=Eb(),a=D(n);wr(a,()=>e.children??er),X(()=>pr(n,1,`rcb-typography rcb-typography-${t()??""}`,"svelte-m5lzig")),P(r,n)}const Cb={outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},outerPaddingSmall:{mobile:"clamp(0.75rem, 4.2vw, 1rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.375rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"0.75rem"},gapXLarge:{mobile:"1rem",desktop:"1.5rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"4.5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"},gapStripeElement:{mobile:"0.70rem",desktop:"1rem"}},Ep="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",Xt={regular:"400",medium:"500",semibold:"600"},St={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},Zt={120:"120%",130:"130%",140:"140%"},Jt={tight:"0.20%",regular:"0"},Ar={heading2xl:{fontSize:St[28],lineHeight:Zt[120],fontWeight:Xt.semibold,letterSpacing:Jt.tight},headingXl:{fontSize:St[24],lineHeight:Zt[130],fontWeight:Xt.semibold,letterSpacing:Jt.regular},headingLg:{fontSize:"20px",lineHeight:Zt[130],fontWeight:Xt.semibold,letterSpacing:Jt.regular},headingMd:{fontSize:"16px",lineHeight:Zt[140],fontWeight:Xt.medium,letterSpacing:Jt.regular},bodyBase:{fontSize:St[16],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.regular},bodySmall:{fontSize:St[14],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.regular},labelButton:{fontSize:St[16],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.tight},labelDefault:{fontSize:St[14],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.tight},captionDefault:{fontSize:St[12],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.regular},captionLink:{fontSize:St[12],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.regular}},Qt={heading2xl:{...Ar.heading2xl,fontSize:St[36]},headingXl:{...Ar.headingXl,fontSize:St[32]},headingLg:{...Ar.headingLg,fontSize:St[24]},headingMd:{...Ar.headingMd,fontSize:St[18]},bodyBase:{...Ar.bodyBase},bodySmall:{...Ar.bodySmall},labelButton:{...Ar.labelButton},labelDefault:{...Ar.labelDefault},captionDefault:{...Ar.captionDefault},captionLink:{...Ar.captionLink}},Tb={heading2xl:{mobile:Ar.heading2xl,desktop:Qt.heading2xl},headingXl:{desktop:Qt.headingXl,mobile:Ar.headingXl},headingLg:{desktop:Qt.headingLg,mobile:Ar.headingLg},headingMd:{desktop:Qt.headingMd,mobile:Ar.headingMd},bodyBase:{desktop:Qt.bodyBase,mobile:Ar.bodyBase},bodySmall:{desktop:Qt.bodySmall,mobile:Ar.bodySmall},labelButton:{desktop:Qt.labelButton,mobile:Ar.labelButton},labelDefault:{desktop:Qt.labelDefault,mobile:Ar.labelDefault},captionDefault:{desktop:Qt.captionDefault,mobile:Ar.captionDefault},captionLink:{desktop:Qt.captionLink,mobile:Ar.captionLink}},Db={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},Ab={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},Sp={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},Fb={...Sp,"input-background":"color_form_bg",background:"color_form_bg"},Mb={...Sp,"input-background":"color_product_info_bg",background:"color_product_info_bg"},Ip={"input-border-radius":"4px","input-button-border-radius":"8px"},zb={"input-border-radius":"0px","input-button-border-radius":"0px"},qb={"input-border-radius":"12px","input-button-border-radius":"9999px"},Cp=Ip,jo=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,Nl=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},Bl=.37,jb=(r,e=Bl)=>{const t=Nl({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function Lb(r,e,t){const n=jo(r)||{r:0,g:0,b:0},a=jo(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),l=Math.round(a.b*t+n.b*(1-t));return`#${Rl(i)}${Rl(s)}${Rl(l)}`}function Tp(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=jo(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const l=Nl({...i,luminanceThreshold:Bl})?"#000000":"#FFFFFF";return Lb(a,l,n)}function Rl(r){return r.toString(16).padStart(2,"0").toUpperCase()}const Ob=(r,e,t,n,a=Bl)=>{const i={"grey-text-dark":n["grey-text-dark"],"grey-text-light":n["grey-text-light"],"grey-ui-dark":n["grey-ui-dark"],"grey-ui-light":n["grey-ui-light"],"primary-text":n["primary-text"]};if(r!=null&&r.startsWith("#")){const s=jo(r);s!==null&&Object.assign(i,jb(s))}if(t)i["primary-text"]=t;else if(e!=null&&e.startsWith("#")){const s=jo(e);s!==null&&(i["primary-text"]=Nl({...s,luminanceThreshold:a})?"black":"white")}return i},Nb=r=>({"primary-hover":Tp(r,.1),"primary-pressed":Tp(r,.15)}),Bb=(r,e)=>r||e,Rb=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,Bb(t?t[i]:null,e[a])]);return Object.fromEntries(n)},Dp=(r,e,t)=>{const n=Rb(r,e,t);return t?{...e,...n,...Ob(n.background,n.primary,t.color_buttons_primary_text,e),...Nb(n.primary)}:{...e}},Ub=r=>Dp(Mb,Ab,r),Ap=r=>Dp(Fb,Db,r),Ul=r=>{if(!r)return Cp;switch(r.shapes){case"rounded":return Ip;case"rectangle":return zb;case"pill":return qb;default:return Cp}},Ri=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),Vb=r=>{const e=Ri("color",Object.entries(Ub(r))),t=Ri("shape",Object.entries(Ul(r)));return[e,t].join("; ")},Wb=r=>{const e=Ri("color",Object.entries(Ap(r))),t=Ri("shape",Object.entries(Ul(r)));return[e,t].join("; ")},Hb=(r="",e)=>Object.entries(e).flatMap(([t,{desktop:n,mobile:a}])=>[`--rc-${r}-${t}-desktop: normal normal ${n.fontWeight} ${n.fontSize}/${n.lineHeight} ${Ep}`,`--rc-${r}-${t}-mobile: normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Ep}`,`--rc-${r}-${t}-desktop-font-size: ${n.fontSize}`,`--rc-${r}-${t}-mobile-font-size: ${a.fontSize}`]).join("; "),Yb=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" ");let Gb=class{constructor(e){ee(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return Ul(this.brandingAppearance)}get formColors(){return Ap(this.brandingAppearance)}get formStyleVars(){return Wb(this.brandingAppearance)}get productInfoStyleVars(){return Vb(this.brandingAppearance)}get spacing(){return Cb}get textStyles(){return Tb}get textStyleVars(){return Hb("text",this.textStyles)}get spacingStyleVars(){return Yb("spacing",this.spacing)}};var Kb=W('<div class="rcb-processing svelte-cy0u9k"></div>');const Xb={hash:"svelte-cy0u9k",code:`.rcb-processing.svelte-cy0u9k {width:var(--width, 12px);aspect-ratio:1;border-radius:50%;
113
- animation: svelte-cy0u9k-l5 1.5s infinite linear;}
118
+ /* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-1457559 {font:var(--rc-text-captionLink-desktop);}
119
+ }`};function Jb(r,e){Pe(r,Zb);const t=J(e,"size",3,"body-base");var n=Xb(),a=A(n);wr(a,()=>e.children??tr),X(()=>_r(n,1,`rcb-typography rcb-typography-${t()??""}`,"svelte-1457559")),P(r,n)}const Qb={outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},outerPaddingSmall:{mobile:"clamp(0.75rem, 4.2vw, 1rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.375rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"0.75rem"},gapXLarge:{mobile:"1rem",desktop:"1.5rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"4.5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"},gapStripeElement:{mobile:"0.70rem",desktop:"1rem"}},Ip="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",Zt={regular:"400",medium:"500",semibold:"600"},Ct={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},Jt={120:"120%",130:"130%",140:"140%"},Qt={tight:"0.20%",regular:"0"},Fr={heading2xl:{fontSize:Ct[28],lineHeight:Jt[120],fontWeight:Zt.semibold,letterSpacing:Qt.tight},headingXl:{fontSize:Ct[24],lineHeight:Jt[130],fontWeight:Zt.semibold,letterSpacing:Qt.regular},headingLg:{fontSize:"20px",lineHeight:Jt[130],fontWeight:Zt.semibold,letterSpacing:Qt.regular},headingMd:{fontSize:"16px",lineHeight:Jt[140],fontWeight:Zt.medium,letterSpacing:Qt.regular},bodyBase:{fontSize:Ct[16],lineHeight:Jt[140],fontWeight:Zt.regular,letterSpacing:Qt.regular},bodySmall:{fontSize:Ct[14],lineHeight:Jt[140],fontWeight:Zt.regular,letterSpacing:Qt.regular},labelButton:{fontSize:Ct[16],lineHeight:Jt[140],fontWeight:Zt.regular,letterSpacing:Qt.tight},labelDefault:{fontSize:Ct[14],lineHeight:Jt[140],fontWeight:Zt.regular,letterSpacing:Qt.tight},captionDefault:{fontSize:Ct[12],lineHeight:Jt[140],fontWeight:Zt.regular,letterSpacing:Qt.regular},captionLink:{fontSize:Ct[12],lineHeight:Jt[140],fontWeight:Zt.regular,letterSpacing:Qt.regular}},$t={heading2xl:{...Fr.heading2xl,fontSize:Ct[36]},headingXl:{...Fr.headingXl,fontSize:Ct[32]},headingLg:{...Fr.headingLg,fontSize:Ct[24]},headingMd:{...Fr.headingMd,fontSize:Ct[18]},bodyBase:{...Fr.bodyBase},bodySmall:{...Fr.bodySmall},labelButton:{...Fr.labelButton},labelDefault:{...Fr.labelDefault},captionDefault:{...Fr.captionDefault},captionLink:{...Fr.captionLink}},$b={heading2xl:{mobile:Fr.heading2xl,desktop:$t.heading2xl},headingXl:{desktop:$t.headingXl,mobile:Fr.headingXl},headingLg:{desktop:$t.headingLg,mobile:Fr.headingLg},headingMd:{desktop:$t.headingMd,mobile:Fr.headingMd},bodyBase:{desktop:$t.bodyBase,mobile:Fr.bodyBase},bodySmall:{desktop:$t.bodySmall,mobile:Fr.bodySmall},labelButton:{desktop:$t.labelButton,mobile:Fr.labelButton},labelDefault:{desktop:$t.labelDefault,mobile:Fr.labelDefault},captionDefault:{desktop:$t.captionDefault,mobile:Fr.captionDefault},captionLink:{desktop:$t.captionLink,mobile:Fr.captionLink}},ek={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},rk={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},Cp={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},tk={...Cp,"input-background":"color_form_bg",background:"color_form_bg"},nk={...Cp,"input-background":"color_product_info_bg",background:"color_product_info_bg"},Tp={"input-border-radius":"4px","input-button-border-radius":"8px"},ak={"input-border-radius":"0px","input-button-border-radius":"0px"},ok={"input-border-radius":"12px","input-button-border-radius":"9999px"},Dp=Tp,Oo=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,Rl=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},Ul=.37,ik=(r,e=Ul)=>{const t=Rl({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function sk(r,e,t){const n=Oo(r)||{r:0,g:0,b:0},a=Oo(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),l=Math.round(a.b*t+n.b*(1-t));return`#${Vl(i)}${Vl(s)}${Vl(l)}`}function Ap(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=Oo(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const l=Rl({...i,luminanceThreshold:Ul})?"#000000":"#FFFFFF";return sk(a,l,n)}function Vl(r){return r.toString(16).padStart(2,"0").toUpperCase()}const lk=(r,e,t,n,a=Ul)=>{const i={"grey-text-dark":n["grey-text-dark"],"grey-text-light":n["grey-text-light"],"grey-ui-dark":n["grey-ui-dark"],"grey-ui-light":n["grey-ui-light"],"primary-text":n["primary-text"]};if(r!=null&&r.startsWith("#")){const s=Oo(r);s!==null&&Object.assign(i,ik(s))}if(t)i["primary-text"]=t;else if(e!=null&&e.startsWith("#")){const s=Oo(e);s!==null&&(i["primary-text"]=Rl({...s,luminanceThreshold:a})?"black":"white")}return i},ck=r=>({"primary-hover":Ap(r,.1),"primary-pressed":Ap(r,.15)}),uk=(r,e)=>r||e,dk=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,uk(t?t[i]:null,e[a])]);return Object.fromEntries(n)},Fp=(r,e,t)=>{const n=dk(r,e,t);return t?{...e,...n,...lk(n.background,n.primary,t.color_buttons_primary_text,e),...ck(n.primary)}:{...e}},pk=r=>Fp(nk,rk,r),Mp=r=>Fp(tk,ek,r),Wl=r=>{if(!r)return Dp;switch(r.shapes){case"rounded":return Tp;case"rectangle":return ak;case"pill":return ok;default:return Dp}},Hi=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),_k=r=>{const e=Hi("color",Object.entries(pk(r))),t=Hi("shape",Object.entries(Wl(r)));return[e,t].join("; ")},gk=r=>{const e=Hi("color",Object.entries(Mp(r))),t=Hi("shape",Object.entries(Wl(r)));return[e,t].join("; ")},fk=(r="",e)=>Object.entries(e).flatMap(([t,{desktop:n,mobile:a}])=>[`--rc-${r}-${t}-desktop: normal normal ${n.fontWeight} ${n.fontSize}/${n.lineHeight} ${Ip}`,`--rc-${r}-${t}-mobile: normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Ip}`,`--rc-${r}-${t}-desktop-font-size: ${n.fontSize}`,`--rc-${r}-${t}-mobile-font-size: ${a.fontSize}`]).join("; "),mk=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" ");let hk=class{constructor(e){ee(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return Wl(this.brandingAppearance)}get formColors(){return Mp(this.brandingAppearance)}get formStyleVars(){return gk(this.brandingAppearance)}get productInfoStyleVars(){return _k(this.brandingAppearance)}get spacing(){return Qb}get textStyles(){return $b}get textStyleVars(){return fk("text",this.textStyles)}get spacingStyleVars(){return mk("spacing",this.spacing)}};var vk=W('<div class="rcb-processing svelte-r2eojh"></div>');const yk={hash:"svelte-r2eojh",code:`.rcb-processing.svelte-r2eojh {width:var(--width, 12px);aspect-ratio:1;border-radius:50%;
120
+ animation: svelte-r2eojh-l5 1.5s infinite linear;}
114
121
 
115
- @keyframes svelte-cy0u9k-l5 {
122
+ @keyframes svelte-r2eojh-l5 {
116
123
  0% {
117
124
  box-shadow:
118
125
  var(--shadow-offset) 0 #fff2,
@@ -143,16 +150,16 @@ Minimum version required to store current data is: `+T+`.
143
150
  calc(-1 * var(--shadow-offset)) 0 #fff2;
144
151
  background: #fff2;
145
152
  }
146
- }`};function Zb(r,e){Pe(r,Xb);let t=J(e,"size",8,"medium");const n={small:{width:"8px",offset:"10px"},medium:{width:"12px",offset:"20px"},large:{width:"16px",offset:"30px"}};var a=Kb();X(()=>Ae(a,`--shadow-offset: ${We(t()),Ue(()=>n[t()].offset)??""}; --width: ${We(t()),Ue(()=>n[t()].width)??""};`)),P(r,a)}var Jb=W("<button><!></button>");const Qb={hash:"svelte-1wrqvmw",code:`button.svelte-1wrqvmw {border:none;border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;height:var(--rc-spacing-inputHeight-mobile);color:var(--rc-color-grey-text-dark);background-color:var(--rc-color-grey-ui-dark);display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-tap-highlight-color:transparent;transition:background-color 0.15s ease-in-out;user-select:none;}
153
+ }`};function bk(r,e){Pe(r,yk);let t=J(e,"size",8,"medium");const n={small:{width:"8px",offset:"10px"},medium:{width:"12px",offset:"20px"},large:{width:"16px",offset:"30px"}};var a=vk();X(()=>Ae(a,`--shadow-offset: ${Ke(t()),He(()=>n[t()].offset)??""}; --width: ${Ke(t()),He(()=>n[t()].width)??""};`)),P(r,a)}var kk=W("<button><!></button>");const wk={hash:"svelte-xtq7h",code:`button.svelte-xtq7h {border:none;border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;height:var(--rc-spacing-inputHeight-mobile);color:var(--rc-color-grey-text-dark);background-color:var(--rc-color-grey-ui-dark);display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-tap-highlight-color:transparent;transition:background-color 0.15s ease-in-out;user-select:none;}
147
154
 
148
- @container layout-query-container (width >= 768px) {button.svelte-1wrqvmw {height:var(--rc-spacing-inputHeight-desktop);}
155
+ @container layout-query-container (width >= 768px) {button.svelte-xtq7h {height:var(--rc-spacing-inputHeight-desktop);}
149
156
  }
150
157
 
151
- /* focus-visible is triggered only when focused with keyboard/reader */button.svelte-1wrqvmw:focus-visible {outline:2px solid var(--rc-color-focus);}button.intent-primary.svelte-1wrqvmw {background-color:var(--rc-color-primary);color:var(--rc-color-primary-text);}button.svelte-1wrqvmw:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-light);outline:none;}button.intent-primary.svelte-1wrqvmw:not(:disabled):hover {background-color:var(--rc-color-primary-hover);}button.intent-primary.svelte-1wrqvmw:not(:disabled):active,
152
- button.svelte-1wrqvmw:active {background-color:var(--rc-color-primary-pressed);outline:none;}button.intent-primary.svelte-1wrqvmw:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-light);}`};function Fp(r,e){fe(e,!0),Pe(r,Qb);const t=J(e,"intent",3,"primary"),n=J(e,"disabled",3,!1),a=J(e,"loading",3,!1),i=m(()=>new Gb(e.brandingAppearance)),s=m(()=>o(i).textStyleVars),l=m(()=>o(i).spacingStyleVars),c=m(()=>o(i).productInfoStyleVars),u=m(()=>o(i).formStyleVars),d=m(()=>[e.styleOverrides,o(s),o(l),o(c),o(u)].join("; "));var p=Jb();p.__click=function(...v){var y;(y=e.onclick)==null||y.apply(this,v)};var g=D(p);{var _=v=>{Zb(v,{size:"small"})},f=v=>{Ib(v,{size:"body-base",children:(y,h)=>{var b=Se(),k=se(b);wr(k,()=>e.children??er),P(y,b)},$$slots:{default:!0}})};G(g,v=>{a()?v(_):v(f,!1)})}X(()=>{pr(p,1,`intent-${t()}`,"svelte-1wrqvmw"),p.disabled=n(),we(p,"data-testid",e.testId),we(p,"type",e.type),Ae(p,o(d))}),P(r,p),me()}_n(["click"]);var $b=W('<footer class="rcb-modal-footer svelte-gz2zuy"><!></footer>');const ek={hash:"svelte-gz2zuy",code:"footer.svelte-gz2zuy {display:flex;flex-direction:column;}"};function rk(r,e){Pe(r,ek);let t=J(e,"children",8);var n=$b(),a=D(n);wr(a,()=>t()??er),P(r,n)}const tk={hash:"svelte-1lkpm18",code:".rcb-modal-section.svelte-1lkpm18 {padding:8px 0px;display:flex;}section.rcb-modal-section.svelte-1lkpm18 {flex-grow:1;}.rcb-modal-section.svelte-1lkpm18:last-of-type {padding:0;}"};function nk(r,e){Pe(r,tk);let t=J(e,"as",8,"section"),n=J(e,"children",8);var a=Se(),i=se(a);Us(i,t,!1,(s,l)=>{Ys(s,()=>({class:"rcb-modal-section"}),void 0,void 0,void 0,"svelte-1lkpm18");var c=Se(),u=se(c);wr(u,()=>n()??er),P(l,c)}),P(r,a)}var ak=W("<div><!></div>");const ok={hash:"svelte-7lmlfa",code:`.rcb-column.svelte-7lmlfa {display:flex;flex-direction:column;justify-content:flex-start;flex-grow:1;min-width:100%;}.rcb-column.justify-center.svelte-7lmlfa {justify-content:center;}.rcb-column.justify-end.svelte-7lmlfa {justify-content:flex-end;}.rcb-column.align-center.svelte-7lmlfa {align-items:center;}.rcb-column.align-end.svelte-7lmlfa {align-items:flex-end;}.rcb-column.gap-small.svelte-7lmlfa {gap:var(--rc-spacing-gapSmall-mobile);}.rcb-column.gap-medium.svelte-7lmlfa {gap:var(--rc-spacing-gapXLarge-mobile);}.rcb-column.gap-large.svelte-7lmlfa {gap:var(--rc-spacing-gapXXLarge-mobile);}
158
+ /* focus-visible is triggered only when focused with keyboard/reader */button.svelte-xtq7h:focus-visible {outline:2px solid var(--rc-color-focus);}button.intent-primary.svelte-xtq7h {background-color:var(--rc-color-primary);color:var(--rc-color-primary-text);}button.svelte-xtq7h:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-light);outline:none;}button.intent-primary.svelte-xtq7h:not(:disabled):hover {background-color:var(--rc-color-primary-hover);}button.intent-primary.svelte-xtq7h:not(:disabled):active,
159
+ button.svelte-xtq7h:active {background-color:var(--rc-color-primary-pressed);outline:none;}button.intent-primary.svelte-xtq7h:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-light);}`};function qp(r,e){me(e,!0),Pe(r,wk);const t=J(e,"intent",3,"primary"),n=J(e,"disabled",3,!1),a=J(e,"loading",3,!1),i=m(()=>new hk(e.brandingAppearance)),s=m(()=>o(i).textStyleVars),l=m(()=>o(i).spacingStyleVars),c=m(()=>o(i).productInfoStyleVars),u=m(()=>o(i).formStyleVars),d=m(()=>[e.styleOverrides,o(s),o(l),o(c),o(u)].join("; "));var p=kk();p.__click=function(...v){var w;(w=e.onclick)==null||w.apply(this,v)};var g=A(p);{var _=v=>{bk(v,{size:"small"})},f=v=>{Jb(v,{size:"body-base",children:(w,h)=>{var y=Ie(),k=ie(y);wr(k,()=>e.children??tr),P(w,y)},$$slots:{default:!0}})};G(g,v=>{a()?v(_):v(f,!1)})}X(()=>{_r(p,1,`intent-${t()}`,"svelte-xtq7h"),p.disabled=n(),be(p,"data-testid",e.testId),be(p,"type",e.type),Ae(p,o(d))}),P(r,p),he()}_n(["click"]);var Pk=W('<footer class="rcb-modal-footer svelte-gz2zuy"><!></footer>');const xk={hash:"svelte-gz2zuy",code:"footer.svelte-gz2zuy {display:flex;flex-direction:column;}"};function Ek(r,e){Pe(r,xk);let t=J(e,"children",8);var n=Pk(),a=A(n);wr(a,()=>t()??tr),P(r,n)}const Sk={hash:"svelte-1lkpm18",code:".rcb-modal-section.svelte-1lkpm18 {padding:8px 0px;display:flex;}section.rcb-modal-section.svelte-1lkpm18 {flex-grow:1;}.rcb-modal-section.svelte-1lkpm18:last-of-type {padding:0;}"};function Ik(r,e){Pe(r,Sk);let t=J(e,"as",8,"section"),n=J(e,"children",8);var a=Ie(),i=ie(a);Ys(i,t,!1,(s,l)=>{Zs(s,()=>({class:"rcb-modal-section"}),void 0,void 0,void 0,"svelte-1lkpm18");var c=Ie(),u=ie(c);wr(u,()=>n()??tr),P(l,c)}),P(r,a)}var Ck=W("<div><!></div>");const Tk={hash:"svelte-7lmlfa",code:`.rcb-column.svelte-7lmlfa {display:flex;flex-direction:column;justify-content:flex-start;flex-grow:1;min-width:100%;}.rcb-column.justify-center.svelte-7lmlfa {justify-content:center;}.rcb-column.justify-end.svelte-7lmlfa {justify-content:flex-end;}.rcb-column.align-center.svelte-7lmlfa {align-items:center;}.rcb-column.align-end.svelte-7lmlfa {align-items:flex-end;}.rcb-column.gap-small.svelte-7lmlfa {gap:var(--rc-spacing-gapSmall-mobile);}.rcb-column.gap-medium.svelte-7lmlfa {gap:var(--rc-spacing-gapXLarge-mobile);}.rcb-column.gap-large.svelte-7lmlfa {gap:var(--rc-spacing-gapXXLarge-mobile);}
153
160
 
154
161
  @container layout-query-container (width >= 768px) {.rcb-column.gap-small.svelte-7lmlfa {gap:var(--rc-spacing-gapSmall-desktop);}.rcb-column.gap-medium.svelte-7lmlfa {gap:var(--rc-spacing-gapLarge-desktop);}.rcb-column.gap-large.svelte-7lmlfa {gap:var(--rc-spacing-gapXXLarge-desktop);}
155
- }`};function Lo(r,e){Pe(r,ok);let t=J(e,"gap",8,"small"),n=J(e,"justify",8,"start"),a=J(e,"align",8,"start"),i=J(e,"children",8);var s=ak(),l=D(s);wr(l,()=>i()??er),X(()=>pr(s,1,`rcb-column gap-${t()??""} justify-${n()??""} align-${a()??""}`,"svelte-7lmlfa")),P(r,s)}var ik=W('<div class="rcb-row svelte-130pyos"><!></div>');const sk={hash:"svelte-130pyos",code:".rcb-row.svelte-130pyos {display:flex;flex-direction:row;justify-content:flex-start;}"};function lk(r,e){Pe(r,sk);let t=J(e,"children",8);var n=ik(),a=D(n);wr(a,()=>t()??er),P(r,n)}var ck=W("<span><!></span>");const uk={hash:"svelte-y2q9vo",code:`.rcb-typography.svelte-y2q9vo {display:inline-block;line-height:normal;}
162
+ }`};function No(r,e){Pe(r,Tk);let t=J(e,"gap",8,"small"),n=J(e,"justify",8,"start"),a=J(e,"align",8,"start"),i=J(e,"children",8);var s=Ck(),l=A(s);wr(l,()=>i()??tr),X(()=>_r(s,1,`rcb-column gap-${t()??""} justify-${n()??""} align-${a()??""}`,"svelte-7lmlfa")),P(r,s)}var Dk=W('<div class="rcb-row svelte-130pyos"><!></div>');const Ak={hash:"svelte-130pyos",code:".rcb-row.svelte-130pyos {display:flex;flex-direction:row;justify-content:flex-start;}"};function Fk(r,e){Pe(r,Ak);let t=J(e,"children",8);var n=Dk(),a=A(n);wr(a,()=>t()??tr),P(r,n)}var Mk=W("<span><!></span>");const qk={hash:"svelte-y2q9vo",code:`.rcb-typography.svelte-y2q9vo {display:inline-block;line-height:normal;}
156
163
 
157
164
  /* svelte-ignore css-unused-selector */.rcb-typography-heading-2xl.svelte-y2q9vo {font:var(--rc-text-heading2xl-mobile);}.rcb-typography-heading-2xl.rcb-typography-branded.svelte-y2q9vo {font:var(--rc-text-heading2xl-branded-mobile);}
158
165
 
@@ -195,13 +202,13 @@ Minimum version required to store current data is: `+T+`.
195
202
  /* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-y2q9vo {font:var(--rc-text-captionDefault-desktop);}.rcb-typography-caption-default.rcb-typography-branded.svelte-y2q9vo {font:var(--rc-text-captionDefault-branded-desktop);}
196
203
 
197
204
  /* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-y2q9vo {font:var(--rc-text-captionLink-desktop);}.rcb-typography-caption-link.rcb-typography-branded.svelte-y2q9vo {font:var(--rc-text-captionLink-branded-desktop);}
198
- }`};function ze(r,e){Pe(r,uk);const t=J(e,"size",3,"body-base"),n=J(e,"branded",3,!1);var a=ck(),i=D(a);wr(i,()=>e.children??er),X(()=>pr(a,1,`rcb-typography rcb-typography-${t()??""} ${n()?"rcb-typography-branded":""}`,"svelte-y2q9vo")),P(r,a)}var dk=W("<div><!></div>"),pk=W('<span style="display: block;"><!></span>'),_k=W("<!> <!>",1),gk=W("<!> <!>",1),fk=W('<div class="rcb-modal-message svelte-1ldqsgm" data-type="error"><!></div>');const mk={hash:"svelte-1ldqsgm",code:`.rcb-modal-message-icon.svelte-1ldqsgm {flex-shrink:0;align-self:center;margin-right:16px;}.rcb-modal-message.svelte-1ldqsgm {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:left;margin-top:4px;}.rcb-modal-message[data-has-title="false"].svelte-1ldqsgm {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message-icon.small.svelte-1ldqsgm {height:var(--rc-text-headingLg-mobile-font-size);width:var(--rc-text-headingLg-mobile-font-size);}.rcb-modal-message-icon.large.svelte-1ldqsgm {height:calc(2 * var(--rc-text-headingMd-mobile-font-size));width:calc(2 * var(--rc-text-headingMd-mobile-font-size));}
205
+ }`};function ze(r,e){Pe(r,qk);const t=J(e,"size",3,"body-base"),n=J(e,"branded",3,!1);var a=Mk(),i=A(a);wr(i,()=>e.children??tr),X(()=>_r(a,1,`rcb-typography rcb-typography-${t()??""} ${n()?"rcb-typography-branded":""}`,"svelte-y2q9vo")),P(r,a)}var zk=W("<div><!></div>"),Lk=W('<span style="display: block;"><!></span>'),Ok=W("<!> <!>",1),Nk=W("<!> <!>",1),jk=W('<div class="rcb-modal-message svelte-1ldqsgm" data-type="error"><!></div>');const Bk={hash:"svelte-1ldqsgm",code:`.rcb-modal-message-icon.svelte-1ldqsgm {flex-shrink:0;align-self:center;margin-right:16px;}.rcb-modal-message.svelte-1ldqsgm {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:left;margin-top:4px;}.rcb-modal-message[data-has-title="false"].svelte-1ldqsgm {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message-icon.small.svelte-1ldqsgm {height:var(--rc-text-headingLg-mobile-font-size);width:var(--rc-text-headingLg-mobile-font-size);}.rcb-modal-message-icon.large.svelte-1ldqsgm {height:calc(2 * var(--rc-text-headingMd-mobile-font-size));width:calc(2 * var(--rc-text-headingMd-mobile-font-size));}
199
206
 
200
207
  @container layout-query-container (width >= 768px) {.rcb-modal-message-icon.small.svelte-1ldqsgm {height:var(--rc-text-headingLg-desktop-font-size);width:var(--rc-text-headingLg-desktop-font-size);}.rcb-modal-message-icon.large.svelte-1ldqsgm {height:calc(2 * var(--rc-text-headingMd-desktop-font-size));width:calc(2 * var(--rc-text-headingMd-desktop-font-size));}.rcb-modal-message[data-has-title="false"].svelte-1ldqsgm {margin-top:var(--rc-spacing-gapXXLarge-desktop);}
201
- }`};function hk(r,e){fe(e,!0),Pe(r,mk);const t=J(e,"title",3,null),n=J(e,"icon",3,null),a=32;let i=te(null),s=te(!1),l;Er(()=>(o(i)&&(l=new ResizeObserver(()=>{var d;z(s,(((d=o(i))==null?void 0:d.offsetHeight)??0)>a)}),l.observe(o(i))),()=>{l==null||l.disconnect()}));var c=fk(),u=D(c);Lo(u,{gap:"medium",justify:"start",children:(d,p)=>{var g=gk(),_=se(g);lk(_,{children:(y,h)=>{var b=_k(),k=se(b);{var w=I=>{var F=dk(),x=D(F);wr(x,n),X(()=>pr(F,1,`rcb-modal-message-icon ${o(s)?"large":"small"}`,"svelte-1ldqsgm")),P(I,F)};G(k,I=>{n()&&I(w)})}var E=Y(k,2);{var S=I=>{var F=pk(),x=D(F);ze(x,{size:"heading-md",children:(q,T)=>{var N=Oe();X(()=>be(N,t())),P(q,N)},$$slots:{default:!0}}),Na(F,q=>z(i,q),()=>o(i)),P(I,F)};G(E,I=>{t()&&I(S)})}P(y,b)},$$slots:{default:!0}});var f=Y(_,2);{var v=y=>{ze(y,{size:"body-small",children:(h,b)=>{var k=Se(),w=se(k);wr(w,()=>e.message??er),P(h,k)},$$slots:{default:!0}})};G(f,y=>{e.message&&y(v)})}P(d,g)},$$slots:{default:!0}}),X(()=>we(c,"data-has-title",!!t())),P(r,c),me()}var vk=W('<div class="rcb-modal-message-icon svelte-1h8pwwr"><!></div>'),yk=W("<!> <!>",1),bk=W('<div class="rcb-modal-message svelte-1h8pwwr" data-type="success"><!></div>');const kk={hash:"svelte-1h8pwwr",code:`.rcb-modal-message-icon.svelte-1h8pwwr {height:54px;width:54px;margin:0 auto;}.rcb-modal-message[data-has-title="false"].svelte-1h8pwwr {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message.svelte-1h8pwwr {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;}
208
+ }`};function Rk(r,e){me(e,!0),Pe(r,Bk);const t=J(e,"title",3,null),n=J(e,"icon",3,null),a=32;let i=re(null),s=re(!1),l;Pr(()=>(o(i)&&(l=new ResizeObserver(()=>{var d;z(s,(((d=o(i))==null?void 0:d.offsetHeight)??0)>a)}),l.observe(o(i))),()=>{l==null||l.disconnect()}));var c=jk(),u=A(c);No(u,{gap:"medium",justify:"start",children:(d,p)=>{var g=Nk(),_=ie(g);Fk(_,{children:(w,h)=>{var y=Ok(),k=ie(y);{var b=I=>{var q=zk(),x=A(q);wr(x,n),X(()=>_r(q,1,`rcb-modal-message-icon ${o(s)?"large":"small"}`,"svelte-1ldqsgm")),P(I,q)};G(k,I=>{n()&&I(b)})}var E=Y(k,2);{var S=I=>{var q=Lk(),x=A(q);ze(x,{size:"heading-md",children:(F,T)=>{var j=Re();X(()=>ke(j,t())),P(F,j)},$$slots:{default:!0}}),pa(q,F=>z(i,F),()=>o(i)),P(I,q)};G(E,I=>{t()&&I(S)})}P(w,y)},$$slots:{default:!0}});var f=Y(_,2);{var v=w=>{ze(w,{size:"body-small",children:(h,y)=>{var k=Ie(),b=ie(k);wr(b,()=>e.message??tr),P(h,k)},$$slots:{default:!0}})};G(f,w=>{e.message&&w(v)})}P(d,g)},$$slots:{default:!0}}),X(()=>be(c,"data-has-title",!!t())),P(r,c),he()}var Uk=W('<div class="rcb-modal-message-icon svelte-1h8pwwr"><!></div>'),Vk=W("<!> <!>",1),Wk=W('<div class="rcb-modal-message svelte-1h8pwwr" data-type="success"><!></div>');const Hk={hash:"svelte-1h8pwwr",code:`.rcb-modal-message-icon.svelte-1h8pwwr {height:54px;width:54px;margin:0 auto;}.rcb-modal-message[data-has-title="false"].svelte-1h8pwwr {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message.svelte-1h8pwwr {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;}
202
209
 
203
210
  @container layout-query-container (width >= 768px) {.rcb-modal-message[data-has-title="false"].svelte-1h8pwwr {margin-top:var(--rc-spacing-gapXXLarge-desktop);}
204
- }`};function wk(r,e){Pe(r,kk);const t=J(e,"title",3,null),n=J(e,"icon",3,null);var a=bk(),i=D(a);Lo(i,{gap:"large",justify:"center",children:(s,l)=>{var c=yk(),u=se(c);{var d=_=>{var f=vk(),v=D(f);wr(v,n),P(_,f)};G(u,_=>{n()&&_(d)})}var p=Y(u,2);{var g=_=>{ze(_,{size:"heading-md",children:(f,v)=>{var y=Oe();X(()=>be(y,t())),P(f,y)},$$slots:{default:!0}})};G(p,_=>{t()&&_(g)})}P(s,c)},$$slots:{default:!0}}),X(()=>we(a,"data-has-title",!!t())),P(r,a)}const Oo="rcb-ui-events-tracker",Rn="branding";var Pk=W("<div><div><!></div> <div><!></div></div>");const xk={hash:"svelte-clabfx",code:`.message-layout.svelte-clabfx {display:flex;flex-direction:column;}.message-layout-content.svelte-clabfx {flex-grow:1;display:flex;flex-direction:column;justify-content:center;}.message-layout-content-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}.message-layout-footer-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
211
+ }`};function Yk(r,e){Pe(r,Hk);const t=J(e,"title",3,null),n=J(e,"icon",3,null);var a=Wk(),i=A(a);No(i,{gap:"large",justify:"center",children:(s,l)=>{var c=Vk(),u=ie(c);{var d=_=>{var f=Uk(),v=A(f);wr(v,n),P(_,f)};G(u,_=>{n()&&_(d)})}var p=Y(u,2);{var g=_=>{ze(_,{size:"heading-md",children:(f,v)=>{var w=Re();X(()=>ke(w,t())),P(f,w)},$$slots:{default:!0}})};G(p,_=>{t()&&_(g)})}P(s,c)},$$slots:{default:!0}}),X(()=>be(a,"data-has-title",!!t())),P(r,a)}const jo="rcb-ui-events-tracker",Un="branding";var Gk=W("<div><div><!></div> <div><!></div></div>");const Kk={hash:"svelte-clabfx",code:`.message-layout.svelte-clabfx {display:flex;flex-direction:column;}.message-layout-content.svelte-clabfx {flex-grow:1;display:flex;flex-direction:column;justify-content:center;}.message-layout-content-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}.message-layout-footer-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
205
212
 
206
213
  @container layout-query-container (width < 768px) {.message-layout.svelte-clabfx {flex-grow:1;gap:var(--rc-spacing-gapXXLarge-mobile);}
207
214
  }
@@ -210,14 +217,14 @@ Minimum version required to store current data is: `+T+`.
210
217
  }.message-layout-full-width.svelte-clabfx {width:100%;}
211
218
 
212
219
  @media (min-width: 768px) {.message-layout-full-width.svelte-clabfx {width:544px;}
213
- }`};function Vl(r,e){fe(e,!0),Pe(r,xk);const t=()=>ge(d,"$brandingAppearanceStore",n),[n,a]=He();let i=J(e,"title",3,null),s=J(e,"closeButtonTitle",3,"Go back to app"),l=J(e,"icon",3,null),c=J(e,"message",3,null),u=J(e,"fullWidth",3,!1);const d=Xe(Rn),p=m(()=>t()??void 0);function g(){e.onDismiss()}var _=Pk();let f;var v=D(_);let y;var h=D(v);nk(h,{children:(E,S)=>{var I=Se(),F=se(I);{var x=T=>{wk(T,{get title(){return i()},get icon(){return l()}})},q=T=>{hk(T,{get title(){return i()},get icon(){return l()},get message(){return c()}})};G(F,T=>{e.type==="success"?T(x):T(q,!1)})}P(E,I)},$$slots:{default:!0}});var b=Y(v,2);let k;var w=D(b);rk(w,{children:(E,S)=>{Fp(E,{onclick:g,type:"submit",get brandingAppearance(){return o(p)},children:(I,F)=>{var x=Oe();X(()=>be(x,s())),P(I,x)},$$slots:{default:!0}})},$$slots:{default:!0}}),X(()=>{f=pr(_,1,"message-layout svelte-clabfx",null,f,{"message-layout-full-width":u()}),y=pr(v,1,"message-layout-content svelte-clabfx",null,y,{"message-layout-content-full-width":u()}),k=pr(b,1,"message-layout-footer svelte-clabfx",null,k,{"message-layout-footer-full-width":u()})}),P(r,_),me(),a()}function mt(r,e){fe(e,!0);const t=()=>ge(s,"$translator",n),[n,a]=He(),i=J(e,"key",3,""),s=Xe(vr),l=m(()=>i()?t().translate(i()||"",e.variables):void 0);var c=Se(),u=se(c);{var d=g=>{var _=Oe();X(()=>be(_,o(l))),P(g,_)},p=g=>{var _=Se(),f=se(_);wr(f,()=>e.children??er),P(g,_)};G(u,g=>{o(l)?g(d):g(p,!1)})}P(r,c),me(),a()}const Wl=7,Ui=30,Hl=365,Vi=4.33,Yl=52,Wi=12;function No(r){switch(r.unit){case Le.Year:return r.number*Hl;case Le.Month:return r.number*Ui;case Le.Week:return r.number*Wl;case Le.Day:return r.number}}function Ek(r){switch(r.unit){case Le.Year:return r.number*Yl;case Le.Month:return Math.floor(r.number*Vi);case Le.Week:return r.number;case Le.Day:return 0}}function Sk(r){switch(r.unit){case Le.Year:return r.number*Wi;case Le.Month:return r.number;case Le.Week:case Le.Day:return 0}}function Ik(r){switch(r.unit){case Le.Year:return r.number;case Le.Month:case Le.Week:case Le.Day:return 0}}function Gl(r,e){const{unit:t,number:n}=r;return{period:e.translatePeriodUnit(t,{noWhitespace:!0})??"",periodAbbreviated:e.translatePeriodUnit(t,{noWhitespace:!0,short:!0})??"",periodWithUnit:e.translatePeriod(n,t)??"",periodInDays:No(r).toString(),periodInWeeks:Ek(r).toString(),periodInMonths:Sk(r).toString(),periodInYears:Ik(r).toString()}}var Ck=W('<p class="footer-caption svelte-1fu2zos"><!></p>'),Tk=W('<p class="footer-caption svelte-1fu2zos"><!></p>'),Dk=W('<a class="terms-link svelte-1fu2zos" rel="noopener noreferrer" target="_blank"><!></a> <span class="terms-divider svelte-1fu2zos"></span>',1),Ak=W("<!> <!>",1),Fk=W('<div class="footer-caption-container svelte-1fu2zos"><!> <!> <p class="footer-caption svelte-1fu2zos"><!></p></div>');const Mk={hash:"svelte-1fu2zos",code:`.footer-caption-container.svelte-1fu2zos {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}.footer-caption.svelte-1fu2zos {color:var(--rc-color-grey-text-light);text-align:center;margin:0;}.terms-link.svelte-1fu2zos {color:inherit;}.terms-divider.svelte-1fu2zos {margin:0 4px;}
220
+ }`};function Hl(r,e){me(e,!0),Pe(r,Kk);const t=()=>ge(d,"$brandingAppearanceStore",n),[n,a]=Ve();let i=J(e,"title",3,null),s=J(e,"closeButtonTitle",3,"Go back to app"),l=J(e,"icon",3,null),c=J(e,"message",3,null),u=J(e,"fullWidth",3,!1);const d=Ze(Un),p=m(()=>t()??void 0);function g(){e.onDismiss()}var _=Gk();let f;var v=A(_);let w;var h=A(v);Ik(h,{children:(E,S)=>{var I=Ie(),q=ie(I);{var x=T=>{Yk(T,{get title(){return i()},get icon(){return l()}})},F=T=>{Rk(T,{get title(){return i()},get icon(){return l()},get message(){return c()}})};G(q,T=>{e.type==="success"?T(x):T(F,!1)})}P(E,I)},$$slots:{default:!0}});var y=Y(v,2);let k;var b=A(y);Ek(b,{children:(E,S)=>{qp(E,{onclick:g,type:"submit",get brandingAppearance(){return o(p)},children:(I,q)=>{var x=Re();X(()=>ke(x,s())),P(I,x)},$$slots:{default:!0}})},$$slots:{default:!0}}),X(()=>{f=_r(_,1,"message-layout svelte-clabfx",null,f,{"message-layout-full-width":u()}),w=_r(v,1,"message-layout-content svelte-clabfx",null,w,{"message-layout-content-full-width":u()}),k=_r(y,1,"message-layout-footer svelte-clabfx",null,k,{"message-layout-footer-full-width":u()})}),P(r,_),he(),a()}function ht(r,e){me(e,!0);const t=()=>ge(s,"$translator",n),[n,a]=Ve(),i=J(e,"key",3,""),s=Ze(yr),l=m(()=>i()?t().translate(i()||"",e.variables):void 0);var c=Ie(),u=ie(c);{var d=g=>{var _=Re();X(()=>ke(_,o(l))),P(g,_)},p=g=>{var _=Ie(),f=ie(_);wr(f,()=>e.children??tr),P(g,_)};G(u,g=>{o(l)?g(d):g(p,!1)})}P(r,c),he(),a()}const Yl=7,Yi=30,Gl=365,Gi=4.33,Kl=52,Ki=12;function Bo(r){switch(r.unit){case Ne.Year:return r.number*Gl;case Ne.Month:return r.number*Yi;case Ne.Week:return r.number*Yl;case Ne.Day:return r.number}}function Xk(r){switch(r.unit){case Ne.Year:return r.number*Kl;case Ne.Month:return Math.floor(r.number*Gi);case Ne.Week:return r.number;case Ne.Day:return 0}}function Zk(r){switch(r.unit){case Ne.Year:return r.number*Ki;case Ne.Month:return r.number;case Ne.Week:case Ne.Day:return 0}}function Jk(r){switch(r.unit){case Ne.Year:return r.number;case Ne.Month:case Ne.Week:case Ne.Day:return 0}}function Xl(r,e){const{unit:t,number:n}=r;return{period:e.translatePeriodUnit(t,{noWhitespace:!0})??"",periodAbbreviated:e.translatePeriodUnit(t,{noWhitespace:!0,short:!0})??"",periodWithUnit:e.translatePeriod(n,t)??"",periodInDays:Bo(r).toString(),periodInWeeks:Xk(r).toString(),periodInMonths:Zk(r).toString(),periodInYears:Jk(r).toString()}}var Qk=W('<p class="footer-caption svelte-1fu2zos"><!></p>'),$k=W('<p class="footer-caption svelte-1fu2zos"><!></p>'),ew=W('<a class="terms-link svelte-1fu2zos" rel="noopener noreferrer" target="_blank"><!></a> <span class="terms-divider svelte-1fu2zos"></span>',1),rw=W("<!> <!>",1),tw=W('<div class="footer-caption-container svelte-1fu2zos"><!> <!> <p class="footer-caption svelte-1fu2zos"><!></p></div>');const nw={hash:"svelte-1fu2zos",code:`.footer-caption-container.svelte-1fu2zos {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}.footer-caption.svelte-1fu2zos {color:var(--rc-color-grey-text-light);text-align:center;margin:0;}.terms-link.svelte-1fu2zos {color:inherit;}.terms-divider.svelte-1fu2zos {margin:0 4px;}
214
221
 
215
222
  @container layout-query-container (width >= 768px) {.footer-caption-container.svelte-1fu2zos {gap:var(--rc-spacing-gapLarge-desktop);}
216
- }`};function zk(r,e){fe(e,!1),Pe(r,Mk);const t=()=>ge(w,"$translator",n),[n,a]=He(),i=ur(),s=ur(),l=ur(),c=ur(),u=ur(),d=ur(),p=ur(),g=ur(),_=ur(),f=ur(),v=ur(),y=ur();let h=J(e,"brandingInfo",8,null),b=J(e,"purchaseOption",8,null),k=J(e,"termsAndConditionsUrl",8,null);const w=Xe(vr);function E(R){return R!=null&&"base"in R}function S(R){return R!=null&&"basePrice"in R}function I(R){return R?R.trial?de.PaymentEntryPageTrialSubscriptionTermsInfo:de.PaymentEntryPageSubscriptionTermsInfo:de.PaymentEntryPageOtpTermsInfo}const F="Discount applied to your subscription. Auto-renews at the discounted rate. Cancel anytime.",x="Discount applies to your first payment only. Subscription auto-renews at the standard rate. Cancel anytime.",q="One-time discount applied. Auto-renews at the standard rate. Cancel anytime.",T="Limited-time discount. Auto-renews at the standard rate. Cancel anytime.";function N(R,$){if($.durationMode!=="time_window")return!1;const le=R.base.period,_e=$.period;if(!le||!_e||$.cycleCount<=0)return!1;const ae=No(le),Z=No({number:_e.number*$.cycleCount,unit:_e.unit});return ae>0&&Z<=ae}function L(R){const $=R==null?void 0:R.discount;if(!R||!$)return null;switch($.durationMode){case"forever":return F;case"one_time":return q;case"time_window":return N(R,$)?x:T;default:return null}}mr(()=>We(b()),()=>{z(i,E(b())?b():null)}),mr(()=>We(b()),()=>{z(s,S(b())?b():null)}),mr(()=>o(i),()=>{z(l,I(o(i)))}),mr(()=>o(i),()=>{var R,$,le;z(c,((R=o(i))==null?void 0:R.discount)??(($=o(i))==null?void 0:$.introPrice)??((le=o(i))==null?void 0:le.base)??null)}),mr(()=>(o(s),o(c)),()=>{var R,$,le,_e;z(u,(($=(R=o(s))==null?void 0:R.discount)==null?void 0:$.price)||((le=o(s))==null?void 0:le.basePrice)||((_e=o(c))==null?void 0:_e.price))}),mr(()=>(o(u),t()),()=>{z(d,o(u)?bn(o(u).amountMicros,o(u).currency,t().bcp47Locale||t().fallbackBcp47Locale):null)}),mr(()=>(o(c),t()),()=>{var R,$,le,_e,ae;z(p,(R=o(c))!=null&&R.period?t().translatePeriodFrequency(((le=($=o(c))==null?void 0:$.period)==null?void 0:le.number)||1,(ae=(_e=o(c))==null?void 0:_e.period)==null?void 0:ae.unit,{useMultipleWords:!0}):null)}),mr(()=>(o(i),t(),Io),()=>{var R,$;z(g,($=(R=o(i))==null?void 0:R.trial)!=null&&$.period?t().translateDate(Io(new Date,o(i).trial.period,!0),{year:"numeric",month:"long",day:"numeric"}):null)}),mr(()=>(We(h()),o(u),t(),o(l),o(d),o(p),o(g)),()=>{var R;z(_,h()&&o(u)?t().translate(o(l),{appName:(R=h())==null?void 0:R.app_name,price:o(d),perFrequency:o(p),renewalDate:o(g)}):null)}),mr(()=>o(i),()=>{z(f,L(o(i)))}),mr(()=>(o(f),o(_)),()=>{z(v,o(f)??o(_))}),mr(()=>(o(i),t(),de),()=>{z(y,o(i)?t().translate(de.PaymentEntryPageSubscriptionInfo):null)}),Ms(),An();var O=Fk(),j=D(O);{var C=R=>{var $=Ck(),le=D($);ze(le,{size:"caption-default",children:(_e,ae)=>{var Z=Oe();X(()=>be(Z,o(v))),P(_e,Z)},$$slots:{default:!0}}),P(R,$)};G(j,R=>{o(v)&&R(C)})}var A=Y(j,2);{var M=R=>{var $=Tk(),le=D($);ze(le,{size:"caption-default",children:(_e,ae)=>{var Z=Oe();X(()=>be(Z,o(y))),P(_e,Z)},$$slots:{default:!0}}),P(R,$)};G(A,R=>{o(y)&&!o(f)&&R(M)})}var U=Y(A,2),V=D(U);ze(V,{size:"caption-default",children:(R,$)=>{var le=Ak(),_e=se(le);{var ae=B=>{var K=Dk(),oe=se(K),H=D(oe);mt(H,{get key(){return We(de),Ue(()=>de.PaymentEntryPageTermsLinkLabel)}});var pe=Y(oe,2);pe.textContent="|",X(()=>we(oe,"href",k())),P(B,K)};G(_e,B=>{k()&&B(ae)})}var Z=Y(_e,2);mt(Z,{get key(){return We(de),Ue(()=>de.PaymentEntryPagePaymentStepTitle)}}),P(R,le)},$$slots:{default:!0}}),P(r,O),me(),a()}var Zr=(r=>(r.SDKInitialized="sdk_initialized",r.CheckoutSessionStart="checkout_session_start",r.CheckoutSessionEnd="checkout_session_end",r.CheckoutFlowError="checkout_flow_error",r.CheckoutPaymentTaxCalculation="checkout_payment_tax_calculation",r.CheckoutPaymentFormImpression="checkout_payment_form_impression",r.CheckoutPaymentFormError="checkout_payment_form_error",r.CheckoutPaymentFormDismiss="checkout_payment_form_dismiss",r.CheckoutPaymentFormSubmit="checkout_payment_form_submit",r.CheckoutPaymentFormGatewayError="checkout_payment_form_gateway_error",r.CheckoutPurchaseSuccessfulImpression="checkout_purchase_successful_impression",r.CheckoutPurchaseSuccessfulDismiss="checkout_purchase_successful_dismiss",r.WorkflowStepStarted="workflow_step_started",r.WorkflowStepCompleted="workflow_step_completed",r))(Zr||{});function Mp(r){const e={};for(const t in r)if(Object.prototype.hasOwnProperty.call(r,t)){const n=t.replace(/([A-Z])/g,"_$1").toLowerCase(),a=r[t];a&&typeof a=="object"&&!Array.isArray(a)?e[n]=Mp(a):e[n]=a}return e}function zp(r){for(let e=0;e<r.length;e++)r[e]=Math.floor(Math.random()*256)}function Un(){const r=typeof crypto<"u"?crypto:globalThis.crypto;if(r&&r.randomUUID)return r.randomUUID();const e=new Uint8Array(16);try{r&&r.getRandomValues?r.getRandomValues(e):zp(e)}catch(n){console.log(`Error using crypto.getRandomValues(), falling back to Math.random. + ${n}`),zp(e)}e[6]=e[6]&15|64,e[8]=e[8]&63|128;const t=Array.from(e).map(n=>n.toString(16).padStart(2,"0"));return[t.slice(0,4).join(""),t.slice(4,6).join(""),t.slice(6,8).join(""),t.slice(8,10).join(""),t.slice(10,16).join("")].join("-")}const tt="sdk_checkout";class qk{constructor(e){ee(this,"EVENT_TYPE","web_billing");ee(this,"id");ee(this,"timestampMs");ee(this,"data");this.id=Un(),this.timestampMs=Date.now(),this.data=e}toJSON(){return Mp({id:this.id,timestampMs:this.timestampMs,type:this.EVENT_TYPE,eventName:this.data.eventName,appUserId:this.data.appUserId,context:{...this.data.context},properties:{...this.data.properties,traceId:this.data.traceId,...this.data.workflowIdentifier!==void 0?{workflowIdentifier:this.data.workflowIdentifier}:{}}})}}function qp({errorCode:r,errorMessage:e,mode:t=tt}){return{eventName:Zr.CheckoutFlowError,properties:{mode:t,errorCode:r,errorMessage:e}}}function jk({errorCode:r,errorMessage:e,mode:t=tt}){return{eventName:Zr.CheckoutPaymentFormError,properties:{mode:t,errorCode:r,errorMessage:e}}}function Hi({appearance:r,rcPackage:e,purchaseOptionToUse:t,customerEmail:n,mode:a=tt}){return{eventName:Zr.CheckoutSessionStart,properties:{mode:a,customizationColorButtonsPrimary:(r==null?void 0:r.color_buttons_primary)??null,customizationColorAccent:(r==null?void 0:r.color_accent)??null,customizationColorError:(r==null?void 0:r.color_error)??null,customizationColorProductInfoBg:(r==null?void 0:r.color_product_info_bg)??null,customizationColorFormBg:(r==null?void 0:r.color_form_bg)??null,customizationColorPageBg:(r==null?void 0:r.color_page_bg)??null,customizationFont:(r==null?void 0:r.font)??null,customizationShapes:(r==null?void 0:r.shapes)??null,customizationShowProductDescription:(r==null?void 0:r.show_product_description)??null,productInterval:e.webBillingProduct.normalPeriodDuration,productPrice:e.webBillingProduct.price.amountMicros,productCurrency:e.webBillingProduct.price.currency,selectedProductId:e.webBillingProduct.identifier,selectedPackageId:e.identifier,selectedPurchaseOption:t.id,customerEmailProvidedByDeveloper:!!n}}}function jp({redemptionInfo:r,mode:e=tt}){return{eventName:Zr.CheckoutSessionEnd,properties:{mode:e,outcome:"finished",withRedemptionInfo:!!r}}}function Lp(r){return{eventName:Zr.CheckoutSessionEnd,properties:{mode:(r==null?void 0:r.mode)??tt,outcome:"closed"}}}function Op({errorCode:r,errorMessage:e,mode:t=tt}){return{eventName:Zr.CheckoutSessionEnd,properties:{mode:t,outcome:"errored",errorCode:r,errorMessage:e}}}function Np({taxCalculation:r,taxCustomerDetails:e,mode:t=tt}){const n=r.failed_reason===yn.tax_collection_disabled?"disabled":r.failed_reason?"failed":r.tax_amount_in_micros===0?"not-taxed":"taxed",a=e===null?"auto":"form";return{eventName:Zr.CheckoutPaymentTaxCalculation,properties:{mode:t,outcome:n,ui_element:a,tax_inclusive:r.tax_inclusive,error_code:r.failed_reason??null}}}function Bp({selectedPaymentMethod:r,mode:e=tt}){return{eventName:Zr.CheckoutPaymentFormSubmit,properties:{mode:e,selectedPaymentMethod:r??null}}}function Kl({errorCode:r,errorMessage:e,mode:t=tt}){return{eventName:Zr.CheckoutPaymentFormGatewayError,properties:{mode:t,errorCode:r,errorMessage:e}}}function Lk(r,e=tt){return{eventName:Zr.CheckoutPurchaseSuccessfulDismiss,properties:{mode:e,ui_element:r}}}function Ok(r=tt){return{eventName:Zr.CheckoutPurchaseSuccessfulImpression,properties:{mode:r}}}const Nk=`<svg width="80" height="80" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
223
+ }`};function aw(r,e){me(e,!1),Pe(r,nw);const t=()=>ge(b,"$translator",n),[n,a]=Ve(),i=ur(),s=ur(),l=ur(),c=ur(),u=ur(),d=ur(),p=ur(),g=ur(),_=ur(),f=ur(),v=ur(),w=ur();let h=J(e,"brandingInfo",8,null),y=J(e,"purchaseOption",8,null),k=J(e,"termsAndConditionsUrl",8,null);const b=Ze(yr);function E(R){return R!=null&&"base"in R}function S(R){return R!=null&&"basePrice"in R}function I(R){return R?R.trial?ce.PaymentEntryPageTrialSubscriptionTermsInfo:ce.PaymentEntryPageSubscriptionTermsInfo:ce.PaymentEntryPageOtpTermsInfo}const q="Discount applied to your subscription. Auto-renews at the discounted rate. Cancel anytime.",x="Discount applies to your first payment only. Subscription auto-renews at the standard rate. Cancel anytime.",F="One-time discount applied. Auto-renews at the standard rate. Cancel anytime.",T="Limited-time discount. Auto-renews at the standard rate. Cancel anytime.";function j(R,$){if($.durationMode!=="time_window")return!1;const ue=R.base.period,pe=$.period;if(!ue||!pe||$.cycleCount<=0)return!1;const ne=Bo(ue),Z=Bo({number:pe.number*$.cycleCount,unit:pe.unit});return ne>0&&Z<=ne}function O(R){const $=R==null?void 0:R.discount;if(!R||!$)return null;switch($.durationMode){case"forever":return q;case"one_time":return F;case"time_window":return j(R,$)?x:T;default:return null}}mr(()=>Ke(y()),()=>{z(i,E(y())?y():null)}),mr(()=>Ke(y()),()=>{z(s,S(y())?y():null)}),mr(()=>o(i),()=>{z(l,I(o(i)))}),mr(()=>o(i),()=>{var R,$,ue;z(c,((R=o(i))==null?void 0:R.discount)??(($=o(i))==null?void 0:$.introPrice)??((ue=o(i))==null?void 0:ue.base)??null)}),mr(()=>(o(s),o(c)),()=>{var R,$,ue,pe;z(u,(($=(R=o(s))==null?void 0:R.discount)==null?void 0:$.price)||((ue=o(s))==null?void 0:ue.basePrice)||((pe=o(c))==null?void 0:pe.price))}),mr(()=>(o(u),t()),()=>{z(d,o(u)?bn(o(u).amountMicros,o(u).currency,t().bcp47Locale||t().fallbackBcp47Locale):null)}),mr(()=>(o(c),t()),()=>{var R,$,ue,pe,ne;z(p,(R=o(c))!=null&&R.period?t().translatePeriodFrequency(((ue=($=o(c))==null?void 0:$.period)==null?void 0:ue.number)||1,(ne=(pe=o(c))==null?void 0:pe.period)==null?void 0:ne.unit,{useMultipleWords:!0}):null)}),mr(()=>(o(i),t(),Co),()=>{var R,$;z(g,($=(R=o(i))==null?void 0:R.trial)!=null&&$.period?t().translateDate(Co(new Date,o(i).trial.period,!0),{year:"numeric",month:"long",day:"numeric"}):null)}),mr(()=>(Ke(h()),o(u),t(),o(l),o(d),o(p),o(g)),()=>{var R;z(_,h()&&o(u)?t().translate(o(l),{appName:(R=h())==null?void 0:R.app_name,price:o(d),perFrequency:o(p),renewalDate:o(g)}):null)}),mr(()=>o(i),()=>{z(f,O(o(i)))}),mr(()=>(o(f),o(_)),()=>{z(v,o(f)??o(_))}),mr(()=>(o(i),t(),ce),()=>{z(w,o(i)?t().translate(ce.PaymentEntryPageSubscriptionInfo):null)}),Os(),zn();var N=tw(),L=A(N);{var C=R=>{var $=Qk(),ue=A($);ze(ue,{size:"caption-default",children:(pe,ne)=>{var Z=Re();X(()=>ke(Z,o(v))),P(pe,Z)},$$slots:{default:!0}}),P(R,$)};G(L,R=>{o(v)&&R(C)})}var D=Y(L,2);{var M=R=>{var $=$k(),ue=A($);ze(ue,{size:"caption-default",children:(pe,ne)=>{var Z=Re();X(()=>ke(Z,o(w))),P(pe,Z)},$$slots:{default:!0}}),P(R,$)};G(D,R=>{o(w)&&!o(f)&&R(M)})}var U=Y(D,2),V=A(U);ze(V,{size:"caption-default",children:(R,$)=>{var ue=rw(),pe=ie(ue);{var ne=B=>{var K=ew(),ae=ie(K),H=A(ae);ht(H,{get key(){return Ke(ce),He(()=>ce.PaymentEntryPageTermsLinkLabel)}});var de=Y(ae,2);de.textContent="|",X(()=>be(ae,"href",k())),P(B,K)};G(pe,B=>{k()&&B(ne)})}var Z=Y(pe,2);ht(Z,{get key(){return Ke(ce),He(()=>ce.PaymentEntryPagePaymentStepTitle)}}),P(R,ue)},$$slots:{default:!0}}),P(r,N),he(),a()}var Jr=(r=>(r.SDKInitialized="sdk_initialized",r.CheckoutSessionStart="checkout_session_start",r.CheckoutSessionEnd="checkout_session_end",r.CheckoutFlowError="checkout_flow_error",r.CheckoutPaymentTaxCalculation="checkout_payment_tax_calculation",r.CheckoutPaymentFormImpression="checkout_payment_form_impression",r.CheckoutPaymentFormError="checkout_payment_form_error",r.CheckoutPaymentFormDismiss="checkout_payment_form_dismiss",r.CheckoutPaymentFormSubmit="checkout_payment_form_submit",r.CheckoutPaymentFormGatewayError="checkout_payment_form_gateway_error",r.CheckoutPurchaseSuccessfulImpression="checkout_purchase_successful_impression",r.CheckoutPurchaseSuccessfulDismiss="checkout_purchase_successful_dismiss",r.WorkflowStepStarted="workflow_step_started",r.WorkflowStepCompleted="workflow_step_completed",r))(Jr||{});function zp(r){const e={};for(const t in r)if(Object.prototype.hasOwnProperty.call(r,t)){const n=t.replace(/([A-Z])/g,"_$1").toLowerCase(),a=r[t];a&&typeof a=="object"&&!Array.isArray(a)?e[n]=zp(a):e[n]=a}return e}function Lp(r){for(let e=0;e<r.length;e++)r[e]=Math.floor(Math.random()*256)}function Vn(){const r=typeof crypto<"u"?crypto:globalThis.crypto;if(r&&r.randomUUID)return r.randomUUID();const e=new Uint8Array(16);try{r&&r.getRandomValues?r.getRandomValues(e):Lp(e)}catch(n){console.log(`Error using crypto.getRandomValues(), falling back to Math.random. + ${n}`),Lp(e)}e[6]=e[6]&15|64,e[8]=e[8]&63|128;const t=Array.from(e).map(n=>n.toString(16).padStart(2,"0"));return[t.slice(0,4).join(""),t.slice(4,6).join(""),t.slice(6,8).join(""),t.slice(8,10).join(""),t.slice(10,16).join("")].join("-")}const nt="sdk_checkout";class ow{constructor(e){ee(this,"EVENT_TYPE","web_billing");ee(this,"id");ee(this,"timestampMs");ee(this,"data");this.id=Vn(),this.timestampMs=Date.now(),this.data=e}toJSON(){return zp({id:this.id,timestampMs:this.timestampMs,type:this.EVENT_TYPE,eventName:this.data.eventName,appUserId:this.data.appUserId,context:{...this.data.context},properties:{...this.data.properties,traceId:this.data.traceId,...this.data.workflowIdentifier!==void 0?{workflowIdentifier:this.data.workflowIdentifier}:{}}})}}function Op({errorCode:r,errorMessage:e,mode:t=nt}){return{eventName:Jr.CheckoutFlowError,properties:{mode:t,errorCode:r,errorMessage:e}}}function iw({errorCode:r,errorMessage:e,mode:t=nt}){return{eventName:Jr.CheckoutPaymentFormError,properties:{mode:t,errorCode:r,errorMessage:e}}}function Xi({appearance:r,rcPackage:e,purchaseOptionToUse:t,customerEmail:n,mode:a=nt}){return{eventName:Jr.CheckoutSessionStart,properties:{mode:a,customizationColorButtonsPrimary:(r==null?void 0:r.color_buttons_primary)??null,customizationColorAccent:(r==null?void 0:r.color_accent)??null,customizationColorError:(r==null?void 0:r.color_error)??null,customizationColorProductInfoBg:(r==null?void 0:r.color_product_info_bg)??null,customizationColorFormBg:(r==null?void 0:r.color_form_bg)??null,customizationColorPageBg:(r==null?void 0:r.color_page_bg)??null,customizationFont:(r==null?void 0:r.font)??null,customizationShapes:(r==null?void 0:r.shapes)??null,customizationShowProductDescription:(r==null?void 0:r.show_product_description)??null,productInterval:e.webBillingProduct.normalPeriodDuration,productPrice:e.webBillingProduct.price.amountMicros,productCurrency:e.webBillingProduct.price.currency,selectedProductId:e.webBillingProduct.identifier,selectedPackageId:e.identifier,selectedPurchaseOption:t.id,customerEmailProvidedByDeveloper:!!n}}}function Np({redemptionInfo:r,mode:e=nt}){return{eventName:Jr.CheckoutSessionEnd,properties:{mode:e,outcome:"finished",withRedemptionInfo:!!r}}}function jp(r){return{eventName:Jr.CheckoutSessionEnd,properties:{mode:(r==null?void 0:r.mode)??nt,outcome:"closed"}}}function Bp({errorCode:r,errorMessage:e,mode:t=nt}){return{eventName:Jr.CheckoutSessionEnd,properties:{mode:t,outcome:"errored",errorCode:r,errorMessage:e}}}function Rp({taxCalculation:r,taxCustomerDetails:e,mode:t=nt}){const n=r.failed_reason===yn.tax_collection_disabled?"disabled":r.failed_reason?"failed":r.tax_amount_in_micros===0?"not-taxed":"taxed",a=e===null?"auto":"form";return{eventName:Jr.CheckoutPaymentTaxCalculation,properties:{mode:t,outcome:n,ui_element:a,tax_inclusive:r.tax_inclusive,error_code:r.failed_reason??null}}}function Up({selectedPaymentMethod:r,mode:e=nt}){return{eventName:Jr.CheckoutPaymentFormSubmit,properties:{mode:e,selectedPaymentMethod:r??null}}}function Zl({errorCode:r,errorMessage:e,mode:t=nt}){return{eventName:Jr.CheckoutPaymentFormGatewayError,properties:{mode:t,errorCode:r,errorMessage:e}}}function sw(r,e=nt){return{eventName:Jr.CheckoutPurchaseSuccessfulDismiss,properties:{mode:e,ui_element:r}}}function lw(r=nt){return{eventName:Jr.CheckoutPurchaseSuccessfulImpression,properties:{mode:r}}}const cw=`<svg width="80" height="80" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
217
224
  <g transform="scale(0.5)" transform-origin="center">
218
225
  <path d="M12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 16.6944 7.30558 20.5 12 20.5C16.6944 20.5 20.5 16.6944 20.5 12C20.5 11.5858 20.8358 11.25 21.25 11.25C21.6642 11.25 22 11.5858 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C12.4142 2 12.75 2.33579 12.75 2.75C12.75 3.16421 12.4142 3.5 12 3.5Z" fill="currentColor"/>
219
226
  </g>
220
- </svg>`;var Bk=W('<div class="rcb-ui-asset-icon svelte-6k29hu"><!></div>');const Rk={hash:"svelte-6k29hu",code:`
227
+ </svg>`;var uw=W('<div class="rcb-ui-asset-icon svelte-6k29hu"><!></div>');const dw={hash:"svelte-6k29hu",code:`
221
228
  @-webkit-keyframes svelte-6k29hu-rotating /* Safari and Chrome */ {
222
229
  from {
223
230
  -webkit-transform: rotate(0deg);
@@ -250,28 +257,28 @@ Minimum version required to store current data is: `+T+`.
250
257
  -moz-animation: svelte-6k29hu-rotating 2s ease-in-out infinite;
251
258
  -ms-animation: svelte-6k29hu-rotating 2s ease-in-out infinite;
252
259
  -o-animation: svelte-6k29hu-rotating 2s ease-in-out infinite;
253
- animation: svelte-6k29hu-rotating 2s ease-in-out infinite;}`};function Yi(r,e){Pe(r,Rk);const t=J(e,"color",3,"var(--rc-color-accent)");var n=Bk(),a=D(n);fn(a,()=>Nk),X(()=>Ae(n,`color:${t()??""};`)),P(r,n)}var Uk=W('<div class="rcb-modal-loader svelte-rhstd0"><!></div>');const Vk={hash:"svelte-rhstd0",code:`.rcb-modal-loader.svelte-rhstd0 {width:100%;flex-grow:1;display:flex;justify-content:center;align-items:center;}
260
+ animation: svelte-6k29hu-rotating 2s ease-in-out infinite;}`};function Zi(r,e){Pe(r,dw);const t=J(e,"color",3,"var(--rc-color-accent)");var n=uw(),a=A(n);fn(a,()=>cw),X(()=>Ae(n,`color:${t()??""};`)),P(r,n)}var pw=W('<div class="rcb-modal-loader svelte-rhstd0"><!></div>');const _w={hash:"svelte-rhstd0",code:`.rcb-modal-loader.svelte-rhstd0 {width:100%;flex-grow:1;display:flex;justify-content:center;align-items:center;}
254
261
 
255
262
  @container layout-query-container (width >= 768px) {.rcb-modal-loader.svelte-rhstd0 {align-items:flex-start;margin-top:calc(var(--rc-spacing-gapXXLarge-desktop) * 6);}
256
- }`};function Rp(r){Pe(r,Vk);var e=Uk(),t=D(e);Yi(t,{}),P(r,e)}function Wk(r,e){var g,_;fe(e,!0);const t=()=>ge(l,"$brandingAppearanceStore",a),n=()=>ge(s,"$translator",a),[a,i]=He(),s=Xe(vr),l=Xe(Rn),c=m(()=>t()??void 0),u=m(()=>e.priceBreakdown?n().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency):null),d=(_=(g=e.subscriptionOption)==null?void 0:g.trial)==null?void 0:_.period,p=m(()=>d?n().translatePeriod(d.number,d.unit):null);Fp(r,{get disabled(){return e.disabled},testId:"PayButton",get brandingAppearance(){return o(c)},children:(f,v)=>{var y=Se(),h=se(y);{var b=w=>{{let E=m(()=>({trialPeriodLabel:o(p)}));mt(w,{get key(){return de.PaymentEntryPageButtonStartTrial},get variables(){return o(E)}})}},k=w=>{var E=Se(),S=se(E);{var I=x=>{{let q=m(()=>({formattedPrice:o(u)}));mt(x,{get key(){return de.PaymentEntryPageButtonWithPrice},get variables(){return o(q)}})}},F=x=>{mt(x,{get key(){return de.PaymentEntryPageButtonPay}})};G(S,x=>{o(u)?x(I):x(F,!1)},!0)}P(w,E)};G(h,w=>{var E;(E=e.subscriptionOption)!=null&&E.trial?w(b):w(k,!1)})}P(f,y)},$$slots:{default:!0}}),me(),i()}function Bo(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Bo=function(e){return typeof e}:Bo=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bo(r)}var Up="dahlia",Hk=function(e){return e===3?"v3":e},Vp="https://js.stripe.com",Yk="".concat(Vp,"/").concat(Up,"/stripe.js"),Gk=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Kk=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,Wp="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Xk=function(e){return Gk.test(e)||Kk.test(e)},Zk=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Vp,'"]')),t=0;t<e.length;t++){var n=e[t];if(Xk(n.src))return n}return null},Hp=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(Yk).concat(t);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},Jk=function(e,t){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"9.7.0",startTime:t})},Ro=null,Gi=null,Ki=null,Qk=function(e){return function(t){e(new Error("Failed to load Stripe.js",{cause:t}))}},$k=function(e,t){return function(){window.Stripe?e(window.Stripe):t(new Error("Stripe.js not available"))}},ew=function(e){return Ro!==null?Ro:(Ro=new Promise(function(t,n){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&e&&console.warn(Wp),window.Stripe){t(window.Stripe);return}try{var a=Zk();if(a&&e)console.warn(Wp);else if(!a)a=Hp(e);else if(a&&Ki!==null&&Gi!==null){var i;a.removeEventListener("load",Ki),a.removeEventListener("error",Gi),(i=a.parentNode)===null||i===void 0||i.removeChild(a),a=Hp(e)}Ki=$k(t,n),Gi=Qk(n),a.addEventListener("load",Ki),a.addEventListener("error",Gi)}catch(s){n(s);return}}),Ro.catch(function(t){return Ro=null,Promise.reject(t)}))},rw=function(e,t,n){if(e===null)return null;var a=t[0];if(typeof a!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(Bo(a)," instead."));var i=a.match(/^pk_test/),s=Hk(e.version),l=Up;i&&s!==l&&console.warn("Stripe.js@".concat(s," was loaded on the page, but @stripe/stripe-js@").concat("9.7.0"," expected Stripe.js@").concat(l,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var c=e.apply(void 0,t);return Jk(c,n),c},Yp=function(e){var t=`invalid load parameters; expected object of shape
263
+ }`};function Vp(r){Pe(r,_w);var e=pw(),t=A(e);Zi(t,{}),P(r,e)}function gw(r,e){var g,_;me(e,!0);const t=()=>ge(l,"$brandingAppearanceStore",a),n=()=>ge(s,"$translator",a),[a,i]=Ve(),s=Ze(yr),l=Ze(Un),c=m(()=>t()??void 0),u=m(()=>e.priceBreakdown?n().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency):null),d=(_=(g=e.subscriptionOption)==null?void 0:g.trial)==null?void 0:_.period,p=m(()=>d?n().translatePeriod(d.number,d.unit):null);qp(r,{get disabled(){return e.disabled},testId:"PayButton",get brandingAppearance(){return o(c)},children:(f,v)=>{var w=Ie(),h=ie(w);{var y=b=>{{let E=m(()=>({trialPeriodLabel:o(p)}));ht(b,{get key(){return ce.PaymentEntryPageButtonStartTrial},get variables(){return o(E)}})}},k=b=>{var E=Ie(),S=ie(E);{var I=x=>{{let F=m(()=>({formattedPrice:o(u)}));ht(x,{get key(){return ce.PaymentEntryPageButtonWithPrice},get variables(){return o(F)}})}},q=x=>{ht(x,{get key(){return ce.PaymentEntryPageButtonPay}})};G(S,x=>{o(u)?x(I):x(q,!1)},!0)}P(b,E)};G(h,b=>{var E;(E=e.subscriptionOption)!=null&&E.trial?b(y):b(k,!1)})}P(f,w)},$$slots:{default:!0}}),he(),i()}function Ro(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ro=function(e){return typeof e}:Ro=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ro(r)}var Wp="dahlia",fw=function(e){return e===3?"v3":e},Hp="https://js.stripe.com",mw="".concat(Hp,"/").concat(Wp,"/stripe.js"),hw=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,vw=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,Yp="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",yw=function(e){return hw.test(e)||vw.test(e)},bw=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Hp,'"]')),t=0;t<e.length;t++){var n=e[t];if(yw(n.src))return n}return null},Gp=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(mw).concat(t);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},kw=function(e,t){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"9.7.0",startTime:t})},Uo=null,Ji=null,Qi=null,ww=function(e){return function(t){e(new Error("Failed to load Stripe.js",{cause:t}))}},Pw=function(e,t){return function(){window.Stripe?e(window.Stripe):t(new Error("Stripe.js not available"))}},xw=function(e){return Uo!==null?Uo:(Uo=new Promise(function(t,n){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&e&&console.warn(Yp),window.Stripe){t(window.Stripe);return}try{var a=bw();if(a&&e)console.warn(Yp);else if(!a)a=Gp(e);else if(a&&Qi!==null&&Ji!==null){var i;a.removeEventListener("load",Qi),a.removeEventListener("error",Ji),(i=a.parentNode)===null||i===void 0||i.removeChild(a),a=Gp(e)}Qi=Pw(t,n),Ji=ww(n),a.addEventListener("load",Qi),a.addEventListener("error",Ji)}catch(s){n(s);return}}),Uo.catch(function(t){return Uo=null,Promise.reject(t)}))},Ew=function(e,t,n){if(e===null)return null;var a=t[0];if(typeof a!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(Ro(a)," instead."));var i=a.match(/^pk_test/),s=fw(e.version),l=Wp;i&&s!==l&&console.warn("Stripe.js@".concat(s," was loaded on the page, but @stripe/stripe-js@").concat("9.7.0"," expected Stripe.js@").concat(l,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var c=e.apply(void 0,t);return kw(c,n),c},Kp=function(e){var t=`invalid load parameters; expected object of shape
257
264
 
258
265
  {advancedFraudSignals: boolean}
259
266
 
260
267
  but received
261
268
 
262
269
  `.concat(JSON.stringify(e),`
263
- `);if(e===null||Bo(e)!=="object")throw new Error(t);if(Object.keys(e).length===1&&typeof e.advancedFraudSignals=="boolean")return e;throw new Error(t)},Xi,Xl=!1,Gp=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Xl=!0;var a=Date.now();return ew(Xi).then(function(i){return rw(i,t,a)})};Gp.setLoadParameters=function(r){if(Xl&&Xi){var e=Yp(r),t=Object.keys(e),n=t.reduce(function(a,i){var s;return a&&r[i]===((s=Xi)===null||s===void 0?void 0:s[i])},!0);if(n)return}if(Xl)throw new Error("You cannot change load parameters after calling loadStripe");Xi=Yp(r)};const tw={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},nw={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},aw={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#ffffff"},Zl={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},ow={...Zl,"input-background":"color_form_bg",background:"color_form_bg"},iw={...Zl,"input-background":"color_product_info_bg",background:"color_product_info_bg"},sw={...Zl,"input-background":"color_page_bg",background:"color_page_bg"},Kp={"input-border-radius":"4px","input-button-border-radius":"8px"},lw={"input-border-radius":"0px","input-button-border-radius":"0px"},cw={"input-border-radius":"12px","input-button-border-radius":"9999px"},Xp=Kp,Uo="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",Zp="BrandCustomFont",Jp=`${Zp}, ${Uo}`,$t={regular:"400",medium:"500",semibold:"600"},It={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},en={130:"130%",140:"140%"},rn={tight:"0.20%",regular:"0",loose:"0.20%"},Fr={heading2xl:{fontSize:It[28],lineHeight:en[130],fontWeight:$t.semibold,letterSpacing:rn.loose},headingXl:{fontSize:It[24],lineHeight:en[130],fontWeight:$t.semibold,letterSpacing:rn.loose},headingLg:{fontSize:"20px",lineHeight:en[130],fontWeight:$t.semibold,letterSpacing:rn.loose},headingMd:{fontSize:"16px",lineHeight:en[140],fontWeight:$t.medium,letterSpacing:rn.regular},bodyBase:{fontSize:It[16],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular},bodySmall:{fontSize:It[14],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular},labelButton:{fontSize:It[16],lineHeight:en[140],fontWeight:$t.semibold,letterSpacing:rn.tight},labelDefault:{fontSize:It[14],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.tight},captionDefault:{fontSize:It[12],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular},captionLink:{fontSize:It[12],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular}},tn={heading2xl:{...Fr.heading2xl,fontSize:It[36]},headingXl:{...Fr.headingXl,fontSize:It[32]},headingLg:{...Fr.headingLg,fontSize:It[24]},headingMd:{...Fr.headingMd,fontSize:It[18]},bodyBase:{...Fr.bodyBase},bodySmall:{...Fr.bodySmall},labelButton:{...Fr.labelButton},labelDefault:{...Fr.labelDefault},captionDefault:{...Fr.captionDefault},captionLink:{...Fr.captionLink}},Jl={heading2xl:{mobile:Fr.heading2xl,desktop:tn.heading2xl},headingXl:{desktop:tn.headingXl,mobile:Fr.headingXl},headingLg:{desktop:tn.headingLg,mobile:Fr.headingLg},headingMd:{desktop:tn.headingMd,mobile:Fr.headingMd},bodyBase:{desktop:tn.bodyBase,mobile:Fr.bodyBase},bodySmall:{desktop:tn.bodySmall,mobile:Fr.bodySmall},labelButton:{desktop:tn.labelButton,mobile:Fr.labelButton},labelDefault:{desktop:tn.labelDefault,mobile:Fr.labelDefault},captionDefault:{desktop:tn.captionDefault,mobile:Fr.captionDefault},captionLink:{desktop:tn.captionLink,mobile:Fr.captionLink}},Ga=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,Zi=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},Ji=.37,uw=(r,e=Ji)=>{const t=Ga(r);return t?Zi({...t,luminanceThreshold:e}):!0},dw=(r,e=Ji)=>{const t=Zi({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function pw(r,e,t){const n=Ga(r)||{r:0,g:0,b:0},a=Ga(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),l=Math.round(a.b*t+n.b*(1-t));return`#${Ql(i)}${Ql(s)}${Ql(l)}`}function Qp(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=Ga(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const l=Zi({...i,luminanceThreshold:Ji})?"#000000":"#FFFFFF";return pw(a,l,n)}function Ql(r){return r.toString(16).padStart(2,"0").toUpperCase()}const _w=(r,e,t,n,a=Ji)=>{const i={"grey-text-dark":n["grey-text-dark"],"grey-text-light":n["grey-text-light"],"grey-ui-dark":n["grey-ui-dark"],"grey-ui-light":n["grey-ui-light"],"primary-text":n["primary-text"]};if(r!=null&&r.startsWith("#")){const s=Ga(r);s!==null&&Object.assign(i,dw(s))}if(t)i["primary-text"]=t;else if(e!=null&&e.startsWith("#")){const s=Ga(e);s!==null&&(i["primary-text"]=Zi({...s,luminanceThreshold:a})?"black":"white")}return i},gw=r=>({"primary-hover":Qp(r,.1),"primary-pressed":Qp(r,.15)}),fw=(r,e)=>r||e,mw=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,fw(t?t[i]:null,e[a])]);return Object.fromEntries(n)},$l=(r,e,t)=>{const n=mw(r,e,t);return t?{...e,...n,..._w(n.background,n.primary,t.color_buttons_primary_text,e),...gw(n.primary)}:{...e}},$p=r=>$l(iw,nw,r),e_=r=>$l(ow,tw,r),hw=r=>$l(sw,aw,r),Qi=r=>{if(!r)return Xp;switch(r.shapes){case"rounded":return Kp;case"rectangle":return lw;case"pill":return cw;default:return Xp}},Ka=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),r_=r=>{const e=Ka("color",Object.entries($p(r))),t=Ka("shape",Object.entries(Qi(r)));return[e,t].join("; ")},vw=r=>{const e=Ka("color",Object.entries(e_(r))),t=Ka("shape",Object.entries(Qi(r)));return[e,t].join("; ")},yw=r=>{const e=Ka("color",Object.entries(hw(r))),t=Ka("shape",Object.entries(Qi(r)));return[e,t].join("; ")},bw=(r="",e,t)=>Object.entries(e).flatMap(([n,{desktop:a,mobile:i}])=>{const s=`normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Uo}`,l=`normal normal ${i.fontWeight} ${i.fontSize}/${i.lineHeight} ${Uo}`,c=`normal normal ${t==null?void 0:t.desktop.font_weight} ${t==null?void 0:t.desktop.font_size} ${Jp}`,u=`normal normal ${t==null?void 0:t.mobile.font_weight} ${t==null?void 0:t.mobile.font_size} ${Jp}`;return[`--rc-${r}-${n}-desktop: ${s}`,`--rc-${r}-${n}-mobile: ${l}`,`--rc-${r}-${n}-branded-desktop: ${t?c:s}`,`--rc-${r}-${n}-branded-mobile: ${t?u:l}`,`--rc-${r}-${n}-desktop-font-size: ${a.fontSize}`,`--rc-${r}-${n}-mobile-font-size: ${i.fontSize}`]}).join("; "),kw=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" "),ww={outerPaddingTop:{mobile:"0.25rem",desktop:"clamp(1rem, 8.44vw, 7.5rem)"},outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(3rem, 6.44vw, 4.5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.5rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"1rem"},gapXLarge:{mobile:"1rem",desktop:"2rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"}};class Vn{constructor(e){ee(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return Qi(this.brandingAppearance)}get formColors(){return e_(this.brandingAppearance)}get formStyleVars(){return vw(this.brandingAppearance)}get productInfoStyleVars(){return r_(this.brandingAppearance)}get pageStyleVars(){return yw(this.brandingAppearance)}get spacing(){return ww}get textStyles(){return Jl}getTextStyleVars(e){return bw("text",this.textStyles,e)}get spacingStyleVars(){return kw("spacing",this.spacing)}}var ec=(r=>(r[r.ErrorLoadingStripe=0]="ErrorLoadingStripe",r[r.HandledFormError=1]="HandledFormError",r[r.UnhandledFormError=2]="UnhandledFormError",r))(ec||{});class Vo{constructor(e,t,n){this.code=e,this.gatewayErrorCode=t,this.message=n}}const At=class At{static getStripeLocale(e){if(["ca","hi","uk"].includes(e))return"auto";const n={zh_Hans:"zh","zh-Hans":"zh",zh_Hant:"zh-TW","zh-Hant":"zh-TW"};return Object.keys(n).includes(e)?n[e]:e}static async getStripeClient(e,t){const n=await Gp(t,{stripeAccount:e}).catch(a=>{throw this.mapInitializationError(a)});if(!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe client not found"};return{stripe:n}}static async initializeStripe(e,t,n,a,i,s,l){if(!t||!e||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:c}=await this.getStripeClient(e,t),u=new Vn(a==null?void 0:a.appearance),d=u.shape,p=u.formColors,g=u.textStyles,_=Jl.bodyBase[l].fontSize||Jl.bodyBase.mobile.fontSize;let f;try{f=c.elements({mode:n.mode,paymentMethodTypes:n.payment_method_types,setupFutureUsage:n.setup_future_usage,amount:n.amount,currency:n.currency,loader:"always",locale:i,appearance:{theme:"stripe",labels:"floating",variables:{borderRadius:d["input-border-radius"],focusBoxShadow:"none",colorDanger:p.error,colorTextPlaceholder:p["grey-text-light"],colorText:p["grey-text-dark"],colorTextSecondary:p["grey-text-light"],fontSizeBase:_,...s},rules:{".Input":{boxShadow:"none",paddingTop:"6px",paddingBottom:"6px",fontSize:_,border:`1px solid ${p["grey-ui-dark"]}`,backgroundColor:p["input-background"],color:p["grey-text-dark"]},".Input:focus":{border:`1px solid ${p.focus}`,outline:"none"},".Label":{fontWeight:g.labelDefault[l].fontWeight,lineHeight:"22px",color:p["grey-text-dark"]},".Label--floating":{opacity:"1"},".Input--invalid":{boxShadow:"none"}}}})}catch(v){throw this.mapInitializationError(v)}return{stripe:c,elements:f}}static async initializeStripeCheckout(e,t,n,a){if(!e||!t||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:i}=await this.getStripeClient(e,t);let s;try{s=await i.createEmbeddedCheckoutPage({fetchClientSecret:()=>Promise.resolve(n.client_secret),onComplete:a})}catch(l){throw this.mapInitializationError(l)}return{stripe:i,embeddedCheckout:s}}static updateElementsConfiguration(e,t){e.update({mode:t.mode,paymentMethodTypes:t.payment_method_types,setupFutureUsage:t.setup_future_usage,amount:t.amount,currency:t.currency})}static isStripeHandledFormError(e){const t=e.type==="validation_error",n=e.type==="card_error"&&e.code&&this.FORM_VALIDATED_CARD_ERROR_CODES.includes(e.code);return t||n}static createPaymentElement(e,t){return e.create("payment",{business:t?{name:t}:void 0,layout:{type:"tabs"},terms:{applePay:"never",auBecsDebit:"never",bancontact:"never",card:"never",cashapp:"never",googlePay:"never",ideal:"never",paypal:"never",sepaDebit:"never",sofort:"never",usBankAccount:"never"}})}static countryRequiresFullAddressForTaxes(e){return!!e&&At.FULL_ADDRESS_REQUIRED_TAX_COUNTRY_CODES.includes(e)}static createAddressElement(e,t){return e.create("address",{mode:"billing",display:{name:"full"},...t?{defaultValues:{address:{country:t}}}:{}})}static createExpressCheckoutElement(e,t,n){const a={billingAddressRequired:!0,emailRequired:!0,...t?{paymentMethods:{applePay:"always",googlePay:"always"}}:{},...n||{}};return e.create("expressCheckout",a)}static createLinkAuthenticationElement(e,t){return e.create("linkAuthentication",{defaultValues:{email:t??""}})}static async submitElements(e){const{error:t}=await e.submit();if(t)throw this.mapError(t)}static mapInitializationError(e){return new Vo(0,e.code,e.message)}static mapError(e){return this.isStripeHandledFormError(e)?new Vo(1,e.code,e.message):new Vo(2,e.code,e.message)}static async confirmElements(e,t,n,a){const i={clientSecret:n,redirect:"if_required"},s=a?{...i,confirmParams:{confirmation_token:a}}:{...i,elements:t},l=n.startsWith("seti_");let c;if(l?c=await e.confirmSetup(s):c=await e.confirmPayment(s),c!=null&&c.error)throw this.mapError(c.error)}static async extractTaxCustomerDetails(e,t){var s,l;const{error:n,confirmationToken:a}=await t.createConfirmationToken({elements:e});if(n)throw this.mapError(n);const i=(l=(s=a.payment_method_preview)==null?void 0:s.billing_details)==null?void 0:l.address;return{customerDetails:{countryCode:(i==null?void 0:i.country)??void 0,postalCode:(i==null?void 0:i.postal_code)??void 0,state:(i==null?void 0:i.state)??void 0,city:(i==null?void 0:i.city)??void 0,addressLine1:(i==null?void 0:i.line1)??void 0,addressLine2:(i==null?void 0:i.line2)??void 0},confirmationTokenId:a.id}}static nextDateForPeriod(e,t){return e.unit===Le.Year?(t.setFullYear(t.getFullYear()+e.number),t):e.unit===Le.Month?(t.setMonth(t.getMonth()+e.number),t):e.unit===Le.Week?(t.setDate(t.getDate()+e.number*7),t):(e.unit===Le.Day&&t.setDate(t.getDate()+e.number),t)}static applePayPeriod(e){return e.unit===Le.Week?{recurringPaymentIntervalUnit:"day",recurringPaymentIntervalCount:e.number*7}:{recurringPaymentIntervalUnit:e.unit,recurringPaymentIntervalCount:e.number}}static microsToMinimumAmountPrice(e,t){return["BIF","CLP","DJF","GNF","JPY","KMF","KRW","MGA","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"].includes(t)?Math.floor(e/1e6):Math.floor(e/1e4)}static toExpressCheckoutLineItems(e,t,n){const{currency:a}=t,i=At.microsToMinimumAmountPrice(t.totalAmountInMicros,a),s=At.microsToMinimumAmountPrice(n.discountAmountInMicros,a);return[{name:e,amount:i+s},{name:n.label,amount:-s}]}static buildStripeExpressCheckoutOptionsForSubscription(e,t,n,a,i,s,l,c,u){var b;const d={maxRows:l,maxColumns:c,overflow:u},p=s&&s.discountAmountInMicros>0?At.toExpressCheckoutLineItems(e.title,t,s):void 0,g=At.microsToMinimumAmountPrice(t.totalAmountInMicros,t.currency),_=n.trial,f=(b=n.trial)==null?void 0:b.period,v=n.base.period,y=_&&f?At.nextDateForPeriod(f,new Date):void 0,h=v?At.applePayPeriod(v):{};return{layout:d,...p?{lineItems:p}:{},applePay:{recurringPaymentRequest:{paymentDescription:e.title,managementURL:i,..._?{trialBilling:{label:a.translate(de.ApplePayFreeTrial),amount:0}}:{},regularBilling:{label:e.title,amount:g,recurringPaymentStartDate:y,...h}}}}}static buildStripeExpressCheckoutOptionsForNonSubscription(e,t,n,a,i,s){const l={maxRows:a,maxColumns:i,overflow:s},c=n&&n.discountAmountInMicros>0?At.toExpressCheckoutLineItems(e.title,t,n):void 0;return{layout:l,...c?{lineItems:c}:{}}}};ee(At,"FORM_VALIDATED_CARD_ERROR_CODES",["card_declined","expired_card","incorrect_cvc","incorrect_number"]),ee(At,"FULL_ADDRESS_REQUIRED_TAX_COUNTRY_CODES",["CA","PR","IN"]);let tr=At;var Pw=W("<div></div>");function xw(r,e){fe(e,!0);let t=null;const n="payment-element",a=async s=>{await e.onError(tr.mapInitializationError(s.error))};Er(()=>{var s;try{t=tr.createPaymentElement(e.elements,(s=e.brandingInfo)==null?void 0:s.app_name),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(l){e.onError(tr.mapInitializationError(l))}}),jt(()=>{t==null||t.destroy(),t=null});var i=Pw();we(i,"id",n),P(r,i),me()}var Ew=W("<div></div>");function Sw(r,e){fe(e,!0);let t=null;const n="link-authentication-element",a=async s=>{await e.onError(tr.mapInitializationError(s.error))};Er(()=>{try{t=tr.createLinkAuthenticationElement(e.elements,e.email),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(s){e.onError(tr.mapInitializationError(s))}}),jt(()=>{t==null||t.destroy(),t=null});var i=Ew();we(i,"id",n),P(r,i),me()}var Iw=W('<div class="text-separator svelte-3efq78"><hr class="line svelte-3efq78"/> <span class="text svelte-3efq78"><!></span> <hr class="line svelte-3efq78"/></div>');const Cw={hash:"svelte-3efq78",code:`.text-separator.svelte-3efq78 {display:flex;align-items:center;justify-content:center;gap:var(--rc-spacing-gapSmall-mobile);}
270
+ `);if(e===null||Ro(e)!=="object")throw new Error(t);if(Object.keys(e).length===1&&typeof e.advancedFraudSignals=="boolean")return e;throw new Error(t)},$i,Jl=!1,Xp=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Jl=!0;var a=Date.now();return xw($i).then(function(i){return Ew(i,t,a)})};Xp.setLoadParameters=function(r){if(Jl&&$i){var e=Kp(r),t=Object.keys(e),n=t.reduce(function(a,i){var s;return a&&r[i]===((s=$i)===null||s===void 0?void 0:s[i])},!0);if(n)return}if(Jl)throw new Error("You cannot change load parameters after calling loadStripe");$i=Kp(r)};const Sw={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},Iw={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},Cw={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#ffffff"},Ql={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},Tw={...Ql,"input-background":"color_form_bg",background:"color_form_bg"},Dw={...Ql,"input-background":"color_product_info_bg",background:"color_product_info_bg"},Aw={...Ql,"input-background":"color_page_bg",background:"color_page_bg"},Zp={"input-border-radius":"4px","input-button-border-radius":"8px"},Fw={"input-border-radius":"0px","input-button-border-radius":"0px"},Mw={"input-border-radius":"12px","input-button-border-radius":"9999px"},Jp=Zp,Vo="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",Qp="BrandCustomFont",$p=`${Qp}, ${Vo}`,en={regular:"400",medium:"500",semibold:"600"},Tt={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},rn={130:"130%",140:"140%"},tn={tight:"0.20%",regular:"0",loose:"0.20%"},Mr={heading2xl:{fontSize:Tt[28],lineHeight:rn[130],fontWeight:en.semibold,letterSpacing:tn.loose},headingXl:{fontSize:Tt[24],lineHeight:rn[130],fontWeight:en.semibold,letterSpacing:tn.loose},headingLg:{fontSize:"20px",lineHeight:rn[130],fontWeight:en.semibold,letterSpacing:tn.loose},headingMd:{fontSize:"16px",lineHeight:rn[140],fontWeight:en.medium,letterSpacing:tn.regular},bodyBase:{fontSize:Tt[16],lineHeight:rn[140],fontWeight:en.regular,letterSpacing:tn.regular},bodySmall:{fontSize:Tt[14],lineHeight:rn[140],fontWeight:en.regular,letterSpacing:tn.regular},labelButton:{fontSize:Tt[16],lineHeight:rn[140],fontWeight:en.semibold,letterSpacing:tn.tight},labelDefault:{fontSize:Tt[14],lineHeight:rn[140],fontWeight:en.regular,letterSpacing:tn.tight},captionDefault:{fontSize:Tt[12],lineHeight:rn[140],fontWeight:en.regular,letterSpacing:tn.regular},captionLink:{fontSize:Tt[12],lineHeight:rn[140],fontWeight:en.regular,letterSpacing:tn.regular}},nn={heading2xl:{...Mr.heading2xl,fontSize:Tt[36]},headingXl:{...Mr.headingXl,fontSize:Tt[32]},headingLg:{...Mr.headingLg,fontSize:Tt[24]},headingMd:{...Mr.headingMd,fontSize:Tt[18]},bodyBase:{...Mr.bodyBase},bodySmall:{...Mr.bodySmall},labelButton:{...Mr.labelButton},labelDefault:{...Mr.labelDefault},captionDefault:{...Mr.captionDefault},captionLink:{...Mr.captionLink}},$l={heading2xl:{mobile:Mr.heading2xl,desktop:nn.heading2xl},headingXl:{desktop:nn.headingXl,mobile:Mr.headingXl},headingLg:{desktop:nn.headingLg,mobile:Mr.headingLg},headingMd:{desktop:nn.headingMd,mobile:Mr.headingMd},bodyBase:{desktop:nn.bodyBase,mobile:Mr.bodyBase},bodySmall:{desktop:nn.bodySmall,mobile:Mr.bodySmall},labelButton:{desktop:nn.labelButton,mobile:Mr.labelButton},labelDefault:{desktop:nn.labelDefault,mobile:Mr.labelDefault},captionDefault:{desktop:nn.captionDefault,mobile:Mr.captionDefault},captionLink:{desktop:nn.captionLink,mobile:Mr.captionLink}},Ka=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,es=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},rs=.37,qw=(r,e=rs)=>{const t=Ka(r);return t?es({...t,luminanceThreshold:e}):!0},zw=(r,e=rs)=>{const t=es({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function Lw(r,e,t){const n=Ka(r)||{r:0,g:0,b:0},a=Ka(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),l=Math.round(a.b*t+n.b*(1-t));return`#${ec(i)}${ec(s)}${ec(l)}`}function e_(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=Ka(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const l=es({...i,luminanceThreshold:rs})?"#000000":"#FFFFFF";return Lw(a,l,n)}function ec(r){return r.toString(16).padStart(2,"0").toUpperCase()}const Ow=(r,e,t,n,a=rs)=>{const i={"grey-text-dark":n["grey-text-dark"],"grey-text-light":n["grey-text-light"],"grey-ui-dark":n["grey-ui-dark"],"grey-ui-light":n["grey-ui-light"],"primary-text":n["primary-text"]};if(r!=null&&r.startsWith("#")){const s=Ka(r);s!==null&&Object.assign(i,zw(s))}if(t)i["primary-text"]=t;else if(e!=null&&e.startsWith("#")){const s=Ka(e);s!==null&&(i["primary-text"]=es({...s,luminanceThreshold:a})?"black":"white")}return i},Nw=r=>({"primary-hover":e_(r,.1),"primary-pressed":e_(r,.15)}),jw=(r,e)=>r||e,Bw=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,jw(t?t[i]:null,e[a])]);return Object.fromEntries(n)},rc=(r,e,t)=>{const n=Bw(r,e,t);return t?{...e,...n,...Ow(n.background,n.primary,t.color_buttons_primary_text,e),...Nw(n.primary)}:{...e}},r_=r=>rc(Dw,Iw,r),t_=r=>rc(Tw,Sw,r),Rw=r=>rc(Aw,Cw,r),ts=r=>{if(!r)return Jp;switch(r.shapes){case"rounded":return Zp;case"rectangle":return Fw;case"pill":return Mw;default:return Jp}},Xa=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),n_=r=>{const e=Xa("color",Object.entries(r_(r))),t=Xa("shape",Object.entries(ts(r)));return[e,t].join("; ")},Uw=r=>{const e=Xa("color",Object.entries(t_(r))),t=Xa("shape",Object.entries(ts(r)));return[e,t].join("; ")},Vw=r=>{const e=Xa("color",Object.entries(Rw(r))),t=Xa("shape",Object.entries(ts(r)));return[e,t].join("; ")},Ww=(r="",e,t)=>Object.entries(e).flatMap(([n,{desktop:a,mobile:i}])=>{const s=`normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Vo}`,l=`normal normal ${i.fontWeight} ${i.fontSize}/${i.lineHeight} ${Vo}`,c=`normal normal ${t==null?void 0:t.desktop.font_weight} ${t==null?void 0:t.desktop.font_size} ${$p}`,u=`normal normal ${t==null?void 0:t.mobile.font_weight} ${t==null?void 0:t.mobile.font_size} ${$p}`;return[`--rc-${r}-${n}-desktop: ${s}`,`--rc-${r}-${n}-mobile: ${l}`,`--rc-${r}-${n}-branded-desktop: ${t?c:s}`,`--rc-${r}-${n}-branded-mobile: ${t?u:l}`,`--rc-${r}-${n}-desktop-font-size: ${a.fontSize}`,`--rc-${r}-${n}-mobile-font-size: ${i.fontSize}`]}).join("; "),Hw=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" "),Yw={outerPaddingTop:{mobile:"0.25rem",desktop:"clamp(1rem, 8.44vw, 7.5rem)"},outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(3rem, 6.44vw, 4.5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.5rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"1rem"},gapXLarge:{mobile:"1rem",desktop:"2rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"}};class Wn{constructor(e){ee(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return ts(this.brandingAppearance)}get formColors(){return t_(this.brandingAppearance)}get formStyleVars(){return Uw(this.brandingAppearance)}get productInfoStyleVars(){return n_(this.brandingAppearance)}get pageStyleVars(){return Vw(this.brandingAppearance)}get spacing(){return Yw}get textStyles(){return $l}getTextStyleVars(e){return Ww("text",this.textStyles,e)}get spacingStyleVars(){return Hw("spacing",this.spacing)}}var tc=(r=>(r[r.ErrorLoadingStripe=0]="ErrorLoadingStripe",r[r.HandledFormError=1]="HandledFormError",r[r.UnhandledFormError=2]="UnhandledFormError",r))(tc||{});class Wo{constructor(e,t,n){this.code=e,this.gatewayErrorCode=t,this.message=n}}const Mt=class Mt{static getStripeLocale(e){if(["ca","hi","uk"].includes(e))return"auto";const n={zh_Hans:"zh","zh-Hans":"zh",zh_Hant:"zh-TW","zh-Hant":"zh-TW"};return Object.keys(n).includes(e)?n[e]:e}static async getStripeClient(e,t){const n=await Xp(t,{stripeAccount:e}).catch(a=>{throw this.mapInitializationError(a)});if(!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe client not found"};return{stripe:n}}static async initializeStripe(e,t,n,a,i,s,l){if(!t||!e||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:c}=await this.getStripeClient(e,t),u=new Wn(a==null?void 0:a.appearance),d=u.shape,p=u.formColors,g=u.textStyles,_=$l.bodyBase[l].fontSize||$l.bodyBase.mobile.fontSize;let f;try{f=c.elements({mode:n.mode,paymentMethodTypes:n.payment_method_types,setupFutureUsage:n.setup_future_usage,amount:n.amount,currency:n.currency,loader:"always",locale:i,appearance:{theme:"stripe",labels:"floating",variables:{borderRadius:d["input-border-radius"],focusBoxShadow:"none",colorDanger:p.error,colorTextPlaceholder:p["grey-text-light"],colorText:p["grey-text-dark"],colorTextSecondary:p["grey-text-light"],fontSizeBase:_,...s},rules:{".Input":{boxShadow:"none",paddingTop:"6px",paddingBottom:"6px",fontSize:_,border:`1px solid ${p["grey-ui-dark"]}`,backgroundColor:p["input-background"],color:p["grey-text-dark"]},".Input:focus":{border:`1px solid ${p.focus}`,outline:"none"},".Label":{fontWeight:g.labelDefault[l].fontWeight,lineHeight:"22px",color:p["grey-text-dark"]},".Label--floating":{opacity:"1"},".Input--invalid":{boxShadow:"none"}}}})}catch(v){throw this.mapInitializationError(v)}return{stripe:c,elements:f}}static async initializeStripeCheckout(e,t,n,a){if(!e||!t||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:i}=await this.getStripeClient(e,t);let s;try{s=await i.createEmbeddedCheckoutPage({fetchClientSecret:()=>Promise.resolve(n.client_secret),onComplete:a})}catch(l){throw this.mapInitializationError(l)}return{stripe:i,embeddedCheckout:s}}static updateElementsConfiguration(e,t){e.update({mode:t.mode,paymentMethodTypes:t.payment_method_types,setupFutureUsage:t.setup_future_usage,amount:t.amount,currency:t.currency})}static isStripeHandledFormError(e){const t=e.type==="validation_error",n=e.type==="card_error"&&e.code&&this.FORM_VALIDATED_CARD_ERROR_CODES.includes(e.code);return t||n}static createPaymentElement(e,t){return e.create("payment",{business:t?{name:t}:void 0,layout:{type:"tabs"},terms:{applePay:"never",auBecsDebit:"never",bancontact:"never",card:"never",cashapp:"never",googlePay:"never",ideal:"never",paypal:"never",sepaDebit:"never",sofort:"never",usBankAccount:"never"}})}static countryRequiresFullAddressForTaxes(e){return!!e&&Mt.FULL_ADDRESS_REQUIRED_TAX_COUNTRY_CODES.includes(e)}static createAddressElement(e,t){return e.create("address",{mode:"billing",display:{name:"full"},...t?{defaultValues:{address:{country:t}}}:{}})}static createExpressCheckoutElement(e,t,n){const a={billingAddressRequired:!0,emailRequired:!0,...t?{paymentMethods:{applePay:"always",googlePay:"always"}}:{},...n||{}};return e.create("expressCheckout",a)}static createLinkAuthenticationElement(e,t){return e.create("linkAuthentication",{defaultValues:{email:t??""}})}static async submitElements(e){const{error:t}=await e.submit();if(t)throw this.mapError(t)}static mapInitializationError(e){return new Wo(0,e.code,e.message)}static mapError(e){return this.isStripeHandledFormError(e)?new Wo(1,e.code,e.message):new Wo(2,e.code,e.message)}static async confirmElements(e,t,n,a){const i={clientSecret:n,redirect:"if_required"},s=a?{...i,confirmParams:{confirmation_token:a}}:{...i,elements:t},l=n.startsWith("seti_");let c;if(l?c=await e.confirmSetup(s):c=await e.confirmPayment(s),c!=null&&c.error)throw this.mapError(c.error)}static async extractTaxCustomerDetails(e,t){var s,l;const{error:n,confirmationToken:a}=await t.createConfirmationToken({elements:e});if(n)throw this.mapError(n);const i=(l=(s=a.payment_method_preview)==null?void 0:s.billing_details)==null?void 0:l.address;return{customerDetails:{countryCode:(i==null?void 0:i.country)??void 0,postalCode:(i==null?void 0:i.postal_code)??void 0,state:(i==null?void 0:i.state)??void 0,city:(i==null?void 0:i.city)??void 0,addressLine1:(i==null?void 0:i.line1)??void 0,addressLine2:(i==null?void 0:i.line2)??void 0},confirmationTokenId:a.id}}static nextDateForPeriod(e,t){return e.unit===Ne.Year?(t.setFullYear(t.getFullYear()+e.number),t):e.unit===Ne.Month?(t.setMonth(t.getMonth()+e.number),t):e.unit===Ne.Week?(t.setDate(t.getDate()+e.number*7),t):(e.unit===Ne.Day&&t.setDate(t.getDate()+e.number),t)}static applePayPeriod(e){return e.unit===Ne.Week?{recurringPaymentIntervalUnit:"day",recurringPaymentIntervalCount:e.number*7}:{recurringPaymentIntervalUnit:e.unit,recurringPaymentIntervalCount:e.number}}static microsToMinimumAmountPrice(e,t){return["BIF","CLP","DJF","GNF","JPY","KMF","KRW","MGA","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"].includes(t)?Math.floor(e/1e6):Math.floor(e/1e4)}static toExpressCheckoutLineItems(e,t,n){const{currency:a}=t,i=Mt.microsToMinimumAmountPrice(t.totalAmountInMicros,a),s=Mt.microsToMinimumAmountPrice(n.discountAmountInMicros,a);return[{name:e,amount:i+s},{name:n.label,amount:-s}]}static buildStripeExpressCheckoutOptionsForSubscription(e,t,n,a,i,s,l,c,u){var y;const d={maxRows:l,maxColumns:c,overflow:u},p=s&&s.discountAmountInMicros>0?Mt.toExpressCheckoutLineItems(e.title,t,s):void 0,g=Mt.microsToMinimumAmountPrice(t.totalAmountInMicros,t.currency),_=n.trial,f=(y=n.trial)==null?void 0:y.period,v=n.base.period,w=_&&f?Mt.nextDateForPeriod(f,new Date):void 0,h=v?Mt.applePayPeriod(v):{};return{layout:d,...p?{lineItems:p}:{},applePay:{recurringPaymentRequest:{paymentDescription:e.title,managementURL:i,..._?{trialBilling:{label:a.translate(ce.ApplePayFreeTrial),amount:0}}:{},regularBilling:{label:e.title,amount:g,recurringPaymentStartDate:w,...h}}}}}static buildStripeExpressCheckoutOptionsForNonSubscription(e,t,n,a,i,s){const l={maxRows:a,maxColumns:i,overflow:s},c=n&&n.discountAmountInMicros>0?Mt.toExpressCheckoutLineItems(e.title,t,n):void 0;return{layout:l,...c?{lineItems:c}:{}}}};ee(Mt,"FORM_VALIDATED_CARD_ERROR_CODES",["card_declined","expired_card","incorrect_cvc","incorrect_number"]),ee(Mt,"FULL_ADDRESS_REQUIRED_TAX_COUNTRY_CODES",["CA","PR","IN"]);let nr=Mt;var Gw=W("<div></div>");function Kw(r,e){me(e,!0);let t=null;const n="payment-element",a=async s=>{await e.onError(nr.mapInitializationError(s.error))};Pr(()=>{var s;try{t=nr.createPaymentElement(e.elements,(s=e.brandingInfo)==null?void 0:s.app_name),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(l){e.onError(nr.mapInitializationError(l))}}),Ot(()=>{t==null||t.destroy(),t=null});var i=Gw();be(i,"id",n),P(r,i),he()}var Xw=W("<div></div>");function Zw(r,e){me(e,!0);let t=null;const n="link-authentication-element",a=async s=>{await e.onError(nr.mapInitializationError(s.error))};Pr(()=>{try{t=nr.createLinkAuthenticationElement(e.elements,e.email),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(s){e.onError(nr.mapInitializationError(s))}}),Ot(()=>{t==null||t.destroy(),t=null});var i=Xw();be(i,"id",n),P(r,i),he()}var Jw=W('<div class="text-separator svelte-3efq78"><hr class="line svelte-3efq78"/> <span class="text svelte-3efq78"><!></span> <hr class="line svelte-3efq78"/></div>');const Qw={hash:"svelte-3efq78",code:`.text-separator.svelte-3efq78 {display:flex;align-items:center;justify-content:center;gap:var(--rc-spacing-gapSmall-mobile);}
264
271
 
265
272
  @container layout-query-container (width >= 768px) {.text-separator.svelte-3efq78 {gap:var(--rc-spacing-gapSmall-desktop);}
266
- }.line.svelte-3efq78 {flex:1;height:1px;background-color:var(--rc-color-grey-ui-dark);border:none;}.text.svelte-3efq78 {color:var(--rc-color-grey-text-light);text-transform:uppercase;white-space:nowrap;}`};function Tw(r,e){Pe(r,Cw);let t=J(e,"text",8);var n=Iw(),a=Y(D(n),2),i=D(a);ze(i,{size:"caption-default",children:(s,l)=>{var c=Oe();X(()=>be(c,t())),P(s,c)},$$slots:{default:!0}}),P(r,n)}var Dw=W("<div></div> <!>",1);function t_(r,e){fe(e,!0);const t=()=>ge(s,"$translator",n),[n,a]=He(),i=J(e,"hideCheckoutSeparator",3,!1),s=Xe(vr);let l=null,c=te(!1);const u=`express-checkout-element-${Un()}`,d=async()=>{e.onCancel&&e.onCancel()},p=async b=>{const{business:k,...w}=e.expressCheckoutOptions??{};e.onClick&&e.onClick(b),b.resolve(w)},g=async b=>{await e.onError(tr.mapInitializationError(b.error))},_=async b=>{var k;return e.onSubmit(b.expressPaymentType,((k=b.billingDetails)==null?void 0:k.email)??"",b)},f=async b=>{z(c,!b.availablePaymentMethods),e.onReady&&e.onReady(b)};Er(()=>{try{l=tr.createExpressCheckoutElement(e.elements,e.forceEnableWalletMethods,e.expressCheckoutOptions),l.mount(`#${u}`),l.on("ready",f),l.on("confirm",_),l.on("loaderror",g),l.on("click",p),l.on("cancel",d)}catch(b){e.onError(tr.mapInitializationError(b))}}),jt(()=>{l==null||l.destroy(),l=null});var v=Se(),y=se(v);{var h=b=>{var k=Dw(),w=se(k),E=Y(w,2);{var S=I=>{{let F=m(()=>t().translate(de.PaymentEntryPageExpressCheckoutDivider));Tw(I,{get text(){return o(F)}})}};G(E,I=>{i()||I(S)})}X(()=>we(w,"id",u)),P(b,k)};G(y,b=>{o(c)||b(h)})}P(r,v),me(),a()}var Aw=W("<div></div>");function Fw(r,e){fe(e,!0);let t=null;const n="address-element";let a=null,i=null;const s=async d=>{await e.onError(tr.mapInitializationError(d.error))},l=async d=>{const{complete:p}=d,g=d.value.address,_=p!==a,f=!c(i,g);!_&&!f||(a=p,i=g,await e.onChange(p,g))},c=(d,p)=>(d==null?void 0:d.country)===p.country&&(d==null?void 0:d.postal_code)===p.postal_code&&(d==null?void 0:d.state)===p.state&&(d==null?void 0:d.city)===p.city&&(d==null?void 0:d.line1)===p.line1&&(d==null?void 0:d.line2)===p.line2;Er(()=>{try{t=tr.createAddressElement(e.elements,e.defaultCountryCode),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",l),t.on("loaderror",s)}catch(d){e.onError(tr.mapInitializationError(d))}}),jt(()=>{t==null||t.destroy(),t=null});var u=Aw();we(u,"id",n),P(r,u),me()}var Mw=W('<div class="rc-elements svelte-kvz7kd"><!> <!> <!> <!></div>');const zw={hash:"svelte-kvz7kd",code:`.rc-elements.svelte-kvz7kd {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
273
+ }.line.svelte-3efq78 {flex:1;height:1px;background-color:var(--rc-color-grey-ui-dark);border:none;}.text.svelte-3efq78 {color:var(--rc-color-grey-text-light);text-transform:uppercase;white-space:nowrap;}`};function $w(r,e){Pe(r,Qw);let t=J(e,"text",8);var n=Jw(),a=Y(A(n),2),i=A(a);ze(i,{size:"caption-default",children:(s,l)=>{var c=Re();X(()=>ke(c,t())),P(s,c)},$$slots:{default:!0}}),P(r,n)}var eP=W("<div></div> <!>",1);function a_(r,e){me(e,!0);const t=()=>ge(s,"$translator",n),[n,a]=Ve(),i=J(e,"hideCheckoutSeparator",3,!1),s=Ze(yr);let l=null,c=re(!1);const u=`express-checkout-element-${Vn()}`,d=async()=>{e.onCancel&&e.onCancel()},p=async y=>{const{business:k,...b}=e.expressCheckoutOptions??{};e.onClick&&e.onClick(y),y.resolve(b)},g=async y=>{await e.onError(nr.mapInitializationError(y.error))},_=async y=>{var k;return e.onSubmit(y.expressPaymentType,((k=y.billingDetails)==null?void 0:k.email)??"",y)},f=async y=>{z(c,!y.availablePaymentMethods),e.onReady&&e.onReady(y)};Pr(()=>{try{l=nr.createExpressCheckoutElement(e.elements,e.forceEnableWalletMethods,e.expressCheckoutOptions),l.mount(`#${u}`),l.on("ready",f),l.on("confirm",_),l.on("loaderror",g),l.on("click",p),l.on("cancel",d)}catch(y){e.onError(nr.mapInitializationError(y))}}),Ot(()=>{l==null||l.destroy(),l=null});var v=Ie(),w=ie(v);{var h=y=>{var k=eP(),b=ie(k),E=Y(b,2);{var S=I=>{{let q=m(()=>t().translate(ce.PaymentEntryPageExpressCheckoutDivider));$w(I,{get text(){return o(q)}})}};G(E,I=>{i()||I(S)})}X(()=>be(b,"id",u)),P(y,k)};G(w,y=>{o(c)||y(h)})}P(r,v),he(),a()}var rP=W("<div></div>");function tP(r,e){me(e,!0);let t=null;const n="address-element";let a=null,i=null;const s=async d=>{await e.onError(nr.mapInitializationError(d.error))},l=async d=>{const{complete:p}=d,g=d.value.address,_=p!==a,f=!c(i,g);!_&&!f||(a=p,i=g,await e.onChange(p,g))},c=(d,p)=>(d==null?void 0:d.country)===p.country&&(d==null?void 0:d.postal_code)===p.postal_code&&(d==null?void 0:d.state)===p.state&&(d==null?void 0:d.city)===p.city&&(d==null?void 0:d.line1)===p.line1&&(d==null?void 0:d.line2)===p.line2;Pr(()=>{try{t=nr.createAddressElement(e.elements,e.defaultCountryCode),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",l),t.on("loaderror",s)}catch(d){e.onError(nr.mapInitializationError(d))}}),Ot(()=>{t==null||t.destroy(),t=null});var u=rP();be(u,"id",n),P(r,u),he()}var nP=W('<div class="rc-elements svelte-kvz7kd"><!> <!> <!> <!></div>');const aP={hash:"svelte-kvz7kd",code:`.rc-elements.svelte-kvz7kd {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
267
274
 
268
275
  @container layout-query-container (width >= 768px) {.rc-elements.svelte-kvz7kd {gap:var(--rc-spacing-gapLarge-desktop);}
269
- }`};function qw(r,e){fe(e,!0),Pe(r,zw);const t=()=>ge(l,"$translator",n),[n,a]=He();let i=J(e,"stripe",15,null),s=J(e,"elements",15,null);const l=Xe(vr),c=tr.getStripeLocale(t().bcp47Locale||t().fallbackBcp47Locale);let u=te(void 0),d=te(ar(Co(e.brandingInfo)));gr(()=>{Co(e.brandingInfo,tr.countryRequiresFullAddressForTaxes(o(u)))&&z(d,!0)});let p=te(!1),g=te(ar(e.skipEmail)),_=te(!1),f=te(!Co(e.brandingInfo)),v=te(void 0),y=te("mobile"),h=te(void 0);function b(){window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?z(y,"mobile"):z(y,"desktop"),z(v,{fontSizeBase:"14px",fontFamily:Uo,spacingGridRow:"16px"},!0)}function k(){clearTimeout(o(h)),z(h,setTimeout(()=>{b()},150),!0)}const w=C=>{e.onError(C),e.onLoadingComplete()},E=()=>{o(g)&&o(p)&&o(_)&&o(f)&&e.onLoadingComplete()},S=async()=>{o(g)||(z(g,!0),E())},I=async()=>{o(_)||(z(_,!0),E())},F=async()=>{o(p)||(z(p,!0),E())},x=async()=>{o(f)||(z(f,!0),E())},q=async(C,A)=>{e.onAddressInfoChange(C,A)},T=async C=>{var M,U;const A=(U=(M=C.value.billingDetails)==null?void 0:M.address)==null?void 0:U.country;A&&z(u,A,!0),e.onPaymentInfoChange({complete:C.complete,paymentMethod:C.complete?C.value.type:void 0,countryCode:o(u)})},N=async C=>{e.onEmailChange(C.complete,C.value.email)};Er(()=>(window.addEventListener("resize",k),()=>{window.removeEventListener("resize",k)})),Er(async()=>{b(),!i()&&(s()||!e.stripeAccountId||!e.publishableApiKey||!e.elementsConfiguration||await tr.initializeStripe(e.stripeAccountId,e.publishableApiKey,e.elementsConfiguration,e.brandingInfo,c,o(v),o(y)).then(({stripe:C,elements:A})=>{i(C),s(A)}).catch(C=>{e.onError(C)}))}),gr(()=>{e.elementsConfiguration&&s()&&tr.updateElementsConfiguration(s(),e.elementsConfiguration)});var L=Se(),O=se(L);{var j=C=>{var A=Mw(),M=D(A);t_(M,{get elements(){return s()},onError:w,onReady:I,get onSubmit(){return e.onExpressCheckoutElementSubmit},get expressCheckoutOptions(){return e.expressCheckoutOptions},get forceEnableWalletMethods(){return e.forceEnableWalletMethods}});var U=Y(M,2);{var V=_e=>{Sw(_e,{get elements(){return s()},onReady:S,onChange:N,onError:w})};G(U,_e=>{e.skipEmail||_e(V)})}var R=Y(U,2);xw(R,{get elements(){return s()},get brandingInfo(){return e.brandingInfo},onReady:F,onChange:T,onError:w});var $=Y(R,2);{var le=_e=>{Fw(_e,{get elements(){return s()},get defaultCountryCode(){return o(u)},onReady:x,onChange:q,onError:w})};G($,_e=>{o(d)&&_e(le)})}P(C,A)};G(O,C=>{s()&&C(j)})}P(r,L),me(),a()}const jw=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
276
+ }`};function oP(r,e){me(e,!0),Pe(r,aP);const t=()=>ge(l,"$translator",n),[n,a]=Ve();let i=J(e,"stripe",15,null),s=J(e,"elements",15,null);const l=Ze(yr),c=nr.getStripeLocale(t().bcp47Locale||t().fallbackBcp47Locale);let u=re(void 0),d=re(ar(To(e.brandingInfo)));pr(()=>{To(e.brandingInfo,nr.countryRequiresFullAddressForTaxes(o(u)))&&z(d,!0)});let p=re(!1),g=re(ar(e.skipEmail)),_=re(!1),f=re(!To(e.brandingInfo)),v=re(void 0),w=re("mobile"),h=re(void 0);function y(){window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?z(w,"mobile"):z(w,"desktop"),z(v,{fontSizeBase:"14px",fontFamily:Vo,spacingGridRow:"16px"},!0)}function k(){clearTimeout(o(h)),z(h,setTimeout(()=>{y()},150),!0)}const b=C=>{e.onError(C),e.onLoadingComplete()},E=()=>{o(g)&&o(p)&&o(_)&&o(f)&&e.onLoadingComplete()},S=async()=>{o(g)||(z(g,!0),E())},I=async()=>{o(_)||(z(_,!0),E())},q=async()=>{o(p)||(z(p,!0),E())},x=async()=>{o(f)||(z(f,!0),E())},F=async(C,D)=>{e.onAddressInfoChange(C,D)},T=async C=>{var M,U;const D=(U=(M=C.value.billingDetails)==null?void 0:M.address)==null?void 0:U.country;D&&z(u,D,!0),e.onPaymentInfoChange({complete:C.complete,paymentMethod:C.complete?C.value.type:void 0,countryCode:o(u)})},j=async C=>{e.onEmailChange(C.complete,C.value.email)};Pr(()=>(window.addEventListener("resize",k),()=>{window.removeEventListener("resize",k)})),Pr(async()=>{y(),!i()&&(s()||!e.stripeAccountId||!e.publishableApiKey||!e.elementsConfiguration||await nr.initializeStripe(e.stripeAccountId,e.publishableApiKey,e.elementsConfiguration,e.brandingInfo,c,o(v),o(w)).then(({stripe:C,elements:D})=>{i(C),s(D)}).catch(C=>{e.onError(C)}))}),pr(()=>{e.elementsConfiguration&&s()&&nr.updateElementsConfiguration(s(),e.elementsConfiguration)});var O=Ie(),N=ie(O);{var L=C=>{var D=nP(),M=A(D);a_(M,{get elements(){return s()},onError:b,onReady:I,get onSubmit(){return e.onExpressCheckoutElementSubmit},get expressCheckoutOptions(){return e.expressCheckoutOptions},get forceEnableWalletMethods(){return e.forceEnableWalletMethods}});var U=Y(M,2);{var V=pe=>{Zw(pe,{get elements(){return s()},onReady:S,onChange:j,onError:b})};G(U,pe=>{e.skipEmail||pe(V)})}var R=Y(U,2);Kw(R,{get elements(){return s()},get brandingInfo(){return e.brandingInfo},onReady:q,onChange:T,onError:b});var $=Y(R,2);{var ue=pe=>{tP(pe,{get elements(){return s()},get defaultCountryCode(){return o(u)},onReady:x,onChange:F,onError:b})};G($,pe=>{o(d)&&pe(ue)})}P(C,D)};G(N,C=>{s()&&C(L)})}P(r,O),he(),a()}const iP=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
270
277
  <path fill-rule="evenodd" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 6.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5zm1.25 4.5a1.25 1.25 0 10-2.5 0v4.5a1.25 1.25 0 102.5 0v-4.5z" clip-rule="evenodd" />
271
- </svg> `;var Lw=W('<div class="rcb-ui-asset-icon svelte-a15aei"><!></div>');const Ow={hash:"svelte-a15aei",code:".rcb-ui-asset-icon.svelte-a15aei {display:inline-block;width:1em;height:1em;}"};function n_(r){Pe(r,Ow);var e=Lw(),t=D(e);fn(t,()=>jw),P(r,e)}var Nw=W('<div class="rcb-info svelte-jea5iu"><div class="rcb-info-icon-wrapper svelte-jea5iu"><!></div> <div class="rcb-info-content svelte-jea5iu"><div class="rcb-info-title svelte-jea5iu"><!></div> <div class="rcb-info-message svelte-jea5iu"><!></div></div></div>');const Bw={hash:"svelte-jea5iu",code:`.rcb-info.svelte-jea5iu {display:flex;align-items:flex-start;background-color:var(--rc-color-grey-ui-light);border-radius:var(--rc-shape-input-border-radius);gap:var(--rc-spacing-gapLarge-mobile);padding:var(--rc-spacing-gapLarge-mobile);}.rcb-info-content.svelte-jea5iu {flex:1;}.rcb-info-icon-wrapper.svelte-jea5iu {flex-shrink:0;color:var(--rc-color-accent-primary);}.rcb-info-title.svelte-jea5iu {color:var(--rc-color-grey-text-dark);margin-bottom:var(--rc-spacing-gapSmall-mobile);display:flex;}.rcb-info-message.svelte-jea5iu {color:var(--rc-color-grey-text-light);}
278
+ </svg> `;var sP=W('<div class="rcb-ui-asset-icon svelte-a15aei"><!></div>');const lP={hash:"svelte-a15aei",code:".rcb-ui-asset-icon.svelte-a15aei {display:inline-block;width:1em;height:1em;}"};function o_(r){Pe(r,lP);var e=sP(),t=A(e);fn(t,()=>iP),P(r,e)}var cP=W('<div class="rcb-info svelte-jea5iu"><div class="rcb-info-icon-wrapper svelte-jea5iu"><!></div> <div class="rcb-info-content svelte-jea5iu"><div class="rcb-info-title svelte-jea5iu"><!></div> <div class="rcb-info-message svelte-jea5iu"><!></div></div></div>');const uP={hash:"svelte-jea5iu",code:`.rcb-info.svelte-jea5iu {display:flex;align-items:flex-start;background-color:var(--rc-color-grey-ui-light);border-radius:var(--rc-shape-input-border-radius);gap:var(--rc-spacing-gapLarge-mobile);padding:var(--rc-spacing-gapLarge-mobile);}.rcb-info-content.svelte-jea5iu {flex:1;}.rcb-info-icon-wrapper.svelte-jea5iu {flex-shrink:0;color:var(--rc-color-accent-primary);}.rcb-info-title.svelte-jea5iu {color:var(--rc-color-grey-text-dark);margin-bottom:var(--rc-spacing-gapSmall-mobile);display:flex;}.rcb-info-message.svelte-jea5iu {color:var(--rc-color-grey-text-light);}
272
279
 
273
280
  @container layout-query-container (width >= 768px) {.rcb-info.svelte-jea5iu {gap:var(--rc-spacing-gapLarge-desktop);padding:var(--rc-spacing-gapLarge-desktop);}.rcb-info-title.svelte-jea5iu {margin-bottom:var(--rc-spacing-gapSmall-desktop);}
274
- }`};function Rw(r,e){Pe(r,Bw);var t=Nw(),n=D(t),a=D(n);n_(a);var i=Y(n,2),s=D(i),l=D(s);ze(l,{size:"body-small",children:(d,p)=>{var g=Oe();X(()=>be(g,e.title)),P(d,g)},$$slots:{default:!0}});var c=Y(s,2),u=D(c);ze(u,{size:"body-small",children:(d,p)=>{var g=Oe();X(()=>be(g,e.message)),P(d,g)},$$slots:{default:!0}}),P(r,t)}function Uw(r,e){fe(e,!0);const t=()=>ge(i,"$translator",n),[n,a]=He(),i=Xe(vr);{let s=m(()=>t().translate(de.PriceUpdateTitle)),l=m(()=>{var c;return t().translate((c=e.subscriptionOption)!=null&&c.trial?de.PriceUpdateTrialMessage:de.PriceUpdateBaseMessage)});Rw(r,{get title(){return o(s)},get message(){return o(l)}})}me(),a()}function Wo(r,e){var n,a,i;if(r.productType==="subscription"){const s=e,l=((n=s.discount)==null?void 0:n.price)??((a=s.introPrice)==null?void 0:a.price)??s.base.price;if(l)return l}else{const s=e;return((i=s.discount)==null?void 0:i.price)??s.basePrice}return r.price}function Vw(r,e){if(!r||!e)return!1;const t=No(r),n=No(e);return t>0&&n>t}function $i(r){return`${r}% off`}function rc(r,e,t,n){if(!Vw(t,e))return $i(r);const a=n.translatePeriod(e.number,e.unit);return`${r}% off for ${a}`}function Ww(r){return r.durationMode==="time_window"&&r.timeWindow?So(r.timeWindow):r.durationMode==="time_window"&&r.period&&r.cycleCount>0?{number:r.period.number*r.cycleCount,unit:r.period.unit}:null}function a_(r,e,t){return r.percentage==null?null:r.durationMode==="time_window"?rc(r.percentage,Ww(r),e,t):$i(r.percentage)}function Hw({appliedDiscount:r,purchaseOptionDiscount:e,basePeriod:t,translator:n}){const a=r.percentage;if(a==null)return null;if(r.durationMode==="time_window"&&r.timeWindow)return rc(a,So(r.timeWindow),t,n);if(!e||e.durationMode!=="time_window")return $i(a);const i=e.period;return!i||e.cycleCount<=0?$i(a):rc(a,{number:i.number*e.cycleCount,unit:i.unit},t,n)}function o_(r,e,t){const n=(r==null?void 0:r.trim())||t;return e?`${n} (${e})`:n}function Yw(r,e,t,n,a){const i=a_(e,t,n);return o_(r,i,a)}function Gw({priceBreakdown:r,purchaseOptionDiscount:e,fullPriceMicros:t,basePeriod:n,translator:a,fallbackDiscountName:i}){var p,g;const s=(p=r.appliedDiscounts)==null?void 0:p[0];if(s&&s.discountedAmountInMicros>0){const _=Hw({appliedDiscount:s,purchaseOptionDiscount:e,basePeriod:n,translator:a}),f=s.displayName;return{discountAmountInMicros:s.discountedAmountInMicros,displayName:(f==null?void 0:f.trim())||i,suffix:_,label:o_(f,_,i)}}if(!e)return null;const l=(g=e.price)==null?void 0:g.amountMicros;if(l==null)return null;const c=t-l;if(c<=0)return null;const u=a_(e,n,a),d=e.name;return{discountAmountInMicros:c,displayName:(d==null?void 0:d.trim())||i,suffix:u,label:Yw(d,e,n,a,i)}}function tc({priceBreakdown:r,productDetails:e,purchaseOption:t,translator:n}){var d;const a=e.productType===Xr.Subscription,i=a?t:null,s=a?null:t,l=(i==null?void 0:i.discount)??(s==null?void 0:s.discount)??null,c=a?((d=i==null?void 0:i.base.price)==null?void 0:d.amountMicros)??e.price.amountMicros:(s==null?void 0:s.basePrice.amountMicros)??e.price.amountMicros,u=a?i==null?void 0:i.base.period:null;return Gw({priceBreakdown:r,purchaseOptionDiscount:l,fullPriceMicros:c,basePeriod:u,translator:n,fallbackDiscountName:n.translate(de.PricingTableDiscount)})}class i_ extends Error{}const Kw=500;var Xw=W('<div class="rc-loading svelte-zfhfge"><!></div>'),Zw=W('<div class="rc-checkout-container svelte-zfhfge"><!> <!> <form data-testid="payment-form" class="rc-checkout-form svelte-zfhfge"><div><div class="rc-elements-container svelte-zfhfge"><!></div> <div><!></div> <div><!> <div class="rc-checkout-secure-container svelte-zfhfge"><!></div></div></div></form></div>');const Jw={hash:"svelte-zfhfge",code:`.rc-checkout-secure-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-container.svelte-zfhfge {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);user-select:none;position:relative;}.rc-checkout-price-update-info-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.fully-hidden.svelte-zfhfge {display:none;height:0;}.rc-checkout-pay-container.svelte-zfhfge {display:flex;flex-direction:column;margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-pay-container.fully-hidden.svelte-zfhfge {display:none;}.rc-checkout-form-container.svelte-zfhfge {width:100%;}.rc-elements-container.svelte-zfhfge {
281
+ }`};function dP(r,e){Pe(r,uP);var t=cP(),n=A(t),a=A(n);o_(a);var i=Y(n,2),s=A(i),l=A(s);ze(l,{size:"body-small",children:(d,p)=>{var g=Re();X(()=>ke(g,e.title)),P(d,g)},$$slots:{default:!0}});var c=Y(s,2),u=A(c);ze(u,{size:"body-small",children:(d,p)=>{var g=Re();X(()=>ke(g,e.message)),P(d,g)},$$slots:{default:!0}}),P(r,t)}function pP(r,e){me(e,!0);const t=()=>ge(i,"$translator",n),[n,a]=Ve(),i=Ze(yr);{let s=m(()=>t().translate(ce.PriceUpdateTitle)),l=m(()=>{var c;return t().translate((c=e.subscriptionOption)!=null&&c.trial?ce.PriceUpdateTrialMessage:ce.PriceUpdateBaseMessage)});dP(r,{get title(){return o(s)},get message(){return o(l)}})}he(),a()}function Ho(r,e){var n,a,i;if(r.productType==="subscription"){const s=e,l=((n=s.discount)==null?void 0:n.price)??((a=s.introPrice)==null?void 0:a.price)??s.base.price;if(l)return l}else{const s=e;return((i=s.discount)==null?void 0:i.price)??s.basePrice}return r.price}function _P(r,e){if(!r||!e)return!1;const t=Bo(r),n=Bo(e);return t>0&&n>t}function ns(r){return`${r}% off`}function nc(r,e,t,n){if(!_P(t,e))return ns(r);const a=n.translatePeriod(e.number,e.unit);return`${r}% off for ${a}`}function gP(r){return r.durationMode==="time_window"&&r.timeWindow?Io(r.timeWindow):r.durationMode==="time_window"&&r.period&&r.cycleCount>0?{number:r.period.number*r.cycleCount,unit:r.period.unit}:null}function i_(r,e,t){return r.percentage==null?null:r.durationMode==="time_window"?nc(r.percentage,gP(r),e,t):ns(r.percentage)}function fP({appliedDiscount:r,purchaseOptionDiscount:e,basePeriod:t,translator:n}){const a=r.percentage;if(a==null)return null;if(r.durationMode==="time_window"&&r.timeWindow)return nc(a,Io(r.timeWindow),t,n);if(!e||e.durationMode!=="time_window")return ns(a);const i=e.period;return!i||e.cycleCount<=0?ns(a):nc(a,{number:i.number*e.cycleCount,unit:i.unit},t,n)}function s_(r,e,t){const n=(r==null?void 0:r.trim())||t;return e?`${n} (${e})`:n}function mP(r,e,t,n,a){const i=i_(e,t,n);return s_(r,i,a)}function hP({priceBreakdown:r,purchaseOptionDiscount:e,fullPriceMicros:t,basePeriod:n,translator:a,fallbackDiscountName:i}){var p,g;const s=(p=r.appliedDiscounts)==null?void 0:p[0];if(s&&s.discountedAmountInMicros>0){const _=fP({appliedDiscount:s,purchaseOptionDiscount:e,basePeriod:n,translator:a}),f=s.displayName;return{discountAmountInMicros:s.discountedAmountInMicros,displayName:(f==null?void 0:f.trim())||i,suffix:_,label:s_(f,_,i)}}if(!e)return null;const l=(g=e.price)==null?void 0:g.amountMicros;if(l==null)return null;const c=t-l;if(c<=0)return null;const u=i_(e,n,a),d=e.name;return{discountAmountInMicros:c,displayName:(d==null?void 0:d.trim())||i,suffix:u,label:mP(d,e,n,a,i)}}function ac({priceBreakdown:r,productDetails:e,purchaseOption:t,translator:n}){var d;const a=e.productType===Zr.Subscription,i=a?t:null,s=a?null:t,l=(i==null?void 0:i.discount)??(s==null?void 0:s.discount)??null,c=a?((d=i==null?void 0:i.base.price)==null?void 0:d.amountMicros)??e.price.amountMicros:(s==null?void 0:s.basePrice.amountMicros)??e.price.amountMicros,u=a?i==null?void 0:i.base.period:null;return hP({priceBreakdown:r,purchaseOptionDiscount:l,fullPriceMicros:c,basePeriod:u,translator:n,fallbackDiscountName:n.translate(ce.PricingTableDiscount)})}class l_ extends Error{}const vP=500;var yP=W('<div class="rc-loading svelte-zfhfge"><!></div>'),bP=W('<div class="rc-checkout-container svelte-zfhfge"><!> <!> <form data-testid="payment-form" class="rc-checkout-form svelte-zfhfge"><div><div class="rc-elements-container svelte-zfhfge"><!></div> <div><!></div> <div><!> <div class="rc-checkout-secure-container svelte-zfhfge"><!></div></div></div></form></div>');const kP={hash:"svelte-zfhfge",code:`.rc-checkout-secure-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-container.svelte-zfhfge {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);user-select:none;position:relative;}.rc-checkout-price-update-info-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.fully-hidden.svelte-zfhfge {display:none;height:0;}.rc-checkout-pay-container.svelte-zfhfge {display:flex;flex-direction:column;margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-pay-container.fully-hidden.svelte-zfhfge {display:none;}.rc-checkout-form-container.svelte-zfhfge {width:100%;}.rc-elements-container.svelte-zfhfge {
275
282
  /* The standard height of the payment form from Stripe */
276
283
  /* Added to avoid the card getting smaller while loading */min-height:210px;}.rc-checkout-form-container.invisible.svelte-zfhfge {visibility:hidden;}.rc-loading.svelte-zfhfge {width:100%;height:100%;display:flex;justify-content:center;align-items:center;}
277
284
 
@@ -279,7 +286,7 @@ but received
279
286
  }
280
287
 
281
288
  @container layout-query-container (width >= 768px) {.rc-checkout-secure-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-container.svelte-zfhfge {gap:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-pay-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-price-update-info-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-desktop);}
282
- }form.svelte-zfhfge {display:flex;flex-direction:column;flex-grow:1;}`};function Qw(r,e){var Ft,oo,_g,gg,fg,mg,hg,vg;fe(e,!0),Pe(r,Jw);const t=()=>ge(u,"$translator",n),[n,a]=He();let i=J(e,"onSessionPricingUpdated",3,void 0),s=J(e,"onProcessingStateChange",3,void 0),l=J(e,"lastTaxCustomerDetailsStore",19,()=>Sr(null));const c=Xe(Oo),u=Xe(vr),d=m(()=>"base"in e.purchaseOption?e.purchaseOption:null),p=m(()=>Wo(e.productDetails,e.purchaseOption));let g=te(ar(((Ft=e.defaultPriceBreakdown)==null?void 0:Ft.taxCalculationStatus)??((oo=e.brandingInfo)!=null&&oo.gateway_tax_collection_enabled?"unavailable":"disabled"))),_=te(ar(((_g=e.defaultPriceBreakdown)==null?void 0:_g.originalAmountInMicros)??o(p).amountMicros)),f=te(ar(((gg=e.defaultPriceBreakdown)==null?void 0:gg.taxAmountInMicros)??null)),v=te(ar(((fg=e.defaultPriceBreakdown)==null?void 0:fg.taxBreakdown)??null)),y=te(ar(((mg=e.defaultPriceBreakdown)==null?void 0:mg.totalExcludingTaxInMicros)??o(p).amountMicros)),h=te(ar(((hg=e.defaultPriceBreakdown)==null?void 0:hg.totalAmountInMicros)??o(p).amountMicros)),b=te(ar(((vg=e.defaultPriceBreakdown)==null?void 0:vg.appliedDiscounts)??[])),k=m(()=>({currency:o(p).currency,originalAmountInMicros:o(_),totalAmountInMicros:o(h),totalExcludingTaxInMicros:o(y),taxCalculationStatus:o(g),taxAmountInMicros:o(f),taxBreakdown:o(v),appliedDiscounts:o(b)})),w=te(ar(e.gatewayParams.elements_configuration)),E=te(null),S=te(null),I=te(ar(e.customerEmail??void 0)),F=te(ar(!!e.customerEmail)),x=te(!0),q=te(!1),T=te(void 0),N=te(!1),L=te(ar(Co(e.brandingInfo)));gr(()=>{Co(e.brandingInfo,tr.countryRequiresFullAddressForTaxes(o(T)))&&z(L,!0)});const O=m(()=>!o(L)||o(N));let j=te(void 0),C=te(void 0),A=te(void 0),M=te(!1),U=te(null),V=null,R=m(()=>o(x)||o(M)?"loading":o(C)?"error":"form"),$=te("unavailable"),le=null,_e=m(()=>!o(M)&&o(q)&&o(F)&&o(O)&&(o(g)==="disabled"||o(g)==="calculated"||o(g)==="miss-match")),ae=m(()=>tc({priceBreakdown:o(k),productDetails:e.productDetails,purchaseOption:e.purchaseOption,translator:t()})),Z=m(()=>o(k)&&(e.productDetails.productType===Xr.Subscription?o(d)&&e.managementUrl?tr.buildStripeExpressCheckoutOptionsForSubscription(e.productDetails,o(k),o(d),t(),e.managementUrl,o(ae)):void 0:e.productDetails.defaultNonSubscriptionOption?tr.buildStripeExpressCheckoutOptionsForNonSubscription(e.productDetails,o(k),o(ae)):void 0));gr(()=>{e.onPriceBreakdownUpdated(o(k))});function B(re){z(g,re.taxCalculationStatus,!0),z(_,re.originalAmountInMicros??o(p).amountMicros,!0),z(f,re.taxAmountInMicros,!0),z(v,re.taxBreakdown,!0),z(y,re.totalExcludingTaxInMicros,!0),z(h,re.totalAmountInMicros,!0),z(b,re.appliedDiscounts??[],!0)}gr(()=>{e.defaultPriceBreakdown||(z(_,o(p).amountMicros,!0),z(f,null),z(v,null),z(y,o(p).amountMicros,!0),z(h,o(p).amountMicros,!0),z(b,[],!0))}),gr(()=>{e.defaultPriceBreakdown&&B(e.defaultPriceBreakdown)}),gr(()=>{z(w,e.gatewayParams.elements_configuration,!0)}),gr(()=>{var re;(re=s())==null||re(o(M))}),Er(async()=>{o(g)==="unavailable"&&await K(null).catch(Ne)}),jt(()=>{V&&(clearTimeout(V),V=null),o(U)&&(o(U).abort(),z(U,null))});async function K(re,De){await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:re==null?void 0:re.countryCode,postalCode:re==null?void 0:re.postalCode,state:re==null?void 0:re.state,city:re==null?void 0:re.city,addressLine1:re==null?void 0:re.addressLine1,addressLine2:re==null?void 0:re.addressLine2,signal:De}).then(sr=>{const dr=Np({taxCalculation:sr,taxCustomerDetails:re});c.trackSDKEvent(dr),De==null||De.throwIfAborted();let wn;sr.failed_reason?!re&&sr.failed_reason===yn.invalid_tax_location?wn="pending":wn="disabled":wn="calculated",oe(sr,wn,re)})}function oe(re,De,sr){const dr=Qu(re,De);B(dr),i()?i()(re,dr):z(w,re.gateway_params.elements_configuration,!0),le=sr,H(sr)}function H(re){re!=null&&re.countryCode&&Qs(l(),re)}function pe(){c.trackSDKEvent({eventName:Zr.CheckoutPaymentFormImpression,properties:{mode:tt}}),z(x,!1)}function ue(re,De){z(I,De,!0),z(F,re,!0),Me()}function Ee({complete:re,paymentMethod:De,countryCode:sr}){z(j,De,!0),z(q,re,!0),z(T,sr,!0),Me()}function qe(re,De){z(N,re,!0),H({countryCode:De.country??void 0,postalCode:De.postal_code??void 0,state:De.state??void 0,city:De.city??void 0,addressLine1:De.line1??void 0,addressLine2:De.line2??void 0}),Me()}function Me(){Be()&&o(g)!=="loading"&&(z($,o(g),!0),z(g,"loading")),V&&clearTimeout(V),V=setTimeout(()=>{V=null,Ye()},Kw)}async function Te(re){if(re==null||re.preventDefault(),o(M))return;const De=Bp({selectedPaymentMethod:o(j)??null});c.trackSDKEvent(De),z(M,!0),await ie()?e.onContinue():z(M,!1)}async function Ie(re,De){z(j,re,!0),z(I,e.customerEmail??De,!0),await Te()}function Be(){return o(j)==="card"&&o(F)&&o(q)&&o(O)&&!o(M)&&o(g)!=="disabled"}async function Ye(){if(!Be()){o(g)==="loading"&&z(g,o($),!0);return}o(g)!=="loading"&&(z($,o(g),!0),z(g,"loading")),await ye(async re=>{await ne().then(()=>re.throwIfAborted()).then(()=>Ce(re)).then(()=>re.throwIfAborted()).catch(De=>{re.aborted||Ne(De)}).finally(()=>{o(g)==="loading"&&!re.aborted&&z(g,o($),!0)})})}async function ie(){return await ye(async re=>{const De=o(h);let sr;return await ne().then(()=>re.throwIfAborted()).then(()=>Ce(re)).then(dr=>{sr=dr}).then(()=>re.throwIfAborted()).then(Ke(De)).then(()=>re.throwIfAborted()).then(nr).then(()=>re.throwIfAborted()).then(()=>yr(sr)).then(()=>re.throwIfAborted()).then(()=>!0).catch(dr=>(re.aborted||Ne(dr),!1))})}async function ye(re){o(U)&&o(U).abort(),z(U,new AbortController,!0);const De=o(U).signal;try{return await re(De)}catch(sr){if(sr instanceof DOMException&&sr.name==="AbortError")return Promise.resolve(void 0);throw sr}}async function ne(){o(S)&&await tr.submitElements(o(S))}async function Ce(re){if(o(g)==="unavailable"||o(g)==="disabled"||!o(S)||!o(E))return;const{customerDetails:De,confirmationTokenId:sr}=await tr.extractTaxCustomerDetails(o(S),o(E));re==null||re.throwIfAborted();const dr=le;return De.postalCode===(dr==null?void 0:dr.postalCode)&&De.countryCode===(dr==null?void 0:dr.countryCode)&&De.state===(dr==null?void 0:dr.state)&&De.city===(dr==null?void 0:dr.city)&&De.addressLine1===(dr==null?void 0:dr.addressLine1)&&De.addressLine2===(dr==null?void 0:dr.addressLine2)||await K(De,re),sr&&o(j)!=="card"?sr:void 0}function Ke(re){return()=>{if(o(h)!==re)throw new i_}}async function nr(){var sr;const re=await e.purchaseOperationHelper.checkoutComplete(o(I),t().selectedLocale),De=(sr=re==null?void 0:re.gateway_params)==null?void 0:sr.client_secret;De&&z(A,De,!0)}async function yr(re){!o(E)||!o(S)||!o(A)||await tr.confirmElements(o(E),o(S),o(A),re)}async function Ne(re){if(re instanceof i_)z(g,"miss-match");else if(re instanceof ve){const De=jk({errorCode:re.errorCode.toString(),errorMessage:re.message});c.trackSDKEvent(De),re.errorCode===he.MissingEmailError?z(C,t().translate(de.ErrorPageErrorMessageInvalidEmailError,{email:o(I)}),!0):e.onError(re)}else if(re instanceof Vo)await ce(re);else throw re}async function ce(re){const De=Kl({errorCode:re.gatewayErrorCode??"",errorMessage:re.message??""});c.trackSDKEvent(De),re.code===ec.HandledFormError||(re.code===ec.UnhandledFormError?z(C,re.message,!0):e.onError(new ve(he.ErrorSettingUpPurchase,"Failed to initialize payment form",re.message)))}const Re=()=>{z(C,void 0)};var hr=Zw(),fr=D(hr);{var Br=re=>{var De=Xw(),sr=D(De);Rp(sr),P(re,De)};G(fr,re=>{o(R)==="loading"&&re(Br)})}var vt=Y(fr,2);{var Zn=re=>{{const De=wn=>{ld(wn)},sr=wn=>{var kc=Oe();X(()=>be(kc,o(C))),P(wn,kc)};let dr=m(()=>t().translate(de.ErrorButtonTryAgain));Vl(re,{title:null,type:"error",get closeButtonTitle(){return o(dr)},onDismiss:Re,icon:De,message:sr,$$slots:{icon:!0,message:!0}})}};G(vt,re=>{o(R)==="error"&&re(Zn)})}var xa=Y(vt,2),$o=D(xa);let ms;var ei=D($o),hs=D(ei);{let re=m(()=>!!e.customerEmail);qw(hs,{get stripeAccountId(){return e.gatewayParams.stripe_account_id},get publishableApiKey(){return e.gatewayParams.publishable_api_key},get elementsConfiguration(){return o(w)},get brandingInfo(){return e.brandingInfo},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get skipEmail(){return o(re)},onLoadingComplete:pe,onError:ce,onEmailChange:ue,onPaymentInfoChange:Ee,onAddressInfoChange:qe,onExpressCheckoutElementSubmit:Ie,get expressCheckoutOptions(){return o(Z)},get stripe(){return o(E)},set stripe(De){z(E,De,!0)},get elements(){return o(S)},set elements(De){z(S,De,!0)}})}var ri=Y(ei,2);let vs;var yc=D(ri);Uw(yc,{get subscriptionOption(){return o(d)}});var or=Y(ri,2);let xr;var Jn=D(or);{let re=m(()=>!o(_e)),De=m(()=>{var sr;return(sr=e.brandingInfo)!=null&&sr.gateway_tax_collection_enabled?o(k):void 0});Wk(Jn,{get disabled(){return o(re)},get subscriptionOption(){return o(d)},get priceBreakdown(){return o(De)}})}var bc=Y(Jn,2),ti=D(bc);zk(ti,{get brandingInfo(){return e.brandingInfo},get purchaseOption(){return e.purchaseOption},get termsAndConditionsUrl(){return e.termsAndConditionsUrl}}),X(()=>{ms=pr($o,1,"rc-checkout-form-container svelte-zfhfge",null,ms,{invisible:o(R)!=="form"}),vs=pr(ri,1,"rc-checkout-price-update-info-container svelte-zfhfge",null,vs,{"fully-hidden":o(g)!=="miss-match"||o(R)!=="form"}),xr=pr(or,1,"rc-checkout-pay-container svelte-zfhfge",null,xr,{"fully-hidden":o(R)!=="form"})}),Or("submit",xa,Te),P(r,hr),me(),a()}var $w=Dr('<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.94 5.72656L8 8.7799L11.06 5.72656L12 6.66656L8 10.6666L4 6.66656L4.94 5.72656Z" class="arrow-fill svelte-1eerlbf" fill-opacity="0.7"></path></svg>');const eP={hash:"svelte-1eerlbf",code:".arrow.svelte-1eerlbf {transition:transform 0.3s ease;}.arrow-fill.svelte-1eerlbf {fill:var(--rc-color-grey-text-dark);}.arrow.left.svelte-1eerlbf {transform:rotate(90deg);}.arrow.up.svelte-1eerlbf {transform:rotate(180deg);}.arrow.right.svelte-1eerlbf {transform:rotate(-90deg);}.arrow.down.svelte-1eerlbf {transform:rotate(0deg);}"};function es(r,e){Pe(r,eP);let t=J(e,"direction",8);var n=$w();X(()=>pr(n,0,`arrow ${t()??""}`,"svelte-1eerlbf")),P(r,n)}var rP=Dr('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="arrow"><path d="M15.41 7.41L14 6L8 12L14 18L15.41 16.59L10.83 12L15.41 7.41Z" class="arrow-fill svelte-159d2rl" fill-opacity="0.7"></path></svg>');const tP={hash:"svelte-159d2rl",code:".arrow-fill.svelte-159d2rl {fill:var(--rc-color-grey-text-dark);}"};function nP(r){Pe(r,tP);var e=rP();P(r,e)}const aP=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
289
+ }form.svelte-zfhfge {display:flex;flex-direction:column;flex-grow:1;}`};function wP(r,e){var qt,io,fg,mg,hg,vg,yg,bg;me(e,!0),Pe(r,kP);const t=()=>ge(u,"$translator",n),[n,a]=Ve();let i=J(e,"onSessionPricingUpdated",3,void 0),s=J(e,"onProcessingStateChange",3,void 0),l=J(e,"lastTaxCustomerDetailsStore",19,()=>Ir(null));const c=Ze(jo),u=Ze(yr),d=m(()=>"base"in e.purchaseOption?e.purchaseOption:null),p=m(()=>Ho(e.productDetails,e.purchaseOption));let g=re(ar(((qt=e.defaultPriceBreakdown)==null?void 0:qt.taxCalculationStatus)??((io=e.brandingInfo)!=null&&io.gateway_tax_collection_enabled?"unavailable":"disabled"))),_=re(ar(((fg=e.defaultPriceBreakdown)==null?void 0:fg.originalAmountInMicros)??o(p).amountMicros)),f=re(ar(((mg=e.defaultPriceBreakdown)==null?void 0:mg.taxAmountInMicros)??null)),v=re(ar(((hg=e.defaultPriceBreakdown)==null?void 0:hg.taxBreakdown)??null)),w=re(ar(((vg=e.defaultPriceBreakdown)==null?void 0:vg.totalExcludingTaxInMicros)??o(p).amountMicros)),h=re(ar(((yg=e.defaultPriceBreakdown)==null?void 0:yg.totalAmountInMicros)??o(p).amountMicros)),y=re(ar(((bg=e.defaultPriceBreakdown)==null?void 0:bg.appliedDiscounts)??[])),k=m(()=>({currency:o(p).currency,originalAmountInMicros:o(_),totalAmountInMicros:o(h),totalExcludingTaxInMicros:o(w),taxCalculationStatus:o(g),taxAmountInMicros:o(f),taxBreakdown:o(v),appliedDiscounts:o(y)})),b=re(ar(e.gatewayParams.elements_configuration)),E=re(null),S=re(null),I=re(ar(e.customerEmail??void 0)),q=re(ar(!!e.customerEmail)),x=re(!0),F=re(!1),T=re(void 0),j=re(!1),O=re(ar(To(e.brandingInfo)));pr(()=>{To(e.brandingInfo,nr.countryRequiresFullAddressForTaxes(o(T)))&&z(O,!0)});const N=m(()=>!o(O)||o(j));let L=re(void 0),C=re(void 0),D=re(void 0),M=re(!1),U=re(null),V=null,R=m(()=>o(x)||o(M)?"loading":o(C)?"error":"form"),$=re("unavailable"),ue=null,pe=m(()=>!o(M)&&o(F)&&o(q)&&o(N)&&(o(g)==="disabled"||o(g)==="calculated"||o(g)==="miss-match")),ne=m(()=>ac({priceBreakdown:o(k),productDetails:e.productDetails,purchaseOption:e.purchaseOption,translator:t()})),Z=m(()=>o(k)&&(e.productDetails.productType===Zr.Subscription?o(d)&&e.managementUrl?nr.buildStripeExpressCheckoutOptionsForSubscription(e.productDetails,o(k),o(d),t(),e.managementUrl,o(ne)):void 0:e.productDetails.defaultNonSubscriptionOption?nr.buildStripeExpressCheckoutOptionsForNonSubscription(e.productDetails,o(k),o(ne)):void 0));pr(()=>{e.onPriceBreakdownUpdated(o(k))});function B(te){z(g,te.taxCalculationStatus,!0),z(_,te.originalAmountInMicros??o(p).amountMicros,!0),z(f,te.taxAmountInMicros,!0),z(v,te.taxBreakdown,!0),z(w,te.totalExcludingTaxInMicros,!0),z(h,te.totalAmountInMicros,!0),z(y,te.appliedDiscounts??[],!0)}pr(()=>{e.defaultPriceBreakdown||(z(_,o(p).amountMicros,!0),z(f,null),z(v,null),z(w,o(p).amountMicros,!0),z(h,o(p).amountMicros,!0),z(y,[],!0))}),pr(()=>{e.defaultPriceBreakdown&&B(e.defaultPriceBreakdown)}),pr(()=>{z(b,e.gatewayParams.elements_configuration,!0)}),pr(()=>{var te;(te=s())==null||te(o(M))}),Pr(async()=>{o(g)==="unavailable"&&await K(null).catch(qe)}),Ot(()=>{V&&(clearTimeout(V),V=null),o(U)&&(o(U).abort(),z(U,null))});async function K(te,De){await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:te==null?void 0:te.countryCode,postalCode:te==null?void 0:te.postalCode,state:te==null?void 0:te.state,city:te==null?void 0:te.city,addressLine1:te==null?void 0:te.addressLine1,addressLine2:te==null?void 0:te.addressLine2,signal:De}).then(sr=>{const dr=Rp({taxCalculation:sr,taxCustomerDetails:te});c.trackSDKEvent(dr),De==null||De.throwIfAborted();let En;sr.failed_reason?!te&&sr.failed_reason===yn.invalid_tax_location?En="pending":En="disabled":En="calculated",ae(sr,En,te)})}function ae(te,De,sr){const dr=ed(te,De);B(dr),i()?i()(te,dr):z(b,te.gateway_params.elements_configuration,!0),ue=sr,H(sr)}function H(te){te!=null&&te.countryCode&&Ei(l(),te)}function de(){c.trackSDKEvent({eventName:Jr.CheckoutPaymentFormImpression,properties:{mode:nt}}),z(x,!1)}function se(te,De){z(I,De,!0),z(q,te,!0),Me()}function Ee({complete:te,paymentMethod:De,countryCode:sr}){z(L,De,!0),z(F,te,!0),z(T,sr,!0),Me()}function Le(te,De){z(j,te,!0),H({countryCode:De.country??void 0,postalCode:De.postal_code??void 0,state:De.state??void 0,city:De.city??void 0,addressLine1:De.line1??void 0,addressLine2:De.line2??void 0}),Me()}function Me(){We()&&o(g)!=="loading"&&(z($,o(g),!0),z(g,"loading")),V&&clearTimeout(V),V=setTimeout(()=>{V=null,Ye()},vP)}async function Te(te){if(te==null||te.preventDefault(),o(M))return;const De=Up({selectedPaymentMethod:o(L)??null});c.trackSDKEvent(De),z(M,!0),await _e()?e.onContinue():z(M,!1)}async function Ce(te,De){z(L,te,!0),z(I,e.customerEmail??De,!0),await Te()}function We(){return o(L)==="card"&&o(q)&&o(F)&&o(N)&&!o(M)&&o(g)!=="disabled"}async function Ye(){if(!We()){o(g)==="loading"&&z(g,o($),!0);return}o(g)!=="loading"&&(z($,o(g),!0),z(g,"loading")),await Se(async te=>{await le().then(()=>te.throwIfAborted()).then(()=>fe(te)).then(()=>te.throwIfAborted()).catch(De=>{te.aborted||qe(De)}).finally(()=>{o(g)==="loading"&&!te.aborted&&z(g,o($),!0)})})}async function _e(){return await Se(async te=>{const De=o(h);let sr;return await le().then(()=>te.throwIfAborted()).then(()=>fe(te)).then(dr=>{sr=dr}).then(()=>te.throwIfAborted()).then(je(De)).then(()=>te.throwIfAborted()).then(Ue).then(()=>te.throwIfAborted()).then(()=>Er(sr)).then(()=>te.throwIfAborted()).then(()=>!0).catch(dr=>(te.aborted||qe(dr),!1))})}async function Se(te){o(U)&&o(U).abort(),z(U,new AbortController,!0);const De=o(U).signal;try{return await te(De)}catch(sr){if(sr instanceof DOMException&&sr.name==="AbortError")return Promise.resolve(void 0);throw sr}}async function le(){o(S)&&await nr.submitElements(o(S))}async function fe(te){if(o(g)==="unavailable"||o(g)==="disabled"||!o(S)||!o(E))return;const{customerDetails:De,confirmationTokenId:sr}=await nr.extractTaxCustomerDetails(o(S),o(E));te==null||te.throwIfAborted();const dr=ue;return De.postalCode===(dr==null?void 0:dr.postalCode)&&De.countryCode===(dr==null?void 0:dr.countryCode)&&De.state===(dr==null?void 0:dr.state)&&De.city===(dr==null?void 0:dr.city)&&De.addressLine1===(dr==null?void 0:dr.addressLine1)&&De.addressLine2===(dr==null?void 0:dr.addressLine2)||await K(De,te),sr&&o(L)!=="card"?sr:void 0}function je(te){return()=>{if(o(h)!==te)throw new l_}}async function Ue(){var sr;const te=await e.purchaseOperationHelper.checkoutComplete(o(I),t().selectedLocale),De=(sr=te==null?void 0:te.gateway_params)==null?void 0:sr.client_secret;De&&z(D,De,!0)}async function Er(te){!o(E)||!o(S)||!o(D)||await nr.confirmElements(o(E),o(S),o(D),te)}async function qe(te){if(te instanceof l_)z(g,"miss-match");else if(te instanceof ye){const De=iw({errorCode:te.errorCode.toString(),errorMessage:te.message});c.trackSDKEvent(De),te.errorCode===ve.MissingEmailError?z(C,t().translate(ce.ErrorPageErrorMessageInvalidEmailError,{email:o(I)}),!0):e.onError(te)}else if(te instanceof Wo)await oe(te);else throw te}async function oe(te){const De=Zl({errorCode:te.gatewayErrorCode??"",errorMessage:te.message??""});c.trackSDKEvent(De),te.code===tc.HandledFormError||(te.code===tc.UnhandledFormError?z(C,te.message,!0):e.onError(new ye(ve.ErrorSettingUpPurchase,"Failed to initialize payment form",te.message)))}const Be=()=>{z(C,void 0)};var hr=bP(),fr=A(hr);{var Ur=te=>{var De=yP(),sr=A(De);Vp(sr),P(te,De)};G(fr,te=>{o(R)==="loading"&&te(Ur)})}var yt=Y(fr,2);{var Jn=te=>{{const De=En=>{ud(En)},sr=En=>{var Pc=Re();X(()=>ke(Pc,o(C))),P(En,Pc)};let dr=m(()=>t().translate(ce.ErrorButtonTryAgain));Hl(te,{title:null,type:"error",get closeButtonTitle(){return o(dr)},onDismiss:Be,icon:De,message:sr,$$slots:{icon:!0,message:!0}})}};G(yt,te=>{o(R)==="error"&&te(Jn)})}var Ca=Y(yt,2),ei=A(Ca);let bs;var ri=A(ei),ks=A(ri);{let te=m(()=>!!e.customerEmail);oP(ks,{get stripeAccountId(){return e.gatewayParams.stripe_account_id},get publishableApiKey(){return e.gatewayParams.publishable_api_key},get elementsConfiguration(){return o(b)},get brandingInfo(){return e.brandingInfo},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get skipEmail(){return o(te)},onLoadingComplete:de,onError:oe,onEmailChange:se,onPaymentInfoChange:Ee,onAddressInfoChange:Le,onExpressCheckoutElementSubmit:Ce,get expressCheckoutOptions(){return o(Z)},get stripe(){return o(E)},set stripe(De){z(E,De,!0)},get elements(){return o(S)},set elements(De){z(S,De,!0)}})}var ti=Y(ri,2);let ws;var kc=A(ti);pP(kc,{get subscriptionOption(){return o(d)}});var ir=Y(ti,2);let Sr;var Qn=A(ir);{let te=m(()=>!o(pe)),De=m(()=>{var sr;return(sr=e.brandingInfo)!=null&&sr.gateway_tax_collection_enabled?o(k):void 0});gw(Qn,{get disabled(){return o(te)},get subscriptionOption(){return o(d)},get priceBreakdown(){return o(De)}})}var wc=Y(Qn,2),ni=A(wc);aw(ni,{get brandingInfo(){return e.brandingInfo},get purchaseOption(){return e.purchaseOption},get termsAndConditionsUrl(){return e.termsAndConditionsUrl}}),X(()=>{bs=_r(ei,1,"rc-checkout-form-container svelte-zfhfge",null,bs,{invisible:o(R)!=="form"}),ws=_r(ti,1,"rc-checkout-price-update-info-container svelte-zfhfge",null,ws,{"fully-hidden":o(g)!=="miss-match"||o(R)!=="form"}),Sr=_r(ir,1,"rc-checkout-pay-container svelte-zfhfge",null,Sr,{"fully-hidden":o(R)!=="form"})}),jr("submit",Ca,Te),P(r,hr),he(),a()}var PP=Ar('<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.94 5.72656L8 8.7799L11.06 5.72656L12 6.66656L8 10.6666L4 6.66656L4.94 5.72656Z" class="arrow-fill svelte-1eerlbf" fill-opacity="0.7"></path></svg>');const xP={hash:"svelte-1eerlbf",code:".arrow.svelte-1eerlbf {transition:transform 0.3s ease;}.arrow-fill.svelte-1eerlbf {fill:var(--rc-color-grey-text-dark);}.arrow.left.svelte-1eerlbf {transform:rotate(90deg);}.arrow.up.svelte-1eerlbf {transform:rotate(180deg);}.arrow.right.svelte-1eerlbf {transform:rotate(-90deg);}.arrow.down.svelte-1eerlbf {transform:rotate(0deg);}"};function as(r,e){Pe(r,xP);let t=J(e,"direction",8);var n=PP();X(()=>_r(n,0,`arrow ${t()??""}`,"svelte-1eerlbf")),P(r,n)}var EP=Ar('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="arrow"><path d="M15.41 7.41L14 6L8 12L14 18L15.41 16.59L10.83 12L15.41 7.41Z" class="arrow-fill svelte-159d2rl" fill-opacity="0.7"></path></svg>');const SP={hash:"svelte-159d2rl",code:".arrow-fill.svelte-159d2rl {fill:var(--rc-color-grey-text-dark);}"};function IP(r){Pe(r,SP);var e=EP();P(r,e)}const CP=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
283
290
  xmlns="http://www.w3.org/2000/svg">
284
291
  <g opacity="0.5" clip-path="url(#clip0_344_3390)">
285
292
  <path d="M7 18C5.9 18 5.01 18.9 5.01 20C5.01 21.1 5.9 22 7 22C8.1 22 9 21.1 9 20C9 18.9 8.1 18 7 18ZM1 2V4H3L6.6 11.59L5.25 14.04C5.09 14.32 5 14.65 5 15C5 16.1 5.9 17 7 17H19V15H7.42C7.28 15 7.17 14.89 7.17 14.75L7.2 14.63L8.1 13H15.55C16.3 13 16.96 12.59 17.3 11.97L20.88 5.48C20.96 5.34 21 5.17 21 5C21 4.45 20.55 4 20 4H5.21L4.27 2H1ZM17 18C15.9 18 15.01 18.9 15.01 20C15.01 21.1 15.9 22 17 22C18.1 22 19 21.1 19 20C19 18.9 18.1 18 17 18Z"
@@ -291,35 +298,35 @@ but received
291
298
  </clipPath>
292
299
  </defs>
293
300
  </svg>
294
- `;var oP=W('<div style="color:var(--rc-color-gray-text-dark);"><!></div>');function iP(r){var e=oP(),t=D(e);fn(t,()=>aP),P(r,e)}const sP=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
301
+ `;var TP=W('<div style="color:var(--rc-color-gray-text-dark);"><!></div>');function DP(r){var e=TP(),t=A(e);fn(t,()=>CP),P(r,e)}const AP=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
295
302
  xmlns="http://www.w3.org/2000/svg">
296
303
  <path d="M18 8H17V6C17 3.24 14.76 1 12 1C9.24 1 7 3.24 7 6V8H6C4.9 8 4 8.9 4 10V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V10C20 8.9 19.1 8 18 8ZM12 17C10.9 17 10 16.1 10 15C10 13.9 10.9 13 12 13C13.1 13 14 13.9 14 15C14 16.1 13.1 17 12 17ZM15.1 8H8.9V6C8.9 4.29 10.29 2.9 12 2.9C13.71 2.9 15.1 4.29 15.1 6V8Z"
297
304
  fill="currentColor"/>
298
305
  </svg>
299
- `;var lP=W('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1dhcigx"><!></div>');const cP={hash:"svelte-1dhcigx",code:"div.svelte-1dhcigx {height:24px;width:24px;}"};function uP(r){Pe(r,cP);var e=lP(),t=D(e);fn(t,()=>sP),P(r,e)}const dP=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
306
+ `;var FP=W('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1dhcigx"><!></div>');const MP={hash:"svelte-1dhcigx",code:"div.svelte-1dhcigx {height:24px;width:24px;}"};function qP(r){Pe(r,MP);var e=FP(),t=A(e);fn(t,()=>AP),P(r,e)}const zP=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
300
307
  <circle cx="62" cy="62" r="62" fill="var(--rc-color-grey-text-dark)" opacity="0.2"/>
301
308
  <rect x="44.1116" y="56" width="27.5" height="11" transform="rotate(45 44.1116 56)" fill="var(--rc-color-grey-text-dark)"/>
302
309
  <rect x="79.1133" y="44.334" width="11" height="44" transform="rotate(45 79.1133 44.334)" fill="var(--rc-color-grey-text-dark)"/>
303
310
  </svg>
304
- `;var pP=W('<div style="color:var(--rc-color-primary)"><!></div>');function s_(r){var e=pP(),t=D(e);fn(t,()=>dP),P(r,e)}var _P=Dr('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z" class="arrow-fill svelte-1prqhxu" fill-opacity="0.7"></path></svg>');const gP={hash:"svelte-1prqhxu",code:".arrow-fill.svelte-1prqhxu {fill:var(--arrow-fill-color, var(--rc-color-grey-text-dark));}"};function fP(r){Pe(r,gP);var e=_P();P(r,e)}const mP=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15" fill="none">
311
+ `;var LP=W('<div style="color:var(--rc-color-primary)"><!></div>');function c_(r){var e=LP(),t=A(e);fn(t,()=>zP),P(r,e)}var OP=Ar('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z" class="arrow-fill svelte-1prqhxu" fill-opacity="0.7"></path></svg>');const NP={hash:"svelte-1prqhxu",code:".arrow-fill.svelte-1prqhxu {fill:var(--arrow-fill-color, var(--rc-color-grey-text-dark));}"};function jP(r){Pe(r,NP);var e=OP();P(r,e)}const BP=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15" fill="none">
305
312
  <path d="M7.99697 9.21971C8.54919 9.21978 8.99697 9.66747 8.99697 10.2197C8.99696 10.772 8.54919 11.2196 7.99697 11.2197C7.44469 11.2197 6.996 10.772 6.99599 10.2197C6.99599 9.66743 7.44468 9.21971 7.99697 9.21971Z" fill="var(--rc-color-grey-text-dark)" fill-opacity="0.9"/>
306
313
  <path d="M7.99599 4.21971C8.54822 4.21978 8.99599 4.66747 8.99599 5.21971V7.21971C8.99598 7.77195 8.54821 8.21965 7.99599 8.21971C7.44371 8.21971 6.996 7.77199 6.99599 7.21971V5.21971C6.99599 4.66743 7.44371 4.21971 7.99599 4.21971Z" fill="var(--rc-color-grey-text-dark)" fill-opacity="0.9"/>
307
314
  <path fill-rule="evenodd" clip-rule="evenodd" d="M5.15615 1.63964C6.4187 -0.546529 9.57428 -0.546561 10.8368 1.63964L15.5477 9.79979C16.8097 11.9862 15.2322 14.7192 12.7079 14.7197H3.28505C0.76025 14.7196 -0.818142 11.9864 0.444233 9.79979L5.15615 1.63964ZM9.10537 2.63964C8.61269 1.78643 7.3803 1.78645 6.88759 2.63964L2.17665 10.7998C1.68403 11.6531 2.29983 12.7196 3.28505 12.7197H12.7079C13.6926 12.7192 14.3084 11.6528 13.8163 10.7998L9.10537 2.63964Z" fill="var(--rc-color-grey-text-dark)" fill-opacity="0.9"/>
308
- </svg>`;var hP=W('<div class="rcb-ui-asset-icon svelte-18og1ci"><!></div>');const vP={hash:"svelte-18og1ci",code:".rcb-ui-asset-icon.svelte-18og1ci {display:inline-block;width:1em;height:1em;}"};function yP(r){Pe(r,vP);var e=hP(),t=D(e);fn(t,()=>mP),P(r,e)}const bP={cart:iP,error:ld,lock:uP,success:s_,back:nP,info:n_,close:fP,warning:yP,"chevron-left":es,"chevron-right":es,"chevron-up":es,"chevron-down":es};function Wn(r,e){fe(e,!0);const t=bP[e.name];let n=te(ar({}));if(e.name.startsWith("chevron")){const a=e.name.split("-")[1];z(n,{direction:a},!0)}t(r,_r(()=>o(n))),me()}var kP=W('<span class="rc-sandbox-only-error svelte-1dod9xz"><!></span> <br/> <br/>',1),wP=W('<!> <a class="svelte-1dod9xz"> </a>.',1),PP=W("<!> <!>",1);const xP={hash:"svelte-1dod9xz",code:"a.svelte-1dod9xz {color:var(--rc-color-grey-text-dark);}.rc-sandbox-only-error.svelte-1dod9xz {font-weight:bold;}"};function rs(r,e){fe(e,!0),Pe(r,xP);const t=()=>ge(l,"$translator",n),[n,a]=He(),i=J(e,"fullWidth",3,!1),s=m(()=>e.lastError??new ve(he.UnknownError,"Unknown error without state set.")),l=Xe(vr),c=m(()=>o(s).errorCode===he.StripeTaxNotActive||o(s).errorCode===he.StripeInvalidTaxOriginAddress||o(s).errorCode===he.StripeMissingRequiredPermission);Er(()=>{ke.errorLog(`Displayed error: ${he[o(s).errorCode]}. Message: ${o(s).message??"None"}. Underlying error: ${o(s).underlyingErrorMessage??"None"}`)});function u(){return o(s).errorCode===he.AlreadyPurchasedError?t().translate(de.ErrorPageCloseButtonTitle,{appName:e.appName??"App"}):o(c)?t().translate(de.ErrorButtonClose):t().translate(de.ErrorButtonTryAgain)}function d(){switch(o(s).errorCode){case he.AlreadyPurchasedError:return e.productDetails.productType===Xr.Subscription?t().translate(de.ErrorPageErrorTitleAlreadySubscribed,{productTitle:e.productDetails.title}):t().translate(de.ErrorPageErrorTitleAlreadyPurchased,{productTitle:e.productDetails.title});case he.StripeTaxNotActive:return t().translate(de.ErrorPageErrorTitleStripeTaxNotActive);case he.StripeInvalidTaxOriginAddress:return t().translate(de.ErrorPageErrorTitleStripeInvalidTaxOriginAddress);case he.StripeMissingRequiredPermission:return t().translate(de.ErrorPageErrorTitleStripeMissingRequiredPermission);default:return t().translate(de.ErrorPageErrorTitleOtherErrors)}}function p(){const f=o(s).getErrorCode();switch(o(s).errorCode){case he.ErrorSettingUpPurchase:case he.InvalidPaddleAPIKeyError:return t().translate(de.ErrorPageErrorMessageErrorSettingUpPurchase,{errorCode:f});case he.ErrorChargingPayment:return t().translate(de.ErrorPageErrorMessageErrorChargingPayment,{errorCode:f});case he.AlreadyPurchasedError:return e.productDetails.productType===Xr.Subscription?t().translate(de.ErrorPageErrorMessageAlreadySubscribed,{errorCode:f}):t().translate(de.ErrorPageErrorMessageAlreadyPurchased,{errorCode:f});case he.StripeTaxNotActive:return t().translate(de.ErrorPageErrorMessageStripeTaxNotActive,{errorCode:f});case he.StripeInvalidTaxOriginAddress:return t().translate(de.ErrorPageErrorMessageStripeInvalidTaxOriginAddress,{errorCode:f});case he.StripeMissingRequiredPermission:return t().translate(de.ErrorPageErrorMessageStripeMissingRequiredPermission,{errorCode:f});case he.NetworkError:return t().translate(de.ErrorPageErrorMessageNetworkError,{errorCode:f});default:return t().translate(de.ErrorPageErrorMessageUnknownError,{errorCode:f})}}function g(){return o(s).errorCode===he.AlreadyPurchasedError?de.ErrorPageTroubleAccessing:de.ErrorPageIfErrorPersists}function _(){return o(s).errorCode===he.AlreadyPurchasedError?"success":"error"}{const f=b=>{{let k=m(_);Wn(b,{get name(){return o(k)}})}},v=b=>{var k=PP(),w=se(k);{var E=x=>{var q=kP(),T=se(q),N=D(T);mt(N,{get key(){return de.ErrorPageErrorMessageOnlyInSandbox}}),P(x,q)};G(w,x=>{o(c)&&x(E)})}var S=Y(w),I=Y(S);{var F=x=>{var q=wP(),T=se(q);{let O=m(g);mt(T,{get key(){return o(O)}})}var N=Y(T,2),L=D(N);X(()=>{we(N,"href",`mailto:${e.supportEmail??""}`),be(L,e.supportEmail)}),P(x,q)};G(I,x=>{!o(c)&&e.supportEmail&&x(F)})}X(x=>be(S,` ${x??""} `),[p]),P(b,k)};let y=m(d),h=m(u);Vl(r,{get title(){return o(y)},get onDismiss(){return e.onDismiss},type:"error",get closeButtonTitle(){return o(h)},get fullWidth(){return i()},icon:f,message:v,$$slots:{icon:!0,message:!0}})}me(),a()}function ts(r,e){fe(e,!1);const t=()=>ge(u,"$translator",n),[n,a]=He();let i=J(e,"onContinue",8),s=J(e,"title",8,void 0),l=J(e,"closeButtonTitle",8,void 0),c=J(e,"fullWidth",8,!1);const u=Xe(vr),d=Xe(Oo);function p(){d.trackSDKEvent(Lk("go_back_to_app",tt)),i()()}Er(()=>{d.trackSDKEvent(Ok(tt))}),An();{const g=v=>{s_(v)};let _=Sn(()=>(We(s()),t(),We(de),Ue(()=>s()??t().translate(de.SuccessPagePurchaseSuccessful)))),f=Sn(()=>(We(l()),t(),We(de),Ue(()=>l()??t().translate(de.SuccessPageButtonClose))));Vl(r,{type:"success",get title(){return o(_)},onDismiss:p,get closeButtonTitle(){return o(f)},get fullWidth(){return c()},icon:g,$$slots:{icon:!0}})}me(),a()}function EP(r){Rp(r)}var SP=W('<button class="rcb-applied-discount-chip svelte-56pxsq" type="button"><span class="rcb-applied-discount-code svelte-56pxsq"> </span> <span class="rcb-applied-discount-icon svelte-56pxsq" aria-hidden="true"><!></span></button>'),IP=W('<div class="rcb-applied-discount-chip rcb-applied-discount-chip--static svelte-56pxsq"><span class="rcb-applied-discount-code svelte-56pxsq"> </span></div>'),CP=W('<div class="rcb-applied-discount-label svelte-56pxsq"> </div>'),TP=W('<div class="rcb-applied-discount svelte-56pxsq"><!> <!></div>'),DP=W('<div class="rcb-discount-error svelte-56pxsq" role="alert"><span class="rcb-discount-error-icon svelte-56pxsq" aria-hidden="true"><!></span> <span> </span></div>'),AP=W('<div class="rcb-discount-input svelte-56pxsq"><div class="rcb-discount-input-row svelte-56pxsq"><div><label class="rcb-discount-field-label svelte-56pxsq" for="rc-discount-code"> </label> <input class="rcb-discount-field-input svelte-56pxsq" id="rc-discount-code" type="text" autocomplete="off" placeholder=" "/></div> <button type="button"> </button></div> <!></div>'),FP=W('<div class="rcb-product-price-container svelte-56pxsq"><!></div>');const MP={hash:"svelte-56pxsq",code:`.rcb-product-price-container.svelte-56pxsq {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}.rcb-discount-input.svelte-56pxsq {display:flex;flex-direction:column;gap:4px;}.rcb-discount-input-row.svelte-56pxsq {display:flex;gap:8px;width:100%;}.rcb-discount-field.svelte-56pxsq {position:relative;display:flex;align-items:flex-end;flex:1 1 auto;min-width:0;min-height:48px;padding:4px 12px;border:1px solid var(--rc-color-grey-ui-dark);border-radius:var(--rc-shape-input-border-radius);background:var(--rc-color-background);transition:border-color 150ms ease;}.rcb-discount-field--focused.svelte-56pxsq {border-color:var(--rc-color-grey-text-light);}.rcb-discount-field-label.svelte-56pxsq {position:absolute;top:50%;left:12px;max-width:calc(100% - 24px);overflow:hidden;color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);text-overflow:ellipsis;pointer-events:none;transform:translateY(-50%);transform-origin:left top;transition:top 150ms ease,
315
+ </svg>`;var RP=W('<div class="rcb-ui-asset-icon svelte-18og1ci"><!></div>');const UP={hash:"svelte-18og1ci",code:".rcb-ui-asset-icon.svelte-18og1ci {display:inline-block;width:1em;height:1em;}"};function VP(r){Pe(r,UP);var e=RP(),t=A(e);fn(t,()=>BP),P(r,e)}const WP={cart:DP,error:ud,lock:qP,success:c_,back:IP,info:o_,close:jP,warning:VP,"chevron-left":as,"chevron-right":as,"chevron-up":as,"chevron-down":as};function Hn(r,e){me(e,!0);const t=WP[e.name];let n=re(ar({}));if(e.name.startsWith("chevron")){const a=e.name.split("-")[1];z(n,{direction:a},!0)}t(r,gr(()=>o(n))),he()}var HP=W('<span class="rc-sandbox-only-error svelte-1dod9xz"><!></span> <br/> <br/>',1),YP=W('<!> <a class="svelte-1dod9xz"> </a>.',1),GP=W("<!> <!>",1);const KP={hash:"svelte-1dod9xz",code:"a.svelte-1dod9xz {color:var(--rc-color-grey-text-dark);}.rc-sandbox-only-error.svelte-1dod9xz {font-weight:bold;}"};function os(r,e){me(e,!0),Pe(r,KP);const t=()=>ge(l,"$translator",n),[n,a]=Ve(),i=J(e,"fullWidth",3,!1),s=m(()=>e.lastError??new ye(ve.UnknownError,"Unknown error without state set.")),l=Ze(yr),c=m(()=>o(s).errorCode===ve.StripeTaxNotActive||o(s).errorCode===ve.StripeInvalidTaxOriginAddress||o(s).errorCode===ve.StripeMissingRequiredPermission);Pr(()=>{we.errorLog(`Displayed error: ${ve[o(s).errorCode]}. Message: ${o(s).message??"None"}. Underlying error: ${o(s).underlyingErrorMessage??"None"}`)});function u(){return o(s).errorCode===ve.AlreadyPurchasedError?t().translate(ce.ErrorPageCloseButtonTitle,{appName:e.appName??"App"}):o(c)?t().translate(ce.ErrorButtonClose):t().translate(ce.ErrorButtonTryAgain)}function d(){switch(o(s).errorCode){case ve.AlreadyPurchasedError:return e.productDetails.productType===Zr.Subscription?t().translate(ce.ErrorPageErrorTitleAlreadySubscribed,{productTitle:e.productDetails.title}):t().translate(ce.ErrorPageErrorTitleAlreadyPurchased,{productTitle:e.productDetails.title});case ve.StripeTaxNotActive:return t().translate(ce.ErrorPageErrorTitleStripeTaxNotActive);case ve.StripeInvalidTaxOriginAddress:return t().translate(ce.ErrorPageErrorTitleStripeInvalidTaxOriginAddress);case ve.StripeMissingRequiredPermission:return t().translate(ce.ErrorPageErrorTitleStripeMissingRequiredPermission);default:return t().translate(ce.ErrorPageErrorTitleOtherErrors)}}function p(){const f=o(s).getErrorCode();switch(o(s).errorCode){case ve.ErrorSettingUpPurchase:case ve.InvalidPaddleAPIKeyError:return t().translate(ce.ErrorPageErrorMessageErrorSettingUpPurchase,{errorCode:f});case ve.ErrorChargingPayment:return t().translate(ce.ErrorPageErrorMessageErrorChargingPayment,{errorCode:f});case ve.AlreadyPurchasedError:return e.productDetails.productType===Zr.Subscription?t().translate(ce.ErrorPageErrorMessageAlreadySubscribed,{errorCode:f}):t().translate(ce.ErrorPageErrorMessageAlreadyPurchased,{errorCode:f});case ve.StripeTaxNotActive:return t().translate(ce.ErrorPageErrorMessageStripeTaxNotActive,{errorCode:f});case ve.StripeInvalidTaxOriginAddress:return t().translate(ce.ErrorPageErrorMessageStripeInvalidTaxOriginAddress,{errorCode:f});case ve.StripeMissingRequiredPermission:return t().translate(ce.ErrorPageErrorMessageStripeMissingRequiredPermission,{errorCode:f});case ve.NetworkError:return t().translate(ce.ErrorPageErrorMessageNetworkError,{errorCode:f});default:return t().translate(ce.ErrorPageErrorMessageUnknownError,{errorCode:f})}}function g(){return o(s).errorCode===ve.AlreadyPurchasedError?ce.ErrorPageTroubleAccessing:ce.ErrorPageIfErrorPersists}function _(){return o(s).errorCode===ve.AlreadyPurchasedError?"success":"error"}{const f=y=>{{let k=m(_);Hn(y,{get name(){return o(k)}})}},v=y=>{var k=GP(),b=ie(k);{var E=x=>{var F=HP(),T=ie(F),j=A(T);ht(j,{get key(){return ce.ErrorPageErrorMessageOnlyInSandbox}}),P(x,F)};G(b,x=>{o(c)&&x(E)})}var S=Y(b),I=Y(S);{var q=x=>{var F=YP(),T=ie(F);{let N=m(g);ht(T,{get key(){return o(N)}})}var j=Y(T,2),O=A(j);X(()=>{be(j,"href",`mailto:${e.supportEmail??""}`),ke(O,e.supportEmail)}),P(x,F)};G(I,x=>{!o(c)&&e.supportEmail&&x(q)})}X(x=>ke(S,` ${x??""} `),[p]),P(y,k)};let w=m(d),h=m(u);Hl(r,{get title(){return o(w)},get onDismiss(){return e.onDismiss},type:"error",get closeButtonTitle(){return o(h)},get fullWidth(){return i()},icon:f,message:v,$$slots:{icon:!0,message:!0}})}he(),a()}function is(r,e){me(e,!1);const t=()=>ge(u,"$translator",n),[n,a]=Ve();let i=J(e,"onContinue",8),s=J(e,"title",8,void 0),l=J(e,"closeButtonTitle",8,void 0),c=J(e,"fullWidth",8,!1);const u=Ze(yr),d=Ze(jo);function p(){d.trackSDKEvent(sw("go_back_to_app",nt)),i()()}Pr(()=>{d.trackSDKEvent(lw(nt))}),zn();{const g=v=>{c_(v)};let _=Dn(()=>(Ke(s()),t(),Ke(ce),He(()=>s()??t().translate(ce.SuccessPagePurchaseSuccessful)))),f=Dn(()=>(Ke(l()),t(),Ke(ce),He(()=>l()??t().translate(ce.SuccessPageButtonClose))));Hl(r,{type:"success",get title(){return o(_)},onDismiss:p,get closeButtonTitle(){return o(f)},get fullWidth(){return c()},icon:g,$$slots:{icon:!0}})}he(),a()}function XP(r){Vp(r)}var ZP=W('<button class="rcb-applied-discount-chip svelte-56pxsq" type="button"><span class="rcb-applied-discount-code svelte-56pxsq"> </span> <span class="rcb-applied-discount-icon svelte-56pxsq" aria-hidden="true"><!></span></button>'),JP=W('<div class="rcb-applied-discount-chip rcb-applied-discount-chip--static svelte-56pxsq"><span class="rcb-applied-discount-code svelte-56pxsq"> </span></div>'),QP=W('<div class="rcb-applied-discount-label svelte-56pxsq"> </div>'),$P=W('<div class="rcb-applied-discount svelte-56pxsq"><!> <!></div>'),e1=W('<div class="rcb-discount-error svelte-56pxsq" role="alert"><span class="rcb-discount-error-icon svelte-56pxsq" aria-hidden="true"><!></span> <span> </span></div>'),r1=W('<div class="rcb-discount-input svelte-56pxsq"><div class="rcb-discount-input-row svelte-56pxsq"><div><label class="rcb-discount-field-label svelte-56pxsq" for="rc-discount-code"> </label> <input class="rcb-discount-field-input svelte-56pxsq" id="rc-discount-code" type="text" autocomplete="off" placeholder=" "/></div> <button type="button"> </button></div> <!></div>'),t1=W('<div class="rcb-product-price-container svelte-56pxsq"><!></div>');const n1={hash:"svelte-56pxsq",code:`.rcb-product-price-container.svelte-56pxsq {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}.rcb-discount-input.svelte-56pxsq {display:flex;flex-direction:column;gap:4px;}.rcb-discount-input-row.svelte-56pxsq {display:flex;gap:8px;width:100%;}.rcb-discount-field.svelte-56pxsq {position:relative;display:flex;align-items:flex-end;flex:1 1 auto;min-width:0;min-height:48px;padding:4px 12px;border:1px solid var(--rc-color-grey-ui-dark);border-radius:var(--rc-shape-input-border-radius);background:var(--rc-color-background);transition:border-color 150ms ease;}.rcb-discount-field--focused.svelte-56pxsq {border-color:var(--rc-color-grey-text-light);}.rcb-discount-field-label.svelte-56pxsq {position:absolute;top:50%;left:12px;max-width:calc(100% - 24px);overflow:hidden;color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);text-overflow:ellipsis;pointer-events:none;transform:translateY(-50%);transform-origin:left top;transition:top 150ms ease,
309
316
  transform 150ms ease,
310
317
  font-size 150ms ease,
311
318
  color 150ms ease;white-space:nowrap;}.rcb-discount-field--floating.svelte-56pxsq .rcb-discount-field-label:where(.svelte-56pxsq) {top:8px;font-size:12px;transform:translateY(0);}.rcb-discount-field-input.svelte-56pxsq {width:100%;min-width:0;padding:14px 0 0;border:none;outline:none;background:transparent;color:var(--rc-color-grey-text-dark);font:var(--rc-text-bodySmall-mobile);}.rcb-discount-field-input.svelte-56pxsq::placeholder {color:transparent;}.rcb-discount-field-input.svelte-56pxsq:disabled {cursor:not-allowed;}.rcb-discount-action-button.svelte-56pxsq {flex:0 0 auto;min-width:82px;min-height:48px;padding:0 16px;border-radius:var(--rc-shape-input-button-border-radius);color:var(--rc-color-grey-text-light);font:var(--rc-text-bodyBase-desktop);transition:background-color 150ms ease,
312
319
  color 150ms ease,
313
320
  opacity 150ms ease;}.rcb-discount-action-button--enabled.svelte-56pxsq {border:1px solid var(--rc-color-grey-ui-dark);background-color:var(--rc-color-grey-ui-light);color:var(--rc-color-grey-text-light);cursor:pointer;}.rcb-discount-action-button.svelte-56pxsq:disabled {background-color:var(--rc-color-grey-ui-light);cursor:not-allowed;opacity:0.7;}.rcb-discount-error.svelte-56pxsq {display:flex;align-items:center;gap:8px;color:var(--rc-color-grey-text-dark);font:var(--rc-text-bodySmall-mobile);}.rcb-discount-error-icon.svelte-56pxsq {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:16px;height:16px;}.rcb-discount-error-icon.svelte-56pxsq {display:block;width:16px;height:16px;}.rcb-applied-discount.svelte-56pxsq {display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:100%;}.rcb-applied-discount-chip.svelte-56pxsq {--arrow-fill-color: var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;gap:8px;width:fit-content;max-width:100%;padding:0 12px;border:1px solid var(--rc-color-grey-ui-light);border-radius:var(--rc-shape-input-button-border-radius);background-color:var(--rc-color-grey-ui-light);color:var(--rc-color-grey-text-dark);font:var(--rc-text-bodySmall-mobile);font-weight:500;transition:background-color 150ms ease,
314
321
  border-color 150ms ease,
315
- opacity 150ms ease;}button.rcb-applied-discount-chip.svelte-56pxsq {cursor:pointer;}.rcb-applied-discount-chip--static.svelte-56pxsq {cursor:default;}button.rcb-applied-discount-chip.svelte-56pxsq:disabled {cursor:not-allowed;opacity:0.7;}.rcb-applied-discount-code.svelte-56pxsq {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 0;}.rcb-applied-discount-icon.svelte-56pxsq {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--rc-color-grey-text-light);}.rcb-applied-discount-icon.svelte-56pxsq {width:16px;height:16px;}.rcb-applied-discount-label.svelte-56pxsq {color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);}`};function l_(r,e){fe(e,!1),Pe(r,MP);const t=()=>ge(E,"$translator",n),[n,a]=He(),i=ur(),s=ur(),l=ur(),c=ur(),u=ur();let d=J(e,"showDiscountCodeField",8,!1),p=J(e,"discountCode",12,""),g=J(e,"appliedDiscountCode",8,null),_=J(e,"discountSuffix",8,null),f=J(e,"discountCodeError",8,null),v=J(e,"isUpdatingDiscountCode",8,!1),y=J(e,"isDiscountCodeControlsEnabled",8,!1),h=J(e,"onDiscountCodeChange",8,void 0),b=J(e,"onApplyDiscountCode",8,void 0),k=J(e,"onRemoveDiscountCode",8,void 0),w=ur(!1);const E=Xe(vr),S=L=>L.toUpperCase(),I=()=>{var L;p(S(p())),(L=h())==null||L(p())},F=L=>{var O;L.key==="Enter"&&(L.preventDefault(),L.stopPropagation(),o(l)&&((O=b())==null||O()))};mr(()=>We(p()),()=>{z(i,p().trim().length>0)}),mr(()=>(o(w),o(i)),()=>{z(s,o(w)||o(i))}),mr(()=>(We(y()),We(v()),o(i)),()=>{z(l,y()&&!v()&&o(i))}),mr(()=>We(f()),()=>{z(c,f()==="Enter a discount code."?f():"Code can't be applied.")}),mr(()=>We(g()),()=>{z(u,g()?S(g()):null)}),Ms(),An();var x=FP(),q=D(x);{var T=L=>{var O=TP(),j=D(O);{var C=V=>{var R=SP();R.__click=()=>{var Z;return(Z=k())==null?void 0:Z()};var $=D(R),le=D($),_e=Y($,2),ae=D(_e);Wn(ae,{name:"close"}),X(()=>{R.disabled=v(),we(R,"aria-label",`Remove promo code ${o(u)}`),be(le,o(u))}),P(V,R)},A=V=>{var R=IP(),$=D(R),le=D($);X(()=>be(le,o(u))),P(V,R)};G(j,V=>{y()?V(C):V(A,!1)})}var M=Y(j,2);{var U=V=>{var R=CP(),$=D(R);X(()=>be($,`
316
- ${_()??""}`)),P(V,R)};G(M,V=>{_()&&V(U)})}P(L,O)},N=L=>{var O=Se(),j=se(O);{var C=A=>{var M=AP(),U=D(M),V=D(U);let R;var $=D(V),le=D($),_e=Y($,2);_e.__input=I,_e.__keydown=F;var ae=Y(V,2);let Z;ae.__click=()=>{var H;return(H=b())==null?void 0:H()};var B=D(ae),K=Y(U,2);{var oe=H=>{var pe=DP(),ue=D(pe),Ee=D(ue);Wn(Ee,{name:"warning"});var qe=Y(ue,2),Me=D(qe);X(()=>be(Me,o(c))),P(H,pe)};G(K,H=>{f()&&H(oe)})}X((H,pe)=>{R=pr(V,1,"rcb-discount-field svelte-56pxsq",null,R,{"rcb-discount-field--focused":o(w),"rcb-discount-field--floating":o(s)}),be(le,H),we(_e,"aria-invalid",!!f()),_e.disabled=v()||!y(),Z=pr(ae,1,"rcb-discount-action-button svelte-56pxsq",null,Z,{"rcb-discount-action-button--enabled":o(l)}),ae.disabled=pe,be(B,v()?"Applying...":"Apply")},[()=>(t(),We(de),Ue(()=>t().translate(de.DiscountInputLabel))),()=>(We(v()),We(y()),We(p()),Ue(()=>v()||!y()||!p().trim()))]),Or("focus",_e,()=>z(w,!0)),Or("blur",_e,()=>z(w,!1)),Hf(_e,p),P(A,M)};G(j,A=>{d()&&A(C)},!0)}P(L,O)};G(q,L=>{g()?L(T):L(N,!1)})}P(r,x),me(),a()}_n(["click","input","keydown"]);var zP=W('<div class="rcb-pricing-dropdown svelte-v5skdw"><div class="rcb-pricing-dropdown-header svelte-v5skdw" tabindex="0" role="button"><!> <span class="rcb-pricing-dropdown-toggle svelte-v5skdw"><!></span></div> <div><div class="rcb-pricing-dropdown-content-inner svelte-v5skdw"><!></div></div></div>');const qP={hash:"svelte-v5skdw",code:`.rcb-pricing-dropdown.svelte-v5skdw {width:100%;overflow:hidden;display:flex;flex-direction:column;}.rcb-pricing-dropdown-header.svelte-v5skdw {padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);padding-left:var(--rc-spacing-gapLarge-mobile);padding-right:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-light);border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;display:inline-flex;align-items:center;background-color:var(--rc-color-grey-ui-light);width:fit-content;user-select:none;}.rcb-pricing-dropdown-toggle.svelte-v5skdw {display:flex;align-items:center;margin-left:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-dropdown-content.svelte-v5skdw {display:flex;flex-direction:column;overflow:hidden;}
322
+ opacity 150ms ease;}button.rcb-applied-discount-chip.svelte-56pxsq {cursor:pointer;}.rcb-applied-discount-chip--static.svelte-56pxsq {cursor:default;}button.rcb-applied-discount-chip.svelte-56pxsq:disabled {cursor:not-allowed;opacity:0.7;}.rcb-applied-discount-code.svelte-56pxsq {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 0;}.rcb-applied-discount-icon.svelte-56pxsq {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--rc-color-grey-text-light);}.rcb-applied-discount-icon.svelte-56pxsq {width:16px;height:16px;}.rcb-applied-discount-label.svelte-56pxsq {color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);}`};function u_(r,e){me(e,!1),Pe(r,n1);const t=()=>ge(E,"$translator",n),[n,a]=Ve(),i=ur(),s=ur(),l=ur(),c=ur(),u=ur();let d=J(e,"showDiscountCodeField",8,!1),p=J(e,"discountCode",12,""),g=J(e,"appliedDiscountCode",8,null),_=J(e,"discountSuffix",8,null),f=J(e,"discountCodeError",8,null),v=J(e,"isUpdatingDiscountCode",8,!1),w=J(e,"isDiscountCodeControlsEnabled",8,!1),h=J(e,"onDiscountCodeChange",8,void 0),y=J(e,"onApplyDiscountCode",8,void 0),k=J(e,"onRemoveDiscountCode",8,void 0),b=ur(!1);const E=Ze(yr),S=O=>O.toUpperCase(),I=()=>{var O;p(S(p())),(O=h())==null||O(p())},q=O=>{var N;O.key==="Enter"&&(O.preventDefault(),O.stopPropagation(),o(l)&&((N=y())==null||N()))};mr(()=>Ke(p()),()=>{z(i,p().trim().length>0)}),mr(()=>(o(b),o(i)),()=>{z(s,o(b)||o(i))}),mr(()=>(Ke(w()),Ke(v()),o(i)),()=>{z(l,w()&&!v()&&o(i))}),mr(()=>Ke(f()),()=>{z(c,f()==="Enter a discount code."?f():"Code can't be applied.")}),mr(()=>Ke(g()),()=>{z(u,g()?S(g()):null)}),Os(),zn();var x=t1(),F=A(x);{var T=O=>{var N=$P(),L=A(N);{var C=V=>{var R=ZP();R.__click=()=>{var Z;return(Z=k())==null?void 0:Z()};var $=A(R),ue=A($),pe=Y($,2),ne=A(pe);Hn(ne,{name:"close"}),X(()=>{R.disabled=v(),be(R,"aria-label",`Remove promo code ${o(u)}`),ke(ue,o(u))}),P(V,R)},D=V=>{var R=JP(),$=A(R),ue=A($);X(()=>ke(ue,o(u))),P(V,R)};G(L,V=>{w()?V(C):V(D,!1)})}var M=Y(L,2);{var U=V=>{var R=QP(),$=A(R);X(()=>ke($,`
323
+ ${_()??""}`)),P(V,R)};G(M,V=>{_()&&V(U)})}P(O,N)},j=O=>{var N=Ie(),L=ie(N);{var C=D=>{var M=r1(),U=A(M),V=A(U);let R;var $=A(V),ue=A($),pe=Y($,2);pe.__input=I,pe.__keydown=q;var ne=Y(V,2);let Z;ne.__click=()=>{var H;return(H=y())==null?void 0:H()};var B=A(ne),K=Y(U,2);{var ae=H=>{var de=e1(),se=A(de),Ee=A(se);Hn(Ee,{name:"warning"});var Le=Y(se,2),Me=A(Le);X(()=>ke(Me,o(c))),P(H,de)};G(K,H=>{f()&&H(ae)})}X((H,de)=>{R=_r(V,1,"rcb-discount-field svelte-56pxsq",null,R,{"rcb-discount-field--focused":o(b),"rcb-discount-field--floating":o(s)}),ke(ue,H),be(pe,"aria-invalid",!!f()),pe.disabled=v()||!w(),Z=_r(ne,1,"rcb-discount-action-button svelte-56pxsq",null,Z,{"rcb-discount-action-button--enabled":o(l)}),ne.disabled=de,ke(B,v()?"Applying...":"Apply")},[()=>(t(),Ke(ce),He(()=>t().translate(ce.DiscountInputLabel))),()=>(Ke(v()),Ke(w()),Ke(p()),He(()=>v()||!w()||!p().trim()))]),jr("focus",pe,()=>z(b,!0)),jr("blur",pe,()=>z(b,!1)),Kf(pe,p),P(D,M)};G(L,D=>{d()&&D(C)},!0)}P(O,N)};G(F,O=>{g()?O(T):O(j,!1)})}P(r,x),he(),a()}_n(["click","input","keydown"]);var a1=W('<div class="rcb-pricing-dropdown svelte-v5skdw"><div class="rcb-pricing-dropdown-header svelte-v5skdw" tabindex="0" role="button"><!> <span class="rcb-pricing-dropdown-toggle svelte-v5skdw"><!></span></div> <div><div class="rcb-pricing-dropdown-content-inner svelte-v5skdw"><!></div></div></div>');const o1={hash:"svelte-v5skdw",code:`.rcb-pricing-dropdown.svelte-v5skdw {width:100%;overflow:hidden;display:flex;flex-direction:column;}.rcb-pricing-dropdown-header.svelte-v5skdw {padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);padding-left:var(--rc-spacing-gapLarge-mobile);padding-right:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-light);border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;display:inline-flex;align-items:center;background-color:var(--rc-color-grey-ui-light);width:fit-content;user-select:none;}.rcb-pricing-dropdown-toggle.svelte-v5skdw {display:flex;align-items:center;margin-left:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-dropdown-content.svelte-v5skdw {display:flex;flex-direction:column;overflow:hidden;}
317
324
 
318
325
  @container layout-query-container (width < 768px) {.rcb-pricing-dropdown-content.svelte-v5skdw {max-height:1000px; /* Set a large max-height for animation */transition:max-height 0.2s ease-in-out;}.rcb-pricing-dropdown-content.collapsed.svelte-v5skdw {max-height:0;}.rcb-pricing-dropdown-content-inner.svelte-v5skdw {padding-top:var(--rc-spacing-gapMedium-mobile);}
319
326
  }
320
327
 
321
328
  @container layout-query-container (width >= 768px) {.rcb-pricing-dropdown-header.svelte-v5skdw {display:none;}
322
- }`};function jP(r,e){fe(e,!1),Pe(r,qP);const t=()=>ge(c,"$translator",n),[n,a]=He();let i=J(e,"isExpanded",12,!0),s=J(e,"showDiscountCodeField",8,!1),l=J(e,"children",8);const c=Xe(vr);function u(){i(!i())}An();var d=zP(),p=D(d),g=D(p);ze(g,{size:"label-default",children:(E,S)=>{var I=Se(),F=se(I);{var x=T=>{var N=Oe();X(L=>be(N,L),[()=>(t(),We(de),Ue(()=>t().translate(de.PricingDropdownHideDetails)))]),P(T,N)},q=T=>{var N=Se(),L=se(N);{var O=C=>{var A=Oe();X(M=>be(A,M),[()=>(t(),We(de),Ue(()=>t().translate(de.PricingDropdownAddPromoCode)))]),P(C,A)},j=C=>{var A=Oe();X(M=>be(A,M),[()=>(t(),We(de),Ue(()=>t().translate(de.PricingDropdownShowDetails)))]),P(C,A)};G(L,C=>{s()?C(O):C(j,!1)},!0)}P(T,N)};G(F,T=>{i()?T(x):T(q,!1)})}P(E,I)},$$slots:{default:!0}});var _=Y(g,2),f=D(_);{var v=E=>{Wn(E,{name:"chevron-up"})},y=E=>{Wn(E,{name:"chevron-down"})};G(f,E=>{i()?E(v):E(y,!1)})}var h=Y(p,2);let b;var k=D(h),w=D(k);wr(w,()=>l()??er),X(()=>{we(p,"aria-expanded",i()),b=pr(h,1,"rcb-pricing-dropdown-content svelte-v5skdw",null,b,{collapsed:!i()})}),Or("click",p,u),Or("keydown",p,E=>E.key==="Enter"||E.key===" "?u():null),P(r,d),me(),a()}var LP=W('<div class="rcb-pricing-table-value-loading svelte-w1kcbi"><!></div>');const OP={hash:"svelte-w1kcbi",code:`.rcb-pricing-table-value-loading.svelte-w1kcbi {color:transparent;
329
+ }`};function i1(r,e){me(e,!1),Pe(r,o1);const t=()=>ge(c,"$translator",n),[n,a]=Ve();let i=J(e,"isExpanded",12,!0),s=J(e,"showDiscountCodeField",8,!1),l=J(e,"children",8);const c=Ze(yr);function u(){i(!i())}zn();var d=a1(),p=A(d),g=A(p);ze(g,{size:"label-default",children:(E,S)=>{var I=Ie(),q=ie(I);{var x=T=>{var j=Re();X(O=>ke(j,O),[()=>(t(),Ke(ce),He(()=>t().translate(ce.PricingDropdownHideDetails)))]),P(T,j)},F=T=>{var j=Ie(),O=ie(j);{var N=C=>{var D=Re();X(M=>ke(D,M),[()=>(t(),Ke(ce),He(()=>t().translate(ce.PricingDropdownAddPromoCode)))]),P(C,D)},L=C=>{var D=Re();X(M=>ke(D,M),[()=>(t(),Ke(ce),He(()=>t().translate(ce.PricingDropdownShowDetails)))]),P(C,D)};G(O,C=>{s()?C(N):C(L,!1)},!0)}P(T,j)};G(q,T=>{i()?T(x):T(F,!1)})}P(E,I)},$$slots:{default:!0}});var _=Y(g,2),f=A(_);{var v=E=>{Hn(E,{name:"chevron-up"})},w=E=>{Hn(E,{name:"chevron-down"})};G(f,E=>{i()?E(v):E(w,!1)})}var h=Y(p,2);let y;var k=A(h),b=A(k);wr(b,()=>l()??tr),X(()=>{be(p,"aria-expanded",i()),y=_r(h,1,"rcb-pricing-dropdown-content svelte-v5skdw",null,y,{collapsed:!i()})}),jr("click",p,u),jr("keydown",p,E=>E.key==="Enter"||E.key===" "?u():null),P(r,d),he(),a()}var s1=W('<div class="rcb-pricing-table-value-loading svelte-w1kcbi"><!></div>');const l1={hash:"svelte-w1kcbi",code:`.rcb-pricing-table-value-loading.svelte-w1kcbi {color:transparent;
323
330
  animation: svelte-w1kcbi-rcb-pricing-table-value-loading 1.5s ease-in-out 0s infinite
324
331
  normal none running;cursor:progress;background-color:var(--rc-color-grey-text-dark);user-select:none;border-radius:var(--rc-shape-input-border-radius);}
325
332
 
@@ -331,18 +338,18 @@ but received
331
338
  50% {
332
339
  opacity: 0.3;
333
340
  }
334
- }`};function c_(r,e){Pe(r,OP);let t=J(e,"children",8);var n=LP(),a=D(n);wr(a,()=>t()??er),P(r,n)}var NP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-separator svelte-1cr4unj"></div>',1),BP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row rcb-pricing-table-row-applied-discount svelte-1cr4unj"><!> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>',1),RP=W('<div class="rcb-pricing-table-row svelte-1cr4unj" data-testid="tax-loading-skeleton"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),UP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"> </div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),VP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),WP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <!>',1),HP=W('<div class="rcb-pricing-table-separator svelte-1cr4unj"></div>'),YP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),GP=W('<div class="rcb-pricing-table svelte-1cr4unj"><!> <!> <!> <!> <!> <div class="rcb-pricing-table-row rcb-header svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div></div>');const KP={hash:"svelte-1cr4unj",code:`.rcb-pricing-table.svelte-1cr4unj {display:flex;flex-direction:column;gap:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-table-row.svelte-1cr4unj {display:flex;flex-direction:row;align-items:center;justify-content:space-between;}.rcb-pricing-table-row-applied-discount.svelte-1cr4unj {align-items:flex-end;}.rcb-pricing-table-separator.svelte-1cr4unj {height:1px;background-color:var(--rc-color-grey-ui-dark);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-header:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-light);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-dark);}.rcb-pricing-table-row.svelte-1cr4unj:last-child > .rcb-pricing-table-header:where(.svelte-1cr4unj),
341
+ }`};function d_(r,e){Pe(r,l1);let t=J(e,"children",8);var n=s1(),a=A(n);wr(a,()=>t()??tr),P(r,n)}var c1=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-separator svelte-1cr4unj"></div>',1),u1=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row rcb-pricing-table-row-applied-discount svelte-1cr4unj"><!> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>',1),d1=W('<div class="rcb-pricing-table-row svelte-1cr4unj" data-testid="tax-loading-skeleton"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),p1=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"> </div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),_1=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),g1=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <!>',1),f1=W('<div class="rcb-pricing-table-separator svelte-1cr4unj"></div>'),m1=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),h1=W('<div class="rcb-pricing-table svelte-1cr4unj"><!> <!> <!> <!> <!> <div class="rcb-pricing-table-row rcb-header svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div></div>');const v1={hash:"svelte-1cr4unj",code:`.rcb-pricing-table.svelte-1cr4unj {display:flex;flex-direction:column;gap:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-table-row.svelte-1cr4unj {display:flex;flex-direction:row;align-items:center;justify-content:space-between;}.rcb-pricing-table-row-applied-discount.svelte-1cr4unj {align-items:flex-end;}.rcb-pricing-table-separator.svelte-1cr4unj {height:1px;background-color:var(--rc-color-grey-ui-dark);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-header:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-light);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-dark);}.rcb-pricing-table-row.svelte-1cr4unj:last-child > .rcb-pricing-table-header:where(.svelte-1cr4unj),
335
342
  .rcb-pricing-table-row.svelte-1cr4unj:last-child > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-dark);}
336
343
 
337
344
  @container layout-query-container (width >= 768px) {.rcb-pricing-table-separator.svelte-1cr4unj {display:none;}.rcb-pricing-table.svelte-1cr4unj {gap:var(--rc-spacing-gapSmall-desktop);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-header:where(.svelte-1cr4unj),
338
345
  .rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-light);}
339
- }`};function XP(r,e){fe(e,!0),Pe(r,KP);const t=()=>ge(l,"$translator",n),[n,a]=He(),i=k=>{var w=GP(),E=D(w);{var S=V=>{var R=NP(),$=se(R),le=D($),_e=D(le),ae=D(_e);ze(ae,{size:"body-small",children:(qe,Me)=>{var Te=Oe();X(Ie=>be(Te,Ie),[()=>t().translate(de.PricingTableSubtotal)]),P(qe,Te)},$$slots:{default:!0}});var Z=Y(le,2),B=D(Z);ze(B,{size:"body-small",children:(qe,Me)=>{var Te=Oe();X(Ie=>be(Te,Ie),[()=>t().formatPrice(o(p),e.priceBreakdown.currency)]),P(qe,Te)},$$slots:{default:!0}});var K=Y($,2),oe=D(K),H=D(oe),pe=D(H);ze(pe,{size:"body-small",children:(qe,Me)=>{var Te=Oe();X(Ie=>be(Te,`${Ie??""}${e.resolvedDiscount.displayName?`: ${e.resolvedDiscount.displayName}`:""}${o(_)?` (${o(_)})`:""}`),[()=>t().translate(de.PricingTableDiscount)]),P(qe,Te)},$$slots:{default:!0}});var ue=Y(oe,2),Ee=D(ue);ze(Ee,{size:"body-small",children:(qe,Me)=>{var Te=Oe();X(Ie=>be(Te,`-${Ie??""}`),[()=>t().formatPrice(o(g),e.priceBreakdown.currency)]),P(qe,Te)},$$slots:{default:!0}}),P(V,R)};G(E,V=>{e.resolvedDiscount&&!e.showDiscountCodeField&&V(S)})}var I=Y(E,2);{var F=V=>{var R=Se(),$=se(R);{var le=ae=>{l_(ae,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(_)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}})},_e=ae=>{var Z=BP(),B=se(Z),K=D(B),oe=D(K),H=D(oe);ze(H,{size:"body-small",children:(Ie,Be)=>{var Ye=Oe();X(ie=>be(Ye,ie),[()=>t().translate(de.PricingTableSubtotal)]),P(Ie,Ye)},$$slots:{default:!0}});var pe=Y(K,2),ue=D(pe);ze(ue,{size:"body-small",children:(Ie,Be)=>{var Ye=Oe();X(ie=>be(Ye,ie),[()=>t().formatPrice(o(p),e.priceBreakdown.currency)]),P(Ie,Ye)},$$slots:{default:!0}});var Ee=Y(B,2),qe=D(Ee);l_(qe,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(_)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}});var Me=Y(qe,2),Te=D(Me);ze(Te,{size:"body-small",children:(Ie,Be)=>{var Ye=Oe();X(ie=>be(Ye,`-${ie??""}`),[()=>t().formatPrice(o(g),e.priceBreakdown.currency)]),P(Ie,Ye)},$$slots:{default:!0}}),P(ae,Z)};G($,ae=>{e.appliedDiscountCode?ae(_e,!1):ae(le)})}P(V,R)};G(I,V=>{e.showDiscountCodeField&&V(F)})}var x=Y(I,2);{var q=V=>{var R=WP(),$=se(R),le=D($),_e=D(le);ze(_e,{size:"body-small",children:(H,pe)=>{var ue=Oe();X(Ee=>be(ue,Ee),[()=>t().translate(de.PricingTotalExcludingTax)]),P(H,ue)},$$slots:{default:!0}});var ae=Y(le,2),Z=D(ae);ze(Z,{size:"body-small",children:(H,pe)=>{var ue=Se(),Ee=se(ue);{var qe=Te=>{c_(Te,{children:(Ie,Be)=>{var Ye=Oe();X(ie=>be(Ye,ie),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),P(Ie,Ye)},$$slots:{default:!0}})},Me=Te=>{var Ie=Oe();X(Be=>be(Ie,Be),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),P(Te,Ie)};G(Ee,Te=>{e.priceBreakdown.taxCalculationStatus==="loading"?Te(qe):Te(Me,!1)})}P(H,ue)},$$slots:{default:!0}});var B=Y($,2);{var K=H=>{var pe=RP(),ue=D(pe),Ee=D(ue);ze(Ee,{size:"body-small",children:(Te,Ie)=>{var Be=Oe();X(Ye=>be(Be,Ye),[()=>t().translate(de.PricingTableTax)]),P(Te,Be)},$$slots:{default:!0}});var qe=Y(ue,2),Me=D(qe);ze(Me,{size:"body-small",children:(Te,Ie)=>{c_(Te,{children:(Be,Ye)=>{var ie=Oe();X(ye=>be(ie,ye),[()=>t().formatPrice(1234e4,e.priceBreakdown.currency)]),P(Be,ie)},$$slots:{default:!0}})},$$slots:{default:!0}}),P(H,pe)},oe=H=>{var pe=Se(),ue=se(pe);{var Ee=Me=>{var Te=UP(),Ie=D(Te),Be=D(Ie),Ye=Y(Ie,2),ie=D(Ye);ze(ie,{size:"body-small",children:(ye,ne)=>{var Ce=Oe();X(Ke=>be(Ce,Ke),[()=>t().translate(de.PricingTableEnterBillingAddressToCalculate)]),P(ye,Ce)},$$slots:{default:!0}}),X(ye=>be(Be,ye),[()=>t().translate(de.PricingTableTax)]),P(Me,Te)},qe=Me=>{var Te=Se(),Ie=se(Te);{var Be=Ye=>{var ie=Se(),ye=se(ie);Gt(ye,17,()=>e.priceBreakdown.taxBreakdown,gn,(ne,Ce)=>{var Ke=VP(),nr=D(Ke),yr=D(nr);ze(yr,{size:"body-small",children:(Re,hr)=>{var fr=Oe();X(()=>be(fr,o(Ce).display_name)),P(Re,fr)},$$slots:{default:!0}});var Ne=Y(nr,2),ce=D(Ne);ze(ce,{size:"body-small",children:(Re,hr)=>{var fr=Oe();X(Br=>be(fr,Br),[()=>t().formatPrice(o(Ce).tax_amount_in_micros,e.priceBreakdown.currency)]),P(Re,fr)},$$slots:{default:!0}}),P(ne,Ke)}),P(Ye,ie)};G(Ie,Ye=>{e.priceBreakdown.taxBreakdown!==null&&Ye(Be)},!0)}P(Me,Te)};G(ue,Me=>{e.priceBreakdown.taxCalculationStatus==="pending"?Me(Ee):Me(qe,!1)},!0)}P(H,pe)};G(B,H=>{e.priceBreakdown.taxCalculationStatus==="loading"?H(K):H(oe,!1)})}P(V,R)};G(x,V=>{o(u)&&V(q)})}var T=Y(x,2);{var N=V=>{var R=HP();P(V,R)};G(T,V=>{(o(u)||e.appliedDiscountCode)&&V(N)})}var L=Y(T,2);{var O=V=>{var R=YP(),$=D(R),le=D($);ze(le,{size:"body-small",children:(Z,B)=>{var K=Oe();X(oe=>be(K,oe),[()=>t().translate(de.PricingTableTrialEnds,{formattedTrialEndDate:t().translateDate(o(s),{dateStyle:"medium"})})]),P(Z,K)},$$slots:{default:!0}});var _e=Y($,2),ae=D(_e);ze(ae,{size:"body-small",children:(Z,B)=>{var K=Oe();X(oe=>be(K,oe),[()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)]),P(Z,K)},$$slots:{default:!0}}),P(V,R)};G(L,V=>{o(s)&&V(O)})}var j=Y(L,2),C=D(j),A=D(C);ze(A,{size:"body-small",children:(V,R)=>{var $=Oe();X(le=>be($,le),[()=>t().translate(de.PricingTableTotalDueToday)]),P(V,$)},$$slots:{default:!0}});var M=Y(C,2),U=D(M);ze(U,{size:"body-small",children:(V,R)=>{var $=Oe();X(le=>be($,le),[()=>t().formatPrice(o(f),e.priceBreakdown.currency)]),P(V,$)},$$slots:{default:!0}}),P(k,w)},s=m(()=>{var k;return(k=e.trialPhase)!=null&&k.period?Io(new Date,e.trialPhase.period,!0):null}),l=Xe(vr),c=m(()=>e.priceBreakdown.taxCalculationStatus==="loading"||e.priceBreakdown.taxCalculationStatus==="pending"),u=m(()=>{var k;return e.priceBreakdown.taxCalculationStatus!=="unavailable"&&e.priceBreakdown.taxCalculationStatus!=="disabled"&&(o(c)||(((k=e.priceBreakdown.taxBreakdown)==null?void 0:k.length)??0)>0)}),d=m(()=>e.showDiscountCodeField||o(u)),p=m(()=>{var k,w;return e.priceBreakdown.originalAmountInMicros??((w=(k=e.basePhase)==null?void 0:k.price)==null?void 0:w.amountMicros)??e.priceBreakdown.totalAmountInMicros}),g=m(()=>{var k;return((k=e.resolvedDiscount)==null?void 0:k.discountAmountInMicros)??0}),_=m(()=>{var k;return((k=e.resolvedDiscount)==null?void 0:k.suffix)??null}),f=m(()=>o(s)?0:e.priceBreakdown.totalAmountInMicros);var v=Se(),y=se(v);{var h=k=>{jP(k,{get showDiscountCodeField(){return e.showDiscountCodeField},children:(w,E)=>{i(w)},$$slots:{default:!0}})},b=k=>{i(k)};G(y,k=>{o(d)?k(h):k(b,!1)})}P(r,v),me(),a()}var ZP=W('<div class="rcb-subscribe-to svelte-sdtx9l"><!></div>'),JP=W('<span class="rcb-product-description svelte-sdtx9l"><!></span>'),QP=W('<div class="rcb-pricing-info-header svelte-sdtx9l"><!> <div class="rcb-product-title svelte-sdtx9l"><!></div> <!></div>');const $P={hash:"svelte-sdtx9l",code:`.rcb-pricing-info-header.svelte-sdtx9l {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-product-title.svelte-sdtx9l {color:var(--rc-color-grey-text-dark);}.rcb-product-description.svelte-sdtx9l {color:var(--rc-color-grey-text-light);}.rcb-subscribe-to.svelte-sdtx9l {display:none;}
346
+ }`};function y1(r,e){me(e,!0),Pe(r,v1);const t=()=>ge(l,"$translator",n),[n,a]=Ve(),i=k=>{var b=h1(),E=A(b);{var S=V=>{var R=c1(),$=ie(R),ue=A($),pe=A(ue),ne=A(pe);ze(ne,{size:"body-small",children:(Le,Me)=>{var Te=Re();X(Ce=>ke(Te,Ce),[()=>t().translate(ce.PricingTableSubtotal)]),P(Le,Te)},$$slots:{default:!0}});var Z=Y(ue,2),B=A(Z);ze(B,{size:"body-small",children:(Le,Me)=>{var Te=Re();X(Ce=>ke(Te,Ce),[()=>t().formatPrice(o(p),e.priceBreakdown.currency)]),P(Le,Te)},$$slots:{default:!0}});var K=Y($,2),ae=A(K),H=A(ae),de=A(H);ze(de,{size:"body-small",children:(Le,Me)=>{var Te=Re();X(Ce=>ke(Te,`${Ce??""}${e.resolvedDiscount.displayName?`: ${e.resolvedDiscount.displayName}`:""}${o(_)?` (${o(_)})`:""}`),[()=>t().translate(ce.PricingTableDiscount)]),P(Le,Te)},$$slots:{default:!0}});var se=Y(ae,2),Ee=A(se);ze(Ee,{size:"body-small",children:(Le,Me)=>{var Te=Re();X(Ce=>ke(Te,`-${Ce??""}`),[()=>t().formatPrice(o(g),e.priceBreakdown.currency)]),P(Le,Te)},$$slots:{default:!0}}),P(V,R)};G(E,V=>{e.resolvedDiscount&&!e.showDiscountCodeField&&V(S)})}var I=Y(E,2);{var q=V=>{var R=Ie(),$=ie(R);{var ue=ne=>{u_(ne,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(_)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}})},pe=ne=>{var Z=u1(),B=ie(Z),K=A(B),ae=A(K),H=A(ae);ze(H,{size:"body-small",children:(Ce,We)=>{var Ye=Re();X(_e=>ke(Ye,_e),[()=>t().translate(ce.PricingTableSubtotal)]),P(Ce,Ye)},$$slots:{default:!0}});var de=Y(K,2),se=A(de);ze(se,{size:"body-small",children:(Ce,We)=>{var Ye=Re();X(_e=>ke(Ye,_e),[()=>t().formatPrice(o(p),e.priceBreakdown.currency)]),P(Ce,Ye)},$$slots:{default:!0}});var Ee=Y(B,2),Le=A(Ee);u_(Le,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(_)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}});var Me=Y(Le,2),Te=A(Me);ze(Te,{size:"body-small",children:(Ce,We)=>{var Ye=Re();X(_e=>ke(Ye,`-${_e??""}`),[()=>t().formatPrice(o(g),e.priceBreakdown.currency)]),P(Ce,Ye)},$$slots:{default:!0}}),P(ne,Z)};G($,ne=>{e.appliedDiscountCode?ne(pe,!1):ne(ue)})}P(V,R)};G(I,V=>{e.showDiscountCodeField&&V(q)})}var x=Y(I,2);{var F=V=>{var R=g1(),$=ie(R),ue=A($),pe=A(ue);ze(pe,{size:"body-small",children:(H,de)=>{var se=Re();X(Ee=>ke(se,Ee),[()=>t().translate(ce.PricingTotalExcludingTax)]),P(H,se)},$$slots:{default:!0}});var ne=Y(ue,2),Z=A(ne);ze(Z,{size:"body-small",children:(H,de)=>{var se=Ie(),Ee=ie(se);{var Le=Te=>{d_(Te,{children:(Ce,We)=>{var Ye=Re();X(_e=>ke(Ye,_e),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),P(Ce,Ye)},$$slots:{default:!0}})},Me=Te=>{var Ce=Re();X(We=>ke(Ce,We),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),P(Te,Ce)};G(Ee,Te=>{e.priceBreakdown.taxCalculationStatus==="loading"?Te(Le):Te(Me,!1)})}P(H,se)},$$slots:{default:!0}});var B=Y($,2);{var K=H=>{var de=d1(),se=A(de),Ee=A(se);ze(Ee,{size:"body-small",children:(Te,Ce)=>{var We=Re();X(Ye=>ke(We,Ye),[()=>t().translate(ce.PricingTableTax)]),P(Te,We)},$$slots:{default:!0}});var Le=Y(se,2),Me=A(Le);ze(Me,{size:"body-small",children:(Te,Ce)=>{d_(Te,{children:(We,Ye)=>{var _e=Re();X(Se=>ke(_e,Se),[()=>t().formatPrice(1234e4,e.priceBreakdown.currency)]),P(We,_e)},$$slots:{default:!0}})},$$slots:{default:!0}}),P(H,de)},ae=H=>{var de=Ie(),se=ie(de);{var Ee=Me=>{var Te=p1(),Ce=A(Te),We=A(Ce),Ye=Y(Ce,2),_e=A(Ye);ze(_e,{size:"body-small",children:(Se,le)=>{var fe=Re();X(je=>ke(fe,je),[()=>t().translate(ce.PricingTableEnterBillingAddressToCalculate)]),P(Se,fe)},$$slots:{default:!0}}),X(Se=>ke(We,Se),[()=>t().translate(ce.PricingTableTax)]),P(Me,Te)},Le=Me=>{var Te=Ie(),Ce=ie(Te);{var We=Ye=>{var _e=Ie(),Se=ie(_e);Kt(Se,17,()=>e.priceBreakdown.taxBreakdown,gn,(le,fe)=>{var je=_1(),Ue=A(je),Er=A(Ue);ze(Er,{size:"body-small",children:(Be,hr)=>{var fr=Re();X(()=>ke(fr,o(fe).display_name)),P(Be,fr)},$$slots:{default:!0}});var qe=Y(Ue,2),oe=A(qe);ze(oe,{size:"body-small",children:(Be,hr)=>{var fr=Re();X(Ur=>ke(fr,Ur),[()=>t().formatPrice(o(fe).tax_amount_in_micros,e.priceBreakdown.currency)]),P(Be,fr)},$$slots:{default:!0}}),P(le,je)}),P(Ye,_e)};G(Ce,Ye=>{e.priceBreakdown.taxBreakdown!==null&&Ye(We)},!0)}P(Me,Te)};G(se,Me=>{e.priceBreakdown.taxCalculationStatus==="pending"?Me(Ee):Me(Le,!1)},!0)}P(H,de)};G(B,H=>{e.priceBreakdown.taxCalculationStatus==="loading"?H(K):H(ae,!1)})}P(V,R)};G(x,V=>{o(u)&&V(F)})}var T=Y(x,2);{var j=V=>{var R=f1();P(V,R)};G(T,V=>{(o(u)||e.appliedDiscountCode)&&V(j)})}var O=Y(T,2);{var N=V=>{var R=m1(),$=A(R),ue=A($);ze(ue,{size:"body-small",children:(Z,B)=>{var K=Re();X(ae=>ke(K,ae),[()=>t().translate(ce.PricingTableTrialEnds,{formattedTrialEndDate:t().translateDate(o(s),{dateStyle:"medium"})})]),P(Z,K)},$$slots:{default:!0}});var pe=Y($,2),ne=A(pe);ze(ne,{size:"body-small",children:(Z,B)=>{var K=Re();X(ae=>ke(K,ae),[()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)]),P(Z,K)},$$slots:{default:!0}}),P(V,R)};G(O,V=>{o(s)&&V(N)})}var L=Y(O,2),C=A(L),D=A(C);ze(D,{size:"body-small",children:(V,R)=>{var $=Re();X(ue=>ke($,ue),[()=>t().translate(ce.PricingTableTotalDueToday)]),P(V,$)},$$slots:{default:!0}});var M=Y(C,2),U=A(M);ze(U,{size:"body-small",children:(V,R)=>{var $=Re();X(ue=>ke($,ue),[()=>t().formatPrice(o(f),e.priceBreakdown.currency)]),P(V,$)},$$slots:{default:!0}}),P(k,b)},s=m(()=>{var k;return(k=e.trialPhase)!=null&&k.period?Co(new Date,e.trialPhase.period,!0):null}),l=Ze(yr),c=m(()=>e.priceBreakdown.taxCalculationStatus==="loading"||e.priceBreakdown.taxCalculationStatus==="pending"),u=m(()=>{var k;return e.priceBreakdown.taxCalculationStatus!=="unavailable"&&e.priceBreakdown.taxCalculationStatus!=="disabled"&&(o(c)||(((k=e.priceBreakdown.taxBreakdown)==null?void 0:k.length)??0)>0)}),d=m(()=>e.showDiscountCodeField||o(u)),p=m(()=>{var k,b;return e.priceBreakdown.originalAmountInMicros??((b=(k=e.basePhase)==null?void 0:k.price)==null?void 0:b.amountMicros)??e.priceBreakdown.totalAmountInMicros}),g=m(()=>{var k;return((k=e.resolvedDiscount)==null?void 0:k.discountAmountInMicros)??0}),_=m(()=>{var k;return((k=e.resolvedDiscount)==null?void 0:k.suffix)??null}),f=m(()=>o(s)?0:e.priceBreakdown.totalAmountInMicros);var v=Ie(),w=ie(v);{var h=k=>{i1(k,{get showDiscountCodeField(){return e.showDiscountCodeField},children:(b,E)=>{i(b)},$$slots:{default:!0}})},y=k=>{i(k)};G(w,k=>{o(d)?k(h):k(y,!1)})}P(r,v),he(),a()}var b1=W('<div class="rcb-subscribe-to svelte-sdtx9l"><!></div>'),k1=W('<span class="rcb-product-description svelte-sdtx9l"><!></span>'),w1=W('<div class="rcb-pricing-info-header svelte-sdtx9l"><!> <div class="rcb-product-title svelte-sdtx9l"><!></div> <!></div>');const P1={hash:"svelte-sdtx9l",code:`.rcb-pricing-info-header.svelte-sdtx9l {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-product-title.svelte-sdtx9l {color:var(--rc-color-grey-text-dark);}.rcb-product-description.svelte-sdtx9l {color:var(--rc-color-grey-text-light);}.rcb-subscribe-to.svelte-sdtx9l {display:none;}
340
347
 
341
348
  @container layout-query-container (width >= 768px) {.rcb-subscribe-to.svelte-sdtx9l {display:block;}.rcb-pricing-info-header.svelte-sdtx9l {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-desktop);}
342
- }`};function e1(r,e){fe(e,!1),Pe(r,$P);let t=J(e,"productDetails",8),n=J(e,"showProductDescription",8);const a=t().productType===Xr.Subscription;An();var i=QP(),s=D(i);{var l=g=>{var _=ZP(),f=D(_);ze(f,{size:"body-base",children:(v,y)=>{{let h=Sn(()=>(We(t()),Ue(()=>({productTitle:t().title}))));mt(v,{get key(){return We(de),Ue(()=>de.ProductInfoSubscribeTo)},get variables(){return o(h)}})}},$$slots:{default:!0}}),P(g,_)};G(s,g=>{a&&g(l)})}var c=Y(s,2),u=D(c);ze(u,{size:"heading-lg",branded:!0,children:(g,_)=>{{let f=Sn(()=>(We(t()),Ue(()=>({productTitle:t().title}))));mt(g,{get key(){return We(de),Ue(()=>de.ProductInfoProductTitle)},get variables(){return o(f)}})}},$$slots:{default:!0}});var d=Y(c,2);{var p=g=>{var _=JP(),f=D(_);ze(f,{size:"body-small",children:(v,y)=>{{let h=Sn(()=>(We(t()),Ue(()=>({productDescription:t().description}))));mt(v,{get key(){return We(de),Ue(()=>de.ProductInfoProductDescription)},get variables(){return o(h)}})}},$$slots:{default:!0}}),P(g,_)};G(d,g=>{We(n()),We(t()),Ue(()=>n()&&t().description)&&g(p)})}P(r,i),me()}var r1=W("<div><!></div>"),t1=W("<div><!> <!></div>"),n1=W('<div class="rcb-product-price-container svelte-17etw2v"><!> <!> <div><!> <!> <!></div></div>');const a1={hash:"svelte-17etw2v",code:".rcb-product-price-container.svelte-17etw2v {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}"};function o1(r,e){fe(e,!0),Pe(r,a1);const t=()=>ge(i,"$translator",n),[n,a]=He(),i=Xe(vr),s=m(()=>{var O;return!!((O=e.trialPhase)!=null&&O.periodDuration)}),l=m(()=>{var O;return((O=e.introPricePhase)==null?void 0:O.cycleCount)===1}),c=m(()=>!!e.introPricePhase),u=m(()=>{var O;return!!e.discountPhase||(((O=e.priceBreakdown.appliedDiscounts)==null?void 0:O.length)??0)>0}),d=m(()=>{var C,A;if(!o(c)||!((C=e.introPricePhase)!=null&&C.period))return"";const O=e.introPricePhase.period.number*((A=e.introPricePhase)==null?void 0:A.cycleCount),j=e.introPricePhase.period.unit;return O==null||j==null?"":O===1&&!o(s)&&t().selectedLocale===Yr?t().translatePeriodUnit(j)||"":t().translatePeriod(O,j)||""}),p=m(()=>{var O,j;return(O=e.introPricePhase)!=null&&O.period?o(l)?t().translate(de.ProductInfoIntroPricePhasePaidOnce):e.introPricePhase&&((j=e.introPricePhase)!=null&&j.period)&&t().translatePeriodFrequency(e.introPricePhase.period.number,e.introPricePhase.period.unit,{useMultipleWords:!0})||"":""}),g=m(()=>o(s)?de.ProductInfoIntroPricePhaseAfterTrial:de.ProductInfoIntroPricePhase),_=m(()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)),f=m(()=>{var j,C;const O=e.introPricePhase||o(u)?((C=(j=e.basePhase)==null?void 0:j.price)==null?void 0:C.amountMicros)??0:e.priceBreakdown.totalAmountInMicros;return t().formatPrice(O,e.priceBreakdown.currency)}),v=m(()=>o(c)?de.ProductInfoAfter:o(s)?de.ProductInfoAfterTrial:null),y="heading-lg",h=m(()=>o(s)?"heading-md":"heading-lg"),b=m(()=>o(s)||o(c)?"heading-md":"heading-lg");var k=n1(),w=D(k);{var E=O=>{var j=r1(),C=D(j);ze(C,{size:y,children:(A,M)=>{{let U=m(()=>({trialDuration:qm(e.trialPhase.periodDuration,t())}));mt(A,{get key(){return de.ProductInfoFreeTrialDuration},get variables(){return o(U)}})}},$$slots:{default:!0}}),P(O,j)};G(w,O=>{o(s)&&O(E)})}var S=Y(w,2);{var I=O=>{var j=t1(),C=D(j);ze(C,{get size(){return o(h)},children:(U,V)=>{{let R=m(()=>({introPriceDuration:o(d),introPrice:o(_)}));mt(U,{get key(){return o(g)},get variables(){return o(R)}})}},$$slots:{default:!0}});var A=Y(C,2);{var M=U=>{ze(U,{size:"body-small",children:(V,R)=>{var $=Oe();X(()=>be($,o(p))),P(V,$)},$$slots:{default:!0}})};G(A,U=>{o(p)&&U(M)})}P(O,j)};G(S,O=>{o(c)&&O(I)})}var F=Y(S,2),x=D(F);ze(x,{get size(){return o(b)},children:(O,j)=>{var C=Oe();X(()=>be(C,o(f))),P(O,C)},$$slots:{default:!0}});var q=Y(x,2);{var T=O=>{ze(O,{size:"body-small",children:(j,C)=>{var A=Oe();X(M=>be(A,M),[()=>t().translatePeriodFrequency(e.basePhase.period.number,e.basePhase.period.unit,{useMultipleWords:!0})]),P(j,A)},$$slots:{default:!0}})};G(q,O=>{var j;(j=e.basePhase)!=null&&j.period&&O(T)})}var N=Y(q,2);{var L=O=>{ze(O,{size:"body-small",children:(j,C)=>{mt(j,{get key(){return o(v)}})},$$slots:{default:!0}})};G(N,O=>{o(v)&&O(L)})}P(r,k),me(),a()}var i1=W("<div><!></div>");function s1(r,e){fe(e,!0);const t=()=>ge(i,"$translator",n),[n,a]=He(),i=Xe(vr),s=m(()=>{var d,p;return t().formatPrice(((p=(d=e.basePhase)==null?void 0:d.price)==null?void 0:p.amountMicros)??0,e.priceBreakdown.currency)}),l="heading-lg";var c=i1(),u=D(c);ze(u,{size:l,children:(d,p)=>{var g=Oe();X(()=>be(g,o(s))),P(d,g)},$$slots:{default:!0}}),P(r,c),me(),a()}var l1=W('<div class="rcb-pricing-info svelte-1jzyaxi"><div class="rcb-pricing-info-header svelte-1jzyaxi"><!> <!></div> <!></div>');const c1={hash:"svelte-1jzyaxi",code:`.rcb-pricing-info.svelte-1jzyaxi {display:flex;flex-direction:column;user-select:none;gap:var(--rc-spacing-gapXXLarge-mobile);}.rcb-pricing-info-header.svelte-1jzyaxi {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}
349
+ }`};function x1(r,e){me(e,!1),Pe(r,P1);let t=J(e,"productDetails",8),n=J(e,"showProductDescription",8);const a=t().productType===Zr.Subscription;zn();var i=w1(),s=A(i);{var l=g=>{var _=b1(),f=A(_);ze(f,{size:"body-base",children:(v,w)=>{{let h=Dn(()=>(Ke(t()),He(()=>({productTitle:t().title}))));ht(v,{get key(){return Ke(ce),He(()=>ce.ProductInfoSubscribeTo)},get variables(){return o(h)}})}},$$slots:{default:!0}}),P(g,_)};G(s,g=>{a&&g(l)})}var c=Y(s,2),u=A(c);ze(u,{size:"heading-lg",branded:!0,children:(g,_)=>{{let f=Dn(()=>(Ke(t()),He(()=>({productTitle:t().title}))));ht(g,{get key(){return Ke(ce),He(()=>ce.ProductInfoProductTitle)},get variables(){return o(f)}})}},$$slots:{default:!0}});var d=Y(c,2);{var p=g=>{var _=k1(),f=A(_);ze(f,{size:"body-small",children:(v,w)=>{{let h=Dn(()=>(Ke(t()),He(()=>({productDescription:t().description}))));ht(v,{get key(){return Ke(ce),He(()=>ce.ProductInfoProductDescription)},get variables(){return o(h)}})}},$$slots:{default:!0}}),P(g,_)};G(d,g=>{Ke(n()),Ke(t()),He(()=>n()&&t().description)&&g(p)})}P(r,i),he()}var E1=W("<div><!></div>"),S1=W("<div><!> <!></div>"),I1=W('<div class="rcb-product-price-container svelte-17etw2v"><!> <!> <div><!> <!> <!></div></div>');const C1={hash:"svelte-17etw2v",code:".rcb-product-price-container.svelte-17etw2v {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}"};function T1(r,e){me(e,!0),Pe(r,C1);const t=()=>ge(i,"$translator",n),[n,a]=Ve(),i=Ze(yr),s=m(()=>{var N;return!!((N=e.trialPhase)!=null&&N.periodDuration)}),l=m(()=>{var N;return((N=e.introPricePhase)==null?void 0:N.cycleCount)===1}),c=m(()=>!!e.introPricePhase),u=m(()=>{var N;return!!e.discountPhase||(((N=e.priceBreakdown.appliedDiscounts)==null?void 0:N.length)??0)>0}),d=m(()=>{var C,D;if(!o(c)||!((C=e.introPricePhase)!=null&&C.period))return"";const N=e.introPricePhase.period.number*((D=e.introPricePhase)==null?void 0:D.cycleCount),L=e.introPricePhase.period.unit;return N==null||L==null?"":N===1&&!o(s)&&t().selectedLocale===Gr?t().translatePeriodUnit(L)||"":t().translatePeriod(N,L)||""}),p=m(()=>{var N,L;return(N=e.introPricePhase)!=null&&N.period?o(l)?t().translate(ce.ProductInfoIntroPricePhasePaidOnce):e.introPricePhase&&((L=e.introPricePhase)!=null&&L.period)&&t().translatePeriodFrequency(e.introPricePhase.period.number,e.introPricePhase.period.unit,{useMultipleWords:!0})||"":""}),g=m(()=>o(s)?ce.ProductInfoIntroPricePhaseAfterTrial:ce.ProductInfoIntroPricePhase),_=m(()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)),f=m(()=>{var L,C;const N=e.introPricePhase||o(u)?((C=(L=e.basePhase)==null?void 0:L.price)==null?void 0:C.amountMicros)??0:e.priceBreakdown.totalAmountInMicros;return t().formatPrice(N,e.priceBreakdown.currency)}),v=m(()=>o(c)?ce.ProductInfoAfter:o(s)?ce.ProductInfoAfterTrial:null),w="heading-lg",h=m(()=>o(s)?"heading-md":"heading-lg"),y=m(()=>o(s)||o(c)?"heading-md":"heading-lg");var k=I1(),b=A(k);{var E=N=>{var L=E1(),C=A(L);ze(C,{size:w,children:(D,M)=>{{let U=m(()=>({trialDuration:Nm(e.trialPhase.periodDuration,t())}));ht(D,{get key(){return ce.ProductInfoFreeTrialDuration},get variables(){return o(U)}})}},$$slots:{default:!0}}),P(N,L)};G(b,N=>{o(s)&&N(E)})}var S=Y(b,2);{var I=N=>{var L=S1(),C=A(L);ze(C,{get size(){return o(h)},children:(U,V)=>{{let R=m(()=>({introPriceDuration:o(d),introPrice:o(_)}));ht(U,{get key(){return o(g)},get variables(){return o(R)}})}},$$slots:{default:!0}});var D=Y(C,2);{var M=U=>{ze(U,{size:"body-small",children:(V,R)=>{var $=Re();X(()=>ke($,o(p))),P(V,$)},$$slots:{default:!0}})};G(D,U=>{o(p)&&U(M)})}P(N,L)};G(S,N=>{o(c)&&N(I)})}var q=Y(S,2),x=A(q);ze(x,{get size(){return o(y)},children:(N,L)=>{var C=Re();X(()=>ke(C,o(f))),P(N,C)},$$slots:{default:!0}});var F=Y(x,2);{var T=N=>{ze(N,{size:"body-small",children:(L,C)=>{var D=Re();X(M=>ke(D,M),[()=>t().translatePeriodFrequency(e.basePhase.period.number,e.basePhase.period.unit,{useMultipleWords:!0})]),P(L,D)},$$slots:{default:!0}})};G(F,N=>{var L;(L=e.basePhase)!=null&&L.period&&N(T)})}var j=Y(F,2);{var O=N=>{ze(N,{size:"body-small",children:(L,C)=>{ht(L,{get key(){return o(v)}})},$$slots:{default:!0}})};G(j,N=>{o(v)&&N(O)})}P(r,k),he(),a()}var D1=W("<div><!></div>");function A1(r,e){me(e,!0);const t=()=>ge(i,"$translator",n),[n,a]=Ve(),i=Ze(yr),s=m(()=>{var d,p;return t().formatPrice(((p=(d=e.basePhase)==null?void 0:d.price)==null?void 0:p.amountMicros)??0,e.priceBreakdown.currency)}),l="heading-lg";var c=D1(),u=A(c);ze(u,{size:l,children:(d,p)=>{var g=Re();X(()=>ke(g,o(s))),P(d,g)},$$slots:{default:!0}}),P(r,c),he(),a()}var F1=W('<div class="rcb-pricing-info svelte-1jzyaxi"><div class="rcb-pricing-info-header svelte-1jzyaxi"><!> <!></div> <!></div>');const M1={hash:"svelte-1jzyaxi",code:`.rcb-pricing-info.svelte-1jzyaxi {display:flex;flex-direction:column;user-select:none;gap:var(--rc-spacing-gapXXLarge-mobile);}.rcb-pricing-info-header.svelte-1jzyaxi {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}
343
350
 
344
351
  @container layout-query-container (width >= 768px) {.rcb-pricing-info.svelte-1jzyaxi {gap:var(--rc-spacing-gapXXXLarge-desktop);}.rcb-pricing-info-header.svelte-1jzyaxi {gap:var(--rc-spacing-gapLarge-desktop);}
345
- }`};function u1(r,e){fe(e,!1),Pe(r,c1);const t=()=>ge(q,"$translator",n),[n,a]=He(),i=ur();let s=J(e,"productDetails",8),l=J(e,"purchaseOption",8),c=J(e,"showProductDescription",8),u=J(e,"priceBreakdown",8),d=J(e,"showDiscountCodeField",8,!1),p=J(e,"discountCode",8,""),g=J(e,"appliedDiscountCode",8,null),_=J(e,"discountCodeError",8,null),f=J(e,"isUpdatingDiscountCode",8,!1),v=J(e,"isDiscountCodeControlsEnabled",8,!1),y=J(e,"onDiscountCodeChange",8,void 0),h=J(e,"onApplyDiscountCode",8,void 0),b=J(e,"onRemoveDiscountCode",8,void 0),k=ur(),w=ur(),E=ur(),S=ur(),I=ur(),F=ur(),x=ur();const q=Xe(vr);mr(()=>We(s()),()=>{z(k,s().productType==="subscription")}),mr(()=>(o(k),We(l())),()=>{z(w,o(k)?l():null)}),mr(()=>(o(k),We(l())),()=>{z(E,o(k)?null:l())}),mr(()=>(o(k),o(w),o(E)),()=>{var M,U;z(S,o(k)?((M=o(w))==null?void 0:M.base)??null:(U=o(E))!=null&&U.basePrice?{periodDuration:null,period:null,cycleCount:1,price:o(E).basePrice,pricePerWeek:null,pricePerMonth:null,pricePerYear:null}:null)}),mr(()=>o(w),()=>{var M;z(I,((M=o(w))==null?void 0:M.trial)??null)}),mr(()=>(o(w),o(E)),()=>{var M,U;z(F,((M=o(w))==null?void 0:M.discount)??((U=o(E))==null?void 0:U.discount)??null)}),mr(()=>o(w),()=>{var M;z(x,((M=o(w))==null?void 0:M.introPrice)??null)}),mr(()=>(We(u()),We(s()),We(l()),t()),()=>{z(i,tc({priceBreakdown:u(),productDetails:s(),purchaseOption:l(),translator:t()}))}),Ms(),An();var T=l1(),N=D(T),L=D(N);e1(L,{get productDetails(){return s()},get showProductDescription(){return c()}});var O=Y(L,2);{var j=M=>{o1(M,{get priceBreakdown(){return u()},get basePhase(){return o(S)},get trialPhase(){return o(I)},get discountPhase(){return o(F)},get introPricePhase(){return o(x)}})},C=M=>{s1(M,{get priceBreakdown(){return u()},get basePhase(){return o(S)}})};G(O,M=>{o(k)?M(j):M(C,!1)})}var A=Y(N,2);XP(A,{get priceBreakdown(){return u()},get trialPhase(){return o(I)},get basePhase(){return o(S)},get resolvedDiscount(){return o(i)},get showDiscountCodeField(){return d()},get discountCode(){return p()},get appliedDiscountCode(){return g()},get discountCodeError(){return _()},get isUpdatingDiscountCode(){return f()},get isDiscountCodeControlsEnabled(){return v()},get onDiscountCodeChange(){return y()},get onApplyDiscountCode(){return h()},get onRemoveDiscountCode(){return b()}}),P(r,T),me(),a()}const Xa=r=>`https://da08ctfrofx1b.cloudfront.net/${r}`;var d1=W("<div><!></div>");const p1={hash:"svelte-18ddpt0",code:`.rcb-ui-container.svelte-18ddpt0 {display:flex;flex-direction:column;inset:0;color-scheme:none;line-height:1.5em;font-family:-apple-system,
352
+ }`};function q1(r,e){me(e,!1),Pe(r,M1);const t=()=>ge(F,"$translator",n),[n,a]=Ve(),i=ur();let s=J(e,"productDetails",8),l=J(e,"purchaseOption",8),c=J(e,"showProductDescription",8),u=J(e,"priceBreakdown",8),d=J(e,"showDiscountCodeField",8,!1),p=J(e,"discountCode",8,""),g=J(e,"appliedDiscountCode",8,null),_=J(e,"discountCodeError",8,null),f=J(e,"isUpdatingDiscountCode",8,!1),v=J(e,"isDiscountCodeControlsEnabled",8,!1),w=J(e,"onDiscountCodeChange",8,void 0),h=J(e,"onApplyDiscountCode",8,void 0),y=J(e,"onRemoveDiscountCode",8,void 0),k=ur(),b=ur(),E=ur(),S=ur(),I=ur(),q=ur(),x=ur();const F=Ze(yr);mr(()=>Ke(s()),()=>{z(k,s().productType==="subscription")}),mr(()=>(o(k),Ke(l())),()=>{z(b,o(k)?l():null)}),mr(()=>(o(k),Ke(l())),()=>{z(E,o(k)?null:l())}),mr(()=>(o(k),o(b),o(E)),()=>{var M,U;z(S,o(k)?((M=o(b))==null?void 0:M.base)??null:(U=o(E))!=null&&U.basePrice?{periodDuration:null,period:null,cycleCount:1,price:o(E).basePrice,pricePerWeek:null,pricePerMonth:null,pricePerYear:null}:null)}),mr(()=>o(b),()=>{var M;z(I,((M=o(b))==null?void 0:M.trial)??null)}),mr(()=>(o(b),o(E)),()=>{var M,U;z(q,((M=o(b))==null?void 0:M.discount)??((U=o(E))==null?void 0:U.discount)??null)}),mr(()=>o(b),()=>{var M;z(x,((M=o(b))==null?void 0:M.introPrice)??null)}),mr(()=>(Ke(u()),Ke(s()),Ke(l()),t()),()=>{z(i,ac({priceBreakdown:u(),productDetails:s(),purchaseOption:l(),translator:t()}))}),Os(),zn();var T=F1(),j=A(T),O=A(j);x1(O,{get productDetails(){return s()},get showProductDescription(){return c()}});var N=Y(O,2);{var L=M=>{T1(M,{get priceBreakdown(){return u()},get basePhase(){return o(S)},get trialPhase(){return o(I)},get discountPhase(){return o(q)},get introPricePhase(){return o(x)}})},C=M=>{A1(M,{get priceBreakdown(){return u()},get basePhase(){return o(S)}})};G(N,M=>{o(k)?M(L):M(C,!1)})}var D=Y(j,2);y1(D,{get priceBreakdown(){return u()},get trialPhase(){return o(I)},get basePhase(){return o(S)},get resolvedDiscount(){return o(i)},get showDiscountCodeField(){return d()},get discountCode(){return p()},get appliedDiscountCode(){return g()},get discountCodeError(){return _()},get isUpdatingDiscountCode(){return f()},get isDiscountCodeControlsEnabled(){return v()},get onDiscountCodeChange(){return w()},get onApplyDiscountCode(){return h()},get onRemoveDiscountCode(){return y()}}),P(r,T),he(),a()}const Za=r=>`https://da08ctfrofx1b.cloudfront.net/${r}`;var z1=W("<div><!></div>");const L1={hash:"svelte-18ddpt0",code:`.rcb-ui-container.svelte-18ddpt0 {display:flex;flex-direction:column;inset:0;color-scheme:none;line-height:1.5em;font-family:-apple-system,
346
353
  BlinkMacSystemFont,
347
354
  avenir next,
348
355
  avenir,
@@ -354,27 +361,27 @@ but received
354
361
  roboto,
355
362
  noto,
356
363
  arial,
357
- sans-serif;overflow-x:hidden;overflow-y:auto;}.rcb-ui-container.fullscreen.svelte-18ddpt0 {position:fixed;top:0;left:0;right:0;bottom:0;overscroll-behavior:none;z-index:1000001;}.rcb-ui-container.inside.svelte-18ddpt0 {position:relative;width:100%;z-index:unset;height:100%;top:0;left:0;}`};function u_(r,e){fe(e,!0),Pe(r,p1);const t=J(e,"brandingAppearance",3,void 0),n=J(e,"brandFontConfig",3,void 0),a=J(e,"isInElement",3,!1),i=m(()=>new Vn(t()).getTextStyleVars(n())),s=m(()=>new Vn(t()).spacingStyleVars),l=m(()=>[o(i),o(s)].join("; ")),c=m(()=>{var _;return(_=n())!=null&&_.font_url?Xa(n().font_url):null}),u=async _=>{try{const f=new FontFace(Zp,`url(${_})`);await f.load(),document.fonts.add(f)}catch(f){console.error("Failed to set brand font:",f)}};gr(()=>{o(c)&&u(o(c))});var d=d1();let p;var g=D(d);wr(g,()=>e.children??er),X(()=>{p=pr(d,1,"rcb-ui-container svelte-18ddpt0",null,p,{fullscreen:!a(),inside:a()}),Ae(d,o(l))}),P(r,d),me()}var _1=W('<div id="layout-query-container" class="svelte-1ewgunr"><div class="rcb-ui-layout svelte-1ewgunr"><!></div></div>');const g1={hash:"svelte-1ewgunr",code:`#layout-query-container.svelte-1ewgunr {width:100%;height:100%;container-type:size;container-name:layout-query-container;overflow-y:auto;overscroll-behavior:none;}.rcb-ui-layout.svelte-1ewgunr {width:100%;min-height:100%;display:flex;box-sizing:border-box;flex-direction:column;overscroll-behavior:none;}
364
+ sans-serif;overflow-x:hidden;overflow-y:auto;}.rcb-ui-container.fullscreen.svelte-18ddpt0 {position:fixed;top:0;left:0;right:0;bottom:0;overscroll-behavior:none;z-index:1000001;}.rcb-ui-container.inside.svelte-18ddpt0 {position:relative;width:100%;z-index:unset;height:100%;top:0;left:0;}`};function p_(r,e){me(e,!0),Pe(r,L1);const t=J(e,"brandingAppearance",3,void 0),n=J(e,"brandFontConfig",3,void 0),a=J(e,"isInElement",3,!1),i=m(()=>new Wn(t()).getTextStyleVars(n())),s=m(()=>new Wn(t()).spacingStyleVars),l=m(()=>[o(i),o(s)].join("; ")),c=m(()=>{var _;return(_=n())!=null&&_.font_url?Za(n().font_url):null}),u=async _=>{try{const f=new FontFace(Qp,`url(${_})`);await f.load(),document.fonts.add(f)}catch(f){console.error("Failed to set brand font:",f)}};pr(()=>{o(c)&&u(o(c))});var d=z1();let p;var g=A(d);wr(g,()=>e.children??tr),X(()=>{p=_r(d,1,"rcb-ui-container svelte-18ddpt0",null,p,{fullscreen:!a(),inside:a()}),Ae(d,o(l))}),P(r,d),he()}var O1=W('<div id="layout-query-container" class="svelte-1ewgunr"><div class="rcb-ui-layout svelte-1ewgunr"><!></div></div>');const N1={hash:"svelte-1ewgunr",code:`#layout-query-container.svelte-1ewgunr {width:100%;height:100%;container-type:size;container-name:layout-query-container;overflow-y:auto;overscroll-behavior:none;}.rcb-ui-layout.svelte-1ewgunr {width:100%;min-height:100%;display:flex;box-sizing:border-box;flex-direction:column;overscroll-behavior:none;}
358
365
 
359
366
  @container layout-query-container (width < 768px) {.rcb-ui-layout.svelte-1ewgunr {flex-grow:1;}
360
367
  }
361
368
 
362
369
  @container layout-query-container (width >= 768px) {.rcb-ui-layout.svelte-1ewgunr {flex-direction:row;}
363
- }`};function f1(r,e){Pe(r,g1);let t=J(e,"style",8,""),n=J(e,"children",8);var a=_1(),i=D(a),s=D(i);wr(s,()=>n()??er),X(()=>Ae(i,t())),P(r,a)}const m1=r=>r;function h1(r){const e=r-1;return e*e*e+1}function d_(r){const e=typeof r=="string"&&r.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[r,"px"]}function v1(r,{delay:e=0,duration:t=400,easing:n=m1}={}){const a=+getComputedStyle(r).opacity;return{delay:e,duration:t,easing:n,css:i=>`opacity: ${i*a}`}}function y1(r,{delay:e=0,duration:t=400,easing:n=h1,x:a=0,y:i=0,opacity:s=0}={}){const l=getComputedStyle(r),c=+l.opacity,u=l.transform==="none"?"":l.transform,d=c*(1-s),[p,g]=d_(a),[_,f]=d_(i);return{delay:e,duration:t,easing:n,css:(v,y)=>`
370
+ }`};function j1(r,e){Pe(r,N1);let t=J(e,"style",8,""),n=J(e,"children",8);var a=O1(),i=A(a),s=A(i);wr(s,()=>n()??tr),X(()=>Ae(i,t())),P(r,a)}const B1=r=>r;function R1(r){const e=r-1;return e*e*e+1}function __(r){const e=typeof r=="string"&&r.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[r,"px"]}function U1(r,{delay:e=0,duration:t=400,easing:n=B1}={}){const a=+getComputedStyle(r).opacity;return{delay:e,duration:t,easing:n,css:i=>`opacity: ${i*a}`}}function V1(r,{delay:e=0,duration:t=400,easing:n=R1,x:a=0,y:i=0,opacity:s=0}={}){const l=getComputedStyle(r),c=+l.opacity,u=l.transform==="none"?"":l.transform,d=c*(1-s),[p,g]=__(a),[_,f]=__(i);return{delay:e,duration:t,easing:n,css:(v,w)=>`
364
371
  transform: ${u} translate(${(1-v)*p}${g}, ${(1-v)*_}${f});
365
- opacity: ${c-d*y}`}}var b1=W('<div><div class="layout-wrapper svelte-13h5jq9"><div><!></div></div></div>');const k1={hash:"svelte-13h5jq9",code:`.layout-wrapper-outer.svelte-13h5jq9 {flex:1;display:flex;background-color:var(--rc-color-background);}.layout-wrapper-outer.rcb-navbar.svelte-13h5jq9 {justify-content:flex-end;}.layout-wrapper.svelte-13h5jq9 {width:100%;}.layout-content.svelte-13h5jq9 {box-sizing:border-box;background-color:var(--rc-color-background);color:var(--rc-color-grey-text-dark);display:flex;flex-direction:column;}.layout-content.rcb-navbar.svelte-13h5jq9 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
372
+ opacity: ${c-d*w}`}}var W1=W('<div><div class="layout-wrapper svelte-13h5jq9"><div><!></div></div></div>');const H1={hash:"svelte-13h5jq9",code:`.layout-wrapper-outer.svelte-13h5jq9 {flex:1;display:flex;background-color:var(--rc-color-background);}.layout-wrapper-outer.rcb-navbar.svelte-13h5jq9 {justify-content:flex-end;}.layout-wrapper.svelte-13h5jq9 {width:100%;}.layout-content.svelte-13h5jq9 {box-sizing:border-box;background-color:var(--rc-color-background);color:var(--rc-color-grey-text-dark);display:flex;flex-direction:column;}.layout-content.rcb-navbar.svelte-13h5jq9 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
366
373
 
367
374
  @container layout-query-container (width < 768px) {.layout-wrapper.svelte-13h5jq9 {width:100%;min-width:300px;display:flex;flex-grow:1;}.layout-content.svelte-13h5jq9 {flex-grow:1;height:100%;}.layout-content.rcb-navbar.svelte-13h5jq9 {padding-bottom:var(--rc-spacing-outerPadding-mobile);}.layout-content.rcb-main-block.svelte-13h5jq9 {padding:var(--rc-spacing-outerPadding-mobile);}
368
375
  }
369
376
 
370
377
  @container layout-query-container (width >= 768px) {.layout-wrapper.svelte-13h5jq9 {flex-basis:544px;}.layout-content.rcb-main-block.svelte-13h5jq9 {padding-left:var(--rc-spacing-outerPadding-desktop);padding-right:var(--rc-spacing-outerPadding-desktop);}.layout-content.rcb-navbar.svelte-13h5jq9 {gap:var(--rc-spacing-gapXXLarge-desktop);}.layout-wrapper-outer.svelte-13h5jq9 {padding-top:var(--rc-spacing-outerPaddingTop-desktop);padding-bottom:var(--rc-spacing-outerPadding-desktop);}
371
- }`};function p_(r,e){Pe(r,k1);const t=`rcb-${e.location}`;var n=b1(),a=D(n),i=D(a),s=D(i);wr(s,()=>e.children??er),X(()=>{pr(n,1,`layout-wrapper-outer ${t}`,"svelte-13h5jq9"),pr(i,1,`layout-content ${t}`,"svelte-13h5jq9")}),ju(3,i,()=>v1,()=>({duration:500,delay:50})),P(r,n)}var w1=W('<div class="navbar-body svelte-191m2u3"><!></div>'),P1=W('<div class="navbar-header svelte-191m2u3"><!></div> <!>',1),x1=W('<div class="rcb-ui-navbar svelte-191m2u3"><!></div>');const E1={hash:"svelte-191m2u3",code:`.rcb-ui-navbar.svelte-191m2u3 {width:100%;max-width:none;flex-shrink:0;background-color:var(--rc-color-background);}
378
+ }`};function g_(r,e){Pe(r,H1);const t=`rcb-${e.location}`;var n=W1(),a=A(n),i=A(a),s=A(i);wr(s,()=>e.children??tr),X(()=>{_r(n,1,`layout-wrapper-outer ${t}`,"svelte-13h5jq9"),_r(i,1,`layout-content ${t}`,"svelte-13h5jq9")}),Nu(3,i,()=>U1,()=>({duration:500,delay:50})),P(r,n)}var Y1=W('<div class="navbar-body svelte-191m2u3"><!></div>'),G1=W('<div class="navbar-header svelte-191m2u3"><!></div> <!>',1),K1=W('<div class="rcb-ui-navbar svelte-191m2u3"><!></div>');const X1={hash:"svelte-191m2u3",code:`.rcb-ui-navbar.svelte-191m2u3 {width:100%;max-width:none;flex-shrink:0;background-color:var(--rc-color-background);}
372
379
 
373
380
  @container layout-query-container (width < 768px) {.navbar-body.svelte-191m2u3 {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
374
381
  }
375
382
 
376
383
  @container layout-query-container (width >= 768px) {.rcb-ui-navbar.svelte-191m2u3 {width:50vw;display:flex;justify-content:flex-end;}.navbar-header.svelte-191m2u3 {padding-left:var(--rc-spacing-outerPadding-desktop);padding-right:var(--rc-spacing-outerPadding-desktop);}.navbar-body.svelte-191m2u3 {padding-left:var(--rc-spacing-outerPadding-desktop);padding-right:var(--rc-spacing-outerPadding-desktop);}
377
- }`};function S1(r,e){fe(e,!0),Pe(r,E1);const t=J(e,"brandingAppearance",3,void 0),n=m(()=>new Vn(t()).productInfoStyleVars);var a=x1(),i=D(a);p_(i,{location:"navbar",children:(s,l)=>{var c=P1(),u=se(c),d=D(u);wr(d,()=>e.headerContent??er);var p=Y(u,2);{var g=_=>{var f=w1(),v=D(f);wr(v,()=>e.bodyContent??er),P(_,f)};G(p,_=>{e.bodyContent&&_(g)})}P(s,c)}}),X(()=>Ae(a,o(n))),P(r,a),me()}var I1=W('<button class="rcb-close-button svelte-8qlvu1" data-testid="close-button"><!></button>');const C1={hash:"svelte-8qlvu1",code:".rcb-close-button.svelte-8qlvu1 {padding:10px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}.rcb-close-button.svelte-8qlvu1:active {transition:outline 0.1s ease-in-out;outline:2px solid var(--rc-color-focus);}.rcb-close-button.svelte-8qlvu1:hover {color:var(--rc-color-grey-text-dark);}"};function __(r,e){Pe(r,C1);var t=I1(),n=D(t);Wn(n,{name:"close"}),Or("click",t,function(a){Xu.call(this,e,a)}),P(r,t)}const T1=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
384
+ }`};function Z1(r,e){me(e,!0),Pe(r,X1);const t=J(e,"brandingAppearance",3,void 0),n=m(()=>new Wn(t()).productInfoStyleVars);var a=K1(),i=A(a);g_(i,{location:"navbar",children:(s,l)=>{var c=G1(),u=ie(c),d=A(u);wr(d,()=>e.headerContent??tr);var p=Y(u,2);{var g=_=>{var f=Y1(),v=A(f);wr(v,()=>e.bodyContent??tr),P(_,f)};G(p,_=>{e.bodyContent&&_(g)})}P(s,c)}}),X(()=>Ae(a,o(n))),P(r,a),he()}var J1=W('<button class="rcb-close-button svelte-8qlvu1" data-testid="close-button"><!></button>');const Q1={hash:"svelte-8qlvu1",code:".rcb-close-button.svelte-8qlvu1 {padding:10px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}.rcb-close-button.svelte-8qlvu1:active {transition:outline 0.1s ease-in-out;outline:2px solid var(--rc-color-focus);}.rcb-close-button.svelte-8qlvu1:hover {color:var(--rc-color-grey-text-dark);}"};function f_(r,e){Pe(r,Q1);var t=J1(),n=A(t);Hn(n,{name:"close"}),jr("click",t,function(a){Ju.call(this,e,a)}),P(r,t)}const $1=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
378
385
  <g clip-path="url(#clip0_6333_13826)">
379
386
  <rect opacity="0.2" width="12" height="12" rx="2.25" fill="black"/>
380
387
  <path fill-rule="evenodd" clip-rule="evenodd" d="M8.53206 2.06972C9.28201 2.17252 9.88339 2.78615 9.96146 3.52824L10.2298 6.07852C10.2893 6.64453 9.87503 7.12287 9.30441 7.14692C8.73379 7.17097 8.22294 6.73163 8.16339 6.16562L8.08036 5.37641L6.00414 7.35193C5.6039 7.73275 4.94623 7.70146 4.53518 7.28205C4.12413 6.86263 4.11537 6.2139 4.51561 5.83307L6.59182 3.85756L5.79425 3.74823C5.22225 3.66982 4.79448 3.15142 4.83881 2.59036C4.88313 2.02929 5.38276 1.63802 5.95476 1.71643L8.53206 2.06972Z" fill="black"/>
@@ -385,25 +392,25 @@ but received
385
392
  </clipPath>
386
393
  </defs>
387
394
  </svg>
388
- `;var D1=W('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-w5b346"><!></div>');const A1={hash:"svelte-w5b346",code:"div.svelte-w5b346 {height:12px;width:12px;}"};function F1(r){Pe(r,A1);var e=D1(),t=D(e);fn(t,()=>T1),P(r,e)}var M1=W('<span class="rcb-sandbox-text svelte-bwwvt4">SANDBOX</span>'),z1=W('<span class="rcb-sandbox-text svelte-bwwvt4">Share feedback</span>'),q1=W('<a class="rcb-ui-sandbox-banner-link svelte-bwwvt4" target="_blank"><!> <!></a>'),j1=W('<div><div class="rcb-sandbox-banner-spacer svelte-bwwvt4"></div> <div class="rcb-sandbox-banner-title-wrapper svelte-bwwvt4"><!></div> <div class="rcb-sandbox-banner-actions-wrapper svelte-bwwvt4" style="--arrow-fill-color: black"><!> <!></div></div>');const L1={hash:"svelte-bwwvt4",code:`.rcb-ui-sandbox-banner.svelte-bwwvt4 {position:static;background-color:var(--rc-color-warning);color:black;padding:var(--rc-spacing-gapMedium-mobile) 0;display:flex;justify-content:space-between;align-items:center;height:24px;}.rcb-sandbox-text.svelte-bwwvt4 {font-weight:bold;color:black;line-height:2;}.rcb-sandbox-banner-spacer.svelte-bwwvt4 {flex:1;}.rcb-sandbox-banner-title-wrapper.svelte-bwwvt4 {flex:0;text-align:center;}
395
+ `;var e0=W('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-w5b346"><!></div>');const r0={hash:"svelte-w5b346",code:"div.svelte-w5b346 {height:12px;width:12px;}"};function t0(r){Pe(r,r0);var e=e0(),t=A(e);fn(t,()=>$1),P(r,e)}var n0=W('<span class="rcb-sandbox-text svelte-bwwvt4">SANDBOX</span>'),a0=W('<span class="rcb-sandbox-text svelte-bwwvt4">Share feedback</span>'),o0=W('<a class="rcb-ui-sandbox-banner-link svelte-bwwvt4" target="_blank"><!> <!></a>'),i0=W('<div><div class="rcb-sandbox-banner-spacer svelte-bwwvt4"></div> <div class="rcb-sandbox-banner-title-wrapper svelte-bwwvt4"><!></div> <div class="rcb-sandbox-banner-actions-wrapper svelte-bwwvt4" style="--arrow-fill-color: black"><!> <!></div></div>');const s0={hash:"svelte-bwwvt4",code:`.rcb-ui-sandbox-banner.svelte-bwwvt4 {position:static;background-color:var(--rc-color-warning);color:black;padding:var(--rc-spacing-gapMedium-mobile) 0;display:flex;justify-content:space-between;align-items:center;height:24px;}.rcb-sandbox-text.svelte-bwwvt4 {font-weight:bold;color:black;line-height:2;}.rcb-sandbox-banner-spacer.svelte-bwwvt4 {flex:1;}.rcb-sandbox-banner-title-wrapper.svelte-bwwvt4 {flex:0;text-align:center;}
389
396
 
390
397
  @media (max-width: 768px) {.rcb-sandbox-banner-spacer.svelte-bwwvt4 {flex:0;}.rcb-sandbox-banner-title-wrapper.svelte-bwwvt4 {padding-left:var(--rc-spacing-gapXXLarge-mobile);}
391
- }.rcb-sandbox-banner-actions-wrapper.svelte-bwwvt4 {flex:1;display:flex;justify-content:flex-end;align-items:center;}.rcb-ui-sandbox-banner-link.svelte-bwwvt4 {display:flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile);line-height:12px;}`};function g_(r,e){fe(e,!1),Pe(r,L1);let t=J(e,"style",8,""),n=J(e,"isInElement",8,!1),a=J(e,"brandingInfo",8,null),i=ur(!0);function s(){ke.debugLog("closeBanner"),z(i,!1)}An();var l=Se(),c=se(l);{var u=d=>{var p=j1();let g;var _=Y(D(p),2),f=D(_);ze(f,{size:"caption-default",children:(k,w)=>{var E=M1();P(k,E)},$$slots:{default:!0}});var v=Y(_,2),y=D(v);{var h=k=>{var w=q1(),E=D(w);F1(E);var S=Y(E,2);ze(S,{size:"caption-link",children:(I,F)=>{var x=z1();P(I,x)},$$slots:{default:!0}}),X(()=>we(w,"href",(We(a()),Ue(()=>a().sandbox_configuration.checkout_feedback_form_url)))),P(k,w)};G(y,k=>{We(a()),Ue(()=>{var w;return(w=a())==null?void 0:w.sandbox_configuration})&&k(h)})}var b=Y(y,2);__(b,{$$events:{click:s}}),X(()=>{g=pr(p,1,"rcb-ui-sandbox-banner svelte-bwwvt4",null,g,{isInElement:n()}),Ae(p,t())}),ju(2,p,()=>y1,()=>({y:-100,duration:300})),P(d,p)};G(c,d=>{o(i)&&d(u)})}P(r,l),me()}var O1=W('<div class="rcb-ui-main svelte-iuk1gs"><!></div>');const N1={hash:"svelte-iuk1gs",code:".rcb-ui-main.svelte-iuk1gs {flex:1;display:flex;background-color:var(--rc-color-background);}"};function B1(r,e){fe(e,!0),Pe(r,N1);const t=m(()=>new Vn(e.brandingAppearance).formStyleVars);var n=O1(),a=D(n);p_(a,{location:"main-block",children:(i,s)=>{var l=Se(),c=se(l);wr(c,()=>e.children??er),P(i,l)}}),X(()=>Ae(n,o(t))),P(r,n),me()}var R1=W("<!> <!>",1),U1=W("<!> <!>",1);function f_(r,e){fe(e,!0);const t=m(()=>{var n;return r_((n=e.brandingInfo)==null?void 0:n.appearance)??""});{let n=m(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.appearance}),a=m(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.brand_font_config});u_(r,{get brandingAppearance(){return o(n)},get brandFontConfig(){return o(a)},get isInElement(){return e.isInElement},children:(i,s)=>{var l=U1(),c=se(l);{var u=p=>{g_(p,{get style(){return o(t)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};G(c,p=>{e.isSandbox&&p(u)})}var d=Y(c,2);f1(d,{get style(){return o(t)},children:(p,g)=>{var _=R1(),f=se(_);{var v=h=>{{let b=m(()=>{var k;return(k=e.brandingInfo)==null?void 0:k.appearance});S1(h,{get brandingAppearance(){return o(b)},get headerContent(){return e.navbarHeaderContent},get bodyContent(){return e.navbarBodyContent}})}};G(f,h=>{(e.navbarHeaderContent||e.navbarBodyContent)&&h(v)})}var y=Y(f,2);{let h=m(()=>{var b;return(b=e.brandingInfo)==null?void 0:b.appearance});B1(y,{get brandingAppearance(){return o(h)},children:(b,k)=>{var w=Se(),E=se(w);wr(E,()=>e.mainContent??er),P(b,w)},$$slots:{default:!0}})}P(p,_)},$$slots:{default:!0}}),P(i,l)},$$slots:{default:!0}})}me()}var V1=W('<source type="image/webp"/>'),W1=W('<picture class="rcb-app-icon-picture-container svelte-15hivnw"><!> <img class="rcb-app-icon svelte-15hivnw" alt="App icon"/></picture>'),H1=W('<div class="rcb-app-icon loading svelte-15hivnw"></div>');const Y1={hash:"svelte-15hivnw",code:".rcb-app-icon.svelte-15hivnw {width:32px;height:32px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);}.rcb-app-icon-picture-container.svelte-15hivnw {height:32px;}.rcb-app-icon.loading.svelte-15hivnw {background-color:gray;}"};function G1(r,e){Pe(r,Y1);var t=Se(),n=se(t);{var a=s=>{var l=W1(),c=D(l);{var u=p=>{var g=V1();X(()=>we(g,"srcset",e.srcWebp)),P(p,g)};G(c,p=>{e.srcWebp&&p(u)})}var d=Y(c,2);X(()=>we(d,"src",e.src)),P(s,l)},i=s=>{var l=H1();P(s,l)};G(n,s=>{e.src?s(a):s(i,!1)})}P(r,t)}const ns=r=>!r||r.trim()===""?null:r,K1={icon:null,iconWebp:null,wordmark:null,wordmarkWebp:null,src:null,srcWebp:null,wordmarkSrc:null,wordmarkSrcWebp:null},X1=r=>{if(!r)return K1;const e=ns(r.app_icon),t=ns(r.app_icon_webp),n=ns(r.app_wordmark),a=ns(r.app_wordmark_webp);return{src:e?Xa(e):null,srcWebp:t?Xa(t):null,wordmarkSrc:n?Xa(n):null,wordmarkSrcWebp:a?Xa(a):null}};var Z1=W('<button class="rcb-back-button svelte-7773d6" data-testid="close-button"><!></button>');const J1={hash:"svelte-7773d6",code:".rcb-back-button.svelte-7773d6 {padding:8px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}"};function Q1(r,e){Pe(r,J1);let t=J(e,"disabled",3,!1);var n=Z1(),a=D(n);Wn(a,{name:"back"}),X(()=>n.disabled=t()),Or("click",n,function(i){Xu.call(this,e,i)}),P(r,n)}var $1=W('<source type="image/webp" class="rcb-app-icon svelte-7clux6"/>'),e0=W('<picture class="rcb-app-icon svelte-7clux6"><!> <img class="rcb-app-icon svelte-7clux6" alt="App icon"/></picture>');const r0={hash:"svelte-7clux6",code:".rcb-app-icon.svelte-7clux6 {height:32px;}"};function t0(r,e){Pe(r,r0);var t=e0(),n=D(t);{var a=s=>{var l=$1();X(()=>we(l,"srcset",e.srcWebp)),P(s,l)};G(n,s=>{e.srcWebp&&s(a)})}var i=Y(n,2);X(()=>we(i,"src",e.src)),P(r,t)}var n0=W('<div class="rcb-back-wrapper svelte-11a99mf"><!></div>'),a0=W('<div class="rcb-close-wrapper svelte-11a99mf"><!></div>'),o0=W('<div><!> <div class="rcb-header svelte-11a99mf"><div class="rcb-title svelte-11a99mf"><!> <!></div></div> <!></div>');const i0={hash:"svelte-11a99mf",code:`.rcb-header-wrapper.svelte-11a99mf {display:flex;position:relative;justify-content:space-between;align-items:center;}.rcb-header.svelte-11a99mf {display:flex;flex-direction:row;align-items:center;padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);height:40px;justify-content:space-between;}.rcb-title.svelte-11a99mf {display:flex;align-items:center;position:relative;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-close-wrapper.svelte-11a99mf,
398
+ }.rcb-sandbox-banner-actions-wrapper.svelte-bwwvt4 {flex:1;display:flex;justify-content:flex-end;align-items:center;}.rcb-ui-sandbox-banner-link.svelte-bwwvt4 {display:flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile);line-height:12px;}`};function m_(r,e){me(e,!1),Pe(r,s0);let t=J(e,"style",8,""),n=J(e,"isInElement",8,!1),a=J(e,"brandingInfo",8,null),i=ur(!0);function s(){we.debugLog("closeBanner"),z(i,!1)}zn();var l=Ie(),c=ie(l);{var u=d=>{var p=i0();let g;var _=Y(A(p),2),f=A(_);ze(f,{size:"caption-default",children:(k,b)=>{var E=n0();P(k,E)},$$slots:{default:!0}});var v=Y(_,2),w=A(v);{var h=k=>{var b=o0(),E=A(b);t0(E);var S=Y(E,2);ze(S,{size:"caption-link",children:(I,q)=>{var x=a0();P(I,x)},$$slots:{default:!0}}),X(()=>be(b,"href",(Ke(a()),He(()=>a().sandbox_configuration.checkout_feedback_form_url)))),P(k,b)};G(w,k=>{Ke(a()),He(()=>{var b;return(b=a())==null?void 0:b.sandbox_configuration})&&k(h)})}var y=Y(w,2);f_(y,{$$events:{click:s}}),X(()=>{g=_r(p,1,"rcb-ui-sandbox-banner svelte-bwwvt4",null,g,{isInElement:n()}),Ae(p,t())}),Nu(2,p,()=>V1,()=>({y:-100,duration:300})),P(d,p)};G(c,d=>{o(i)&&d(u)})}P(r,l),he()}var l0=W('<div class="rcb-ui-main svelte-iuk1gs"><!></div>');const c0={hash:"svelte-iuk1gs",code:".rcb-ui-main.svelte-iuk1gs {flex:1;display:flex;background-color:var(--rc-color-background);}"};function u0(r,e){me(e,!0),Pe(r,c0);const t=m(()=>new Wn(e.brandingAppearance).formStyleVars);var n=l0(),a=A(n);g_(a,{location:"main-block",children:(i,s)=>{var l=Ie(),c=ie(l);wr(c,()=>e.children??tr),P(i,l)}}),X(()=>Ae(n,o(t))),P(r,n),he()}var d0=W("<!> <!>",1),p0=W("<!> <!>",1);function h_(r,e){me(e,!0);const t=m(()=>{var n;return n_((n=e.brandingInfo)==null?void 0:n.appearance)??""});{let n=m(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.appearance}),a=m(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.brand_font_config});p_(r,{get brandingAppearance(){return o(n)},get brandFontConfig(){return o(a)},get isInElement(){return e.isInElement},children:(i,s)=>{var l=p0(),c=ie(l);{var u=p=>{m_(p,{get style(){return o(t)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};G(c,p=>{e.isSandbox&&p(u)})}var d=Y(c,2);j1(d,{get style(){return o(t)},children:(p,g)=>{var _=d0(),f=ie(_);{var v=h=>{{let y=m(()=>{var k;return(k=e.brandingInfo)==null?void 0:k.appearance});Z1(h,{get brandingAppearance(){return o(y)},get headerContent(){return e.navbarHeaderContent},get bodyContent(){return e.navbarBodyContent}})}};G(f,h=>{(e.navbarHeaderContent||e.navbarBodyContent)&&h(v)})}var w=Y(f,2);{let h=m(()=>{var y;return(y=e.brandingInfo)==null?void 0:y.appearance});u0(w,{get brandingAppearance(){return o(h)},children:(y,k)=>{var b=Ie(),E=ie(b);wr(E,()=>e.mainContent??tr),P(y,b)},$$slots:{default:!0}})}P(p,_)},$$slots:{default:!0}}),P(i,l)},$$slots:{default:!0}})}he()}var _0=W('<source type="image/webp"/>'),g0=W('<picture class="rcb-app-icon-picture-container svelte-15hivnw"><!> <img class="rcb-app-icon svelte-15hivnw" alt="App icon"/></picture>'),f0=W('<div class="rcb-app-icon loading svelte-15hivnw"></div>');const m0={hash:"svelte-15hivnw",code:".rcb-app-icon.svelte-15hivnw {width:32px;height:32px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);}.rcb-app-icon-picture-container.svelte-15hivnw {height:32px;}.rcb-app-icon.loading.svelte-15hivnw {background-color:gray;}"};function h0(r,e){Pe(r,m0);var t=Ie(),n=ie(t);{var a=s=>{var l=g0(),c=A(l);{var u=p=>{var g=_0();X(()=>be(g,"srcset",e.srcWebp)),P(p,g)};G(c,p=>{e.srcWebp&&p(u)})}var d=Y(c,2);X(()=>be(d,"src",e.src)),P(s,l)},i=s=>{var l=f0();P(s,l)};G(n,s=>{e.src?s(a):s(i,!1)})}P(r,t)}const ss=r=>!r||r.trim()===""?null:r,v0={icon:null,iconWebp:null,wordmark:null,wordmarkWebp:null,src:null,srcWebp:null,wordmarkSrc:null,wordmarkSrcWebp:null},y0=r=>{if(!r)return v0;const e=ss(r.app_icon),t=ss(r.app_icon_webp),n=ss(r.app_wordmark),a=ss(r.app_wordmark_webp);return{src:e?Za(e):null,srcWebp:t?Za(t):null,wordmarkSrc:n?Za(n):null,wordmarkSrcWebp:a?Za(a):null}};var b0=W('<button class="rcb-back-button svelte-7773d6" data-testid="close-button"><!></button>');const k0={hash:"svelte-7773d6",code:".rcb-back-button.svelte-7773d6 {padding:8px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}"};function w0(r,e){Pe(r,k0);let t=J(e,"disabled",3,!1);var n=b0(),a=A(n);Hn(a,{name:"back"}),X(()=>n.disabled=t()),jr("click",n,function(i){Ju.call(this,e,i)}),P(r,n)}var P0=W('<source type="image/webp" class="rcb-app-icon svelte-7clux6"/>'),x0=W('<picture class="rcb-app-icon svelte-7clux6"><!> <img class="rcb-app-icon svelte-7clux6" alt="App icon"/></picture>');const E0={hash:"svelte-7clux6",code:".rcb-app-icon.svelte-7clux6 {height:32px;}"};function S0(r,e){Pe(r,E0);var t=x0(),n=A(t);{var a=s=>{var l=P0();X(()=>be(l,"srcset",e.srcWebp)),P(s,l)};G(n,s=>{e.srcWebp&&s(a)})}var i=Y(n,2);X(()=>be(i,"src",e.src)),P(r,t)}var I0=W('<div class="rcb-back-wrapper svelte-11a99mf"><!></div>'),C0=W('<div class="rcb-close-wrapper svelte-11a99mf"><!></div>'),T0=W('<div><!> <div class="rcb-header svelte-11a99mf"><div class="rcb-title svelte-11a99mf"><!> <!></div></div> <!></div>');const D0={hash:"svelte-11a99mf",code:`.rcb-header-wrapper.svelte-11a99mf {display:flex;position:relative;justify-content:space-between;align-items:center;}.rcb-header.svelte-11a99mf {display:flex;flex-direction:row;align-items:center;padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);height:40px;justify-content:space-between;}.rcb-title.svelte-11a99mf {display:flex;align-items:center;position:relative;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-close-wrapper.svelte-11a99mf,
392
399
  .rcb-back-wrapper.svelte-11a99mf {padding:var(--rc-spacing-gapSmall-mobile);}
393
400
 
394
401
  @container layout-query-container (width < 768px) {.rcb-header.svelte-11a99mf {padding-top:var(--rc-spacing-gapMedium-mobile);}.rcb-close-wrapper.svelte-11a99mf {padding-top:var(--rc-spacing-gapMedium-mobile);}.rcb-header-wrapper.svelte-11a99mf {padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}.rcb-header-wrapper.rcb-with-close-button.svelte-11a99mf {padding-right:var(--rc-spacing-gapSmall-mobile);}.rcb-back-wrapper.svelte-11a99mf {display:none;}.rcb-header-wrapper.svelte-11a99mf {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
395
402
  }
396
403
 
397
404
  @container layout-query-container (width >= 768px) {.rcb-close-wrapper.svelte-11a99mf {display:none;}.rcb-back-wrapper.svelte-11a99mf {position:absolute;left:-48px;margin-left:0;}
398
- }`};function s0(r,e){fe(e,!0),Pe(r,i0);const t=m(()=>X1(e.brandingInfo)),n=m(()=>o(t).wordmarkSrc),a=m(()=>o(t).wordmarkSrcWebp),i=m(()=>o(t).src),s=m(()=>o(t).srcWebp),l=()=>{e.onClose&&e.onClose()};var c=o0();let u;var d=D(c);{var p=E=>{var S=n0(),I=D(S);Q1(I,{$$events:{click:l}}),P(E,S)};G(d,E=>{e.showCloseButton&&E(p)})}var g=Y(d,2),_=D(g),f=D(_);{var v=E=>{t0(E,{get src(){return o(n)},get srcWebp(){return o(a)}})},y=E=>{var S=Se(),I=se(S);{var F=x=>{G1(x,{get src(){return o(i)},get srcWebp(){return o(s)}})};G(I,x=>{o(i)!==null&&o(s)!==null&&x(F)},!0)}P(E,S)};G(f,E=>{o(n)!==null?E(v):E(y,!1)})}var h=Y(f,2);{var b=E=>{ze(E,{size:"body-base",children:(S,I)=>{var F=Oe();X(()=>{var x;return be(F,(x=e.brandingInfo)==null?void 0:x.app_name)}),P(S,F)},$$slots:{default:!0}})};G(h,E=>{o(n)===null&&E(b)})}var k=Y(g,2);{var w=E=>{var S=a0(),I=D(S);__(I,{$$events:{click:l}}),P(E,S)};G(k,E=>{e.showCloseButton&&E(w)})}X(()=>u=pr(c,1,"rcb-header-wrapper svelte-11a99mf",null,u,{"rcb-with-close-button":e.showCloseButton})),P(r,c),me()}var l0=W("<!> <!> <!> <!>",1);function c0(r,e){fe(e,!0);let t=J(e,"showDiscountCodeField",3,!1),n=J(e,"draftDiscountCode",3,""),a=J(e,"appliedDiscountCode",3,null),i=J(e,"discountCodeError",3,null),s=J(e,"isUpdatingDiscountCode",3,!1),l=J(e,"isDiscountCodeControlsEnabled",3,!1),c=J(e,"onDraftDiscountCodeChange",3,void 0),u=J(e,"onApplyDiscountCode",3,void 0),d=J(e,"onRemoveDiscountCode",3,void 0),p=J(e,"onPaymentProcessingChange",3,void 0),g=J(e,"onSessionPricingUpdated",3,void 0),_=J(e,"onClose",3,void 0),f=J(e,"hideBackButton",3,!1),v=J(e,"lastTaxCustomerDetailsStore",19,()=>Sr(null));const y=Wo(e.productDetails,e.purchaseOptionToUse);let h=te(ar(e.defaultPriceBreakdown??{currency:y.currency,totalAmountInMicros:y.amountMicros,totalExcludingTaxInMicros:y.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null}));gr(()=>{const k=Wo(e.productDetails,e.purchaseOptionToUse);z(h,e.defaultPriceBreakdown??{currency:k.currency,totalAmountInMicros:k.amountMicros,totalExcludingTaxInMicros:k.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null},!0)});const b=k=>{z(h,k,!0)};f_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return _()},navbarHeaderContent:S=>{{let I=m(()=>!e.isInElement&&!!_()&&!f());s0(S,{get brandingInfo(){return e.brandingInfo},get onClose(){return _()},get showCloseButton(){return o(I)}})}},navbarBodyContent:S=>{{let I=m(()=>{var F,x;return((x=(F=e.brandingInfo)==null?void 0:F.appearance)==null?void 0:x.show_product_description)??!1});u1(S,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get showProductDescription(){return o(I)},get showDiscountCodeField(){return t()},get discountCode(){return n()},get appliedDiscountCode(){return a()},get discountCodeError(){return i()},get isUpdatingDiscountCode(){return s()},get isDiscountCodeControlsEnabled(){return l()},get onDiscountCodeChange(){return c()},get onApplyDiscountCode(){return u()},get onRemoveDiscountCode(){return d()},get priceBreakdown(){return o(h)}})}},mainContent:S=>{var I=l0(),F=se(I);{var x=C=>{EP(C)};G(F,C=>{e.currentPage==="payment-entry-loading"&&C(x)})}var q=Y(F,2);{var T=C=>{Qw(C,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get brandingInfo(){return e.brandingInfo},get purchaseOperationHelper(){return e.purchaseOperationHelper},get gatewayParams(){return e.gatewayParams},get managementUrl(){return e.managementUrl},get customerEmail(){return e.customerEmail},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get defaultPriceBreakdown(){return e.defaultPriceBreakdown},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get onContinue(){return e.onContinue},get onError(){return e.onError},onPriceBreakdownUpdated:b,get onSessionPricingUpdated(){return g()},get onProcessingStateChange(){return p()},get lastTaxCustomerDetailsStore(){return v()}})};G(q,C=>{e.currentPage==="payment-entry"&&C(T)})}var N=Y(q,2);{var L=C=>{{let A=m(()=>{var U;return((U=e.brandingInfo)==null?void 0:U.support_email)??null}),M=m(()=>{var U;return((U=e.brandingInfo)==null?void 0:U.app_name)??null});rs(C,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(A)},get onDismiss(){return e.closeWithError},get appName(){return o(M)}})}};G(N,C=>{e.currentPage==="error"&&C(L)})}var O=Y(N,2);{var j=C=>{ts(C,{get onContinue(){return e.onContinue}})};G(O,C=>{e.currentPage==="success"&&C(j)})}P(S,I)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),me()}function m_(r){return r.trim()===""?"You need to provide your email address to continue.":r.match(/^[^@]+@[^@]+\.[^@]+$/)?null:"Email is not valid. Please provide a valid email address."}function u0(r){if(r&&!r.match(/^[A-Z]{3}$/)){const e=`Currency code ${r} is not valid. Please provide a valid ISO 4217 currency code.`;throw ke.errorLog(e),new Qe(Fe.ConfigurationError,e)}}function d0(r,e,t){const n=t==null?void 0:t.selected_purchase_option;return n?Bm(r.productType,n)??e:e}function p0(r,e){var oe;fe(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1),a=J(e,"showDiscountCodeField",3,!1),i=J(e,"discountCode",3,void 0),s=J(e,"hideBackButton",3,!1),l=e.customerEmail?m_(e.customerEmail):null;let c=te(ar(l?void 0:e.customerEmail)),u=ar(e.rcPackage.webBillingProduct),d=te(null);const p=Sr(null);let g=m(()=>d0(u,e.purchaseOption,o(d))),_=te(null),f=te(ar(i()??"")),v=te(null),y=te(!1),h=te(!1),b=te("payment-entry-loading"),k=te(null),w=te(ar({})),E=te(null),S=te(void 0),I=m(()=>{var H,pe,ue;return((ue=(pe=(H=o(d))==null?void 0:H.applied_discounts)==null?void 0:pe[0])==null?void 0:ue.discount_code)??null}),F=m(()=>{var H,pe;return{...o(w),...(pe=(H=o(d))==null?void 0:H.gateway_params)!=null&&pe.elements_configuration?{elements_configuration:o(d).gateway_params.elements_configuration}:{}}}),x=te(null),q=te(null),T=te(null),N=new Fn(t(),e.selectedLocale,e.defaultLocale),L=Sr(N);const O=Sr(((oe=e.brandingInfo)==null?void 0:oe.appearance)??null);kr(vr,L),kr(Rn,O),Er(()=>{e.isInElement||(z(x,document.documentElement.style.height,!0),z(q,document.documentElement.style.overflow,!0),z(T,document.body.style.height,!0),document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden")}),jt(()=>{if(!e.isInElement){const H=(pe,ue,Ee)=>{Ee===""?pe.style.removeProperty(ue):pe.style.setProperty(ue,Ee)};H(document.documentElement,"height",o(x)),H(document.body,"height",o(T)),H(document.documentElement,"overflow",o(q))}}),kr(Oo,e.eventsTracker);let j=ar(typeof e.purchases._shouldForceEnableWalletMethods=="function"?e.purchases._shouldForceEnableWalletMethods():!1);const C=(H,pe,ue)=>{const Ee=H.identifier??null;return Ee===null?Promise.reject(new ve(he.ErrorSettingUpPurchase,"Product ID was not set before purchase.")):e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:Ee,purchaseOption:pe,presentedOfferingContext:H.presentedOfferingContext,customerEmail:ue,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale}).then(qe=>({result:qe,emailToUse:ue})).catch(qe=>{if(qe.errorCode!==he.MissingEmailError)throw qe;return e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:Ee,purchaseOption:pe,presentedOfferingContext:H.presentedOfferingContext,customerEmail:void 0,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale}).then(Me=>({result:Me,emailToUse:void 0}))})},A=H=>H?H===yn.invalid_tax_location?"pending":"disabled":"calculated",M=H=>H instanceof ve&&[he.StripeTaxNotActive,he.StripeInvalidTaxOriginAddress,he.StripeMissingRequiredPermission].includes(H.errorCode),U=()=>{const H=Zs(p);return{countryCode:H==null?void 0:H.countryCode,postalCode:H==null?void 0:H.postalCode,state:H==null?void 0:H.state,city:H==null?void 0:H.city,addressLine1:H==null?void 0:H.addressLine1,addressLine2:H==null?void 0:H.addressLine2}},V=(H,pe)=>{z(d,H,!0),z(S,pe??Qu(H,A(H.failed_reason)),!0)};Er(async()=>{try{const{result:H,emailToUse:pe}=await C(u,o(g),o(c));if(z(_,null),z(c,pe,!0),z(w,H.gateway_params,!0),z(E,H.management_url,!0),i())try{const ue=await e.purchaseOperationHelper.checkoutRefreshPricing({...U(),discountCode:i()});V(ue)}catch(ue){if(M(ue))throw ue;if(a())z(v,ue instanceof Error?ue.message:"Failed to apply discount code.",!0);else throw ue instanceof ve?ue:new ve(he.ErrorSettingUpPurchase,"Failed to apply discount code.")}z(b,"payment-entry")}catch(H){B(H instanceof ve?H:new ve(he.UnknownError,H instanceof Error?H.message:String(H)))}});const R=H=>{z(f,H,!0),z(v,null)},$=H=>{z(h,H,!0)},le=async H=>{var ue;const pe=(H==null?void 0:H.trim())||null;if(H!==null&&pe===null){z(v,"Enter a discount code.");return}z(y,!0),z(v,null);try{const Ee=await e.purchaseOperationHelper.checkoutRefreshPricing({...U(),discountCode:pe});V(Ee),z(f,pe??"",!0),z(_,null),(ue=e.onDiscountCodeChanged)==null||ue.call(e,pe)}catch(Ee){if(M(Ee)){B(Ee);return}z(v,Ee instanceof Error?Ee.message:"Failed to apply discount code.",!0)}finally{z(y,!1)}},_e=async()=>{await le(o(f))},ae=async()=>{await le(null)},Z=()=>{if(o(b)==="payment-entry"){e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(H=>{z(k,H,!0),n()?e.onFinished(H):z(b,"success")}).catch(H=>{B(H)});return}if(o(b)==="success"||o(b)==="error"){e.onFinished(o(k));return}z(b,"success")},B=H=>{const pe=qp({errorCode:H.getErrorCode().toString(),errorMessage:H.message});e.eventsTracker.trackSDKEvent(pe),z(_,H,!0),z(b,"error")},K=()=>{e.onError(o(_)??new ve(he.UnknownError,"Unknown error without state set."))};{let H=m(()=>e.purchases.isSandbox()),pe=m(()=>o(b)==="payment-entry"&&!o(h)),ue=m(()=>o(c)??null);c0(r,{get isSandbox(){return o(H)},get currentPage(){return o(b)},get brandingInfo(){return e.brandingInfo},get productDetails(){return u},get purchaseOptionToUse(){return o(g)},get lastError(){return o(_)},get gatewayParams(){return o(F)},get managementUrl(){return o(E)},get purchaseOperationHelper(){return e.purchaseOperationHelper},get isInElement(){return e.isInElement},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get showDiscountCodeField(){return a()},get draftDiscountCode(){return o(f)},get appliedDiscountCode(){return o(I)},get discountCodeError(){return o(v)},get isUpdatingDiscountCode(){return o(y)},get isDiscountCodeControlsEnabled(){return o(pe)},get forceEnableWalletMethods(){return j},get customerEmail(){return o(ue)},get defaultPriceBreakdown(){return o(S)},closeWithError:K,onDraftDiscountCodeChange:R,onApplyDiscountCode:_e,onRemoveDiscountCode:ae,onPaymentProcessingChange:$,onSessionPricingUpdated:V,onContinue:Z,onError:B,get onClose(){return e.onClose},get hideBackButton(){return s()},get lastTaxCustomerDetailsStore(){return p}})}me()}function h_(r,e,t,n,a,i,s){try{var l=r[i](s),c=l.value}catch(u){return void t(u)}l.done?e(c):Promise.resolve(c).then(n,a)}function _0(r){return function(){var e=this,t=arguments;return new Promise(function(n,a){var i=r.apply(e,t);function s(c){h_(i,n,a,s,l,"next",c)}function l(c){h_(i,n,a,s,l,"throw",c)}s(void 0)})}}function g0(r,e,t){return(e=h0(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function v_(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function nc(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?v_(Object(t),!0).forEach(function(n){g0(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):v_(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function y_(r,e){if(r==null)return{};var t,n,a=f0(r,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(n=0;n<i.length;n++)t=i[n],e.includes(t)||{}.propertyIsEnumerable.call(r,t)&&(a[t]=r[t])}return a}function f0(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}function ac(){ac=function(){return e};var r,e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(C,A,M){C[A]=M.value},i=typeof Symbol=="function"?Symbol:{},s=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(C,A,M){return Object.defineProperty(C,A,{value:M,enumerable:!0,configurable:!0,writable:!0}),C[A]}try{u({},"")}catch{u=function(A,M,U){return A[M]=U}}function d(C,A,M,U){var V=A&&A.prototype instanceof h?A:h,R=Object.create(V.prototype),$=new O(U||[]);return a(R,"_invoke",{value:q(C,M,$)}),R}function p(C,A,M){try{return{type:"normal",arg:C.call(A,M)}}catch(U){return{type:"throw",arg:U}}}e.wrap=d;var g="suspendedStart",_="suspendedYield",f="executing",v="completed",y={};function h(){}function b(){}function k(){}var w={};u(w,s,function(){return this});var E=Object.getPrototypeOf,S=E&&E(E(j([])));S&&S!==t&&n.call(S,s)&&(w=S);var I=k.prototype=h.prototype=Object.create(w);function F(C){["next","throw","return"].forEach(function(A){u(C,A,function(M){return this._invoke(A,M)})})}function x(C,A){function M(V,R,$,le){var _e=p(C[V],C,R);if(_e.type!=="throw"){var ae=_e.arg,Z=ae.value;return Z&&typeof Z=="object"&&n.call(Z,"__await")?A.resolve(Z.__await).then(function(B){M("next",B,$,le)},function(B){M("throw",B,$,le)}):A.resolve(Z).then(function(B){ae.value=B,$(ae)},function(B){return M("throw",B,$,le)})}le(_e.arg)}var U;a(this,"_invoke",{value:function(V,R){function $(){return new A(function(le,_e){M(V,R,le,_e)})}return U=U?U.then($,$):$()}})}function q(C,A,M){var U=g;return function(V,R){if(U===f)throw Error("Generator is already running");if(U===v){if(V==="throw")throw R;return{value:r,done:!0}}for(M.method=V,M.arg=R;;){var $=M.delegate;if($){var le=T($,M);if(le){if(le===y)continue;return le}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(U===g)throw U=v,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);U=f;var _e=p(C,A,M);if(_e.type==="normal"){if(U=M.done?v:_,_e.arg===y)continue;return{value:_e.arg,done:M.done}}_e.type==="throw"&&(U=v,M.method="throw",M.arg=_e.arg)}}}function T(C,A){var M=A.method,U=C.iterator[M];if(U===r)return A.delegate=null,M==="throw"&&C.iterator.return&&(A.method="return",A.arg=r,T(C,A),A.method==="throw")||M!=="return"&&(A.method="throw",A.arg=new TypeError("The iterator does not provide a '"+M+"' method")),y;var V=p(U,C.iterator,A.arg);if(V.type==="throw")return A.method="throw",A.arg=V.arg,A.delegate=null,y;var R=V.arg;return R?R.done?(A[C.resultName]=R.value,A.next=C.nextLoc,A.method!=="return"&&(A.method="next",A.arg=r),A.delegate=null,y):R:(A.method="throw",A.arg=new TypeError("iterator result is not an object"),A.delegate=null,y)}function N(C){var A={tryLoc:C[0]};1 in C&&(A.catchLoc=C[1]),2 in C&&(A.finallyLoc=C[2],A.afterLoc=C[3]),this.tryEntries.push(A)}function L(C){var A=C.completion||{};A.type="normal",delete A.arg,C.completion=A}function O(C){this.tryEntries=[{tryLoc:"root"}],C.forEach(N,this),this.reset(!0)}function j(C){if(C||C===""){var A=C[s];if(A)return A.call(C);if(typeof C.next=="function")return C;if(!isNaN(C.length)){var M=-1,U=function V(){for(;++M<C.length;)if(n.call(C,M))return V.value=C[M],V.done=!1,V;return V.value=r,V.done=!0,V};return U.next=U}}throw new TypeError(typeof C+" is not iterable")}return b.prototype=k,a(I,"constructor",{value:k,configurable:!0}),a(k,"constructor",{value:b,configurable:!0}),b.displayName=u(k,c,"GeneratorFunction"),e.isGeneratorFunction=function(C){var A=typeof C=="function"&&C.constructor;return!!A&&(A===b||(A.displayName||A.name)==="GeneratorFunction")},e.mark=function(C){return Object.setPrototypeOf?Object.setPrototypeOf(C,k):(C.__proto__=k,u(C,c,"GeneratorFunction")),C.prototype=Object.create(I),C},e.awrap=function(C){return{__await:C}},F(x.prototype),u(x.prototype,l,function(){return this}),e.AsyncIterator=x,e.async=function(C,A,M,U,V){V===void 0&&(V=Promise);var R=new x(d(C,A,M,U),V);return e.isGeneratorFunction(A)?R:R.next().then(function($){return $.done?$.value:R.next()})},F(I),u(I,c,"Generator"),u(I,s,function(){return this}),u(I,"toString",function(){return"[object Generator]"}),e.keys=function(C){var A=Object(C),M=[];for(var U in A)M.push(U);return M.reverse(),function V(){for(;M.length;){var R=M.pop();if(R in A)return V.value=R,V.done=!1,V}return V.done=!0,V}},e.values=j,O.prototype={constructor:O,reset:function(C){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(L),!C)for(var A in this)A.charAt(0)==="t"&&n.call(this,A)&&!isNaN(+A.slice(1))&&(this[A]=r)},stop:function(){this.done=!0;var C=this.tryEntries[0].completion;if(C.type==="throw")throw C.arg;return this.rval},dispatchException:function(C){if(this.done)throw C;var A=this;function M(_e,ae){return R.type="throw",R.arg=C,A.next=_e,ae&&(A.method="next",A.arg=r),!!ae}for(var U=this.tryEntries.length-1;U>=0;--U){var V=this.tryEntries[U],R=V.completion;if(V.tryLoc==="root")return M("end");if(V.tryLoc<=this.prev){var $=n.call(V,"catchLoc"),le=n.call(V,"finallyLoc");if($&&le){if(this.prev<V.catchLoc)return M(V.catchLoc,!0);if(this.prev<V.finallyLoc)return M(V.finallyLoc)}else if($){if(this.prev<V.catchLoc)return M(V.catchLoc,!0)}else{if(!le)throw Error("try statement without catch or finally");if(this.prev<V.finallyLoc)return M(V.finallyLoc)}}}},abrupt:function(C,A){for(var M=this.tryEntries.length-1;M>=0;--M){var U=this.tryEntries[M];if(U.tryLoc<=this.prev&&n.call(U,"finallyLoc")&&this.prev<U.finallyLoc){var V=U;break}}V&&(C==="break"||C==="continue")&&V.tryLoc<=A&&A<=V.finallyLoc&&(V=null);var R=V?V.completion:{};return R.type=C,R.arg=A,V?(this.method="next",this.next=V.finallyLoc,y):this.complete(R)},complete:function(C,A){if(C.type==="throw")throw C.arg;return C.type==="break"||C.type==="continue"?this.next=C.arg:C.type==="return"?(this.rval=this.arg=C.arg,this.method="return",this.next="end"):C.type==="normal"&&A&&(this.next=A),y},finish:function(C){for(var A=this.tryEntries.length-1;A>=0;--A){var M=this.tryEntries[A];if(M.finallyLoc===C)return this.complete(M.completion,M.afterLoc),L(M),y}},catch:function(C){for(var A=this.tryEntries.length-1;A>=0;--A){var M=this.tryEntries[A];if(M.tryLoc===C){var U=M.completion;if(U.type==="throw"){var V=U.arg;L(M)}return V}}throw Error("illegal catch attempt")},delegateYield:function(C,A,M){return this.delegate={iterator:j(C),resultName:A,nextLoc:M},this.method==="next"&&(this.arg=r),y}},e}function m0(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function h0(r){var e=m0(r,"string");return typeof e=="symbol"?e:e+""}var Ho={CLASSIC:"classic",V1:"v1"},v0=Ho.V1,y0="https://cdn.paddle.com/paddle/paddle.js",b0="https://cdn.paddle.com/paddle/v2/paddle.js",k0={url:y0},w0={url:b0};function P0(r){return document.querySelector('script[src="'.concat(r,'"]'))||void 0}function x0(r){var e=document.createElement("script");e.src=r;var t=document.head||document.body;if(!t)throw new Error("Cannot inject Paddle.js. It needs a <head> or <body> element.");return t.appendChild(e),e}var oc={classic:void 0,v1:void 0},E0={classic:"PaddleClassic",v1:"PaddleBillingV1"};function S0(r){var e,t=(e=I0(r))===null||e===void 0?void 0:e.url;if(t){var n=oc[r],a=E0[r];return n!==void 0?n:(oc[r]=new Promise(function(i,s){if(typeof window>"u"){i(void 0);return}if(window[a]){i(window[a]);return}try{var l=P0(t);l||(l=x0(t)),l.addEventListener("load",function(){window[a]?i(window[a]):s(new Error("Paddle.js not available"))}),l.addEventListener("error",function(){s(new Error("Failed to load Paddle.js - ".concat(r)))})}catch(c){s(c);return}}),oc[r])}}function I0(r){if(r===Ho.CLASSIC)return k0;if(r===Ho.V1)return w0;console.error("[Paddle] Unknown Paddle Version")}var C0=["environment","version"],T0=["environment","version"];function D0(r,e){var t=r.environment;r.version;var n=y_(r,C0);try{t&&e.Environment.set(t),e.Initialized?e.Update(nc({},n)):e.Initialize(nc({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}function A0(r,e){var t=r.environment;r.version;var n=y_(r,T0);try{t&&e.Environment.set(t),e.Setup(nc({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}var Za;(function(r){r.CHECKOUT_LOADED="checkout.loaded",r.CHECKOUT_CLOSED="checkout.closed",r.CHECKOUT_UPDATED="checkout.updated",r.CHECKOUT_COMPLETED="checkout.completed",r.CHECKOUT_ERROR="checkout.error",r.CHECKOUT_FAILED="checkout.failed",r.CHECKOUT_ITEMS_UPDATED="checkout.items.updated",r.CHECKOUT_ITEMS_REMOVED="checkout.items.removed",r.CHECKOUT_CUSTOMER_CREATED="checkout.customer.created",r.CHECKOUT_CUSTOMER_UPDATED="checkout.customer.updated",r.CHECKOUT_CUSTOMER_REMOVED="checkout.customer.removed",r.CHECKOUT_PAYMENT_SELECTED="checkout.payment.selected",r.CHECKOUT_PAYMENT_INITIATED="checkout.payment.initiated",r.CHECKOUT_PAYMENT_FAILED="checkout.payment.failed",r.CHECKOUT_PAYMENT_ERROR="checkout.payment.error",r.CHECKOUT_DISCOUNT_APPLIED="checkout.discount.applied",r.CHECKOUT_DISCOUNT_REMOVED="checkout.discount.removed",r.CHECKOUT_UPSELL_CANCELED="checkout.upsell.canceled"})(Za||(Za={}));var b_;(function(r){r.DAY="day",r.WEEK="week",r.MONTH="month",r.YEAR="year"})(b_||(b_={}));var k_;(function(r){r.ALIPAY="alipay",r.APPLE_PAY="apple-pay",r.CARD="card",r.GOOGLE_PAY="google-pay",r.IDEAL="ideal",r.PAYPAL="paypal",r.WECHAT_PAY="wechat-pay",r.WIRE_TRANSFER="wire-transfer",r.NONE="none"})(k_||(k_={}));var w_;(function(r){r.AMERICAN_EXPRESS="american_express",r.DINERS_CLUB="diners_club",r.DISCOVER="discover",r.JCB="jcb",r.MADA="mada",r.MAESTRO="maestro",r.MASTER_CARD="mastercard",r.UNION_PAY="union_pay",r.VISA="visa",r.UNKNOWN="unknown"})(w_||(w_={}));var P_;(function(r){r.DRAFT="draft",r.READY="ready",r.COMPLETED="completed",r.BILLED="billed",r.canceled="canceled",r.PAST_DUE="past_due"})(P_||(P_={}));function F0(r){return ic.apply(this,arguments)}function ic(){return ic=_0(ac().mark(function r(e){var t,n;return ac().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=(e==null?void 0:e.version)||v0,i.next=3,S0(t);case 3:if(n=i.sent,!n){i.next=9;break}return e&&(t===Ho.V1?D0(e,n):t===Ho.CLASSIC&&A0(e,n)),i.abrupt("return",n);case 9:return console.error("[Paddle] Error Loading Paddle"),i.abrupt("return");case 11:case"end":return i.stop()}},r)})),ic.apply(this,arguments)}const x_="paddle-checkout-container",M0=450,z0="width:100%; min-width:312px; background-color:transparent; border:none;";function q0({transactionId:r,locale:e,customerEmail:t,displayMode:n="overlay",theme:a="light"}){const i={theme:a,variant:"one-page",locale:e,allowLogout:!1,showAddDiscounts:!1,showAddTaxId:!1,allowDiscountRemoval:!1},s=n==="inline"?{...i,displayMode:"inline",frameTarget:x_,frameInitialHeight:M0,frameStyle:z0}:{...i,displayMode:"overlay"};return{transactionId:r,settings:s,...t&&{customer:{email:t}}}}class j0{constructor(e,t,n=10){ee(this,"paddleInstance");ee(this,"backend");ee(this,"eventsTracker");ee(this,"maxNumberAttempts");ee(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}async initializePaddle(e,t){var a;if((a=this.paddleInstance)!=null&&a.Initialized)return ke.debugLog("Paddle already initialized, returning existing instance"),this.paddleInstance;const n=t?"sandbox":"production";try{const i=await F0({token:e,version:"v1",environment:n});if(!i)throw new ve(he.UnknownError,"Paddle client not found");return this.paddleInstance=i,ke.debugLog(`Paddle initialized with environment: ${n}`),i}catch(i){throw i instanceof ve?i:new ve(he.UnknownError,`Error initializing Paddle: ${i}`)}}getPaddleInstance(){var e;if(!((e=this.paddleInstance)!=null&&e.Initialized))throw new ve(he.UnknownError,"Paddle not initialized.");return this.paddleInstance}closeCheckout(){var e;(e=this.paddleInstance)!=null&&e.Initialized&&this.paddleInstance.Checkout.close()}async startCheckout({appUserId:e,productId:t,presentedOfferingContext:n,purchaseOption:a,customerEmail:i,metadata:s,locale:l,attributionMetadata:c}){try{const u=this.eventsTracker.getTraceId(),d=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:a,presentedOfferingContext:n,traceId:u,customerEmail:i??void 0,metadata:s,locale:l,attributionMetadata:c});return await this.initializePaddle(d.paddle_billing_params.client_side_token,d.paddle_billing_params.is_sandbox),d}catch(u){throw u instanceof Qe?ve.fromPurchasesError(u,he.ErrorSettingUpPurchase,u.errorCode===Fe.InvalidCredentialsError):new ve(he.UnknownError,`Error starting Paddle checkout: ${u}`)}}async purchase({operationSessionId:e,transactionId:t,onCheckoutLoaded:n,onClose:a,params:i,displayMode:s="overlay",theme:l="light",onCheckoutTotals:c,onCheckoutCompleted:u}){const d=this.getPaddleInstance(),{customerEmail:p,locale:g="en"}=i,_=f=>{var v,y,h;if(c&&(f!=null&&f.totals)){const b=(v=f.items)==null?void 0:v[0];c({currencyCode:f.currency_code,subtotalAmount:f.totals.subtotal,taxAmount:f.totals.tax,totalAmount:f.totals.total,recurringTotalAmount:((y=f.recurring_totals)==null?void 0:y.total)??null,productName:((h=b==null?void 0:b.product)==null?void 0:h.name)??null,priceName:(b==null?void 0:b.price_name)??null})}};return new Promise((f,v)=>{d.Update({eventCallback:async h=>{const b=h.name,k=h.data;try{if(b===Za.CHECKOUT_LOADED)n(),_(k);else if(b===Za.CHECKOUT_UPDATED)_(k);else if(b===Za.CHECKOUT_COMPLETED){u==null||u(),d.Checkout.close();const w=await this.pollOperationStatus(e);f(w)}else b===Za.CHECKOUT_CLOSED&&(k!=null&&k.status)&&a()}catch(w){d.Checkout.close(),w instanceof ve?v(w):w instanceof Qe?v(ve.fromPurchasesError(w,he.UnknownError)):v(new ve(he.UnknownError,`Paddle event handler error: ${w}`))}}});const y=q0({transactionId:t,locale:g,customerEmail:p,displayMode:s,theme:l});try{d.Checkout.open(y)}catch(h){v(new ve(he.UnknownError,`Failed to open Paddle checkout: ${h}`))}})}async pollOperationStatus(e){if(!e)throw new ve(he.ErrorSettingUpPurchase,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){n(new ve(he.UnknownError,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const l=s.operation.store_transaction_identifier,c=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case vn.Started:case vn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case vn.Succeeded:if(!l||!c||!u){n(new ve(he.UnknownError,"Missing required fields in operation response."));return}t({redemptionInfo:Ju(s),operationSessionId:e,storeTransactionIdentifier:l??"",productIdentifier:c,purchaseDate:u??new Date,attributionMetadata:s.attribution_metadata??void 0});return;case vn.Failed:$u(s.operation.error,n)}}).catch(s=>{if(s instanceof Qe){const l=ve.fromPurchasesError(s,he.NetworkError);n(l)}else n(new ve(he.NetworkError,`Failed to get checkout status: ${s}`))})};a()})}}const as=(r,e)=>r instanceof ve?r:r instanceof Qe?ve.fromPurchasesError(r,he.UnknownError):new ve(he.UnknownError,e);var L0=W('<!> <div class="rcb-fullscreen-wrapper svelte-skuziz"><div class="rcb-fullscreen-content svelte-skuziz"><!></div></div>',1);const O0={hash:"svelte-skuziz",code:".rcb-fullscreen-wrapper.svelte-skuziz {width:100%;min-height:100%;display:flex;flex-direction:column;align-items:center;}.rcb-fullscreen-content.svelte-skuziz {flex:1;width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--rc-color-grey-text-dark);}"};function E_(r,e){fe(e,!0),Pe(r,O0);const t=()=>ge(i,"$brandingAppearanceStore",n),[n,a]=He(),i=Xe(Rn),s=m(()=>{var u;return t()??((u=e.brandingInfo)==null?void 0:u.appearance)??null}),l=m(()=>new Vn(o(s)).pageStyleVars),c=m(()=>{var u;return((u=o(s))==null?void 0:u.color_page_bg)??"#ffffff"});{let u=m(()=>{var d;return(d=e.brandingInfo)==null?void 0:d.brand_font_config});u_(r,{get brandingAppearance(){return o(s)},get brandFontConfig(){return o(u)},get isInElement(){return e.isInElement},children:(d,p)=>{var g=L0(),_=se(g);{var f=b=>{g_(b,{get style(){return o(l)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};G(_,b=>{e.isSandbox&&b(f)})}var v=Y(_,2),y=D(v),h=D(y);wr(h,()=>e.mainContent??er),X(()=>Ae(v,`${o(l)??""}; background-color: ${o(c)??""}`)),P(d,g)},$$slots:{default:!0}})}me(),a()}var N0=W("<!> <!> <!>",1),B0=W('<div class="rcb-ui-loading-container svelte-1r889ax"><!></div>');const R0={hash:"svelte-1r889ax",code:".rcb-ui-loading-container.svelte-1r889ax {display:flex;flex-direction:column;align-items:center;}"};function U0(r,e){fe(e,!0),Pe(r,R0);const t=()=>ge(i,"$translator",n),[n,a]=He(),i=Xe(vr);E_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:l=>{var c=Se(),u=se(c);{var d=g=>{var _=B0(),f=D(_);Lo(f,{gap:"medium",align:"center",children:(v,y)=>{var h=N0(),b=se(h);Yi(b,{color:"var(--rc-color-grey-text-dark)"});var k=Y(b,2);ze(k,{size:"heading-md",children:(E,S)=>{var I=Oe();X(F=>be(I,F),[()=>t().translate(de.LoadingPageProcessingPayment)]),P(E,I)},$$slots:{default:!0}});var w=Y(k,2);ze(w,{size:"body-small",children:(E,S)=>{var I=Oe();X(F=>be(I,F),[()=>t().translate(de.LoadingPageKeepPageOpen)]),P(E,I)},$$slots:{default:!0}}),P(v,h)},$$slots:{default:!0}}),P(g,_)},p=g=>{var _=Se(),f=se(_);{var v=h=>{ts(h,{get onContinue(){return e.onContinue},fullWidth:!0})},y=h=>{var b=Se(),k=se(b);{var w=E=>{{let S=m(()=>{var F;return((F=e.brandingInfo)==null?void 0:F.support_email)??null}),I=m(()=>{var F;return((F=e.brandingInfo)==null?void 0:F.app_name)??null});rs(E,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(S)},get onDismiss(){return e.closeWithError},get appName(){return o(I)},fullWidth:!0})}};G(k,E=>{e.currentPage==="error"&&E(w)},!0)}P(h,b)};G(f,h=>{e.currentPage==="success"?h(v):h(y,!1)},!0)}P(g,_)};G(u,g=>{e.currentPage==="loading"?g(d):g(p,!1)})}P(l,c)},$$slots:{mainContent:!0}}),me(),a()}var V0=W('<span class="rcb-paddle-summary-muted svelte-1k1pux8">inc. tax</span>'),W0=W('<span class="rcb-paddle-summary-muted rcb-paddle-summary-price-name svelte-1k1pux8"> </span>'),H0=W('<span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span>'),Y0=W('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),G0=W('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),K0=W('<div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div> <!> <hr class="rcb-paddle-summary-divider svelte-1k1pux8"/> <div class="rcb-paddle-summary-row rcb-paddle-summary-row-strong svelte-1k1pux8"><span> </span> <span> </span></div> <!></div>'),X0=W('<div class="rcb-paddle-summary svelte-1k1pux8"><div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-amount-row svelte-1k1pux8"><span class="rcb-paddle-summary-amount svelte-1k1pux8"> </span> <!></div> <!> <div class="rcb-paddle-summary-product svelte-1k1pux8"><!> <!> <div class="rcb-paddle-summary-product-price svelte-1k1pux8"><span> </span> <!></div></div></div> <!></div>');const Z0={hash:"svelte-1k1pux8",code:`.rcb-paddle-summary.svelte-1k1pux8 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile, 16px);width:100%;}.rcb-paddle-summary-card.svelte-1k1pux8 {background:var(--rcb-card-bg);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile, 12px);}.rcb-paddle-summary-amount-row.svelte-1k1pux8 {display:flex;align-items:baseline;gap:8px;}.rcb-paddle-summary-amount.svelte-1k1pux8 {color:var(--rc-color-primary);font-weight:700;font-size:2rem;line-height:1.1;}.rcb-paddle-summary-product.svelte-1k1pux8 {display:flex;flex-direction:column;gap:2px;
405
+ }`};function A0(r,e){me(e,!0),Pe(r,D0);const t=m(()=>y0(e.brandingInfo)),n=m(()=>o(t).wordmarkSrc),a=m(()=>o(t).wordmarkSrcWebp),i=m(()=>o(t).src),s=m(()=>o(t).srcWebp),l=()=>{e.onClose&&e.onClose()};var c=T0();let u;var d=A(c);{var p=E=>{var S=I0(),I=A(S);w0(I,{$$events:{click:l}}),P(E,S)};G(d,E=>{e.showCloseButton&&E(p)})}var g=Y(d,2),_=A(g),f=A(_);{var v=E=>{S0(E,{get src(){return o(n)},get srcWebp(){return o(a)}})},w=E=>{var S=Ie(),I=ie(S);{var q=x=>{h0(x,{get src(){return o(i)},get srcWebp(){return o(s)}})};G(I,x=>{o(i)!==null&&o(s)!==null&&x(q)},!0)}P(E,S)};G(f,E=>{o(n)!==null?E(v):E(w,!1)})}var h=Y(f,2);{var y=E=>{ze(E,{size:"body-base",children:(S,I)=>{var q=Re();X(()=>{var x;return ke(q,(x=e.brandingInfo)==null?void 0:x.app_name)}),P(S,q)},$$slots:{default:!0}})};G(h,E=>{o(n)===null&&E(y)})}var k=Y(g,2);{var b=E=>{var S=C0(),I=A(S);f_(I,{$$events:{click:l}}),P(E,S)};G(k,E=>{e.showCloseButton&&E(b)})}X(()=>u=_r(c,1,"rcb-header-wrapper svelte-11a99mf",null,u,{"rcb-with-close-button":e.showCloseButton})),P(r,c),he()}var F0=W("<!> <!> <!> <!>",1);function M0(r,e){me(e,!0);let t=J(e,"showDiscountCodeField",3,!1),n=J(e,"draftDiscountCode",3,""),a=J(e,"appliedDiscountCode",3,null),i=J(e,"discountCodeError",3,null),s=J(e,"isUpdatingDiscountCode",3,!1),l=J(e,"isDiscountCodeControlsEnabled",3,!1),c=J(e,"onDraftDiscountCodeChange",3,void 0),u=J(e,"onApplyDiscountCode",3,void 0),d=J(e,"onRemoveDiscountCode",3,void 0),p=J(e,"onPaymentProcessingChange",3,void 0),g=J(e,"onSessionPricingUpdated",3,void 0),_=J(e,"onClose",3,void 0),f=J(e,"hideBackButton",3,!1),v=J(e,"lastTaxCustomerDetailsStore",19,()=>Ir(null));const w=Ho(e.productDetails,e.purchaseOptionToUse);let h=re(ar(e.defaultPriceBreakdown??{currency:w.currency,totalAmountInMicros:w.amountMicros,totalExcludingTaxInMicros:w.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null}));pr(()=>{const k=Ho(e.productDetails,e.purchaseOptionToUse);z(h,e.defaultPriceBreakdown??{currency:k.currency,totalAmountInMicros:k.amountMicros,totalExcludingTaxInMicros:k.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null},!0)});const y=k=>{z(h,k,!0)};h_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return _()},navbarHeaderContent:S=>{{let I=m(()=>!e.isInElement&&!!_()&&!f());A0(S,{get brandingInfo(){return e.brandingInfo},get onClose(){return _()},get showCloseButton(){return o(I)}})}},navbarBodyContent:S=>{{let I=m(()=>{var q,x;return((x=(q=e.brandingInfo)==null?void 0:q.appearance)==null?void 0:x.show_product_description)??!1});q1(S,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get showProductDescription(){return o(I)},get showDiscountCodeField(){return t()},get discountCode(){return n()},get appliedDiscountCode(){return a()},get discountCodeError(){return i()},get isUpdatingDiscountCode(){return s()},get isDiscountCodeControlsEnabled(){return l()},get onDiscountCodeChange(){return c()},get onApplyDiscountCode(){return u()},get onRemoveDiscountCode(){return d()},get priceBreakdown(){return o(h)}})}},mainContent:S=>{var I=F0(),q=ie(I);{var x=C=>{XP(C)};G(q,C=>{e.currentPage==="payment-entry-loading"&&C(x)})}var F=Y(q,2);{var T=C=>{wP(C,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get brandingInfo(){return e.brandingInfo},get purchaseOperationHelper(){return e.purchaseOperationHelper},get gatewayParams(){return e.gatewayParams},get managementUrl(){return e.managementUrl},get customerEmail(){return e.customerEmail},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get defaultPriceBreakdown(){return e.defaultPriceBreakdown},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get onContinue(){return e.onContinue},get onError(){return e.onError},onPriceBreakdownUpdated:y,get onSessionPricingUpdated(){return g()},get onProcessingStateChange(){return p()},get lastTaxCustomerDetailsStore(){return v()}})};G(F,C=>{e.currentPage==="payment-entry"&&C(T)})}var j=Y(F,2);{var O=C=>{{let D=m(()=>{var U;return((U=e.brandingInfo)==null?void 0:U.support_email)??null}),M=m(()=>{var U;return((U=e.brandingInfo)==null?void 0:U.app_name)??null});os(C,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(D)},get onDismiss(){return e.closeWithError},get appName(){return o(M)}})}};G(j,C=>{e.currentPage==="error"&&C(O)})}var N=Y(j,2);{var L=C=>{is(C,{get onContinue(){return e.onContinue}})};G(N,C=>{e.currentPage==="success"&&C(L)})}P(S,I)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),he()}function v_(r){return r.trim()===""?"You need to provide your email address to continue.":r.match(/^[^@]+@[^@]+\.[^@]+$/)?null:"Email is not valid. Please provide a valid email address."}function q0(r){if(r&&!r.match(/^[A-Z]{3}$/)){const e=`Currency code ${r} is not valid. Please provide a valid ISO 4217 currency code.`;throw we.errorLog(e),new er(Fe.ConfigurationError,e)}}function z0(r,e,t){const n=t==null?void 0:t.selected_purchase_option;return n?Vm(r.productType,n)??e:e}function L0(r,e){var ae;me(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1),a=J(e,"showDiscountCodeField",3,!1),i=J(e,"discountCode",3,void 0),s=J(e,"hideBackButton",3,!1),l=e.customerEmail?v_(e.customerEmail):null;let c=re(ar(l?void 0:e.customerEmail)),u=ar(e.rcPackage.webBillingProduct),d=re(null);const p=Ir(null);let g=m(()=>z0(u,e.purchaseOption,o(d))),_=re(null),f=re(ar(i()??"")),v=re(null),w=re(!1),h=re(!1),y=re("payment-entry-loading"),k=re(null),b=re(ar({})),E=re(null),S=re(void 0),I=m(()=>{var H,de,se;return((se=(de=(H=o(d))==null?void 0:H.applied_discounts)==null?void 0:de[0])==null?void 0:se.discount_code)??null}),q=m(()=>{var H,de;return{...o(b),...(de=(H=o(d))==null?void 0:H.gateway_params)!=null&&de.elements_configuration?{elements_configuration:o(d).gateway_params.elements_configuration}:{}}}),x=re(null),F=re(null),T=re(null),j=new Ln(t(),e.selectedLocale,e.defaultLocale),O=Ir(j);const N=Ir(((ae=e.brandingInfo)==null?void 0:ae.appearance)??null);vr(yr,O),vr(Un,N),Pr(()=>{e.isInElement||(z(x,document.documentElement.style.height,!0),z(F,document.documentElement.style.overflow,!0),z(T,document.body.style.height,!0),document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden")}),Ot(()=>{if(!e.isInElement){const H=(de,se,Ee)=>{Ee===""?de.style.removeProperty(se):de.style.setProperty(se,Ee)};H(document.documentElement,"height",o(x)),H(document.body,"height",o(T)),H(document.documentElement,"overflow",o(F))}}),vr(jo,e.eventsTracker);let L=ar(typeof e.purchases._shouldForceEnableWalletMethods=="function"?e.purchases._shouldForceEnableWalletMethods():!1);const C=(H,de,se)=>{const Ee=H.identifier??null;return Ee===null?Promise.reject(new ye(ve.ErrorSettingUpPurchase,"Product ID was not set before purchase.")):e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:Ee,purchaseOption:de,presentedOfferingContext:H.presentedOfferingContext,customerEmail:se,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale}).then(Le=>({result:Le,emailToUse:se})).catch(Le=>{if(Le.errorCode!==ve.MissingEmailError)throw Le;return e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:Ee,purchaseOption:de,presentedOfferingContext:H.presentedOfferingContext,customerEmail:void 0,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale}).then(Me=>({result:Me,emailToUse:void 0}))})},D=H=>H?H===yn.invalid_tax_location?"pending":"disabled":"calculated",M=H=>H instanceof ye&&[ve.StripeTaxNotActive,ve.StripeInvalidTaxOriginAddress,ve.StripeMissingRequiredPermission].includes(H.errorCode),U=()=>{const H=el(p);return{countryCode:H==null?void 0:H.countryCode,postalCode:H==null?void 0:H.postalCode,state:H==null?void 0:H.state,city:H==null?void 0:H.city,addressLine1:H==null?void 0:H.addressLine1,addressLine2:H==null?void 0:H.addressLine2}},V=(H,de)=>{z(d,H,!0),z(S,de??ed(H,D(H.failed_reason)),!0)};Pr(async()=>{try{const{result:H,emailToUse:de}=await C(u,o(g),o(c));if(z(_,null),z(c,de,!0),z(b,H.gateway_params,!0),z(E,H.management_url,!0),i())try{const se=await e.purchaseOperationHelper.checkoutRefreshPricing({...U(),discountCode:i()});V(se)}catch(se){if(M(se))throw se;if(a())z(v,se instanceof Error?se.message:"Failed to apply discount code.",!0);else throw se instanceof ye?se:new ye(ve.ErrorSettingUpPurchase,"Failed to apply discount code.")}z(y,"payment-entry")}catch(H){B(H instanceof ye?H:new ye(ve.UnknownError,H instanceof Error?H.message:String(H)))}});const R=H=>{z(f,H,!0),z(v,null)},$=H=>{z(h,H,!0)},ue=async H=>{var se;const de=(H==null?void 0:H.trim())||null;if(H!==null&&de===null){z(v,"Enter a discount code.");return}z(w,!0),z(v,null);try{const Ee=await e.purchaseOperationHelper.checkoutRefreshPricing({...U(),discountCode:de});V(Ee),z(f,de??"",!0),z(_,null),(se=e.onDiscountCodeChanged)==null||se.call(e,de)}catch(Ee){if(M(Ee)){B(Ee);return}z(v,Ee instanceof Error?Ee.message:"Failed to apply discount code.",!0)}finally{z(w,!1)}},pe=async()=>{await ue(o(f))},ne=async()=>{await ue(null)},Z=()=>{if(o(y)==="payment-entry"){e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(H=>{z(k,H,!0),n()?e.onFinished(H):z(y,"success")}).catch(H=>{B(H)});return}if(o(y)==="success"||o(y)==="error"){e.onFinished(o(k));return}z(y,"success")},B=H=>{const de=Op({errorCode:H.getErrorCode().toString(),errorMessage:H.message});e.eventsTracker.trackSDKEvent(de),z(_,H,!0),z(y,"error")},K=()=>{e.onError(o(_)??new ye(ve.UnknownError,"Unknown error without state set."))};{let H=m(()=>e.purchases.isSandbox()),de=m(()=>o(y)==="payment-entry"&&!o(h)),se=m(()=>o(c)??null);M0(r,{get isSandbox(){return o(H)},get currentPage(){return o(y)},get brandingInfo(){return e.brandingInfo},get productDetails(){return u},get purchaseOptionToUse(){return o(g)},get lastError(){return o(_)},get gatewayParams(){return o(q)},get managementUrl(){return o(E)},get purchaseOperationHelper(){return e.purchaseOperationHelper},get isInElement(){return e.isInElement},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get showDiscountCodeField(){return a()},get draftDiscountCode(){return o(f)},get appliedDiscountCode(){return o(I)},get discountCodeError(){return o(v)},get isUpdatingDiscountCode(){return o(w)},get isDiscountCodeControlsEnabled(){return o(de)},get forceEnableWalletMethods(){return L},get customerEmail(){return o(se)},get defaultPriceBreakdown(){return o(S)},closeWithError:K,onDraftDiscountCodeChange:R,onApplyDiscountCode:pe,onRemoveDiscountCode:ne,onPaymentProcessingChange:$,onSessionPricingUpdated:V,onContinue:Z,onError:B,get onClose(){return e.onClose},get hideBackButton(){return s()},get lastTaxCustomerDetailsStore(){return p}})}he()}function y_(r,e,t,n,a,i,s){try{var l=r[i](s),c=l.value}catch(u){return void t(u)}l.done?e(c):Promise.resolve(c).then(n,a)}function O0(r){return function(){var e=this,t=arguments;return new Promise(function(n,a){var i=r.apply(e,t);function s(c){y_(i,n,a,s,l,"next",c)}function l(c){y_(i,n,a,s,l,"throw",c)}s(void 0)})}}function N0(r,e,t){return(e=R0(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function b_(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function oc(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?b_(Object(t),!0).forEach(function(n){N0(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):b_(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function k_(r,e){if(r==null)return{};var t,n,a=j0(r,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(n=0;n<i.length;n++)t=i[n],e.includes(t)||{}.propertyIsEnumerable.call(r,t)&&(a[t]=r[t])}return a}function j0(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}function ic(){ic=function(){return e};var r,e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(C,D,M){C[D]=M.value},i=typeof Symbol=="function"?Symbol:{},s=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(C,D,M){return Object.defineProperty(C,D,{value:M,enumerable:!0,configurable:!0,writable:!0}),C[D]}try{u({},"")}catch{u=function(D,M,U){return D[M]=U}}function d(C,D,M,U){var V=D&&D.prototype instanceof h?D:h,R=Object.create(V.prototype),$=new N(U||[]);return a(R,"_invoke",{value:F(C,M,$)}),R}function p(C,D,M){try{return{type:"normal",arg:C.call(D,M)}}catch(U){return{type:"throw",arg:U}}}e.wrap=d;var g="suspendedStart",_="suspendedYield",f="executing",v="completed",w={};function h(){}function y(){}function k(){}var b={};u(b,s,function(){return this});var E=Object.getPrototypeOf,S=E&&E(E(L([])));S&&S!==t&&n.call(S,s)&&(b=S);var I=k.prototype=h.prototype=Object.create(b);function q(C){["next","throw","return"].forEach(function(D){u(C,D,function(M){return this._invoke(D,M)})})}function x(C,D){function M(V,R,$,ue){var pe=p(C[V],C,R);if(pe.type!=="throw"){var ne=pe.arg,Z=ne.value;return Z&&typeof Z=="object"&&n.call(Z,"__await")?D.resolve(Z.__await).then(function(B){M("next",B,$,ue)},function(B){M("throw",B,$,ue)}):D.resolve(Z).then(function(B){ne.value=B,$(ne)},function(B){return M("throw",B,$,ue)})}ue(pe.arg)}var U;a(this,"_invoke",{value:function(V,R){function $(){return new D(function(ue,pe){M(V,R,ue,pe)})}return U=U?U.then($,$):$()}})}function F(C,D,M){var U=g;return function(V,R){if(U===f)throw Error("Generator is already running");if(U===v){if(V==="throw")throw R;return{value:r,done:!0}}for(M.method=V,M.arg=R;;){var $=M.delegate;if($){var ue=T($,M);if(ue){if(ue===w)continue;return ue}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(U===g)throw U=v,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);U=f;var pe=p(C,D,M);if(pe.type==="normal"){if(U=M.done?v:_,pe.arg===w)continue;return{value:pe.arg,done:M.done}}pe.type==="throw"&&(U=v,M.method="throw",M.arg=pe.arg)}}}function T(C,D){var M=D.method,U=C.iterator[M];if(U===r)return D.delegate=null,M==="throw"&&C.iterator.return&&(D.method="return",D.arg=r,T(C,D),D.method==="throw")||M!=="return"&&(D.method="throw",D.arg=new TypeError("The iterator does not provide a '"+M+"' method")),w;var V=p(U,C.iterator,D.arg);if(V.type==="throw")return D.method="throw",D.arg=V.arg,D.delegate=null,w;var R=V.arg;return R?R.done?(D[C.resultName]=R.value,D.next=C.nextLoc,D.method!=="return"&&(D.method="next",D.arg=r),D.delegate=null,w):R:(D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,w)}function j(C){var D={tryLoc:C[0]};1 in C&&(D.catchLoc=C[1]),2 in C&&(D.finallyLoc=C[2],D.afterLoc=C[3]),this.tryEntries.push(D)}function O(C){var D=C.completion||{};D.type="normal",delete D.arg,C.completion=D}function N(C){this.tryEntries=[{tryLoc:"root"}],C.forEach(j,this),this.reset(!0)}function L(C){if(C||C===""){var D=C[s];if(D)return D.call(C);if(typeof C.next=="function")return C;if(!isNaN(C.length)){var M=-1,U=function V(){for(;++M<C.length;)if(n.call(C,M))return V.value=C[M],V.done=!1,V;return V.value=r,V.done=!0,V};return U.next=U}}throw new TypeError(typeof C+" is not iterable")}return y.prototype=k,a(I,"constructor",{value:k,configurable:!0}),a(k,"constructor",{value:y,configurable:!0}),y.displayName=u(k,c,"GeneratorFunction"),e.isGeneratorFunction=function(C){var D=typeof C=="function"&&C.constructor;return!!D&&(D===y||(D.displayName||D.name)==="GeneratorFunction")},e.mark=function(C){return Object.setPrototypeOf?Object.setPrototypeOf(C,k):(C.__proto__=k,u(C,c,"GeneratorFunction")),C.prototype=Object.create(I),C},e.awrap=function(C){return{__await:C}},q(x.prototype),u(x.prototype,l,function(){return this}),e.AsyncIterator=x,e.async=function(C,D,M,U,V){V===void 0&&(V=Promise);var R=new x(d(C,D,M,U),V);return e.isGeneratorFunction(D)?R:R.next().then(function($){return $.done?$.value:R.next()})},q(I),u(I,c,"Generator"),u(I,s,function(){return this}),u(I,"toString",function(){return"[object Generator]"}),e.keys=function(C){var D=Object(C),M=[];for(var U in D)M.push(U);return M.reverse(),function V(){for(;M.length;){var R=M.pop();if(R in D)return V.value=R,V.done=!1,V}return V.done=!0,V}},e.values=L,N.prototype={constructor:N,reset:function(C){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(O),!C)for(var D in this)D.charAt(0)==="t"&&n.call(this,D)&&!isNaN(+D.slice(1))&&(this[D]=r)},stop:function(){this.done=!0;var C=this.tryEntries[0].completion;if(C.type==="throw")throw C.arg;return this.rval},dispatchException:function(C){if(this.done)throw C;var D=this;function M(pe,ne){return R.type="throw",R.arg=C,D.next=pe,ne&&(D.method="next",D.arg=r),!!ne}for(var U=this.tryEntries.length-1;U>=0;--U){var V=this.tryEntries[U],R=V.completion;if(V.tryLoc==="root")return M("end");if(V.tryLoc<=this.prev){var $=n.call(V,"catchLoc"),ue=n.call(V,"finallyLoc");if($&&ue){if(this.prev<V.catchLoc)return M(V.catchLoc,!0);if(this.prev<V.finallyLoc)return M(V.finallyLoc)}else if($){if(this.prev<V.catchLoc)return M(V.catchLoc,!0)}else{if(!ue)throw Error("try statement without catch or finally");if(this.prev<V.finallyLoc)return M(V.finallyLoc)}}}},abrupt:function(C,D){for(var M=this.tryEntries.length-1;M>=0;--M){var U=this.tryEntries[M];if(U.tryLoc<=this.prev&&n.call(U,"finallyLoc")&&this.prev<U.finallyLoc){var V=U;break}}V&&(C==="break"||C==="continue")&&V.tryLoc<=D&&D<=V.finallyLoc&&(V=null);var R=V?V.completion:{};return R.type=C,R.arg=D,V?(this.method="next",this.next=V.finallyLoc,w):this.complete(R)},complete:function(C,D){if(C.type==="throw")throw C.arg;return C.type==="break"||C.type==="continue"?this.next=C.arg:C.type==="return"?(this.rval=this.arg=C.arg,this.method="return",this.next="end"):C.type==="normal"&&D&&(this.next=D),w},finish:function(C){for(var D=this.tryEntries.length-1;D>=0;--D){var M=this.tryEntries[D];if(M.finallyLoc===C)return this.complete(M.completion,M.afterLoc),O(M),w}},catch:function(C){for(var D=this.tryEntries.length-1;D>=0;--D){var M=this.tryEntries[D];if(M.tryLoc===C){var U=M.completion;if(U.type==="throw"){var V=U.arg;O(M)}return V}}throw Error("illegal catch attempt")},delegateYield:function(C,D,M){return this.delegate={iterator:L(C),resultName:D,nextLoc:M},this.method==="next"&&(this.arg=r),w}},e}function B0(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function R0(r){var e=B0(r,"string");return typeof e=="symbol"?e:e+""}var Yo={CLASSIC:"classic",V1:"v1"},U0=Yo.V1,V0="https://cdn.paddle.com/paddle/paddle.js",W0="https://cdn.paddle.com/paddle/v2/paddle.js",H0={url:V0},Y0={url:W0};function G0(r){return document.querySelector('script[src="'.concat(r,'"]'))||void 0}function K0(r){var e=document.createElement("script");e.src=r;var t=document.head||document.body;if(!t)throw new Error("Cannot inject Paddle.js. It needs a <head> or <body> element.");return t.appendChild(e),e}var sc={classic:void 0,v1:void 0},X0={classic:"PaddleClassic",v1:"PaddleBillingV1"};function Z0(r){var e,t=(e=J0(r))===null||e===void 0?void 0:e.url;if(t){var n=sc[r],a=X0[r];return n!==void 0?n:(sc[r]=new Promise(function(i,s){if(typeof window>"u"){i(void 0);return}if(window[a]){i(window[a]);return}try{var l=G0(t);l||(l=K0(t)),l.addEventListener("load",function(){window[a]?i(window[a]):s(new Error("Paddle.js not available"))}),l.addEventListener("error",function(){s(new Error("Failed to load Paddle.js - ".concat(r)))})}catch(c){s(c);return}}),sc[r])}}function J0(r){if(r===Yo.CLASSIC)return H0;if(r===Yo.V1)return Y0;console.error("[Paddle] Unknown Paddle Version")}var Q0=["environment","version"],$0=["environment","version"];function ex(r,e){var t=r.environment;r.version;var n=k_(r,Q0);try{t&&e.Environment.set(t),e.Initialized?e.Update(oc({},n)):e.Initialize(oc({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}function rx(r,e){var t=r.environment;r.version;var n=k_(r,$0);try{t&&e.Environment.set(t),e.Setup(oc({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}var Ja;(function(r){r.CHECKOUT_LOADED="checkout.loaded",r.CHECKOUT_CLOSED="checkout.closed",r.CHECKOUT_UPDATED="checkout.updated",r.CHECKOUT_COMPLETED="checkout.completed",r.CHECKOUT_ERROR="checkout.error",r.CHECKOUT_FAILED="checkout.failed",r.CHECKOUT_ITEMS_UPDATED="checkout.items.updated",r.CHECKOUT_ITEMS_REMOVED="checkout.items.removed",r.CHECKOUT_CUSTOMER_CREATED="checkout.customer.created",r.CHECKOUT_CUSTOMER_UPDATED="checkout.customer.updated",r.CHECKOUT_CUSTOMER_REMOVED="checkout.customer.removed",r.CHECKOUT_PAYMENT_SELECTED="checkout.payment.selected",r.CHECKOUT_PAYMENT_INITIATED="checkout.payment.initiated",r.CHECKOUT_PAYMENT_FAILED="checkout.payment.failed",r.CHECKOUT_PAYMENT_ERROR="checkout.payment.error",r.CHECKOUT_DISCOUNT_APPLIED="checkout.discount.applied",r.CHECKOUT_DISCOUNT_REMOVED="checkout.discount.removed",r.CHECKOUT_UPSELL_CANCELED="checkout.upsell.canceled"})(Ja||(Ja={}));var w_;(function(r){r.DAY="day",r.WEEK="week",r.MONTH="month",r.YEAR="year"})(w_||(w_={}));var P_;(function(r){r.ALIPAY="alipay",r.APPLE_PAY="apple-pay",r.CARD="card",r.GOOGLE_PAY="google-pay",r.IDEAL="ideal",r.PAYPAL="paypal",r.WECHAT_PAY="wechat-pay",r.WIRE_TRANSFER="wire-transfer",r.NONE="none"})(P_||(P_={}));var x_;(function(r){r.AMERICAN_EXPRESS="american_express",r.DINERS_CLUB="diners_club",r.DISCOVER="discover",r.JCB="jcb",r.MADA="mada",r.MAESTRO="maestro",r.MASTER_CARD="mastercard",r.UNION_PAY="union_pay",r.VISA="visa",r.UNKNOWN="unknown"})(x_||(x_={}));var E_;(function(r){r.DRAFT="draft",r.READY="ready",r.COMPLETED="completed",r.BILLED="billed",r.canceled="canceled",r.PAST_DUE="past_due"})(E_||(E_={}));function tx(r){return lc.apply(this,arguments)}function lc(){return lc=O0(ic().mark(function r(e){var t,n;return ic().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=(e==null?void 0:e.version)||U0,i.next=3,Z0(t);case 3:if(n=i.sent,!n){i.next=9;break}return e&&(t===Yo.V1?ex(e,n):t===Yo.CLASSIC&&rx(e,n)),i.abrupt("return",n);case 9:return console.error("[Paddle] Error Loading Paddle"),i.abrupt("return");case 11:case"end":return i.stop()}},r)})),lc.apply(this,arguments)}const S_="paddle-checkout-container",nx=450,ax="width:100%; min-width:312px; background-color:transparent; border:none;";function ox({transactionId:r,locale:e,customerEmail:t,displayMode:n="overlay",theme:a="light"}){const i={theme:a,variant:"one-page",locale:e,allowLogout:!1,showAddDiscounts:!1,showAddTaxId:!1,allowDiscountRemoval:!1},s=n==="inline"?{...i,displayMode:"inline",frameTarget:S_,frameInitialHeight:nx,frameStyle:ax}:{...i,displayMode:"overlay"};return{transactionId:r,settings:s,...t&&{customer:{email:t}}}}class ix{constructor(e,t,n=10){ee(this,"paddleInstance");ee(this,"backend");ee(this,"eventsTracker");ee(this,"maxNumberAttempts");ee(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}async initializePaddle(e,t){var a;if((a=this.paddleInstance)!=null&&a.Initialized)return we.debugLog("Paddle already initialized, returning existing instance"),this.paddleInstance;const n=t?"sandbox":"production";try{const i=await tx({token:e,version:"v1",environment:n});if(!i)throw new ye(ve.UnknownError,"Paddle client not found");return this.paddleInstance=i,we.debugLog(`Paddle initialized with environment: ${n}`),i}catch(i){throw i instanceof ye?i:new ye(ve.UnknownError,`Error initializing Paddle: ${i}`)}}getPaddleInstance(){var e;if(!((e=this.paddleInstance)!=null&&e.Initialized))throw new ye(ve.UnknownError,"Paddle not initialized.");return this.paddleInstance}closeCheckout(){var e;(e=this.paddleInstance)!=null&&e.Initialized&&this.paddleInstance.Checkout.close()}async startCheckout({appUserId:e,productId:t,presentedOfferingContext:n,purchaseOption:a,customerEmail:i,metadata:s,locale:l,attributionMetadata:c}){try{const u=this.eventsTracker.getTraceId(),d=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:a,presentedOfferingContext:n,traceId:u,customerEmail:i??void 0,metadata:s,locale:l,attributionMetadata:c});return await this.initializePaddle(d.paddle_billing_params.client_side_token,d.paddle_billing_params.is_sandbox),d}catch(u){throw u instanceof er?ye.fromPurchasesError(u,ve.ErrorSettingUpPurchase,u.errorCode===Fe.InvalidCredentialsError):new ye(ve.UnknownError,`Error starting Paddle checkout: ${u}`)}}async purchase({operationSessionId:e,transactionId:t,onCheckoutLoaded:n,onClose:a,params:i,displayMode:s="overlay",theme:l="light",onCheckoutTotals:c,onCheckoutCompleted:u}){const d=this.getPaddleInstance(),{customerEmail:p,locale:g="en"}=i,_=f=>{var v,w,h;if(c&&(f!=null&&f.totals)){const y=(v=f.items)==null?void 0:v[0];c({currencyCode:f.currency_code,subtotalAmount:f.totals.subtotal,taxAmount:f.totals.tax,totalAmount:f.totals.total,recurringTotalAmount:((w=f.recurring_totals)==null?void 0:w.total)??null,productName:((h=y==null?void 0:y.product)==null?void 0:h.name)??null,priceName:(y==null?void 0:y.price_name)??null})}};return new Promise((f,v)=>{d.Update({eventCallback:async h=>{const y=h.name,k=h.data;try{if(y===Ja.CHECKOUT_LOADED)n(),_(k);else if(y===Ja.CHECKOUT_UPDATED)_(k);else if(y===Ja.CHECKOUT_COMPLETED){u==null||u(),d.Checkout.close();const b=await this.pollOperationStatus(e);f(b)}else y===Ja.CHECKOUT_CLOSED&&(k!=null&&k.status)&&a()}catch(b){d.Checkout.close(),b instanceof ye?v(b):b instanceof er?v(ye.fromPurchasesError(b,ve.UnknownError)):v(new ye(ve.UnknownError,`Paddle event handler error: ${b}`))}}});const w=ox({transactionId:t,locale:g,customerEmail:p,displayMode:s,theme:l});try{d.Checkout.open(w)}catch(h){v(new ye(ve.UnknownError,`Failed to open Paddle checkout: ${h}`))}})}async pollOperationStatus(e){if(!e)throw new ye(ve.ErrorSettingUpPurchase,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){n(new ye(ve.UnknownError,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const l=s.operation.store_transaction_identifier,c=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case vn.Started:case vn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case vn.Succeeded:if(!l||!c||!u){n(new ye(ve.UnknownError,"Missing required fields in operation response."));return}t({redemptionInfo:$u(s),operationSessionId:e,storeTransactionIdentifier:l??"",productIdentifier:c,purchaseDate:u??new Date,attributionMetadata:s.attribution_metadata??void 0});return;case vn.Failed:rd(s.operation.error,n)}}).catch(s=>{if(s instanceof er){const l=ye.fromPurchasesError(s,ve.NetworkError);n(l)}else n(new ye(ve.NetworkError,`Failed to get checkout status: ${s}`))})};a()})}}const ls=(r,e)=>r instanceof ye?r:r instanceof er?ye.fromPurchasesError(r,ve.UnknownError):new ye(ve.UnknownError,e);var sx=W('<!> <div class="rcb-fullscreen-wrapper svelte-skuziz"><div class="rcb-fullscreen-content svelte-skuziz"><!></div></div>',1);const lx={hash:"svelte-skuziz",code:".rcb-fullscreen-wrapper.svelte-skuziz {width:100%;min-height:100%;display:flex;flex-direction:column;align-items:center;}.rcb-fullscreen-content.svelte-skuziz {flex:1;width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--rc-color-grey-text-dark);}"};function I_(r,e){me(e,!0),Pe(r,lx);const t=()=>ge(i,"$brandingAppearanceStore",n),[n,a]=Ve(),i=Ze(Un),s=m(()=>{var u;return t()??((u=e.brandingInfo)==null?void 0:u.appearance)??null}),l=m(()=>new Wn(o(s)).pageStyleVars),c=m(()=>{var u;return((u=o(s))==null?void 0:u.color_page_bg)??"#ffffff"});{let u=m(()=>{var d;return(d=e.brandingInfo)==null?void 0:d.brand_font_config});p_(r,{get brandingAppearance(){return o(s)},get brandFontConfig(){return o(u)},get isInElement(){return e.isInElement},children:(d,p)=>{var g=sx(),_=ie(g);{var f=y=>{m_(y,{get style(){return o(l)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};G(_,y=>{e.isSandbox&&y(f)})}var v=Y(_,2),w=A(v),h=A(w);wr(h,()=>e.mainContent??tr),X(()=>Ae(v,`${o(l)??""}; background-color: ${o(c)??""}`)),P(d,g)},$$slots:{default:!0}})}he(),a()}var cx=W("<!> <!> <!>",1),ux=W('<div class="rcb-ui-loading-container svelte-1r889ax"><!></div>');const dx={hash:"svelte-1r889ax",code:".rcb-ui-loading-container.svelte-1r889ax {display:flex;flex-direction:column;align-items:center;}"};function px(r,e){me(e,!0),Pe(r,dx);const t=()=>ge(i,"$translator",n),[n,a]=Ve(),i=Ze(yr);I_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:l=>{var c=Ie(),u=ie(c);{var d=g=>{var _=ux(),f=A(_);No(f,{gap:"medium",align:"center",children:(v,w)=>{var h=cx(),y=ie(h);Zi(y,{color:"var(--rc-color-grey-text-dark)"});var k=Y(y,2);ze(k,{size:"heading-md",children:(E,S)=>{var I=Re();X(q=>ke(I,q),[()=>t().translate(ce.LoadingPageProcessingPayment)]),P(E,I)},$$slots:{default:!0}});var b=Y(k,2);ze(b,{size:"body-small",children:(E,S)=>{var I=Re();X(q=>ke(I,q),[()=>t().translate(ce.LoadingPageKeepPageOpen)]),P(E,I)},$$slots:{default:!0}}),P(v,h)},$$slots:{default:!0}}),P(g,_)},p=g=>{var _=Ie(),f=ie(_);{var v=h=>{is(h,{get onContinue(){return e.onContinue},fullWidth:!0})},w=h=>{var y=Ie(),k=ie(y);{var b=E=>{{let S=m(()=>{var q;return((q=e.brandingInfo)==null?void 0:q.support_email)??null}),I=m(()=>{var q;return((q=e.brandingInfo)==null?void 0:q.app_name)??null});os(E,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(S)},get onDismiss(){return e.closeWithError},get appName(){return o(I)},fullWidth:!0})}};G(k,E=>{e.currentPage==="error"&&E(b)},!0)}P(h,y)};G(f,h=>{e.currentPage==="success"?h(v):h(w,!1)},!0)}P(g,_)};G(u,g=>{e.currentPage==="loading"?g(d):g(p,!1)})}P(l,c)},$$slots:{mainContent:!0}}),he(),a()}var _x=W('<span class="rcb-paddle-summary-muted svelte-1k1pux8">inc. tax</span>'),gx=W('<span class="rcb-paddle-summary-muted rcb-paddle-summary-price-name svelte-1k1pux8"> </span>'),fx=W('<span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span>'),mx=W('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),hx=W('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),vx=W('<div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div> <!> <hr class="rcb-paddle-summary-divider svelte-1k1pux8"/> <div class="rcb-paddle-summary-row rcb-paddle-summary-row-strong svelte-1k1pux8"><span> </span> <span> </span></div> <!></div>'),yx=W('<div class="rcb-paddle-summary svelte-1k1pux8"><div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-amount-row svelte-1k1pux8"><span class="rcb-paddle-summary-amount svelte-1k1pux8"> </span> <!></div> <!> <div class="rcb-paddle-summary-product svelte-1k1pux8"><!> <!> <div class="rcb-paddle-summary-product-price svelte-1k1pux8"><span> </span> <!></div></div></div> <!></div>');const bx={hash:"svelte-1k1pux8",code:`.rcb-paddle-summary.svelte-1k1pux8 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile, 16px);width:100%;}.rcb-paddle-summary-card.svelte-1k1pux8 {background:var(--rcb-card-bg);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile, 12px);}.rcb-paddle-summary-amount-row.svelte-1k1pux8 {display:flex;align-items:baseline;gap:8px;}.rcb-paddle-summary-amount.svelte-1k1pux8 {color:var(--rc-color-primary);font-weight:700;font-size:2rem;line-height:1.1;}.rcb-paddle-summary-product.svelte-1k1pux8 {display:flex;flex-direction:column;gap:2px;
399
406
  /* Extra separation between the amount/billing line and the product block. */margin-top:var(--rc-spacing-gapLarge-mobile, 16px);}.rcb-paddle-summary-price-name.svelte-1k1pux8 {font-size:0.8125rem;}.rcb-paddle-summary-product-price.svelte-1k1pux8 {display:flex;align-items:baseline;gap:6px;font-weight:600;font-size:1.25rem;
400
- /* A bit more separation from the price-name line above. */margin-top:var(--rc-spacing-gapSmall-mobile, 8px);}.rcb-paddle-summary-row.svelte-1k1pux8 {display:flex;justify-content:space-between;align-items:center;}.rcb-paddle-summary-row-strong.svelte-1k1pux8 {font-weight:700;}.rcb-paddle-summary-muted.svelte-1k1pux8 {color:var(--rc-color-grey-text-light);}.rcb-paddle-summary-divider.svelte-1k1pux8 {border:none;border-top:1px solid var(--rc-color-grey-ui-light);margin:4px 0;width:100%;}`};function J0(r,e){var ae;fe(e,!0),Pe(r,Z0);const t=()=>ge(i,"$translator",n),[n,a]=He(),i=Xe(vr),l=new Vn(((ae=e.brandingInfo)==null?void 0:ae.appearance)??null).formColors.background,u=(Z=>"base"in Z)(e.purchaseOption)?e.purchaseOption.base.period??null:null,d=Z=>Math.round(Z*1e6),p=Wo(e.productDetails,e.purchaseOption),g=m(()=>{var Z;return((Z=e.totals)==null?void 0:Z.currencyCode)??p.currency}),_=m(()=>e.totals?d(e.totals.totalAmount):p.amountMicros),f=Z=>t().formatPrice(Z,o(g)),v=m(()=>u?t().translatePeriodUnit(u.unit):null),y=m(()=>u?t().translatePeriodFrequency(u.number,u.unit):null),h=m(()=>{var Z;return((Z=e.totals)==null?void 0:Z.productName)??e.productDetails.title}),b=m(()=>{var Z;return((Z=e.totals)==null?void 0:Z.priceName)??null}),k=m(()=>!!e.totals&&e.totals.taxAmount>0),w=m(()=>{if(!e.totals||e.totals.recurringTotalAmount===null||!u)return null;const Z=Io(new Date,u,!0);return Z?new Intl.DateTimeFormat(ua(t().selectedLocale),{day:"numeric",month:"long",year:"numeric"}).format(Z):null});var E=X0(),S=D(E),I=D(S),F=D(I),x=D(F),q=Y(F,2);{var T=Z=>{var B=V0();P(Z,B)};G(q,Z=>{o(k)&&Z(T)})}var N=Y(I,2);{var L=Z=>{ze(Z,{size:"body-small",children:(B,K)=>{var oe=Oe();X(()=>be(oe,`billed ${o(y)??""}`)),P(B,oe)},$$slots:{default:!0}})};G(N,Z=>{o(y)&&Z(L)})}var O=Y(N,2),j=D(O);ze(j,{size:"body-base",children:(Z,B)=>{var K=Oe();X(()=>be(K,o(h))),P(Z,K)},$$slots:{default:!0}});var C=Y(j,2);{var A=Z=>{var B=W0(),K=D(B);X(()=>be(K,o(b))),P(Z,B)};G(C,Z=>{o(b)&&Z(A)})}var M=Y(C,2),U=D(M),V=D(U),R=Y(U,2);{var $=Z=>{var B=H0(),K=D(B);X(()=>be(K,`/ ${o(v)??""}`)),P(Z,B)};G(R,Z=>{o(v)&&Z($)})}var le=Y(S,2);{var _e=Z=>{var B=K0(),K=D(B),oe=D(K),H=D(oe),pe=Y(oe,2),ue=D(pe),Ee=Y(K,2);{var qe=ne=>{var Ce=Y0(),Ke=D(Ce),nr=D(Ke),yr=Y(Ke,2),Ne=D(yr);X((ce,Re)=>{be(nr,ce),be(Ne,Re)},[()=>t().translate(de.PricingTableTax),()=>f(d(e.totals.taxAmount))]),P(ne,Ce)};G(Ee,ne=>{o(k)&&ne(qe)})}var Me=Y(Ee,4),Te=D(Me),Ie=D(Te),Be=Y(Te,2),Ye=D(Be),ie=Y(Me,2);{var ye=ne=>{var Ce=G0(),Ke=D(Ce),nr=D(Ke),yr=Y(Ke,2),Ne=D(yr);X(ce=>{be(nr,`Due on ${o(w)??""}`),be(Ne,ce)},[()=>f(d(e.totals.recurringTotalAmount))]),P(ne,Ce)};G(ie,ne=>{e.totals.recurringTotalAmount!==null&&o(w)&&ne(ye)})}X((ne,Ce,Ke,nr)=>{be(H,ne),be(ue,Ce),be(Ie,Ke),be(Ye,nr)},[()=>t().translate(de.PricingTableSubtotal),()=>f(d(e.totals.subtotalAmount)),()=>t().translate(de.PricingTableTotalDueToday),()=>f(d(e.totals.totalAmount))]),P(Z,B)};G(le,Z=>{e.totals&&Z(_e)})}X((Z,B)=>{Ae(E,`--rcb-card-bg: ${l??""};`),be(x,Z),be(V,B)},[()=>f(o(_)),()=>f(o(_))]),P(r,E),me(),a()}var Q0=W('<button type="button" class="rcb-paddle-return-button svelte-5dakll" data-testid="paddle-return-button"><!> <span> </span></button>'),$0=W("<!> <!> <!>",1),ex=W('<div class="rcb-paddle-processing svelte-5dakll"><!></div>'),rx=W('<div data-testid="paddle-inline-checkout-container" style="width: 100%; min-height: 450px;"></div>');const tx={hash:"svelte-5dakll",code:".rcb-paddle-return-button.svelte-5dakll {display:inline-flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile, 8px);padding:8px 0;border:none;background:transparent;cursor:pointer;color:var(--rc-color-accent);font:inherit;}.rcb-paddle-processing.svelte-5dakll {display:flex;justify-content:center;width:100%;min-height:450px;align-items:center;}"};function nx(r,e){var c;fe(e,!0),Pe(r,tx);const t=()=>ge(s,"$translator",n),[n,a]=He(),i=J(e,"hideBackButton",3,!1),s=Xe(vr),l=((c=e.brandingInfo)==null?void 0:c.app_name)??null;f_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return e.onClose},navbarHeaderContent:g=>{var _=Se(),f=se(_);{var v=y=>{var h=Q0();h.__click=function(...E){var S;(S=e.onClose)==null||S.apply(this,E)};var b=D(h);Wn(b,{name:"back"});var k=Y(b,2),w=D(k);X(()=>be(w,l?`Return to ${l}`:"Back")),P(y,h)};G(f,y=>{!e.isInElement&&!i()&&y(v)})}P(g,_)},navbarBodyContent:g=>{J0(g,{get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return e.totals}})},mainContent:g=>{var _=Se(),f=se(_);{var v=h=>{ts(h,{get onContinue(){return e.onContinue}})},y=h=>{var b=Se(),k=se(b);{var w=S=>{{let I=m(()=>{var x;return((x=e.brandingInfo)==null?void 0:x.support_email)??null}),F=m(()=>{var x;return((x=e.brandingInfo)==null?void 0:x.app_name)??null});rs(S,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(I)},get onDismiss(){return e.closeWithError},get appName(){return o(F)}})}},E=S=>{var I=Se(),F=se(I);{var x=T=>{var N=ex(),L=D(N);Lo(L,{gap:"medium",align:"center",children:(O,j)=>{var C=$0(),A=se(C);Yi(A,{color:"var(--rc-color-grey-text-dark)"});var M=Y(A,2);ze(M,{size:"heading-md",children:(V,R)=>{var $=Oe();X(le=>be($,le),[()=>t().translate(de.LoadingPageProcessingPayment)]),P(V,$)},$$slots:{default:!0}});var U=Y(M,2);ze(U,{size:"body-small",children:(V,R)=>{var $=Oe();X(le=>be($,le),[()=>t().translate(de.LoadingPageKeepPageOpen)]),P(V,$)},$$slots:{default:!0}}),P(O,C)},$$slots:{default:!0}}),P(T,N)},q=T=>{var N=rx();X(()=>pr(N,1,ca(x_),"svelte-5dakll")),P(T,N)};G(F,T=>{e.checkoutCompleted?T(x):T(q,!1)},!0)}P(S,I)};G(k,S=>{e.currentPage==="error"?S(w):S(E,!1)},!0)}P(h,b)};G(f,h=>{e.currentPage==="success"?h(v):h(y,!1)})}P(g,_)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),me(),a()}_n(["click"]);function ax(r,e){var N,L,O;fe(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1),a=J(e,"hideBackButton",3,!1);let i=new Fn(t(),e.selectedLocale,e.defaultLocale),s=Sr(i);const l=Sr(((N=e.brandingInfo)==null?void 0:N.appearance)??null);kr(vr,s),kr(Rn,l),kr(Oo,e.eventsTracker);let c=te(!1),u=te(null),d=te(null),p=te("waiting"),g=te(!1),_=te(null);const f=m(()=>{var j;return((j=o(_))==null?void 0:j.paddle_billing_params.inline_checkout_enabled)??!1});let v=te(null);const y=j=>{z(v,j,!0)},h=uw(((O=(L=e.brandingInfo)==null?void 0:L.appearance)==null?void 0:O.color_page_bg)??"#ffffff")?"light":"dark";gr(()=>{o(p)==="success"&&o(u)&&n()&&e.onFinished(o(u))});const b=()=>{o(p)==="success"&&o(u)&&e.onFinished(o(u))},k=()=>{e.paddleService.closeCheckout(),e.onClose()},w=()=>{e.onError(o(d)??new ve(he.UnknownError,"Unknown error without state set.")),e.unmountPaddlePurchaseUi()};let E=null,S=null,I=null;Er(async()=>{var U;e.isInElement||(E=document.documentElement.style.height,S=document.documentElement.style.overflow,I=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const j=()=>{z(p,"loading")},C=()=>{z(g,!0),z(p,"loading")},A={offeringIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,targetingContext:null,placementIdentifier:null};let M;try{M=await e.paddleService.startCheckout({appUserId:e.appUserId,productId:e.productDetails.identifier,presentedOfferingContext:A,purchaseOption:e.purchaseOption,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.selectedLocale,attributionMetadata:e.attributionMetadata}),z(_,M,!0),z(c,M.paddle_billing_params.is_sandbox,!0),o(f)&&await Iu()}catch(V){const R=as(V,`Start Paddle checkout failed: ${V}`);z(d,R,!0),z(p,"error"),e.onError(R);return}try{const V=await e.paddleService.purchase({operationSessionId:M.operation_session_id,transactionId:(U=M.paddle_billing_params)==null?void 0:U.transaction_id,onCheckoutLoaded:j,onClose:e.onClose,params:{rcPackage:e.rcPackage,purchaseOption:e.purchaseOption,appUserId:e.appUserId,presentedOfferingIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,customerEmail:e.customerEmail,locale:e.selectedLocale||e.defaultLocale},...o(f)&&{displayMode:"inline",theme:h,onCheckoutTotals:y,onCheckoutCompleted:C}});n()?e.onFinished(V):(z(u,V,!0),z(p,"success"))}catch(V){const R=as(V,`Paddle purchase failed: ${V}`);z(d,R,!0),z(p,"error"),e.onError(R)}}),jt(()=>{if(!e.isInElement){const j=(C,A,M)=>{M===""?C.style.removeProperty(A):C.style.setProperty(A,M)};j(document.documentElement,"height",E),j(document.body,"height",I),j(document.documentElement,"overflow",S)}});var F=Se(),x=se(F);{var q=j=>{nx(j,{get brandingInfo(){return e.brandingInfo},get isSandbox(){return o(c)},get isInElement(){return e.isInElement},onClose:k,get hideBackButton(){return a()},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return o(v)},get currentPage(){return o(p)},get checkoutCompleted(){return o(g)},get lastError(){return o(d)},onContinue:b,closeWithError:w})},T=j=>{var C=Se(),A=se(C);{var M=U=>{U0(U,{get currentPage(){return o(p)},get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get isSandbox(){return o(c)},get lastError(){return o(d)},get isInElement(){return e.isInElement},onContinue:b,closeWithError:w})};G(A,U=>{o(p)!=="waiting"&&U(M)},!0)}P(j,C)};G(x,j=>{o(f)?j(q):j(T,!1)})}P(r,F),me()}var ox=W('<div class="stripe-checkout-container svelte-1kxsl49" data-testid="stripe-checkout-container"><div class="stripe-checkout-mount svelte-1kxsl49" data-testid="stripe-checkout-mount"></div></div>');const ix={hash:"svelte-1kxsl49",code:".stripe-checkout-container.svelte-1kxsl49 {width:100%;min-height:400px;display:flex;flex-direction:column;}.stripe-checkout-mount.svelte-1kxsl49 {width:100%;flex:1;}"};function sx(r,e){fe(e,!0),Pe(r,ix);let t,n=null;async function a(){try{e.onContinue()}catch(l){e.onError(l instanceof ve?l:new ve(he.ErrorSettingUpPurchase,l instanceof Error?l.message:"Failed to complete checkout"))}}Er(async()=>{try{const l=e.stripeBillingParams.publishable_api_key,c=e.stripeBillingParams.stripe_account_id,{embeddedCheckout:u}=await tr.initializeStripeCheckout(c,l,e.stripeBillingParams,a);n=u,t&&u.mount(t)}catch(l){e.onError(l instanceof Error?new ve(he.ErrorSettingUpPurchase,l.message):new ve(he.ErrorSettingUpPurchase,"Failed to initialize Stripe Checkout"))}}),jt(()=>{n&&(n.destroy(),n=null)});var i=ox(),s=D(i);Na(s,l=>t=l,()=>t),P(r,i),me()}var lx=W('<div class="stripe-checkout-wrapper svelte-zapbpj"><!></div>'),cx=W("<!> <!>",1),ux=W("<!> <!>",1),dx=W('<div class="rcb-ui-loading-container svelte-zapbpj"><!></div>');const px={hash:"svelte-zapbpj",code:`.rcb-ui-loading-container.svelte-zapbpj {display:flex;flex-direction:column;align-items:center;}.stripe-checkout-wrapper.svelte-zapbpj {width:100%;min-height:100%;display:flex;flex-direction:column;overflow:hidden auto;}
407
+ /* A bit more separation from the price-name line above. */margin-top:var(--rc-spacing-gapSmall-mobile, 8px);}.rcb-paddle-summary-row.svelte-1k1pux8 {display:flex;justify-content:space-between;align-items:center;}.rcb-paddle-summary-row-strong.svelte-1k1pux8 {font-weight:700;}.rcb-paddle-summary-muted.svelte-1k1pux8 {color:var(--rc-color-grey-text-light);}.rcb-paddle-summary-divider.svelte-1k1pux8 {border:none;border-top:1px solid var(--rc-color-grey-ui-light);margin:4px 0;width:100%;}`};function kx(r,e){var ne;me(e,!0),Pe(r,bx);const t=()=>ge(i,"$translator",n),[n,a]=Ve(),i=Ze(yr),l=new Wn(((ne=e.brandingInfo)==null?void 0:ne.appearance)??null).formColors.background,u=(Z=>"base"in Z)(e.purchaseOption)?e.purchaseOption.base.period??null:null,d=Z=>Math.round(Z*1e6),p=Ho(e.productDetails,e.purchaseOption),g=m(()=>{var Z;return((Z=e.totals)==null?void 0:Z.currencyCode)??p.currency}),_=m(()=>e.totals?d(e.totals.totalAmount):p.amountMicros),f=Z=>t().formatPrice(Z,o(g)),v=m(()=>u?t().translatePeriodUnit(u.unit):null),w=m(()=>u?t().translatePeriodFrequency(u.number,u.unit):null),h=m(()=>{var Z;return((Z=e.totals)==null?void 0:Z.productName)??e.productDetails.title}),y=m(()=>{var Z;return((Z=e.totals)==null?void 0:Z.priceName)??null}),k=m(()=>!!e.totals&&e.totals.taxAmount>0),b=m(()=>{if(!e.totals||e.totals.recurringTotalAmount===null||!u)return null;const Z=Co(new Date,u,!0);return Z?new Intl.DateTimeFormat(_a(t().selectedLocale),{day:"numeric",month:"long",year:"numeric"}).format(Z):null});var E=yx(),S=A(E),I=A(S),q=A(I),x=A(q),F=Y(q,2);{var T=Z=>{var B=_x();P(Z,B)};G(F,Z=>{o(k)&&Z(T)})}var j=Y(I,2);{var O=Z=>{ze(Z,{size:"body-small",children:(B,K)=>{var ae=Re();X(()=>ke(ae,`billed ${o(w)??""}`)),P(B,ae)},$$slots:{default:!0}})};G(j,Z=>{o(w)&&Z(O)})}var N=Y(j,2),L=A(N);ze(L,{size:"body-base",children:(Z,B)=>{var K=Re();X(()=>ke(K,o(h))),P(Z,K)},$$slots:{default:!0}});var C=Y(L,2);{var D=Z=>{var B=gx(),K=A(B);X(()=>ke(K,o(y))),P(Z,B)};G(C,Z=>{o(y)&&Z(D)})}var M=Y(C,2),U=A(M),V=A(U),R=Y(U,2);{var $=Z=>{var B=fx(),K=A(B);X(()=>ke(K,`/ ${o(v)??""}`)),P(Z,B)};G(R,Z=>{o(v)&&Z($)})}var ue=Y(S,2);{var pe=Z=>{var B=vx(),K=A(B),ae=A(K),H=A(ae),de=Y(ae,2),se=A(de),Ee=Y(K,2);{var Le=le=>{var fe=mx(),je=A(fe),Ue=A(je),Er=Y(je,2),qe=A(Er);X((oe,Be)=>{ke(Ue,oe),ke(qe,Be)},[()=>t().translate(ce.PricingTableTax),()=>f(d(e.totals.taxAmount))]),P(le,fe)};G(Ee,le=>{o(k)&&le(Le)})}var Me=Y(Ee,4),Te=A(Me),Ce=A(Te),We=Y(Te,2),Ye=A(We),_e=Y(Me,2);{var Se=le=>{var fe=hx(),je=A(fe),Ue=A(je),Er=Y(je,2),qe=A(Er);X(oe=>{ke(Ue,`Due on ${o(b)??""}`),ke(qe,oe)},[()=>f(d(e.totals.recurringTotalAmount))]),P(le,fe)};G(_e,le=>{e.totals.recurringTotalAmount!==null&&o(b)&&le(Se)})}X((le,fe,je,Ue)=>{ke(H,le),ke(se,fe),ke(Ce,je),ke(Ye,Ue)},[()=>t().translate(ce.PricingTableSubtotal),()=>f(d(e.totals.subtotalAmount)),()=>t().translate(ce.PricingTableTotalDueToday),()=>f(d(e.totals.totalAmount))]),P(Z,B)};G(ue,Z=>{e.totals&&Z(pe)})}X((Z,B)=>{Ae(E,`--rcb-card-bg: ${l??""};`),ke(x,Z),ke(V,B)},[()=>f(o(_)),()=>f(o(_))]),P(r,E),he(),a()}var wx=W('<button type="button" class="rcb-paddle-return-button svelte-5dakll" data-testid="paddle-return-button"><!> <span> </span></button>'),Px=W("<!> <!> <!>",1),xx=W('<div class="rcb-paddle-processing svelte-5dakll"><!></div>'),Ex=W('<div data-testid="paddle-inline-checkout-container" style="width: 100%; min-height: 450px;"></div>');const Sx={hash:"svelte-5dakll",code:".rcb-paddle-return-button.svelte-5dakll {display:inline-flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile, 8px);padding:8px 0;border:none;background:transparent;cursor:pointer;color:var(--rc-color-accent);font:inherit;}.rcb-paddle-processing.svelte-5dakll {display:flex;justify-content:center;width:100%;min-height:450px;align-items:center;}"};function Ix(r,e){var c;me(e,!0),Pe(r,Sx);const t=()=>ge(s,"$translator",n),[n,a]=Ve(),i=J(e,"hideBackButton",3,!1),s=Ze(yr),l=((c=e.brandingInfo)==null?void 0:c.app_name)??null;h_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return e.onClose},navbarHeaderContent:g=>{var _=Ie(),f=ie(_);{var v=w=>{var h=wx();h.__click=function(...E){var S;(S=e.onClose)==null||S.apply(this,E)};var y=A(h);Hn(y,{name:"back"});var k=Y(y,2),b=A(k);X(()=>ke(b,l?`Return to ${l}`:"Back")),P(w,h)};G(f,w=>{!e.isInElement&&!i()&&w(v)})}P(g,_)},navbarBodyContent:g=>{kx(g,{get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return e.totals}})},mainContent:g=>{var _=Ie(),f=ie(_);{var v=h=>{is(h,{get onContinue(){return e.onContinue}})},w=h=>{var y=Ie(),k=ie(y);{var b=S=>{{let I=m(()=>{var x;return((x=e.brandingInfo)==null?void 0:x.support_email)??null}),q=m(()=>{var x;return((x=e.brandingInfo)==null?void 0:x.app_name)??null});os(S,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(I)},get onDismiss(){return e.closeWithError},get appName(){return o(q)}})}},E=S=>{var I=Ie(),q=ie(I);{var x=T=>{var j=xx(),O=A(j);No(O,{gap:"medium",align:"center",children:(N,L)=>{var C=Px(),D=ie(C);Zi(D,{color:"var(--rc-color-grey-text-dark)"});var M=Y(D,2);ze(M,{size:"heading-md",children:(V,R)=>{var $=Re();X(ue=>ke($,ue),[()=>t().translate(ce.LoadingPageProcessingPayment)]),P(V,$)},$$slots:{default:!0}});var U=Y(M,2);ze(U,{size:"body-small",children:(V,R)=>{var $=Re();X(ue=>ke($,ue),[()=>t().translate(ce.LoadingPageKeepPageOpen)]),P(V,$)},$$slots:{default:!0}}),P(N,C)},$$slots:{default:!0}}),P(T,j)},F=T=>{var j=Ex();X(()=>_r(j,1,da(S_),"svelte-5dakll")),P(T,j)};G(q,T=>{e.checkoutCompleted?T(x):T(F,!1)},!0)}P(S,I)};G(k,S=>{e.currentPage==="error"?S(b):S(E,!1)},!0)}P(h,y)};G(f,h=>{e.currentPage==="success"?h(v):h(w,!1)})}P(g,_)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),he(),a()}_n(["click"]);function Cx(r,e){var j,O,N;me(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1),a=J(e,"hideBackButton",3,!1);let i=new Ln(t(),e.selectedLocale,e.defaultLocale),s=Ir(i);const l=Ir(((j=e.brandingInfo)==null?void 0:j.appearance)??null);vr(yr,s),vr(Un,l),vr(jo,e.eventsTracker);let c=re(!1),u=re(null),d=re(null),p=re("waiting"),g=re(!1),_=re(null);const f=m(()=>{var L;return((L=o(_))==null?void 0:L.paddle_billing_params.inline_checkout_enabled)??!1});let v=re(null);const w=L=>{z(v,L,!0)},h=qw(((N=(O=e.brandingInfo)==null?void 0:O.appearance)==null?void 0:N.color_page_bg)??"#ffffff")?"light":"dark";pr(()=>{o(p)==="success"&&o(u)&&n()&&e.onFinished(o(u))});const y=()=>{o(p)==="success"&&o(u)&&e.onFinished(o(u))},k=()=>{e.paddleService.closeCheckout(),e.onClose()},b=()=>{e.onError(o(d)??new ye(ve.UnknownError,"Unknown error without state set.")),e.unmountPaddlePurchaseUi()};let E=null,S=null,I=null;Pr(async()=>{var U;e.isInElement||(E=document.documentElement.style.height,S=document.documentElement.style.overflow,I=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const L=()=>{z(p,"loading")},C=()=>{z(g,!0),z(p,"loading")},D={offeringIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,targetingContext:null,placementIdentifier:null};let M;try{M=await e.paddleService.startCheckout({appUserId:e.appUserId,productId:e.productDetails.identifier,presentedOfferingContext:D,purchaseOption:e.purchaseOption,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.selectedLocale,attributionMetadata:e.attributionMetadata}),z(_,M,!0),z(c,M.paddle_billing_params.is_sandbox,!0),o(f)&&await Tu()}catch(V){const R=ls(V,`Start Paddle checkout failed: ${V}`);z(d,R,!0),z(p,"error"),e.onError(R);return}try{const V=await e.paddleService.purchase({operationSessionId:M.operation_session_id,transactionId:(U=M.paddle_billing_params)==null?void 0:U.transaction_id,onCheckoutLoaded:L,onClose:e.onClose,params:{rcPackage:e.rcPackage,purchaseOption:e.purchaseOption,appUserId:e.appUserId,presentedOfferingIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,customerEmail:e.customerEmail,locale:e.selectedLocale||e.defaultLocale},...o(f)&&{displayMode:"inline",theme:h,onCheckoutTotals:w,onCheckoutCompleted:C}});n()?e.onFinished(V):(z(u,V,!0),z(p,"success"))}catch(V){const R=ls(V,`Paddle purchase failed: ${V}`);z(d,R,!0),z(p,"error"),e.onError(R)}}),Ot(()=>{if(!e.isInElement){const L=(C,D,M)=>{M===""?C.style.removeProperty(D):C.style.setProperty(D,M)};L(document.documentElement,"height",E),L(document.body,"height",I),L(document.documentElement,"overflow",S)}});var q=Ie(),x=ie(q);{var F=L=>{Ix(L,{get brandingInfo(){return e.brandingInfo},get isSandbox(){return o(c)},get isInElement(){return e.isInElement},onClose:k,get hideBackButton(){return a()},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return o(v)},get currentPage(){return o(p)},get checkoutCompleted(){return o(g)},get lastError(){return o(d)},onContinue:y,closeWithError:b})},T=L=>{var C=Ie(),D=ie(C);{var M=U=>{px(U,{get currentPage(){return o(p)},get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get isSandbox(){return o(c)},get lastError(){return o(d)},get isInElement(){return e.isInElement},onContinue:y,closeWithError:b})};G(D,U=>{o(p)!=="waiting"&&U(M)},!0)}P(L,C)};G(x,L=>{o(f)?L(F):L(T,!1)})}P(r,q),he()}var Tx=W('<div class="stripe-checkout-container svelte-1kxsl49" data-testid="stripe-checkout-container"><div class="stripe-checkout-mount svelte-1kxsl49" data-testid="stripe-checkout-mount"></div></div>');const Dx={hash:"svelte-1kxsl49",code:".stripe-checkout-container.svelte-1kxsl49 {width:100%;min-height:400px;display:flex;flex-direction:column;}.stripe-checkout-mount.svelte-1kxsl49 {width:100%;flex:1;}"};function Ax(r,e){me(e,!0),Pe(r,Dx);let t,n=null;async function a(){try{e.onContinue()}catch(l){e.onError(l instanceof ye?l:new ye(ve.ErrorSettingUpPurchase,l instanceof Error?l.message:"Failed to complete checkout"))}}Pr(async()=>{try{const l=e.stripeBillingParams.publishable_api_key,c=e.stripeBillingParams.stripe_account_id,{embeddedCheckout:u}=await nr.initializeStripeCheckout(c,l,e.stripeBillingParams,a);n=u,t&&u.mount(t)}catch(l){e.onError(l instanceof Error?new ye(ve.ErrorSettingUpPurchase,l.message):new ye(ve.ErrorSettingUpPurchase,"Failed to initialize Stripe Checkout"))}}),Ot(()=>{n&&(n.destroy(),n=null)});var i=Tx(),s=A(i);pa(s,l=>t=l,()=>t),P(r,i),he()}var Fx=W('<div class="stripe-checkout-wrapper svelte-zapbpj"><!></div>'),Mx=W("<!> <!>",1),qx=W("<!> <!>",1),zx=W('<div class="rcb-ui-loading-container svelte-zapbpj"><!></div>');const Lx={hash:"svelte-zapbpj",code:`.rcb-ui-loading-container.svelte-zapbpj {display:flex;flex-direction:column;align-items:center;}.stripe-checkout-wrapper.svelte-zapbpj {width:100%;min-height:100%;display:flex;flex-direction:column;overflow:hidden auto;}
401
408
 
402
409
  /* 991px is the breakpoint for the mobile layout in Stripe Checkout */
403
410
  @media (min-width: 991px) {.stripe-checkout-wrapper.svelte-zapbpj {justify-content:center;align-items:center;}
404
- }`};function _x(r,e){fe(e,!0),Pe(r,px);const t=()=>ge(s,"$brandingAppearanceStore",a),n=()=>ge(d,"$translator",a),[a,i]=He(),s=Xe(Rn),l=m(()=>t()??void 0),c=m(()=>new Vn(o(l)).pageStyleVars),u=m(()=>$p(o(l)).background),d=Xe(vr);E_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:g=>{var _=Se(),f=se(_);{var v=h=>{var b=Se(),k=se(b);{var w=E=>{var S=lx(),I=D(S);sx(I,{get stripeBillingParams(){return e.stripeBillingParams},get onContinue(){return e.onContinue},get onError(){return e.onError}}),X(()=>Ae(S,`${o(c)??""}; background-color: ${o(u)??""}`)),P(E,S)};G(k,E=>{e.stripeBillingParams&&E(w)})}P(h,b)},y=h=>{var b=Se(),k=se(b);{var w=S=>{var I=dx(),F=D(I);Lo(F,{gap:"medium",align:"center",children:(x,q)=>{var T=ux(),N=se(T);Yi(N,{color:"var(--rc-color-grey-text-dark)"});var L=Y(N,2);{var O=j=>{var C=cx(),A=se(C);ze(A,{size:"heading-md",children:(U,V)=>{var R=Oe();X($=>be(R,$),[()=>n().translate(de.LoadingPageProcessingPayment)]),P(U,R)},$$slots:{default:!0}});var M=Y(A,2);ze(M,{size:"body-small",children:(U,V)=>{var R=Oe();X($=>be(R,$),[()=>n().translate(de.LoadingPageKeepPageOpen)]),P(U,R)},$$slots:{default:!0}}),P(j,C)};G(L,j=>{e.currentPage==="purchasing"&&j(O)})}P(x,T)},$$slots:{default:!0}}),P(S,I)},E=S=>{var I=Se(),F=se(I);{var x=T=>{ts(T,{get onContinue(){return e.onContinue},fullWidth:!0})},q=T=>{var N=Se(),L=se(N);{var O=j=>{{let C=m(()=>{var M;return((M=e.brandingInfo)==null?void 0:M.support_email)??null}),A=m(()=>{var M;return((M=e.brandingInfo)==null?void 0:M.app_name)??null});rs(j,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(C)},get onDismiss(){return e.closeWithError},get appName(){return o(A)},fullWidth:!0})}};G(L,j=>{e.currentPage==="error"&&j(O)},!0)}P(T,N)};G(F,T=>{e.currentPage==="success"?T(x):T(q,!1)},!0)}P(S,I)};G(k,S=>{e.currentPage==="loading"||e.currentPage==="purchasing"?S(w):S(E,!1)},!0)}P(h,b)};G(f,h=>{e.currentPage==="stripe-checkout"?h(v):h(y,!1)})}P(g,_)},$$slots:{mainContent:!0}}),me(),i()}function gx(r,e){var k;fe(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1);let a=e.rcPackage.webBillingProduct,i=new Fn(t(),e.selectedLocale,e.defaultLocale),s=Sr(i);kr(vr,s),kr(Oo,e.eventsTracker);const l=Sr(((k=e.brandingInfo)==null?void 0:k.appearance)??null);kr(Rn,l);let c=te(!1),u=te(null),d=te(null),p=te("loading"),g=te(null);const _=()=>{if(o(p)==="stripe-checkout"){z(p,"purchasing"),e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(w=>{z(u,w,!0),n()?e.onFinished(w):z(p,"success")}).catch(w=>{f(as(w,"Failed to complete purchase"))});return}o(p)==="success"&&o(u)&&e.onFinished(o(u))},f=w=>{z(d,w,!0),z(p,"error")},v=()=>{e.onError(o(d)??new ve(he.UnknownError,"Unknown error without state set."))};let y=null,h=null,b=null;Er(async()=>{e.isInElement||(y=document.documentElement.style.height,h=document.documentElement.style.overflow,b=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const w=a.identifier;if(!w){f(new ve(he.ErrorSettingUpPurchase,"Product ID was not set before purchase."));return}let E=e.customerEmail;(E?m_(E):null)&&(E=void 0);try{const I=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:w,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:E,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale});if(!I.stripe_billing_params){f(new ve(he.ErrorSettingUpPurchase,"Missing Stripe Checkout parameters"));return}z(c,I.stripe_billing_params.environment.toLowerCase()==="sandbox"),z(g,I.stripe_billing_params,!0),z(p,"stripe-checkout")}catch(I){f(as(I,"Failed to start Stripe Checkout"))}}),jt(()=>{if(!e.isInElement){const w=(E,S,I)=>{I===""?E.style.removeProperty(S):E.style.setProperty(S,I)};w(document.documentElement,"height",y),w(document.body,"height",b),w(document.documentElement,"overflow",h)}}),_x(r,{get currentPage(){return o(p)},get brandingInfo(){return e.brandingInfo},get productDetails(){return a},get isSandbox(){return o(c)},get lastError(){return o(d)},get isInElement(){return e.isInElement},get stripeBillingParams(){return o(g)},onContinue:_,onError:f,closeWithError:v}),me()}function S_(r){return r==null?!0:new Date(r)>new Date}function fx(r,e,t,n){const a=e.product_identifier;if(a in t)return mx(r,e,t[a]);if(a in n)return hx(r,e,n[a]);throw new Qe(Fe.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function mx(r,e,t){return{identifier:r,isActive:S_(e.expires_date),willRenew:I_(e.expires_date,t),store:(t==null?void 0:t.store)??"unknown",latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(e.purchase_date),expirationDate:Ot(e.expires_date),productIdentifier:e.product_identifier,productPlanIdentifier:e.product_plan_identifier??null,unsubscribeDetectedAt:Ot(t==null?void 0:t.unsubscribe_detected_at),billingIssueDetectedAt:Ot(t==null?void 0:t.billing_issues_detected_at),isSandbox:(t==null?void 0:t.is_sandbox)??!1,periodType:(t==null?void 0:t.period_type)??"normal",ownershipType:(t==null?void 0:t.ownership_type)??"UNKNOWN"}}function hx(r,e,t){return{identifier:r,isActive:!0,willRenew:!1,store:t.store,latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(t.original_purchase_date),expirationDate:null,productIdentifier:e.product_identifier,productPlanIdentifier:null,unsubscribeDetectedAt:null,billingIssueDetectedAt:null,isSandbox:t.is_sandbox,periodType:"normal",ownershipType:"UNKNOWN"}}function vx(r,e,t){const n={},a={};for(const i in r){const s=fx(i,r[i],e,t);n[i]=s,s.isActive&&(a[i]=s)}return{all:n,active:a}}function Ot(r){return r==null?null:new Date(r)}function yx(r){if(!r)return null;const e=r.amount*1e6;return{amount:r.amount*100,amountMicros:e,currency:r.currency,formattedPrice:bn(e,r.currency)}}function sc(r){const e=kx(r),t=r.subscriber,n=Px(t.non_subscriptions),a=Object.entries(r.subscriber.non_subscriptions).flatMap(([l,c])=>c.map(u=>({transactionIdentifier:u.id,productIdentifier:l,purchaseDate:new Date(u.purchase_date||u.original_purchase_date),storeTransactionId:u.store_transaction_id||null,store:u.store}))),i=new Date(r.request_date),s=Object.fromEntries(Object.entries(r.subscriber.subscriptions).map(([l,c])=>[l,{productIdentifier:l,productPlanIdentifier:c.product_plan_identifier??null,purchaseDate:new Date(c.purchase_date),originalPurchaseDate:Ot(c.original_purchase_date),expiresDate:Ot(c.expires_date),store:c.store,unsubscribeDetectedAt:Ot(c.unsubscribe_detected_at),isSandbox:c.is_sandbox,billingIssuesDetectedAt:Ot(c.billing_issues_detected_at),gracePeriodExpiresDate:Ot(c.grace_period_expires_date),ownershipType:c.ownership_type??"UNKNOWN",periodType:c.period_type,refundedAt:Ot(c.refunded_at),storeTransactionId:c.store_transaction_id||null,managementURL:c.management_url??null,isActive:S_(c.expires_date),willRenew:I_(c.expires_date,c),displayName:c.display_name??null,autoResumeDate:Ot(c.auto_resume_date),price:yx(c.price)}]));return{entitlements:vx(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:e,allPurchaseDatesByProduct:bx(r,n),activeSubscriptions:wx(e),managementURL:t.management_url,requestDate:i,firstSeenDate:new Date(t.first_seen),originalPurchaseDate:Ot(t.original_purchase_date),originalAppUserId:r.subscriber.original_app_user_id,nonSubscriptionTransactions:a,subscriptionsByProductIdentifier:s}}function I_(r,e){if(e==null)return!1;const t=e.store=="promotional",n=r==null,a=e.unsubscribe_detected_at!=null,i=e.billing_issues_detected_at!=null;return!(t||n||a||i)}function bx(r,e){const t={};for(const n in r.subscriber.subscriptions){const a=r.subscriber.subscriptions[n];t[n]=new Date(a.purchase_date)}for(const n in e){const a=e[n].purchase_date;a==null?t[n]=null:t[n]=new Date(a)}return t}function kx(r){const e={};for(const t in r.subscriber.subscriptions){const n=r.subscriber.subscriptions[t];n.expires_date==null?e[t]=null:e[t]=new Date(n.expires_date)}return e}function wx(r){const e=new Set,t=new Date;for(const n in r){const a=r[n];(a==null||a>t)&&e.add(n)}return e}function Px(r){const e={};for(const t in r){if(r[t].length===0)continue;const n=r[t].length;e[t]=r[t][n-1]}return e}const C_="1.47.1",xx="https://api.revenuecat.com",Ex="https://e.revenue.cat";var os;(function(r){r[r.CONTINUE=100]="CONTINUE",r[r.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",r[r.PROCESSING=102]="PROCESSING",r[r.EARLY_HINTS=103]="EARLY_HINTS",r[r.OK=200]="OK",r[r.CREATED=201]="CREATED",r[r.ACCEPTED=202]="ACCEPTED",r[r.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",r[r.NO_CONTENT=204]="NO_CONTENT",r[r.RESET_CONTENT=205]="RESET_CONTENT",r[r.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",r[r.MULTI_STATUS=207]="MULTI_STATUS",r[r.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",r[r.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",r[r.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",r[r.SEE_OTHER=303]="SEE_OTHER",r[r.NOT_MODIFIED=304]="NOT_MODIFIED",r[r.USE_PROXY=305]="USE_PROXY",r[r.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",r[r.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",r[r.BAD_REQUEST=400]="BAD_REQUEST",r[r.UNAUTHORIZED=401]="UNAUTHORIZED",r[r.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",r[r.FORBIDDEN=403]="FORBIDDEN",r[r.NOT_FOUND=404]="NOT_FOUND",r[r.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",r[r.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",r[r.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",r[r.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",r[r.CONFLICT=409]="CONFLICT",r[r.GONE=410]="GONE",r[r.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",r[r.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",r[r.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",r[r.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",r[r.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",r[r.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",r[r.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",r[r.IM_A_TEAPOT=418]="IM_A_TEAPOT",r[r.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",r[r.METHOD_FAILURE=420]="METHOD_FAILURE",r[r.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",r[r.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",r[r.LOCKED=423]="LOCKED",r[r.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",r[r.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",r[r.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",r[r.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",r[r.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",r[r.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",r[r.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",r[r.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",r[r.BAD_GATEWAY=502]="BAD_GATEWAY",r[r.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",r[r.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",r[r.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",r[r.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",r[r.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"})(os||(os={}));const Sx=/^rcb_[a-zA-Z0-9_.-]+$/,Ix=/^pdl_[a-zA-Z0-9_.-]+$/,Cx=/^test_[a-zA-Z0-9_.-]+$/,Tx=/^strp_[a-zA-Z0-9_.-]+$/;function is(r){return r?r.startsWith("rcb_sb_"):!1}function lc(r){return r?Sx.test(r):!1}function T_(r){return r?Ix.test(r):!1}function D_(r){return r?Tx.test(r):!1}function ga(r){return r?Cx.test(r):!1}async function ct(r,e,t){return(await A_(r,e,t)).data}async function A_(r,e,t){const{apiKey:n,body:a,headers:i,httpConfig:s}=e,c=`${(s==null?void 0:s.proxyURL)??xx}${r.urlPath()}`;try{const u=await fetch(c,{method:r.method,headers:B_(n,i,s==null?void 0:s.additionalHeaders),body:Ax(a),signal:t});await Dx(u,r);const d=u.status;return{data:await u.json(),statusCode:d}}catch(u){throw u instanceof TypeError?new Qe(Fe.NetworkError,Ra.getPublicMessage(Fe.NetworkError),u.message):u}}async function Dx(r,e){const t=r.status;if(t>=os.INTERNAL_SERVER_ERROR)cc(e,t,await r.text());else if(t>=os.BAD_REQUEST){const n=await r.json(),a=n?JSON.stringify(n):null,i=n==null?void 0:n.code,s=n==null?void 0:n.message;if(i!=null){const l=Ra.convertCodeToBackendErrorCode(i);if(l==null)cc(e,t,a,i);else throw Qe.getForBackendError(l,s)}else cc(e,t,a)}}function cc(r,e,t,n){throw new Qe(Fe.UnknownBackendError,"Unknown backend error.",`Request: ${r.name}. Status code: ${e}. Body: ${t}.`,{backendErrorCode:n})}function Ax(r){return r==null?null:JSON.stringify(r)}const F_="Authorization",M_="Content-Type",z_="Accept",q_="X-Platform",j_="X-Version",L_="X-Platform-Flavor",O_="X-Platform-Flavor-Version",N_="X-Is-Sandbox",Fx=new Set([F_,M_,z_,q_,j_,N_,L_,O_]);function B_(r,e,t){let n={[F_]:`Bearer ${r}`,[M_]:"application/json",[z_]:"application/json",[q_]:"web",[j_]:C_,[N_]:`${is(r)}`};const a=cs.getPlatformInfo();if(a){const i={[L_]:a.flavor,[O_]:a.version};n={...n,...i}}return e&&(n={...n,...e}),t&&(n={...t,...n}),n}const fa="/v1/subscribers",ma="/rcbilling/v1";class Mx{constructor(e){ee(this,"appUserId");ee(this,"method","GET");ee(this,"name","getOfferings");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${fa}/${e}/offerings`}}class zx{constructor(e,t,n,a){ee(this,"method","GET");ee(this,"name","getProducts");ee(this,"appUserId");ee(this,"productIds");ee(this,"currency");ee(this,"discountCode");this.appUserId=e,this.productIds=t,this.currency=n,this.discountCode=a}urlPath(){const e=encodeURIComponent(this.appUserId),t=this.productIds.map(encodeURIComponent).join("&id="),n=this.currency?`&currency=${this.currency}`:"",a=this.discountCode?`&discount_code=${encodeURIComponent(this.discountCode)}`:"";return`${ma}/subscribers/${e}/products?id=${t}${n}${a}`}}class qx{constructor(e){ee(this,"method","GET");ee(this,"name","getCustomerInfo");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${fa}/${e}`}}class jx{constructor(){ee(this,"method","POST");ee(this,"name","identify")}urlPath(){return`${fa}/identify`}}class Lx{constructor(){ee(this,"method","GET");ee(this,"name","getBrandingInfo")}urlPath(){return`${ma}/branding`}}class Ox{constructor(){ee(this,"method","POST");ee(this,"name","postCheckoutPrepare")}urlPath(){return`${ma}/checkout/prepare`}}class Nx{constructor(){ee(this,"method","POST");ee(this,"name","postCheckoutStart")}urlPath(){return`${ma}/checkout/start`}}class Bx{constructor(e){ee(this,"method","PATCH");ee(this,"name","patchCheckoutRefreshPricing");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ma}/checkout/${this.operationSessionId}`}}class Rx{constructor(e){ee(this,"method","POST");ee(this,"name","postCheckoutComplete");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ma}/checkout/${this.operationSessionId}/complete`}}class Ux{constructor(e){ee(this,"method","GET");ee(this,"name","getCheckoutStatus");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ma}/checkout/${this.operationSessionId}`}}class Vx{constructor(e){ee(this,"method","POST");ee(this,"name","setAttributes");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${fa}/${e}/attributes`}}class Wx{constructor(){ee(this,"method","POST");ee(this,"name","postReceipt")}urlPath(){return"/v1/receipts"}}class Hx{constructor(e){ee(this,"method","GET");ee(this,"name","getVirtualCurrencies");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${fa}/${e}/virtual_currencies`}}class Yx{constructor(e){ee(this,"method","GET");ee(this,"name","getWorkflows");ee(this,"appUserId");this.appUserId=e}urlPath(){return`${fa}/${encodeURIComponent(this.appUserId)}/workflows?type=paywall`}}class Gx{constructor(e,t){ee(this,"method","GET");ee(this,"name","getWorkflowData");ee(this,"appUserId");ee(this,"workflowId");this.appUserId=e,this.workflowId=t}urlPath(){return`${fa}/${encodeURIComponent(this.appUserId)}/workflows/${encodeURIComponent(this.workflowId)}`}}const uc={};class Kx{constructor(e,t=uc,n){ee(this,"API_KEY");ee(this,"httpConfig");ee(this,"isSandbox");ee(this,"purchasesContext");this.API_KEY=e,this.httpConfig=t,this.isSandbox=is(e),this.purchasesContext=n}getIsSandbox(){return this.isSandbox}async getOfferings(e){return await ct(new Mx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(e){return await ct(new qx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async identify(e,t){const n={app_user_id:e,new_app_user_id:t},a=await A_(new jx,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig}),i=a.statusCode===201;return{...a.data,was_created:i}}async getProducts(e,t,n,a){return await ct(new zx(e,t,n,a),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getBrandingInfo(){return await ct(new Lx,{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postCheckoutPrepare(e,t){const n={product_id:e,price_id:t.priceId};return t.id!=="base_option"&&(n.offer_id=t.id),await ct(new Ox,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig})}async postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:i,presentedStepId:s,paywallId:l,paywallSessionId:c,customerEmail:u,metadata:d,locale:p,attributionMetadata:g}){var f,v;const _={app_user_id:e,product_id:t,email:u,price_id:n.priceId,presented_offering_identifier:a.offeringIdentifier,trace_id:i};return d&&(_.metadata=d),n.id!=="base_option"&&(_.offer_id=n.id),a.targetingContext&&(_.applied_targeting_rule={rule_id:a.targetingContext.ruleId,revision:a.targetingContext.revision}),a.placementIdentifier&&(_.presented_placement_identifier=a.placementIdentifier),(v=(f=this.purchasesContext)==null?void 0:f.workflowContext)!=null&&v.workflowIdentifier&&(_.presented_workflow_id=this.purchasesContext.workflowContext.workflowIdentifier),s&&(_.presented_step_id=s),l&&(_.paywall={paywall_id:l,...c?{paywall_session_id:c}:{}}),p&&(_.locale=p),g&&(_.attribution_metadata=g),await ct(new Nx,{apiKey:this.API_KEY,body:_,httpConfig:this.httpConfig})}async patchCheckoutRefreshPricing(e,{countryCode:t,postalCode:n,state:a,city:i,addressLine1:s,addressLine2:l,discountCode:c,signal:u}={}){const d={country_code:t,postal_code:n,state:a,city:i,address_line1:s,address_line2:l,discount_code:c};return await ct(new Bx(e),{apiKey:this.API_KEY,body:d,httpConfig:this.httpConfig},u)}async postCheckoutComplete(e,t,n){const a={email:t};return n&&(a.locale=n),await ct(new Rx(e),{apiKey:this.API_KEY,body:a,httpConfig:this.httpConfig})}async getCheckoutStatus(e){return await ct(new Ux(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async setAttributes(e,t){const n=Date.now(),a={};for(const[s,l]of Object.entries(t))a[s]={value:l,updated_at_ms:n};const i={attributes:a};return await ct(new Vx(e),{apiKey:this.API_KEY,body:i,httpConfig:this.httpConfig})}async postReceipt(e,t,n,a,i,s,l){var d,p;let c=null;i.targetingContext&&(c={rule_id:i.targetingContext.ruleId,revision:i.targetingContext.revision});const u={fetch_token:a,product_id:t,currency:n,app_user_id:e,presented_offering_identifier:i.offeringIdentifier,presented_placement_identifier:i.placementIdentifier,presented_workflow_id:(p=(d=this.purchasesContext)==null?void 0:d.workflowContext)==null?void 0:p.workflowIdentifier,applied_targeting_rule:c,initiation_source:s};return l&&(u.paywall={paywall_id:l}),await ct(new Wx,{apiKey:this.API_KEY,body:u,httpConfig:this.httpConfig})}async getVirtualCurrencies(e){return await ct(new Hx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflows(e){return await ct(new Yx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflowById(e,t){const n=await ct(new Gx(e,t),{apiKey:this.API_KEY,httpConfig:this.httpConfig});if(!("action"in n))return n;if(n.action==="inline")return n.data;if(n.action!=="use_cdn")throw new Error(`Unexpected workflow action: ${n.action}`);const a=await fetch(n.url);if(!a.ok)throw new Error(`Failed to fetch workflow from CDN: ${a.statusText}`);return await a.json()}}function Xx(r){if(!(lc(r)||ga(r)||T_(r)||D_(r)))throw new Qe(Fe.InvalidCredentialsError,"Invalid API key. Use your Web Billing API key.")}function dc(r){if(!r||new Set(["no_user","null","none","nil","(null)","NaN","\\x00","","unidentified","undefined","unknown"]).has(r)||r.includes("/"))throw new Qe(Fe.InvalidAppUserIdError,'Provided user id: "'+(r??"[Not provided]")+'" is not valid. See https://www.revenuecat.com/docs/customers/user-ids#tips-for-setting-app-user-ids for more information.')}function Zx(r){if(r!=null&&r.endsWith("/"))throw new Qe(Fe.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function Jx(r){if(r){for(const e in r)if(Fx.has(e))throw new Qe(Fe.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var pc=(r=>(r.Current="current",r))(pc||{});function R_(r,e){async function t(...n){return await this.preload(),await r.call(this,...n)}return t}const U_=(r,e)=>{const t={...r.webBillingProduct,presentedOfferingContext:{...r.webBillingProduct.presentedOfferingContext,placementIdentifier:e}};return{...r,webBillingProduct:t,rcBillingProduct:t}},ha=(r,e)=>r==null?null:U_(r,e),Qx=(r,e,t)=>{const n=r.offering_ids_by_placement??{},a=r.fallback_offering_id;let i;if(t in n){const l=n[t]??null;l&&(i=e[l])}if(!i&&a&&a in e&&(i=e[a]),!i)return null;const s=Object.fromEntries(Object.entries(i.packagesById).map(([l,c])=>[l,U_(c,t)]));return{...i,packagesById:s,availablePackages:Object.values(s),weekly:ha(i.weekly,t),monthly:ha(i.monthly,t),twoMonth:ha(i.twoMonth,t),threeMonth:ha(i.threeMonth,t),sixMonth:ha(i.sixMonth,t),annual:ha(i.annual,t),lifetime:ha(i.lifetime,t)}};function $x(r,e){const t={};e.product_details.forEach(i=>{t[i.identifier]=i});const n={};r.offerings.forEach(i=>{const s=i.identifier===r.current_offering_id,l=Wm(s,i,t,r.targeting,r.ui_config);l!=null&&(n[i.identifier]=l)});const a=r.current_offering_id?n[r.current_offering_id]??null:null;return Object.keys(n).length==0&&ke.debugLog("Empty offerings. Please make sure you've configured offerings correctly in the RevenueCat dashboard and that the products are properly configured."),{all:n,current:a}}const eE=1000001;function Kr(r,e,t){return t.formatPrice(Ei(r,e),e)}function rE(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Le.Year?Kr(r.amountMicros/Hl/e.number,r.currency,t):e.unit===Le.Month?Kr(r.amountMicros/Ui/e.number,r.currency,t):e.unit===Le.Week?Kr(r.amountMicros/Wl/e.number,r.currency,t):e.unit===Le.Day?Kr(r.amountMicros/e.number,r.currency,t):n:n}function tE(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Le.Year?Kr(r.amountMicros/Yl/e.number,r.currency,t):e.unit===Le.Month?Kr(r.amountMicros/Vi/e.number,r.currency,t):e.unit===Le.Week?Kr(r.amountMicros/e.number,r.currency,t):e.unit===Le.Day?Kr(r.amountMicros*Wl/e.number,r.currency,t):n:n}function nE(r,e,t){return e?e.unit===Le.Year?Kr(r.amountMicros/Wi,r.currency,t):e.unit===Le.Month?Kr(r.amountMicros/e.number,r.currency,t):e.unit===Le.Week?Kr(r.amountMicros*Vi/e.number,r.currency,t):e.unit===Le.Day?Kr(r.amountMicros*Ui/e.number,r.currency,t):Kr(r.amountMicros/(e.number||1),r.currency,t):t.formatPrice(r.amountMicros,r.currency)}function aE(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Le.Year?Kr(r.amountMicros/e.number,r.currency,t):e.unit===Le.Month?Kr(r.amountMicros*Wi/e.number,r.currency,t):e.unit===Le.Week?Kr(r.amountMicros*Yl/e.number,r.currency,t):e.unit===Le.Day?Kr(r.amountMicros*Hl/e.number,r.currency,t):n:n}function V_(r,e,t){return{pricePerDay:rE(r,e,t),pricePerWeek:tE(r,e,t),pricePerMonth:nE(r,e,t),pricePerYear:aE(r,e,t)}}function oE(r){return r.cycleCount>0?r.cycleCount:1}function iE(r){return"durationMode"in r&&r.durationMode==="forever"}function sE(r){return"durationMode"in r&&r.durationMode==="time_window"}function lE(r,e){return sE(e)?r.base.period:e.period}function cE(r){return r.period===null||iE(r)?null:{number:r.period.number*oE(r),unit:r.period.unit}}function uE(r,e){const t=Io(new Date,r,!0);return t?e.translateDate(t,{dateStyle:"long"})??"":""}function dE(r,e,t){const n=r.discount??r.trial??r.introPrice,a=r.trial&&!r.discount?r.introPrice:null;if(n===null)return;const i=cE(n),s=lE(r,n),{price:l}=n;if(l!==null){const c=V_(l,s,e);t["product.offer_price"]=e.formatPrice(l.amountMicros,l.currency),t["product.offer_price_per_day"]=c.pricePerDay,t["product.offer_price_per_week"]=c.pricePerWeek,t["product.offer_price_per_month"]=c.pricePerMonth,t["product.offer_price_per_year"]=c.pricePerYear}if(i!==null){const c=Gl(i,e);t["product.offer_period"]=c.period,t["product.offer_period_abbreviated"]=c.periodAbbreviated,t["product.offer_period_with_unit"]=c.periodWithUnit,t["product.offer_period_in_days"]=c.periodInDays,t["product.offer_period_in_weeks"]=c.periodInWeeks,t["product.offer_period_in_months"]=c.periodInMonths,t["product.offer_period_in_years"]=c.periodInYears,t["product.offer_end_date"]=uE(i,e)}if(a!==null&&(a.price!==null&&(t["product.secondary_offer_price"]=e.formatPrice(a.price.amountMicros,a.price.currency)),a.period!==null)){const c=Gl(a.period,e);t["product.secondary_offer_period"]=c.period,t["product.secondary_offer_period_abbreviated"]=c.periodAbbreviated}}function pE(r,e,t){var a;const n=((a=r.discount)==null?void 0:a.price)??null;n!==null&&(t["product.offer_price"]=e.formatPrice(n.amountMicros,n.currency))}function W_(r,e={}){var a;if(e.translator)return G_(r,e.translator);const t=((a=r.paywallComponents)==null?void 0:a.default_locale)||Yr,n=new Fn(e.customTranslations??{},e.selectedLocale??t,e.fallbackLocale??t);return G_(r,n)}function ss(r){var a;const e=r.webBillingProduct.price,t=H_(r),n=r.webBillingProduct.period||((a=t==null?void 0:t.base)==null?void 0:a.period);if(!n||!n.number||n.number<=0)return e.amountMicros;switch(n.unit){case Le.Year:return e.amountMicros/Wi;case Le.Month:return e.amountMicros/n.number;case Le.Week:return e.amountMicros*Vi/n.number;case Le.Day:return e.amountMicros*Ui/n.number;default:return e.amountMicros/(n.number||1)}}function H_(r){return r.webBillingProduct.productType===Xr.Subscription?r.webBillingProduct.defaultSubscriptionOption:r.webBillingProduct.productType===Xr.NonConsumable||r.webBillingProduct.productType===Xr.Consumable?r.webBillingProduct.defaultNonSubscriptionOption:r.webBillingProduct.defaultPurchaseOption}function _E(r,e){return r===Xr.Subscription&&e!=null}function gE(r,e){return r!==Xr.Subscription&&e!=null}function Y_(r,e,t,n=!1){return t.translate(de.PaywallVariablesPricePerPeriod,{formattedPrice:r,period:e.base.period?e.base.period.number===1?t.translatePeriodUnit(e.base.period.unit,{noWhitespace:!0,short:!n}):t.translatePeriod(e.base.period.number,e.base.period.unit,{noWhitespace:!0,short:!n}):""})}function G_(r,e){const t=r.availablePackages,n=t.filter(i=>i.webBillingProduct.productType===Xr.Subscription),a=n.length>0?n.reduce((i,s)=>{const l=ss(i),c=ss(s);return l>c?i:s}):null;return t.reduce((i,s)=>(i[s.identifier]=fE(s,a,e),i),{})}function fE(r,e,t){const n=r.webBillingProduct,a=n.price,i=t.formatPrice(a.amountMicros,a.currency),s=H_(r),l=n.productType,c={"product.store_product_name":n.title,"product.price":i,"product.price_per_period":"","product.price_per_period_abbreviated":"","product.price_per_day":"","product.price_per_week":"","product.price_per_month":"","product.price_per_year":"","product.period":"","product.period_abbreviated":"","product.periodly":"","product.period_in_days":"","product.period_in_weeks":"","product.period_in_months":"","product.period_in_years":"","product.period_with_unit":"","product.currency_code":a.currency,"product.currency_symbol":t.formatPrice(0,a.currency).replace("0",""),"product.offer_price":"","product.offer_price_per_day":"","product.offer_price_per_week":"","product.offer_price_per_month":"","product.offer_price_per_year":"","product.offer_period":"","product.offer_period_abbreviated":"","product.offer_period_in_days":"","product.offer_period_in_weeks":"","product.offer_period_in_months":"","product.offer_period_in_years":"","product.offer_period_with_unit":"","product.offer_end_date":"","product.secondary_offer_price":"","product.secondary_offer_period":"","product.secondary_offer_period_abbreviated":"","product.relative_discount":""};if(_E(l,s)){c["product.price_per_period_abbreviated"]=Y_(i,s,t),c["product.price_per_period"]=Y_(i,s,t,!0);const u=n.period||s.base.period,d=V_(a,u,t);if(c["product.price_per_day"]=d.pricePerDay,c["product.price_per_week"]=d.pricePerWeek,c["product.price_per_month"]=d.pricePerMonth,c["product.price_per_year"]=d.pricePerYear,u){const p=Gl(u,t);c["product.period"]=p.period,c["product.period_abbreviated"]=p.periodAbbreviated,c["product.period_with_unit"]=p.periodWithUnit,c["product.period_in_days"]=p.periodInDays,c["product.period_in_weeks"]=p.periodInWeeks,c["product.period_in_months"]=p.periodInMonths,c["product.period_in_years"]=p.periodInYears,c["product.periodly"]=t.translatePeriodFrequency(u.number,u.unit)||""}if(e){const p=ss(r),g=ss(e),_=(g-p)*100/g;c["product.relative_discount"]=_<1?"":t.translate(de.PaywallVariablesSubRelativeDiscount,{discount:_.toFixed(0)})}dE(s,t,c)}return gE(l,s)&&(c["product.price"]=i,c["product.price_per_period"]=i,c["product.price_per_period_abbreviated"]=i,c["product.price_per_month"]=i,c["product.period_with_unit"]=t.translate(de.PeriodsLifetime),c["product.period_in_months"]=t.translate(de.PeriodsLifetime),c["product.periodly"]=t.translate(de.PeriodsLifetime),c["product.price_per_week"]="",c["product.relative_discount"]="",c["product.period"]="",c["product.period_abbreviated"]="",pE(s,t,c)),c}var mE=/(%?)(%([sdijo]))/g;function hE(r,e){switch(e){case"s":return r;case"d":case"i":return Number(r);case"j":return JSON.stringify(r);case"o":{if(typeof r=="string")return r;const t=JSON.stringify(r);return t==="{}"||t==="[]"||/^\[object .+?\]$/.test(t)?r:t}}}function _c(r,...e){if(e.length===0)return r;let t=0,n=r.replace(mE,(a,i,s,l)=>{const c=e[t],u=hE(c,l);return i?a:(t++,u)});return t<e.length&&(n+=` ${e.slice(t).join(" ")}`),n=n.replace(/%{2,2}/g,"%"),n}var vE=2;function yE(r){if(!r.stack)return;const e=r.stack.split(`
405
- `);e.splice(1,vE),r.stack=e.join(`
406
- `)}var bE=class extends Error{constructor(r,...e){super(r),this.message=r,this.name="Invariant Violation",this.message=_c(r,...e),yE(this)}},K_=(r,e,...t)=>{if(!r)throw new bE(e,...t)};K_.as=(r,e,t,...n)=>{if(!e){const a=n.length===0?t:_c(t,...n);let i;try{i=Reflect.construct(r,[a])}catch{i=r(a)}throw i}};const kE="[MSW]";function gc(r,...e){const t=_c(r,...e);return`${kE} ${t}`}function wE(r,...e){console.warn(gc(r,...e))}function PE(r,...e){console.error(gc(r,...e))}const xE={formatMessage:gc,warn:wE,error:PE};function EE(){K_(typeof URL<"u",xE.formatMessage(`Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".`))}var X_=(r=>(r.HEAD="HEAD",r.GET="GET",r.POST="POST",r.PUT="PUT",r.PATCH="PATCH",r.OPTIONS="OPTIONS",r.DELETE="DELETE",r))(X_||{});EE();class SE{constructor(e,t,n,a){ee(this,"initialDelay");ee(this,"maxDelay");ee(this,"jitterPercent");ee(this,"callback");ee(this,"currentDelay");ee(this,"timeoutId");ee(this,"executingCallback",!1);ee(this,"stopped",!1);ee(this,"currentFlushPromise",null);this.initialDelay=e,this.currentDelay=e,this.maxDelay=t,this.jitterPercent=n,this.callback=a}tryFlush(){if(!this.stopped){if(this.backingOff()){ke.debugLog("Backing off, not flushing");return}this.clearTimeout(),this.executeCallbackWithRetries().catch(()=>{})}}start(){this.stopped=!1,this.currentDelay=this.initialDelay}stop(){this.stopped=!0,this.clearTimeout()}flushImmediately(e){return this.clearTimeout(),this.executeCallbackWithRetries(e)}async flushUntilDrain(e){const t=this.currentFlushPromise;if(t)try{await t}catch{}this.stop();try{let n=!1;for(;!n;)n=await this.flushImmediately(e)}finally{this.start()}}schedule(e){if(this.stopped||this.timeoutId!==void 0)return;const t=this.addJitter(e||this.currentDelay);this.timeoutId=setTimeout(()=>{this.timeoutId=void 0,this.executeCallbackWithRetries().catch(()=>{})},t)}backoff(){const e=this.currentDelay,t=Math.min(this.currentDelay*2,this.maxDelay);ke.debugLog(`Backing next off to ${e}ms delay`),this.clearTimeout(),this.currentDelay=t,this.schedule(e)}reset(){this.currentDelay!==this.initialDelay&&(this.clearTimeout(),this.currentDelay=this.initialDelay)}async executeCallbackWithRetries(e){if(this.executingCallback)return ke.debugLog("Callback already running, rescheduling"),this.schedule(),!0;this.executingCallback=!0;let t;try{t=Promise.resolve(this.callback(e))}catch(n){t=Promise.reject(n)}this.currentFlushPromise=t.then(()=>{},()=>{});try{const n=await t;return this.reset(),n}catch{return this.backoff(),!0}finally{this.executingCallback=!1,this.currentFlushPromise=null}}backingOff(){return this.currentDelay>this.initialDelay}clearTimeout(){clearTimeout(this.timeoutId),this.timeoutId=void 0}addJitter(e){const t=e*this.jitterPercent,n=e-t,a=e+t;return Math.floor(Math.random()*(a-n+1)+n)}}const IE=Object.entries({componentType:"component_type",componentName:"component_name",componentValue:"component_value",componentURL:"component_url",originIndex:"origin_index",destinationIndex:"destination_index",originContextName:"origin_context_name",destinationContextName:"destination_context_name",defaultIndex:"default_index",originPackageId:"origin_package_id",destinationPackageId:"destination_package_id",defaultPackageId:"default_package_id",originProductId:"origin_product_id",destinationProductId:"destination_product_id",defaultProductId:"default_product_id",currentPackageId:"current_package_id",resultingPackageId:"resulting_package_id",currentProductId:"current_product_id",resultingProductId:"resulting_product_id"}),Z_=r=>r.displayMode===void 0?{}:{display_mode:r.displayMode,dark_mode:r.darkMode??!1,locale:r.locale??"en_US"},CE=r=>{const e={};for(const[t,n]of IE){const a=r[t];a!==void 0&&Object.assign(e,{[n]:a})}return e};function TE(r){return!r||!r.placementIdentifier&&!r.targetingContext?null:{...r.placementIdentifier?{placement_identifier:r.placementIdentifier}:{},...r.targetingContext?{targeting_revision:r.targetingContext.revision,targeting_rule_id:r.targetingContext.ruleId}:{}}}const DE=(r,e,t)=>{const n={version:1,id:e,app_user_id:r.appUserId,session_id:r.sessionId,offering_id:r.offeringId,paywall_revision:r.paywallRevision,timestamp:t,paywall_rc_public_id:r.paywallRcPublicId},a=TE(r.presentedOfferingContext);return a&&(n.presented_offering_context=a),n};class J_{constructor(e){ee(this,"id");ee(this,"timestamp");ee(this,"data");this.id=Un(),this.timestamp=Date.now(),this.data=e}toJSON(){const e=DE(this.data,this.id,this.timestamp);switch(this.data.type){case"paywall_impression":return{type:this.data.type,...e,...Z_(this.data)};case"paywall_close":case"paywall_cancel":return{type:this.data.type,...e};case"paywall_component_interacted":return{type:this.data.type,...e,...Z_(this.data),...CE(this.data)}}}}function Hn(){if(typeof window<"u")return window;throw new Qe(Fe.UnsupportedError,"window is not available. This SDK requires a browser environment for this operation.")}function Yo(){if(typeof window<"u")return window}function fc(){if(typeof document<"u")return document;throw new Qe(Fe.UnsupportedError,"document is not available. This SDK requires a browser environment for this operation.")}function mc(){if(typeof document<"u")return document}function AE(r,e){const t=Yo(),n=t!=null&&t.location?new URLSearchParams(t.location.search):new URLSearchParams;let a=null,i=null;typeof screen<"u"&&screen&&(a=screen.width,i=screen.height);const s=mc(),l=(s==null?void 0:s.referrer)??null,c=(s==null?void 0:s.title)??null;return{libraryName:"purchases-js",libraryVersion:C_,locale:navigator.language,userAgent:navigator.userAgent,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,screenWidth:a,screenHeight:i,utmSource:n.get("utm_source")??null,utmMedium:n.get("utm_medium")??null,utmCampaign:n.get("utm_campaign")??null,utmContent:n.get("utm_content")??null,utmTerm:n.get("utm_term")??null,pageReferrer:l,pageUrl:t!=null&&t.location?`${t.location.origin}${t.location.pathname}`:"",pageTitle:c,source:r,rcSource:e}}const FE=2e3,ME=5*6e4,zE=.1,Q_=50*1024;class qE{constructor(e){ee(this,"apiKey");ee(this,"eventsQueue",[]);ee(this,"eventsUrl");ee(this,"flushManager");ee(this,"traceId");ee(this,"appUserId");ee(this,"isSilent");ee(this,"rcSource");ee(this,"workflowContext");ee(this,"isDisposed",!1);var t;this.apiKey=e.apiKey,this.eventsUrl=`${((t=e.httpConfig)==null?void 0:t.eventsURL)??Ex}/v1/events`,this.appUserId=e.appUserId,this.isSilent=e.silent||!1,this.rcSource=e.rcSource,this.workflowContext=e.workflowContext,this.traceId=e.trace_id||Un(),this.flushManager=new SE(FE,ME,zE,this.doFlush.bind(this))}async updateUser(e){this.appUserId=e}getTraceId(){return this.traceId}trackSDKEvent(e){this.trackEvent({...e,source:"sdk"})}trackExternalEvent(e){this.trackEvent({...e})}trackPaywallEvent(e){if(this.isSilent){ke.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const t=new J_(e);ke.debugLog(`[PaywallEvent] Queuing ${e.type} (queue size: ${this.eventsQueue.length+1}, url: ${this.eventsUrl})`),ke.debugLog(`[PaywallEvent] Payload: ${JSON.stringify(t.toJSON())}`),this.eventsQueue.push(t),this.flushManager.tryFlush()}catch(t){ke.errorLog(`Error while tracking paywall event ${e.type}: ${t}`)}}trackEvent(e){var t;if(this.isSilent){ke.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const n=new qk({eventName:e.eventName,traceId:this.traceId,appUserId:this.appUserId,context:AE(e.source,this.rcSource),workflowIdentifier:(t=this.workflowContext)==null?void 0:t.workflowIdentifier,properties:e.properties||{mode:tt}});this.eventsQueue.push(n),this.flushManager.tryFlush()}catch(n){ke.errorLog(`Error while tracking event ${e.eventName}: ${n}`)}}dispose(){this.isDisposed||(this.flushManager.stop(),this.eventsQueue.length>0&&this.flushManager.flushUntilDrain({ignoreDisposed:!0}).catch(e=>{ke.debugLog(`Failed to flush events on dispose: ${e}`)}),this.isDisposed=!0)}async flushAllEvents(){this.isDisposed||(await this.flushManager.flushUntilDrain(),!this.isDisposed&&this.eventsQueue.length>0&&this.flushManager.schedule())}estimateSingleEventSize(e){try{return JSON.stringify(e).length}catch{return Q_}}batchEventsForKeepalive(){const e=[];let t=16;for(const n of this.eventsQueue){const a=this.estimateSingleEventSize(n),i=e.length>0?1:0,s=t+a+i;if(s<=Q_)e.push(n),t=s;else if(e.length===0){const l=n instanceof J_?n.data.type:n.data.eventName;return ke.warnLog(`Event exceeds keepalive size limit (${a} bytes): ${l}`),this.eventsQueue.shift(),null}else break}return e}doFlush(e){if(!(e!=null&&e.ignoreDisposed)&&this.isDisposed||this.eventsQueue.length===0)return Promise.resolve(!0);const t=this.batchEventsForKeepalive();if(!t)return Promise.resolve(this.eventsQueue.length===0);const n=JSON.stringify({events:t});return ke.debugLog(`[EventsTracker] Flushing ${t.length} event(s) to ${this.eventsUrl}`),ke.debugLog(`[EventsTracker] Body: ${n}`),fetch(this.eventsUrl,{method:X_.POST,headers:B_(this.apiKey),body:n,keepalive:!0}).then(a=>{if(ke.debugLog(`[EventsTracker] Flush response: ${a.status}`),a.status===200||a.status===201)return this.eventsQueue.splice(0,t.length),this.eventsQueue.length>0&&this.flushManager.schedule(),this.eventsQueue.length===0;throw ke.debugLog("Events failed to flush due to server error"),new Error("Events failed to flush due to server error")}).catch(a=>{throw ke.debugLog(`[EventsTracker] Flush error: ${a}`),a})}}const ls=()=>{const r=Yo(),e=r!=null&&r.location?new URLSearchParams(r.location.search):new URLSearchParams,t=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],n={};return t.forEach(a=>{const i=e.get(a);i!==null&&(n[a]=i)}),n},$_=["app","embedded"],hc={autoCollectUTMAsMetadata:!0,collectAnalyticsEvents:!0,storeLoadTime:"configuration"};var jE=W('<p class="svelte-17914yi"><strong>Free Trial:</strong> </p>'),LE=W('<p class="svelte-17914yi"><strong>Intro Price:</strong> </p>'),OE=W('<p class="svelte-17914yi"><strong>Discount Price:</strong> </p>'),NE=W('<div class="rc-simulated-store-modal-overlay svelte-17914yi"><div class="rc-simulated-store-modal svelte-17914yi"><div class="rc-simulated-store-modal-content svelte-17914yi"><h2 class="rc-simulated-store-modal-title svelte-17914yi">Test Store Purchase</h2> <div class="rc-simulated-store-modal-details svelte-17914yi"><div><p class="svelte-17914yi"><strong>Product:</strong> </p> <p class="svelte-17914yi"><strong>Type:</strong> </p> <p class="svelte-17914yi"><strong>Price:</strong> </p> <!> <!> <!></div></div> <div class="rc-simulated-store-modal-buttons svelte-17914yi"><button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-primary svelte-17914yi">Test valid purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-secondary svelte-17914yi">Test failed purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-cancel svelte-17914yi">Cancel</button></div></div></div></div>');const BE={hash:"svelte-17914yi",code:`.rc-simulated-store-modal-overlay.svelte-17914yi {position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center;font-family:-apple-system,
411
+ }`};function Ox(r,e){me(e,!0),Pe(r,Lx);const t=()=>ge(s,"$brandingAppearanceStore",a),n=()=>ge(d,"$translator",a),[a,i]=Ve(),s=Ze(Un),l=m(()=>t()??void 0),c=m(()=>new Wn(o(l)).pageStyleVars),u=m(()=>r_(o(l)).background),d=Ze(yr);I_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:g=>{var _=Ie(),f=ie(_);{var v=h=>{var y=Ie(),k=ie(y);{var b=E=>{var S=Fx(),I=A(S);Ax(I,{get stripeBillingParams(){return e.stripeBillingParams},get onContinue(){return e.onContinue},get onError(){return e.onError}}),X(()=>Ae(S,`${o(c)??""}; background-color: ${o(u)??""}`)),P(E,S)};G(k,E=>{e.stripeBillingParams&&E(b)})}P(h,y)},w=h=>{var y=Ie(),k=ie(y);{var b=S=>{var I=zx(),q=A(I);No(q,{gap:"medium",align:"center",children:(x,F)=>{var T=qx(),j=ie(T);Zi(j,{color:"var(--rc-color-grey-text-dark)"});var O=Y(j,2);{var N=L=>{var C=Mx(),D=ie(C);ze(D,{size:"heading-md",children:(U,V)=>{var R=Re();X($=>ke(R,$),[()=>n().translate(ce.LoadingPageProcessingPayment)]),P(U,R)},$$slots:{default:!0}});var M=Y(D,2);ze(M,{size:"body-small",children:(U,V)=>{var R=Re();X($=>ke(R,$),[()=>n().translate(ce.LoadingPageKeepPageOpen)]),P(U,R)},$$slots:{default:!0}}),P(L,C)};G(O,L=>{e.currentPage==="purchasing"&&L(N)})}P(x,T)},$$slots:{default:!0}}),P(S,I)},E=S=>{var I=Ie(),q=ie(I);{var x=T=>{is(T,{get onContinue(){return e.onContinue},fullWidth:!0})},F=T=>{var j=Ie(),O=ie(j);{var N=L=>{{let C=m(()=>{var M;return((M=e.brandingInfo)==null?void 0:M.support_email)??null}),D=m(()=>{var M;return((M=e.brandingInfo)==null?void 0:M.app_name)??null});os(L,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(C)},get onDismiss(){return e.closeWithError},get appName(){return o(D)},fullWidth:!0})}};G(O,L=>{e.currentPage==="error"&&L(N)},!0)}P(T,j)};G(q,T=>{e.currentPage==="success"?T(x):T(F,!1)},!0)}P(S,I)};G(k,S=>{e.currentPage==="loading"||e.currentPage==="purchasing"?S(b):S(E,!1)},!0)}P(h,y)};G(f,h=>{e.currentPage==="stripe-checkout"?h(v):h(w,!1)})}P(g,_)},$$slots:{mainContent:!0}}),he(),i()}function Nx(r,e){var k;me(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1);let a=e.rcPackage.webBillingProduct,i=new Ln(t(),e.selectedLocale,e.defaultLocale),s=Ir(i);vr(yr,s),vr(jo,e.eventsTracker);const l=Ir(((k=e.brandingInfo)==null?void 0:k.appearance)??null);vr(Un,l);let c=re(!1),u=re(null),d=re(null),p=re("loading"),g=re(null);const _=()=>{if(o(p)==="stripe-checkout"){z(p,"purchasing"),e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(b=>{z(u,b,!0),n()?e.onFinished(b):z(p,"success")}).catch(b=>{f(ls(b,"Failed to complete purchase"))});return}o(p)==="success"&&o(u)&&e.onFinished(o(u))},f=b=>{z(d,b,!0),z(p,"error")},v=()=>{e.onError(o(d)??new ye(ve.UnknownError,"Unknown error without state set."))};let w=null,h=null,y=null;Pr(async()=>{e.isInElement||(w=document.documentElement.style.height,h=document.documentElement.style.overflow,y=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const b=a.identifier;if(!b){f(new ye(ve.ErrorSettingUpPurchase,"Product ID was not set before purchase."));return}let E=e.customerEmail;(E?v_(E):null)&&(E=void 0);try{const I=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:b,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:E,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale});if(!I.stripe_billing_params){f(new ye(ve.ErrorSettingUpPurchase,"Missing Stripe Checkout parameters"));return}z(c,I.stripe_billing_params.environment.toLowerCase()==="sandbox"),z(g,I.stripe_billing_params,!0),z(p,"stripe-checkout")}catch(I){f(ls(I,"Failed to start Stripe Checkout"))}}),Ot(()=>{if(!e.isInElement){const b=(E,S,I)=>{I===""?E.style.removeProperty(S):E.style.setProperty(S,I)};b(document.documentElement,"height",w),b(document.body,"height",y),b(document.documentElement,"overflow",h)}}),Ox(r,{get currentPage(){return o(p)},get brandingInfo(){return e.brandingInfo},get productDetails(){return a},get isSandbox(){return o(c)},get lastError(){return o(d)},get isInElement(){return e.isInElement},get stripeBillingParams(){return o(g)},onContinue:_,onError:f,closeWithError:v}),he()}function C_(r){return r==null?!0:new Date(r)>new Date}function jx(r,e,t,n){const a=e.product_identifier;if(a in t)return Bx(r,e,t[a]);if(a in n)return Rx(r,e,n[a]);throw new er(Fe.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function Bx(r,e,t){return{identifier:r,isActive:C_(e.expires_date),willRenew:T_(e.expires_date,t),store:(t==null?void 0:t.store)??"unknown",latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(e.purchase_date),expirationDate:jt(e.expires_date),productIdentifier:e.product_identifier,productPlanIdentifier:e.product_plan_identifier??null,unsubscribeDetectedAt:jt(t==null?void 0:t.unsubscribe_detected_at),billingIssueDetectedAt:jt(t==null?void 0:t.billing_issues_detected_at),isSandbox:(t==null?void 0:t.is_sandbox)??!1,periodType:(t==null?void 0:t.period_type)??"normal",ownershipType:(t==null?void 0:t.ownership_type)??"UNKNOWN"}}function Rx(r,e,t){return{identifier:r,isActive:!0,willRenew:!1,store:t.store,latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(t.original_purchase_date),expirationDate:null,productIdentifier:e.product_identifier,productPlanIdentifier:null,unsubscribeDetectedAt:null,billingIssueDetectedAt:null,isSandbox:t.is_sandbox,periodType:"normal",ownershipType:"UNKNOWN"}}function Ux(r,e,t){const n={},a={};for(const i in r){const s=jx(i,r[i],e,t);n[i]=s,s.isActive&&(a[i]=s)}return{all:n,active:a}}function jt(r){return r==null?null:new Date(r)}function Vx(r){if(!r)return null;const e=r.amount*1e6;return{amount:r.amount*100,amountMicros:e,currency:r.currency,formattedPrice:bn(e,r.currency)}}function cc(r){const e=Hx(r),t=r.subscriber,n=Gx(t.non_subscriptions),a=Object.entries(r.subscriber.non_subscriptions).flatMap(([l,c])=>c.map(u=>({transactionIdentifier:u.id,productIdentifier:l,purchaseDate:new Date(u.purchase_date||u.original_purchase_date),storeTransactionId:u.store_transaction_id||null,store:u.store}))),i=new Date(r.request_date),s=Object.fromEntries(Object.entries(r.subscriber.subscriptions).map(([l,c])=>[l,{productIdentifier:l,productPlanIdentifier:c.product_plan_identifier??null,purchaseDate:new Date(c.purchase_date),originalPurchaseDate:jt(c.original_purchase_date),expiresDate:jt(c.expires_date),store:c.store,unsubscribeDetectedAt:jt(c.unsubscribe_detected_at),isSandbox:c.is_sandbox,billingIssuesDetectedAt:jt(c.billing_issues_detected_at),gracePeriodExpiresDate:jt(c.grace_period_expires_date),ownershipType:c.ownership_type??"UNKNOWN",periodType:c.period_type,refundedAt:jt(c.refunded_at),storeTransactionId:c.store_transaction_id||null,managementURL:c.management_url??null,isActive:C_(c.expires_date),willRenew:T_(c.expires_date,c),displayName:c.display_name??null,autoResumeDate:jt(c.auto_resume_date),price:Vx(c.price)}]));return{entitlements:Ux(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:e,allPurchaseDatesByProduct:Wx(r,n),activeSubscriptions:Yx(e),managementURL:t.management_url,requestDate:i,firstSeenDate:new Date(t.first_seen),originalPurchaseDate:jt(t.original_purchase_date),originalAppUserId:r.subscriber.original_app_user_id,nonSubscriptionTransactions:a,subscriptionsByProductIdentifier:s}}function T_(r,e){if(e==null)return!1;const t=e.store=="promotional",n=r==null,a=e.unsubscribe_detected_at!=null,i=e.billing_issues_detected_at!=null;return!(t||n||a||i)}function Wx(r,e){const t={};for(const n in r.subscriber.subscriptions){const a=r.subscriber.subscriptions[n];t[n]=new Date(a.purchase_date)}for(const n in e){const a=e[n].purchase_date;a==null?t[n]=null:t[n]=new Date(a)}return t}function Hx(r){const e={};for(const t in r.subscriber.subscriptions){const n=r.subscriber.subscriptions[t];n.expires_date==null?e[t]=null:e[t]=new Date(n.expires_date)}return e}function Yx(r){const e=new Set,t=new Date;for(const n in r){const a=r[n];(a==null||a>t)&&e.add(n)}return e}function Gx(r){const e={};for(const t in r){if(r[t].length===0)continue;const n=r[t].length;e[t]=r[t][n-1]}return e}const D_="1.47.3",Kx="https://api.revenuecat.com",Xx="https://e.revenue.cat";var cs;(function(r){r[r.CONTINUE=100]="CONTINUE",r[r.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",r[r.PROCESSING=102]="PROCESSING",r[r.EARLY_HINTS=103]="EARLY_HINTS",r[r.OK=200]="OK",r[r.CREATED=201]="CREATED",r[r.ACCEPTED=202]="ACCEPTED",r[r.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",r[r.NO_CONTENT=204]="NO_CONTENT",r[r.RESET_CONTENT=205]="RESET_CONTENT",r[r.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",r[r.MULTI_STATUS=207]="MULTI_STATUS",r[r.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",r[r.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",r[r.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",r[r.SEE_OTHER=303]="SEE_OTHER",r[r.NOT_MODIFIED=304]="NOT_MODIFIED",r[r.USE_PROXY=305]="USE_PROXY",r[r.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",r[r.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",r[r.BAD_REQUEST=400]="BAD_REQUEST",r[r.UNAUTHORIZED=401]="UNAUTHORIZED",r[r.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",r[r.FORBIDDEN=403]="FORBIDDEN",r[r.NOT_FOUND=404]="NOT_FOUND",r[r.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",r[r.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",r[r.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",r[r.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",r[r.CONFLICT=409]="CONFLICT",r[r.GONE=410]="GONE",r[r.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",r[r.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",r[r.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",r[r.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",r[r.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",r[r.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",r[r.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",r[r.IM_A_TEAPOT=418]="IM_A_TEAPOT",r[r.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",r[r.METHOD_FAILURE=420]="METHOD_FAILURE",r[r.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",r[r.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",r[r.LOCKED=423]="LOCKED",r[r.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",r[r.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",r[r.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",r[r.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",r[r.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",r[r.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",r[r.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",r[r.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",r[r.BAD_GATEWAY=502]="BAD_GATEWAY",r[r.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",r[r.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",r[r.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",r[r.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",r[r.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"})(cs||(cs={}));const Zx=/^rcb_[a-zA-Z0-9_.-]+$/,Jx=/^pdl_[a-zA-Z0-9_.-]+$/,Qx=/^test_[a-zA-Z0-9_.-]+$/,$x=/^strp_[a-zA-Z0-9_.-]+$/;function us(r){return r?r.startsWith("rcb_sb_"):!1}function uc(r){return r?Zx.test(r):!1}function A_(r){return r?Jx.test(r):!1}function F_(r){return r?$x.test(r):!1}function va(r){return r?Qx.test(r):!1}async function ct(r,e,t){return(await M_(r,e,t)).data}async function M_(r,e,t){const{apiKey:n,body:a,headers:i,httpConfig:s}=e,c=`${(s==null?void 0:s.proxyURL)??Kx}${r.urlPath()}`;try{const u=await fetch(c,{method:r.method,headers:U_(n,i,s==null?void 0:s.additionalHeaders),body:rE(a),signal:t});await eE(u,r);const d=u.status;return{data:await u.json(),statusCode:d}}catch(u){throw u instanceof TypeError?new er(Fe.NetworkError,Ua.getPublicMessage(Fe.NetworkError),u.message):u}}async function eE(r,e){const t=r.status;if(t>=cs.INTERNAL_SERVER_ERROR)dc(e,t,await r.text());else if(t>=cs.BAD_REQUEST){const n=await r.json(),a=n?JSON.stringify(n):null,i=n==null?void 0:n.code,s=n==null?void 0:n.message;if(i!=null){const l=Ua.convertCodeToBackendErrorCode(i);if(l==null)dc(e,t,a,i);else throw er.getForBackendError(l,s)}else dc(e,t,a)}}function dc(r,e,t,n){throw new er(Fe.UnknownBackendError,"Unknown backend error.",`Request: ${r.name}. Status code: ${e}. Body: ${t}.`,{backendErrorCode:n})}function rE(r){return r==null?null:JSON.stringify(r)}const q_="Authorization",z_="Content-Type",L_="Accept",O_="X-Platform",N_="X-Version",j_="X-Platform-Flavor",B_="X-Platform-Flavor-Version",R_="X-Is-Sandbox",tE=new Set([q_,z_,L_,O_,N_,R_,j_,B_]);function U_(r,e,t){let n={[q_]:`Bearer ${r}`,[z_]:"application/json",[L_]:"application/json",[O_]:"web",[N_]:D_,[R_]:`${us(r)}`};const a=_s.getPlatformInfo();if(a){const i={[j_]:a.flavor,[B_]:a.version};n={...n,...i}}return e&&(n={...n,...e}),t&&(n={...t,...n}),n}const ya="/v1/subscribers",ba="/rcbilling/v1";class nE{constructor(e){ee(this,"appUserId");ee(this,"method","GET");ee(this,"name","getOfferings");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}/offerings`}}class aE{constructor(e,t,n,a){ee(this,"method","GET");ee(this,"name","getProducts");ee(this,"appUserId");ee(this,"productIds");ee(this,"currency");ee(this,"discountCode");this.appUserId=e,this.productIds=t,this.currency=n,this.discountCode=a}urlPath(){const e=encodeURIComponent(this.appUserId),t=this.productIds.map(encodeURIComponent).join("&id="),n=this.currency?`&currency=${this.currency}`:"",a=this.discountCode?`&discount_code=${encodeURIComponent(this.discountCode)}`:"";return`${ba}/subscribers/${e}/products?id=${t}${n}${a}`}}class oE{constructor(e){ee(this,"method","GET");ee(this,"name","getCustomerInfo");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}`}}class iE{constructor(){ee(this,"method","POST");ee(this,"name","identify")}urlPath(){return`${ya}/identify`}}class sE{constructor(){ee(this,"method","GET");ee(this,"name","getBrandingInfo")}urlPath(){return`${ba}/branding`}}class lE{constructor(){ee(this,"method","POST");ee(this,"name","postCheckoutPrepare")}urlPath(){return`${ba}/checkout/prepare`}}class cE{constructor(){ee(this,"method","POST");ee(this,"name","postCheckoutStart")}urlPath(){return`${ba}/checkout/start`}}class uE{constructor(e){ee(this,"method","PATCH");ee(this,"name","patchCheckoutRefreshPricing");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ba}/checkout/${this.operationSessionId}`}}class dE{constructor(e){ee(this,"method","POST");ee(this,"name","postCheckoutComplete");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ba}/checkout/${this.operationSessionId}/complete`}}class pE{constructor(e){ee(this,"method","GET");ee(this,"name","getCheckoutStatus");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ba}/checkout/${this.operationSessionId}`}}class _E{constructor(e){ee(this,"method","POST");ee(this,"name","setAttributes");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}/attributes`}}class gE{constructor(){ee(this,"method","POST");ee(this,"name","postReceipt")}urlPath(){return"/v1/receipts"}}class fE{constructor(e){ee(this,"method","GET");ee(this,"name","getVirtualCurrencies");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}/virtual_currencies`}}class mE{constructor(e){ee(this,"method","GET");ee(this,"name","getWorkflows");ee(this,"appUserId");this.appUserId=e}urlPath(){return`${ya}/${encodeURIComponent(this.appUserId)}/workflows?type=paywall`}}class hE{constructor(e,t){ee(this,"method","GET");ee(this,"name","getWorkflowData");ee(this,"appUserId");ee(this,"workflowId");this.appUserId=e,this.workflowId=t}urlPath(){return`${ya}/${encodeURIComponent(this.appUserId)}/workflows/${encodeURIComponent(this.workflowId)}`}}const pc={};class vE{constructor(e,t=pc,n){ee(this,"API_KEY");ee(this,"httpConfig");ee(this,"isSandbox");ee(this,"purchasesContext");this.API_KEY=e,this.httpConfig=t,this.isSandbox=us(e),this.purchasesContext=n}getIsSandbox(){return this.isSandbox}async getOfferings(e){return await ct(new nE(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(e){return await ct(new oE(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async identify(e,t){const n={app_user_id:e,new_app_user_id:t},a=await M_(new iE,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig}),i=a.statusCode===201;return{...a.data,was_created:i}}async getProducts(e,t,n,a){return await ct(new aE(e,t,n,a),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getBrandingInfo(){return await ct(new sE,{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postCheckoutPrepare(e,t){const n={product_id:e,price_id:t.priceId};return t.id!=="base_option"&&(n.offer_id=t.id),await ct(new lE,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig})}async postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:i,presentedStepId:s,paywallId:l,paywallSessionId:c,customerEmail:u,metadata:d,locale:p,attributionMetadata:g}){var f,v;const _={app_user_id:e,product_id:t,email:u,price_id:n.priceId,presented_offering_identifier:a.offeringIdentifier,trace_id:i};return d&&(_.metadata=d),n.id!=="base_option"&&(_.offer_id=n.id),a.targetingContext&&(_.applied_targeting_rule={rule_id:a.targetingContext.ruleId,revision:a.targetingContext.revision}),a.placementIdentifier&&(_.presented_placement_identifier=a.placementIdentifier),(v=(f=this.purchasesContext)==null?void 0:f.workflowContext)!=null&&v.workflowIdentifier&&(_.presented_workflow_id=this.purchasesContext.workflowContext.workflowIdentifier),s&&(_.presented_step_id=s),l&&(_.paywall={paywall_id:l,...c?{paywall_session_id:c}:{}}),p&&(_.locale=p),g&&(_.attribution_metadata=g),await ct(new cE,{apiKey:this.API_KEY,body:_,httpConfig:this.httpConfig})}async patchCheckoutRefreshPricing(e,{countryCode:t,postalCode:n,state:a,city:i,addressLine1:s,addressLine2:l,discountCode:c,signal:u}={}){const d={country_code:t,postal_code:n,state:a,city:i,address_line1:s,address_line2:l,discount_code:c};return await ct(new uE(e),{apiKey:this.API_KEY,body:d,httpConfig:this.httpConfig},u)}async postCheckoutComplete(e,t,n){const a={email:t};return n&&(a.locale=n),await ct(new dE(e),{apiKey:this.API_KEY,body:a,httpConfig:this.httpConfig})}async getCheckoutStatus(e){return await ct(new pE(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async setAttributes(e,t){const n=Date.now(),a={};for(const[s,l]of Object.entries(t))a[s]={value:l,updated_at_ms:n};const i={attributes:a};return await ct(new _E(e),{apiKey:this.API_KEY,body:i,httpConfig:this.httpConfig})}async postReceipt(e,t,n,a,i,s,l){var d,p;let c=null;i.targetingContext&&(c={rule_id:i.targetingContext.ruleId,revision:i.targetingContext.revision});const u={fetch_token:a,product_id:t,currency:n,app_user_id:e,presented_offering_identifier:i.offeringIdentifier,presented_placement_identifier:i.placementIdentifier,presented_workflow_id:(p=(d=this.purchasesContext)==null?void 0:d.workflowContext)==null?void 0:p.workflowIdentifier,applied_targeting_rule:c,initiation_source:s};return l&&(u.paywall={paywall_id:l}),await ct(new gE,{apiKey:this.API_KEY,body:u,httpConfig:this.httpConfig})}async getVirtualCurrencies(e){return await ct(new fE(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflows(e){return await ct(new mE(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflowById(e,t){const n=await ct(new hE(e,t),{apiKey:this.API_KEY,httpConfig:this.httpConfig});if(!("action"in n))return n;if(n.action==="inline")return n.data;if(n.action!=="use_cdn")throw new Error(`Unexpected workflow action: ${n.action}`);const a=await fetch(n.url);if(!a.ok)throw new Error(`Failed to fetch workflow from CDN: ${a.statusText}`);return await a.json()}}function yE(r){if(!(uc(r)||va(r)||A_(r)||F_(r)))throw new er(Fe.InvalidCredentialsError,"Invalid API key. Use your Web Billing API key.")}function _c(r){if(!r||new Set(["no_user","null","none","nil","(null)","NaN","\\x00","","unidentified","undefined","unknown"]).has(r)||r.includes("/"))throw new er(Fe.InvalidAppUserIdError,'Provided user id: "'+(r??"[Not provided]")+'" is not valid. See https://www.revenuecat.com/docs/customers/user-ids#tips-for-setting-app-user-ids for more information.')}function bE(r){if(r!=null&&r.endsWith("/"))throw new er(Fe.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function kE(r){if(r){for(const e in r)if(tE.has(e))throw new er(Fe.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var gc=(r=>(r.Current="current",r))(gc||{});function V_(r,e){async function t(...n){return await this.preload(),await r.call(this,...n)}return t}const W_=(r,e)=>{const t={...r.webBillingProduct,presentedOfferingContext:{...r.webBillingProduct.presentedOfferingContext,placementIdentifier:e}};return{...r,webBillingProduct:t,rcBillingProduct:t}},ka=(r,e)=>r==null?null:W_(r,e),wE=(r,e,t)=>{const n=r.offering_ids_by_placement??{},a=r.fallback_offering_id;let i;if(t in n){const l=n[t]??null;l&&(i=e[l])}if(!i&&a&&a in e&&(i=e[a]),!i)return null;const s=Object.fromEntries(Object.entries(i.packagesById).map(([l,c])=>[l,W_(c,t)]));return{...i,packagesById:s,availablePackages:Object.values(s),weekly:ka(i.weekly,t),monthly:ka(i.monthly,t),twoMonth:ka(i.twoMonth,t),threeMonth:ka(i.threeMonth,t),sixMonth:ka(i.sixMonth,t),annual:ka(i.annual,t),lifetime:ka(i.lifetime,t)}};function PE(r,e){const t={};e.product_details.forEach(i=>{t[i.identifier]=i});const n={};r.offerings.forEach(i=>{const s=i.identifier===r.current_offering_id,l=Gm(s,i,t,r.targeting,r.ui_config);l!=null&&(n[i.identifier]=l)});const a=r.current_offering_id?n[r.current_offering_id]??null:null;return Object.keys(n).length==0&&we.debugLog("Empty offerings. Please make sure you've configured offerings correctly in the RevenueCat dashboard and that the products are properly configured."),{all:n,current:a}}const xE=1000001;function Kr(r,e,t){return t.formatPrice(Ii(r,e),e)}function EE(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Ne.Year?Kr(r.amountMicros/Gl/e.number,r.currency,t):e.unit===Ne.Month?Kr(r.amountMicros/Yi/e.number,r.currency,t):e.unit===Ne.Week?Kr(r.amountMicros/Yl/e.number,r.currency,t):e.unit===Ne.Day?Kr(r.amountMicros/e.number,r.currency,t):n:n}function SE(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Ne.Year?Kr(r.amountMicros/Kl/e.number,r.currency,t):e.unit===Ne.Month?Kr(r.amountMicros/Gi/e.number,r.currency,t):e.unit===Ne.Week?Kr(r.amountMicros/e.number,r.currency,t):e.unit===Ne.Day?Kr(r.amountMicros*Yl/e.number,r.currency,t):n:n}function IE(r,e,t){return e?e.unit===Ne.Year?Kr(r.amountMicros/Ki,r.currency,t):e.unit===Ne.Month?Kr(r.amountMicros/e.number,r.currency,t):e.unit===Ne.Week?Kr(r.amountMicros*Gi/e.number,r.currency,t):e.unit===Ne.Day?Kr(r.amountMicros*Yi/e.number,r.currency,t):Kr(r.amountMicros/(e.number||1),r.currency,t):t.formatPrice(r.amountMicros,r.currency)}function CE(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Ne.Year?Kr(r.amountMicros/e.number,r.currency,t):e.unit===Ne.Month?Kr(r.amountMicros*Ki/e.number,r.currency,t):e.unit===Ne.Week?Kr(r.amountMicros*Kl/e.number,r.currency,t):e.unit===Ne.Day?Kr(r.amountMicros*Gl/e.number,r.currency,t):n:n}function H_(r,e,t){return{pricePerDay:EE(r,e,t),pricePerWeek:SE(r,e,t),pricePerMonth:IE(r,e,t),pricePerYear:CE(r,e,t)}}function TE(r){return r.cycleCount>0?r.cycleCount:1}function DE(r){return"durationMode"in r&&r.durationMode==="forever"}function AE(r){return"durationMode"in r&&r.durationMode==="time_window"}function FE(r,e){return AE(e)?r.base.period:e.period}function ME(r){return r.period===null||DE(r)?null:{number:r.period.number*TE(r),unit:r.period.unit}}function qE(r,e){const t=Co(new Date,r,!0);return t?e.translateDate(t,{dateStyle:"long"})??"":""}function zE(r,e,t){const n=r.discount??r.trial??r.introPrice,a=r.trial&&!r.discount?r.introPrice:null;if(n===null)return;const i=ME(n),s=FE(r,n),{price:l}=n;if(l!==null){const c=H_(l,s,e);t["product.offer_price"]=e.formatPrice(l.amountMicros,l.currency),t["product.offer_price_per_day"]=c.pricePerDay,t["product.offer_price_per_week"]=c.pricePerWeek,t["product.offer_price_per_month"]=c.pricePerMonth,t["product.offer_price_per_year"]=c.pricePerYear}if(i!==null){const c=Xl(i,e);t["product.offer_period"]=c.period,t["product.offer_period_abbreviated"]=c.periodAbbreviated,t["product.offer_period_with_unit"]=c.periodWithUnit,t["product.offer_period_in_days"]=c.periodInDays,t["product.offer_period_in_weeks"]=c.periodInWeeks,t["product.offer_period_in_months"]=c.periodInMonths,t["product.offer_period_in_years"]=c.periodInYears,t["product.offer_end_date"]=qE(i,e)}if(a!==null&&(a.price!==null&&(t["product.secondary_offer_price"]=e.formatPrice(a.price.amountMicros,a.price.currency)),a.period!==null)){const c=Xl(a.period,e);t["product.secondary_offer_period"]=c.period,t["product.secondary_offer_period_abbreviated"]=c.periodAbbreviated}}function LE(r,e,t){var a;const n=((a=r.discount)==null?void 0:a.price)??null;n!==null&&(t["product.offer_price"]=e.formatPrice(n.amountMicros,n.currency))}function Y_(r,e={}){var a;if(e.translator)return X_(r,e.translator);const t=((a=r.paywallComponents)==null?void 0:a.default_locale)||Gr,n=new Ln(e.customTranslations??{},e.selectedLocale??t,e.fallbackLocale??t);return X_(r,n)}function ds(r){var a;const e=r.webBillingProduct.price,t=G_(r),n=r.webBillingProduct.period||((a=t==null?void 0:t.base)==null?void 0:a.period);if(!n||!n.number||n.number<=0)return e.amountMicros;switch(n.unit){case Ne.Year:return e.amountMicros/Ki;case Ne.Month:return e.amountMicros/n.number;case Ne.Week:return e.amountMicros*Gi/n.number;case Ne.Day:return e.amountMicros*Yi/n.number;default:return e.amountMicros/(n.number||1)}}function G_(r){return r.webBillingProduct.productType===Zr.Subscription?r.webBillingProduct.defaultSubscriptionOption:r.webBillingProduct.productType===Zr.NonConsumable||r.webBillingProduct.productType===Zr.Consumable?r.webBillingProduct.defaultNonSubscriptionOption:r.webBillingProduct.defaultPurchaseOption}function OE(r,e){return r===Zr.Subscription&&e!=null}function NE(r,e){return r!==Zr.Subscription&&e!=null}function K_(r,e,t,n=!1){return t.translate(ce.PaywallVariablesPricePerPeriod,{formattedPrice:r,period:e.base.period?e.base.period.number===1?t.translatePeriodUnit(e.base.period.unit,{noWhitespace:!0,short:!n}):t.translatePeriod(e.base.period.number,e.base.period.unit,{noWhitespace:!0,short:!n}):""})}function X_(r,e){const t=r.availablePackages,n=t.filter(i=>i.webBillingProduct.productType===Zr.Subscription),a=n.length>0?n.reduce((i,s)=>{const l=ds(i),c=ds(s);return l>c?i:s}):null;return t.reduce((i,s)=>(i[s.identifier]=jE(s,a,e),i),{})}function jE(r,e,t){const n=r.webBillingProduct,a=n.price,i=t.formatPrice(a.amountMicros,a.currency),s=G_(r),l=n.productType,c={"product.store_product_name":n.title,"product.price":i,"product.price_per_period":"","product.price_per_period_abbreviated":"","product.price_per_day":"","product.price_per_week":"","product.price_per_month":"","product.price_per_year":"","product.period":"","product.period_abbreviated":"","product.periodly":"","product.period_in_days":"","product.period_in_weeks":"","product.period_in_months":"","product.period_in_years":"","product.period_with_unit":"","product.currency_code":a.currency,"product.currency_symbol":t.formatPrice(0,a.currency).replace("0",""),"product.offer_price":"","product.offer_price_per_day":"","product.offer_price_per_week":"","product.offer_price_per_month":"","product.offer_price_per_year":"","product.offer_period":"","product.offer_period_abbreviated":"","product.offer_period_in_days":"","product.offer_period_in_weeks":"","product.offer_period_in_months":"","product.offer_period_in_years":"","product.offer_period_with_unit":"","product.offer_end_date":"","product.secondary_offer_price":"","product.secondary_offer_period":"","product.secondary_offer_period_abbreviated":"","product.relative_discount":""};if(OE(l,s)){c["product.price_per_period_abbreviated"]=K_(i,s,t),c["product.price_per_period"]=K_(i,s,t,!0);const u=n.period||s.base.period,d=H_(a,u,t);if(c["product.price_per_day"]=d.pricePerDay,c["product.price_per_week"]=d.pricePerWeek,c["product.price_per_month"]=d.pricePerMonth,c["product.price_per_year"]=d.pricePerYear,u){const p=Xl(u,t);c["product.period"]=p.period,c["product.period_abbreviated"]=p.periodAbbreviated,c["product.period_with_unit"]=p.periodWithUnit,c["product.period_in_days"]=p.periodInDays,c["product.period_in_weeks"]=p.periodInWeeks,c["product.period_in_months"]=p.periodInMonths,c["product.period_in_years"]=p.periodInYears,c["product.periodly"]=t.translatePeriodFrequency(u.number,u.unit)||""}if(e){const p=ds(r),g=ds(e),_=(g-p)*100/g;c["product.relative_discount"]=_<1?"":t.translate(ce.PaywallVariablesSubRelativeDiscount,{discount:_.toFixed(0)})}zE(s,t,c)}return NE(l,s)&&(c["product.price"]=i,c["product.price_per_period"]=i,c["product.price_per_period_abbreviated"]=i,c["product.price_per_month"]=i,c["product.period_with_unit"]=t.translate(ce.PeriodsLifetime),c["product.period_in_months"]=t.translate(ce.PeriodsLifetime),c["product.periodly"]=t.translate(ce.PeriodsLifetime),c["product.price_per_week"]="",c["product.relative_discount"]="",c["product.period"]="",c["product.period_abbreviated"]="",LE(s,t,c)),c}var BE=/(%?)(%([sdijo]))/g;function RE(r,e){switch(e){case"s":return r;case"d":case"i":return Number(r);case"j":return JSON.stringify(r);case"o":{if(typeof r=="string")return r;const t=JSON.stringify(r);return t==="{}"||t==="[]"||/^\[object .+?\]$/.test(t)?r:t}}}function fc(r,...e){if(e.length===0)return r;let t=0,n=r.replace(BE,(a,i,s,l)=>{const c=e[t],u=RE(c,l);return i?a:(t++,u)});return t<e.length&&(n+=` ${e.slice(t).join(" ")}`),n=n.replace(/%{2,2}/g,"%"),n}var UE=2;function VE(r){if(!r.stack)return;const e=r.stack.split(`
412
+ `);e.splice(1,UE),r.stack=e.join(`
413
+ `)}var WE=class extends Error{constructor(r,...e){super(r),this.message=r,this.name="Invariant Violation",this.message=fc(r,...e),VE(this)}},Z_=(r,e,...t)=>{if(!r)throw new WE(e,...t)};Z_.as=(r,e,t,...n)=>{if(!e){const a=n.length===0?t:fc(t,...n);let i;try{i=Reflect.construct(r,[a])}catch{i=r(a)}throw i}};const HE="[MSW]";function mc(r,...e){const t=fc(r,...e);return`${HE} ${t}`}function YE(r,...e){console.warn(mc(r,...e))}function GE(r,...e){console.error(mc(r,...e))}const KE={formatMessage:mc,warn:YE,error:GE};function XE(){Z_(typeof URL<"u",KE.formatMessage(`Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".`))}var J_=(r=>(r.HEAD="HEAD",r.GET="GET",r.POST="POST",r.PUT="PUT",r.PATCH="PATCH",r.OPTIONS="OPTIONS",r.DELETE="DELETE",r))(J_||{});XE();class ZE{constructor(e,t,n,a){ee(this,"initialDelay");ee(this,"maxDelay");ee(this,"jitterPercent");ee(this,"callback");ee(this,"currentDelay");ee(this,"timeoutId");ee(this,"executingCallback",!1);ee(this,"stopped",!1);ee(this,"currentFlushPromise",null);this.initialDelay=e,this.currentDelay=e,this.maxDelay=t,this.jitterPercent=n,this.callback=a}tryFlush(){if(!this.stopped){if(this.backingOff()){we.debugLog("Backing off, not flushing");return}this.clearTimeout(),this.executeCallbackWithRetries().catch(()=>{})}}start(){this.stopped=!1,this.currentDelay=this.initialDelay}stop(){this.stopped=!0,this.clearTimeout()}flushImmediately(e){return this.clearTimeout(),this.executeCallbackWithRetries(e)}async flushUntilDrain(e){const t=this.currentFlushPromise;if(t)try{await t}catch{}this.stop();try{let n=!1;for(;!n;)n=await this.flushImmediately(e)}finally{this.start()}}schedule(e){if(this.stopped||this.timeoutId!==void 0)return;const t=this.addJitter(e||this.currentDelay);this.timeoutId=setTimeout(()=>{this.timeoutId=void 0,this.executeCallbackWithRetries().catch(()=>{})},t)}backoff(){const e=this.currentDelay,t=Math.min(this.currentDelay*2,this.maxDelay);we.debugLog(`Backing next off to ${e}ms delay`),this.clearTimeout(),this.currentDelay=t,this.schedule(e)}reset(){this.currentDelay!==this.initialDelay&&(this.clearTimeout(),this.currentDelay=this.initialDelay)}async executeCallbackWithRetries(e){if(this.executingCallback)return we.debugLog("Callback already running, rescheduling"),this.schedule(),!0;this.executingCallback=!0;let t;try{t=Promise.resolve(this.callback(e))}catch(n){t=Promise.reject(n)}this.currentFlushPromise=t.then(()=>{},()=>{});try{const n=await t;return this.reset(),n}catch{return this.backoff(),!0}finally{this.executingCallback=!1,this.currentFlushPromise=null}}backingOff(){return this.currentDelay>this.initialDelay}clearTimeout(){clearTimeout(this.timeoutId),this.timeoutId=void 0}addJitter(e){const t=e*this.jitterPercent,n=e-t,a=e+t;return Math.floor(Math.random()*(a-n+1)+n)}}const JE=Object.entries({componentType:"component_type",componentName:"component_name",componentValue:"component_value",componentURL:"component_url",originIndex:"origin_index",destinationIndex:"destination_index",originContextName:"origin_context_name",destinationContextName:"destination_context_name",defaultIndex:"default_index",originPackageId:"origin_package_id",destinationPackageId:"destination_package_id",defaultPackageId:"default_package_id",originProductId:"origin_product_id",destinationProductId:"destination_product_id",defaultProductId:"default_product_id",currentPackageId:"current_package_id",resultingPackageId:"resulting_package_id",currentProductId:"current_product_id",resultingProductId:"resulting_product_id"}),Q_=r=>r.displayMode===void 0?{}:{display_mode:r.displayMode,dark_mode:r.darkMode??!1,locale:r.locale??"en_US"},QE=r=>{const e={};for(const[t,n]of JE){const a=r[t];a!==void 0&&Object.assign(e,{[n]:a})}return e};function $E(r){return!r||!r.placementIdentifier&&!r.targetingContext?null:{...r.placementIdentifier?{placement_identifier:r.placementIdentifier}:{},...r.targetingContext?{targeting_revision:r.targetingContext.revision,targeting_rule_id:r.targetingContext.ruleId}:{}}}const eS=(r,e,t)=>{const n={version:1,id:e,app_user_id:r.appUserId,session_id:r.sessionId,offering_id:r.offeringId,paywall_revision:r.paywallRevision,timestamp:t,paywall_rc_public_id:r.paywallRcPublicId},a=$E(r.presentedOfferingContext);return a&&(n.presented_offering_context=a),n};class $_{constructor(e){ee(this,"id");ee(this,"timestamp");ee(this,"data");this.id=Vn(),this.timestamp=Date.now(),this.data=e}toJSON(){const e=eS(this.data,this.id,this.timestamp);switch(this.data.type){case"paywall_impression":return{type:this.data.type,...e,...Q_(this.data)};case"paywall_close":case"paywall_cancel":return{type:this.data.type,...e};case"paywall_component_interacted":return{type:this.data.type,...e,...Q_(this.data),...QE(this.data)}}}}function Yn(){if(typeof window<"u")return window;throw new er(Fe.UnsupportedError,"window is not available. This SDK requires a browser environment for this operation.")}function Go(){if(typeof window<"u")return window}function hc(){if(typeof document<"u")return document;throw new er(Fe.UnsupportedError,"document is not available. This SDK requires a browser environment for this operation.")}function vc(){if(typeof document<"u")return document}function rS(r,e){const t=Go(),n=t!=null&&t.location?new URLSearchParams(t.location.search):new URLSearchParams;let a=null,i=null;typeof screen<"u"&&screen&&(a=screen.width,i=screen.height);const s=vc(),l=(s==null?void 0:s.referrer)??null,c=(s==null?void 0:s.title)??null;return{libraryName:"purchases-js",libraryVersion:D_,locale:navigator.language,userAgent:navigator.userAgent,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,screenWidth:a,screenHeight:i,utmSource:n.get("utm_source")??null,utmMedium:n.get("utm_medium")??null,utmCampaign:n.get("utm_campaign")??null,utmContent:n.get("utm_content")??null,utmTerm:n.get("utm_term")??null,pageReferrer:l,pageUrl:t!=null&&t.location?`${t.location.origin}${t.location.pathname}`:"",pageTitle:c,source:r,rcSource:e}}const tS=2e3,nS=5*6e4,aS=.1,eg=50*1024;class oS{constructor(e){ee(this,"apiKey");ee(this,"eventsQueue",[]);ee(this,"eventsUrl");ee(this,"flushManager");ee(this,"traceId");ee(this,"appUserId");ee(this,"isSilent");ee(this,"rcSource");ee(this,"workflowContext");ee(this,"isDisposed",!1);var t;this.apiKey=e.apiKey,this.eventsUrl=`${((t=e.httpConfig)==null?void 0:t.eventsURL)??Xx}/v1/events`,this.appUserId=e.appUserId,this.isSilent=e.silent||!1,this.rcSource=e.rcSource,this.workflowContext=e.workflowContext,this.traceId=e.trace_id||Vn(),this.flushManager=new ZE(tS,nS,aS,this.doFlush.bind(this))}async updateUser(e){this.appUserId=e}getTraceId(){return this.traceId}trackSDKEvent(e){this.trackEvent({...e,source:"sdk"})}trackExternalEvent(e){this.trackEvent({...e})}trackPaywallEvent(e){if(this.isSilent){we.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const t=new $_(e);we.debugLog(`[PaywallEvent] Queuing ${e.type} (queue size: ${this.eventsQueue.length+1}, url: ${this.eventsUrl})`),we.debugLog(`[PaywallEvent] Payload: ${JSON.stringify(t.toJSON())}`),this.eventsQueue.push(t),this.flushManager.tryFlush()}catch(t){we.errorLog(`Error while tracking paywall event ${e.type}: ${t}`)}}trackEvent(e){var t;if(this.isSilent){we.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const n=new ow({eventName:e.eventName,traceId:this.traceId,appUserId:this.appUserId,context:rS(e.source,this.rcSource),workflowIdentifier:(t=this.workflowContext)==null?void 0:t.workflowIdentifier,properties:e.properties||{mode:nt}});this.eventsQueue.push(n),this.flushManager.tryFlush()}catch(n){we.errorLog(`Error while tracking event ${e.eventName}: ${n}`)}}dispose(){this.isDisposed||(this.flushManager.stop(),this.eventsQueue.length>0&&this.flushManager.flushUntilDrain({ignoreDisposed:!0}).catch(e=>{we.debugLog(`Failed to flush events on dispose: ${e}`)}),this.isDisposed=!0)}async flushAllEvents(){this.isDisposed||(await this.flushManager.flushUntilDrain(),!this.isDisposed&&this.eventsQueue.length>0&&this.flushManager.schedule())}estimateSingleEventSize(e){try{return JSON.stringify(e).length}catch{return eg}}batchEventsForKeepalive(){const e=[];let t=16;for(const n of this.eventsQueue){const a=this.estimateSingleEventSize(n),i=e.length>0?1:0,s=t+a+i;if(s<=eg)e.push(n),t=s;else if(e.length===0){const l=n instanceof $_?n.data.type:n.data.eventName;return we.warnLog(`Event exceeds keepalive size limit (${a} bytes): ${l}`),this.eventsQueue.shift(),null}else break}return e}doFlush(e){if(!(e!=null&&e.ignoreDisposed)&&this.isDisposed||this.eventsQueue.length===0)return Promise.resolve(!0);const t=this.batchEventsForKeepalive();if(!t)return Promise.resolve(this.eventsQueue.length===0);const n=JSON.stringify({events:t});return we.debugLog(`[EventsTracker] Flushing ${t.length} event(s) to ${this.eventsUrl}`),we.debugLog(`[EventsTracker] Body: ${n}`),fetch(this.eventsUrl,{method:J_.POST,headers:U_(this.apiKey),body:n,keepalive:!0}).then(a=>{if(we.debugLog(`[EventsTracker] Flush response: ${a.status}`),a.status===200||a.status===201)return this.eventsQueue.splice(0,t.length),this.eventsQueue.length>0&&this.flushManager.schedule(),this.eventsQueue.length===0;throw we.debugLog("Events failed to flush due to server error"),new Error("Events failed to flush due to server error")}).catch(a=>{throw we.debugLog(`[EventsTracker] Flush error: ${a}`),a})}}const ps=()=>{const r=Go(),e=r!=null&&r.location?new URLSearchParams(r.location.search):new URLSearchParams,t=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],n={};return t.forEach(a=>{const i=e.get(a);i!==null&&(n[a]=i)}),n},rg=["app","embedded"],yc={autoCollectUTMAsMetadata:!0,collectAnalyticsEvents:!0,storeLoadTime:"configuration"};var iS=W('<p class="svelte-17914yi"><strong>Free Trial:</strong> </p>'),sS=W('<p class="svelte-17914yi"><strong>Intro Price:</strong> </p>'),lS=W('<p class="svelte-17914yi"><strong>Discount Price:</strong> </p>'),cS=W('<div class="rc-simulated-store-modal-overlay svelte-17914yi"><div class="rc-simulated-store-modal svelte-17914yi"><div class="rc-simulated-store-modal-content svelte-17914yi"><h2 class="rc-simulated-store-modal-title svelte-17914yi">Test Store Purchase</h2> <div class="rc-simulated-store-modal-details svelte-17914yi"><div><p class="svelte-17914yi"><strong>Product:</strong> </p> <p class="svelte-17914yi"><strong>Type:</strong> </p> <p class="svelte-17914yi"><strong>Price:</strong> </p> <!> <!> <!></div></div> <div class="rc-simulated-store-modal-buttons svelte-17914yi"><button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-primary svelte-17914yi">Test valid purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-secondary svelte-17914yi">Test failed purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-cancel svelte-17914yi">Cancel</button></div></div></div></div>');const uS={hash:"svelte-17914yi",code:`.rc-simulated-store-modal-overlay.svelte-17914yi {position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center;font-family:-apple-system,
407
414
  BlinkMacSystemFont,
408
415
  avenir next,
409
416
  avenir,
@@ -420,6 +427,6 @@ but received
420
427
 
421
428
  /* Mobile responsive - full screen on small screens */
422
429
  @media (max-width: 768px) {.rc-simulated-store-modal-overlay.svelte-17914yi {padding:0;}.rc-simulated-store-modal.svelte-17914yi {width:100%;height:100%;border-radius:0;max-width:none;max-height:none;}.rc-simulated-store-modal-content.svelte-17914yi {height:100%;display:flex;flex-direction:column;justify-content:center;}
423
- }`};function RE(r,e){fe(e,!1),Pe(r,BE);let t=J(e,"productIdentifier",8),n=J(e,"productType",8),a=J(e,"basePrice",8),i=J(e,"freeTrialPeriod",8,void 0),s=J(e,"introPriceFormatted",8,void 0),l=J(e,"discountFormatted",8,void 0),c=J(e,"onValidPurchase",8),u=J(e,"onFailedPurchase",8),d=J(e,"onCancel",8);function p(A){A.target===A.currentTarget&&d()()}An();var g=NE(),_=D(g),f=D(_),v=Y(D(f),2),y=D(v),h=D(y),b=Y(D(h)),k=Y(h,2),w=Y(D(k)),E=Y(k,2),S=Y(D(E)),I=Y(E,2);{var F=A=>{var M=jE(),U=Y(D(M));X(()=>be(U,` ${i()??""}`)),P(A,M)};G(I,A=>{i()&&A(F)})}var x=Y(I,2);{var q=A=>{var M=LE(),U=Y(D(M));X(()=>be(U,` ${s()??""}`)),P(A,M)};G(x,A=>{s()&&A(q)})}var T=Y(x,2);{var N=A=>{var M=OE(),U=Y(D(M));X(()=>be(U,` ${l()??""}`)),P(A,M)};G(T,A=>{l()&&A(N)})}var L=Y(v,2),O=D(L),j=Y(O,2),C=Y(j,2);X(()=>{be(b,` ${t()??""}`),be(w,` ${n()??""}`),be(S,` ${a()??""}`)}),Or("click",O,function(...A){var M;(M=c())==null||M.apply(this,A)}),Or("click",j,function(...A){var M;(M=u())==null||M.apply(this,A)}),Or("click",C,function(...A){var M;(M=d())==null||M.apply(this,A)}),Or("click",g,p),P(r,g),me()}async function eg(r,e,t,n){const a=new Date,i=`test_${a.getTime()}_${Un()}`,s=`test_store_operation_session_${Un()}`,c={storeTransactionId:i,productIdentifier:r.identifier,purchaseDate:a},u=await e.postReceipt(t,r.identifier,r.price.currency,i,r.presentedOfferingContext,"purchase",n);return{customerInfo:sc(u),redemptionInfo:null,operationSessionId:s,storeTransaction:c}}function UE(r,e,t){const n=r.rcPackage.webBillingProduct,a=n.productType,i=n.freeTrialPhase,s=n.introPricePhase,l=n.discountPhase,c=n.price,u=d=>d?`${d.number} ${d.unit}${d.number>1?"s":""}`:"N/A";return new Promise((d,p)=>{var y,h;const g=fc(),_=g.createElement("div");g.body.appendChild(_);const f=()=>{v&&ko(v),g.body.removeChild(_)};let v=null;v=la(RE,{target:_,props:{productIdentifier:n.identifier,productType:a,basePrice:c.formattedPrice,freeTrialPeriod:i?u(i.period):void 0,introPriceFormatted:(y=s==null?void 0:s.price)==null?void 0:y.formattedPrice,discountFormatted:(h=l==null?void 0:l.price)==null?void 0:h.formattedPrice,onValidPurchase:async()=>{f(),ke.debugLog("[Test store] Performing test purchase. This purchase won't appear in production.");try{d(await eg(n,e,t,r.paywallId))}catch(b){p(b)}},onFailedPurchase:()=>{f(),ke.debugLog("[Test store] Purchase failure simulated successfully in Test Store."),p(new Qe(Fe.TestStoreSimulatedPurchaseError,Ra.getPublicMessage(Fe.TestStoreSimulatedPurchaseError),"Simulated error successfully."))},onCancel:()=>{f(),p(new Qe(Fe.UserCancelledError))}}})})}class VE{constructor(){ee(this,"virtualCurrenciesCache",new Map);ee(this,"CACHE_EXPIRY_MS",5*60*1e3)}invalidateAllCaches(){this.virtualCurrenciesCache.clear()}cacheVirtualCurrencies(e,t){this.virtualCurrenciesCache.set(e,{data:t,lastUpdatedAt:Date.now()})}getCachedVirtualCurrencies(e,t=!1){const n=this.virtualCurrenciesCache.get(e);return this.getCachedData(n??null,t)}invalidateVirtualCurrenciesCache(e){this.virtualCurrenciesCache.delete(e)}getCachedData(e,t=!1){return e?t?e.data:Date.now()-e.lastUpdatedAt>=this.CACHE_EXPIRY_MS?null:e.data:null}}function WE(r){return{balance:r.balance,name:r.name,code:r.code,serverDescription:r.description??null}}function HE(r){const e={};for(const[t,n]of Object.entries(r.virtual_currencies))e[t]=WE(n);return{all:e}}function YE(r,e){const t=r.webCheckoutURL;if(typeof t=="string"&&t.length>0)return t;if(typeof e=="string"&&e.length>0)return e}function GE(r,e){const t=r.webBillingProduct,n=YE(r,e),a=n!==void 0?{webCheckoutURL:n}:{},i=t.productType===Xr.Subscription,s=t.defaultSubscriptionOption;if(i&&s)return{hasTrial:s.trial!==null,hasIntroOffer:s.introPrice!==null,hasPromoOffer:s.discount!==null,...a};const l=t.defaultNonSubscriptionOption;return!i&&l?{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:l.discount!==null,...a}:{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:!1,...a}}function rg(r){const e=Object.entries(r.packagesById).map(([t,n])=>[t,GE(n,r.webCheckoutURL)]);return Object.fromEntries(e)}const KE=(r,e)=>{var n;if(r.productType===Xr.Subscription){const a=((n=r.subscriptionOptions)==null?void 0:n[e.id])||r.defaultSubscriptionOption;if(!a)throw new ve(he.ErrorSettingUpPurchase);return a}const t=r.defaultNonSubscriptionOption;if(!t)throw new ve(he.ErrorSettingUpPurchase);return t},XE=(r,e)=>{const t=Wo(r,e);return{currency:t.currency,taxCalculationStatus:"unavailable",totalAmountInMicros:t.amountMicros,totalExcludingTaxInMicros:t.amountMicros,taxAmountInMicros:null,taxBreakdown:null}},tg=(r,e,t,n,a,i)=>{const s=r.webBillingProduct,l=KE(s,e),c=XE(s,l),u=tc({priceBreakdown:c,productDetails:s,purchaseOption:l,translator:n}),p=s.productType===Xr.Subscription?tr.buildStripeExpressCheckoutOptionsForSubscription(s,c,l,n,t,u,2,1):tr.buildStripeExpressCheckoutOptionsForNonSubscription(s,c,u,2,1);return i&&(p.buttonTheme={applePay:i,googlePay:i==="white-outline"?"white":i}),a&&(p.business={name:a}),p},ng=(r,e,t,n,a,i,s,l)=>{if(!e.elements_configuration)throw new ve(he.ErrorSettingUpPurchase);return tr.updateElementsConfiguration(r,e.elements_configuration),{expOptions:tg(n,a,t,i,s==null?void 0:s.app_name,l)}},ZE=async(r,e,t,n,a,i,s)=>{var h,b;if(!r.elements_configuration)throw new ve(he.ErrorSettingUpPurchase);const l=r.stripe_account_id,c=r.publishable_api_key,u=tr.getStripeLocale(a.bcp47Locale||a.fallbackBcp47Locale),d={fontSizeBase:"14px",fontFamily:Uo,spacingGridRow:"16px"},p=((h=Yo())==null?void 0:h.matchMedia)&&((b=Yo())==null?void 0:b.matchMedia("(max-width: 767px)").matches);let g="mobile";if(p?g="mobile":g="desktop",!l||!c)throw new ve(he.ErrorSettingUpPurchase);const _=r.elements_configuration,{stripe:f,elements:v}=await tr.initializeStripe(l,c,_,i,u,d,g),y=tg(t,n,e,a,i==null?void 0:i.app_name,s);return{stripeInstance:f,elementsInstance:v,expOptions:y}};var JE=W("<div><!></div>");function QE(r,e){var F;fe(e,!0);const t="express_purchase_button";let n=Sr(e.translator);const a=Sr(((F=e.brandingInfo)==null?void 0:F.appearance)??null);kr(vr,n),kr(Rn,a);let i=te(!0),s=te(!1),l=te(null),c=te(null),u=te(null);const d=x=>{const q=qp({errorCode:x.getErrorCode().toString(),errorMessage:x.message,mode:t});e.eventsTracker.trackSDKEvent(q),e.onError(x)};let p=!1;const g=async()=>{if(p)return;p=!0;let x;try{x=await e.purchaseOperationHelper.prepareCheckout(e.rcPackage.webBillingProduct.identifier,e.purchaseOption)}catch(T){d(T);return}if(!x.stripe_gateway_params){const T=new ve(he.ErrorSettingUpPurchase,"We couldn’t download Stripe params for this purchase. Please try again.");d(T);return}const q="http://blank";try{if(!o(c)||!o(l)){const{stripeInstance:T,elementsInstance:N,expOptions:L}=await ZE(x.stripe_gateway_params,q,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);z(c,T,!0),z(l,N,!0),z(u,L,!0)}else{const{expOptions:T}=ng(o(l),x.stripe_gateway_params,q,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);z(u,T,!0)}}catch(T){d(T);return}z(i,!1)};gr(()=>{p=!1,g().then(()=>{})});const _=x=>{const q=Kl({errorCode:x.gatewayErrorCode??null,errorMessage:x.message??"",mode:t});e.eventsTracker.trackSDKEvent(q),d(new ve(he.ErrorSettingUpPurchase,"Failed to initialize payment form",x.message))},f=async(x,q)=>{var L;const{customerDetails:T,confirmationTokenId:N}=await tr.extractTaxCustomerDetails(x,q);if((L=e.brandingInfo)!=null&&L.gateway_tax_collection_enabled){const O=await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:T.countryCode,postalCode:T.postalCode}),j=Np({taxCalculation:O,taxCustomerDetails:T,mode:t});e.eventsTracker.trackSDKEvent(j)}return N};async function v(x){var L,O;if(!o(l)||!o(c))return!1;await tr.submitElements(o(l));const q=await e.purchaseOperationHelper.checkoutComplete(x,e.translator.selectedLocale),T=(L=q==null?void 0:q.gateway_params)==null?void 0:L.client_secret;if(!T)return!1;const N=(O=e.brandingInfo)!=null&&O.gateway_tax_collection_enabled?await f(o(l),o(c)):void 0;return await tr.confirmElements(o(c),o(l),T,N),!0}const y=async(x,q,T)=>{if(o(s))return;const N=Bp({selectedPaymentMethod:x??null,mode:t});e.eventsTracker.trackSDKEvent(N),z(s,!0);try{const L=await v(q);if(z(s,!1),!L)return;const O=await e.purchaseOperationHelper.pollCurrentPurchaseForCompletion();e.onFinished(O),z(s,!1)}catch(L){if(L instanceof ve)d(L);else if(L instanceof Vo){const O=Kl({errorCode:L.gatewayErrorCode??null,errorMessage:L.message??"",mode:t});e.eventsTracker.trackSDKEvent(O),d(new ve(he.ErrorSettingUpPurchase,"Failed to complete payment",L.message))}T.paymentFailed(),z(s,!1)}},h=async()=>{var q;const x=Hi({appearance:(q=e.brandingInfo)==null?void 0:q.appearance,rcPackage:e.rcPackage,purchaseOptionToUse:e.purchaseOption,customerEmail:e.customerEmail,mode:"express_purchase_button"});e.eventsTracker.trackSDKEvent(x);try{const T=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:e.rcPackage.webBillingProduct.identifier,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.translator.selectedLocale}),N=T.management_url;if(!o(l))throw new ve(he.ErrorSettingUpPurchase);const{expOptions:L}=ng(o(l),T.gateway_params,N,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);return{applePay:L.applePay,lineItems:L.lineItems}}catch(T){throw d(T instanceof ve?T:new ve(he.ErrorSettingUpPurchase)),T}},b=x=>{var q,T;(T=(q=e.listener)==null?void 0:q.onPurchaseStarted)==null||T.call(q,e.rcPackage),h().then(N=>x.resolve(N))},k=()=>{var x,q;e.eventsTracker.trackSDKEvent(Lp({mode:"express_purchase_button"})),(q=(x=e.listener)==null?void 0:x.onPurchaseCancelled)==null||q.call(x)};function w(x){var T,N;const q=((T=x.availablePaymentMethods)==null?void 0:T.applePay)||((N=x.availablePaymentMethods)==null?void 0:N.googlePay);e.onReady&&e.onReady(!!q)}var E=JE(),S=D(E);{var I=x=>{t_(x,{get elements(){return o(l)},onError:_,onSubmit:y,onClick:b,onCancel:k,onReady:w,get expressCheckoutOptions(){return o(u)},forceEnableWalletMethods:!1,hideCheckoutSeparator:!0})};G(S,x=>{!o(i)&&o(l)&&o(u)&&e.brandingInfo&&x(I)})}P(r,E),me()}class $E{constructor(e,t,n){Ge(this,ao);ee(this,"button");Ve(this,ao,te(ar({props:n})));const i={updatePurchase:(s,l)=>{this.changePackage(s,l)}};this.state.props.onReady=s=>{t(i,s)},this.button=la(QE,{target:e,props:this.state.props})}get state(){return o(Q(this,ao))}set state(e){z(Q(this,ao),e,!0)}changePackage(e,t){this.state.props&&(this.state.props.rcPackage=e,this.state.props.purchaseOption=t??e.webBillingProduct.defaultPurchaseOption)}}ao=new WeakMap;const eS=new Set(["javascript:","data:","vbscript:"]);function rS(r){return eS.has(r.toLowerCase())}function tS(r,e){const t=r.trim();if(t.length===0)return!1;let n;try{n=new URL(t)}catch{return!1}return rS(n.protocol)?!1:e==="deep_link"?!0:n.protocol==="http:"||n.protocol==="https:"}const ag='link[rel~="apple-touch-icon"]',og="data-rc-apple-touch-icon",ig="true",sg=`link[${og}="${ig}"]`,nS=r=>!!r.head.querySelector(ag),aS=({doc:r,win:e,ignoredLink:t})=>{const n=r.head.querySelector(ag);if(n&&n!==t)return!0;if(!e)return!1;let a=e;for(;a.parent!==a;){const i=a.parent;try{if(nS(i.document))return!0}catch{return!1}a=i}return!1},oS=r=>{var e;(e=r.head.querySelector(sg))==null||e.remove()},iS=({doc:r,win:e,href:t})=>{const n=r.head.querySelector(sg);if(!t){n==null||n.remove();return}if(aS({doc:r,win:e,ignoredLink:n})){n==null||n.remove();return}const a=n??r.createElement("link");a.rel="apple-touch-icon",a.href=t,a.setAttribute(og,ig),n||r.head.appendChild(a)};var lg=(r=>(r.DisplayName="$displayName",r.Email="$email",r.PhoneNumber="$phoneNumber",r.IDFA="$idfa",r.IDFV="$idfv",r.GPSAdId="$gpsAdId",r.AndroidId="$androidId",r.AmazonAdId="$amazonAdId",r.IP="$ip",r.AdjustId="$adjustId",r.AmplitudeDeviceId="$amplitudeDeviceId",r.AmplitudeUserId="$amplitudeUserId",r.AppsflyerId="$appsflyerId",r.AppsflyerSharingFilter="$appsflyerSharingFilter",r.BranchId="$branchId",r.BrazeAliasName="$brazeAliasName",r.BrazeAliasLabel="$brazeAliasLabel",r.ClevertapId="$clevertapId",r.FbAnonId="$fbAnonId",r.MparticleId="$mparticleId",r.OnesignalId="$onesignalId",r.OnesignalUserId="$onesignalUserId",r.IntercomContactId="$intercomContactId",r.MediaSource="$mediaSource",r.Campaign="$campaign",r.AdGroup="$adGroup",r.AdId="$ad",r.Keyword="$keyword",r.Creative="$creative",r.APNSTokens="$apnsTokens",r.FCMTokens="$fcmTokens",r.AirshipChannelId="$airshipChannelId",r.SegmentId="$segmentId",r.IterableUserId="$iterableUserId",r.IterableCampaignId="$iterableCampaignId",r.IterableTemplateId="$iterableTemplateId",r.FirebaseAppInstanceId="$firebaseAppInstanceId",r.MixpanelDistinctId="$mixpanelDistinctId",r.ATTConsentStatus="$attConsentStatus",r.KochavaDeviceId="$kochavaDeviceId",r.DeviceVersion="$deviceVersion",r.PosthogUserId="$posthogUserId",r.TelemetryDeckUserId="$telemetryDeckUserId",r.TelemetryDeckAppId="$telemetryDeckAppId",r.AppleRefundHandlingPreference="$appleRefundHandlingPreference",r.CustomerioId="$customerioId",r.TenjinId="$tenjinId",r))(lg||{});const cg="$RCAnonymousID:";pg=[R_],dg=[R_];const Mr=class Mr{constructor(e,t,n=uc,a=hc,i,s){xg(fs,5,this);ee(this,"_API_KEY");ee(this,"_appUserId");ee(this,"_brandingInfo",null);ee(this,"_loadingResourcesPromise",null);ee(this,"_flags");ee(this,"_context");ee(this,"backend");ee(this,"purchaseOperationHelper");ee(this,"eventsTracker");ee(this,"inMemoryCache");var l;this._API_KEY=e,this._appUserId=t,this._flags={...hc,...a},this._context=i,is(e)?ke.debugLog("Initializing Purchases SDK with Web billing sandbox API Key"):ga(e)&&ke.debugLog("Initializing Purchases SDK with RC Test store API Key."),this.eventsTracker=new qE({apiKey:this._API_KEY,appUserId:this._appUserId,silent:!this._flags.collectAnalyticsEvents,rcSource:this._flags.rcSource??null,workflowContext:(l=this._context)==null?void 0:l.workflowContext,trace_id:s,httpConfig:n}),this.backend=new Kx(this._API_KEY,n,this._context),this.inMemoryCache=new VE,this.purchaseOperationHelper=new xi(this.backend,this.eventsTracker),this.eventsTracker.trackSDKEvent({eventName:Zr.SDKInitialized})}static setLogLevel(e){ke.setLogLevel(e)}static setLogHandler(e){ke.setLogHandler(e)}static setPlatformInfo(e){Mr._platformInfo=e}static buildVariablesPerPackage(e,t={}){return W_(e,t)}static buildInfoPerPackage(e){return rg(e)}static getPlatformInfo(){return Mr._platformInfo}static getSharedInstance(){if(Mr.isConfigured())return Mr.instance;throw new Zu}static isConfigured(){return Mr.instance!==void 0}static configure(e,t,n,a){Mr.instance!==void 0&&ke.warnLog("Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance.");let i;if(typeof e=="object"&&e!==null)i=e;else{if(typeof e!="string")throw new Qe(Fe.ConfigurationError,"API key must be provided as a string");if(typeof t!="string")throw new Qe(Fe.ConfigurationError,"App user ID must be provided as a string");i={apiKey:e,appUserId:t,httpConfig:n,flags:a}}return Mr.configureInternal(i),Mr.getSharedInstance()}static configureInternal(e){const{apiKey:t,appUserId:n,httpConfig:a,flags:i,context:s,trace_id:l}=e,c=a??uc,u=i??hc;Mr.validateConfig(e),Mr.instance=new Mr(t,n,c,u,s,l)}static validateConfig(e){var t,n;Xx(e.apiKey),dc(e.appUserId),Zx((t=e.httpConfig)==null?void 0:t.proxyURL),Jx((n=e.httpConfig)==null?void 0:n.additionalHeaders)}async preload(){if(this.hasLoadedResources()){ke.verboseLog("Purchases resources are loaded. Skipping.");return}if(this._loadingResourcesPromise!==null){ke.verboseLog("Purchases resources are loading. Waiting."),await this._loadingResourcesPromise;return}return this._loadingResourcesPromise=this.fetchAndCacheBrandingInfo().catch(e=>{let t=`${e}`;e instanceof Qe&&(t=`${e.message}. ${e.underlyingErrorMessage?`Underlying error: ${e.underlyingErrorMessage}`:""}`),ke.errorLog(`Error fetching branding info: ${t}`)}).finally(()=>{this._loadingResourcesPromise=null}),this._loadingResourcesPromise}async fetchAndCacheBrandingInfo(){if(ga(this._API_KEY)){ke.warnLog("Branding info is not available for RC Test Store API keys.");return}this._brandingInfo=await this.backend.getBrandingInfo(),this.syncApplePayWebsiteIcon()}syncApplePayWebsiteIcon(){var a,i;if(!this._flags.applePayBrandingLogoEnabled)return;const e=mc(),t=Yo();if(!e)return;const n=(i=(a=this._brandingInfo)==null?void 0:a.app_icon)==null?void 0:i.trim();iS({doc:e,win:t,href:n?Xa(n):null})}hasLoadedResources(){return this._brandingInfo!==null}async presentPaywall(e){var V,R,$,le,_e,ae,Z;const t=e.htmlTarget;let n=!1;const a=fc();let i=t??a.getElementById("rcb-ui-pw-root");if(i===null){n=!0;const B=a.createElement("div");B.id="rcb-ui-pw-root",B.className="rcb-ui-pw-root",B.style.zIndex=`${eE}`,B.style.position="fixed",B.style.top="0",B.style.left="0",B.style.width="100%",B.style.height="100%",B.style.overflow="auto",B.style.backgroundColor="var(--rc-purchases-ui-bg-color, Canvas)",a.body.offsetWidth>968&&(B.style.display="flex",B.style.justifyContent="center",B.style.alignItems="center"),B.style.transition="opacity 0.3s",B.style.opacity="0",a.body.appendChild(B),i=B}if(i===null)throw new Error("Could not generate a mount point for the paywall widget");const s=i,l=e.offering?e.offering:(await this.getOfferings()).current;if(!l)throw new Error("No offering found.");const c=this._flags.workflowsEndpointEnabled?await this.backend.getWorkflows(this._appUserId).catch(B=>(ke.warnLog(`Failed to fetch workflows: ${B}`),null)):null,u=(V=c==null?void 0:c.workflows)==null?void 0:V.find(B=>B.offering_id===l.identifier);if(!u&&!l.paywallComponents)throw new Error("This offering doesn't have a paywall attached.");if(!u&&!l.uiConfig)throw new Error("No ui_config found for this offering, please contact support!");const d=(B,K)=>{const oe={},H=Ee=>Ee.toLowerCase().split("_")[0];Object.keys(B.components_localizations).forEach(Ee=>{oe[H(Ee)]===void 0&&(oe[H(Ee)]=[]),oe[H(Ee)].push(Ee)});const pe=oe[H(K)];if(!pe)return B.default_locale;const ue=pe.find(Ee=>Ee.toLowerCase()===K);return ue||pe[0]},p=e.selectedLocale?e.selectedLocale:navigator.language,g=l.paywallComponents?d(l.paywallComponents,p):p,_=new Fn({},g,((R=l.paywallComponents)==null?void 0:R.default_locale)??Yr),f=Un(),v={appUserId:this._appUserId,sessionId:f,offeringId:l.identifier,paywallRevision:0,paywallRcPublicId:(($=l.paywallComponents)==null?void 0:$.id)??null,presentedOfferingContext:(_e=(le=l.availablePackages[0])==null?void 0:le.webBillingProduct)==null?void 0:_e.presentedOfferingContext},y={displayMode:"full_screen",darkMode:((Z=(ae=Hn())==null?void 0:ae.matchMedia)==null?void 0:Z.call(ae,"(prefers-color-scheme: dark)").matches)??!1,locale:g},h=new Map(l.availablePackages.map(B=>[B.identifier,B.webBillingProduct.identifier])),b=B=>{if(B!==void 0)return h.get(B)},k=B=>{const K=B;return{type:"paywall_component_interacted",...v,...y,componentType:B.componentType,componentName:B.componentName,componentValue:B.componentValue,componentURL:K.componentURL,originIndex:K.originIndex,destinationIndex:K.destinationIndex,originContextName:K.originContextName,destinationContextName:K.destinationContextName,defaultIndex:K.defaultIndex,originPackageId:K.originPackageId,destinationPackageId:K.destinationPackageId,defaultPackageId:K.defaultPackageId,originProductId:K.originProductId??b(K.originPackageId),destinationProductId:K.destinationProductId??b(K.destinationPackageId),defaultProductId:K.defaultProductId??b(K.defaultPackageId),currentPackageId:K.currentPackageId,resultingPackageId:K.resultingPackageId,currentProductId:K.currentProductId??b(K.currentPackageId),resultingProductId:K.resultingProductId??b(K.resultingPackageId)}},w=B=>{this.eventsTracker.trackPaywallEvent({type:B,...v,...B==="paywall_impression"?{...y}:{}})},E=async(B,K=g)=>{var pe,ue;const oe=l.availablePackages.find(Ee=>Ee.identifier===B);if(oe===void 0)throw new Error(`No package found for ${B}`);return{...await this.purchase({rcPackage:oe,htmlTarget:e.purchaseHtmlTarget,customerEmail:e.customerEmail,showDiscountCodeField:e.showDiscountCodeField,discountCode:e.discountCode,onDiscountCodeChanged:e.onDiscountCodeChanged,selectedLocale:K,defaultLocale:((pe=l.paywallComponents)==null?void 0:pe.default_locale)??Yr,paywallId:(ue=l.paywallComponents)==null?void 0:ue.id,paywallSessionId:f}),selectedPackage:oe}};let S=null,I=null;const F=B=>{const K=B.target;if(!(K instanceof Element))return;const oe=K.closest("a[href]");if(!(oe instanceof HTMLAnchorElement)||!s.contains(oe))return;const H=oe.getAttribute("href")??oe.href;H&&(I={url:H,defaultPrevented:B.defaultPrevented})},x=B=>{var H;const K=(S==null?void 0:S.componentURL)===B?S:null;if(S=null,e.onNavigateToUrl){e.onNavigateToUrl(B);return}if((K==null?void 0:K.componentType)==="text"){queueMicrotask(()=>{var Ee;const pe=(I==null?void 0:I.url)===B?I:null;if(I=null,(pe==null?void 0:pe.defaultPrevented)!==!0)return;(Ee=Hn().open(B,"_blank"))==null||Ee.focus()});return}(H=Hn().open(B,"_blank"))==null||H.focus()},q=async B=>{var oe;if(e.onCompleteWorkflowNavigate){await e.onCompleteWorkflowNavigate(B);return}if(!tS(B.url,B.method)){ke.warnLog("Blocked complete-workflow navigation to a disallowed URL.");return}const K=Hn();B.method==="external_browser"?(oe=K.open(B.url,"_blank","noopener,noreferrer"))==null||oe.focus():K.location.assign(B.url)},T=()=>{},N=()=>{if(e.onVisitCustomerCenter){e.onVisitCustomerCenter();return}},L=W_(l,{translator:_}),O=rg(l),j=e.listener,C=B=>{if(j!=null&&j.onPurchaseStarted)try{j.onPurchaseStarted(B)}catch(K){ke.errorLog(`Error in listener.onPurchaseStarted: ${K}`)}},A=B=>{if(B instanceof Qe&&B.errorCode===Fe.UserCancelledError){if(j!=null&&j.onPurchaseCancelled)try{j.onPurchaseCancelled()}catch(K){ke.errorLog(`Error in listener.onPurchaseCancelled: ${K}`)}}else{if(j!=null&&j.onPurchaseError)try{j.onPurchaseError(B)}catch(K){ke.errorLog(`Error in listener.onPurchaseError: ${K}`)}e.onPurchaseError&&e.onPurchaseError(B)}};let M,U;if(u){const B=await this.backend.getWorkflowById(this._appUserId,u.id).catch(oe=>(ke.warnLog(`Failed to fetch workflow data, falling back to standard paywall: ${oe}`),null)),K=B?xb(B):null;if(B&&K)U=B,M=K;else{if(B&&!K&&ke.warnLog("Failed to resolve workflow navigation data, falling back to standard paywall."),!l.paywallComponents)throw new Error("This offering doesn't have a paywall attached and the workflow could not be loaded.");if(!l.uiConfig)throw new Error("No ui_config found for this offering, please contact support!")}}return new Promise((B,K)=>{let oe=null,H=!1,pe=!1;s.addEventListener("click",F);const ue=()=>{pe||(pe=!0,H&&w("paywall_close"))},Ee=ye=>{!H||pe||this.eventsTracker.trackPaywallEvent(k(ye))},qe=ye=>{const ne=ye;S=ne.componentURL===void 0?null:{componentType:ye.componentType,componentURL:ne.componentURL},Ee(ye)},Me=new MutationObserver(()=>{s.childElementCount===0&&(ue(),Me.disconnect())}),Te=()=>{Me.disconnect(),s.removeEventListener("click",F),ue(),oe&&(ko(oe),oe=null),s.innerHTML="",n&&s.parentNode&&s.parentNode.removeChild(s)},Ie=()=>{ke.debugLog("Purchase cancelled by user"),Te(),K(new Qe(Fe.UserCancelledError)),this.eventsTracker.flushAllEvents().catch(ye=>{ke.debugLog(`Failed to flush paywall events on close: ${ye}`)})},Be=ye=>{Te(),B(ye),this.eventsTracker.flushAllEvents().catch(ne=>{ke.debugLog(`Failed to flush paywall events after purchase: ${ne}`)})},Ye=ye=>ne=>{ne instanceof Qe&&ne.errorCode===Fe.UserCancelledError&&w("paywall_cancel"),ke.errorLog(`${ye}: ${ne}`),A(ne)},ie=this.getWalletButtonRender(l,Be,e.customerEmail,Ye("Error presenting express purchase button"),j);if(s.innerHTML="",M&&U)try{const ye=ne=>{if(ne.reason==="completed")this.eventsTracker.trackSDKEvent({eventName:Zr.WorkflowStepCompleted,properties:{workflow_id:ne.workflowId,step_id:ne.stepId,...ne.toStepId!==void 0?{to_step_id:ne.toStepId}:{},is_first_step:ne.isFirstStep,is_last_step:ne.isLastStep}});else{const Ce=ne.reason;this.eventsTracker.trackSDKEvent({eventName:Zr.WorkflowStepStarted,properties:{workflow_id:ne.workflowId,step_id:ne.stepId,...ne.fromStepId!==void 0?{from_step_id:ne.fromStepId}:{},entry_reason:Ce,is_first_step:ne.isFirstStep,is_last_step:ne.isLastStep}}),ne.isLastStep&&!H&&(w("paywall_impression"),H=!0)}};oe=la(fb,{target:s,props:{workflow:M,uiConfig:U.ui_config,selectedLocale:p,variablesPerPackage:L,walletButtonRender:ie,onPurchaseClicked:ne=>{const Ce=l.packagesById[ne];Ce&&C(Ce),E(ne,p).then(Be).catch(Ye("Error performing purchase"))},onClose:Ie,onExitBack:()=>{if(e.onBack){e.onBack(Ie);return}Ie()},onCompleteWorkflowNavigate:q,onNavigateToUrlClicked:x,onRestorePurchasesClicked:T,onVisitCustomerCenterClicked:N,onComponentInteraction:qe,onStepChanged:ye,globalVariables:e.customVariables?fp(e.customVariables,U.ui_config):void 0,maxContentWidth:U.content_max_width?String(U.content_max_width):void 0}})}catch(ye){Te(),K(ye);return}else oe=la(xp,{target:s,props:{paywallData:l.paywallComponents,selectedLocale:g,onNavigateToUrlClicked:x,appUserId:this._appUserId,onCompleteWorkflowNavigate:q,onVisitCustomerCenterClicked:N,uiConfig:l.uiConfig,onBackClicked:()=>{if(e.onBack){e.onBack(Ie);return}Ie()},onRestorePurchasesClicked:T,onPurchaseClicked:ye=>{const ne=l.packagesById[ye];ne&&C(ne),E(ye).then(Be).catch(Ye("Error performing purchase"))},onError:ye=>{Te(),K(ye)},variablesPerPackage:L,infoPerPackage:O,hideBackButtons:e.hideBackButtons,walletButtonRender:ie,customVariables:e.customVariables,onComponentInteraction:qe}});Me.observe(s,{childList:!0}),M||(w("paywall_impression"),H=!0),s.style.opacity==="0"&&(s.style.opacity="1")})}async getOfferings(e){u0(e==null?void 0:e.currency);const t=this._appUserId,n=await this.backend.getOfferings(t),a=(e==null?void 0:e.offeringIdentifier)===pc.Current?n.current_offering_id:e==null?void 0:e.offeringIdentifier;return a&&(n.offerings=n.offerings.filter(i=>i.identifier===a)),await this.getAllOfferings(n,t,e)}async getCurrentOfferingForPlacement(e,t){const n=this._appUserId,a=await this.backend.getOfferings(n),i=await this.getAllOfferings(a,n,t),s=a.placements??null;return s==null?null:Qx(s,i.all,e)}async getAllOfferings(e,t,n){const a=e.offerings.flatMap(s=>s.packages).map(s=>s.platform_product_identifier),i=await this.backend.getProducts(t,a,n==null?void 0:n.currency,n==null?void 0:n.discountCode);return this.logMissingProductIds(a,i.product_details),$x(e,i)}async isEntitledTo(e){const t=await this.getCustomerInfo();return e in t.entitlements.active}purchasePackage(e,t,n){return this.purchase({rcPackage:e,customerEmail:t,htmlTarget:n})}async presentExpressPurchaseButton(e){const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,selectedLocale:s=Yr,defaultLocale:l=Yr,onButtonReady:c=()=>{},walletButtonTheme:u}=e,d=this._appUserId;if(!lc(this._API_KEY))throw new Error("The Express Purchase button is only available with Web Billing API Keys.");const p=n??t.webBillingProduct.defaultPurchaseOption,_={...this._flags.autoCollectUTMAsMetadata?ls():{},...e.metadata||{}},f=new Fn({},s,l);return new Promise((v,y)=>{const h=async k=>{const w=jp({redemptionInfo:k.redemptionInfo,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(w),ke.debugLog("Purchase finished");const E={customerInfo:await this._getCustomerInfoForUserId(d),redemptionInfo:k.redemptionInfo,operationSessionId:k.operationSessionId,attributionMetadata:k.attributionMetadata,storeTransaction:{storeTransactionId:k.storeTransactionIdentifier,productIdentifier:k.productIdentifier,purchaseDate:k.purchaseDate}};v(E)},b=k=>{var E;const w=Op({errorCode:(E=k.errorCode)==null?void 0:E.toString(),errorMessage:k.message,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(w),y(k)};new $E(a,c,{appUserId:d,rcPackage:t,purchaseOption:p,customerEmail:i,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,metadata:_,customTranslations:e.labelsOverride,translator:f,onFinished:h,onError:b,listener:e.listener,walletButtonTheme:u})})}getWalletButtonRender(e,t,n,a,i){if(lc(this._API_KEY))return(s,{selectedPackageId:l,onReady:c,walletButtonTheme:u})=>{const d=e.packagesById[l];if(!d)return{};let p=d,g=null;return this.presentExpressPurchaseButton({rcPackage:d,customerEmail:n,htmlTarget:s,onButtonReady:(_,f)=>{g=_,c==null||c(f)},listener:i,walletButtonTheme:u}).then(_=>{t({..._,selectedPackage:p})}).catch(a),{destroy(){s.innerHTML=""},update({selectedPackageId:_}){if(g){const f=e.packagesById[_];if(!f)return;const v=f.webBillingProduct.defaultPurchaseOption;p=f,g.updatePurchase(f,v)}}}}}async purchase(e){if(ga(this._API_KEY)){const a=await UE(e,this.backend,this._appUserId);return this.inMemoryCache.invalidateAllCaches(),a}return T_(this._API_KEY)?await this.performPaddlePurchase(e):D_(this._API_KEY)?await this.performStripePurchase(e):await this.performWebBillingPurchase(e)}async performStripePurchase(e){var I;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:c,paywallSessionId:u,selectedLocale:d=Yr,defaultLocale:p=Yr,skipSuccessPage:g=!1}=e,_=this.resolveHTMLTarget(a),f=this._appUserId;ke.debugLog(`Presenting Stripe checkout for package ${t.identifier}`);const v=d||p,y=n??t.webBillingProduct.defaultPurchaseOption,h=Hi({appearance:(I=this._brandingInfo)==null?void 0:I.appearance,rcPackage:t,purchaseOptionToUse:y,customerEmail:i});this.eventsTracker.trackSDKEvent(h);const k={...this._flags.autoCollectUTMAsMetadata?ls():{},...e.metadata||{}};let w=null;const E=this._brandingInfo;E&&e.brandingAppearanceOverride&&(E.appearance=e.brandingAppearanceOverride);const S=a!==void 0;return new Promise((F,x)=>{const q=Hn();S||q.history.pushState({checkoutOpen:!0},"");const T=()=>{w&&ko(w),_.innerHTML=""},N=this.createCheckoutOnCloseHandler(x,T);!S&&N&&q.addEventListener("popstate",N);const L=this.createCheckoutOnFinishedHandler(F,f,t,T),O=this.createCheckoutOnErrorHandler(x,T);w=la(gx,{target:_,props:{isInElement:S,appUserId:f,rcPackage:t,purchaseOption:y,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:c,paywallSessionId:u,onFinished:L,onClose:N,onError:O,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:v,metadata:k,defaultLocale:p,customTranslations:e.labelsOverride,skipSuccessPage:g}})})}async performWebBillingPurchase(e){var F;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,selectedLocale:c=Yr,defaultLocale:u=Yr,skipSuccessPage:d=!1,showDiscountCodeField:p=!1,discountCode:g,onDiscountCodeChanged:_}=e,f=this.resolveHTMLTarget(a),v=this._appUserId;ke.debugLog(`Presenting purchase form for package ${t.identifier}`);const y=c||u,h=n??t.webBillingProduct.defaultPurchaseOption,b=Hi({appearance:(F=this._brandingInfo)==null?void 0:F.appearance,rcPackage:t,purchaseOptionToUse:h,customerEmail:i});this.eventsTracker.trackSDKEvent(b);const w={...this._flags.autoCollectUTMAsMetadata?ls():{},...e.metadata||{}};let E=null;const S=this._brandingInfo;S&&e.brandingAppearanceOverride&&(S.appearance=e.brandingAppearanceOverride);const I=a!==void 0;return new Promise((x,q)=>{const T=Hn();I||T.history.pushState({checkoutOpen:!0},"");const N=()=>{E&&ko(E),f.innerHTML=""},L=this.createCheckoutOnCloseHandler(q,N);!I&&L&&T.addEventListener("popstate",L);const O=this.createCheckoutOnFinishedHandler(x,v,t,N),j=this.createCheckoutOnErrorHandler(q,N);E=la(p0,{target:f,props:{isInElement:I,appUserId:v,rcPackage:t,purchaseOption:h,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,onFinished:O,onClose:L,onError:j,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:y,metadata:w,defaultLocale:u,customTranslations:e.labelsOverride,termsAndConditionsUrl:e.termsAndConditionsUrl,showDiscountCodeField:p,discountCode:g,onDiscountCodeChanged:_,skipSuccessPage:d,hideBackButton:this.shouldHideCheckoutBackButton()}})})}async performPaddlePurchase(e){var w;const{rcPackage:t,purchaseOption:n,customerEmail:a,attributionMetadata:i,selectedLocale:s=Yr,defaultLocale:l=Yr,skipSuccessPage:c=!1,htmlTarget:u}=e,d=this.resolveHTMLTarget(u),p=this._appUserId;ke.debugLog(`Presenting Paddle checkout for package ${t.identifier}`);const g=n??t.webBillingProduct.defaultPurchaseOption,f={source:"paddle",...this._flags.autoCollectUTMAsMetadata?ls():{},...e.metadata||{}},v=this._brandingInfo;v&&e.brandingAppearanceOverride&&(v.appearance=e.brandingAppearanceOverride);const y=Hi({appearance:(w=this._brandingInfo)==null?void 0:w.appearance,rcPackage:t,purchaseOptionToUse:g,customerEmail:a});this.eventsTracker.trackSDKEvent(y);const h=new j0(this.backend,this.eventsTracker);let b=null;const k=u!==void 0;return new Promise((E,S)=>{const I=Hn();k||I.history.pushState({checkoutOpen:!0},"");const F=()=>{b&&ko(b),d.innerHTML=""},x=this.createCheckoutOnCloseHandler(S,F)??(()=>{F()});k||I.addEventListener("popstate",x);const q=this.createCheckoutOnFinishedHandler(E,p,t,F),T=this.createCheckoutOnErrorHandler(S);b||(b=la(ax,{target:d,props:{eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,selectedLocale:s||l,defaultLocale:l,customTranslations:e.labelsOverride,isInElement:k,onClose:x,onFinished:q,onError:T,skipSuccessPage:c,productDetails:t.webBillingProduct,rcPackage:t,appUserId:p,purchaseOption:g,customerEmail:a,attributionMetadata:i,metadata:f,unmountPaddlePurchaseUi:F,paddleService:h,hideBackButton:this.shouldHideCheckoutBackButton()}}))})}resolveHTMLTarget(e){const t=fc();let n=e??t.getElementById("rcb-ui-root");if(n===null){const a=t.createElement("div");a.className="rcb-ui-root",t.body.appendChild(a),n=a}if(n===null)throw new Error("Could not generate a mount point for the billing widget");return n}createCheckoutOnCloseHandler(e,t){if(this._flags.rcSource&&$_.includes(this._flags.rcSource))return;const a=()=>{const i=Lp();this.eventsTracker.trackSDKEvent(i),Hn().removeEventListener("popstate",a),t==null||t(),ke.debugLog("Purchase cancelled by user"),e(new Qe(Fe.UserCancelledError))};return a}shouldHideCheckoutBackButton(){return this._flags.hideBackButton===!0||!!this._flags.rcSource&&$_.includes(this._flags.rcSource)}createCheckoutOnFinishedHandler(e,t,n,a){return async s=>{const l=jp({redemptionInfo:s.redemptionInfo});this.eventsTracker.trackSDKEvent(l),this.inMemoryCache.invalidateAllCaches(),ke.debugLog("Purchase finished"),a==null||a();const c={customerInfo:await this._getCustomerInfoForUserId(t),redemptionInfo:s.redemptionInfo,operationSessionId:s.operationSessionId,attributionMetadata:s.attributionMetadata,storeTransaction:{storeTransactionId:s.storeTransactionIdentifier,productIdentifier:n.webBillingProduct.identifier,purchaseDate:s.purchaseDate}};e(c)}}createCheckoutOnErrorHandler(e,t){return a=>{var s;const i=Op({errorCode:(s=a.errorCode)==null?void 0:s.toString(),errorMessage:a.message});this.eventsTracker.trackSDKEvent(i),t==null||t(),e(Qe.getForPurchasesFlowError(a))}}_isConfiguredWithSimulatedStore(){return ga(this._API_KEY)}_shouldForceEnableWalletMethods(){return!!this._flags.forceEnableWalletMethods}async _postSimulatedStoreReceipt(e){if(!ga(this._API_KEY))throw new Qe(Fe.ConfigurationError,"Posting a test store receipt is only available for RC Test Store API keys.");return await eg(e,this.backend,this._appUserId,void 0)}async getCustomerInfo(){return await this._getCustomerInfoForUserId(this._appUserId)}getAppUserId(){return this._appUserId}async setAttributes(e){return await this.getCustomerInfo(),await this.backend.setAttributes(this._appUserId,e)}async changeUser(e){return await this.replaceUserId(e),await this.getCustomerInfo()}async identifyUser(e){if(dc(e),e===this._appUserId)return ke.debugLog(`aliasUser called with the current appUserID: ${e}. Ignoring.`),{customerInfo:await this.getCustomerInfo(),wasCreated:!1};const t=await this.backend.identify(this._appUserId,e);return await this.replaceUserId(e),{customerInfo:sc(t),wasCreated:t.was_created}}async replaceUserId(e){dc(e),this._appUserId=e,await this.eventsTracker.updateUser(e),this.inMemoryCache.invalidateAllCaches()}logMissingProductIds(e,t){const n={};t.forEach(i=>n[i.identifier]=i);const a=[];e.forEach(i=>{n[i]===void 0&&a.push(i)}),a.length>0&&ke.debugLog(`Could not find product data for product ids:
430
+ }`};function dS(r,e){me(e,!1),Pe(r,uS);let t=J(e,"productIdentifier",8),n=J(e,"productType",8),a=J(e,"basePrice",8),i=J(e,"freeTrialPeriod",8,void 0),s=J(e,"introPriceFormatted",8,void 0),l=J(e,"discountFormatted",8,void 0),c=J(e,"onValidPurchase",8),u=J(e,"onFailedPurchase",8),d=J(e,"onCancel",8);function p(D){D.target===D.currentTarget&&d()()}zn();var g=cS(),_=A(g),f=A(_),v=Y(A(f),2),w=A(v),h=A(w),y=Y(A(h)),k=Y(h,2),b=Y(A(k)),E=Y(k,2),S=Y(A(E)),I=Y(E,2);{var q=D=>{var M=iS(),U=Y(A(M));X(()=>ke(U,` ${i()??""}`)),P(D,M)};G(I,D=>{i()&&D(q)})}var x=Y(I,2);{var F=D=>{var M=sS(),U=Y(A(M));X(()=>ke(U,` ${s()??""}`)),P(D,M)};G(x,D=>{s()&&D(F)})}var T=Y(x,2);{var j=D=>{var M=lS(),U=Y(A(M));X(()=>ke(U,` ${l()??""}`)),P(D,M)};G(T,D=>{l()&&D(j)})}var O=Y(v,2),N=A(O),L=Y(N,2),C=Y(L,2);X(()=>{ke(y,` ${t()??""}`),ke(b,` ${n()??""}`),ke(S,` ${a()??""}`)}),jr("click",N,function(...D){var M;(M=c())==null||M.apply(this,D)}),jr("click",L,function(...D){var M;(M=u())==null||M.apply(this,D)}),jr("click",C,function(...D){var M;(M=d())==null||M.apply(this,D)}),jr("click",g,p),P(r,g),he()}async function tg(r,e,t,n){const a=new Date,i=`test_${a.getTime()}_${Vn()}`,s=`test_store_operation_session_${Vn()}`,c={storeTransactionId:i,productIdentifier:r.identifier,purchaseDate:a},u=await e.postReceipt(t,r.identifier,r.price.currency,i,r.presentedOfferingContext,"purchase",n);return{customerInfo:cc(u),redemptionInfo:null,operationSessionId:s,storeTransaction:c}}function pS(r,e,t){const n=r.rcPackage.webBillingProduct,a=n.productType,i=n.freeTrialPhase,s=n.introPricePhase,l=n.discountPhase,c=n.price,u=d=>d?`${d.number} ${d.unit}${d.number>1?"s":""}`:"N/A";return new Promise((d,p)=>{var w,h;const g=hc(),_=g.createElement("div");g.body.appendChild(_);const f=()=>{v&&wo(v),g.body.removeChild(_)};let v=null;v=ua(dS,{target:_,props:{productIdentifier:n.identifier,productType:a,basePrice:c.formattedPrice,freeTrialPeriod:i?u(i.period):void 0,introPriceFormatted:(w=s==null?void 0:s.price)==null?void 0:w.formattedPrice,discountFormatted:(h=l==null?void 0:l.price)==null?void 0:h.formattedPrice,onValidPurchase:async()=>{f(),we.debugLog("[Test store] Performing test purchase. This purchase won't appear in production.");try{d(await tg(n,e,t,r.paywallId))}catch(y){p(y)}},onFailedPurchase:()=>{f(),we.debugLog("[Test store] Purchase failure simulated successfully in Test Store."),p(new er(Fe.TestStoreSimulatedPurchaseError,Ua.getPublicMessage(Fe.TestStoreSimulatedPurchaseError),"Simulated error successfully."))},onCancel:()=>{f(),p(new er(Fe.UserCancelledError))}}})})}class _S{constructor(){ee(this,"virtualCurrenciesCache",new Map);ee(this,"CACHE_EXPIRY_MS",5*60*1e3)}invalidateAllCaches(){this.virtualCurrenciesCache.clear()}cacheVirtualCurrencies(e,t){this.virtualCurrenciesCache.set(e,{data:t,lastUpdatedAt:Date.now()})}getCachedVirtualCurrencies(e,t=!1){const n=this.virtualCurrenciesCache.get(e);return this.getCachedData(n??null,t)}invalidateVirtualCurrenciesCache(e){this.virtualCurrenciesCache.delete(e)}getCachedData(e,t=!1){return e?t?e.data:Date.now()-e.lastUpdatedAt>=this.CACHE_EXPIRY_MS?null:e.data:null}}function gS(r){return{balance:r.balance,name:r.name,code:r.code,serverDescription:r.description??null}}function fS(r){const e={};for(const[t,n]of Object.entries(r.virtual_currencies))e[t]=gS(n);return{all:e}}function mS(r,e){const t=r.webCheckoutURL;if(typeof t=="string"&&t.length>0)return t;if(typeof e=="string"&&e.length>0)return e}function hS(r,e){const t=r.webBillingProduct,n=mS(r,e),a=n!==void 0?{webCheckoutURL:n}:{},i=t.productType===Zr.Subscription,s=t.defaultSubscriptionOption;if(i&&s)return{hasTrial:s.trial!==null,hasIntroOffer:s.introPrice!==null,hasPromoOffer:s.discount!==null,...a};const l=t.defaultNonSubscriptionOption;return!i&&l?{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:l.discount!==null,...a}:{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:!1,...a}}function ng(r){const e=Object.entries(r.packagesById).map(([t,n])=>[t,hS(n,r.webCheckoutURL)]);return Object.fromEntries(e)}const vS=(r,e)=>{var n;if(r.productType===Zr.Subscription){const a=((n=r.subscriptionOptions)==null?void 0:n[e.id])||r.defaultSubscriptionOption;if(!a)throw new ye(ve.ErrorSettingUpPurchase);return a}const t=r.defaultNonSubscriptionOption;if(!t)throw new ye(ve.ErrorSettingUpPurchase);return t},yS=(r,e)=>{const t=Ho(r,e);return{currency:t.currency,taxCalculationStatus:"unavailable",totalAmountInMicros:t.amountMicros,totalExcludingTaxInMicros:t.amountMicros,taxAmountInMicros:null,taxBreakdown:null}},ag=(r,e,t,n,a,i)=>{const s=r.webBillingProduct,l=vS(s,e),c=yS(s,l),u=ac({priceBreakdown:c,productDetails:s,purchaseOption:l,translator:n}),p=s.productType===Zr.Subscription?nr.buildStripeExpressCheckoutOptionsForSubscription(s,c,l,n,t,u,2,1):nr.buildStripeExpressCheckoutOptionsForNonSubscription(s,c,u,2,1);return i&&(p.buttonTheme={applePay:i,googlePay:i==="white-outline"?"white":i}),a&&(p.business={name:a}),p},og=(r,e,t,n,a,i,s,l)=>{if(!e.elements_configuration)throw new ye(ve.ErrorSettingUpPurchase);return nr.updateElementsConfiguration(r,e.elements_configuration),{expOptions:ag(n,a,t,i,s==null?void 0:s.app_name,l)}},bS=async(r,e,t,n,a,i,s)=>{var h,y;if(!r.elements_configuration)throw new ye(ve.ErrorSettingUpPurchase);const l=r.stripe_account_id,c=r.publishable_api_key,u=nr.getStripeLocale(a.bcp47Locale||a.fallbackBcp47Locale),d={fontSizeBase:"14px",fontFamily:Vo,spacingGridRow:"16px"},p=((h=Go())==null?void 0:h.matchMedia)&&((y=Go())==null?void 0:y.matchMedia("(max-width: 767px)").matches);let g="mobile";if(p?g="mobile":g="desktop",!l||!c)throw new ye(ve.ErrorSettingUpPurchase);const _=r.elements_configuration,{stripe:f,elements:v}=await nr.initializeStripe(l,c,_,i,u,d,g),w=ag(t,n,e,a,i==null?void 0:i.app_name,s);return{stripeInstance:f,elementsInstance:v,expOptions:w}};var kS=W("<div><!></div>");function wS(r,e){var q;me(e,!0);const t="express_purchase_button";let n=Ir(e.translator);const a=Ir(((q=e.brandingInfo)==null?void 0:q.appearance)??null);vr(yr,n),vr(Un,a);let i=re(!0),s=re(!1),l=re(null),c=re(null),u=re(null);const d=x=>{const F=Op({errorCode:x.getErrorCode().toString(),errorMessage:x.message,mode:t});e.eventsTracker.trackSDKEvent(F),e.onError(x)};let p=!1;const g=async()=>{if(p)return;p=!0;let x;try{x=await e.purchaseOperationHelper.prepareCheckout(e.rcPackage.webBillingProduct.identifier,e.purchaseOption)}catch(T){d(T);return}if(!x.stripe_gateway_params){const T=new ye(ve.ErrorSettingUpPurchase,"We couldn’t download Stripe params for this purchase. Please try again.");d(T);return}const F="http://blank";try{if(!o(c)||!o(l)){const{stripeInstance:T,elementsInstance:j,expOptions:O}=await bS(x.stripe_gateway_params,F,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);z(c,T,!0),z(l,j,!0),z(u,O,!0)}else{const{expOptions:T}=og(o(l),x.stripe_gateway_params,F,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);z(u,T,!0)}}catch(T){d(T);return}z(i,!1)};pr(()=>{p=!1,g().then(()=>{})});const _=x=>{const F=Zl({errorCode:x.gatewayErrorCode??null,errorMessage:x.message??"",mode:t});e.eventsTracker.trackSDKEvent(F),d(new ye(ve.ErrorSettingUpPurchase,"Failed to initialize payment form",x.message))},f=async(x,F)=>{var O;const{customerDetails:T,confirmationTokenId:j}=await nr.extractTaxCustomerDetails(x,F);if((O=e.brandingInfo)!=null&&O.gateway_tax_collection_enabled){const N=await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:T.countryCode,postalCode:T.postalCode}),L=Rp({taxCalculation:N,taxCustomerDetails:T,mode:t});e.eventsTracker.trackSDKEvent(L)}return j};async function v(x){var O,N;if(!o(l)||!o(c))return!1;await nr.submitElements(o(l));const F=await e.purchaseOperationHelper.checkoutComplete(x,e.translator.selectedLocale),T=(O=F==null?void 0:F.gateway_params)==null?void 0:O.client_secret;if(!T)return!1;const j=(N=e.brandingInfo)!=null&&N.gateway_tax_collection_enabled?await f(o(l),o(c)):void 0;return await nr.confirmElements(o(c),o(l),T,j),!0}const w=async(x,F,T)=>{if(o(s))return;const j=Up({selectedPaymentMethod:x??null,mode:t});e.eventsTracker.trackSDKEvent(j),z(s,!0);try{const O=await v(F);if(z(s,!1),!O)return;const N=await e.purchaseOperationHelper.pollCurrentPurchaseForCompletion();e.onFinished(N),z(s,!1)}catch(O){if(O instanceof ye)d(O);else if(O instanceof Wo){const N=Zl({errorCode:O.gatewayErrorCode??null,errorMessage:O.message??"",mode:t});e.eventsTracker.trackSDKEvent(N),d(new ye(ve.ErrorSettingUpPurchase,"Failed to complete payment",O.message))}T.paymentFailed(),z(s,!1)}},h=async()=>{var F;const x=Xi({appearance:(F=e.brandingInfo)==null?void 0:F.appearance,rcPackage:e.rcPackage,purchaseOptionToUse:e.purchaseOption,customerEmail:e.customerEmail,mode:"express_purchase_button"});e.eventsTracker.trackSDKEvent(x);try{const T=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:e.rcPackage.webBillingProduct.identifier,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.translator.selectedLocale}),j=T.management_url;if(!o(l))throw new ye(ve.ErrorSettingUpPurchase);const{expOptions:O}=og(o(l),T.gateway_params,j,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);return{applePay:O.applePay,lineItems:O.lineItems}}catch(T){throw d(T instanceof ye?T:new ye(ve.ErrorSettingUpPurchase)),T}},y=x=>{var F,T;(T=(F=e.listener)==null?void 0:F.onPurchaseStarted)==null||T.call(F,e.rcPackage),h().then(j=>x.resolve(j))},k=()=>{var x,F;e.eventsTracker.trackSDKEvent(jp({mode:"express_purchase_button"})),(F=(x=e.listener)==null?void 0:x.onPurchaseCancelled)==null||F.call(x)};function b(x){var T,j;const F=((T=x.availablePaymentMethods)==null?void 0:T.applePay)||((j=x.availablePaymentMethods)==null?void 0:j.googlePay);e.onReady&&e.onReady(!!F)}var E=kS(),S=A(E);{var I=x=>{a_(x,{get elements(){return o(l)},onError:_,onSubmit:w,onClick:y,onCancel:k,onReady:b,get expressCheckoutOptions(){return o(u)},forceEnableWalletMethods:!1,hideCheckoutSeparator:!0})};G(S,x=>{!o(i)&&o(l)&&o(u)&&e.brandingInfo&&x(I)})}P(r,E),he()}class PS{constructor(e,t,n){Xe(this,oo);ee(this,"button");Ge(this,oo,re(ar({props:n})));const i={updatePurchase:(s,l)=>{this.changePackage(s,l)}};this.state.props.onReady=s=>{t(i,s)},this.button=ua(wS,{target:e,props:this.state.props})}get state(){return o(Q(this,oo))}set state(e){z(Q(this,oo),e,!0)}changePackage(e,t){this.state.props&&(this.state.props.rcPackage=e,this.state.props.purchaseOption=t??e.webBillingProduct.defaultPurchaseOption)}}oo=new WeakMap;const xS=new Set(["javascript:","data:","vbscript:"]);function ES(r){return xS.has(r.toLowerCase())}function SS(r,e){const t=r.trim();if(t.length===0)return!1;let n;try{n=new URL(t)}catch{return!1}return ES(n.protocol)?!1:e==="deep_link"?!0:n.protocol==="http:"||n.protocol==="https:"}const ig='link[rel~="apple-touch-icon"]',sg="data-rc-apple-touch-icon",lg="true",cg=`link[${sg}="${lg}"]`,IS=r=>!!r.head.querySelector(ig),CS=({doc:r,win:e,ignoredLink:t})=>{const n=r.head.querySelector(ig);if(n&&n!==t)return!0;if(!e)return!1;let a=e;for(;a.parent!==a;){const i=a.parent;try{if(IS(i.document))return!0}catch{return!1}a=i}return!1},TS=r=>{var e;(e=r.head.querySelector(cg))==null||e.remove()},DS=({doc:r,win:e,href:t})=>{const n=r.head.querySelector(cg);if(!t){n==null||n.remove();return}if(CS({doc:r,win:e,ignoredLink:n})){n==null||n.remove();return}const a=n??r.createElement("link");a.rel="apple-touch-icon",a.href=t,a.setAttribute(sg,lg),n||r.head.appendChild(a)};var ug=(r=>(r.DisplayName="$displayName",r.Email="$email",r.PhoneNumber="$phoneNumber",r.IDFA="$idfa",r.IDFV="$idfv",r.GPSAdId="$gpsAdId",r.AndroidId="$androidId",r.AmazonAdId="$amazonAdId",r.IP="$ip",r.AdjustId="$adjustId",r.AmplitudeDeviceId="$amplitudeDeviceId",r.AmplitudeUserId="$amplitudeUserId",r.AppsflyerId="$appsflyerId",r.AppsflyerSharingFilter="$appsflyerSharingFilter",r.BranchId="$branchId",r.BrazeAliasName="$brazeAliasName",r.BrazeAliasLabel="$brazeAliasLabel",r.ClevertapId="$clevertapId",r.FbAnonId="$fbAnonId",r.MparticleId="$mparticleId",r.OnesignalId="$onesignalId",r.OnesignalUserId="$onesignalUserId",r.IntercomContactId="$intercomContactId",r.MediaSource="$mediaSource",r.Campaign="$campaign",r.AdGroup="$adGroup",r.AdId="$ad",r.Keyword="$keyword",r.Creative="$creative",r.APNSTokens="$apnsTokens",r.FCMTokens="$fcmTokens",r.AirshipChannelId="$airshipChannelId",r.SegmentId="$segmentId",r.IterableUserId="$iterableUserId",r.IterableCampaignId="$iterableCampaignId",r.IterableTemplateId="$iterableTemplateId",r.FirebaseAppInstanceId="$firebaseAppInstanceId",r.MixpanelDistinctId="$mixpanelDistinctId",r.ATTConsentStatus="$attConsentStatus",r.KochavaDeviceId="$kochavaDeviceId",r.DeviceVersion="$deviceVersion",r.PosthogUserId="$posthogUserId",r.TelemetryDeckUserId="$telemetryDeckUserId",r.TelemetryDeckAppId="$telemetryDeckAppId",r.AppleRefundHandlingPreference="$appleRefundHandlingPreference",r.CustomerioId="$customerioId",r.TenjinId="$tenjinId",r))(ug||{});const dg="$RCAnonymousID:";gg=[V_],_g=[V_];const qr=class qr{constructor(e,t,n=pc,a=yc,i,s){Sg(ys,5,this);ee(this,"_API_KEY");ee(this,"_appUserId");ee(this,"_brandingInfo",null);ee(this,"_loadingResourcesPromise",null);ee(this,"_flags");ee(this,"_context");ee(this,"backend");ee(this,"purchaseOperationHelper");ee(this,"eventsTracker");ee(this,"inMemoryCache");var l;this._API_KEY=e,this._appUserId=t,this._flags={...yc,...a},this._context=i,us(e)?we.debugLog("Initializing Purchases SDK with Web billing sandbox API Key"):va(e)&&we.debugLog("Initializing Purchases SDK with RC Test store API Key."),this.eventsTracker=new oS({apiKey:this._API_KEY,appUserId:this._appUserId,silent:!this._flags.collectAnalyticsEvents,rcSource:this._flags.rcSource??null,workflowContext:(l=this._context)==null?void 0:l.workflowContext,trace_id:s,httpConfig:n}),this.backend=new vE(this._API_KEY,n,this._context),this.inMemoryCache=new _S,this.purchaseOperationHelper=new Si(this.backend,this.eventsTracker),this.eventsTracker.trackSDKEvent({eventName:Jr.SDKInitialized})}static setLogLevel(e){we.setLogLevel(e)}static setLogHandler(e){we.setLogHandler(e)}static setPlatformInfo(e){qr._platformInfo=e}static buildVariablesPerPackage(e,t={}){return Y_(e,t)}static buildInfoPerPackage(e){return ng(e)}static getPlatformInfo(){return qr._platformInfo}static getSharedInstance(){if(qr.isConfigured())return qr.instance;throw new Qu}static isConfigured(){return qr.instance!==void 0}static configure(e,t,n,a){qr.instance!==void 0&&we.warnLog("Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance.");let i;if(typeof e=="object"&&e!==null)i=e;else{if(typeof e!="string")throw new er(Fe.ConfigurationError,"API key must be provided as a string");if(typeof t!="string")throw new er(Fe.ConfigurationError,"App user ID must be provided as a string");i={apiKey:e,appUserId:t,httpConfig:n,flags:a}}return qr.configureInternal(i),qr.getSharedInstance()}static configureInternal(e){const{apiKey:t,appUserId:n,httpConfig:a,flags:i,context:s,trace_id:l}=e,c=a??pc,u=i??yc;qr.validateConfig(e),qr.instance=new qr(t,n,c,u,s,l)}static validateConfig(e){var t,n;yE(e.apiKey),_c(e.appUserId),bE((t=e.httpConfig)==null?void 0:t.proxyURL),kE((n=e.httpConfig)==null?void 0:n.additionalHeaders)}async preload(){if(this.hasLoadedResources()){we.verboseLog("Purchases resources are loaded. Skipping.");return}if(this._loadingResourcesPromise!==null){we.verboseLog("Purchases resources are loading. Waiting."),await this._loadingResourcesPromise;return}return this._loadingResourcesPromise=this.fetchAndCacheBrandingInfo().catch(e=>{let t=`${e}`;e instanceof er&&(t=`${e.message}. ${e.underlyingErrorMessage?`Underlying error: ${e.underlyingErrorMessage}`:""}`),we.errorLog(`Error fetching branding info: ${t}`)}).finally(()=>{this._loadingResourcesPromise=null}),this._loadingResourcesPromise}async fetchAndCacheBrandingInfo(){if(va(this._API_KEY)){we.warnLog("Branding info is not available for RC Test Store API keys.");return}this._brandingInfo=await this.backend.getBrandingInfo(),this.syncApplePayWebsiteIcon()}syncApplePayWebsiteIcon(){var a,i;if(!this._flags.applePayBrandingLogoEnabled)return;const e=vc(),t=Go();if(!e)return;const n=(i=(a=this._brandingInfo)==null?void 0:a.app_icon)==null?void 0:i.trim();DS({doc:e,win:t,href:n?Za(n):null})}hasLoadedResources(){return this._brandingInfo!==null}async presentPaywall(e){var V,R,$,ue,pe,ne,Z;const t=e.htmlTarget;let n=!1;const a=hc();let i=t??a.getElementById("rcb-ui-pw-root");if(i===null){n=!0;const B=a.createElement("div");B.id="rcb-ui-pw-root",B.className="rcb-ui-pw-root",B.style.zIndex=`${xE}`,B.style.position="fixed",B.style.top="0",B.style.left="0",B.style.width="100%",B.style.height="100%",B.style.overflow="auto",B.style.backgroundColor="var(--rc-purchases-ui-bg-color, Canvas)",a.body.offsetWidth>968&&(B.style.display="flex",B.style.justifyContent="center",B.style.alignItems="center"),B.style.transition="opacity 0.3s",B.style.opacity="0",a.body.appendChild(B),i=B}if(i===null)throw new Error("Could not generate a mount point for the paywall widget");const s=i,l=e.offering?e.offering:(await this.getOfferings()).current;if(!l)throw new Error("No offering found.");const c=this._flags.workflowsEndpointEnabled?await this.backend.getWorkflows(this._appUserId).catch(B=>(we.warnLog(`Failed to fetch workflows: ${B}`),null)):null,u=(V=c==null?void 0:c.workflows)==null?void 0:V.find(B=>B.offering_id===l.identifier);if(!u&&!l.paywallComponents)throw new Error("This offering doesn't have a paywall attached.");if(!u&&!l.uiConfig)throw new Error("No ui_config found for this offering, please contact support!");const d=(B,K)=>{const ae={},H=Ee=>Ee.toLowerCase().split("_")[0];Object.keys(B.components_localizations).forEach(Ee=>{ae[H(Ee)]===void 0&&(ae[H(Ee)]=[]),ae[H(Ee)].push(Ee)});const de=ae[H(K)];if(!de)return B.default_locale;const se=de.find(Ee=>Ee.toLowerCase()===K);return se||de[0]},p=e.selectedLocale?e.selectedLocale:navigator.language,g=l.paywallComponents?d(l.paywallComponents,p):p,_=new Ln({},g,((R=l.paywallComponents)==null?void 0:R.default_locale)??Gr),f=Vn(),v={appUserId:this._appUserId,sessionId:f,offeringId:l.identifier,paywallRevision:0,paywallRcPublicId:(($=l.paywallComponents)==null?void 0:$.id)??null,presentedOfferingContext:(pe=(ue=l.availablePackages[0])==null?void 0:ue.webBillingProduct)==null?void 0:pe.presentedOfferingContext},w={displayMode:"full_screen",darkMode:((Z=(ne=Yn())==null?void 0:ne.matchMedia)==null?void 0:Z.call(ne,"(prefers-color-scheme: dark)").matches)??!1,locale:g},h=new Map(l.availablePackages.map(B=>[B.identifier,B.webBillingProduct.identifier])),y=B=>{if(B!==void 0)return h.get(B)},k=B=>{const K=B;return{type:"paywall_component_interacted",...v,...w,componentType:B.componentType,componentName:B.componentName,componentValue:B.componentValue,componentURL:K.componentURL,originIndex:K.originIndex,destinationIndex:K.destinationIndex,originContextName:K.originContextName,destinationContextName:K.destinationContextName,defaultIndex:K.defaultIndex,originPackageId:K.originPackageId,destinationPackageId:K.destinationPackageId,defaultPackageId:K.defaultPackageId,originProductId:K.originProductId??y(K.originPackageId),destinationProductId:K.destinationProductId??y(K.destinationPackageId),defaultProductId:K.defaultProductId??y(K.defaultPackageId),currentPackageId:K.currentPackageId,resultingPackageId:K.resultingPackageId,currentProductId:K.currentProductId??y(K.currentPackageId),resultingProductId:K.resultingProductId??y(K.resultingPackageId)}},b=B=>{this.eventsTracker.trackPaywallEvent({type:B,...v,...B==="paywall_impression"?{...w}:{}})},E=async(B,K=g)=>{var de,se;const ae=l.availablePackages.find(Ee=>Ee.identifier===B);if(ae===void 0)throw new Error(`No package found for ${B}`);return{...await this.purchase({rcPackage:ae,htmlTarget:e.purchaseHtmlTarget,customerEmail:e.customerEmail,showDiscountCodeField:e.showDiscountCodeField,discountCode:e.discountCode,onDiscountCodeChanged:e.onDiscountCodeChanged,selectedLocale:K,defaultLocale:((de=l.paywallComponents)==null?void 0:de.default_locale)??Gr,paywallId:(se=l.paywallComponents)==null?void 0:se.id,paywallSessionId:f}),selectedPackage:ae}};let S=null,I=null;const q=B=>{const K=B.target;if(!(K instanceof Element))return;const ae=K.closest("a[href]");if(!(ae instanceof HTMLAnchorElement)||!s.contains(ae))return;const H=ae.getAttribute("href")??ae.href;H&&(I={url:H,defaultPrevented:B.defaultPrevented})},x=B=>{var H;const K=(S==null?void 0:S.componentURL)===B?S:null;if(S=null,e.onNavigateToUrl){e.onNavigateToUrl(B);return}if((K==null?void 0:K.componentType)==="text"){queueMicrotask(()=>{var Ee;const de=(I==null?void 0:I.url)===B?I:null;if(I=null,(de==null?void 0:de.defaultPrevented)!==!0)return;(Ee=Yn().open(B,"_blank"))==null||Ee.focus()});return}(H=Yn().open(B,"_blank"))==null||H.focus()},F=async B=>{var ae;if(e.onCompleteWorkflowNavigate){await e.onCompleteWorkflowNavigate(B);return}if(!SS(B.url,B.method)){we.warnLog("Blocked complete-workflow navigation to a disallowed URL.");return}const K=Yn();B.method==="external_browser"?(ae=K.open(B.url,"_blank","noopener,noreferrer"))==null||ae.focus():K.location.assign(B.url)},T=()=>{},j=()=>{if(e.onVisitCustomerCenter){e.onVisitCustomerCenter();return}},O=Y_(l,{translator:_}),N=ng(l),L=e.listener,C=B=>{if(L!=null&&L.onPurchaseStarted)try{L.onPurchaseStarted(B)}catch(K){we.errorLog(`Error in listener.onPurchaseStarted: ${K}`)}},D=B=>{if(B instanceof er&&B.errorCode===Fe.UserCancelledError){if(L!=null&&L.onPurchaseCancelled)try{L.onPurchaseCancelled()}catch(K){we.errorLog(`Error in listener.onPurchaseCancelled: ${K}`)}}else{if(L!=null&&L.onPurchaseError)try{L.onPurchaseError(B)}catch(K){we.errorLog(`Error in listener.onPurchaseError: ${K}`)}e.onPurchaseError&&e.onPurchaseError(B)}};let M,U;if(u){const B=await this.backend.getWorkflowById(this._appUserId,u.id).catch(ae=>(we.warnLog(`Failed to fetch workflow data, falling back to standard paywall: ${ae}`),null)),K=B?Kb(B):null;if(B&&K)U=B,M=K;else{if(B&&!K&&we.warnLog("Failed to resolve workflow navigation data, falling back to standard paywall."),!l.paywallComponents)throw new Error("This offering doesn't have a paywall attached and the workflow could not be loaded.");if(!l.uiConfig)throw new Error("No ui_config found for this offering, please contact support!")}}return new Promise((B,K)=>{let ae=null,H=!1,de=!1;s.addEventListener("click",q);const se=()=>{de||(de=!0,H&&b("paywall_close"))},Ee=Se=>{!H||de||this.eventsTracker.trackPaywallEvent(k(Se))},Le=Se=>{const le=Se;S=le.componentURL===void 0?null:{componentType:Se.componentType,componentURL:le.componentURL},Ee(Se)},Me=new MutationObserver(()=>{s.childElementCount===0&&(se(),Me.disconnect())}),Te=()=>{Me.disconnect(),s.removeEventListener("click",q),se(),ae&&(wo(ae),ae=null),s.innerHTML="",n&&s.parentNode&&s.parentNode.removeChild(s)},Ce=()=>{we.debugLog("Purchase cancelled by user"),Te(),K(new er(Fe.UserCancelledError)),this.eventsTracker.flushAllEvents().catch(Se=>{we.debugLog(`Failed to flush paywall events on close: ${Se}`)})},We=Se=>{Te(),B(Se),this.eventsTracker.flushAllEvents().catch(le=>{we.debugLog(`Failed to flush paywall events after purchase: ${le}`)})},Ye=Se=>le=>{le instanceof er&&le.errorCode===Fe.UserCancelledError&&b("paywall_cancel"),we.errorLog(`${Se}: ${le}`),D(le)},_e=this.getWalletButtonRender(l,We,e.customerEmail,Ye("Error presenting express purchase button"),L);if(s.innerHTML="",M&&U)try{const Se=le=>{if(le.reason==="completed")this.eventsTracker.trackSDKEvent({eventName:Jr.WorkflowStepCompleted,properties:{workflow_id:le.workflowId,step_id:le.stepId,...le.toStepId!==void 0?{to_step_id:le.toStepId}:{},is_first_step:le.isFirstStep,is_last_step:le.isLastStep}});else{const fe=le.reason;this.eventsTracker.trackSDKEvent({eventName:Jr.WorkflowStepStarted,properties:{workflow_id:le.workflowId,step_id:le.stepId,...le.fromStepId!==void 0?{from_step_id:le.fromStepId}:{},entry_reason:fe,is_first_step:le.isFirstStep,is_last_step:le.isLastStep}}),le.isLastStep&&!H&&(b("paywall_impression"),H=!0)}};ae=ua(xb,{target:s,props:{workflow:M,uiConfig:U.ui_config,selectedLocale:p,variablesPerPackage:O,walletButtonRender:_e,onPurchaseClicked:le=>{const fe=l.packagesById[le];fe&&C(fe),E(le,p).then(We).catch(Ye("Error performing purchase"))},onClose:Ce,onExitBack:()=>{if(e.onBack){e.onBack(Ce);return}Ce()},onCompleteWorkflowNavigate:F,onNavigateToUrlClicked:x,onRestorePurchasesClicked:T,onVisitCustomerCenterClicked:j,onComponentInteraction:Le,onStepChanged:Se,globalVariables:e.customVariables?hp(e.customVariables,U.ui_config):void 0,maxContentWidth:U.content_max_width?String(U.content_max_width):void 0}})}catch(Se){Te(),K(Se);return}else ae=ua(Sp,{target:s,props:{paywallData:l.paywallComponents,selectedLocale:g,onNavigateToUrlClicked:x,appUserId:this._appUserId,onCompleteWorkflowNavigate:F,onVisitCustomerCenterClicked:j,uiConfig:l.uiConfig,onBackClicked:()=>{if(e.onBack){e.onBack(Ce);return}Ce()},onRestorePurchasesClicked:T,onPurchaseClicked:Se=>{const le=l.packagesById[Se];le&&C(le),E(Se).then(We).catch(Ye("Error performing purchase"))},onError:Se=>{Te(),K(Se)},variablesPerPackage:O,infoPerPackage:N,hideBackButtons:e.hideBackButtons,walletButtonRender:_e,customVariables:e.customVariables,onComponentInteraction:Le}});Me.observe(s,{childList:!0}),M||(b("paywall_impression"),H=!0),s.style.opacity==="0"&&(s.style.opacity="1")})}async getOfferings(e){q0(e==null?void 0:e.currency);const t=this._appUserId,n=await this.backend.getOfferings(t),a=(e==null?void 0:e.offeringIdentifier)===gc.Current?n.current_offering_id:e==null?void 0:e.offeringIdentifier;return a&&(n.offerings=n.offerings.filter(i=>i.identifier===a)),await this.getAllOfferings(n,t,e)}async getCurrentOfferingForPlacement(e,t){const n=this._appUserId,a=await this.backend.getOfferings(n),i=await this.getAllOfferings(a,n,t),s=a.placements??null;return s==null?null:wE(s,i.all,e)}async getAllOfferings(e,t,n){const a=e.offerings.flatMap(s=>s.packages).map(s=>s.platform_product_identifier),i=await this.backend.getProducts(t,a,n==null?void 0:n.currency,n==null?void 0:n.discountCode);return this.logMissingProductIds(a,i.product_details),PE(e,i)}async isEntitledTo(e){const t=await this.getCustomerInfo();return e in t.entitlements.active}purchasePackage(e,t,n){return this.purchase({rcPackage:e,customerEmail:t,htmlTarget:n})}async presentExpressPurchaseButton(e){const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,selectedLocale:s=Gr,defaultLocale:l=Gr,onButtonReady:c=()=>{},walletButtonTheme:u}=e,d=this._appUserId;if(!uc(this._API_KEY))throw new Error("The Express Purchase button is only available with Web Billing API Keys.");const p=n??t.webBillingProduct.defaultPurchaseOption,_={...this._flags.autoCollectUTMAsMetadata?ps():{},...e.metadata||{}},f=new Ln({},s,l);return new Promise((v,w)=>{const h=async k=>{const b=Np({redemptionInfo:k.redemptionInfo,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(b),we.debugLog("Purchase finished");const E={customerInfo:await this._getCustomerInfoForUserId(d),redemptionInfo:k.redemptionInfo,operationSessionId:k.operationSessionId,attributionMetadata:k.attributionMetadata,storeTransaction:{storeTransactionId:k.storeTransactionIdentifier,productIdentifier:k.productIdentifier,purchaseDate:k.purchaseDate}};v(E)},y=k=>{var E;const b=Bp({errorCode:(E=k.errorCode)==null?void 0:E.toString(),errorMessage:k.message,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(b),w(k)};new PS(a,c,{appUserId:d,rcPackage:t,purchaseOption:p,customerEmail:i,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,metadata:_,customTranslations:e.labelsOverride,translator:f,onFinished:h,onError:y,listener:e.listener,walletButtonTheme:u})})}getWalletButtonRender(e,t,n,a,i){if(uc(this._API_KEY))return(s,{selectedPackageId:l,onReady:c,walletButtonTheme:u})=>{const d=e.packagesById[l];if(!d)return{};let p=d,g=null;return this.presentExpressPurchaseButton({rcPackage:d,customerEmail:n,htmlTarget:s,onButtonReady:(_,f)=>{g=_,c==null||c(f)},listener:i,walletButtonTheme:u}).then(_=>{t({..._,selectedPackage:p})}).catch(a),{destroy(){s.innerHTML=""},update({selectedPackageId:_}){if(g){const f=e.packagesById[_];if(!f)return;const v=f.webBillingProduct.defaultPurchaseOption;p=f,g.updatePurchase(f,v)}}}}}async purchase(e){if(va(this._API_KEY)){const a=await pS(e,this.backend,this._appUserId);return this.inMemoryCache.invalidateAllCaches(),a}return A_(this._API_KEY)?await this.performPaddlePurchase(e):F_(this._API_KEY)?await this.performStripePurchase(e):await this.performWebBillingPurchase(e)}async performStripePurchase(e){var I;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:c,paywallSessionId:u,selectedLocale:d=Gr,defaultLocale:p=Gr,skipSuccessPage:g=!1}=e,_=this.resolveHTMLTarget(a),f=this._appUserId;we.debugLog(`Presenting Stripe checkout for package ${t.identifier}`);const v=d||p,w=n??t.webBillingProduct.defaultPurchaseOption,h=Xi({appearance:(I=this._brandingInfo)==null?void 0:I.appearance,rcPackage:t,purchaseOptionToUse:w,customerEmail:i});this.eventsTracker.trackSDKEvent(h);const k={...this._flags.autoCollectUTMAsMetadata?ps():{},...e.metadata||{}};let b=null;const E=this._brandingInfo;E&&e.brandingAppearanceOverride&&(E.appearance=e.brandingAppearanceOverride);const S=a!==void 0;return new Promise((q,x)=>{const F=Yn();S||F.history.pushState({checkoutOpen:!0},"");const T=()=>{b&&wo(b),_.innerHTML=""},j=this.createCheckoutOnCloseHandler(x,T);!S&&j&&F.addEventListener("popstate",j);const O=this.createCheckoutOnFinishedHandler(q,f,t,T),N=this.createCheckoutOnErrorHandler(x,T);b=ua(Nx,{target:_,props:{isInElement:S,appUserId:f,rcPackage:t,purchaseOption:w,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:c,paywallSessionId:u,onFinished:O,onClose:j,onError:N,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:v,metadata:k,defaultLocale:p,customTranslations:e.labelsOverride,skipSuccessPage:g}})})}async performWebBillingPurchase(e){var q;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,selectedLocale:c=Gr,defaultLocale:u=Gr,skipSuccessPage:d=!1,showDiscountCodeField:p=!1,discountCode:g,onDiscountCodeChanged:_}=e,f=this.resolveHTMLTarget(a),v=this._appUserId;we.debugLog(`Presenting purchase form for package ${t.identifier}`);const w=c||u,h=n??t.webBillingProduct.defaultPurchaseOption,y=Xi({appearance:(q=this._brandingInfo)==null?void 0:q.appearance,rcPackage:t,purchaseOptionToUse:h,customerEmail:i});this.eventsTracker.trackSDKEvent(y);const b={...this._flags.autoCollectUTMAsMetadata?ps():{},...e.metadata||{}};let E=null;const S=this._brandingInfo;S&&e.brandingAppearanceOverride&&(S.appearance=e.brandingAppearanceOverride);const I=a!==void 0;return new Promise((x,F)=>{const T=Yn();I||T.history.pushState({checkoutOpen:!0},"");const j=()=>{E&&wo(E),f.innerHTML=""},O=this.createCheckoutOnCloseHandler(F,j);!I&&O&&T.addEventListener("popstate",O);const N=this.createCheckoutOnFinishedHandler(x,v,t,j),L=this.createCheckoutOnErrorHandler(F,j);E=ua(L0,{target:f,props:{isInElement:I,appUserId:v,rcPackage:t,purchaseOption:h,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,onFinished:N,onClose:O,onError:L,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:w,metadata:b,defaultLocale:u,customTranslations:e.labelsOverride,termsAndConditionsUrl:e.termsAndConditionsUrl,showDiscountCodeField:p,discountCode:g,onDiscountCodeChanged:_,skipSuccessPage:d,hideBackButton:this.shouldHideCheckoutBackButton()}})})}async performPaddlePurchase(e){var b;const{rcPackage:t,purchaseOption:n,customerEmail:a,attributionMetadata:i,selectedLocale:s=Gr,defaultLocale:l=Gr,skipSuccessPage:c=!1,htmlTarget:u}=e,d=this.resolveHTMLTarget(u),p=this._appUserId;we.debugLog(`Presenting Paddle checkout for package ${t.identifier}`);const g=n??t.webBillingProduct.defaultPurchaseOption,f={source:"paddle",...this._flags.autoCollectUTMAsMetadata?ps():{},...e.metadata||{}},v=this._brandingInfo;v&&e.brandingAppearanceOverride&&(v.appearance=e.brandingAppearanceOverride);const w=Xi({appearance:(b=this._brandingInfo)==null?void 0:b.appearance,rcPackage:t,purchaseOptionToUse:g,customerEmail:a});this.eventsTracker.trackSDKEvent(w);const h=new ix(this.backend,this.eventsTracker);let y=null;const k=u!==void 0;return new Promise((E,S)=>{const I=Yn();k||I.history.pushState({checkoutOpen:!0},"");const q=()=>{y&&wo(y),d.innerHTML=""},x=this.createCheckoutOnCloseHandler(S,q)??(()=>{q()});k||I.addEventListener("popstate",x);const F=this.createCheckoutOnFinishedHandler(E,p,t,q),T=this.createCheckoutOnErrorHandler(S);y||(y=ua(Cx,{target:d,props:{eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,selectedLocale:s||l,defaultLocale:l,customTranslations:e.labelsOverride,isInElement:k,onClose:x,onFinished:F,onError:T,skipSuccessPage:c,productDetails:t.webBillingProduct,rcPackage:t,appUserId:p,purchaseOption:g,customerEmail:a,attributionMetadata:i,metadata:f,unmountPaddlePurchaseUi:q,paddleService:h,hideBackButton:this.shouldHideCheckoutBackButton()}}))})}resolveHTMLTarget(e){const t=hc();let n=e??t.getElementById("rcb-ui-root");if(n===null){const a=t.createElement("div");a.className="rcb-ui-root",t.body.appendChild(a),n=a}if(n===null)throw new Error("Could not generate a mount point for the billing widget");return n}createCheckoutOnCloseHandler(e,t){if(this._flags.rcSource&&rg.includes(this._flags.rcSource))return;const a=()=>{const i=jp();this.eventsTracker.trackSDKEvent(i),Yn().removeEventListener("popstate",a),t==null||t(),we.debugLog("Purchase cancelled by user"),e(new er(Fe.UserCancelledError))};return a}shouldHideCheckoutBackButton(){return this._flags.hideBackButton===!0||!!this._flags.rcSource&&rg.includes(this._flags.rcSource)}createCheckoutOnFinishedHandler(e,t,n,a){return async s=>{const l=Np({redemptionInfo:s.redemptionInfo});this.eventsTracker.trackSDKEvent(l),this.inMemoryCache.invalidateAllCaches(),we.debugLog("Purchase finished"),a==null||a();const c={customerInfo:await this._getCustomerInfoForUserId(t),redemptionInfo:s.redemptionInfo,operationSessionId:s.operationSessionId,attributionMetadata:s.attributionMetadata,storeTransaction:{storeTransactionId:s.storeTransactionIdentifier,productIdentifier:n.webBillingProduct.identifier,purchaseDate:s.purchaseDate}};e(c)}}createCheckoutOnErrorHandler(e,t){return a=>{var s;const i=Bp({errorCode:(s=a.errorCode)==null?void 0:s.toString(),errorMessage:a.message});this.eventsTracker.trackSDKEvent(i),t==null||t(),e(er.getForPurchasesFlowError(a))}}_isConfiguredWithSimulatedStore(){return va(this._API_KEY)}_shouldForceEnableWalletMethods(){return!!this._flags.forceEnableWalletMethods}async _postSimulatedStoreReceipt(e){if(!va(this._API_KEY))throw new er(Fe.ConfigurationError,"Posting a test store receipt is only available for RC Test Store API keys.");return await tg(e,this.backend,this._appUserId,void 0)}async getCustomerInfo(){return await this._getCustomerInfoForUserId(this._appUserId)}getAppUserId(){return this._appUserId}async setAttributes(e){return await this.getCustomerInfo(),await this.backend.setAttributes(this._appUserId,e)}async changeUser(e){return await this.replaceUserId(e),await this.getCustomerInfo()}async identifyUser(e){if(_c(e),e===this._appUserId)return we.debugLog(`aliasUser called with the current appUserID: ${e}. Ignoring.`),{customerInfo:await this.getCustomerInfo(),wasCreated:!1};const t=await this.backend.identify(this._appUserId,e);return await this.replaceUserId(e),{customerInfo:cc(t),wasCreated:t.was_created}}async replaceUserId(e){_c(e),this._appUserId=e,await this.eventsTracker.updateUser(e),this.inMemoryCache.invalidateAllCaches()}logMissingProductIds(e,t){const n={};t.forEach(i=>n[i.identifier]=i);const a=[];e.forEach(i=>{n[i]===void 0&&a.push(i)}),a.length>0&&we.debugLog(`Could not find product data for product ids:
424
431
  ${a.join()}.
425
- Please check that your product configuration is correct.`)}isSandbox(){return is(this._API_KEY)||ga(this._API_KEY)}isAnonymous(){return this._appUserId.startsWith(cg)}async getVirtualCurrencies(){return await this._getVirtualCurrenciesForUserId(this._appUserId)}getCachedVirtualCurrencies(){return this.inMemoryCache.getCachedVirtualCurrencies(this._appUserId,!0)}invalidateVirtualCurrenciesCache(){this.inMemoryCache.invalidateVirtualCurrenciesCache(this._appUserId)}close(){if(Mr.instance===this){if(this.eventsTracker&&this.eventsTracker.dispose(),this._flags.applePayBrandingLogoEnabled){const e=mc();e&&oS(e)}Mr.instance=void 0}else ke.warnLog("Trying to close a Purchases instance that is not the current instance. Ignoring.")}async _getCustomerInfoForUserId(e){const t=await this.backend.getCustomerInfo(e);return sc(t)}async _getVirtualCurrenciesForUserId(e){const t=this.inMemoryCache.getCachedVirtualCurrencies(e);if(t)return ke.debugLog("Vending VirtualCurrencies from cache."),t;const n=await this.backend.getVirtualCurrencies(e),a=HE(n);return ke.debugLog("VirtualCurrencies updated from the network."),this.inMemoryCache.cacheVirtualCurrencies(e,a),a}static generateRevenueCatAnonymousAppUserId(){return`${cg}${Un().replace(/-/g,"")}`}_trackEvent(e){this.eventsTracker.trackExternalEvent(e)}_flushAllEvents(){return this.eventsTracker.flushAllEvents()}};fs=wg(null),xc(fs,1,"presentExpressPurchaseButton",pg,Mr),xc(fs,1,"purchase",dg,Mr),Pc(fs,Mr),ee(Mr,"_platformInfo"),ee(Mr,"instance");let cs=Mr;xe.CustomVariableValue=Ny,xe.ErrorCode=Fe,xe.LogLevel=it,xe.OfferingKeyword=pc,xe.PackageType=nd,xe.PeriodUnit=Le,xe.ProductType=Xr,xe.Purchases=cs,xe.PurchasesError=Qe,xe.ReservedCustomerAttribute=lg,xe.UninitializedPurchasesError=Zu,Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"})});
432
+ Please check that your product configuration is correct.`)}isSandbox(){return us(this._API_KEY)||va(this._API_KEY)}isAnonymous(){return this._appUserId.startsWith(dg)}async getVirtualCurrencies(){return await this._getVirtualCurrenciesForUserId(this._appUserId)}getCachedVirtualCurrencies(){return this.inMemoryCache.getCachedVirtualCurrencies(this._appUserId,!0)}invalidateVirtualCurrenciesCache(){this.inMemoryCache.invalidateVirtualCurrenciesCache(this._appUserId)}close(){if(qr.instance===this){if(this.eventsTracker&&this.eventsTracker.dispose(),this._flags.applePayBrandingLogoEnabled){const e=vc();e&&TS(e)}qr.instance=void 0}else we.warnLog("Trying to close a Purchases instance that is not the current instance. Ignoring.")}async _getCustomerInfoForUserId(e){const t=await this.backend.getCustomerInfo(e);return cc(t)}async _getVirtualCurrenciesForUserId(e){const t=this.inMemoryCache.getCachedVirtualCurrencies(e);if(t)return we.debugLog("Vending VirtualCurrencies from cache."),t;const n=await this.backend.getVirtualCurrencies(e),a=fS(n);return we.debugLog("VirtualCurrencies updated from the network."),this.inMemoryCache.cacheVirtualCurrencies(e,a),a}static generateRevenueCatAnonymousAppUserId(){return`${dg}${Vn().replace(/-/g,"")}`}_trackEvent(e){this.eventsTracker.trackExternalEvent(e)}_flushAllEvents(){return this.eventsTracker.flushAllEvents()}};ys=xg(null),Sc(ys,1,"presentExpressPurchaseButton",gg,qr),Sc(ys,1,"purchase",_g,qr),Ec(ys,qr),ee(qr,"_platformInfo"),ee(qr,"instance");let _s=qr;xe.CustomVariableValue=Ky,xe.ErrorCode=Fe,xe.LogLevel=it,xe.OfferingKeyword=gc,xe.PackageType=od,xe.PeriodUnit=Ne,xe.ProductType=Zr,xe.Purchases=_s,xe.PurchasesError=er,xe.ReservedCustomerAttribute=ug,xe.UninitializedPurchasesError=Qu,Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"})});