@everymatrix/cashier-receipt-page 1.99.43 → 1.99.45

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,11 +1,11 @@
1
- "use strict";var ki=Object.defineProperty,Ii=Object.defineProperties;var Li=Object.getOwnPropertyDescriptors;var On=Object.getOwnPropertySymbols;var Oi=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable;var Ft=(e,t,n)=>t in e?ki(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bt=(e,t)=>{for(var n in t||(t={}))Oi.call(t,n)&&Ft(e,n,t[n]);if(On)for(var n of On(t))Di.call(t,n)&&Ft(e,n,t[n]);return e},Dn=(e,t)=>Ii(e,Li(t));var ue=(e,t,n)=>(Ft(e,typeof t!="symbol"?t+"":t,n),n);var zt=(e,t,n)=>new Promise((r,i)=>{var o=u=>{try{a(n.next(u))}catch(l){i(l)}},s=u=>{try{a(n.throw(u))}catch(l){i(l)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(o,s);a((n=n.apply(e,t)).next())});function ie(){}const bn=e=>e;function Ri(e,t){for(const n in t)e[n]=t[n];return e}function _r(e){return e()}function Rn(){return Object.create(null)}function Ae(e){e.forEach(_r)}function ht(e){return typeof e=="function"}function yn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let yt;function Jt(e,t){return e===t?!0:(yt||(yt=document.createElement("a")),yt.href=t,e===yt.href)}function $i(e){return Object.keys(e).length===0}function wr(e,...t){if(e==null){for(const r of t)r(void 0);return ie}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function xr(e,t,n){e.$$.on_destroy.push(wr(t,n))}function Ni(e,t,n,r){if(e){const i=Tr(e,t,n,r);return e[0](i)}}function Tr(e,t,n,r){return e[1]&&r?Ri(n.ctx.slice(),e[1](r(t))):n.ctx}function Ui(e,t,n,r){if(e[2]&&r){const i=e[2](r(n));if(t.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(t.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=t.dirty[a]|i[a];return o}return t.dirty|i}return t.dirty}function ji(e,t,n,r,i,o){if(i){const s=Tr(t,n,r,o);e.p(s,i)}}function Gi(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let r=0;r<n;r++)t[r]=-1;return t}return-1}const Sr=typeof window!="undefined";let Er=Sr?()=>window.performance.now():()=>Date.now(),vn=Sr?e=>requestAnimationFrame(e):ie;const Ge=new Set;function Hr(e){Ge.forEach(t=>{t.c(e)||(Ge.delete(t),t.f())}),Ge.size!==0&&vn(Hr)}function Mr(e){let t;return Ge.size===0&&vn(Hr),{promise:new Promise(n=>{Ge.add(t={c:e,f:n})}),abort(){Ge.delete(t)}}}function C(e,t){e.appendChild(t)}function Pr(e,t,n){const r=Cn(e);if(!r.getElementById(t)){const i=T("style");i.id=t,i.textContent=n,Br(r,i)}}function Cn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Fi(e){const t=T("style");return t.textContent="/* empty */",Br(Cn(e),t),t.sheet}function Br(e,t){return C(e.head||e,t),t.sheet}function P(e,t,n){e.insertBefore(t,n||null)}function H(e){e.parentNode&&e.parentNode.removeChild(e)}function Ar(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function T(e){return document.createElement(e)}function be(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function j(e){return document.createTextNode(e)}function G(){return j(" ")}function Rt(){return j("")}function ze(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function f(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Z(e,t,n){const r=t.toLowerCase();r in e?e[r]=typeof e[r]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:f(e,t,n)}function zi(e){return Array.from(e.childNodes)}function F(e,t){t=""+t,e.data!==t&&(e.data=t)}function Wi(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}class Vi{constructor(t=!1){ue(this,"is_svg",!1);ue(this,"e");ue(this,"n");ue(this,"t");ue(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,r=null){this.e||(this.is_svg?this.e=be(n.nodeName):this.e=T(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(t)),this.i(r)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let n=0;n<this.n.length;n+=1)P(this.t,this.n[n],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(H)}}function Zi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const Ht=new Map;let Mt=0;function Yi(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function Xi(e,t){const n={stylesheet:Fi(t),rules:{}};return Ht.set(e,n),n}function kr(e,t,n,r,i,o,s,a=0){const u=16.666/r;let l=`{
1
+ "use strict";var ki=Object.defineProperty,Ii=Object.defineProperties;var Li=Object.getOwnPropertyDescriptors;var Dn=Object.getOwnPropertySymbols;var Oi=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable;var Ft=(e,t,n)=>t in e?ki(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bt=(e,t)=>{for(var n in t||(t={}))Oi.call(t,n)&&Ft(e,n,t[n]);if(Dn)for(var n of Dn(t))Di.call(t,n)&&Ft(e,n,t[n]);return e},Rn=(e,t)=>Ii(e,Li(t));var ue=(e,t,n)=>(Ft(e,typeof t!="symbol"?t+"":t,n),n);var zt=(e,t,n)=>new Promise((r,i)=>{var o=u=>{try{a(n.next(u))}catch(l){i(l)}},s=u=>{try{a(n.throw(u))}catch(l){i(l)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(o,s);a((n=n.apply(e,t)).next())});function ie(){}const yn=e=>e;function Ri(e,t){for(const n in t)e[n]=t[n];return e}function _r(e){return e()}function $n(){return Object.create(null)}function Ae(e){e.forEach(_r)}function ht(e){return typeof e=="function"}function vn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let yt;function en(e,t){return e===t?!0:(yt||(yt=document.createElement("a")),yt.href=t,e===yt.href)}function $i(e){return Object.keys(e).length===0}function wr(e,...t){if(e==null){for(const r of t)r(void 0);return ie}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function xr(e,t,n){e.$$.on_destroy.push(wr(t,n))}function Ni(e,t,n,r){if(e){const i=Tr(e,t,n,r);return e[0](i)}}function Tr(e,t,n,r){return e[1]&&r?Ri(n.ctx.slice(),e[1](r(t))):n.ctx}function Ui(e,t,n,r){if(e[2]&&r){const i=e[2](r(n));if(t.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(t.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=t.dirty[a]|i[a];return o}return t.dirty|i}return t.dirty}function ji(e,t,n,r,i,o){if(i){const s=Tr(t,n,r,o);e.p(s,i)}}function Gi(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let r=0;r<n;r++)t[r]=-1;return t}return-1}const Sr=typeof window!="undefined";let Er=Sr?()=>window.performance.now():()=>Date.now(),Cn=Sr?e=>requestAnimationFrame(e):ie;const Ge=new Set;function Hr(e){Ge.forEach(t=>{t.c(e)||(Ge.delete(t),t.f())}),Ge.size!==0&&Cn(Hr)}function Mr(e){let t;return Ge.size===0&&Cn(Hr),{promise:new Promise(n=>{Ge.add(t={c:e,f:n})}),abort(){Ge.delete(t)}}}function C(e,t){e.appendChild(t)}function Pr(e,t,n){const r=_n(e);if(!r.getElementById(t)){const i=T("style");i.id=t,i.textContent=n,Br(r,i)}}function _n(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Fi(e){const t=T("style");return t.textContent="/* empty */",Br(_n(e),t),t.sheet}function Br(e,t){return C(e.head||e,t),t.sheet}function P(e,t,n){e.insertBefore(t,n||null)}function H(e){e.parentNode&&e.parentNode.removeChild(e)}function Ar(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function T(e){return document.createElement(e)}function be(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function j(e){return document.createTextNode(e)}function G(){return j(" ")}function Rt(){return j("")}function ze(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function f(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Z(e,t,n){const r=t.toLowerCase();r in e?e[r]=typeof e[r]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:f(e,t,n)}function zi(e){return Array.from(e.childNodes)}function F(e,t){t=""+t,e.data!==t&&(e.data=t)}function Wi(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}class Vi{constructor(t=!1){ue(this,"is_svg",!1);ue(this,"e");ue(this,"n");ue(this,"t");ue(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,r=null){this.e||(this.is_svg?this.e=be(n.nodeName):this.e=T(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(t)),this.i(r)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let n=0;n<this.n.length;n+=1)P(this.t,this.n[n],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(H)}}function Zi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const Ht=new Map;let Mt=0;function Yi(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function Xi(e,t){const n={stylesheet:Fi(t),rules:{}};return Ht.set(e,n),n}function kr(e,t,n,r,i,o,s,a=0){const u=16.666/r;let l=`{
2
2
  `;for(let B=0;B<=1;B+=u){const k=t+(n-t)*o(B);l+=B*100+`%{${s(k,1-k)}}
3
3
  `}const c=l+`100% {${s(n,1-n)}}
4
- }`,h=`__svelte_${Yi(c)}_${a}`,m=Cn(e),{stylesheet:g,rules:v}=Ht.get(m)||Xi(m,e);v[h]||(v[h]=!0,g.insertRule(`@keyframes ${h} ${c}`,g.cssRules.length));const p=e.style.animation||"";return e.style.animation=`${p?`${p}, `:""}${h} ${r}ms linear ${i}ms 1 both`,Mt+=1,h}function en(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?o=>o.indexOf(t)<0:o=>o.indexOf("__svelte")===-1),i=n.length-r.length;i&&(e.style.animation=r.join(", "),Mt-=i,Mt||qi())}function qi(){vn(()=>{Mt||(Ht.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&H(t)}),Ht.clear())})}let at;function st(e){at=e}function Ki(){if(!at)throw new Error("Function called outside component initialization");return at}function Ir(e){Ki().$$.on_mount.push(e)}const Ue=[],ut=[];let Fe=[];const $n=[],Qi=Promise.resolve();let tn=!1;function Ji(){tn||(tn=!0,Qi.then(V))}function We(e){Fe.push(e)}const Wt=new Set;let $e=0;function V(){if($e!==0)return;const e=at;do{try{for(;$e<Ue.length;){const t=Ue[$e];$e++,st(t),eo(t.$$)}}catch(t){throw Ue.length=0,$e=0,t}for(st(null),Ue.length=0,$e=0;ut.length;)ut.pop()();for(let t=0;t<Fe.length;t+=1){const n=Fe[t];Wt.has(n)||(Wt.add(n),n())}Fe.length=0}while(Ue.length);for(;$n.length;)$n.pop()();tn=!1,Wt.clear(),st(e)}function eo(e){if(e.fragment!==null){e.update(),Ae(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(We)}}function to(e){const t=[],n=[];Fe.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),Fe=t}let tt;function Lr(){return tt||(tt=Promise.resolve(),tt.then(()=>{tt=null})),tt}function Pt(e,t,n){e.dispatchEvent(Wi(`${t?"intro":"outro"}${n}`))}const _t=new Set;let Pe;function Or(){Pe={r:0,c:[],p:Pe}}function Dr(){Pe.r||Ae(Pe.c),Pe=Pe.p}function Bt(e,t){e&&e.i&&(_t.delete(e),e.i(t))}function Rr(e,t,n,r){if(e&&e.o){if(_t.has(e))return;_t.add(e),Pe.c.push(()=>{_t.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}const $r={duration:0};function no(e,t,n){const r={direction:"in"};let i=t(e,n,r),o=!1,s,a,u=0;function l(){s&&en(e,s)}function c(){const{delay:m=0,duration:g=300,easing:v=bn,tick:p=ie,css:B}=i||$r;B&&(s=kr(e,0,1,g,m,v,B,u++)),p(0,1);const k=Er()+m,N=k+g;a&&a.abort(),o=!0,We(()=>Pt(e,!0,"start")),a=Mr(A=>{if(o){if(A>=N)return p(1,0),Pt(e,!0,"end"),l(),o=!1;if(A>=k){const Y=v((A-k)/g);p(Y,1-Y)}}return o})}let h=!1;return{start(){h||(h=!0,en(e),ht(i)?(i=i(r),Lr().then(c)):c())},invalidate(){h=!1},end(){o&&(l(),o=!1)}}}function ro(e,t,n){const r={direction:"out"};let i=t(e,n,r),o=!0,s;const a=Pe;a.r+=1;let u;function l(){const{delay:c=0,duration:h=300,easing:m=bn,tick:g=ie,css:v}=i||$r;v&&(s=kr(e,1,0,h,c,m,v));const p=Er()+c,B=p+h;We(()=>Pt(e,!1,"start")),"inert"in e&&(u=e.inert,e.inert=!0),Mr(k=>{if(o){if(k>=B)return g(0,1),Pt(e,!1,"end"),--a.r||Ae(a.c),!1;if(k>=p){const N=m((k-p)/h);g(1-N,N)}}return o})}return ht(i)?Lr().then(()=>{i=i(r),l()}):l(),{end(c){c&&"inert"in e&&(e.inert=u),c&&i.tick&&i.tick(1,0),o&&(s&&en(e,s),o=!1)}}}function At(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function io(e){e&&e.c()}function Nr(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),We(()=>{const o=e.$$.on_mount.map(_r).filter(ht);e.$$.on_destroy?e.$$.on_destroy.push(...o):Ae(o),e.$$.on_mount=[]}),i.forEach(We)}function Ur(e,t){const n=e.$$;n.fragment!==null&&(to(n.after_update),Ae(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function oo(e,t){e.$$.dirty[0]===-1&&(Ue.push(e),Ji(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function jr(e,t,n,r,i,o,s=null,a=[-1]){const u=at;st(e);const l=e.$$={fragment:null,ctx:[],props:o,update:ie,not_equal:i,bound:Rn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:Rn(),dirty:a,skip_bound:!1,root:t.target||u.$$.root};s&&s(l.root);let c=!1;if(l.ctx=n?n(e,t.props||{},(h,m,...g)=>{const v=g.length?g[0]:m;return l.ctx&&i(l.ctx[h],l.ctx[h]=v)&&(!l.skip_bound&&l.bound[h]&&l.bound[h](v),c&&oo(e,h)),m}):[],l.update(),c=!0,Ae(l.before_update),l.fragment=r?r(l.ctx):!1,t.target){if(t.hydrate){const h=zi(t.target);l.fragment&&l.fragment.l(h),h.forEach(H)}else l.fragment&&l.fragment.c();t.intro&&Bt(e.$$.fragment),Nr(e,t.target,t.anchor),V()}st(u)}let Gr;typeof HTMLElement=="function"&&(Gr=class extends HTMLElement{constructor(t,n,r){super();ue(this,"$$ctor");ue(this,"$$s");ue(this,"$$c");ue(this,"$$cn",!1);ue(this,"$$d",{});ue(this,"$$r",!1);ue(this,"$$p_d",{});ue(this,"$$l",{});ue(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return zt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=T("slot"),o!=="default"&&f(s,"name",o)},m:function(l,c){P(l,s,c)},d:function(l){l&&H(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=Zi(this);for(const o of this.$$s)o in r&&(n[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=wt(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Dn(bt({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=wt(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=wt(t,r,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function wt(e,t,n,r){var o;const i=(o=n[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Fr(e,t,n,r,i,o){let s=class extends Gr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){var l;u=wt(a,u,t),this.$$d[a]=u,(l=this.$$c)==null||l.$set({[a]:u})}})}),r.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var u;return(u=this.$$c)==null?void 0:u[a]}})}),e.element=s,s}class zr{constructor(){ue(this,"$$");ue(this,"$$set")}$destroy(){Ur(this,1),this.$destroy=ie}$on(t,n){if(!ht(n))return ie;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!$i(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const so="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(so);function Nn(e,{delay:t=0,duration:n=400,easing:r=bn}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:o=>`opacity: ${o*i}`}}const Ne=[];function ao(e,t){return{subscribe:$t(e,t).subscribe}}function $t(e,t=ie){let n;const r=new Set;function i(a){if(yn(e,a)&&(e=a,n)){const u=!Ne.length;for(const l of r)l[1](),Ne.push(l,e);if(u){for(let l=0;l<Ne.length;l+=2)Ne[l][0](Ne[l+1]);Ne.length=0}}}function o(a){i(a(e))}function s(a,u=ie){const l=[a,u];return r.add(l),r.size===1&&(n=t(i,o)||ie),a(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:i,update:o,subscribe:s}}function qe(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return ao(n,(s,a)=>{let u=!1;const l=[];let c=0,h=ie;const m=()=>{if(c)return;h();const v=t(r?l[0]:l,s,a);o?s(v):h=ht(v)?v:ie},g=i.map((v,p)=>wr(v,B=>{l[p]=B,c&=~(1<<p),u&&m()},()=>{c|=1<<p}));return u=!0,m(),function(){Ae(g),h(),u=!1}})}var Wr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function _n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var uo=function(t){return lo(t)&&!co(t)};function lo(e){return!!e&&typeof e=="object"}function co(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||po(e)}var ho=typeof Symbol=="function"&&Symbol.for,fo=ho?Symbol.for("react.element"):60103;function po(e){return e.$$typeof===fo}function mo(e){return Array.isArray(e)?[]:{}}function lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ve(mo(e),e,t):e}function go(e,t,n){return e.concat(t).map(function(r){return lt(r,n)})}function bo(e,t){if(!t.customMerge)return Ve;var n=t.customMerge(e);return typeof n=="function"?n:Ve}function yo(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Un(e){return Object.keys(e).concat(yo(e))}function Vr(e,t){try{return t in e}catch(n){return!1}}function vo(e,t){return Vr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Co(e,t,n){var r={};return n.isMergeableObject(e)&&Un(e).forEach(function(i){r[i]=lt(e[i],n)}),Un(t).forEach(function(i){vo(e,i)||(Vr(e,i)&&n.isMergeableObject(t[i])?r[i]=bo(i,n)(e[i],t[i],n):r[i]=lt(t[i],n))}),r}function Ve(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||go,n.isMergeableObject=n.isMergeableObject||uo,n.cloneUnlessOtherwiseSpecified=lt;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):Co(e,t,n):lt(t,n)}Ve.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return Ve(r,i,n)},{})};var _o=Ve,wo=_o;const xo=_n(wo);var nn=function(e,t){return nn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},nn(e,t)};function Nt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");nn(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Te=function(){return Te=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Te.apply(this,arguments)};function To(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Vt(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function Zt(e,t){var n=t&&t.cache?t.cache:Ao,r=t&&t.serializer?t.serializer:Po,i=t&&t.strategy?t.strategy:Ho;return i(e,{cache:n,serializer:r})}function So(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Eo(e,t,n,r){var i=So(r)?r:n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,r),t.set(i,o)),o}function Zr(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(i,o)),o}function Yr(e,t,n,r,i){return n.bind(t,e,r,i)}function Ho(e,t){var n=e.length===1?Eo:Zr;return Yr(e,this,n,t.cache.create(),t.serializer)}function Mo(e,t){return Yr(e,this,Zr,t.cache.create(),t.serializer)}var Po=function(){return JSON.stringify(arguments)},Bo=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,n){this.cache[t]=n},e}(),Ao={create:function(){return new Bo}},Yt={variadic:Mo},kt=function(){return kt=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},kt.apply(this,arguments)};var D;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(D||(D={}));var J;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(J||(J={}));var Ze;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ze||(Ze={}));function jn(e){return e.type===J.literal}function ko(e){return e.type===J.argument}function Xr(e){return e.type===J.number}function qr(e){return e.type===J.date}function Kr(e){return e.type===J.time}function Qr(e){return e.type===J.select}function Jr(e){return e.type===J.plural}function Io(e){return e.type===J.pound}function ei(e){return e.type===J.tag}function ti(e){return!!(e&&typeof e=="object"&&e.type===Ze.number)}function rn(e){return!!(e&&typeof e=="object"&&e.type===Ze.dateTime)}var ni=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Lo=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Oo(e){var t={};return e.replace(Lo,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var ee=function(){return ee=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ee.apply(this,arguments)};var Do=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ro(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Do).filter(function(m){return m.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],u=s.slice(1),l=0,c=u;l<c.length;l++){var h=c[l];if(h.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:u})}return n}function $o(e){return e.replace(/^(.*?)-/,"")}var Gn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ri=/^(@+)?(\+|#+)?[rs]?$/g,No=/(\*)(0+)|(#+)(0+)|(0+)/g,ii=/^(0+)$/;function Fn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ri,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function oi(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Uo(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!ii.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function zn(e){var t={},n=oi(e);return n||t}function jo(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=$o(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ee(ee(ee({},t),{notation:"scientific"}),i.options.reduce(function(u,l){return ee(ee({},u),zn(l))},{}));continue;case"engineering":t=ee(ee(ee({},t),{notation:"engineering"}),i.options.reduce(function(u,l){return ee(ee({},u),zn(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(No,function(u,l,c,h,m,g){if(l)t.minimumIntegerDigits=c.length;else{if(h&&m)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ii.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Gn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Gn,function(u,l,c,h,m,g){return c==="*"?t.minimumFractionDigits=l.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:m&&g?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+g.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=ee(ee({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ee(ee({},t),Fn(o)));continue}if(ri.test(i.stem)){t=ee(ee({},t),Fn(i.stem));continue}var s=oi(i.stem);s&&(t=ee(ee({},t),s));var a=Uo(i.stem);a&&(t=ee(ee({},t),a))}return t}var vt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Go(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(o&1),a=o<2?1:3+(o>>1),u="a",l=Fo(t);for((l=="H"||l=="k")&&(a=0);a-- >0;)n+=u;for(;s-- >0;)n=l+n}else i==="J"?n+="H":n+=i}return n}function Fo(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=vt[r||""]||vt[n||""]||vt["".concat(n,"-001")]||vt["001"];return i[0]}var Xt,zo=new RegExp("^".concat(ni.source,"*")),Wo=new RegExp("".concat(ni.source,"*$"));function $(e,t){return{start:e,end:t}}var Vo=!!String.prototype.startsWith&&"_a".startsWith("a",1),Zo=!!String.fromCodePoint,Yo=!!Object.fromEntries,Xo=!!String.prototype.codePointAt,qo=!!String.prototype.trimStart,Ko=!!String.prototype.trimEnd,Qo=!!Number.isSafeInteger,Jo=Qo?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},on=!0;try{var es=ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");on=((Xt=es.exec("a"))===null||Xt===void 0?void 0:Xt[0])==="a"}catch(e){on=!1}var Wn=Vo?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},sn=Zo?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Vn=Yo?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],s=o[0],a=o[1];n[s]=a}return n},si=Xo?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},ts=qo?function(t){return t.trimStart()}:function(t){return t.replace(zo,"")},ns=Ko?function(t){return t.trimEnd()}:function(t){return t.replace(Wo,"")};function ai(e,t){return new RegExp(e,t)}var an;if(on){var Zn=ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");an=function(t,n){var r;Zn.lastIndex=n;var i=Zn.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else an=function(t,n){for(var r=[];;){var i=si(t,n);if(i===void 0||ui(i)||ss(i))break;r.push(i),n+=i>=65536?2:1}return sn.apply(void 0,r)};var rs=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:J.pound,location:$(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(D.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&un(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(i,"/>"),location:$(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!un(this.char()))return this.error(D.INVALID_TAG,$(a,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(D.UNMATCHED_CLOSING_TAG,$(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:i,children:s,location:$(r,this.clonePosition())},err:null}:this.error(D.INVALID_TAG,$(a,this.clonePosition())))}else return this.error(D.UNCLOSED_TAG,$(r,this.clonePosition()))}else return this.error(D.INVALID_TAG,$(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&os(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var u=$(r,this.clonePosition());return{val:{type:J.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!is(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return sn.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),sn(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(D.EMPTY_ARGUMENT,$(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(D.MALFORMED_ARGUMENT,$(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:i,location:$(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(D.MALFORMED_ARGUMENT,$(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=an(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=$(t,o);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(D.EXPECT_ARGUMENT_TYPE,$(s,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var m=ns(h.val);if(m.length===0)return this.error(D.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));var g=$(c,this.clonePosition());l={style:m,styleLocation:g}}var v=this.tryParseArgumentClose(i);if(v.err)return v;var p=$(i,this.clonePosition());if(l&&Wn(l==null?void 0:l.style,"::",0)){var B=ts(l.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(B,l.styleLocation);return h.err?h:{val:{type:J.number,value:r,location:p,style:h.val},err:null}}else{if(B.length===0)return this.error(D.EXPECT_DATE_TIME_SKELETON,p);var k=B;this.locale&&(k=Go(B,this.locale));var m={type:Ze.dateTime,pattern:k,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Oo(k):{}},N=a==="date"?J.date:J.time;return{val:{type:N,value:r,location:p,style:m},err:null}}}return{val:{type:a==="number"?J.number:a==="date"?J.date:J.time,value:r,location:p,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS,$(A,kt({},A)));this.bumpSpace();var Y=this.parseIdentifierIfPossible(),q=0;if(a!=="select"&&Y.value==="offset"){if(!this.bumpIf(":"))return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),Y=this.parseIdentifierIfPossible(),q=h.val}var I=this.tryParsePluralOrSelectOptions(t,a,n,Y);if(I.err)return I;var v=this.tryParseArgumentClose(i);if(v.err)return v;var z=$(i,this.clonePosition());return a==="select"?{val:{type:J.select,value:r,options:Vn(I.val),location:z},err:null}:{val:{type:J.plural,value:r,options:Vn(I.val),offset:q,pluralType:a==="plural"?"cardinal":"ordinal",location:z},err:null}}default:return this.error(D.INVALID_ARGUMENT_TYPE,$(s,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,$(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(D.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Ro(t)}catch(i){return this.error(D.INVALID_NUMBER_SKELETON,n)}return{val:{type:Ze.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?jo(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,s=!1,a=[],u=new Set,l=i.value,c=i.location;;){if(l.length===0){var h=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR,D.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=$(h,this.clonePosition()),l=this.message.slice(h.offset,this.offset())}else break}if(u.has(l))return this.error(n==="select"?D.DUPLICATE_SELECT_ARGUMENT_SELECTOR:D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,n,r);if(v.err)return v;var p=this.tryParseArgumentClose(g);if(p.err)return p;a.push([l,{value:v.val,location:$(g,this.clonePosition())}]),u.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,c=o.location}return a.length===0?this.error(n==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR:D.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(D.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var u=$(i,this.clonePosition());return o?(s*=r,Jo(s)?{val:s,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=si(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Wn(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ui(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function un(e){return e>=97&&e<=122||e>=65&&e<=90}function is(e){return un(e)||e===47}function os(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function ui(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ss(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function ln(e){e.forEach(function(t){if(delete t.location,Qr(t)||Jr(t))for(var n in t.options)delete t.options[n].location,ln(t.options[n].value);else Xr(t)&&ti(t.style)||(qr(t)||Kr(t))&&rn(t.style)?delete t.style.location:ei(t)&&ln(t.children)})}function as(e,t){t===void 0&&(t={}),t=kt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new rs(e,t).parse();if(n.err){var r=SyntaxError(D[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||ln(n.val),n.val}var Ye;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ye||(Ye={}));var Ut=function(e){Nt(t,e);function t(n,r,i){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Yn=function(e){Nt(t,e);function t(n,r,i,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ye.INVALID_VALUE,o)||this}return t}(Ut),us=function(e){Nt(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Ye.INVALID_VALUE,i)||this}return t}(Ut),ls=function(e){Nt(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Ye.MISSING_VALUE,r)||this}return t}(Ut),de;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(de||(de={}));function cs(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==de.literal||n.type!==de.literal?t.push(n):r.value+=n.value,t},[])}function hs(e){return typeof e=="function"}function xt(e,t,n,r,i,o,s){if(e.length===1&&jn(e[0]))return[{type:de.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(jn(c)){a.push({type:de.literal,value:c.value});continue}if(Io(c)){typeof o=="number"&&a.push({type:de.literal,value:n.getNumberFormat(t).format(o)});continue}var h=c.value;if(!(i&&h in i))throw new ls(h,s);var m=i[h];if(ko(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),a.push({type:typeof m=="string"?de.literal:de.object,value:m});continue}if(qr(c)){var g=typeof c.style=="string"?r.date[c.style]:rn(c.style)?c.style.parsedOptions:void 0;a.push({type:de.literal,value:n.getDateTimeFormat(t,g).format(m)});continue}if(Kr(c)){var g=typeof c.style=="string"?r.time[c.style]:rn(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:de.literal,value:n.getDateTimeFormat(t,g).format(m)});continue}if(Xr(c)){var g=typeof c.style=="string"?r.number[c.style]:ti(c.style)?c.style.parsedOptions:void 0;g&&g.scale&&(m=m*(g.scale||1)),a.push({type:de.literal,value:n.getNumberFormat(t,g).format(m)});continue}if(ei(c)){var v=c.children,p=c.value,B=i[p];if(!hs(B))throw new us(p,"function",s);var k=xt(v,t,n,r,i,o),N=B(k.map(function(q){return q.value}));Array.isArray(N)||(N=[N]),a.push.apply(a,N.map(function(q){return{type:typeof q=="string"?de.literal:de.object,value:q}}))}if(Qr(c)){var A=c.options[m]||c.options.other;if(!A)throw new Yn(c.value,m,Object.keys(c.options),s);a.push.apply(a,xt(A.value,t,n,r,i));continue}if(Jr(c)){var A=c.options["=".concat(m)];if(!A){if(!Intl.PluralRules)throw new Ut(`Intl.PluralRules is not available in this environment.
4
+ }`,h=`__svelte_${Yi(c)}_${a}`,m=_n(e),{stylesheet:g,rules:v}=Ht.get(m)||Xi(m,e);v[h]||(v[h]=!0,g.insertRule(`@keyframes ${h} ${c}`,g.cssRules.length));const d=e.style.animation||"";return e.style.animation=`${d?`${d}, `:""}${h} ${r}ms linear ${i}ms 1 both`,Mt+=1,h}function tn(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?o=>o.indexOf(t)<0:o=>o.indexOf("__svelte")===-1),i=n.length-r.length;i&&(e.style.animation=r.join(", "),Mt-=i,Mt||qi())}function qi(){Cn(()=>{Mt||(Ht.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&H(t)}),Ht.clear())})}let at;function st(e){at=e}function Ki(){if(!at)throw new Error("Function called outside component initialization");return at}function Ir(e){Ki().$$.on_mount.push(e)}const Ue=[],ut=[];let Fe=[];const Nn=[],Qi=Promise.resolve();let nn=!1;function Ji(){nn||(nn=!0,Qi.then(V))}function We(e){Fe.push(e)}const Wt=new Set;let $e=0;function V(){if($e!==0)return;const e=at;do{try{for(;$e<Ue.length;){const t=Ue[$e];$e++,st(t),eo(t.$$)}}catch(t){throw Ue.length=0,$e=0,t}for(st(null),Ue.length=0,$e=0;ut.length;)ut.pop()();for(let t=0;t<Fe.length;t+=1){const n=Fe[t];Wt.has(n)||(Wt.add(n),n())}Fe.length=0}while(Ue.length);for(;Nn.length;)Nn.pop()();nn=!1,Wt.clear(),st(e)}function eo(e){if(e.fragment!==null){e.update(),Ae(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(We)}}function to(e){const t=[],n=[];Fe.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),Fe=t}let tt;function Lr(){return tt||(tt=Promise.resolve(),tt.then(()=>{tt=null})),tt}function Pt(e,t,n){e.dispatchEvent(Wi(`${t?"intro":"outro"}${n}`))}const _t=new Set;let Pe;function Or(){Pe={r:0,c:[],p:Pe}}function Dr(){Pe.r||Ae(Pe.c),Pe=Pe.p}function Bt(e,t){e&&e.i&&(_t.delete(e),e.i(t))}function Rr(e,t,n,r){if(e&&e.o){if(_t.has(e))return;_t.add(e),Pe.c.push(()=>{_t.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}const $r={duration:0};function no(e,t,n){const r={direction:"in"};let i=t(e,n,r),o=!1,s,a,u=0;function l(){s&&tn(e,s)}function c(){const{delay:m=0,duration:g=300,easing:v=yn,tick:d=ie,css:B}=i||$r;B&&(s=kr(e,0,1,g,m,v,B,u++)),d(0,1);const k=Er()+m,N=k+g;a&&a.abort(),o=!0,We(()=>Pt(e,!0,"start")),a=Mr(A=>{if(o){if(A>=N)return d(1,0),Pt(e,!0,"end"),l(),o=!1;if(A>=k){const Y=v((A-k)/g);d(Y,1-Y)}}return o})}let h=!1;return{start(){h||(h=!0,tn(e),ht(i)?(i=i(r),Lr().then(c)):c())},invalidate(){h=!1},end(){o&&(l(),o=!1)}}}function ro(e,t,n){const r={direction:"out"};let i=t(e,n,r),o=!0,s;const a=Pe;a.r+=1;let u;function l(){const{delay:c=0,duration:h=300,easing:m=yn,tick:g=ie,css:v}=i||$r;v&&(s=kr(e,1,0,h,c,m,v));const d=Er()+c,B=d+h;We(()=>Pt(e,!1,"start")),"inert"in e&&(u=e.inert,e.inert=!0),Mr(k=>{if(o){if(k>=B)return g(0,1),Pt(e,!1,"end"),--a.r||Ae(a.c),!1;if(k>=d){const N=m((k-d)/h);g(1-N,N)}}return o})}return ht(i)?Lr().then(()=>{i=i(r),l()}):l(),{end(c){c&&"inert"in e&&(e.inert=u),c&&i.tick&&i.tick(1,0),o&&(s&&tn(e,s),o=!1)}}}function At(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function io(e){e&&e.c()}function Nr(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),We(()=>{const o=e.$$.on_mount.map(_r).filter(ht);e.$$.on_destroy?e.$$.on_destroy.push(...o):Ae(o),e.$$.on_mount=[]}),i.forEach(We)}function Ur(e,t){const n=e.$$;n.fragment!==null&&(to(n.after_update),Ae(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function oo(e,t){e.$$.dirty[0]===-1&&(Ue.push(e),Ji(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function jr(e,t,n,r,i,o,s=null,a=[-1]){const u=at;st(e);const l=e.$$={fragment:null,ctx:[],props:o,update:ie,not_equal:i,bound:$n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:$n(),dirty:a,skip_bound:!1,root:t.target||u.$$.root};s&&s(l.root);let c=!1;if(l.ctx=n?n(e,t.props||{},(h,m,...g)=>{const v=g.length?g[0]:m;return l.ctx&&i(l.ctx[h],l.ctx[h]=v)&&(!l.skip_bound&&l.bound[h]&&l.bound[h](v),c&&oo(e,h)),m}):[],l.update(),c=!0,Ae(l.before_update),l.fragment=r?r(l.ctx):!1,t.target){if(t.hydrate){const h=zi(t.target);l.fragment&&l.fragment.l(h),h.forEach(H)}else l.fragment&&l.fragment.c();t.intro&&Bt(e.$$.fragment),Nr(e,t.target,t.anchor),V()}st(u)}let Gr;typeof HTMLElement=="function"&&(Gr=class extends HTMLElement{constructor(t,n,r){super();ue(this,"$$ctor");ue(this,"$$s");ue(this,"$$c");ue(this,"$$cn",!1);ue(this,"$$d",{});ue(this,"$$r",!1);ue(this,"$$p_d",{});ue(this,"$$l",{});ue(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return zt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=T("slot"),o!=="default"&&f(s,"name",o)},m:function(l,c){P(l,s,c)},d:function(l){l&&H(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=Zi(this);for(const o of this.$$s)o in r&&(n[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=wt(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Rn(bt({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=wt(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=wt(t,r,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function wt(e,t,n,r){var o;const i=(o=n[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Fr(e,t,n,r,i,o){let s=class extends Gr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){var l;u=wt(a,u,t),this.$$d[a]=u,(l=this.$$c)==null||l.$set({[a]:u})}})}),r.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var u;return(u=this.$$c)==null?void 0:u[a]}})}),e.element=s,s}class zr{constructor(){ue(this,"$$");ue(this,"$$set")}$destroy(){Ur(this,1),this.$destroy=ie}$on(t,n){if(!ht(n))return ie;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!$i(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const so="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(so);function Un(e,{delay:t=0,duration:n=400,easing:r=yn}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:o=>`opacity: ${o*i}`}}const Ne=[];function ao(e,t){return{subscribe:$t(e,t).subscribe}}function $t(e,t=ie){let n;const r=new Set;function i(a){if(vn(e,a)&&(e=a,n)){const u=!Ne.length;for(const l of r)l[1](),Ne.push(l,e);if(u){for(let l=0;l<Ne.length;l+=2)Ne[l][0](Ne[l+1]);Ne.length=0}}}function o(a){i(a(e))}function s(a,u=ie){const l=[a,u];return r.add(l),r.size===1&&(n=t(i,o)||ie),a(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:i,update:o,subscribe:s}}function qe(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return ao(n,(s,a)=>{let u=!1;const l=[];let c=0,h=ie;const m=()=>{if(c)return;h();const v=t(r?l[0]:l,s,a);o?s(v):h=ht(v)?v:ie},g=i.map((v,d)=>wr(v,B=>{l[d]=B,c&=~(1<<d),u&&m()},()=>{c|=1<<d}));return u=!0,m(),function(){Ae(g),h(),u=!1}})}var Wr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function wn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var uo=function(t){return lo(t)&&!co(t)};function lo(e){return!!e&&typeof e=="object"}function co(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||po(e)}var ho=typeof Symbol=="function"&&Symbol.for,fo=ho?Symbol.for("react.element"):60103;function po(e){return e.$$typeof===fo}function mo(e){return Array.isArray(e)?[]:{}}function lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ve(mo(e),e,t):e}function go(e,t,n){return e.concat(t).map(function(r){return lt(r,n)})}function bo(e,t){if(!t.customMerge)return Ve;var n=t.customMerge(e);return typeof n=="function"?n:Ve}function yo(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function jn(e){return Object.keys(e).concat(yo(e))}function Vr(e,t){try{return t in e}catch(n){return!1}}function vo(e,t){return Vr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Co(e,t,n){var r={};return n.isMergeableObject(e)&&jn(e).forEach(function(i){r[i]=lt(e[i],n)}),jn(t).forEach(function(i){vo(e,i)||(Vr(e,i)&&n.isMergeableObject(t[i])?r[i]=bo(i,n)(e[i],t[i],n):r[i]=lt(t[i],n))}),r}function Ve(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||go,n.isMergeableObject=n.isMergeableObject||uo,n.cloneUnlessOtherwiseSpecified=lt;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):Co(e,t,n):lt(t,n)}Ve.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return Ve(r,i,n)},{})};var _o=Ve,wo=_o;const xo=wn(wo);var rn=function(e,t){return rn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},rn(e,t)};function Nt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");rn(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Te=function(){return Te=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Te.apply(this,arguments)};function To(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Vt(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function Zt(e,t){var n=t&&t.cache?t.cache:Ao,r=t&&t.serializer?t.serializer:Po,i=t&&t.strategy?t.strategy:Ho;return i(e,{cache:n,serializer:r})}function So(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Eo(e,t,n,r){var i=So(r)?r:n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,r),t.set(i,o)),o}function Zr(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(i,o)),o}function Yr(e,t,n,r,i){return n.bind(t,e,r,i)}function Ho(e,t){var n=e.length===1?Eo:Zr;return Yr(e,this,n,t.cache.create(),t.serializer)}function Mo(e,t){return Yr(e,this,Zr,t.cache.create(),t.serializer)}var Po=function(){return JSON.stringify(arguments)},Bo=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,n){this.cache[t]=n},e}(),Ao={create:function(){return new Bo}},Yt={variadic:Mo},kt=function(){return kt=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},kt.apply(this,arguments)};var D;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(D||(D={}));var J;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(J||(J={}));var Ze;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ze||(Ze={}));function Gn(e){return e.type===J.literal}function ko(e){return e.type===J.argument}function Xr(e){return e.type===J.number}function qr(e){return e.type===J.date}function Kr(e){return e.type===J.time}function Qr(e){return e.type===J.select}function Jr(e){return e.type===J.plural}function Io(e){return e.type===J.pound}function ei(e){return e.type===J.tag}function ti(e){return!!(e&&typeof e=="object"&&e.type===Ze.number)}function on(e){return!!(e&&typeof e=="object"&&e.type===Ze.dateTime)}var ni=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Lo=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Oo(e){var t={};return e.replace(Lo,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var ee=function(){return ee=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ee.apply(this,arguments)};var Do=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ro(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Do).filter(function(m){return m.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],u=s.slice(1),l=0,c=u;l<c.length;l++){var h=c[l];if(h.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:u})}return n}function $o(e){return e.replace(/^(.*?)-/,"")}var Fn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ri=/^(@+)?(\+|#+)?[rs]?$/g,No=/(\*)(0+)|(#+)(0+)|(0+)/g,ii=/^(0+)$/;function zn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ri,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function oi(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Uo(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!ii.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Wn(e){var t={},n=oi(e);return n||t}function jo(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=$o(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ee(ee(ee({},t),{notation:"scientific"}),i.options.reduce(function(u,l){return ee(ee({},u),Wn(l))},{}));continue;case"engineering":t=ee(ee(ee({},t),{notation:"engineering"}),i.options.reduce(function(u,l){return ee(ee({},u),Wn(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(No,function(u,l,c,h,m,g){if(l)t.minimumIntegerDigits=c.length;else{if(h&&m)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ii.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Fn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Fn,function(u,l,c,h,m,g){return c==="*"?t.minimumFractionDigits=l.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:m&&g?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+g.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=ee(ee({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ee(ee({},t),zn(o)));continue}if(ri.test(i.stem)){t=ee(ee({},t),zn(i.stem));continue}var s=oi(i.stem);s&&(t=ee(ee({},t),s));var a=Uo(i.stem);a&&(t=ee(ee({},t),a))}return t}var vt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Go(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(o&1),a=o<2?1:3+(o>>1),u="a",l=Fo(t);for((l=="H"||l=="k")&&(a=0);a-- >0;)n+=u;for(;s-- >0;)n=l+n}else i==="J"?n+="H":n+=i}return n}function Fo(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=vt[r||""]||vt[n||""]||vt["".concat(n,"-001")]||vt["001"];return i[0]}var Xt,zo=new RegExp("^".concat(ni.source,"*")),Wo=new RegExp("".concat(ni.source,"*$"));function $(e,t){return{start:e,end:t}}var Vo=!!String.prototype.startsWith&&"_a".startsWith("a",1),Zo=!!String.fromCodePoint,Yo=!!Object.fromEntries,Xo=!!String.prototype.codePointAt,qo=!!String.prototype.trimStart,Ko=!!String.prototype.trimEnd,Qo=!!Number.isSafeInteger,Jo=Qo?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},sn=!0;try{var es=ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");sn=((Xt=es.exec("a"))===null||Xt===void 0?void 0:Xt[0])==="a"}catch(e){sn=!1}var Vn=Vo?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},an=Zo?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Zn=Yo?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],s=o[0],a=o[1];n[s]=a}return n},si=Xo?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},ts=qo?function(t){return t.trimStart()}:function(t){return t.replace(zo,"")},ns=Ko?function(t){return t.trimEnd()}:function(t){return t.replace(Wo,"")};function ai(e,t){return new RegExp(e,t)}var un;if(sn){var Yn=ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");un=function(t,n){var r;Yn.lastIndex=n;var i=Yn.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else un=function(t,n){for(var r=[];;){var i=si(t,n);if(i===void 0||ui(i)||ss(i))break;r.push(i),n+=i>=65536?2:1}return an.apply(void 0,r)};var rs=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:J.pound,location:$(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(D.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&ln(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(i,"/>"),location:$(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ln(this.char()))return this.error(D.INVALID_TAG,$(a,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(D.UNMATCHED_CLOSING_TAG,$(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:i,children:s,location:$(r,this.clonePosition())},err:null}:this.error(D.INVALID_TAG,$(a,this.clonePosition())))}else return this.error(D.UNCLOSED_TAG,$(r,this.clonePosition()))}else return this.error(D.INVALID_TAG,$(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&os(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var u=$(r,this.clonePosition());return{val:{type:J.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!is(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return an.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),an(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(D.EMPTY_ARGUMENT,$(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(D.MALFORMED_ARGUMENT,$(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:i,location:$(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(D.MALFORMED_ARGUMENT,$(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=un(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=$(t,o);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(D.EXPECT_ARGUMENT_TYPE,$(s,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var m=ns(h.val);if(m.length===0)return this.error(D.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));var g=$(c,this.clonePosition());l={style:m,styleLocation:g}}var v=this.tryParseArgumentClose(i);if(v.err)return v;var d=$(i,this.clonePosition());if(l&&Vn(l==null?void 0:l.style,"::",0)){var B=ts(l.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(B,l.styleLocation);return h.err?h:{val:{type:J.number,value:r,location:d,style:h.val},err:null}}else{if(B.length===0)return this.error(D.EXPECT_DATE_TIME_SKELETON,d);var k=B;this.locale&&(k=Go(B,this.locale));var m={type:Ze.dateTime,pattern:k,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Oo(k):{}},N=a==="date"?J.date:J.time;return{val:{type:N,value:r,location:d,style:m},err:null}}}return{val:{type:a==="number"?J.number:a==="date"?J.date:J.time,value:r,location:d,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS,$(A,kt({},A)));this.bumpSpace();var Y=this.parseIdentifierIfPossible(),q=0;if(a!=="select"&&Y.value==="offset"){if(!this.bumpIf(":"))return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),Y=this.parseIdentifierIfPossible(),q=h.val}var I=this.tryParsePluralOrSelectOptions(t,a,n,Y);if(I.err)return I;var v=this.tryParseArgumentClose(i);if(v.err)return v;var z=$(i,this.clonePosition());return a==="select"?{val:{type:J.select,value:r,options:Zn(I.val),location:z},err:null}:{val:{type:J.plural,value:r,options:Zn(I.val),offset:q,pluralType:a==="plural"?"cardinal":"ordinal",location:z},err:null}}default:return this.error(D.INVALID_ARGUMENT_TYPE,$(s,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,$(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(D.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Ro(t)}catch(i){return this.error(D.INVALID_NUMBER_SKELETON,n)}return{val:{type:Ze.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?jo(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,s=!1,a=[],u=new Set,l=i.value,c=i.location;;){if(l.length===0){var h=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR,D.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=$(h,this.clonePosition()),l=this.message.slice(h.offset,this.offset())}else break}if(u.has(l))return this.error(n==="select"?D.DUPLICATE_SELECT_ARGUMENT_SELECTOR:D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,n,r);if(v.err)return v;var d=this.tryParseArgumentClose(g);if(d.err)return d;a.push([l,{value:v.val,location:$(g,this.clonePosition())}]),u.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,c=o.location}return a.length===0?this.error(n==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR:D.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(D.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var u=$(i,this.clonePosition());return o?(s*=r,Jo(s)?{val:s,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=si(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Vn(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ui(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function ln(e){return e>=97&&e<=122||e>=65&&e<=90}function is(e){return ln(e)||e===47}function os(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function ui(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ss(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function cn(e){e.forEach(function(t){if(delete t.location,Qr(t)||Jr(t))for(var n in t.options)delete t.options[n].location,cn(t.options[n].value);else Xr(t)&&ti(t.style)||(qr(t)||Kr(t))&&on(t.style)?delete t.style.location:ei(t)&&cn(t.children)})}function as(e,t){t===void 0&&(t={}),t=kt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new rs(e,t).parse();if(n.err){var r=SyntaxError(D[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||cn(n.val),n.val}var Ye;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ye||(Ye={}));var Ut=function(e){Nt(t,e);function t(n,r,i){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Xn=function(e){Nt(t,e);function t(n,r,i,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ye.INVALID_VALUE,o)||this}return t}(Ut),us=function(e){Nt(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Ye.INVALID_VALUE,i)||this}return t}(Ut),ls=function(e){Nt(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Ye.MISSING_VALUE,r)||this}return t}(Ut),pe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(pe||(pe={}));function cs(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==pe.literal||n.type!==pe.literal?t.push(n):r.value+=n.value,t},[])}function hs(e){return typeof e=="function"}function xt(e,t,n,r,i,o,s){if(e.length===1&&Gn(e[0]))return[{type:pe.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(Gn(c)){a.push({type:pe.literal,value:c.value});continue}if(Io(c)){typeof o=="number"&&a.push({type:pe.literal,value:n.getNumberFormat(t).format(o)});continue}var h=c.value;if(!(i&&h in i))throw new ls(h,s);var m=i[h];if(ko(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),a.push({type:typeof m=="string"?pe.literal:pe.object,value:m});continue}if(qr(c)){var g=typeof c.style=="string"?r.date[c.style]:on(c.style)?c.style.parsedOptions:void 0;a.push({type:pe.literal,value:n.getDateTimeFormat(t,g).format(m)});continue}if(Kr(c)){var g=typeof c.style=="string"?r.time[c.style]:on(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:pe.literal,value:n.getDateTimeFormat(t,g).format(m)});continue}if(Xr(c)){var g=typeof c.style=="string"?r.number[c.style]:ti(c.style)?c.style.parsedOptions:void 0;g&&g.scale&&(m=m*(g.scale||1)),a.push({type:pe.literal,value:n.getNumberFormat(t,g).format(m)});continue}if(ei(c)){var v=c.children,d=c.value,B=i[d];if(!hs(B))throw new us(d,"function",s);var k=xt(v,t,n,r,i,o),N=B(k.map(function(q){return q.value}));Array.isArray(N)||(N=[N]),a.push.apply(a,N.map(function(q){return{type:typeof q=="string"?pe.literal:pe.object,value:q}}))}if(Qr(c)){var A=c.options[m]||c.options.other;if(!A)throw new Xn(c.value,m,Object.keys(c.options),s);a.push.apply(a,xt(A.value,t,n,r,i));continue}if(Jr(c)){var A=c.options["=".concat(m)];if(!A){if(!Intl.PluralRules)throw new Ut(`Intl.PluralRules is not available in this environment.
5
5
  Try polyfilling it using "@formatjs/intl-pluralrules"
6
- `,Ye.MISSING_INTL_API,s);var Y=n.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));A=c.options[Y]||c.options.other}if(!A)throw new Yn(c.value,m,Object.keys(c.options),s);a.push.apply(a,xt(A.value,t,n,r,i,m-(c.offset||0)));continue}}return cs(a)}function fs(e,t){return t?Te(Te(Te({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=Te(Te({},e[r]),t[r]||{}),n},{})):e}function ds(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=fs(e[r],t[r]),n},Te({},e)):e}function qt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function ps(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Zt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Vt([void 0],n,!1)))},{cache:qt(e.number),strategy:Yt.variadic}),getDateTimeFormat:Zt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Vt([void 0],n,!1)))},{cache:qt(e.dateTime),strategy:Yt.variadic}),getPluralRules:Zt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Vt([void 0],n,!1)))},{cache:qt(e.pluralRules),strategy:Yt.variadic})}}var li=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=o.formatToParts(u);if(l.length===1)return l[0].value;var c=l.reduce(function(h,m){return!h.length||m.type!==de.literal||typeof h[h.length-1]!="string"?h.push(m.value):h[h.length-1]+=m.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return xt(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=To(s,["formatters"]);this.ast=e.__parse(t,Te(Te({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ds(e.formats,r),this.formatters=i&&i.formatters||ps(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=as,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function ms(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const o=n.slice(i,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[i]]}else r=void 0;return r}const Be={},gs=(e,t,n)=>n&&(t in Be||(Be[t]={}),e in Be[t]||(Be[t][e]=n),n),ci=(e,t)=>{if(t==null)return;if(t in Be&&e in Be[t])return Be[t][e];const n=dt(t);for(let r=0;r<n.length;r++){const i=n[r],o=ys(i,e);if(o)return gs(e,t,o)}};let wn;const ft=$t({});function bs(e){return wn[e]||null}function hi(e){return e in wn}function ys(e,t){if(!hi(e))return null;const n=bs(e);return ms(n,t)}function vs(e){if(e==null)return;const t=dt(e);for(let n=0;n<t.length;n++){const r=t[n];if(hi(r))return r}}function xn(e,...t){delete Be[e],ft.update(n=>(n[e]=xo.all([n[e]||{},...t]),n))}qe([ft],([e])=>Object.keys(e));ft.subscribe(e=>wn=e);const Tt={};function Cs(e,t){Tt[e].delete(t),Tt[e].size===0&&delete Tt[e]}function fi(e){return Tt[e]}function _s(e){return dt(e).map(t=>{const n=fi(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function It(e){return e==null?!1:dt(e).some(t=>{var n;return(n=fi(t))==null?void 0:n.size})}function ws(e,t){return Promise.all(t.map(r=>(Cs(e,r),r().then(i=>i.default||i)))).then(r=>xn(e,...r))}const nt={};function di(e){if(!It(e))return e in nt?nt[e]:Promise.resolve();const t=_s(e);return nt[e]=Promise.all(t.map(([n,r])=>ws(n,r))).then(()=>{if(It(e))return di(e);delete nt[e]}),nt[e]}var Xn=Object.getOwnPropertySymbols,xs=Object.prototype.hasOwnProperty,Ts=Object.prototype.propertyIsEnumerable,Ss=(e,t)=>{var n={};for(var r in e)xs.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Xn)for(var r of Xn(e))t.indexOf(r)<0&&Ts.call(e,r)&&(n[r]=e[r]);return n};const Es={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function Hs({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${dt(e).join('", "')}".${It(ke())?`
6
+ `,Ye.MISSING_INTL_API,s);var Y=n.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));A=c.options[Y]||c.options.other}if(!A)throw new Xn(c.value,m,Object.keys(c.options),s);a.push.apply(a,xt(A.value,t,n,r,i,m-(c.offset||0)));continue}}return cs(a)}function fs(e,t){return t?Te(Te(Te({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=Te(Te({},e[r]),t[r]||{}),n},{})):e}function ps(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=fs(e[r],t[r]),n},Te({},e)):e}function qt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function ds(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Zt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Vt([void 0],n,!1)))},{cache:qt(e.number),strategy:Yt.variadic}),getDateTimeFormat:Zt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Vt([void 0],n,!1)))},{cache:qt(e.dateTime),strategy:Yt.variadic}),getPluralRules:Zt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Vt([void 0],n,!1)))},{cache:qt(e.pluralRules),strategy:Yt.variadic})}}var li=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=o.formatToParts(u);if(l.length===1)return l[0].value;var c=l.reduce(function(h,m){return!h.length||m.type!==pe.literal||typeof h[h.length-1]!="string"?h.push(m.value):h[h.length-1]+=m.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return xt(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=To(s,["formatters"]);this.ast=e.__parse(t,Te(Te({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ps(e.formats,r),this.formatters=i&&i.formatters||ds(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=as,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function ms(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const o=n.slice(i,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[i]]}else r=void 0;return r}const Be={},gs=(e,t,n)=>n&&(t in Be||(Be[t]={}),e in Be[t]||(Be[t][e]=n),n),ci=(e,t)=>{if(t==null)return;if(t in Be&&e in Be[t])return Be[t][e];const n=pt(t);for(let r=0;r<n.length;r++){const i=n[r],o=ys(i,e);if(o)return gs(e,t,o)}};let xn;const ft=$t({});function bs(e){return xn[e]||null}function hi(e){return e in xn}function ys(e,t){if(!hi(e))return null;const n=bs(e);return ms(n,t)}function vs(e){if(e==null)return;const t=pt(e);for(let n=0;n<t.length;n++){const r=t[n];if(hi(r))return r}}function Tn(e,...t){delete Be[e],ft.update(n=>(n[e]=xo.all([n[e]||{},...t]),n))}qe([ft],([e])=>Object.keys(e));ft.subscribe(e=>xn=e);const Tt={};function Cs(e,t){Tt[e].delete(t),Tt[e].size===0&&delete Tt[e]}function fi(e){return Tt[e]}function _s(e){return pt(e).map(t=>{const n=fi(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function It(e){return e==null?!1:pt(e).some(t=>{var n;return(n=fi(t))==null?void 0:n.size})}function ws(e,t){return Promise.all(t.map(r=>(Cs(e,r),r().then(i=>i.default||i)))).then(r=>Tn(e,...r))}const nt={};function pi(e){if(!It(e))return e in nt?nt[e]:Promise.resolve();const t=_s(e);return nt[e]=Promise.all(t.map(([n,r])=>ws(n,r))).then(()=>{if(It(e))return pi(e);delete nt[e]}),nt[e]}var qn=Object.getOwnPropertySymbols,xs=Object.prototype.hasOwnProperty,Ts=Object.prototype.propertyIsEnumerable,Ss=(e,t)=>{var n={};for(var r in e)xs.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&qn)for(var r of qn(e))t.indexOf(r)<0&&Ts.call(e,r)&&(n[r]=e[r]);return n};const Es={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function Hs({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${pt(e).join('", "')}".${It(ke())?`
7
7
 
8
- Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Ms={fallbackLocale:null,loadingDelay:200,formats:Es,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},rt=Ms;function Xe(){return rt}function pi(e){const t=e,{formats:n}=t,r=Ss(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{li.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(o){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,r.handleMissingMessage==null?r.handleMissingMessage=Hs:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(rt,r,{initialLocale:i}),n&&("number"in n&&Object.assign(rt.formats.number,n.number),"date"in n&&Object.assign(rt.formats.date,n.date),"time"in n&&Object.assign(rt.formats.time,n.time)),Ie.set(i)}const Kt=$t(!1);var Ps=Object.defineProperty,Bs=Object.defineProperties,As=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,ks=Object.prototype.hasOwnProperty,Is=Object.prototype.propertyIsEnumerable,Kn=(e,t,n)=>t in e?Ps(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ls=(e,t)=>{for(var n in t||(t={}))ks.call(t,n)&&Kn(e,n,t[n]);if(qn)for(var n of qn(t))Is.call(t,n)&&Kn(e,n,t[n]);return e},Os=(e,t)=>Bs(e,As(t));let cn;const Lt=$t(null);function Qn(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function dt(e,t=Xe().fallbackLocale){const n=Qn(e);return t?[...new Set([...n,...Qn(t)])]:n}function ke(){return cn!=null?cn:void 0}Lt.subscribe(e=>{cn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ds=e=>{if(e&&vs(e)&&It(e)){const{loadingDelay:t}=Xe();let n;return typeof window!="undefined"&&ke()!=null&&t?n=window.setTimeout(()=>Kt.set(!0),t):Kt.set(!0),di(e).then(()=>{Lt.set(e)}).finally(()=>{clearTimeout(n),Kt.set(!1)})}return Lt.set(e)},Ie=Os(Ls({},Lt),{set:Ds}),jt=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var Rs=Object.defineProperty,Ot=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable,Jn=(e,t,n)=>t in e?Rs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tn=(e,t)=>{for(var n in t||(t={}))mi.call(t,n)&&Jn(e,n,t[n]);if(Ot)for(var n of Ot(t))gi.call(t,n)&&Jn(e,n,t[n]);return e},Ke=(e,t)=>{var n={};for(var r in e)mi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ot)for(var r of Ot(e))t.indexOf(r)<0&&gi.call(e,r)&&(n[r]=e[r]);return n};const ct=(e,t)=>{const{formats:n}=Xe();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},$s=jt(e=>{var t=e,{locale:n,format:r}=t,i=Ke(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=ct("number",r)),new Intl.NumberFormat(n,i)}),Ns=jt(e=>{var t=e,{locale:n,format:r}=t,i=Ke(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=ct("date",r):Object.keys(i).length===0&&(i=ct("date","short")),new Intl.DateTimeFormat(n,i)}),Us=jt(e=>{var t=e,{locale:n,format:r}=t,i=Ke(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=ct("time",r):Object.keys(i).length===0&&(i=ct("time","short")),new Intl.DateTimeFormat(n,i)}),js=(e={})=>{var t=e,{locale:n=ke()}=t,r=Ke(t,["locale"]);return $s(Tn({locale:n},r))},Gs=(e={})=>{var t=e,{locale:n=ke()}=t,r=Ke(t,["locale"]);return Ns(Tn({locale:n},r))},Fs=(e={})=>{var t=e,{locale:n=ke()}=t,r=Ke(t,["locale"]);return Us(Tn({locale:n},r))},zs=jt((e,t=ke())=>new li(e,t,Xe().formats,{ignoreTag:Xe().ignoreTag})),Ws=(e,t={})=>{var n,r,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:u=ke(),default:l}=s;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=ci(e,u);if(!c)c=(o=(i=(r=(n=Xe()).handleMissingMessage)==null?void 0:r.call(n,{locale:u,id:e,defaultValue:l}))!=null?i:l)!=null?o:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!a)return c;let h=c;try{h=zs(c,u).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},Vs=(e,t)=>Fs(t).format(e),Zs=(e,t)=>Gs(t).format(e),Ys=(e,t)=>js(t).format(e),Xs=(e,t=ke())=>ci(e,t),bi=qe([Ie,ft],()=>Ws);qe([Ie],()=>Vs);qe([Ie],()=>Zs);qe([Ie],()=>Ys);qe([Ie,ft],()=>Xs);function er(e,t){xn(e,t)}function qs(e){pi({fallbackLocale:"en"}),Ie.set(e)}const tr={en:{amount:"Amount",status:"Status",transactionId:"Transaction ID",payemntMethod:"Payment Method",paymentTime:"Payment Time",backHome:"Back to home",makeAnotherTransaction:"Make another transaction",backDeposit:"Back to deposit",backWithdraw:"Back to withdraw",tryAgainButton:"Try Again",refreshButton:"Check your status",success:"Success",pending:"Pending",failed:"Error",canceled:"Error",rejected:"Rejected",copyTransactionId:"Copied!",deposit:{success:{amount:"{amount}",title:"Deposit Success!",text:"Your deposit is successful"},pending:{amount:"{amount}",title:"Transaction is in pending",text:"Your payment will be deposited soon"},reject:{title:"Deposit Rejected",subTitle:"",text:"Unfortunately, your deposit was been rejected"},fail:{amount:" ",title:"Deposit Failed!",text:"Unfortunately, your deposit did not go through."},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Withdrawn from your account",title:"Withdraw success!",text:"Your withdrawal is successful"},pending:{title:"Withdraw pending",subTitle:"Withdrawn from your account",text:"Thank you. Your withdrawal is being processed."},reject:{title:"Withdraw rejected",subTitle:" ",text:"Unfortunately, your withdraw was been rejected"},fail:{title:"Withdraw failed",subTitle:" ",text:"Unfortunately, your withdraw did not go through."},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},reference:"Reference ID: {code}",close:"CLOSE",receipt:{maintenance:{title:"We'll Be Back Soon",text:"We are down for a scheduled maintenance and expect to be back online in a few minutes"}},goToPromotions:"Promotions",goToTournaments:"Tournaments",goToSupport:"Contact Support",goToMerchantHomePage:"Merchant's Home Website",goToSports:"Sports",goToCasino:"Casino",goToLiveCasino:"Live Casino",externalLink:"External Link",uploadDocuments:"Upload Documents",goToHomepage:"Go To Homepage"},tr:{amount:"Tutar",status:"Durum",transactionId:"İşlem Kimliği",payemntMethod:"Ödeme Yöntemi",paymentTime:"Ödeme Zamanı",backDeposit:"Yatırıma geri dön",backWithdraw:"Çekime geri dön",backHome:"Ana sayfaya dön",makeAnotherTransaction:"Başka bir işlem yap",tryAgainButton:"Tekrar Dene",refreshButton:"Durumunu Kontrol Et",success:"Başarılı",pending:"Beklemede",failed:"Hata",canceled:"Hata",rejected:"Reddedildi",copyTransactionId:"Kopyalandı!",deposit:{success:{amount:"{amount}",title:"Yatırım Başarılı!",text:"Yatırımınız başarıyla gerçekleştirildi"},pending:{amount:"{amount}",title:"İşlem beklemede",text:"Ödemeniz yakında yatırılacak"},reject:{title:"Yatırım Reddedildi",subTitle:"",text:"Maalesef yatırımınız reddedildi"},fail:{amount:" ",title:"Yatırım Başarısız!",text:"Maalesef yatırımınız gerçekleşmedi."},cancel:{title:"İşlemi iptal ettiniz",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Hesabınızdan çekildi",title:"Para Çekme Başarılı!",text:"Para çekme işleminiz başarıyla tamamlandı"},pending:{title:"Çekim beklemede",subTitle:"Hesabınızdan çekildi",text:"Teşekkürler. Çekim işleminiz işleniyor."},reject:{title:"Çekim reddedildi",subTitle:" ",text:"Maalesef çekim işleminiz reddedildi"},fail:{title:"Çekim hatası",subTitle:" ",text:"Maalesef çekim işleminiz gerçekleşmedi."},cancel:{title:"İşlemi iptal ettiniz",subTitle:" ",text:" "}},reference:"Referans Kimliği: {code}",close:"KAPAT",receipt:{maintenance:{title:"Kısa Süreliğine Kapalıyız",text:"Planlı bakım çalışması nedeniyle hizmet veremiyoruz, birkaç dakika içinde geri döneceğiz"}},goToPromotions:"Promosyonlara Git",goToTournaments:"Turnuvalar",goToSupport:"Destek ile İletişime Geç",goToMerchantHomePage:"Satıcının Ana Web Sitesi",goToSports:"Sporlara Git",goToCasino:"Casino",goToLiveCasino:"Canlı Casino",externalLink:"Harici Bağlantı",uploadDocuments:"Belgeleri Yükle",goToHomepage:"Ana Sayfaya Git"},fr:{amount:"Montant",status:"Statut",transactionId:"ID de transaction",payemntMethod:"Moyen de paiement",paymentTime:"Heure du paiement",backHome:"Retour à l'accueil",makeAnotherTransaction:"Effectuer une autre transaction",backDeposit:"Retour au dépôt",backWithdraw:"Retour au retrait",tryAgainButton:"Réessayer",refreshButton:"Vérifier votre statut",success:"Succès",pending:"En attente",failed:"Erreur",canceled:"Erreur",rejected:"Rejeté",copyTransactionId:"Copié !",deposit:{success:{amount:"{amount}",title:"Dépôt réussi !",text:"Votre dépôt a été effectué avec succès"},pending:{amount:"{amount}",title:"Transaction en attente",text:"Votre paiement sera crédité prochainement"},reject:{title:"Dépôt rejeté",subTitle:"",text:"Malheureusement, votre dépôt a été rejeté"},fail:{amount:" ",title:"Échec du dépôt !",text:"Malheureusement, votre dépôt n'a pas abouti."},cancel:{title:"Vous avez annulé la transaction",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Retiré de votre compte",title:"Retrait réussi !",text:"Votre retrait a été effectué avec succès"},pending:{title:"Retrait en attente",subTitle:"Retiré de votre compte",text:"Merci. Votre retrait est en cours de traitement."},reject:{title:"Retrait rejeté",subTitle:" ",text:"Malheureusement, votre retrait a été rejeté"},fail:{title:"Échec du retrait",subTitle:" ",text:"Malheureusement, votre retrait n'a pas abouti."},cancel:{title:"Vous avez annulé la transaction",subTitle:" ",text:" "}},reference:"ID de référence : {code}",close:"FERMER",receipt:{maintenance:{title:"Nous revenons bientôt",text:"Nous sommes en maintenance programmée et prévoyons d'être de nouveau en ligne dans quelques minutes"}},goToPromotions:"Promotions",goToTournaments:"Tournois",goToSupport:"Contacter le support",goToMerchantHomePage:"Site web du marchand",goToSports:"Sports",goToCasino:"Casino",goToLiveCasino:"Casino en direct",externalLink:"Lien externe",uploadDocuments:"Télécharger des documents",goToHomepage:"Aller à la page d'accueil"},da:{amount:"Beløb",status:"Status",transactionId:"Transaktions-ID",payemntMethod:"Betalingsmetode",paymentTime:"Betalingstidspunkt",backHome:"Tilbage til startsiden",makeAnotherTransaction:"Foretag en anden transaktion",backDeposit:"Tilbage til indbetaling",backWithdraw:"Tilbage til udbetaling",tryAgainButton:"Prøv igen",refreshButton:"Tjek din status",success:"Succes",pending:"Afventer",failed:"Fejl",canceled:"Fejl",rejected:"Afvist",copyTransactionId:"Kopieret!",deposit:{success:{amount:"{amount}",title:"Indbetaling lykkedes!",text:"Din indbetaling er gennemført"},pending:{amount:"{amount}",title:"Transaktion afventer",text:"Din betaling vil snart blive krediteret"},reject:{title:"Indbetaling afvist",subTitle:"",text:"Desværre er din indbetaling blevet afvist"},fail:{amount:" ",title:"Indbetaling mislykkedes!",text:"Desværre gik din indbetaling ikke igennem."},cancel:{title:"Du har annulleret transaktionen",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Hævet fra din konto",title:"Udbetaling lykkedes!",text:"Din udbetaling er gennemført"},pending:{title:"Udbetaling afventer",subTitle:"Hævet fra din konto",text:"Tak. Din udbetaling er ved at blive behandlet."},reject:{title:"Udbetaling afvist",subTitle:" ",text:"Desværre er din udbetaling blevet afvist"},fail:{title:"Udbetaling mislykkedes",subTitle:" ",text:"Desværre gik din udbetaling ikke igennem."},cancel:{title:"Du har annulleret transaktionen",subTitle:" ",text:" "}},reference:"Reference-ID: {code}",close:"LUK",receipt:{maintenance:{title:"Vi er snart tilbage",text:"Vi er nede for planlagt vedligeholdelse og forventer at være tilbage online om få minutter"}},goToPromotions:"Kampagner",goToTournaments:"Turneringer",goToSupport:"Kontakt support",goToMerchantHomePage:"Forhandlerens hjemmeside",goToSports:"Sport",goToCasino:"Casino",goToLiveCasino:"Live Casino",externalLink:"Eksternt link",uploadDocuments:"Upload dokumenter",goToHomepage:"Gå til startsiden"},de:{amount:"Betrag",status:"Status",transactionId:"Transaktions-ID",payemntMethod:"Zahlungsmethode",paymentTime:"Zahlungszeit",backHome:"Zurück zur Startseite",makeAnotherTransaction:"Eine weitere Transaktion durchführen",backDeposit:"Zurück zur Einzahlung",backWithdraw:"Zurück zur Auszahlung",tryAgainButton:"Erneut versuchen",refreshButton:"Status prüfen",success:"Erfolgreich",pending:"Ausstehend",failed:"Fehler",canceled:"Fehler",rejected:"Abgelehnt",copyTransactionId:"Kopiert!",deposit:{success:{amount:"{amount}",title:"Einzahlung erfolgreich!",text:"Ihre Einzahlung war erfolgreich"},pending:{amount:"{amount}",title:"Transaktion ausstehend",text:"Ihre Zahlung wird in Kürze gutgeschrieben"},reject:{title:"Einzahlung abgelehnt",subTitle:"",text:"Leider wurde Ihre Einzahlung abgelehnt"},fail:{amount:" ",title:"Einzahlung fehlgeschlagen!",text:"Leider konnte Ihre Einzahlung nicht durchgeführt werden."},cancel:{title:"Sie haben die Transaktion abgebrochen",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Von Ihrem Konto abgebucht",title:"Auszahlung erfolgreich!",text:"Ihre Auszahlung war erfolgreich"},pending:{title:"Auszahlung ausstehend",subTitle:"Von Ihrem Konto abgebucht",text:"Danke. Ihre Auszahlung wird gerade bearbeitet."},reject:{title:"Auszahlung abgelehnt",subTitle:" ",text:"Leider wurde Ihre Auszahlung abgelehnt"},fail:{title:"Auszahlung fehlgeschlagen",subTitle:" ",text:"Leider konnte Ihre Auszahlung nicht durchgeführt werden."},cancel:{title:"Sie haben die Transaktion abgebrochen",subTitle:" ",text:" "}},reference:"Referenz-ID: {code}",close:"SCHLIESSEN",receipt:{maintenance:{title:"Wir sind bald zurück",text:"Wir führen planmäßige Wartungsarbeiten durch und erwarten, in wenigen Minuten wieder online zu sein"}},goToPromotions:"Aktionen",goToTournaments:"Turniere",goToSupport:"Support kontaktieren",goToMerchantHomePage:"Händler-Website",goToSports:"Sport",goToCasino:"Casino",goToLiveCasino:"Live-Casino",externalLink:"Externer Link",uploadDocuments:"Dokumente hochladen",goToHomepage:"Zur Startseite"},nl:{amount:"Bedrag",status:"Status",transactionId:"Transactie-ID",payemntMethod:"Betaalmethode",paymentTime:"Betaaltijd",backHome:"Terug naar startpagina",makeAnotherTransaction:"Nog een transactie uitvoeren",backDeposit:"Terug naar storting",backWithdraw:"Terug naar opname",tryAgainButton:"Opnieuw proberen",refreshButton:"Controleer uw status",success:"Geslaagd",pending:"In behandeling",failed:"Fout",canceled:"Fout",rejected:"Afgewezen",copyTransactionId:"Gekopieerd!",deposit:{success:{amount:"{amount}",title:"Storting geslaagd!",text:"Uw storting is geslaagd"},pending:{amount:"{amount}",title:"Transactie in behandeling",text:"Uw betaling wordt binnenkort bijgeschreven"},reject:{title:"Storting afgewezen",subTitle:"",text:"Helaas is uw storting afgewezen"},fail:{amount:" ",title:"Storting mislukt!",text:"Helaas is uw storting niet verwerkt."},cancel:{title:"U heeft de transactie geannuleerd",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Opgenomen van uw rekening",title:"Opname geslaagd!",text:"Uw opname is geslaagd"},pending:{title:"Opname in behandeling",subTitle:"Opgenomen van uw rekening",text:"Dank u. Uw opname wordt verwerkt."},reject:{title:"Opname afgewezen",subTitle:" ",text:"Helaas is uw opname afgewezen"},fail:{title:"Opname mislukt",subTitle:" ",text:"Helaas is uw opname niet verwerkt."},cancel:{title:"U heeft de transactie geannuleerd",subTitle:" ",text:" "}},reference:"Referentie-ID: {code}",close:"SLUITEN",receipt:{maintenance:{title:"We zijn snel terug",text:"We zijn offline voor gepland onderhoud en verwachten over een paar minuten weer online te zijn"}},goToPromotions:"Promoties",goToTournaments:"Toernooien",goToSupport:"Contact opnemen met ondersteuning",goToMerchantHomePage:"Website van de handelaar",goToSports:"Sport",goToCasino:"Casino",goToLiveCasino:"Live Casino",externalLink:"Externe link",uploadDocuments:"Documenten uploaden",goToHomepage:"Naar de startpagina"},ru:{amount:"Сумма",status:"Статус",transactionId:"ID транзакции",payemntMethod:"Способ оплаты",paymentTime:"Время платежа",backHome:"На главную",makeAnotherTransaction:"Совершить другую операцию",backDeposit:"Назад к депозиту",backWithdraw:"Назад к выводу",tryAgainButton:"Повторить попытку",refreshButton:"Проверить статус",success:"Успешно",pending:"В обработке",failed:"Ошибка",canceled:"Ошибка",rejected:"Отклонено",copyTransactionId:"Скопировано!",deposit:{success:{amount:"{amount}",title:"Депозит выполнен успешно!",text:"Ваш депозит выполнен успешно"},pending:{amount:"{amount}",title:"Транзакция в обработке",text:"Ваш платёж будет зачислен в ближайшее время"},reject:{title:"Депозит отклонён",subTitle:"",text:"К сожалению, ваш депозит был отклонён"},fail:{amount:" ",title:"Депозит не выполнен!",text:"К сожалению, ваш депозит не прошёл."},cancel:{title:"Вы отменили транзакцию",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Списано с вашего счёта",title:"Вывод выполнен успешно!",text:"Ваш вывод средств выполнен успешно"},pending:{title:"Вывод в обработке",subTitle:"Списано с вашего счёта",text:"Спасибо. Ваш вывод средств обрабатывается."},reject:{title:"Вывод отклонён",subTitle:" ",text:"К сожалению, ваш вывод был отклонён"},fail:{title:"Вывод не выполнен",subTitle:" ",text:"К сожалению, ваш вывод не прошёл."},cancel:{title:"Вы отменили транзакцию",subTitle:" ",text:" "}},reference:"Референс ID: {code}",close:"ЗАКРЫТЬ",receipt:{maintenance:{title:"Скоро вернёмся",text:"Мы приостановили работу для планового технического обслуживания и ожидаем возобновить работу через несколько минут"}},goToPromotions:"Акции",goToTournaments:"Турниры",goToSupport:"Связаться с поддержкой",goToMerchantHomePage:"Главная страница продавца",goToSports:"Спорт",goToCasino:"Казино",goToLiveCasino:"Живое казино",externalLink:"Внешняя ссылка",uploadDocuments:"Загрузить документы",goToHomepage:"На главную страницу"},az:{amount:"Məbləğ",status:"Status",transactionId:"Əməliyyat ID-si",payemntMethod:"Ödəniş üsulu",paymentTime:"Ödəniş vaxtı",backHome:"Əsas səhifəyə qayıt",makeAnotherTransaction:"Başqa əməliyyat et",backDeposit:"Depozitə qayıt",backWithdraw:"Çıxarışa qayıt",tryAgainButton:"Yenidən cəhd edin",refreshButton:"Statusu yoxla",success:"Uğurlu",pending:"Gözləmədə",failed:"Xəta",canceled:"Xəta",rejected:"Rədd edildi",copyTransactionId:"Kopyalandı!",deposit:{success:{amount:"{amount}",title:"Depozit uğurludur!",text:"Depozitiniz uğurla həyata keçirildi"},pending:{amount:"{amount}",title:"Əməliyyat gözləmədədir",text:"Ödənişiniz tezliklə hesabınıza əlavə olunacaq"},reject:{title:"Depozit rədd edildi",subTitle:"",text:"Təəssüf ki, depozitiniz rədd edildi"},fail:{amount:" ",title:"Depozit alınmadı!",text:"Təəssüf ki, depozitiniz həyata keçmədi."},cancel:{title:"Əməliyyatı ləğv etdiniz",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Hesabınızdan çıxarıldı",title:"Çıxarış uğurludur!",text:"Pul çıxarma əməliyyatınız uğurla tamamlandı"},pending:{title:"Çıxarış gözləmədədir",subTitle:"Hesabınızdan çıxarıldı",text:"Təşəkkürlər. Çıxarışınız icra olunur."},reject:{title:"Çıxarış rədd edildi",subTitle:" ",text:"Təəssüf ki, çıxarışınız rədd edildi"},fail:{title:"Çıxarış alınmadı",subTitle:" ",text:"Təəssüf ki, çıxarışınız həyata keçmədi."},cancel:{title:"Əməliyyatı ləğv etdiniz",subTitle:" ",text:" "}},reference:"İstinad ID: {code}",close:"BAĞLA",receipt:{maintenance:{title:"Tezliklə geri dönəcəyik",text:"Planlaşdırılmış texniki xidmət səbəbindən müvəqqəti dayandırılmışıq və bir neçə dəqiqə ərzində yenidən aktiv olacağıq"}},goToPromotions:"Aksiyalar",goToTournaments:"Turnirlər",goToSupport:"Dəstəklə əlaqə saxlayın",goToMerchantHomePage:"Satıcının əsas saytı",goToSports:"İdman",goToCasino:"Kazino",goToLiveCasino:"Canlı Kazino",externalLink:"Xarici keçid",uploadDocuments:"Sənədləri yüklə",goToHomepage:"Əsas səhifəyə keç"}},Ks=(e,t)=>`${e+ea[t]}`,Qs=(e,t)=>`${ta[t]}.${yi[e]}.text`,Js=e=>`${yi[`${e}`]}`,ea={Success:"/txn-success.png",Voided:"/txn-success.png",Rejected:"/txn-failed.png",Failed:"/txn-failed.png",Canceled:"/txn-failed.png",PendingNotification:"/txn-pending.png",PendingConfirmation:"/txn-pending.png",PendingApprovalStage1:"/txn-pending.png",PendingApprovalStage2:"/txn-pending.png",PendingApprovalStage3:"/txn-pending.png",PendingOfflineNotification:"/txn-pending.png"},ta={Deposit:"deposit",Withdraw:"withdrawal"},yi={Success:"success",Voided:"success",Rejected:"reject",Failed:"fail",Canceled:"cancel",PendingNotification:"pending",PendingConfirmation:"pending",PendingApprovalStage1:"pending",PendingApprovalStage3:"pending",PendingApprovalStage2:"pending",PendingOfflineNotification:"pending"};var vi={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Wr,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",s="second",a="minute",u="hour",l="day",c="week",h="month",m="quarter",g="year",v="date",p="Invalid Date",B=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,N={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(S){var _=["th","st","nd","rd"],b=S%100;return"["+S+(_[(b-20)%10]||_[b]||_[0])+"]"}},A=function(S,_,b){var y=String(S);return!y||y.length>=_?S:""+Array(_+1-y.length).join(b)+S},Y={s:A,z:function(S){var _=-S.utcOffset(),b=Math.abs(_),y=Math.floor(b/60),w=b%60;return(_<=0?"+":"-")+A(y,2,"0")+":"+A(w,2,"0")},m:function S(_,b){if(_.date()<b.date())return-S(b,_);var y=12*(b.year()-_.year())+(b.month()-_.month()),w=_.clone().add(y,h),M=b-w<0,x=_.clone().add(y+(M?-1:1),h);return+(-(y+(b-w)/(M?w-x:x-w))||0)},a:function(S){return S<0?Math.ceil(S)||0:Math.floor(S)},p:function(S){return{M:h,y:g,w:c,d:l,D:v,h:u,m:a,s,ms:o,Q:m}[S]||String(S||"").toLowerCase().replace(/s$/,"")},u:function(S){return S===void 0}},q="en",I={};I[q]=N;var z="$isDayjsObject",pe=function(S){return S instanceof ye||!(!S||!S[z])},le=function S(_,b,y){var w;if(!_)return q;if(typeof _=="string"){var M=_.toLowerCase();I[M]&&(w=M),b&&(I[M]=b,w=M);var x=_.split("-");if(!w&&x.length>1)return S(x[0])}else{var R=_.name;I[R]=_,w=R}return!y&&w&&(q=w),w||!y&&q},K=function(S,_){if(pe(S))return S.clone();var b=typeof _=="object"?_:{};return b.date=S,b.args=arguments,new ye(b)},L=Y;L.l=le,L.i=pe,L.w=function(S,_){return K(S,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var ye=function(){function S(b){this.$L=le(b.locale,null,!0),this.parse(b),this.$x=this.$x||b.x||{},this[z]=!0}var _=S.prototype;return _.parse=function(b){this.$d=function(y){var w=y.date,M=y.utc;if(w===null)return new Date(NaN);if(L.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var x=w.match(B);if(x){var R=x[2]-1||0,W=(x[7]||"0").substring(0,3);return M?new Date(Date.UTC(x[1],R,x[3]||1,x[4]||0,x[5]||0,x[6]||0,W)):new Date(x[1],R,x[3]||1,x[4]||0,x[5]||0,x[6]||0,W)}}return new Date(w)}(b),this.init()},_.init=function(){var b=this.$d;this.$y=b.getFullYear(),this.$M=b.getMonth(),this.$D=b.getDate(),this.$W=b.getDay(),this.$H=b.getHours(),this.$m=b.getMinutes(),this.$s=b.getSeconds(),this.$ms=b.getMilliseconds()},_.$utils=function(){return L},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(b,y){var w=K(b);return this.startOf(y)<=w&&w<=this.endOf(y)},_.isAfter=function(b,y){return K(b)<this.startOf(y)},_.isBefore=function(b,y){return this.endOf(y)<K(b)},_.$g=function(b,y,w){return L.u(b)?this[y]:this.set(w,b)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(b,y){var w=this,M=!!L.u(y)||y,x=L.p(b),R=function(fe,ne){var oe=L.w(w.$u?Date.UTC(w.$y,ne,fe):new Date(w.$y,ne,fe),w);return M?oe:oe.endOf(l)},W=function(fe,ne){return L.w(w.toDate()[fe].apply(w.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(ne)),w)},O=this.$W,Q=this.$M,te=this.$D,me="set"+(this.$u?"UTC":"");switch(x){case g:return M?R(1,0):R(31,11);case h:return M?R(1,Q):R(0,Q+1);case c:var he=this.$locale().weekStart||0,Ce=(O<he?O+7:O)-he;return R(M?te-Ce:te+(6-Ce),Q);case l:case v:return W(me+"Hours",0);case u:return W(me+"Minutes",1);case a:return W(me+"Seconds",2);case s:return W(me+"Milliseconds",3);default:return this.clone()}},_.endOf=function(b){return this.startOf(b,!1)},_.$set=function(b,y){var w,M=L.p(b),x="set"+(this.$u?"UTC":""),R=(w={},w[l]=x+"Date",w[v]=x+"Date",w[h]=x+"Month",w[g]=x+"FullYear",w[u]=x+"Hours",w[a]=x+"Minutes",w[s]=x+"Seconds",w[o]=x+"Milliseconds",w)[M],W=M===l?this.$D+(y-this.$W):y;if(M===h||M===g){var O=this.clone().set(v,1);O.$d[R](W),O.init(),this.$d=O.set(v,Math.min(this.$D,O.daysInMonth())).$d}else R&&this.$d[R](W);return this.init(),this},_.set=function(b,y){return this.clone().$set(b,y)},_.get=function(b){return this[L.p(b)]()},_.add=function(b,y){var w,M=this;b=Number(b);var x=L.p(y),R=function(Q){var te=K(M);return L.w(te.date(te.date()+Math.round(Q*b)),M)};if(x===h)return this.set(h,this.$M+b);if(x===g)return this.set(g,this.$y+b);if(x===l)return R(1);if(x===c)return R(7);var W=(w={},w[a]=r,w[u]=i,w[s]=n,w)[x]||1,O=this.$d.getTime()+b*W;return L.w(O,this)},_.subtract=function(b,y){return this.add(-1*b,y)},_.format=function(b){var y=this,w=this.$locale();if(!this.isValid())return w.invalidDate||p;var M=b||"YYYY-MM-DDTHH:mm:ssZ",x=L.z(this),R=this.$H,W=this.$m,O=this.$M,Q=w.weekdays,te=w.months,me=w.meridiem,he=function(ne,oe,ge,_e){return ne&&(ne[oe]||ne(y,M))||ge[oe].slice(0,_e)},Ce=function(ne){return L.s(R%12||12,ne,"0")},fe=me||function(ne,oe,ge){var _e=ne<12?"AM":"PM";return ge?_e.toLowerCase():_e};return M.replace(k,function(ne,oe){return oe||function(ge){switch(ge){case"YY":return String(y.$y).slice(-2);case"YYYY":return L.s(y.$y,4,"0");case"M":return O+1;case"MM":return L.s(O+1,2,"0");case"MMM":return he(w.monthsShort,O,te,3);case"MMMM":return he(te,O);case"D":return y.$D;case"DD":return L.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return he(w.weekdaysMin,y.$W,Q,2);case"ddd":return he(w.weekdaysShort,y.$W,Q,3);case"dddd":return Q[y.$W];case"H":return String(R);case"HH":return L.s(R,2,"0");case"h":return Ce(1);case"hh":return Ce(2);case"a":return fe(R,W,!0);case"A":return fe(R,W,!1);case"m":return String(W);case"mm":return L.s(W,2,"0");case"s":return String(y.$s);case"ss":return L.s(y.$s,2,"0");case"SSS":return L.s(y.$ms,3,"0");case"Z":return x}return null}(ne)||x.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(b,y,w){var M,x=this,R=L.p(y),W=K(b),O=(W.utcOffset()-this.utcOffset())*r,Q=this-W,te=function(){return L.m(x,W)};switch(R){case g:M=te()/12;break;case h:M=te();break;case m:M=te()/3;break;case c:M=(Q-O)/6048e5;break;case l:M=(Q-O)/864e5;break;case u:M=Q/i;break;case a:M=Q/r;break;case s:M=Q/n;break;default:M=Q}return w?M:L.a(M)},_.daysInMonth=function(){return this.endOf(h).$D},_.$locale=function(){return I[this.$L]},_.locale=function(b,y){if(!b)return this.$L;var w=this.clone(),M=le(b,y,!0);return M&&(w.$L=M),w},_.clone=function(){return L.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},S}(),Se=ye.prototype;return K.prototype=Se,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",h],["$y",g],["$D",v]].forEach(function(S){Se[S[1]]=function(_){return this.$g(_,S[0],S[1])}}),K.extend=function(S,_){return S.$i||(S(_,ye,K),S.$i=!0),K},K.locale=le,K.isDayjs=pe,K.unix=function(S){return K(1e3*S)},K.en=I[q],K.Ls=I,K.p={},K})})(vi);var na=vi.exports;const Dt=_n(na);var Ci={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Wr,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(o,s,a){var u=s.prototype;a.utc=function(p){var B={date:p,utc:!0,args:arguments};return new s(B)},u.utc=function(p){var B=a(this.toDate(),{locale:this.$L,utc:!0});return p?B.add(this.utcOffset(),n):B},u.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var l=u.parse;u.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),l.call(this,p)};var c=u.init;u.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else c.call(this)};var h=u.utcOffset;u.utcOffset=function(p,B){var k=this.$utils().u;if(k(p))return this.$u?0:k(this.$offset)?h.call(this):this.$offset;if(typeof p=="string"&&(p=function(q){q===void 0&&(q="");var I=q.match(r);if(!I)return null;var z=(""+I[0]).match(i)||["-",0,0],pe=z[0],le=60*+z[1]+ +z[2];return le===0?0:pe==="+"?le:-le}(p),p===null))return this;var N=Math.abs(p)<=16?60*p:p,A=this;if(B)return A.$offset=N,A.$u=p===0,A;if(p!==0){var Y=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(A=this.local().add(N+Y,n)).$offset=N,A.$x.$localOffset=Y}else A=this.utc();return A};var m=u.format;u.format=function(p){var B=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,B)},u.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var g=u.toDate;u.toDate=function(p){return p==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var v=u.diff;u.diff=function(p,B,k){if(p&&this.$u===p.$u)return v.call(this,p,B,k);var N=this.local(),A=a(p).local();return v.call(N,A,B,k)}}})})(Ci);var ra=Ci.exports;const ia=_n(ra);/*! *****************************************************************************
8
+ Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Ms={fallbackLocale:null,loadingDelay:200,formats:Es,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},rt=Ms;function Xe(){return rt}function di(e){const t=e,{formats:n}=t,r=Ss(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{li.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(o){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,r.handleMissingMessage==null?r.handleMissingMessage=Hs:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(rt,r,{initialLocale:i}),n&&("number"in n&&Object.assign(rt.formats.number,n.number),"date"in n&&Object.assign(rt.formats.date,n.date),"time"in n&&Object.assign(rt.formats.time,n.time)),Ie.set(i)}const Kt=$t(!1);var Ps=Object.defineProperty,Bs=Object.defineProperties,As=Object.getOwnPropertyDescriptors,Kn=Object.getOwnPropertySymbols,ks=Object.prototype.hasOwnProperty,Is=Object.prototype.propertyIsEnumerable,Qn=(e,t,n)=>t in e?Ps(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ls=(e,t)=>{for(var n in t||(t={}))ks.call(t,n)&&Qn(e,n,t[n]);if(Kn)for(var n of Kn(t))Is.call(t,n)&&Qn(e,n,t[n]);return e},Os=(e,t)=>Bs(e,As(t));let hn;const Lt=$t(null);function Jn(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function pt(e,t=Xe().fallbackLocale){const n=Jn(e);return t?[...new Set([...n,...Jn(t)])]:n}function ke(){return hn!=null?hn:void 0}Lt.subscribe(e=>{hn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ds=e=>{if(e&&vs(e)&&It(e)){const{loadingDelay:t}=Xe();let n;return typeof window!="undefined"&&ke()!=null&&t?n=window.setTimeout(()=>Kt.set(!0),t):Kt.set(!0),pi(e).then(()=>{Lt.set(e)}).finally(()=>{clearTimeout(n),Kt.set(!1)})}return Lt.set(e)},Ie=Os(Ls({},Lt),{set:Ds}),jt=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var Rs=Object.defineProperty,Ot=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable,er=(e,t,n)=>t in e?Rs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sn=(e,t)=>{for(var n in t||(t={}))mi.call(t,n)&&er(e,n,t[n]);if(Ot)for(var n of Ot(t))gi.call(t,n)&&er(e,n,t[n]);return e},Ke=(e,t)=>{var n={};for(var r in e)mi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ot)for(var r of Ot(e))t.indexOf(r)<0&&gi.call(e,r)&&(n[r]=e[r]);return n};const ct=(e,t)=>{const{formats:n}=Xe();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},$s=jt(e=>{var t=e,{locale:n,format:r}=t,i=Ke(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=ct("number",r)),new Intl.NumberFormat(n,i)}),Ns=jt(e=>{var t=e,{locale:n,format:r}=t,i=Ke(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=ct("date",r):Object.keys(i).length===0&&(i=ct("date","short")),new Intl.DateTimeFormat(n,i)}),Us=jt(e=>{var t=e,{locale:n,format:r}=t,i=Ke(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=ct("time",r):Object.keys(i).length===0&&(i=ct("time","short")),new Intl.DateTimeFormat(n,i)}),js=(e={})=>{var t=e,{locale:n=ke()}=t,r=Ke(t,["locale"]);return $s(Sn({locale:n},r))},Gs=(e={})=>{var t=e,{locale:n=ke()}=t,r=Ke(t,["locale"]);return Ns(Sn({locale:n},r))},Fs=(e={})=>{var t=e,{locale:n=ke()}=t,r=Ke(t,["locale"]);return Us(Sn({locale:n},r))},zs=jt((e,t=ke())=>new li(e,t,Xe().formats,{ignoreTag:Xe().ignoreTag})),Ws=(e,t={})=>{var n,r,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:u=ke(),default:l}=s;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=ci(e,u);if(!c)c=(o=(i=(r=(n=Xe()).handleMissingMessage)==null?void 0:r.call(n,{locale:u,id:e,defaultValue:l}))!=null?i:l)!=null?o:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!a)return c;let h=c;try{h=zs(c,u).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},Vs=(e,t)=>Fs(t).format(e),Zs=(e,t)=>Gs(t).format(e),Ys=(e,t)=>js(t).format(e),Xs=(e,t=ke())=>ci(e,t),bi=qe([Ie,ft],()=>Ws);qe([Ie],()=>Vs);qe([Ie],()=>Zs);qe([Ie],()=>Ys);qe([Ie,ft],()=>Xs);function tr(e,t){Tn(e,t)}function qs(e){di({fallbackLocale:"en"}),Ie.set(e)}const nr={en:{amount:"Amount",status:"Status",transactionId:"Transaction ID",payemntMethod:"Payment Method",paymentTime:"Payment Time",backHome:"Back to home",makeAnotherTransaction:"Make another transaction",backDeposit:"Back to deposit",backWithdraw:"Back to withdraw",tryAgainButton:"Try Again",refreshButton:"Check your status",success:"Success",pending:"Pending",failed:"Error",canceled:"Error",rejected:"Rejected",copyTransactionId:"Copied!",deposit:{success:{amount:"{amount}",title:"Deposit Success!",text:"Your deposit is successful"},pending:{amount:"{amount}",title:"Transaction is in pending",text:"Your payment will be deposited soon"},reject:{title:"Deposit Rejected",subTitle:"",text:"Unfortunately, your deposit was been rejected"},fail:{amount:" ",title:"Deposit Failed!",text:"Unfortunately, your deposit did not go through."},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Withdrawn from your account",title:"Withdraw success!",text:"Your withdrawal is successful"},pending:{title:"Withdraw pending",subTitle:"Withdrawn from your account",text:"Thank you. Your withdrawal is being processed."},reject:{title:"Withdraw rejected",subTitle:" ",text:"Unfortunately, your withdraw was been rejected"},fail:{title:"Withdraw failed",subTitle:" ",text:"Unfortunately, your withdraw did not go through."},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},reference:"Reference ID: {code}",close:"CLOSE",receipt:{maintenance:{title:"We'll Be Back Soon",text:"We are down for a scheduled maintenance and expect to be back online in a few minutes"}},goToPromotions:"Promotions",goToTournaments:"Tournaments",goToSupport:"Contact Support",goToMerchantHomePage:"Merchant's Home Website",goToSports:"Sports",goToCasino:"Casino",goToLiveCasino:"Live Casino",externalLink:"External Link",uploadDocuments:"Upload Documents",goToHomepage:"Go To Homepage"},tr:{amount:"Tutar",status:"Durum",transactionId:"İşlem Kimliği",payemntMethod:"Ödeme Yöntemi",paymentTime:"Ödeme Zamanı",backDeposit:"Yatırıma geri dön",backWithdraw:"Çekime geri dön",backHome:"Ana sayfaya dön",makeAnotherTransaction:"Başka bir işlem yap",tryAgainButton:"Tekrar Dene",refreshButton:"Durumunu Kontrol Et",success:"Başarılı",pending:"Beklemede",failed:"Hata",canceled:"Hata",rejected:"Reddedildi",copyTransactionId:"Kopyalandı!",deposit:{success:{amount:"{amount}",title:"Yatırım Başarılı!",text:"Yatırımınız başarıyla gerçekleştirildi"},pending:{amount:"{amount}",title:"İşlem beklemede",text:"Ödemeniz yakında yatırılacak"},reject:{title:"Yatırım Reddedildi",subTitle:"",text:"Maalesef yatırımınız reddedildi"},fail:{amount:" ",title:"Yatırım Başarısız!",text:"Maalesef yatırımınız gerçekleşmedi."},cancel:{title:"İşlemi iptal ettiniz",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Hesabınızdan çekildi",title:"Para Çekme Başarılı!",text:"Para çekme işleminiz başarıyla tamamlandı"},pending:{title:"Çekim beklemede",subTitle:"Hesabınızdan çekildi",text:"Teşekkürler. Çekim işleminiz işleniyor."},reject:{title:"Çekim reddedildi",subTitle:" ",text:"Maalesef çekim işleminiz reddedildi"},fail:{title:"Çekim hatası",subTitle:" ",text:"Maalesef çekim işleminiz gerçekleşmedi."},cancel:{title:"İşlemi iptal ettiniz",subTitle:" ",text:" "}},reference:"Referans Kimliği: {code}",close:"KAPAT",receipt:{maintenance:{title:"Kısa Süreliğine Kapalıyız",text:"Planlı bakım çalışması nedeniyle hizmet veremiyoruz, birkaç dakika içinde geri döneceğiz"}},goToPromotions:"Promosyonlara Git",goToTournaments:"Turnuvalar",goToSupport:"Destek ile İletişime Geç",goToMerchantHomePage:"Satıcının Ana Web Sitesi",goToSports:"Sporlara Git",goToCasino:"Casino",goToLiveCasino:"Canlı Casino",externalLink:"Harici Bağlantı",uploadDocuments:"Belgeleri Yükle",goToHomepage:"Ana Sayfaya Git"},fr:{amount:"Montant",status:"Statut",transactionId:"ID de transaction",payemntMethod:"Moyen de paiement",paymentTime:"Heure du paiement",backHome:"Retour à l'accueil",makeAnotherTransaction:"Effectuer une autre transaction",backDeposit:"Retour au dépôt",backWithdraw:"Retour au retrait",tryAgainButton:"Réessayer",refreshButton:"Vérifier votre statut",success:"Succès",pending:"En attente",failed:"Erreur",canceled:"Erreur",rejected:"Rejeté",copyTransactionId:"Copié !",deposit:{success:{amount:"{amount}",title:"Dépôt réussi !",text:"Votre dépôt a été effectué avec succès"},pending:{amount:"{amount}",title:"Transaction en attente",text:"Votre paiement sera crédité prochainement"},reject:{title:"Dépôt rejeté",subTitle:"",text:"Malheureusement, votre dépôt a été rejeté"},fail:{amount:" ",title:"Échec du dépôt !",text:"Malheureusement, votre dépôt n'a pas abouti."},cancel:{title:"Vous avez annulé la transaction",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Retiré de votre compte",title:"Retrait réussi !",text:"Votre retrait a été effectué avec succès"},pending:{title:"Retrait en attente",subTitle:"Retiré de votre compte",text:"Merci. Votre retrait est en cours de traitement."},reject:{title:"Retrait rejeté",subTitle:" ",text:"Malheureusement, votre retrait a été rejeté"},fail:{title:"Échec du retrait",subTitle:" ",text:"Malheureusement, votre retrait n'a pas abouti."},cancel:{title:"Vous avez annulé la transaction",subTitle:" ",text:" "}},reference:"ID de référence : {code}",close:"FERMER",receipt:{maintenance:{title:"Nous revenons bientôt",text:"Nous sommes en maintenance programmée et prévoyons d'être de nouveau en ligne dans quelques minutes"}},goToPromotions:"Promotions",goToTournaments:"Tournois",goToSupport:"Contacter le support",goToMerchantHomePage:"Site web du marchand",goToSports:"Sports",goToCasino:"Casino",goToLiveCasino:"Casino en direct",externalLink:"Lien externe",uploadDocuments:"Télécharger des documents",goToHomepage:"Aller à la page d'accueil"},da:{amount:"Beløb",status:"Status",transactionId:"Transaktions-ID",payemntMethod:"Betalingsmetode",paymentTime:"Betalingstidspunkt",backHome:"Tilbage til startsiden",makeAnotherTransaction:"Foretag en anden transaktion",backDeposit:"Tilbage til indbetaling",backWithdraw:"Tilbage til udbetaling",tryAgainButton:"Prøv igen",refreshButton:"Tjek din status",success:"Succes",pending:"Afventer",failed:"Fejl",canceled:"Fejl",rejected:"Afvist",copyTransactionId:"Kopieret!",deposit:{success:{amount:"{amount}",title:"Indbetaling lykkedes!",text:"Din indbetaling er gennemført"},pending:{amount:"{amount}",title:"Transaktion afventer",text:"Din betaling vil snart blive krediteret"},reject:{title:"Indbetaling afvist",subTitle:"",text:"Desværre er din indbetaling blevet afvist"},fail:{amount:" ",title:"Indbetaling mislykkedes!",text:"Desværre gik din indbetaling ikke igennem."},cancel:{title:"Du har annulleret transaktionen",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Hævet fra din konto",title:"Udbetaling lykkedes!",text:"Din udbetaling er gennemført"},pending:{title:"Udbetaling afventer",subTitle:"Hævet fra din konto",text:"Tak. Din udbetaling er ved at blive behandlet."},reject:{title:"Udbetaling afvist",subTitle:" ",text:"Desværre er din udbetaling blevet afvist"},fail:{title:"Udbetaling mislykkedes",subTitle:" ",text:"Desværre gik din udbetaling ikke igennem."},cancel:{title:"Du har annulleret transaktionen",subTitle:" ",text:" "}},reference:"Reference-ID: {code}",close:"LUK",receipt:{maintenance:{title:"Vi er snart tilbage",text:"Vi er nede for planlagt vedligeholdelse og forventer at være tilbage online om få minutter"}},goToPromotions:"Kampagner",goToTournaments:"Turneringer",goToSupport:"Kontakt support",goToMerchantHomePage:"Forhandlerens hjemmeside",goToSports:"Sport",goToCasino:"Casino",goToLiveCasino:"Live Casino",externalLink:"Eksternt link",uploadDocuments:"Upload dokumenter",goToHomepage:"Gå til startsiden"},de:{amount:"Betrag",status:"Status",transactionId:"Transaktions-ID",payemntMethod:"Zahlungsmethode",paymentTime:"Zahlungszeit",backHome:"Zurück zur Startseite",makeAnotherTransaction:"Eine weitere Transaktion durchführen",backDeposit:"Zurück zur Einzahlung",backWithdraw:"Zurück zur Auszahlung",tryAgainButton:"Erneut versuchen",refreshButton:"Status prüfen",success:"Erfolgreich",pending:"Ausstehend",failed:"Fehler",canceled:"Fehler",rejected:"Abgelehnt",copyTransactionId:"Kopiert!",deposit:{success:{amount:"{amount}",title:"Einzahlung erfolgreich!",text:"Ihre Einzahlung war erfolgreich"},pending:{amount:"{amount}",title:"Transaktion ausstehend",text:"Ihre Zahlung wird in Kürze gutgeschrieben"},reject:{title:"Einzahlung abgelehnt",subTitle:"",text:"Leider wurde Ihre Einzahlung abgelehnt"},fail:{amount:" ",title:"Einzahlung fehlgeschlagen!",text:"Leider konnte Ihre Einzahlung nicht durchgeführt werden."},cancel:{title:"Sie haben die Transaktion abgebrochen",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Von Ihrem Konto abgebucht",title:"Auszahlung erfolgreich!",text:"Ihre Auszahlung war erfolgreich"},pending:{title:"Auszahlung ausstehend",subTitle:"Von Ihrem Konto abgebucht",text:"Danke. Ihre Auszahlung wird gerade bearbeitet."},reject:{title:"Auszahlung abgelehnt",subTitle:" ",text:"Leider wurde Ihre Auszahlung abgelehnt"},fail:{title:"Auszahlung fehlgeschlagen",subTitle:" ",text:"Leider konnte Ihre Auszahlung nicht durchgeführt werden."},cancel:{title:"Sie haben die Transaktion abgebrochen",subTitle:" ",text:" "}},reference:"Referenz-ID: {code}",close:"SCHLIESSEN",receipt:{maintenance:{title:"Wir sind bald zurück",text:"Wir führen planmäßige Wartungsarbeiten durch und erwarten, in wenigen Minuten wieder online zu sein"}},goToPromotions:"Aktionen",goToTournaments:"Turniere",goToSupport:"Support kontaktieren",goToMerchantHomePage:"Händler-Website",goToSports:"Sport",goToCasino:"Casino",goToLiveCasino:"Live-Casino",externalLink:"Externer Link",uploadDocuments:"Dokumente hochladen",goToHomepage:"Zur Startseite"},nl:{amount:"Bedrag",status:"Status",transactionId:"Transactie-ID",payemntMethod:"Betaalmethode",paymentTime:"Betaaltijd",backHome:"Terug naar startpagina",makeAnotherTransaction:"Nog een transactie uitvoeren",backDeposit:"Terug naar storting",backWithdraw:"Terug naar opname",tryAgainButton:"Opnieuw proberen",refreshButton:"Controleer uw status",success:"Geslaagd",pending:"In behandeling",failed:"Fout",canceled:"Fout",rejected:"Afgewezen",copyTransactionId:"Gekopieerd!",deposit:{success:{amount:"{amount}",title:"Storting geslaagd!",text:"Uw storting is geslaagd"},pending:{amount:"{amount}",title:"Transactie in behandeling",text:"Uw betaling wordt binnenkort bijgeschreven"},reject:{title:"Storting afgewezen",subTitle:"",text:"Helaas is uw storting afgewezen"},fail:{amount:" ",title:"Storting mislukt!",text:"Helaas is uw storting niet verwerkt."},cancel:{title:"U heeft de transactie geannuleerd",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Opgenomen van uw rekening",title:"Opname geslaagd!",text:"Uw opname is geslaagd"},pending:{title:"Opname in behandeling",subTitle:"Opgenomen van uw rekening",text:"Dank u. Uw opname wordt verwerkt."},reject:{title:"Opname afgewezen",subTitle:" ",text:"Helaas is uw opname afgewezen"},fail:{title:"Opname mislukt",subTitle:" ",text:"Helaas is uw opname niet verwerkt."},cancel:{title:"U heeft de transactie geannuleerd",subTitle:" ",text:" "}},reference:"Referentie-ID: {code}",close:"SLUITEN",receipt:{maintenance:{title:"We zijn snel terug",text:"We zijn offline voor gepland onderhoud en verwachten over een paar minuten weer online te zijn"}},goToPromotions:"Promoties",goToTournaments:"Toernooien",goToSupport:"Contact opnemen met ondersteuning",goToMerchantHomePage:"Website van de handelaar",goToSports:"Sport",goToCasino:"Casino",goToLiveCasino:"Live Casino",externalLink:"Externe link",uploadDocuments:"Documenten uploaden",goToHomepage:"Naar de startpagina"},ru:{amount:"Сумма",status:"Статус",transactionId:"ID транзакции",payemntMethod:"Способ оплаты",paymentTime:"Время платежа",backHome:"На главную",makeAnotherTransaction:"Совершить другую операцию",backDeposit:"Назад к депозиту",backWithdraw:"Назад к выводу",tryAgainButton:"Повторить попытку",refreshButton:"Проверить статус",success:"Успешно",pending:"В обработке",failed:"Ошибка",canceled:"Ошибка",rejected:"Отклонено",copyTransactionId:"Скопировано!",deposit:{success:{amount:"{amount}",title:"Депозит выполнен успешно!",text:"Ваш депозит выполнен успешно"},pending:{amount:"{amount}",title:"Транзакция в обработке",text:"Ваш платёж будет зачислен в ближайшее время"},reject:{title:"Депозит отклонён",subTitle:"",text:"К сожалению, ваш депозит был отклонён"},fail:{amount:" ",title:"Депозит не выполнен!",text:"К сожалению, ваш депозит не прошёл."},cancel:{title:"Вы отменили транзакцию",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Списано с вашего счёта",title:"Вывод выполнен успешно!",text:"Ваш вывод средств выполнен успешно"},pending:{title:"Вывод в обработке",subTitle:"Списано с вашего счёта",text:"Спасибо. Ваш вывод средств обрабатывается."},reject:{title:"Вывод отклонён",subTitle:" ",text:"К сожалению, ваш вывод был отклонён"},fail:{title:"Вывод не выполнен",subTitle:" ",text:"К сожалению, ваш вывод не прошёл."},cancel:{title:"Вы отменили транзакцию",subTitle:" ",text:" "}},reference:"Референс ID: {code}",close:"ЗАКРЫТЬ",receipt:{maintenance:{title:"Скоро вернёмся",text:"Мы приостановили работу для планового технического обслуживания и ожидаем возобновить работу через несколько минут"}},goToPromotions:"Акции",goToTournaments:"Турниры",goToSupport:"Связаться с поддержкой",goToMerchantHomePage:"Главная страница продавца",goToSports:"Спорт",goToCasino:"Казино",goToLiveCasino:"Живое казино",externalLink:"Внешняя ссылка",uploadDocuments:"Загрузить документы",goToHomepage:"На главную страницу"},az:{amount:"Məbləğ",status:"Status",transactionId:"Əməliyyat ID-si",payemntMethod:"Ödəniş üsulu",paymentTime:"Ödəniş vaxtı",backHome:"Əsas səhifəyə qayıt",makeAnotherTransaction:"Başqa əməliyyat et",backDeposit:"Depozitə qayıt",backWithdraw:"Çıxarışa qayıt",tryAgainButton:"Yenidən cəhd edin",refreshButton:"Statusu yoxla",success:"Uğurlu",pending:"Gözləmədə",failed:"Xəta",canceled:"Xəta",rejected:"Rədd edildi",copyTransactionId:"Kopyalandı!",deposit:{success:{amount:"{amount}",title:"Depozit uğurludur!",text:"Depozitiniz uğurla həyata keçirildi"},pending:{amount:"{amount}",title:"Əməliyyat gözləmədədir",text:"Ödənişiniz tezliklə hesabınıza əlavə olunacaq"},reject:{title:"Depozit rədd edildi",subTitle:"",text:"Təəssüf ki, depozitiniz rədd edildi"},fail:{amount:" ",title:"Depozit alınmadı!",text:"Təəssüf ki, depozitiniz həyata keçmədi."},cancel:{title:"Əməliyyatı ləğv etdiniz",subTitle:" ",text:" "}},withdraw:{success:{amount:"{amount}",subTitle:"Hesabınızdan çıxarıldı",title:"Çıxarış uğurludur!",text:"Pul çıxarma əməliyyatınız uğurla tamamlandı"},pending:{title:"Çıxarış gözləmədədir",subTitle:"Hesabınızdan çıxarıldı",text:"Təşəkkürlər. Çıxarışınız icra olunur."},reject:{title:"Çıxarış rədd edildi",subTitle:" ",text:"Təəssüf ki, çıxarışınız rədd edildi"},fail:{title:"Çıxarış alınmadı",subTitle:" ",text:"Təəssüf ki, çıxarışınız həyata keçmədi."},cancel:{title:"Əməliyyatı ləğv etdiniz",subTitle:" ",text:" "}},reference:"İstinad ID: {code}",close:"BAĞLA",receipt:{maintenance:{title:"Tezliklə geri dönəcəyik",text:"Planlaşdırılmış texniki xidmət səbəbindən müvəqqəti dayandırılmışıq və bir neçə dəqiqə ərzində yenidən aktiv olacağıq"}},goToPromotions:"Aksiyalar",goToTournaments:"Turnirlər",goToSupport:"Dəstəklə əlaqə saxlayın",goToMerchantHomePage:"Satıcının əsas saytı",goToSports:"İdman",goToCasino:"Kazino",goToLiveCasino:"Canlı Kazino",externalLink:"Xarici keçid",uploadDocuments:"Sənədləri yüklə",goToHomepage:"Əsas səhifəyə keç"}},Ks=(e,t)=>`${e+ea[t]}`,Qs=(e,t)=>`${ta[t]}.${yi[e]}.text`,Js=e=>`${yi[`${e}`]}`,ea={Success:"/txn-success.png",Voided:"/txn-success.png",Rejected:"/txn-failed.png",Failed:"/txn-failed.png",Canceled:"/txn-failed.png",PendingNotification:"/txn-pending.png",PendingConfirmation:"/txn-pending.png",PendingApprovalStage1:"/txn-pending.png",PendingApprovalStage2:"/txn-pending.png",PendingApprovalStage3:"/txn-pending.png",PendingOfflineNotification:"/txn-pending.png"},ta={Deposit:"deposit",Withdraw:"withdrawal"},yi={Success:"success",Voided:"success",Rejected:"reject",Failed:"fail",Canceled:"cancel",PendingNotification:"pending",PendingConfirmation:"pending",PendingApprovalStage1:"pending",PendingApprovalStage3:"pending",PendingApprovalStage2:"pending",PendingOfflineNotification:"pending"};var vi={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Wr,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",s="second",a="minute",u="hour",l="day",c="week",h="month",m="quarter",g="year",v="date",d="Invalid Date",B=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,N={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(S){var _=["th","st","nd","rd"],b=S%100;return"["+S+(_[(b-20)%10]||_[b]||_[0])+"]"}},A=function(S,_,b){var y=String(S);return!y||y.length>=_?S:""+Array(_+1-y.length).join(b)+S},Y={s:A,z:function(S){var _=-S.utcOffset(),b=Math.abs(_),y=Math.floor(b/60),w=b%60;return(_<=0?"+":"-")+A(y,2,"0")+":"+A(w,2,"0")},m:function S(_,b){if(_.date()<b.date())return-S(b,_);var y=12*(b.year()-_.year())+(b.month()-_.month()),w=_.clone().add(y,h),M=b-w<0,x=_.clone().add(y+(M?-1:1),h);return+(-(y+(b-w)/(M?w-x:x-w))||0)},a:function(S){return S<0?Math.ceil(S)||0:Math.floor(S)},p:function(S){return{M:h,y:g,w:c,d:l,D:v,h:u,m:a,s,ms:o,Q:m}[S]||String(S||"").toLowerCase().replace(/s$/,"")},u:function(S){return S===void 0}},q="en",I={};I[q]=N;var z="$isDayjsObject",de=function(S){return S instanceof ye||!(!S||!S[z])},le=function S(_,b,y){var w;if(!_)return q;if(typeof _=="string"){var M=_.toLowerCase();I[M]&&(w=M),b&&(I[M]=b,w=M);var x=_.split("-");if(!w&&x.length>1)return S(x[0])}else{var R=_.name;I[R]=_,w=R}return!y&&w&&(q=w),w||!y&&q},K=function(S,_){if(de(S))return S.clone();var b=typeof _=="object"?_:{};return b.date=S,b.args=arguments,new ye(b)},L=Y;L.l=le,L.i=de,L.w=function(S,_){return K(S,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var ye=function(){function S(b){this.$L=le(b.locale,null,!0),this.parse(b),this.$x=this.$x||b.x||{},this[z]=!0}var _=S.prototype;return _.parse=function(b){this.$d=function(y){var w=y.date,M=y.utc;if(w===null)return new Date(NaN);if(L.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var x=w.match(B);if(x){var R=x[2]-1||0,W=(x[7]||"0").substring(0,3);return M?new Date(Date.UTC(x[1],R,x[3]||1,x[4]||0,x[5]||0,x[6]||0,W)):new Date(x[1],R,x[3]||1,x[4]||0,x[5]||0,x[6]||0,W)}}return new Date(w)}(b),this.init()},_.init=function(){var b=this.$d;this.$y=b.getFullYear(),this.$M=b.getMonth(),this.$D=b.getDate(),this.$W=b.getDay(),this.$H=b.getHours(),this.$m=b.getMinutes(),this.$s=b.getSeconds(),this.$ms=b.getMilliseconds()},_.$utils=function(){return L},_.isValid=function(){return this.$d.toString()!==d},_.isSame=function(b,y){var w=K(b);return this.startOf(y)<=w&&w<=this.endOf(y)},_.isAfter=function(b,y){return K(b)<this.startOf(y)},_.isBefore=function(b,y){return this.endOf(y)<K(b)},_.$g=function(b,y,w){return L.u(b)?this[y]:this.set(w,b)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(b,y){var w=this,M=!!L.u(y)||y,x=L.p(b),R=function(fe,ne){var oe=L.w(w.$u?Date.UTC(w.$y,ne,fe):new Date(w.$y,ne,fe),w);return M?oe:oe.endOf(l)},W=function(fe,ne){return L.w(w.toDate()[fe].apply(w.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(ne)),w)},O=this.$W,Q=this.$M,te=this.$D,me="set"+(this.$u?"UTC":"");switch(x){case g:return M?R(1,0):R(31,11);case h:return M?R(1,Q):R(0,Q+1);case c:var he=this.$locale().weekStart||0,Ce=(O<he?O+7:O)-he;return R(M?te-Ce:te+(6-Ce),Q);case l:case v:return W(me+"Hours",0);case u:return W(me+"Minutes",1);case a:return W(me+"Seconds",2);case s:return W(me+"Milliseconds",3);default:return this.clone()}},_.endOf=function(b){return this.startOf(b,!1)},_.$set=function(b,y){var w,M=L.p(b),x="set"+(this.$u?"UTC":""),R=(w={},w[l]=x+"Date",w[v]=x+"Date",w[h]=x+"Month",w[g]=x+"FullYear",w[u]=x+"Hours",w[a]=x+"Minutes",w[s]=x+"Seconds",w[o]=x+"Milliseconds",w)[M],W=M===l?this.$D+(y-this.$W):y;if(M===h||M===g){var O=this.clone().set(v,1);O.$d[R](W),O.init(),this.$d=O.set(v,Math.min(this.$D,O.daysInMonth())).$d}else R&&this.$d[R](W);return this.init(),this},_.set=function(b,y){return this.clone().$set(b,y)},_.get=function(b){return this[L.p(b)]()},_.add=function(b,y){var w,M=this;b=Number(b);var x=L.p(y),R=function(Q){var te=K(M);return L.w(te.date(te.date()+Math.round(Q*b)),M)};if(x===h)return this.set(h,this.$M+b);if(x===g)return this.set(g,this.$y+b);if(x===l)return R(1);if(x===c)return R(7);var W=(w={},w[a]=r,w[u]=i,w[s]=n,w)[x]||1,O=this.$d.getTime()+b*W;return L.w(O,this)},_.subtract=function(b,y){return this.add(-1*b,y)},_.format=function(b){var y=this,w=this.$locale();if(!this.isValid())return w.invalidDate||d;var M=b||"YYYY-MM-DDTHH:mm:ssZ",x=L.z(this),R=this.$H,W=this.$m,O=this.$M,Q=w.weekdays,te=w.months,me=w.meridiem,he=function(ne,oe,ge,_e){return ne&&(ne[oe]||ne(y,M))||ge[oe].slice(0,_e)},Ce=function(ne){return L.s(R%12||12,ne,"0")},fe=me||function(ne,oe,ge){var _e=ne<12?"AM":"PM";return ge?_e.toLowerCase():_e};return M.replace(k,function(ne,oe){return oe||function(ge){switch(ge){case"YY":return String(y.$y).slice(-2);case"YYYY":return L.s(y.$y,4,"0");case"M":return O+1;case"MM":return L.s(O+1,2,"0");case"MMM":return he(w.monthsShort,O,te,3);case"MMMM":return he(te,O);case"D":return y.$D;case"DD":return L.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return he(w.weekdaysMin,y.$W,Q,2);case"ddd":return he(w.weekdaysShort,y.$W,Q,3);case"dddd":return Q[y.$W];case"H":return String(R);case"HH":return L.s(R,2,"0");case"h":return Ce(1);case"hh":return Ce(2);case"a":return fe(R,W,!0);case"A":return fe(R,W,!1);case"m":return String(W);case"mm":return L.s(W,2,"0");case"s":return String(y.$s);case"ss":return L.s(y.$s,2,"0");case"SSS":return L.s(y.$ms,3,"0");case"Z":return x}return null}(ne)||x.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(b,y,w){var M,x=this,R=L.p(y),W=K(b),O=(W.utcOffset()-this.utcOffset())*r,Q=this-W,te=function(){return L.m(x,W)};switch(R){case g:M=te()/12;break;case h:M=te();break;case m:M=te()/3;break;case c:M=(Q-O)/6048e5;break;case l:M=(Q-O)/864e5;break;case u:M=Q/i;break;case a:M=Q/r;break;case s:M=Q/n;break;default:M=Q}return w?M:L.a(M)},_.daysInMonth=function(){return this.endOf(h).$D},_.$locale=function(){return I[this.$L]},_.locale=function(b,y){if(!b)return this.$L;var w=this.clone(),M=le(b,y,!0);return M&&(w.$L=M),w},_.clone=function(){return L.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},S}(),Se=ye.prototype;return K.prototype=Se,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",h],["$y",g],["$D",v]].forEach(function(S){Se[S[1]]=function(_){return this.$g(_,S[0],S[1])}}),K.extend=function(S,_){return S.$i||(S(_,ye,K),S.$i=!0),K},K.locale=le,K.isDayjs=de,K.unix=function(S){return K(1e3*S)},K.en=I[q],K.Ls=I,K.p={},K})})(vi);var na=vi.exports;const Dt=wn(na);var Ci={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Wr,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(o,s,a){var u=s.prototype;a.utc=function(d){var B={date:d,utc:!0,args:arguments};return new s(B)},u.utc=function(d){var B=a(this.toDate(),{locale:this.$L,utc:!0});return d?B.add(this.utcOffset(),n):B},u.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var l=u.parse;u.parse=function(d){d.utc&&(this.$u=!0),this.$utils().u(d.$offset)||(this.$offset=d.$offset),l.call(this,d)};var c=u.init;u.init=function(){if(this.$u){var d=this.$d;this.$y=d.getUTCFullYear(),this.$M=d.getUTCMonth(),this.$D=d.getUTCDate(),this.$W=d.getUTCDay(),this.$H=d.getUTCHours(),this.$m=d.getUTCMinutes(),this.$s=d.getUTCSeconds(),this.$ms=d.getUTCMilliseconds()}else c.call(this)};var h=u.utcOffset;u.utcOffset=function(d,B){var k=this.$utils().u;if(k(d))return this.$u?0:k(this.$offset)?h.call(this):this.$offset;if(typeof d=="string"&&(d=function(q){q===void 0&&(q="");var I=q.match(r);if(!I)return null;var z=(""+I[0]).match(i)||["-",0,0],de=z[0],le=60*+z[1]+ +z[2];return le===0?0:de==="+"?le:-le}(d),d===null))return this;var N=Math.abs(d)<=16?60*d:d,A=this;if(B)return A.$offset=N,A.$u=d===0,A;if(d!==0){var Y=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(A=this.local().add(N+Y,n)).$offset=N,A.$x.$localOffset=Y}else A=this.utc();return A};var m=u.format;u.format=function(d){var B=d||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,B)},u.valueOf=function(){var d=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*d},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var g=u.toDate;u.toDate=function(d){return d==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var v=u.diff;u.diff=function(d,B,k){if(d&&this.$u===d.$u)return v.call(this,d,B,k);var N=this.local(),A=a(d).local();return v.call(N,A,B,k)}}})})(Ci);var ra=Ci.exports;const ia=wn(ra);/*! *****************************************************************************
9
9
  Copyright (c) Microsoft Corporation.
10
10
 
11
11
  Permission to use, copy, modify, and/or distribute this software for any
@@ -18,9 +18,9 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
18
18
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19
19
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20
20
  PERFORMANCE OF THIS SOFTWARE.
21
- ***************************************************************************** */var hn=function(e,t){return hn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},hn(e,t)};function pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");hn(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function fn(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dn(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}function pn(e,t,n){if(arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||t)}function He(e){return typeof e=="function"}function _i(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Qt=_i(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
21
+ ***************************************************************************** */var fn=function(e,t){return fn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},fn(e,t)};function dt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");fn(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function pn(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dn(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}function mn(e,t,n){if(arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||t)}function He(e){return typeof e=="function"}function _i(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Qt=_i(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
22
22
  `+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
23
- `):"",this.name="UnsubscriptionError",this.errors=n}});function mn(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Gt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=fn(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(p){t={error:p}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}else s.remove(this);var c=this.initialTeardown;if(He(c))try{c()}catch(p){o=p instanceof Qt?p.errors:[p]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=fn(h),g=m.next();!g.done;g=m.next()){var v=g.value;try{nr(v)}catch(p){o=o!=null?o:[],p instanceof Qt?o=pn(pn([],dn(o)),dn(p.errors)):o.push(p)}}}catch(p){r={error:p}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}}if(o)throw new Qt(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)nr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&mn(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&mn(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),wi=Gt.EMPTY;function xi(e){return e instanceof Gt||e&&"closed"in e&&He(e.remove)&&He(e.add)&&He(e.unsubscribe)}function nr(e){He(e)?e():e.unsubscribe()}var oa={Promise:void 0},sa={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,pn([e,t],dn(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function aa(e){sa.setTimeout(function(){throw e})}function rr(){}function St(e){e()}var Ti=function(e){pt(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,xi(n)&&n.add(r)):r.destination=ca,r}return t.create=function(n,r,i){return new gn(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Gt),ua=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){Ct(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){Ct(r)}else Ct(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){Ct(n)}},e}(),gn=function(e){pt(t,e);function t(n,r,i){var o=e.call(this)||this,s;return He(n)||!n?s={next:n!=null?n:void 0,error:r!=null?r:void 0,complete:i!=null?i:void 0}:s=n,o.destination=new ua(s),o}return t}(Ti);function Ct(e){aa(e)}function la(e){throw e}var ca={closed:!0,next:rr,error:la,complete:rr},ha=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function fa(e){return e}function da(e){return e.length===0?fa:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var ir=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,o=ma(t)?t:new gn(t,n,r);return St(function(){var s=i,a=s.operator,u=s.source;o.add(a?a.call(o,u):u?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=or(n),new n(function(i,o){var s=new gn({next:function(a){try{t(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});r.subscribe(s)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[ha]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return da(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=or(t),new t(function(r,i){var o;n.subscribe(function(s){return o=s},function(s){return i(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function or(e){var t;return(t=e!=null?e:oa.Promise)!==null&&t!==void 0?t:Promise}function pa(e){return e&&He(e.next)&&He(e.error)&&He(e.complete)}function ma(e){return e&&e instanceof Ti||pa(e)&&xi(e)}var ga=_i(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Si=function(e){pt(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new sr(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new ga},t.prototype.next=function(n){var r=this;St(function(){var i,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=fn(r.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(n)}}catch(l){i={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;St(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;St(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?wi:(this.currentObservers=null,a.push(n),new Gt(function(){r.currentObservers=null,mn(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,o=r.thrownError,s=r.isStopped;i?n.error(o):s&&n.complete()},t.prototype.asObservable=function(){var n=new ir;return n.source=this,n},t.create=function(n,r){return new sr(n,r)},t}(ir),sr=function(e){pt(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:wi},t}(Si),Ei={now:function(){return(Ei.delegate||Date).now()},delegate:void 0},ba=function(e){pt(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Ei);var o=e.call(this)||this;return o._bufferSize=n,o._windowTime=r,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,n),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(n){var r=this,i=r.isStopped,o=r._buffer,s=r._infiniteTimeWindow,a=r._timestampProvider,u=r._windowTime;i||(o.push(n),!s&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),u=0;u<a.length&&!n.closed;u+=o?1:2)n.next(a[u]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,o=n._buffer,s=n._infiniteTimeWindow,a=(s?1:2)*r;if(r<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var u=i.now(),l=0,c=1;c<o.length&&o[c]<=u;c+=2)l=c;l&&o.splice(0,l+1)}},t}(Si);const ar=[],ur={},ya=(e,t=0)=>{if(ar.indexOf(e)==-1){const n=new ba(t);ur[e]=n,ar.push(e)}return ur[e]};let Et="en-UK",Hi="true",it=2,ot="";const va=(e,t,n,r)=>{Et=e||"en-UK",Hi=t||"true",it=+r||0,ot=n||""},Ca=(e,t,n={},r=!0)=>{const i=bt(bt({maximumFractionDigits:it,minimumFractionDigits:it},r&&{style:"currency",currency:t,currencyDisplay:Hi==="true"?"symbol":"code"}),n);try{if(!ot)return new Intl.NumberFormat(Et,i).format(e);const s=new Intl.NumberFormat(Et,i).formatToParts(e);let{currencyPart:a="",amountPart:u=""}=s.reduce((c,h)=>(h.type==="currency"?c.currencyPart=h.value:c.amountPart+=h.value,c),{currencyPart:"",amountPart:""});return u=u.trim(),ot==="before"?`${a||i.currency||""} ${u}`:`${u} ${a||i.currency||""}`}catch(o){console.info(o);const s=new Intl.NumberFormat(Et,{maximumFractionDigits:it,minimumFractionDigits:it}).format(e);return ot?ot==="before"?`${i.currency||""} ${s}`:`${s} ${i.currency||""}`:`${i.currency||""} ${s}`}};window.emWidgets={topic:ya};const lr=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;const je="__WIDGET_GLOBAL_STYLE_CACHE__";function Mi(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Pi(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(r=>r.text()).then(r=>{const i=document.createElement("style");i.innerHTML=r,e&&e.appendChild(i)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Bi(e,t,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=_a(e,t),n;window[je]||(window[je]={}),n=wa(e,t);const o=n.unsubscribe.bind(n),s=()=>{if(window[je][t]){const a=window[je][t];a.refCount>1?a.refCount=a.refCount-1:delete window[je][t]}o()};return n.unsubscribe=s,n}function _a(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(n.innerHTML=r,e.appendChild(n))})}function wa(e,t){return window.emMessageBus.subscribe(t,n=>{if(!e)return;const r=e.getRootNode(),i=window[je];let o=i[t]&&i[t].sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(n),i[t]={sheet:o,refCount:1});const s=r.adoptedStyleSheets||[];s.includes(o)||(r.adoptedStyleSheets=[...s,o])})}const cr=(e,t={})=>{const n=new CustomEvent("track-custom-event",{detail:{type:e,data:t},bubbles:!0,composed:!0});document.dispatchEvent(n)},hr={CasinoButton:`<svg viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
23
+ `):"",this.name="UnsubscriptionError",this.errors=n}});function gn(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Gt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=pn(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(d){t={error:d}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}else s.remove(this);var c=this.initialTeardown;if(He(c))try{c()}catch(d){o=d instanceof Qt?d.errors:[d]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=pn(h),g=m.next();!g.done;g=m.next()){var v=g.value;try{rr(v)}catch(d){o=o!=null?o:[],d instanceof Qt?o=mn(mn([],dn(o)),dn(d.errors)):o.push(d)}}}catch(d){r={error:d}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}}if(o)throw new Qt(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)rr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&gn(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&gn(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),wi=Gt.EMPTY;function xi(e){return e instanceof Gt||e&&"closed"in e&&He(e.remove)&&He(e.add)&&He(e.unsubscribe)}function rr(e){He(e)?e():e.unsubscribe()}var oa={Promise:void 0},sa={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,mn([e,t],dn(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function aa(e){sa.setTimeout(function(){throw e})}function ir(){}function St(e){e()}var Ti=function(e){dt(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,xi(n)&&n.add(r)):r.destination=ca,r}return t.create=function(n,r,i){return new bn(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Gt),ua=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){Ct(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){Ct(r)}else Ct(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){Ct(n)}},e}(),bn=function(e){dt(t,e);function t(n,r,i){var o=e.call(this)||this,s;return He(n)||!n?s={next:n!=null?n:void 0,error:r!=null?r:void 0,complete:i!=null?i:void 0}:s=n,o.destination=new ua(s),o}return t}(Ti);function Ct(e){aa(e)}function la(e){throw e}var ca={closed:!0,next:ir,error:la,complete:ir},ha=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function fa(e){return e}function pa(e){return e.length===0?fa:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var or=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,o=ma(t)?t:new bn(t,n,r);return St(function(){var s=i,a=s.operator,u=s.source;o.add(a?a.call(o,u):u?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=sr(n),new n(function(i,o){var s=new bn({next:function(a){try{t(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});r.subscribe(s)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[ha]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return pa(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=sr(t),new t(function(r,i){var o;n.subscribe(function(s){return o=s},function(s){return i(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function sr(e){var t;return(t=e!=null?e:oa.Promise)!==null&&t!==void 0?t:Promise}function da(e){return e&&He(e.next)&&He(e.error)&&He(e.complete)}function ma(e){return e&&e instanceof Ti||da(e)&&xi(e)}var ga=_i(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Si=function(e){dt(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new ar(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new ga},t.prototype.next=function(n){var r=this;St(function(){var i,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=pn(r.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(n)}}catch(l){i={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;St(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;St(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?wi:(this.currentObservers=null,a.push(n),new Gt(function(){r.currentObservers=null,gn(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,o=r.thrownError,s=r.isStopped;i?n.error(o):s&&n.complete()},t.prototype.asObservable=function(){var n=new or;return n.source=this,n},t.create=function(n,r){return new ar(n,r)},t}(or),ar=function(e){dt(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:wi},t}(Si),Ei={now:function(){return(Ei.delegate||Date).now()},delegate:void 0},ba=function(e){dt(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Ei);var o=e.call(this)||this;return o._bufferSize=n,o._windowTime=r,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,n),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(n){var r=this,i=r.isStopped,o=r._buffer,s=r._infiniteTimeWindow,a=r._timestampProvider,u=r._windowTime;i||(o.push(n),!s&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),u=0;u<a.length&&!n.closed;u+=o?1:2)n.next(a[u]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,o=n._buffer,s=n._infiniteTimeWindow,a=(s?1:2)*r;if(r<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var u=i.now(),l=0,c=1;c<o.length&&o[c]<=u;c+=2)l=c;l&&o.splice(0,l+1)}},t}(Si);const ur=[],lr={},ya=(e,t=0)=>{if(ur.indexOf(e)==-1){const n=new ba(t);lr[e]=n,ur.push(e)}return lr[e]};let Et="en-UK",Hi="true",it=2,ot="";const va=(e,t,n,r)=>{Et=e||"en-UK",Hi=t||"true",it=+r||0,ot=n||""},Ca=(e,t,n={},r=!0)=>{const i=bt(bt({maximumFractionDigits:it,minimumFractionDigits:it},r&&{style:"currency",currency:t,currencyDisplay:Hi==="true"?"symbol":"code"}),n);try{if(!ot)return new Intl.NumberFormat(Et,i).format(e);const s=new Intl.NumberFormat(Et,i).formatToParts(e);let{currencyPart:a="",amountPart:u=""}=s.reduce((c,h)=>(h.type==="currency"?c.currencyPart=h.value:c.amountPart+=h.value,c),{currencyPart:"",amountPart:""});return u=u.trim(),ot==="before"?`${a||i.currency||""} ${u}`:`${u} ${a||i.currency||""}`}catch(o){console.info(o);const s=new Intl.NumberFormat(Et,{maximumFractionDigits:it,minimumFractionDigits:it}).format(e);return ot?ot==="before"?`${i.currency||""} ${s}`:`${s} ${i.currency||""}`:`${i.currency||""} ${s}`}};window.emWidgets={topic:ya};const cr=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;const je="__WIDGET_GLOBAL_STYLE_CACHE__";function Mi(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Pi(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(r=>r.text()).then(r=>{const i=document.createElement("style");i.innerHTML=r,e&&e.appendChild(i)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Bi(e,t,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=_a(e,t),n;window[je]||(window[je]={}),n=wa(e,t);const o=n.unsubscribe.bind(n),s=()=>{if(window[je][t]){const a=window[je][t];a.refCount>1?a.refCount=a.refCount-1:delete window[je][t]}o()};return n.unsubscribe=s,n}function _a(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(n.innerHTML=r,e.appendChild(n))})}function wa(e,t){return window.emMessageBus.subscribe(t,n=>{if(!e)return;const r=e.getRootNode(),i=window[je];let o=i[t]&&i[t].sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(n),i[t]={sheet:o,refCount:1});const s=r.adoptedStyleSheets||[];s.includes(o)||(r.adoptedStyleSheets=[...s,o])})}const Jt=(e,t={})=>{const n=new CustomEvent("track-custom-event",{detail:{type:e,data:t},bubbles:!0,composed:!0});document.dispatchEvent(n)},hr={CasinoButton:`<svg viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
24
24
  <path d="M15.8233 3.85297C16.0588 3.88497 16.2962 3.90865 16.5298 3.95089C18.1241 4.24081 19.4188 5.01137 20.3583 6.34705C20.4076 6.41681 20.462 6.42449 20.5343 6.42449C21.9673 6.42321 23.4002 6.42385 24.8338 6.42385C24.8825 6.42385 24.9311 6.42385 24.9868 6.42385C24.9868 7.45297 24.9868 8.47185 24.9868 9.49841C18.6098 9.49841 12.2374 9.49841 5.85657 9.49841C5.85657 8.47313 5.85657 7.45489 5.85657 6.42385C5.91545 6.42385 5.96793 6.42385 6.02041 6.42385C7.44953 6.42385 8.87865 6.42321 10.3071 6.42641C10.4012 6.42641 10.453 6.39569 10.5062 6.32017C11.381 5.08369 12.5778 4.33361 14.0454 4.00529C14.341 3.93937 14.647 3.91569 14.9478 3.87217C14.9759 3.86833 15.0034 3.85937 15.031 3.85297C15.2966 3.85297 15.5596 3.85297 15.8233 3.85297ZM13.9359 6.34449C14.1062 6.53201 14.247 6.71185 14.4127 6.86417C14.5766 7.01457 14.6162 7.17649 14.5759 7.38897C14.535 7.60465 14.5292 7.82673 14.5062 8.06609C14.7878 7.94449 15.0489 7.83697 15.3055 7.71857C15.3932 7.67825 15.4636 7.68209 15.5494 7.72113C15.8066 7.83825 16.0678 7.94705 16.343 8.06609C16.3122 7.76593 16.286 7.48369 16.2527 7.20273C16.2431 7.12337 16.254 7.06513 16.3122 7.00369C16.4799 6.82833 16.6406 6.64529 16.8031 6.46481C16.8345 6.43025 16.8633 6.39377 16.9068 6.34193C16.5951 6.27537 16.3058 6.21649 16.0191 6.14929C15.9705 6.13777 15.9148 6.09937 15.8886 6.05713C15.7535 5.84081 15.6268 5.61937 15.4962 5.39985C15.4745 5.36337 15.4502 5.32817 15.4207 5.28337C15.2646 5.54705 15.1218 5.79729 14.9682 6.04049C14.9362 6.09169 14.8697 6.13841 14.8108 6.15249C14.5286 6.22097 14.2431 6.27793 13.9359 6.34449Z" />
25
25
  <path d="M24.9957 10.8303C24.9957 13.965 24.9957 17.0933 24.9957 20.2351C25.2908 20.2351 25.5768 20.2351 25.8725 20.2351C25.8725 20.6587 25.8725 21.069 25.8725 21.4901C26.0972 21.4901 26.3122 21.4901 26.5407 21.4901C26.5407 21.4376 26.5407 21.3896 26.5407 21.341C26.5407 17.5029 26.5407 13.6648 26.5426 9.82675C26.5426 9.73459 26.5157 9.67955 26.4408 9.62387C25.902 9.22387 25.7349 8.51411 26.0325 7.91251C26.3199 7.33075 27.0002 7.03123 27.6268 7.20915C28.2687 7.39155 28.6872 8.00019 28.6194 8.66387C28.5784 9.06003 28.3967 9.38451 28.0748 9.62195C27.9986 9.67827 27.9743 9.73395 27.9743 9.82419C27.9762 14.1359 27.9762 18.4475 27.9762 22.7592C27.9762 22.8117 27.9762 22.8648 27.9762 22.9314C27.2754 22.9314 26.5861 22.9314 25.8828 22.9314C25.8828 23.3583 25.8828 23.7723 25.8828 24.2011C25.5832 24.2011 25.2972 24.2011 25.0028 24.2011C25.0028 25.3794 25.0028 26.5423 25.0028 27.7199C25.3324 27.7199 25.6594 27.7199 25.9928 27.7199C25.9928 28.2018 25.9928 28.6696 25.9928 29.1471C18.9484 29.1471 11.9052 29.1471 4.85492 29.1471C4.85492 28.6773 4.85492 28.2095 4.85492 27.7256C5.1794 27.7256 5.5058 27.7256 5.845 27.7256C5.845 22.0859 5.845 16.4629 5.845 10.8309C12.2316 10.8303 18.604 10.8303 24.9957 10.8303ZM23.5551 12.2651C18.1266 12.2651 12.7103 12.2651 7.29268 12.2651C7.29268 15.0933 7.29268 17.9125 7.29268 20.7387C12.7167 20.7387 18.1336 20.7387 23.5551 20.7387C23.5551 17.9112 23.5551 15.092 23.5551 12.2651ZM8.28404 23.3679C13.0482 23.3679 17.8047 23.3679 22.5618 23.3679C22.5618 22.9301 22.5618 22.5 22.5618 22.0725C17.797 22.0725 13.0399 22.0725 8.28404 22.0725C8.28404 22.5103 8.28404 22.9365 8.28404 23.3679ZM18.9138 24.7087C16.581 24.7087 14.2629 24.7087 11.9346 24.7087C12.0063 25.3672 12.0767 26.0117 12.1471 26.6556C14.3391 26.6556 16.5157 26.6556 18.7032 26.6556C18.773 26.0059 18.8428 25.3608 18.9138 24.7087Z" />
26
26
  <path d="M18.6232 13.5765C19.836 13.5765 21.0404 13.5765 22.2564 13.5765C22.2564 15.5227 22.2564 17.467 22.2564 19.419C21.0462 19.419 19.8379 19.419 18.6232 19.419C18.6232 17.4741 18.6232 15.533 18.6232 13.5765ZM18.9873 16.1794C19.1672 16.3784 19.3233 16.5691 19.4993 16.7387C19.6209 16.8558 19.6433 16.9768 19.619 17.1349C19.5832 17.3685 19.5691 17.6059 19.5441 17.8581C19.6024 17.8357 19.6401 17.8229 19.6772 17.8069C19.9038 17.7096 20.1278 17.6078 20.3569 17.5163C20.4068 17.4965 20.4779 17.4958 20.5272 17.5157C20.7556 17.6072 20.9803 17.709 21.2068 17.8062C21.2452 17.8229 21.2856 17.8357 21.3387 17.8549C21.3086 17.5522 21.2779 17.2706 21.2561 16.9877C21.2523 16.9384 21.2721 16.8738 21.3041 16.8366C21.4731 16.6402 21.6504 16.4507 21.8232 16.2581C21.843 16.2363 21.8577 16.2094 21.8833 16.1742C21.6555 16.1256 21.4449 16.0654 21.2305 16.0386C21.0155 16.0117 20.876 15.9214 20.7825 15.7205C20.6897 15.5221 20.5617 15.3397 20.4408 15.1362C20.3006 15.3736 20.1649 15.5886 20.044 15.812C19.98 15.9304 19.8987 15.9912 19.7643 16.0142C19.5108 16.0578 19.2612 16.1205 18.9873 16.1794Z" />
@@ -48,4 +48,4 @@ PERFORMANCE OF THIS SOFTWARE.
48
48
  `,SportsButton:`<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" version="1.1" viewBox="0 0 500 500">
49
49
  <path class="st0" d="M250,0C111.9,0,0,111.9,0,250s111.9,250,250,250,250-111.9,250-250S388.1,0,250,0ZM449.1,137.9c16.4,28.1,26.3,59.3,29.4,91.8.2,2.4-1.1,4.4-3.6,5.8l-21.5-21.7-23.3-24c-1.2-1.2-.5-4,0-5.5l13.4-48.2c.7-2.5,4.7,0,5.7,1.7ZM342.9,41.2c32.1,14.2,60.4,35.1,82.9,62,3.1,3.7,6,8.1,4.7,13.1l-17.8,65.6c-.6,2.3-2.5,3.9-4.7,4.7l-58.8,22.3c-3.5,1.3-5.3.8-7.9-1.2l-81.7-61.2c-2.9-2.2-3.9-4.5-3.9-8v-44.7c0-2.2.8-5,2.9-6.3l74.3-45.4c3.2-2.3,6.4-2.5,10-.9ZM196.6,28c33.2-8.1,67.6-8.4,101.1-1.4,5.2,1.1,11.5,4.1,11.9,8.9l-59,36.3c-1.2.7-3.4,1.4-4.5.7l-58-36.8c1.5-3.8,4.5-6.7,8.5-7.7ZM71,107.4c22.1-28.5,51.1-50.3,83.8-65.2,3-1.3,6.4-2.4,9.4-.5l69.7,44.2c2.6,1.6,4.9,3.5,4.9,6.8v47.6c0,2.5-1.2,4.4-3.2,6l-82.3,62.8c-2.3,1.8-4.2,1.5-6.4.8l-53-16.7c-3.7-1.2-5.4-3.2-6.3-6.9l-16.2-67.2c-.8-3.4-2.5-8.6-.1-11.6ZM21.1,233.7c2.6-29.2,10.1-57.5,23.1-83.7,2.6-5.3,6.7-13.2,10.5-14.1.7-.2,2.7,0,3,1.3l13.2,53.9c.4,1.5.5,3.7-.6,4.9l-44,44.7c-.6.6-1.6.8-2.2.8-2.1,0-3.4-4.2-3-7.9ZM62.1,375.6c-2.8-.1-5-.1-7.4-1.7-19.4-30.7-31.9-66.4-34.2-102.8l59.9-60.3c1.4-1.4,3.6-2.2,5.6-1.6l59.8,19c3,.9,3.9,3.2,4.8,5.8l29.6,84.3c.6,1.7,1.9,4.3.7,5.9l-37.5,51.3c-1.9,2.6-3.9,3.5-6.9,3.4l-74.4-3.5ZM174.5,464.9c-.1.6-1.4.8-2.4.4-31.8-11.4-60.8-29.3-84.9-53-6-5.9-18.6-18.6-10.8-18.2l58.8,2.6c3.3.1,5.9,1.1,7.5,4.1l8.1,15.9,23.4,46.1c.5,1,.4,1.7.3,2.1ZM200.9,473.6c-1.6-.3-2.8-1.1-3.6-2.5l-39.1-77.3c-.9-1.8-2.4-4.1-2-6.2l37.2-50.8c1.2-1.7,3.2-3.3,5.5-3.3h97.7c3.2,0,5.1,1.6,6.8,4l36.3,50.1-5.8,12.1-37.9,74.5c-31.6,6.6-63.8,6.3-95-.6ZM322.1,467.4c-.7.2-1.6,0-1.8-.1-.4-.2-.9-1.1-.3-2.4l32.5-64.1c1.6-2.1,3.7-3.2,6.4-3.3l69.3-2c-27.9,33.8-65,58.3-106.1,71.9ZM446.2,372.3c-1.7,2.7-3.2,4.2-6.6,4.8l-80.3,2.6c-3.5.1-5-1.5-6.6-3.7l-36.1-50c-1.2-1.6-1.9-3.3-1.2-5.5l29.7-86.1c1.1-3,2.2-5.9,5.4-7.1l63.2-24c1.7-.6,4.2-.8,5.5.6l57.5,58.9c2.1,2.1,2.9,3.6,2.7,6.8-2.4,36.6-14,71.7-33.4,102.7Z"></path>
50
50
  </svg>
51
- `};if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierError-ByHSNdCI.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}function xa(e){Pr(e,"svelte-nkabfs",'.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}')}function fr(e,t,n){const r=e.slice();return r[70]=t[n],r[72]=n,r}function dr(e,t,n){const r=e.slice();return r[73]=t[n],r}function Ta(e){let t,n,r=lr(e[25])&&e[9]&&e[22],i,o=e[23]&&pr(e),s=r&&mr(e);function a(c,h){if(c[15])return Ha;if(c[19]&&!c[20])return Ea}let u=a(e),l=u&&u(e);return{c(){o&&o.c(),t=G(),n=T("div"),s&&s.c(),i=G(),l&&l.c(),f(n,"class","CashierReceiptPage")},m(c,h){o&&o.m(c,h),P(c,t,h),P(c,n,h),s&&s.m(n,null),C(n,i),l&&l.m(n,null)},p(c,h){c[23]?o?(o.p(c,h),h[0]&8388608&&Bt(o,1)):(o=pr(c),o.c(),Bt(o,1),o.m(t.parentNode,t)):o&&(Or(),Rr(o,1,1,()=>{o=null}),Dr()),h[0]&4194816&&(r=lr(c[25])&&c[9]&&c[22]),r?s?s.p(c,h):(s=mr(c),s.c(),s.m(n,i)):s&&(s.d(1),s=null),u===(u=a(c))&&l?l.p(c,h):(l&&l.d(1),l=u&&u(c),l&&(l.c(),l.m(n,null)))},d(c){c&&(H(t),H(n)),o&&o.d(c),s&&s.d(),l&&l.d()}}}function Sa(e){let t;return{c(){t=T("div"),t.innerHTML='<div class="Spinner"></div>',f(t,"class","LoadingOverlay")},m(n,r){P(n,t,r)},p:ie,d(n){n&&H(t)}}}function pr(e){let t,n=e[24]("copyTransactionId")+"",r,i,o,s;return{c(){t=T("div"),r=j(n),f(t,"class","CopyTooltip")},m(a,u){P(a,t,u),C(t,r),s=!0},p(a,u){(!s||u[0]&16777216)&&n!==(n=a[24]("copyTransactionId")+"")&&F(r,n)},i(a){s||(a&&We(()=>{s&&(o&&o.end(1),i=no(t,Nn,{duration:100}),i.start())}),s=!0)},o(a){i&&i.invalidate(),a&&(o=ro(t,Nn,{duration:1e3})),s=!1},d(a){a&&H(t),a&&o&&o.end()}}}function mr(e){let t;return{c(){t=T("cashier-verifications"),Z(t,"lang",e[3]),Z(t,"translationurl",e[4]),Z(t,"endpoint",e[1]),Z(t,"clientstylingurl",e[8]),Z(t,"clientstyling",e[7]),Z(t,"customerid",e[6]),Z(t,"playersession",e[2])},m(n,r){P(n,t,r)},p(n,r){r[0]&8&&Z(t,"lang",n[3]),r[0]&16&&Z(t,"translationurl",n[4]),r[0]&2&&Z(t,"endpoint",n[1]),r[0]&256&&Z(t,"clientstylingurl",n[8]),r[0]&128&&Z(t,"clientstyling",n[7]),r[0]&64&&Z(t,"customerid",n[6]),r[0]&4&&Z(t,"playersession",n[2])},d(n){n&&H(t)}}}function Ea(e){let t,n=e[19]===e[13].Maintenance&&gr(e);return{c(){t=T("cashier-error"),n&&n.c(),Z(t,"assetsurl",e[5]),Z(t,"translationurl",e[4]),Z(t,"clientstylingurl",e[8]),Z(t,"clientstyling",e[7]),Z(t,"lang",e[3]),Z(t,"hidebuttons","true"),Z(t,"errorcode",e[19])},m(r,i){P(r,t,i),n&&n.m(t,null)},p(r,i){r[19]===r[13].Maintenance?n?n.p(r,i):(n=gr(r),n.c(),n.m(t,null)):n&&(n.d(1),n=null),i[0]&32&&Z(t,"assetsurl",r[5]),i[0]&16&&Z(t,"translationurl",r[4]),i[0]&256&&Z(t,"clientstylingurl",r[8]),i[0]&128&&Z(t,"clientstyling",r[7]),i[0]&8&&Z(t,"lang",r[3]),i[0]&524288&&Z(t,"errorcode",r[19])},d(r){r&&H(t),n&&n.d()}}}function Ha(e){let t,n,r,i,o,s=e[24]("amount")+"",a,u,l,c,h,m,g,v=e[24]("status")+"",p,B,k,N=e[24](`${e[21]}`)+"",A,Y,q,I,z,pe=e[24]("transactionId")+"",le,K,L,ye=e[15].referenceId+"",Se,S,_,b,y=e[24]("payemntMethod")+"",w,M,x,R,W,O,Q,te=e[24]("paymentTime")+"",me,he,Ce,fe=Dt(e[15].time).format("MMM DD, YYYY, HH:mm:ss")+"",ne,oe,ge,_e,Ee,Qe,Le,Oe,Je;function et(E,U){if(E[21]==="success")return Ba;if(E[21]==="pending")return Pa;if(E[21]==="failed"||E[21]==="rejected"||E[21]==="canceled")return Ma}let xe=et(e),se=xe&&xe(e),ae=e[12].length>0&&br(e);function mt(E,U){return E[15].type?ka:Aa}let De=mt(e),ve=De(e),ce=e[16].length&&vr(e);return{c(){t=T("div"),se&&se.c(),n=G(),r=T("div"),i=T("div"),o=T("p"),a=j(s),u=G(),l=T("span"),c=j(e[17]),h=G(),m=T("div"),g=T("p"),p=j(v),B=G(),k=T("span"),A=j(N),q=G(),I=T("div"),z=T("p"),le=j(pe),K=G(),L=T("span"),Se=j(ye),S=G(),_=T("div"),b=T("p"),w=j(y),M=G(),x=T("span"),R=j(e[0]),W=G(),O=T("div"),Q=T("p"),me=j(te),he=G(),Ce=T("span"),ne=j(fe),oe=G(),ge=T("div"),ae&&ae.c(),_e=G(),Ee=T("button"),ve.c(),Qe=G(),ce&&ce.c(),Le=Rt(),f(t,"class","ReceiptStatusWrapper"),f(i,"class","Amount"),f(m,"class",Y=`Status ${e[21]}`),f(L,"class","TxnIdText"),f(I,"class","TxnId"),f(_,"class","PaymentMethod"),f(O,"class","PaymentTime"),f(r,"class","ReceiptDetailsWrapper"),f(ge,"class","ReceiptButtonsWrapper"),f(Ee,"class","DefaultButton")},m(E,U){P(E,t,U),se&&se.m(t,null),P(E,n,U),P(E,r,U),C(r,i),C(i,o),C(o,a),C(i,u),C(i,l),C(l,c),C(r,h),C(r,m),C(m,g),C(g,p),C(m,B),C(m,k),C(k,A),C(r,q),C(r,I),C(I,z),C(z,le),C(I,K),C(I,L),C(L,Se),C(r,S),C(r,_),C(_,b),C(b,w),C(_,M),C(_,x),C(x,R),C(r,W),C(r,O),C(O,Q),C(Q,me),C(O,he),C(O,Ce),C(Ce,ne),P(E,oe,U),P(E,ge,U),ae&&ae.m(ge,null),P(E,_e,U),P(E,Ee,U),ve.m(Ee,null),P(E,Qe,U),ce&&ce.m(E,U),P(E,Le,U),Oe||(Je=[ze(L,"click",e[45]),ze(Ee,"click",e[26])],Oe=!0)},p(E,U){xe===(xe=et(E))&&se?se.p(E,U):(se&&se.d(1),se=xe&&xe(E),se&&(se.c(),se.m(t,null))),U[0]&16777216&&s!==(s=E[24]("amount")+"")&&F(a,s),U[0]&131072&&F(c,E[17]),U[0]&16777216&&v!==(v=E[24]("status")+"")&&F(p,v),U[0]&18874368&&N!==(N=E[24](`${E[21]}`)+"")&&F(A,N),U[0]&2097152&&Y!==(Y=`Status ${E[21]}`)&&f(m,"class",Y),U[0]&16777216&&pe!==(pe=E[24]("transactionId")+"")&&F(le,pe),U[0]&32768&&ye!==(ye=E[15].referenceId+"")&&F(Se,ye),U[0]&16777216&&y!==(y=E[24]("payemntMethod")+"")&&F(w,y),U[0]&1&&F(R,E[0]),U[0]&16777216&&te!==(te=E[24]("paymentTime")+"")&&F(me,te),U[0]&32768&&fe!==(fe=Dt(E[15].time).format("MMM DD, YYYY, HH:mm:ss")+"")&&F(ne,fe),E[12].length>0?ae?ae.p(E,U):(ae=br(E),ae.c(),ae.m(ge,null)):ae&&(ae.d(1),ae=null),De===(De=mt(E))&&ve?ve.p(E,U):(ve.d(1),ve=De(E),ve&&(ve.c(),ve.m(Ee,null))),E[16].length?ce?ce.p(E,U):(ce=vr(E),ce.c(),ce.m(Le.parentNode,Le)):ce&&(ce.d(1),ce=null)},d(E){E&&(H(t),H(n),H(r),H(oe),H(ge),H(_e),H(Ee),H(Qe),H(Le)),se&&se.d(),ae&&ae.d(),ve.d(),ce&&ce.d(E),Oe=!1,Ae(Je)}}}function gr(e){let t,n,r,i=e[24]("receipt.maintenance.title")+"",o,s,a,u=e[24]("receipt.maintenance.text")+"",l;return{c(){t=T("div"),t.innerHTML='<div class="ImagePlaceholder Maintenance"></div>',n=G(),r=T("span"),o=j(i),s=G(),a=T("span"),l=j(u),f(t,"slot","icon"),f(r,"slot","title"),f(r,"class","CashierErrorTitle"),f(a,"slot","text"),f(a,"class","CashierErrorText")},m(c,h){P(c,t,h),P(c,n,h),P(c,r,h),C(r,o),P(c,s,h),P(c,a,h),C(a,l)},p(c,h){h[0]&16777216&&i!==(i=c[24]("receipt.maintenance.title")+"")&&F(o,i),h[0]&16777216&&u!==(u=c[24]("receipt.maintenance.text")+"")&&F(l,u)},d(c){c&&(H(t),H(n),H(r),H(s),H(a))}}}function Ma(e){let t,n,r,i,o,s,a,u=e[24](`${e[15].type.toLowerCase()}.fail.title`)+"",l,c,h,m=e[24](`${e[15].type.toLowerCase()}.fail.text`)+"",g;return{c(){t=be("svg"),n=be("circle"),r=be("rect"),i=be("path"),o=G(),s=T("div"),a=T("h3"),l=j(u),c=G(),h=T("p"),g=j(m),f(n,"cx","36"),f(n,"cy","36"),f(n,"r","36"),f(n,"fill","#D14141"),f(n,"fill-opacity","0.12"),f(r,"x","19.335"),f(r,"y","19"),f(r,"width","33.33"),f(r,"height","33.33"),f(r,"rx","16.665"),f(r,"fill","#FF3636"),f(i,"d","M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"),f(i,"stroke","black"),f(i,"stroke-width","2.09016"),f(i,"stroke-linecap","round"),f(i,"stroke-linejoin","round"),f(t,"class","ReceiptStatusIcon failed"),f(t,"width","72"),f(t,"height","72"),f(t,"viewBox","0 0 72 72"),f(t,"fill","none"),f(t,"xmlns","http://www.w3.org/2000/svg"),f(s,"class","ReceiptStatusText")},m(v,p){P(v,t,p),C(t,n),C(t,r),C(t,i),P(v,o,p),P(v,s,p),C(s,a),C(a,l),C(s,c),C(s,h),C(h,g)},p(v,p){p[0]&16809984&&u!==(u=v[24](`${v[15].type.toLowerCase()}.fail.title`)+"")&&F(l,u),p[0]&16809984&&m!==(m=v[24](`${v[15].type.toLowerCase()}.fail.text`)+"")&&F(g,m)},d(v){v&&(H(t),H(o),H(s))}}}function Pa(e){let t,n,r,i,o,s,a,u,l,c=e[24](`${e[15].type.toLowerCase()}.pending.title`)+"",h,m,g,v=e[24](`${e[15].type.toLowerCase()}.pending.text`)+"",p,B,k,N=e[24]("refreshButton")+"",A,Y,q;return{c(){t=be("svg"),n=be("circle"),r=be("rect"),i=be("path"),o=be("path"),s=be("path"),a=G(),u=T("div"),l=T("h3"),h=j(c),m=G(),g=T("p"),p=j(v),B=G(),k=T("button"),A=j(N),f(n,"cx","36"),f(n,"cy","36"),f(n,"r","36"),f(n,"fill","#D19A41"),f(n,"fill-opacity","0.12"),f(r,"x","19"),f(r,"y","19"),f(r,"width","34"),f(r,"height","34"),f(r,"rx","17"),f(r,"fill","#FF6836"),f(i,"d","M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"),f(i,"stroke","black"),f(i,"stroke-width","1.5"),f(i,"stroke-linecap","round"),f(i,"stroke-linejoin","round"),f(o,"d","M36 32V36L38 38"),f(o,"stroke","black"),f(o,"stroke-width","1.5"),f(o,"stroke-linecap","round"),f(o,"stroke-linejoin","round"),f(s,"d","M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"),f(s,"stroke","black"),f(s,"stroke-width","1.5"),f(s,"stroke-linecap","round"),f(s,"stroke-linejoin","round"),f(t,"class","ReceiptStatusIcon pending"),f(t,"width","72"),f(t,"height","72"),f(t,"viewBox","0 0 72 72"),f(t,"fill","none"),f(t,"xmlns","http://www.w3.org/2000/svg"),f(u,"class","ReceiptStatusText"),f(k,"class","RefreshButton")},m(I,z){P(I,t,z),C(t,n),C(t,r),C(t,i),C(t,o),C(t,s),P(I,a,z),P(I,u,z),C(u,l),C(l,h),C(u,m),C(u,g),C(g,p),P(I,B,z),P(I,k,z),C(k,A),Y||(q=ze(k,"click",e[27]),Y=!0)},p(I,z){z[0]&16809984&&c!==(c=I[24](`${I[15].type.toLowerCase()}.pending.title`)+"")&&F(h,c),z[0]&16809984&&v!==(v=I[24](`${I[15].type.toLowerCase()}.pending.text`)+"")&&F(p,v),z[0]&16777216&&N!==(N=I[24]("refreshButton")+"")&&F(A,N)},d(I){I&&(H(t),H(a),H(u),H(B),H(k)),Y=!1,q()}}}function Ba(e){let t,n,r,i,o,s,a=e[24](`${e[15].type.toLowerCase()}.success.title`)+"",u,l,c,h=e[24](`${e[15].type.toLowerCase()}.success.text`)+"",m;return{c(){t=be("svg"),n=be("circle"),r=be("path"),i=G(),o=T("div"),s=T("h3"),u=j(a),l=G(),c=T("p"),m=j(h),f(n,"cx","36"),f(n,"cy","36"),f(n,"r","36"),f(n,"fill","#F9C408"),f(n,"fill-opacity","0.12"),f(r,"d","M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"),f(r,"fill","#F9C408"),f(t,"class","ReceiptStatusIcon success"),f(t,"width","72"),f(t,"height","72"),f(t,"viewBox","0 0 72 72"),f(t,"fill","none"),f(t,"xmlns","http://www.w3.org/2000/svg"),f(o,"class","ReceiptStatusText")},m(g,v){P(g,t,v),C(t,n),C(t,r),P(g,i,v),P(g,o,v),C(o,s),C(s,u),C(o,l),C(o,c),C(c,m)},p(g,v){v[0]&16809984&&a!==(a=g[24](`${g[15].type.toLowerCase()}.success.title`)+"")&&F(u,a),v[0]&16809984&&h!==(h=g[24](`${g[15].type.toLowerCase()}.success.text`)+"")&&F(m,h)},d(g){g&&(H(t),H(i),H(o))}}}function br(e){let t,n=At(e[12]),r=[];for(let i=0;i<n.length;i+=1)r[i]=yr(dr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=Rt()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);P(i,t,o)},p(i,o){if(o[0]&285216768){n=At(i[12]);let s;for(s=0;s<n.length;s+=1){const a=dr(i,n,s);r[s]?r[s].p(a,o):(r[s]=yr(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&H(t),Ar(r,i)}}}function yr(e){var m;let t,n,r=((m=hr[`${e[73].type}`])!=null?m:"")+"",i,o=e[24](`${e[73].translationKey}`)+"",s,a,u,l,c;function h(){return e[46](e[73])}return{c(){t=T("button"),n=T("div"),i=G(),s=j(o),a=G(),f(n,"class","CustomButtonSvg"),f(t,"class",u=`${e[73].type} GoToButton`)},m(g,v){P(g,t,v),C(t,n),n.innerHTML=r,C(t,i),C(t,s),C(t,a),l||(c=ze(t,"click",h),l=!0)},p(g,v){var p;e=g,v[0]&4096&&r!==(r=((p=hr[`${e[73].type}`])!=null?p:"")+"")&&(n.innerHTML=r),v[0]&16781312&&o!==(o=e[24](`${e[73].translationKey}`)+"")&&F(s,o),v[0]&4096&&u!==(u=`${e[73].type} GoToButton`)&&f(t,"class",u)},d(g){g&&H(t),l=!1,c()}}}function Aa(e){let t=e[24]("backHome")+"",n;return{c(){n=j(t)},m(r,i){P(r,n,i)},p(r,i){i[0]&16777216&&t!==(t=r[24]("backHome")+"")&&F(n,t)},d(r){r&&H(n)}}}function ka(e){let t=e[24](`back${e[15].type}`)+"",n;return{c(){n=j(t)},m(r,i){P(r,n,i)},p(r,i){i[0]&16809984&&t!==(t=r[24](`back${r[15].type}`)+"")&&F(n,t)},d(r){r&&H(n)}}}function vr(e){let t,n=At(e[16]),r=[];for(let i=0;i<n.length;i+=1)r[i]=Cr(fr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=Rt()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);P(i,t,o)},p(i,o){if(o[0]&537214976){n=At(i[16]);let s;for(s=0;s<n.length;s+=1){const a=fr(i,n,s);r[s]?r[s].p(a,o):(r[s]=Cr(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&H(t),Ar(r,i)}}}function Ia(e){let t,n=e[70].defaultValue+"",r;return{c(){t=T("span"),r=j(n),f(t,"class","Label")},m(i,o){P(i,t,o),C(t,r)},p(i,o){o[0]&65536&&n!==(n=i[70].defaultValue+"")&&F(r,n)},d(i){i&&H(t)}}}function La(e){return{c:ie,m:ie,p:ie,d:ie}}function Oa(e){let t,n=e[70].description+"",r,i,o,s=e[70].name+"",a,u;return{c(){t=T("span"),r=j(n),i=G(),o=T("a"),a=j(s),f(o,"href",u=e[70].defaultValue),f(o,"target","_blank"),f(o,"rel","noopener noreferrer")},m(l,c){P(l,t,c),C(t,r),C(t,i),C(t,o),C(o,a)},p(l,c){c[0]&65536&&n!==(n=l[70].description+"")&&F(r,n),c[0]&65536&&s!==(s=l[70].name+"")&&F(a,s),c[0]&65536&&u!==(u=l[70].defaultValue)&&f(o,"href",u)},d(l){l&&H(t)}}}function Da(e){let t,n,r;return{c(){t=T("img"),Jt(t.src,n=e[70].defaultValue)||f(t,"src",n),f(t,"title",r=e[70].description),f(t,"alt","")},m(i,o){P(i,t,o)},p(i,o){o[0]&65536&&!Jt(t.src,n=i[70].defaultValue)&&f(t,"src",n),o[0]&65536&&r!==(r=i[70].description)&&f(t,"title",r)},d(i){i&&H(t)}}}function Ra(e){let t,n=e[70].defaultValue+"";return{c(){t=T("span")},m(r,i){P(r,t,i),t.innerHTML=n},p(r,i){i[0]&65536&&n!==(n=r[70].defaultValue+"")&&(t.innerHTML=n)},d(r){r&&H(t)}}}function $a(e){let t,n,r=e[70].defaultValue+"",i,o,s;function a(){return e[48](e[70])}return{c(){t=T("div"),n=T("div"),i=j(r),f(t,"class","QRCode")},m(u,l){P(u,t,l),C(t,n),C(n,i),e[47](n),o||(s=ze(t,"click",a),o=!0)},p(u,l){e=u,l[0]&65536&&r!==(r=e[70].defaultValue+"")&&F(i,r)},d(u){u&&H(t),e[47](null),o=!1,s()}}}function Cr(e){let t,n;function r(s,a){return s[70].type===s[14].QRCode?$a:s[70].type===s[14].Html?Ra:s[70].type===s[14].Image?Da:s[70].type===s[14].Link?Oa:s[70].type===s[14].Hidden?La:Ia}let i=r(e),o=i(e);return{c(){t=T("div"),o.c(),n=G(),f(t,"class","ReceiptField")},m(s,a){P(s,t,a),o.m(t,null),C(t,n)},p(s,a){i===(i=r(s))&&o?o.p(s,a):(o.d(1),o=i(s),o&&(o.c(),o.m(t,n)))},d(s){s&&H(t),o.d()}}}function Na(e){let t;function n(o,s){return o[11]?Sa:Ta}let r=n(e),i=r(e);return{c(){t=T("div"),i.c(),f(t,"class","CashierReceiptPageWidget")},m(o,s){P(o,t,s),i.m(t,null),e[49](t)},p(o,s){r===(r=n(o))&&i?i.p(o,s):(i.d(1),i=r(o),i&&(i.c(),i.m(t,null)))},i:ie,o:ie,d(o){o&&H(t),i.d(),e[49](null)}}}let Ua="_blank";function ja(e,t,n){let r;xr(e,bi,d=>n(24,r=d)),Dt.extend(ia);let{endpoint:i}=t,{session:o}=t,{lang:s="en"}=t,{local:a="en-US"}=t,{showerrors:u="true"}=t,{translationurl:l}=t,{assetsurl:c=""}=t,{customerid:h}=t,{transactionid:m}=t,{currencydecimals:g="0"}=t,{type:v}=t,{clientstyling:p=""}=t,{clientstylingurl:B=""}=t,{mbsource:k=""}=t,{showverifications:N="true"}=t,{paymentmethod:A=""}=t,Y=!1,q,{customsucceessbuttons:I=""}=t,{custompendingbuttons:z=""}=t,{customfailedbuttons:pe=""}=t,{currencysymbol:le=""}=t,{currencyposition:K=""}=t,{userroles:L=""}=t,{windowsize:ye}=t,{p2p:Se="false"}=t,S=[],_=[];var b;(function(d){d.Success="Success",d.Maintenance="Maintenance"})(b||(b={}));var y;(function(d){d.Unknown="Unknown",d.Text="Text",d.Boolean="Boolean",d.Number="Number",d.Money="Money",d.DateTime="DateTime",d.Lookup="Lookup",d.IpAddress="IpAddress",d.Date="Date",d.Time="Time",d.LookupCollection="LookupCollection",d.Hidden="Hidden",d.Label="Label",d.Password="Password",d.Link="Link",d.Image="Image",d.Html="Html",d.QRCode="QR"})(y||(y={}));const w=(d,[re,we])=>[...d,...Array.isArray(re)?[...re.map(X=>[X,we])]:[[re,we]]],M=new Map([[["Unknown",0],y.Unknown],[["Text",1],y.Text],[["Boolean",2],y.Boolean],[["Number",3],y.Number],[["Money",4],y.Money],[["DateTime",5],y.DateTime],[["Lookup",6],y.Lookup],[["IpAddress",7],y.IpAddress],[["Date",8],y.Date],[["Time",9],y.Time],[["LookupCollection",10],y.LookupCollection],[["Hidden",11],y.Hidden],[["Label",12],y.Label],[["Password",13],y.Password],[["Link",14],y.Link],[["Image",15],y.Image],[["Html",19],y.Html],[["QR",20],y.QRCode]].reduce(w,[]));let x,R=[],W,O,Q=[],te,me,he="",Ce=window.navigator.userAgent,fe=!1;const ne={promotions:{event:"Cashier:goToPromotions",translationKey:"goToPromotions",type:"PromotionsButton"},tournaments:{event:"Cashier:goToTournaments",translationKey:"goToTournaments",type:"TournamentsButton"},support:{event:"Cashier:goToContact",translationKey:"goToSupport",type:"SupportButton"},merchanthomepage:{event:"Cashier:goToVendorWebsite",translationKey:"goToMerchantHomePage",type:"MerchantHomePageButton"},sports:{event:"Cashier:goToSports",translationKey:"goToSports",type:"SportsButton"},casino:{event:"Cashier:goToCasino",translationKey:"goToCasino",type:"CasinoButton"},livecasino:{event:"Cashier:goToLiveCasino",translationKey:"goToLiveCasino",type:"LiveCasinoButton"},externallink:{event:"Cashier:externalRedirect",translationKey:"externalLink",type:"ExternalLinkButton"},documentupload:{event:"Cashier:uploadDocuments",translationKey:"uploadDocuments",type:"UploadDocumentButton"},home:{event:"Cashier:goToHome",translationKey:"goToHomepage",type:"HomeButton"},close:{event:"CloseCashierReceiptPage",translationKey:"close",type:"CloseButton"}},oe=d=>{n(12,S=[]),d.split(",").forEach(we=>{ne[we.trim()]&&S.push(ne[we.trim()])})},ge=()=>{qs(s)};Ir(()=>(window.addEventListener("message",_e,!1),va(a,le,K,g),()=>{window.removeEventListener("message",_e)}));const _e=d=>{var re;switch(d.data.type){case"CloseReceiptInSecondTab":(re=window.opener)==null||re.postMessage(d.data);break}},Ee=()=>{let d=l;if(d)return fetch(d).then(re=>re.json()).then(re=>{Object.keys(re).forEach(we=>{er(we,re[we])})}).catch(()=>{})};Object.keys(tr).forEach(d=>{er(d,tr[d])});const Qe=()=>{window.postMessage({type:"CloseCashierReceiptPage"},window.location.href)},Le=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:te,showErrorOutsideReceiptPage:me},window.location.href)},Oe=()=>{const d=new URL(`${i}/v1/player/${h}/payment/GetPaymentInfo`),re=new Headers;re.append("accept","application/json"),re.append("Content-Type","application/json"),re.append("X-SessionId",`${o}`),re.append("X-Client-Request-Timestamp",Dt.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),_.indexOf("MM_CHANNEL_BETA")!=-1&&re.append("MM_CHANNEL","BETA");const we={method:"POST",headers:re,body:JSON.stringify({TransactionCode:m})};n(11,Y=!0),fetch(d,we).then(X=>X.json()).then(X=>{var gt,Sn,En,Hn,Mn,Pn,Bn,An,kn,In,Ln;if(X.ResponseCode!==b.Success){n(19,te=X.ResponseCode),n(20,me=u.toLowerCase()==="false"||!u),Le();return}switch(n(15,x={type:X.Transaction.Type,referenceId:X.Transaction.Code,status:(gt=X.Transaction.Status)==null?void 0:gt.Status,message:(Sn=X.Transaction.Status)==null?void 0:Sn.Message,amount:(En=X.Transaction.Amounts[0])==null?void 0:En.Amount,currency:(Hn=X.Transaction.Amounts[0])==null?void 0:Hn.Currency,time:X.Transaction.Status.Created}),n(16,R=X.ReceiptInfo&&X.ReceiptInfo.ReceiptFields?X.ReceiptInfo.ReceiptFields.map(Me=>({type:M.get(Me.Type),name:Me.Name,description:Me.Description,defaultValue:Me.DefaultValue,useCopyButton:Me.UseCopyButton,usePrintButton:Me.UsePrintButton})):[]),X.ReceiptInfo&&X.ReceiptInfo.ReceiptFields&&!A&&n(0,A=R[0].defaultValue),r(Qs(x.status,x.type),{values:{errorText:x.message}}),n(17,W=Ca(Number(x.amount),x.currency)),x.status){case"Voided":case"Success":if(oe(I||"casino, livecasino, tournaments"),n(21,he="success"),x.type==="Deposit"){const Me=(Pn=(Mn=X.Transaction)==null?void 0:Mn.Flags)==null?void 0:Pn.NewDepositCustomer,Re=(Bn=X==null?void 0:X.Transaction)==null?void 0:Bn.Payloads;window.postMessage({type:Me==="True"?"FirstDeposit":"ConfirmedDeposit",method:A,amount:x.amount,currency:x.currency,depositType:(An=Re==null?void 0:Re.TagManagerDepositType)!=null?An:"",publicPaymentId:(kn=Re==null?void 0:Re.TagManagerCode)!=null?kn:""},window.location.href)}cr(x.type==="Deposit"?"deposit_success":"withdrawal_success",{userID:h,amount:x.amount,currency:x.currency,transactionId:x.referenceId,method:A,isFirstDeposit:((Ln=(In=X.Transaction)==null?void 0:In.Flags)==null?void 0:Ln.NewDepositCustomer)==="True"});break;case"PendingNotification":case"PendingConfirmation":case"PendingApprovalStage1":case"PendingApprovalStage2":case"PendingApprovalStage3":case"PendingOfflineNotification":oe(z||"casino, livecasino, tournaments"),n(21,he="pending");break;case"Rejected":case"Cancelled":case"Failed":oe(pe||"casino, livecasino, tournaments"),n(21,he=x.status.toLowerCase()),cr(x.type==="Deposit"?"deposit_failed":"withdrawal_failed",{userID:h,amount:x.amount,currency:x.currency,failureReason:x.message}),N==="true"&&n(22,fe=!0);break;default:oe("close")}c?Ks(c,x.status):Js(x.status)}).finally(()=>n(11,Y=!1))},Je=d=>{window.postMessage({type:d},window.location.href)},et=d=>{d&&window.postMessage({type:"NavigateTo",path:d,target:Ua,externalLink:!1},window.location.href)};let xe,se;const ae=(d,re=!0)=>zt(this,null,function*(){const X=d.currentTarget.innerHTML;if(X&&navigator.clipboard&&navigator.clipboard.writeText)try{yield navigator.clipboard.writeText(X),re&&(n(23,xe=!0),clearTimeout(se),se=setTimeout(()=>{n(23,xe=!1)},2e3))}catch(gt){console.error("Clipboard API failed:",gt)}}),mt=()=>{L.length>0&&(_=L.split(","))},De=d=>ae(d),ve=d=>Je(d.event);function ce(d){ut[d?"unshift":"push"](()=>{Q[Q.length]=d,n(18,Q)})}const E=d=>{et(d.description)};function U(d){ut[d?"unshift":"push"](()=>{O=d,n(10,O)})}return e.$$set=d=>{"endpoint"in d&&n(1,i=d.endpoint),"session"in d&&n(2,o=d.session),"lang"in d&&n(3,s=d.lang),"local"in d&&n(31,a=d.local),"showerrors"in d&&n(32,u=d.showerrors),"translationurl"in d&&n(4,l=d.translationurl),"assetsurl"in d&&n(5,c=d.assetsurl),"customerid"in d&&n(6,h=d.customerid),"transactionid"in d&&n(33,m=d.transactionid),"currencydecimals"in d&&n(34,g=d.currencydecimals),"type"in d&&n(35,v=d.type),"clientstyling"in d&&n(7,p=d.clientstyling),"clientstylingurl"in d&&n(8,B=d.clientstylingurl),"mbsource"in d&&n(36,k=d.mbsource),"showverifications"in d&&n(9,N=d.showverifications),"paymentmethod"in d&&n(0,A=d.paymentmethod),"customsucceessbuttons"in d&&n(37,I=d.customsucceessbuttons),"custompendingbuttons"in d&&n(38,z=d.custompendingbuttons),"customfailedbuttons"in d&&n(39,pe=d.customfailedbuttons),"currencysymbol"in d&&n(40,le=d.currencysymbol),"currencyposition"in d&&n(41,K=d.currencyposition),"userroles"in d&&n(42,L=d.userroles),"windowsize"in d&&n(43,ye=d.windowsize),"p2p"in d&&n(44,Se=d.p2p)},e.$$.update=()=>{e.$$.dirty[1]&2048&&L&&mt(),e.$$.dirty[0]&70|e.$$.dirty[1]&6&&i&&o&&h&&m&&u&&Oe(),e.$$.dirty[0]&8&&s&&ge(),e.$$.dirty[0]&24&&s&&l&&Ee(),e.$$.dirty[0]&1152&&p&&O&&Mi(O,p),e.$$.dirty[0]&1280&&B&&O&&Pi(O,B),e.$$.dirty[0]&1024|e.$$.dirty[1]&32&&k&&O&&Bi(O,`${k}.Style`,q)},[A,i,o,s,l,c,h,p,B,N,O,Y,S,b,y,x,R,W,Q,te,me,he,fe,xe,r,Ce,Qe,Oe,Je,et,ae,a,u,m,g,v,k,I,z,pe,le,K,L,ye,Se,De,ve,ce,E,U]}class Ai extends zr{constructor(t){super(),jr(this,t,ja,Na,yn,{endpoint:1,session:2,lang:3,local:31,showerrors:32,translationurl:4,assetsurl:5,customerid:6,transactionid:33,currencydecimals:34,type:35,clientstyling:7,clientstylingurl:8,mbsource:36,showverifications:9,paymentmethod:0,customsucceessbuttons:37,custompendingbuttons:38,customfailedbuttons:39,currencysymbol:40,currencyposition:41,userroles:42,windowsize:43,p2p:44},xa,[-1,-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),V()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),V()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),V()}get local(){return this.$$.ctx[31]}set local(t){this.$$set({local:t}),V()}get showerrors(){return this.$$.ctx[32]}set showerrors(t){this.$$set({showerrors:t}),V()}get translationurl(){return this.$$.ctx[4]}set translationurl(t){this.$$set({translationurl:t}),V()}get assetsurl(){return this.$$.ctx[5]}set assetsurl(t){this.$$set({assetsurl:t}),V()}get customerid(){return this.$$.ctx[6]}set customerid(t){this.$$set({customerid:t}),V()}get transactionid(){return this.$$.ctx[33]}set transactionid(t){this.$$set({transactionid:t}),V()}get currencydecimals(){return this.$$.ctx[34]}set currencydecimals(t){this.$$set({currencydecimals:t}),V()}get type(){return this.$$.ctx[35]}set type(t){this.$$set({type:t}),V()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),V()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),V()}get mbsource(){return this.$$.ctx[36]}set mbsource(t){this.$$set({mbsource:t}),V()}get showverifications(){return this.$$.ctx[9]}set showverifications(t){this.$$set({showverifications:t}),V()}get paymentmethod(){return this.$$.ctx[0]}set paymentmethod(t){this.$$set({paymentmethod:t}),V()}get customsucceessbuttons(){return this.$$.ctx[37]}set customsucceessbuttons(t){this.$$set({customsucceessbuttons:t}),V()}get custompendingbuttons(){return this.$$.ctx[38]}set custompendingbuttons(t){this.$$set({custompendingbuttons:t}),V()}get customfailedbuttons(){return this.$$.ctx[39]}set customfailedbuttons(t){this.$$set({customfailedbuttons:t}),V()}get currencysymbol(){return this.$$.ctx[40]}set currencysymbol(t){this.$$set({currencysymbol:t}),V()}get currencyposition(){return this.$$.ctx[41]}set currencyposition(t){this.$$set({currencyposition:t}),V()}get userroles(){return this.$$.ctx[42]}set userroles(t){this.$$set({userroles:t}),V()}get windowsize(){return this.$$.ctx[43]}set windowsize(t){this.$$set({windowsize:t}),V()}get p2p(){return this.$$.ctx[44]}set p2p(t){this.$$set({p2p:t}),V()}}Fr(Ai,{endpoint:{},session:{},lang:{},local:{},showerrors:{},translationurl:{},assetsurl:{},customerid:{},transactionid:{},currencydecimals:{},type:{},clientstyling:{},clientstylingurl:{},mbsource:{},showverifications:{},paymentmethod:{},customsucceessbuttons:{},custompendingbuttons:{},customfailedbuttons:{},currencysymbol:{},currencyposition:{},userroles:{},windowsize:{},p2p:{}},[],[],!0);const Ga=Object.freeze(Object.defineProperty({__proto__:null,default:Ai},Symbol.toStringTag,{value:"Module"}));exports.$format=bi;exports.$locale=Ie;exports.CashierReceiptPage_ce=Ga;exports.HtmlTag=Vi;exports.SvelteComponent=zr;exports.addMessages=xn;exports.append=C;exports.append_styles=Pr;exports.attr=f;exports.binding_callbacks=ut;exports.check_outros=Dr;exports.component_subscribe=xr;exports.create_component=io;exports.create_custom_element=Fr;exports.create_slot=Ni;exports.destroy_component=Ur;exports.detach=H;exports.element=T;exports.empty=Rt;exports.flush=V;exports.get_all_dirty_from_scope=Gi;exports.get_slot_changes=Ui;exports.group_outros=Or;exports.init=jr;exports.init$1=pi;exports.insert=P;exports.listen=ze;exports.mount_component=Nr;exports.noop=ie;exports.onMount=Ir;exports.safe_not_equal=yn;exports.setClientStyling=Mi;exports.setClientStylingURL=Pi;exports.setStreamStyling=Bi;exports.set_data=F;exports.space=G;exports.src_url_equal=Jt;exports.text=j;exports.transition_in=Bt;exports.transition_out=Rr;exports.update_slot_base=ji;
51
+ `};if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierError-CXvinM7U.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}function xa(e){Pr(e,"svelte-nkabfs",'.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}')}function fr(e,t,n){const r=e.slice();return r[70]=t[n],r[72]=n,r}function pr(e,t,n){const r=e.slice();return r[73]=t[n],r}function Ta(e){let t,n,r=cr(e[25])&&e[9]&&e[22],i,o=e[23]&&dr(e),s=r&&mr(e);function a(c,h){if(c[15])return Ha;if(c[19]&&!c[20])return Ea}let u=a(e),l=u&&u(e);return{c(){o&&o.c(),t=G(),n=T("div"),s&&s.c(),i=G(),l&&l.c(),f(n,"class","CashierReceiptPage")},m(c,h){o&&o.m(c,h),P(c,t,h),P(c,n,h),s&&s.m(n,null),C(n,i),l&&l.m(n,null)},p(c,h){c[23]?o?(o.p(c,h),h[0]&8388608&&Bt(o,1)):(o=dr(c),o.c(),Bt(o,1),o.m(t.parentNode,t)):o&&(Or(),Rr(o,1,1,()=>{o=null}),Dr()),h[0]&4194816&&(r=cr(c[25])&&c[9]&&c[22]),r?s?s.p(c,h):(s=mr(c),s.c(),s.m(n,i)):s&&(s.d(1),s=null),u===(u=a(c))&&l?l.p(c,h):(l&&l.d(1),l=u&&u(c),l&&(l.c(),l.m(n,null)))},d(c){c&&(H(t),H(n)),o&&o.d(c),s&&s.d(),l&&l.d()}}}function Sa(e){let t;return{c(){t=T("div"),t.innerHTML='<div class="Spinner"></div>',f(t,"class","LoadingOverlay")},m(n,r){P(n,t,r)},p:ie,d(n){n&&H(t)}}}function dr(e){let t,n=e[24]("copyTransactionId")+"",r,i,o,s;return{c(){t=T("div"),r=j(n),f(t,"class","CopyTooltip")},m(a,u){P(a,t,u),C(t,r),s=!0},p(a,u){(!s||u[0]&16777216)&&n!==(n=a[24]("copyTransactionId")+"")&&F(r,n)},i(a){s||(a&&We(()=>{s&&(o&&o.end(1),i=no(t,Un,{duration:100}),i.start())}),s=!0)},o(a){i&&i.invalidate(),a&&(o=ro(t,Un,{duration:1e3})),s=!1},d(a){a&&H(t),a&&o&&o.end()}}}function mr(e){let t;return{c(){t=T("cashier-verifications"),Z(t,"lang",e[3]),Z(t,"translationurl",e[4]),Z(t,"endpoint",e[1]),Z(t,"clientstylingurl",e[8]),Z(t,"clientstyling",e[7]),Z(t,"customerid",e[6]),Z(t,"playersession",e[2])},m(n,r){P(n,t,r)},p(n,r){r[0]&8&&Z(t,"lang",n[3]),r[0]&16&&Z(t,"translationurl",n[4]),r[0]&2&&Z(t,"endpoint",n[1]),r[0]&256&&Z(t,"clientstylingurl",n[8]),r[0]&128&&Z(t,"clientstyling",n[7]),r[0]&64&&Z(t,"customerid",n[6]),r[0]&4&&Z(t,"playersession",n[2])},d(n){n&&H(t)}}}function Ea(e){let t,n=e[19]===e[13].Maintenance&&gr(e);return{c(){t=T("cashier-error"),n&&n.c(),Z(t,"assetsurl",e[5]),Z(t,"translationurl",e[4]),Z(t,"clientstylingurl",e[8]),Z(t,"clientstyling",e[7]),Z(t,"lang",e[3]),Z(t,"hidebuttons","true"),Z(t,"errorcode",e[19])},m(r,i){P(r,t,i),n&&n.m(t,null)},p(r,i){r[19]===r[13].Maintenance?n?n.p(r,i):(n=gr(r),n.c(),n.m(t,null)):n&&(n.d(1),n=null),i[0]&32&&Z(t,"assetsurl",r[5]),i[0]&16&&Z(t,"translationurl",r[4]),i[0]&256&&Z(t,"clientstylingurl",r[8]),i[0]&128&&Z(t,"clientstyling",r[7]),i[0]&8&&Z(t,"lang",r[3]),i[0]&524288&&Z(t,"errorcode",r[19])},d(r){r&&H(t),n&&n.d()}}}function Ha(e){let t,n,r,i,o,s=e[24]("amount")+"",a,u,l,c,h,m,g,v=e[24]("status")+"",d,B,k,N=e[24](`${e[21]}`)+"",A,Y,q,I,z,de=e[24]("transactionId")+"",le,K,L,ye=e[15].referenceId+"",Se,S,_,b,y=e[24]("payemntMethod")+"",w,M,x,R,W,O,Q,te=e[24]("paymentTime")+"",me,he,Ce,fe=Dt(e[15].time).format("MMM DD, YYYY, HH:mm:ss")+"",ne,oe,ge,_e,Ee,Qe,Le,Oe,Je;function et(E,U){if(E[21]==="success")return Ba;if(E[21]==="pending")return Pa;if(E[21]==="failed"||E[21]==="rejected"||E[21]==="canceled")return Ma}let xe=et(e),se=xe&&xe(e),ae=e[12].length>0&&br(e);function mt(E,U){return E[15].type?ka:Aa}let De=mt(e),ve=De(e),ce=e[16].length&&vr(e);return{c(){t=T("div"),se&&se.c(),n=G(),r=T("div"),i=T("div"),o=T("p"),a=j(s),u=G(),l=T("span"),c=j(e[17]),h=G(),m=T("div"),g=T("p"),d=j(v),B=G(),k=T("span"),A=j(N),q=G(),I=T("div"),z=T("p"),le=j(de),K=G(),L=T("span"),Se=j(ye),S=G(),_=T("div"),b=T("p"),w=j(y),M=G(),x=T("span"),R=j(e[0]),W=G(),O=T("div"),Q=T("p"),me=j(te),he=G(),Ce=T("span"),ne=j(fe),oe=G(),ge=T("div"),ae&&ae.c(),_e=G(),Ee=T("button"),ve.c(),Qe=G(),ce&&ce.c(),Le=Rt(),f(t,"class","ReceiptStatusWrapper"),f(i,"class","Amount"),f(m,"class",Y=`Status ${e[21]}`),f(L,"class","TxnIdText"),f(I,"class","TxnId"),f(_,"class","PaymentMethod"),f(O,"class","PaymentTime"),f(r,"class","ReceiptDetailsWrapper"),f(ge,"class","ReceiptButtonsWrapper"),f(Ee,"class","DefaultButton")},m(E,U){P(E,t,U),se&&se.m(t,null),P(E,n,U),P(E,r,U),C(r,i),C(i,o),C(o,a),C(i,u),C(i,l),C(l,c),C(r,h),C(r,m),C(m,g),C(g,d),C(m,B),C(m,k),C(k,A),C(r,q),C(r,I),C(I,z),C(z,le),C(I,K),C(I,L),C(L,Se),C(r,S),C(r,_),C(_,b),C(b,w),C(_,M),C(_,x),C(x,R),C(r,W),C(r,O),C(O,Q),C(Q,me),C(O,he),C(O,Ce),C(Ce,ne),P(E,oe,U),P(E,ge,U),ae&&ae.m(ge,null),P(E,_e,U),P(E,Ee,U),ve.m(Ee,null),P(E,Qe,U),ce&&ce.m(E,U),P(E,Le,U),Oe||(Je=[ze(L,"click",e[45]),ze(Ee,"click",e[26])],Oe=!0)},p(E,U){xe===(xe=et(E))&&se?se.p(E,U):(se&&se.d(1),se=xe&&xe(E),se&&(se.c(),se.m(t,null))),U[0]&16777216&&s!==(s=E[24]("amount")+"")&&F(a,s),U[0]&131072&&F(c,E[17]),U[0]&16777216&&v!==(v=E[24]("status")+"")&&F(d,v),U[0]&18874368&&N!==(N=E[24](`${E[21]}`)+"")&&F(A,N),U[0]&2097152&&Y!==(Y=`Status ${E[21]}`)&&f(m,"class",Y),U[0]&16777216&&de!==(de=E[24]("transactionId")+"")&&F(le,de),U[0]&32768&&ye!==(ye=E[15].referenceId+"")&&F(Se,ye),U[0]&16777216&&y!==(y=E[24]("payemntMethod")+"")&&F(w,y),U[0]&1&&F(R,E[0]),U[0]&16777216&&te!==(te=E[24]("paymentTime")+"")&&F(me,te),U[0]&32768&&fe!==(fe=Dt(E[15].time).format("MMM DD, YYYY, HH:mm:ss")+"")&&F(ne,fe),E[12].length>0?ae?ae.p(E,U):(ae=br(E),ae.c(),ae.m(ge,null)):ae&&(ae.d(1),ae=null),De===(De=mt(E))&&ve?ve.p(E,U):(ve.d(1),ve=De(E),ve&&(ve.c(),ve.m(Ee,null))),E[16].length?ce?ce.p(E,U):(ce=vr(E),ce.c(),ce.m(Le.parentNode,Le)):ce&&(ce.d(1),ce=null)},d(E){E&&(H(t),H(n),H(r),H(oe),H(ge),H(_e),H(Ee),H(Qe),H(Le)),se&&se.d(),ae&&ae.d(),ve.d(),ce&&ce.d(E),Oe=!1,Ae(Je)}}}function gr(e){let t,n,r,i=e[24]("receipt.maintenance.title")+"",o,s,a,u=e[24]("receipt.maintenance.text")+"",l;return{c(){t=T("div"),t.innerHTML='<div class="ImagePlaceholder Maintenance"></div>',n=G(),r=T("span"),o=j(i),s=G(),a=T("span"),l=j(u),f(t,"slot","icon"),f(r,"slot","title"),f(r,"class","CashierErrorTitle"),f(a,"slot","text"),f(a,"class","CashierErrorText")},m(c,h){P(c,t,h),P(c,n,h),P(c,r,h),C(r,o),P(c,s,h),P(c,a,h),C(a,l)},p(c,h){h[0]&16777216&&i!==(i=c[24]("receipt.maintenance.title")+"")&&F(o,i),h[0]&16777216&&u!==(u=c[24]("receipt.maintenance.text")+"")&&F(l,u)},d(c){c&&(H(t),H(n),H(r),H(s),H(a))}}}function Ma(e){let t,n,r,i,o,s,a,u=e[24](`${e[15].type.toLowerCase()}.fail.title`)+"",l,c,h,m=e[24](`${e[15].type.toLowerCase()}.fail.text`)+"",g;return{c(){t=be("svg"),n=be("circle"),r=be("rect"),i=be("path"),o=G(),s=T("div"),a=T("h3"),l=j(u),c=G(),h=T("p"),g=j(m),f(n,"cx","36"),f(n,"cy","36"),f(n,"r","36"),f(n,"fill","#D14141"),f(n,"fill-opacity","0.12"),f(r,"x","19.335"),f(r,"y","19"),f(r,"width","33.33"),f(r,"height","33.33"),f(r,"rx","16.665"),f(r,"fill","#FF3636"),f(i,"d","M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"),f(i,"stroke","black"),f(i,"stroke-width","2.09016"),f(i,"stroke-linecap","round"),f(i,"stroke-linejoin","round"),f(t,"class","ReceiptStatusIcon failed"),f(t,"width","72"),f(t,"height","72"),f(t,"viewBox","0 0 72 72"),f(t,"fill","none"),f(t,"xmlns","http://www.w3.org/2000/svg"),f(s,"class","ReceiptStatusText")},m(v,d){P(v,t,d),C(t,n),C(t,r),C(t,i),P(v,o,d),P(v,s,d),C(s,a),C(a,l),C(s,c),C(s,h),C(h,g)},p(v,d){d[0]&16809984&&u!==(u=v[24](`${v[15].type.toLowerCase()}.fail.title`)+"")&&F(l,u),d[0]&16809984&&m!==(m=v[24](`${v[15].type.toLowerCase()}.fail.text`)+"")&&F(g,m)},d(v){v&&(H(t),H(o),H(s))}}}function Pa(e){let t,n,r,i,o,s,a,u,l,c=e[24](`${e[15].type.toLowerCase()}.pending.title`)+"",h,m,g,v=e[24](`${e[15].type.toLowerCase()}.pending.text`)+"",d,B,k,N=e[24]("refreshButton")+"",A,Y,q;return{c(){t=be("svg"),n=be("circle"),r=be("rect"),i=be("path"),o=be("path"),s=be("path"),a=G(),u=T("div"),l=T("h3"),h=j(c),m=G(),g=T("p"),d=j(v),B=G(),k=T("button"),A=j(N),f(n,"cx","36"),f(n,"cy","36"),f(n,"r","36"),f(n,"fill","#D19A41"),f(n,"fill-opacity","0.12"),f(r,"x","19"),f(r,"y","19"),f(r,"width","34"),f(r,"height","34"),f(r,"rx","17"),f(r,"fill","#FF6836"),f(i,"d","M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"),f(i,"stroke","black"),f(i,"stroke-width","1.5"),f(i,"stroke-linecap","round"),f(i,"stroke-linejoin","round"),f(o,"d","M36 32V36L38 38"),f(o,"stroke","black"),f(o,"stroke-width","1.5"),f(o,"stroke-linecap","round"),f(o,"stroke-linejoin","round"),f(s,"d","M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"),f(s,"stroke","black"),f(s,"stroke-width","1.5"),f(s,"stroke-linecap","round"),f(s,"stroke-linejoin","round"),f(t,"class","ReceiptStatusIcon pending"),f(t,"width","72"),f(t,"height","72"),f(t,"viewBox","0 0 72 72"),f(t,"fill","none"),f(t,"xmlns","http://www.w3.org/2000/svg"),f(u,"class","ReceiptStatusText"),f(k,"class","RefreshButton")},m(I,z){P(I,t,z),C(t,n),C(t,r),C(t,i),C(t,o),C(t,s),P(I,a,z),P(I,u,z),C(u,l),C(l,h),C(u,m),C(u,g),C(g,d),P(I,B,z),P(I,k,z),C(k,A),Y||(q=ze(k,"click",e[27]),Y=!0)},p(I,z){z[0]&16809984&&c!==(c=I[24](`${I[15].type.toLowerCase()}.pending.title`)+"")&&F(h,c),z[0]&16809984&&v!==(v=I[24](`${I[15].type.toLowerCase()}.pending.text`)+"")&&F(d,v),z[0]&16777216&&N!==(N=I[24]("refreshButton")+"")&&F(A,N)},d(I){I&&(H(t),H(a),H(u),H(B),H(k)),Y=!1,q()}}}function Ba(e){let t,n,r,i,o,s,a=e[24](`${e[15].type.toLowerCase()}.success.title`)+"",u,l,c,h=e[24](`${e[15].type.toLowerCase()}.success.text`)+"",m;return{c(){t=be("svg"),n=be("circle"),r=be("path"),i=G(),o=T("div"),s=T("h3"),u=j(a),l=G(),c=T("p"),m=j(h),f(n,"cx","36"),f(n,"cy","36"),f(n,"r","36"),f(n,"fill","#F9C408"),f(n,"fill-opacity","0.12"),f(r,"d","M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"),f(r,"fill","#F9C408"),f(t,"class","ReceiptStatusIcon success"),f(t,"width","72"),f(t,"height","72"),f(t,"viewBox","0 0 72 72"),f(t,"fill","none"),f(t,"xmlns","http://www.w3.org/2000/svg"),f(o,"class","ReceiptStatusText")},m(g,v){P(g,t,v),C(t,n),C(t,r),P(g,i,v),P(g,o,v),C(o,s),C(s,u),C(o,l),C(o,c),C(c,m)},p(g,v){v[0]&16809984&&a!==(a=g[24](`${g[15].type.toLowerCase()}.success.title`)+"")&&F(u,a),v[0]&16809984&&h!==(h=g[24](`${g[15].type.toLowerCase()}.success.text`)+"")&&F(m,h)},d(g){g&&(H(t),H(i),H(o))}}}function br(e){let t,n=At(e[12]),r=[];for(let i=0;i<n.length;i+=1)r[i]=yr(pr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=Rt()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);P(i,t,o)},p(i,o){if(o[0]&285216768){n=At(i[12]);let s;for(s=0;s<n.length;s+=1){const a=pr(i,n,s);r[s]?r[s].p(a,o):(r[s]=yr(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&H(t),Ar(r,i)}}}function yr(e){var m;let t,n,r=((m=hr[`${e[73].type}`])!=null?m:"")+"",i,o=e[24](`${e[73].translationKey}`)+"",s,a,u,l,c;function h(){return e[46](e[73])}return{c(){t=T("button"),n=T("div"),i=G(),s=j(o),a=G(),f(n,"class","CustomButtonSvg"),f(t,"class",u=`${e[73].type} GoToButton`)},m(g,v){P(g,t,v),C(t,n),n.innerHTML=r,C(t,i),C(t,s),C(t,a),l||(c=ze(t,"click",h),l=!0)},p(g,v){var d;e=g,v[0]&4096&&r!==(r=((d=hr[`${e[73].type}`])!=null?d:"")+"")&&(n.innerHTML=r),v[0]&16781312&&o!==(o=e[24](`${e[73].translationKey}`)+"")&&F(s,o),v[0]&4096&&u!==(u=`${e[73].type} GoToButton`)&&f(t,"class",u)},d(g){g&&H(t),l=!1,c()}}}function Aa(e){let t=e[24]("backHome")+"",n;return{c(){n=j(t)},m(r,i){P(r,n,i)},p(r,i){i[0]&16777216&&t!==(t=r[24]("backHome")+"")&&F(n,t)},d(r){r&&H(n)}}}function ka(e){let t=e[24](`back${e[15].type}`)+"",n;return{c(){n=j(t)},m(r,i){P(r,n,i)},p(r,i){i[0]&16809984&&t!==(t=r[24](`back${r[15].type}`)+"")&&F(n,t)},d(r){r&&H(n)}}}function vr(e){let t,n=At(e[16]),r=[];for(let i=0;i<n.length;i+=1)r[i]=Cr(fr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=Rt()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);P(i,t,o)},p(i,o){if(o[0]&537214976){n=At(i[16]);let s;for(s=0;s<n.length;s+=1){const a=fr(i,n,s);r[s]?r[s].p(a,o):(r[s]=Cr(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&H(t),Ar(r,i)}}}function Ia(e){let t,n=e[70].defaultValue+"",r;return{c(){t=T("span"),r=j(n),f(t,"class","Label")},m(i,o){P(i,t,o),C(t,r)},p(i,o){o[0]&65536&&n!==(n=i[70].defaultValue+"")&&F(r,n)},d(i){i&&H(t)}}}function La(e){return{c:ie,m:ie,p:ie,d:ie}}function Oa(e){let t,n=e[70].description+"",r,i,o,s=e[70].name+"",a,u;return{c(){t=T("span"),r=j(n),i=G(),o=T("a"),a=j(s),f(o,"href",u=e[70].defaultValue),f(o,"target","_blank"),f(o,"rel","noopener noreferrer")},m(l,c){P(l,t,c),C(t,r),C(t,i),C(t,o),C(o,a)},p(l,c){c[0]&65536&&n!==(n=l[70].description+"")&&F(r,n),c[0]&65536&&s!==(s=l[70].name+"")&&F(a,s),c[0]&65536&&u!==(u=l[70].defaultValue)&&f(o,"href",u)},d(l){l&&H(t)}}}function Da(e){let t,n,r;return{c(){t=T("img"),en(t.src,n=e[70].defaultValue)||f(t,"src",n),f(t,"title",r=e[70].description),f(t,"alt","")},m(i,o){P(i,t,o)},p(i,o){o[0]&65536&&!en(t.src,n=i[70].defaultValue)&&f(t,"src",n),o[0]&65536&&r!==(r=i[70].description)&&f(t,"title",r)},d(i){i&&H(t)}}}function Ra(e){let t,n=e[70].defaultValue+"";return{c(){t=T("span")},m(r,i){P(r,t,i),t.innerHTML=n},p(r,i){i[0]&65536&&n!==(n=r[70].defaultValue+"")&&(t.innerHTML=n)},d(r){r&&H(t)}}}function $a(e){let t,n,r=e[70].defaultValue+"",i,o,s;function a(){return e[48](e[70])}return{c(){t=T("div"),n=T("div"),i=j(r),f(t,"class","QRCode")},m(u,l){P(u,t,l),C(t,n),C(n,i),e[47](n),o||(s=ze(t,"click",a),o=!0)},p(u,l){e=u,l[0]&65536&&r!==(r=e[70].defaultValue+"")&&F(i,r)},d(u){u&&H(t),e[47](null),o=!1,s()}}}function Cr(e){let t,n;function r(s,a){return s[70].type===s[14].QRCode?$a:s[70].type===s[14].Html?Ra:s[70].type===s[14].Image?Da:s[70].type===s[14].Link?Oa:s[70].type===s[14].Hidden?La:Ia}let i=r(e),o=i(e);return{c(){t=T("div"),o.c(),n=G(),f(t,"class","ReceiptField")},m(s,a){P(s,t,a),o.m(t,null),C(t,n)},p(s,a){i===(i=r(s))&&o?o.p(s,a):(o.d(1),o=i(s),o&&(o.c(),o.m(t,n)))},d(s){s&&H(t),o.d()}}}function Na(e){let t;function n(o,s){return o[11]?Sa:Ta}let r=n(e),i=r(e);return{c(){t=T("div"),i.c(),f(t,"class","CashierReceiptPageWidget")},m(o,s){P(o,t,s),i.m(t,null),e[49](t)},p(o,s){r===(r=n(o))&&i?i.p(o,s):(i.d(1),i=r(o),i&&(i.c(),i.m(t,null)))},i:ie,o:ie,d(o){o&&H(t),i.d(),e[49](null)}}}let Ua="_blank";function ja(e,t,n){let r;xr(e,bi,p=>n(24,r=p)),Dt.extend(ia);let{endpoint:i}=t,{session:o}=t,{lang:s="en"}=t,{local:a="en-US"}=t,{showerrors:u="true"}=t,{translationurl:l}=t,{assetsurl:c=""}=t,{customerid:h}=t,{transactionid:m}=t,{currencydecimals:g="0"}=t,{type:v}=t,{clientstyling:d=""}=t,{clientstylingurl:B=""}=t,{mbsource:k=""}=t,{showverifications:N="true"}=t,{paymentmethod:A=""}=t,Y=!1,q,{customsucceessbuttons:I=""}=t,{custompendingbuttons:z=""}=t,{customfailedbuttons:de=""}=t,{currencysymbol:le=""}=t,{currencyposition:K=""}=t,{userroles:L=""}=t,{windowsize:ye}=t,{p2p:Se="false"}=t,S=[],_=[];var b;(function(p){p.Success="Success",p.Maintenance="Maintenance"})(b||(b={}));var y;(function(p){p.Unknown="Unknown",p.Text="Text",p.Boolean="Boolean",p.Number="Number",p.Money="Money",p.DateTime="DateTime",p.Lookup="Lookup",p.IpAddress="IpAddress",p.Date="Date",p.Time="Time",p.LookupCollection="LookupCollection",p.Hidden="Hidden",p.Label="Label",p.Password="Password",p.Link="Link",p.Image="Image",p.Html="Html",p.QRCode="QR"})(y||(y={}));const w=(p,[re,we])=>[...p,...Array.isArray(re)?[...re.map(X=>[X,we])]:[[re,we]]],M=new Map([[["Unknown",0],y.Unknown],[["Text",1],y.Text],[["Boolean",2],y.Boolean],[["Number",3],y.Number],[["Money",4],y.Money],[["DateTime",5],y.DateTime],[["Lookup",6],y.Lookup],[["IpAddress",7],y.IpAddress],[["Date",8],y.Date],[["Time",9],y.Time],[["LookupCollection",10],y.LookupCollection],[["Hidden",11],y.Hidden],[["Label",12],y.Label],[["Password",13],y.Password],[["Link",14],y.Link],[["Image",15],y.Image],[["Html",19],y.Html],[["QR",20],y.QRCode]].reduce(w,[]));let x,R=[],W,O,Q=[],te,me,he="",Ce=window.navigator.userAgent,fe=!1;const ne={promotions:{event:"Cashier:goToPromotions",translationKey:"goToPromotions",type:"PromotionsButton"},tournaments:{event:"Cashier:goToTournaments",translationKey:"goToTournaments",type:"TournamentsButton"},support:{event:"Cashier:goToContact",translationKey:"goToSupport",type:"SupportButton"},merchanthomepage:{event:"Cashier:goToVendorWebsite",translationKey:"goToMerchantHomePage",type:"MerchantHomePageButton"},sports:{event:"Cashier:goToSports",translationKey:"goToSports",type:"SportsButton"},casino:{event:"Cashier:goToCasino",translationKey:"goToCasino",type:"CasinoButton"},livecasino:{event:"Cashier:goToLiveCasino",translationKey:"goToLiveCasino",type:"LiveCasinoButton"},externallink:{event:"Cashier:externalRedirect",translationKey:"externalLink",type:"ExternalLinkButton"},documentupload:{event:"Cashier:uploadDocuments",translationKey:"uploadDocuments",type:"UploadDocumentButton"},home:{event:"Cashier:goToHome",translationKey:"goToHomepage",type:"HomeButton"},close:{event:"CloseCashierReceiptPage",translationKey:"close",type:"CloseButton"}},oe=p=>{n(12,S=[]),p.split(",").forEach(we=>{ne[we.trim()]&&S.push(ne[we.trim()])})},ge=()=>{qs(s)};Ir(()=>(window.addEventListener("message",_e,!1),va(a,le,K,g),()=>{window.removeEventListener("message",_e)}));const _e=p=>{var re;switch(p.data.type){case"CloseReceiptInSecondTab":(re=window.opener)==null||re.postMessage(p.data);break}},Ee=()=>{let p=l;if(p)return fetch(p).then(re=>re.json()).then(re=>{Object.keys(re).forEach(we=>{tr(we,re[we])})}).catch(()=>{})};Object.keys(nr).forEach(p=>{tr(p,nr[p])});const Qe=()=>{window.postMessage({type:"CloseCashierReceiptPage"},window.location.href)},Le=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:te,showErrorOutsideReceiptPage:me},window.location.href)},Oe=()=>{const p=new URL(`${i}/v1/player/${h}/payment/GetPaymentInfo`),re=new Headers;re.append("accept","application/json"),re.append("Content-Type","application/json"),re.append("X-SessionId",`${o}`),re.append("X-Client-Request-Timestamp",Dt.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),_.indexOf("MM_CHANNEL_BETA")!=-1&&re.append("MM_CHANNEL","BETA");const we={method:"POST",headers:re,body:JSON.stringify({TransactionCode:m})};n(11,Y=!0),fetch(p,we).then(X=>X.json()).then(X=>{var gt,En,Hn,Mn,Pn,Bn,An,kn,In,Ln,On;if(X.ResponseCode!==b.Success){n(19,te=X.ResponseCode),n(20,me=u.toLowerCase()==="false"||!u),Le();return}switch(n(15,x={type:X.Transaction.Type,referenceId:X.Transaction.Code,status:(gt=X.Transaction.Status)==null?void 0:gt.Status,message:(En=X.Transaction.Status)==null?void 0:En.Message,amount:(Hn=X.Transaction.Amounts[0])==null?void 0:Hn.Amount,currency:(Mn=X.Transaction.Amounts[0])==null?void 0:Mn.Currency,time:X.Transaction.Status.Created}),n(16,R=X.ReceiptInfo&&X.ReceiptInfo.ReceiptFields?X.ReceiptInfo.ReceiptFields.map(Me=>({type:M.get(Me.Type),name:Me.Name,description:Me.Description,defaultValue:Me.DefaultValue,useCopyButton:Me.UseCopyButton,usePrintButton:Me.UsePrintButton})):[]),X.ReceiptInfo&&X.ReceiptInfo.ReceiptFields&&!A&&n(0,A=R[0].defaultValue),r(Qs(x.status,x.type),{values:{errorText:x.message}}),n(17,W=Ca(Number(x.amount),x.currency)),x.status){case"Voided":case"Success":if(oe(I||"casino, livecasino, tournaments"),n(21,he="success"),x.type==="Deposit"){const Me=(Bn=(Pn=X.Transaction)==null?void 0:Pn.Flags)==null?void 0:Bn.NewDepositCustomer,Re=(An=X==null?void 0:X.Transaction)==null?void 0:An.Payloads;window.postMessage({type:Me==="True"?"FirstDeposit":"ConfirmedDeposit",method:A,amount:x.amount,currency:x.currency,depositType:(kn=Re==null?void 0:Re.TagManagerDepositType)!=null?kn:"",publicPaymentId:(In=Re==null?void 0:Re.TagManagerCode)!=null?In:""},window.location.href)}Jt(x.type==="Deposit"?"deposit_success":"withdrawal_success",{userID:h,amount:x.amount,currency:x.currency,transactionId:x.referenceId,method:A,isFirstDeposit:((On=(Ln=X.Transaction)==null?void 0:Ln.Flags)==null?void 0:On.NewDepositCustomer)==="True"}),Jt("cashier_success",{transactionType:x.type,method:A});break;case"PendingNotification":case"PendingConfirmation":case"PendingApprovalStage1":case"PendingApprovalStage2":case"PendingApprovalStage3":case"PendingOfflineNotification":oe(z||"casino, livecasino, tournaments"),n(21,he="pending");break;case"Rejected":case"Cancelled":case"Failed":oe(de||"casino, livecasino, tournaments"),n(21,he=x.status.toLowerCase()),Jt(x.type==="Deposit"?"deposit_failed":"withdrawal_failed",{userID:h,amount:x.amount,currency:x.currency,failureReason:x.message}),N==="true"&&n(22,fe=!0);break;default:oe("close")}c?Ks(c,x.status):Js(x.status)}).finally(()=>n(11,Y=!1))},Je=p=>{window.postMessage({type:p},window.location.href)},et=p=>{p&&window.postMessage({type:"NavigateTo",path:p,target:Ua,externalLink:!1},window.location.href)};let xe,se;const ae=(p,re=!0)=>zt(this,null,function*(){const X=p.currentTarget.innerHTML;if(X&&navigator.clipboard&&navigator.clipboard.writeText)try{yield navigator.clipboard.writeText(X),re&&(n(23,xe=!0),clearTimeout(se),se=setTimeout(()=>{n(23,xe=!1)},2e3))}catch(gt){console.error("Clipboard API failed:",gt)}}),mt=()=>{L.length>0&&(_=L.split(","))},De=p=>ae(p),ve=p=>Je(p.event);function ce(p){ut[p?"unshift":"push"](()=>{Q[Q.length]=p,n(18,Q)})}const E=p=>{et(p.description)};function U(p){ut[p?"unshift":"push"](()=>{O=p,n(10,O)})}return e.$$set=p=>{"endpoint"in p&&n(1,i=p.endpoint),"session"in p&&n(2,o=p.session),"lang"in p&&n(3,s=p.lang),"local"in p&&n(31,a=p.local),"showerrors"in p&&n(32,u=p.showerrors),"translationurl"in p&&n(4,l=p.translationurl),"assetsurl"in p&&n(5,c=p.assetsurl),"customerid"in p&&n(6,h=p.customerid),"transactionid"in p&&n(33,m=p.transactionid),"currencydecimals"in p&&n(34,g=p.currencydecimals),"type"in p&&n(35,v=p.type),"clientstyling"in p&&n(7,d=p.clientstyling),"clientstylingurl"in p&&n(8,B=p.clientstylingurl),"mbsource"in p&&n(36,k=p.mbsource),"showverifications"in p&&n(9,N=p.showverifications),"paymentmethod"in p&&n(0,A=p.paymentmethod),"customsucceessbuttons"in p&&n(37,I=p.customsucceessbuttons),"custompendingbuttons"in p&&n(38,z=p.custompendingbuttons),"customfailedbuttons"in p&&n(39,de=p.customfailedbuttons),"currencysymbol"in p&&n(40,le=p.currencysymbol),"currencyposition"in p&&n(41,K=p.currencyposition),"userroles"in p&&n(42,L=p.userroles),"windowsize"in p&&n(43,ye=p.windowsize),"p2p"in p&&n(44,Se=p.p2p)},e.$$.update=()=>{e.$$.dirty[1]&2048&&L&&mt(),e.$$.dirty[0]&70|e.$$.dirty[1]&6&&i&&o&&h&&m&&u&&Oe(),e.$$.dirty[0]&8&&s&&ge(),e.$$.dirty[0]&24&&s&&l&&Ee(),e.$$.dirty[0]&1152&&d&&O&&Mi(O,d),e.$$.dirty[0]&1280&&B&&O&&Pi(O,B),e.$$.dirty[0]&1024|e.$$.dirty[1]&32&&k&&O&&Bi(O,`${k}.Style`,q)},[A,i,o,s,l,c,h,d,B,N,O,Y,S,b,y,x,R,W,Q,te,me,he,fe,xe,r,Ce,Qe,Oe,Je,et,ae,a,u,m,g,v,k,I,z,de,le,K,L,ye,Se,De,ve,ce,E,U]}class Ai extends zr{constructor(t){super(),jr(this,t,ja,Na,vn,{endpoint:1,session:2,lang:3,local:31,showerrors:32,translationurl:4,assetsurl:5,customerid:6,transactionid:33,currencydecimals:34,type:35,clientstyling:7,clientstylingurl:8,mbsource:36,showverifications:9,paymentmethod:0,customsucceessbuttons:37,custompendingbuttons:38,customfailedbuttons:39,currencysymbol:40,currencyposition:41,userroles:42,windowsize:43,p2p:44},xa,[-1,-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),V()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),V()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),V()}get local(){return this.$$.ctx[31]}set local(t){this.$$set({local:t}),V()}get showerrors(){return this.$$.ctx[32]}set showerrors(t){this.$$set({showerrors:t}),V()}get translationurl(){return this.$$.ctx[4]}set translationurl(t){this.$$set({translationurl:t}),V()}get assetsurl(){return this.$$.ctx[5]}set assetsurl(t){this.$$set({assetsurl:t}),V()}get customerid(){return this.$$.ctx[6]}set customerid(t){this.$$set({customerid:t}),V()}get transactionid(){return this.$$.ctx[33]}set transactionid(t){this.$$set({transactionid:t}),V()}get currencydecimals(){return this.$$.ctx[34]}set currencydecimals(t){this.$$set({currencydecimals:t}),V()}get type(){return this.$$.ctx[35]}set type(t){this.$$set({type:t}),V()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),V()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),V()}get mbsource(){return this.$$.ctx[36]}set mbsource(t){this.$$set({mbsource:t}),V()}get showverifications(){return this.$$.ctx[9]}set showverifications(t){this.$$set({showverifications:t}),V()}get paymentmethod(){return this.$$.ctx[0]}set paymentmethod(t){this.$$set({paymentmethod:t}),V()}get customsucceessbuttons(){return this.$$.ctx[37]}set customsucceessbuttons(t){this.$$set({customsucceessbuttons:t}),V()}get custompendingbuttons(){return this.$$.ctx[38]}set custompendingbuttons(t){this.$$set({custompendingbuttons:t}),V()}get customfailedbuttons(){return this.$$.ctx[39]}set customfailedbuttons(t){this.$$set({customfailedbuttons:t}),V()}get currencysymbol(){return this.$$.ctx[40]}set currencysymbol(t){this.$$set({currencysymbol:t}),V()}get currencyposition(){return this.$$.ctx[41]}set currencyposition(t){this.$$set({currencyposition:t}),V()}get userroles(){return this.$$.ctx[42]}set userroles(t){this.$$set({userroles:t}),V()}get windowsize(){return this.$$.ctx[43]}set windowsize(t){this.$$set({windowsize:t}),V()}get p2p(){return this.$$.ctx[44]}set p2p(t){this.$$set({p2p:t}),V()}}Fr(Ai,{endpoint:{},session:{},lang:{},local:{},showerrors:{},translationurl:{},assetsurl:{},customerid:{},transactionid:{},currencydecimals:{},type:{},clientstyling:{},clientstylingurl:{},mbsource:{},showverifications:{},paymentmethod:{},customsucceessbuttons:{},custompendingbuttons:{},customfailedbuttons:{},currencysymbol:{},currencyposition:{},userroles:{},windowsize:{},p2p:{}},[],[],!0);const Ga=Object.freeze(Object.defineProperty({__proto__:null,default:Ai},Symbol.toStringTag,{value:"Module"}));exports.$format=bi;exports.$locale=Ie;exports.CashierReceiptPage_ce=Ga;exports.HtmlTag=Vi;exports.SvelteComponent=zr;exports.addMessages=Tn;exports.append=C;exports.append_styles=Pr;exports.attr=f;exports.binding_callbacks=ut;exports.check_outros=Dr;exports.component_subscribe=xr;exports.create_component=io;exports.create_custom_element=Fr;exports.create_slot=Ni;exports.destroy_component=Ur;exports.detach=H;exports.element=T;exports.empty=Rt;exports.flush=V;exports.get_all_dirty_from_scope=Gi;exports.get_slot_changes=Ui;exports.group_outros=Or;exports.init=jr;exports.init$1=di;exports.insert=P;exports.listen=ze;exports.mount_component=Nr;exports.noop=ie;exports.onMount=Ir;exports.safe_not_equal=vn;exports.setClientStyling=Mi;exports.setClientStylingURL=Pi;exports.setStreamStyling=Bi;exports.set_data=F;exports.space=G;exports.src_url_equal=en;exports.text=j;exports.transition_in=Bt;exports.transition_out=Rr;exports.update_slot_base=ji;