@everymatrix/cashier-receipt-page 1.99.21 → 1.99.23

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 Pi=Object.defineProperty,ki=Object.defineProperties;var Ai=Object.getOwnPropertyDescriptors;var On=Object.getOwnPropertySymbols;var Ii=Object.prototype.hasOwnProperty,Li=Object.prototype.propertyIsEnumerable;var Ft=(e,t,n)=>t in e?Pi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bt=(e,t)=>{for(var n in t||(t={}))Ii.call(t,n)&&Ft(e,n,t[n]);if(On)for(var n of On(t))Li.call(t,n)&&Ft(e,n,t[n]);return e},Dn=(e,t)=>ki(e,Ai(t));var ve=(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 Oi(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 ke(e){e.forEach(_r)}function ft(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 Di(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 Ri(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?Oi(n.ctx.slice(),e[1](r(t))):n.ctx}function $i(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 Ni(e,t,n,r,i,o){if(i){const s=Tr(t,n,r,o);e.p(s,i)}}function Ui(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 Br(e,t,n){const r=Cn(e);if(!r.getElementById(t)){const i=T("style");i.id=t,i.textContent=n,Pr(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 ji(e){const t=T("style");return t.textContent="/* empty */",Pr(Cn(e),t),t.sheet}function Pr(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 kr(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 ge(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 h(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function F(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:h(e,t,n)}function Gi(e){return Array.from(e.childNodes)}function z(e,t){t=""+t,e.data!==t&&(e.data=t)}function Fi(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function zi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const Ht=new Map;let Mt=0;function Wi(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function Vi(e,t){const n={stylesheet:ji(t),rules:{}};return Ht.set(e,n),n}function Ar(e,t,n,r,i,o,s,a=0){const u=16.666/r;let l=`{
1
+ "use strict";var Ai=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?Ai(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 ve=(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 ke(e){e.forEach(_r)}function ft(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 Br(e,t,n){const r=Cn(e);if(!r.getElementById(t)){const i=T("style");i.id=t,i.textContent=n,Pr(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 */",Pr(Cn(e),t),t.sheet}function Pr(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 kr(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 ge(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 h(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:h(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})}function Vi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const Ht=new Map;let Mt=0;function Zi(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function Yi(e,t){const n={stylesheet:Fi(t),rules:{}};return Ht.set(e,n),n}function Ar(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 A=t+(n-t)*o(B);l+=B*100+`%{${s(A,1-A)}}
3
3
  `}const c=l+`100% {${s(n,1-n)}}
4
- }`,f=`__svelte_${Wi(c)}_${a}`,m=Cn(e),{stylesheet:g,rules:v}=Ht.get(m)||Vi(m,e);v[f]||(v[f]=!0,g.insertRule(`@keyframes ${f} ${c}`,g.cssRules.length));const d=e.style.animation||"";return e.style.animation=`${d?`${d}, `:""}${f} ${r}ms linear ${i}ms 1 both`,Mt+=1,f}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||Zi())}function Zi(){vn(()=>{Mt||(Ht.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&H(t)}),Ht.clear())})}let at;function st(e){at=e}function Yi(){if(!at)throw new Error("Function called outside component initialization");return at}function Ir(e){Yi().$$.on_mount.push(e)}const Ue=[],ut=[];let Fe=[];const $n=[],Xi=Promise.resolve();let tn=!1;function qi(){tn||(tn=!0,Xi.then(Z))}function We(e){Fe.push(e)}const Wt=new Set;let $e=0;function Z(){if($e!==0)return;const e=at;do{try{for(;$e<Ue.length;){const t=Ue[$e];$e++,st(t),Ki(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 Ki(e){if(e.fragment!==null){e.update(),ke(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(We)}}function Qi(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 Bt(e,t,n){e.dispatchEvent(Fi(`${t?"intro":"outro"}${n}`))}const _t=new Set;let Be;function Or(){Be={r:0,c:[],p:Be}}function Dr(){Be.r||ke(Be.c),Be=Be.p}function Pt(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),Be.c.push(()=>{_t.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}const $r={duration:0};function Ji(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:d=ie,css:B}=i||$r;B&&(s=Ar(e,0,1,g,m,v,B,u++)),d(0,1);const A=Er()+m,N=A+g;a&&a.abort(),o=!0,We(()=>Bt(e,!0,"start")),a=Mr(k=>{if(o){if(k>=N)return d(1,0),Bt(e,!0,"end"),l(),o=!1;if(k>=A){const Y=v((k-A)/g);d(Y,1-Y)}}return o})}let f=!1;return{start(){f||(f=!0,en(e),ft(i)?(i=i(r),Lr().then(c)):c())},invalidate(){f=!1},end(){o&&(l(),o=!1)}}}function eo(e,t,n){const r={direction:"out"};let i=t(e,n,r),o=!0,s;const a=Be;a.r+=1;let u;function l(){const{delay:c=0,duration:f=300,easing:m=bn,tick:g=ie,css:v}=i||$r;v&&(s=Ar(e,1,0,f,c,m,v));const d=Er()+c,B=d+f;We(()=>Bt(e,!1,"start")),"inert"in e&&(u=e.inert,e.inert=!0),Mr(A=>{if(o){if(A>=B)return g(0,1),Bt(e,!1,"end"),--a.r||ke(a.c),!1;if(A>=d){const N=m((A-d)/f);g(1-N,N)}}return o})}return ft(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 kt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function to(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),We(()=>{const o=e.$$.on_mount.map(_r).filter(ft);e.$$.on_destroy?e.$$.on_destroy.push(...o):ke(o),e.$$.on_mount=[]}),i.forEach(We)}function no(e,t){const n=e.$$;n.fragment!==null&&(Qi(n.after_update),ke(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ro(e,t){e.$$.dirty[0]===-1&&(Ue.push(e),qi(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Nr(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||{},(f,m,...g)=>{const v=g.length?g[0]:m;return l.ctx&&i(l.ctx[f],l.ctx[f]=v)&&(!l.skip_bound&&l.bound[f]&&l.bound[f](v),c&&ro(e,f)),m}):[],l.update(),c=!0,ke(l.before_update),l.fragment=r?r(l.ctx):!1,t.target){if(t.hydrate){const f=Gi(t.target);l.fragment&&l.fragment.l(f),f.forEach(H)}else l.fragment&&l.fragment.c();t.intro&&Pt(e.$$.fragment),to(e,t.target,t.anchor),Z()}st(u)}let Ur;typeof HTMLElement=="function"&&(Ur=class extends HTMLElement{constructor(t,n,r){super();ve(this,"$$ctor");ve(this,"$$s");ve(this,"$$c");ve(this,"$$cn",!1);ve(this,"$$d",{});ve(this,"$$r",!1);ve(this,"$$p_d",{});ve(this,"$$l",{});ve(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"&&h(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 jr(e,t,n,r,i,o){let s=class extends Ur{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 Gr{constructor(){ve(this,"$$");ve(this,"$$set")}$destroy(){no(this,1),this.$destroy=ie}$on(t,n){if(!ft(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&&!Di(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const io="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(io);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 oo(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 oo(n,(s,a)=>{let u=!1;const l=[];let c=0,f=ie;const m=()=>{if(c)return;f();const v=t(r?l[0]:l,s,a);o?s(v):f=ft(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(){ke(g),f(),u=!1}})}var Fr=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 so=function(t){return ao(t)&&!uo(t)};function ao(e){return!!e&&typeof e=="object"}function uo(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||fo(e)}var lo=typeof Symbol=="function"&&Symbol.for,co=lo?Symbol.for("react.element"):60103;function fo(e){return e.$$typeof===co}function ho(e){return Array.isArray(e)?[]:{}}function lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ve(ho(e),e,t):e}function po(e,t,n){return e.concat(t).map(function(r){return lt(r,n)})}function mo(e,t){if(!t.customMerge)return Ve;var n=t.customMerge(e);return typeof n=="function"?n:Ve}function go(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Un(e){return Object.keys(e).concat(go(e))}function zr(e,t){try{return t in e}catch(n){return!1}}function bo(e,t){return zr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function yo(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){bo(e,i)||(zr(e,i)&&n.isMergeableObject(t[i])?r[i]=mo(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||po,n.isMergeableObject=n.isMergeableObject||so,n.cloneUnlessOtherwiseSpecified=lt;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):yo(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 vo=Ve,Co=vo;const _o=_n(Co);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 wo(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:Bo,r=t&&t.serializer?t.serializer:Ho,i=t&&t.strategy?t.strategy:So;return i(e,{cache:n,serializer:r})}function xo(e){return e==null||typeof e=="number"||typeof e=="boolean"}function To(e,t,n,r){var i=xo(r)?r:n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,r),t.set(i,o)),o}function Wr(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 Vr(e,t,n,r,i){return n.bind(t,e,r,i)}function So(e,t){var n=e.length===1?To:Wr;return Vr(e,this,n,t.cache.create(),t.serializer)}function Eo(e,t){return Vr(e,this,Wr,t.cache.create(),t.serializer)}var Ho=function(){return JSON.stringify(arguments)},Mo=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}(),Bo={create:function(){return new Mo}},Yt={variadic:Eo},At=function(){return At=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},At.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 Po(e){return e.type===J.argument}function Zr(e){return e.type===J.number}function Yr(e){return e.type===J.date}function Xr(e){return e.type===J.time}function qr(e){return e.type===J.select}function Kr(e){return e.type===J.plural}function ko(e){return e.type===J.pound}function Qr(e){return e.type===J.tag}function Jr(e){return!!(e&&typeof e=="object"&&e.type===Ze.number)}function rn(e){return!!(e&&typeof e=="object"&&e.type===Ze.dateTime)}var ei=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ao=/(?:[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 Io(e){var t={};return e.replace(Ao,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 Lo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Oo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Lo).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 f=c[l];if(f.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:u})}return n}function Do(e){return e.replace(/^(.*?)-/,"")}var Gn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ti=/^(@+)?(\+|#+)?[rs]?$/g,Ro=/(\*)(0+)|(#+)(0+)|(0+)/g,ni=/^(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(ti,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 ri(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 $o(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)),!ni.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function zn(e){var t={},n=ri(e);return n||t}function No(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=Do(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(Ro,function(u,l,c,f,m,g){if(l)t.minimumIntegerDigits=c.length;else{if(f&&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(ni.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,f,m,g){return c==="*"?t.minimumFractionDigits=l.length:f&&f[0]==="#"?t.maximumFractionDigits=f.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(ti.test(i.stem)){t=ee(ee({},t),Fn(i.stem));continue}var s=ri(i.stem);s&&(t=ee(ee({},t),s));var a=$o(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 Uo(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=jo(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 jo(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,Go=new RegExp("^".concat(ei.source,"*")),Fo=new RegExp("".concat(ei.source,"*$"));function $(e,t){return{start:e,end:t}}var zo=!!String.prototype.startsWith&&"_a".startsWith("a",1),Wo=!!String.fromCodePoint,Vo=!!Object.fromEntries,Zo=!!String.prototype.codePointAt,Yo=!!String.prototype.trimStart,Xo=!!String.prototype.trimEnd,qo=!!Number.isSafeInteger,Ko=qo?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},on=!0;try{var Qo=oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");on=((Xt=Qo.exec("a"))===null||Xt===void 0?void 0:Xt[0])==="a"}catch(e){on=!1}var Wn=zo?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},sn=Wo?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=Vo?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},ii=Zo?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}},Jo=Yo?function(t){return t.trimStart()}:function(t){return t.replace(Go,"")},es=Xo?function(t){return t.trimEnd()}:function(t){return t.replace(Fo,"")};function oi(e,t){return new RegExp(e,t)}var an;if(on){var Zn=oi("([^\\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=ii(t,n);if(i===void 0||si(i)||is(i))break;r.push(i),n+=i>=65536?2:1}return sn.apply(void 0,r)};var ts=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()&&rs(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||!ns(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(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var m=es(f.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&&Wn(l==null?void 0:l.style,"::",0)){var B=Jo(l.style.slice(2));if(a==="number"){var f=this.parseNumberSkeletonFromString(B,l.styleLocation);return f.err?f:{val:{type:J.number,value:r,location:d,style:f.val},err:null}}else{if(B.length===0)return this.error(D.EXPECT_DATE_TIME_SKELETON,d);var A=B;this.locale&&(A=Uo(B,this.locale));var m={type:Ze.dateTime,pattern:A,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Io(A):{}},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 k=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS,$(k,At({},k)));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 f=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),Y=this.parseIdentifierIfPossible(),q=f.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 W=$(i,this.clonePosition());return a==="select"?{val:{type:J.select,value:r,options:Vn(I.val),location:W},err:null}:{val:{type:J.plural,value:r,options:Vn(I.val),offset:q,pluralType:a==="plural"?"cardinal":"ordinal",location:W},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=Oo(t)}catch(i){return this.error(D.INVALID_NUMBER_SKELETON,n)}return{val:{type:Ze.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?No(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 f=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=$(f,this.clonePosition()),l=this.message.slice(f.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,Ko(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=ii(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()&&si(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 ns(e){return un(e)||e===47}function rs(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 si(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function is(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)||Kr(t))for(var n in t.options)delete t.options[n].location,ln(t.options[n].value);else Zr(t)&&Jr(t.style)||(Yr(t)||Xr(t))&&rn(t.style)?delete t.style.location:Qr(t)&&ln(t.children)})}function os(e,t){t===void 0&&(t={}),t=At({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ts(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),ss=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),as=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),he;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(he||(he={}));function us(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==he.literal||n.type!==he.literal?t.push(n):r.value+=n.value,t},[])}function ls(e){return typeof e=="function"}function xt(e,t,n,r,i,o,s){if(e.length===1&&jn(e[0]))return[{type:he.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:he.literal,value:c.value});continue}if(ko(c)){typeof o=="number"&&a.push({type:he.literal,value:n.getNumberFormat(t).format(o)});continue}var f=c.value;if(!(i&&f in i))throw new as(f,s);var m=i[f];if(Po(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),a.push({type:typeof m=="string"?he.literal:he.object,value:m});continue}if(Yr(c)){var g=typeof c.style=="string"?r.date[c.style]:rn(c.style)?c.style.parsedOptions:void 0;a.push({type:he.literal,value:n.getDateTimeFormat(t,g).format(m)});continue}if(Xr(c)){var g=typeof c.style=="string"?r.time[c.style]:rn(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:he.literal,value:n.getDateTimeFormat(t,g).format(m)});continue}if(Zr(c)){var g=typeof c.style=="string"?r.number[c.style]:Jr(c.style)?c.style.parsedOptions:void 0;g&&g.scale&&(m=m*(g.scale||1)),a.push({type:he.literal,value:n.getNumberFormat(t,g).format(m)});continue}if(Qr(c)){var v=c.children,d=c.value,B=i[d];if(!ls(B))throw new ss(d,"function",s);var A=xt(v,t,n,r,i,o),N=B(A.map(function(q){return q.value}));Array.isArray(N)||(N=[N]),a.push.apply(a,N.map(function(q){return{type:typeof q=="string"?he.literal:he.object,value:q}}))}if(qr(c)){var k=c.options[m]||c.options.other;if(!k)throw new Yn(c.value,m,Object.keys(c.options),s);a.push.apply(a,xt(k.value,t,n,r,i));continue}if(Kr(c)){var k=c.options["=".concat(m)];if(!k){if(!Intl.PluralRules)throw new Ut(`Intl.PluralRules is not available in this environment.
4
+ }`,f=`__svelte_${Zi(c)}_${a}`,m=Cn(e),{stylesheet:g,rules:v}=Ht.get(m)||Yi(m,e);v[f]||(v[f]=!0,g.insertRule(`@keyframes ${f} ${c}`,g.cssRules.length));const d=e.style.animation||"";return e.style.animation=`${d?`${d}, `:""}${f} ${r}ms linear ${i}ms 1 both`,Mt+=1,f}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||Xi())}function Xi(){vn(()=>{Mt||(Ht.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&H(t)}),Ht.clear())})}let at;function st(e){at=e}function qi(){if(!at)throw new Error("Function called outside component initialization");return at}function Ir(e){qi().$$.on_mount.push(e)}const Ue=[],ut=[];let Fe=[];const $n=[],Ki=Promise.resolve();let tn=!1;function Qi(){tn||(tn=!0,Ki.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),Ji(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 Ji(e){if(e.fragment!==null){e.update(),ke(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(We)}}function eo(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 Bt(e,t,n){e.dispatchEvent(Wi(`${t?"intro":"outro"}${n}`))}const _t=new Set;let Be;function Or(){Be={r:0,c:[],p:Be}}function Dr(){Be.r||ke(Be.c),Be=Be.p}function Pt(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),Be.c.push(()=>{_t.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}const $r={duration:0};function to(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:d=ie,css:B}=i||$r;B&&(s=Ar(e,0,1,g,m,v,B,u++)),d(0,1);const A=Er()+m,N=A+g;a&&a.abort(),o=!0,We(()=>Bt(e,!0,"start")),a=Mr(k=>{if(o){if(k>=N)return d(1,0),Bt(e,!0,"end"),l(),o=!1;if(k>=A){const Y=v((k-A)/g);d(Y,1-Y)}}return o})}let f=!1;return{start(){f||(f=!0,en(e),ft(i)?(i=i(r),Lr().then(c)):c())},invalidate(){f=!1},end(){o&&(l(),o=!1)}}}function no(e,t,n){const r={direction:"out"};let i=t(e,n,r),o=!0,s;const a=Be;a.r+=1;let u;function l(){const{delay:c=0,duration:f=300,easing:m=bn,tick:g=ie,css:v}=i||$r;v&&(s=Ar(e,1,0,f,c,m,v));const d=Er()+c,B=d+f;We(()=>Bt(e,!1,"start")),"inert"in e&&(u=e.inert,e.inert=!0),Mr(A=>{if(o){if(A>=B)return g(0,1),Bt(e,!1,"end"),--a.r||ke(a.c),!1;if(A>=d){const N=m((A-d)/f);g(1-N,N)}}return o})}return ft(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 kt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ro(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(ft);e.$$.on_destroy?e.$$.on_destroy.push(...o):ke(o),e.$$.on_mount=[]}),i.forEach(We)}function Ur(e,t){const n=e.$$;n.fragment!==null&&(eo(n.after_update),ke(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function io(e,t){e.$$.dirty[0]===-1&&(Ue.push(e),Qi(),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||{},(f,m,...g)=>{const v=g.length?g[0]:m;return l.ctx&&i(l.ctx[f],l.ctx[f]=v)&&(!l.skip_bound&&l.bound[f]&&l.bound[f](v),c&&io(e,f)),m}):[],l.update(),c=!0,ke(l.before_update),l.fragment=r?r(l.ctx):!1,t.target){if(t.hydrate){const f=zi(t.target);l.fragment&&l.fragment.l(f),f.forEach(H)}else l.fragment&&l.fragment.c();t.intro&&Pt(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();ve(this,"$$ctor");ve(this,"$$s");ve(this,"$$c");ve(this,"$$cn",!1);ve(this,"$$d",{});ve(this,"$$r",!1);ve(this,"$$p_d",{});ve(this,"$$l",{});ve(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"&&h(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=Vi(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(){ve(this,"$$");ve(this,"$$set")}$destroy(){Ur(this,1),this.$destroy=ie}$on(t,n){if(!ft(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 oo="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(oo);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 so(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 so(n,(s,a)=>{let u=!1;const l=[];let c=0,f=ie;const m=()=>{if(c)return;f();const v=t(r?l[0]:l,s,a);o?s(v):f=ft(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(){ke(g),f(),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 ao=function(t){return uo(t)&&!lo(t)};function uo(e){return!!e&&typeof e=="object"}function lo(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ho(e)}var co=typeof Symbol=="function"&&Symbol.for,fo=co?Symbol.for("react.element"):60103;function ho(e){return e.$$typeof===fo}function po(e){return Array.isArray(e)?[]:{}}function lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ve(po(e),e,t):e}function mo(e,t,n){return e.concat(t).map(function(r){return lt(r,n)})}function go(e,t){if(!t.customMerge)return Ve;var n=t.customMerge(e);return typeof n=="function"?n:Ve}function bo(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Un(e){return Object.keys(e).concat(bo(e))}function Vr(e,t){try{return t in e}catch(n){return!1}}function yo(e,t){return Vr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function vo(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){yo(e,i)||(Vr(e,i)&&n.isMergeableObject(t[i])?r[i]=go(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||mo,n.isMergeableObject=n.isMergeableObject||ao,n.cloneUnlessOtherwiseSpecified=lt;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):vo(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 Co=Ve,_o=Co;const wo=_n(_o);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 xo(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:Po,r=t&&t.serializer?t.serializer:Mo,i=t&&t.strategy?t.strategy:Eo;return i(e,{cache:n,serializer:r})}function To(e){return e==null||typeof e=="number"||typeof e=="boolean"}function So(e,t,n,r){var i=To(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 Eo(e,t){var n=e.length===1?So:Zr;return Yr(e,this,n,t.cache.create(),t.serializer)}function Ho(e,t){return Yr(e,this,Zr,t.cache.create(),t.serializer)}var Mo=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}(),Po={create:function(){return new Bo}},Yt={variadic:Ho},At=function(){return At=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},At.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 Ao(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]/,Io=/(?:[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 Lo(e){var t={};return e.replace(Io,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 Oo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Do(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Oo).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 f=c[l];if(f.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:u})}return n}function Ro(e){return e.replace(/^(.*?)-/,"")}var Gn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ri=/^(@+)?(\+|#+)?[rs]?$/g,$o=/(\*)(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 No(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 Uo(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=Ro(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($o,function(u,l,c,f,m,g){if(l)t.minimumIntegerDigits=c.length;else{if(f&&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,f,m,g){return c==="*"?t.minimumFractionDigits=l.length:f&&f[0]==="#"?t.maximumFractionDigits=f.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=No(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 jo(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=Go(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 Go(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,Fo=new RegExp("^".concat(ni.source,"*")),zo=new RegExp("".concat(ni.source,"*$"));function $(e,t){return{start:e,end:t}}var Wo=!!String.prototype.startsWith&&"_a".startsWith("a",1),Vo=!!String.fromCodePoint,Zo=!!Object.fromEntries,Yo=!!String.prototype.codePointAt,Xo=!!String.prototype.trimStart,qo=!!String.prototype.trimEnd,Ko=!!Number.isSafeInteger,Qo=Ko?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},on=!0;try{var Jo=ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");on=((Xt=Jo.exec("a"))===null||Xt===void 0?void 0:Xt[0])==="a"}catch(e){on=!1}var Wn=Wo?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},sn=Vo?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=Zo?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=Yo?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}},es=Xo?function(t){return t.trimStart()}:function(t){return t.replace(Fo,"")},ts=qo?function(t){return t.trimEnd()}:function(t){return t.replace(zo,"")};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)||os(i))break;r.push(i),n+=i>=65536?2:1}return sn.apply(void 0,r)};var ns=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()&&is(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||!rs(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(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var m=ts(f.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&&Wn(l==null?void 0:l.style,"::",0)){var B=es(l.style.slice(2));if(a==="number"){var f=this.parseNumberSkeletonFromString(B,l.styleLocation);return f.err?f:{val:{type:J.number,value:r,location:d,style:f.val},err:null}}else{if(B.length===0)return this.error(D.EXPECT_DATE_TIME_SKELETON,d);var A=B;this.locale&&(A=jo(B,this.locale));var m={type:Ze.dateTime,pattern:A,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Lo(A):{}},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 k=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS,$(k,At({},k)));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 f=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),Y=this.parseIdentifierIfPossible(),q=f.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=Do(t)}catch(i){return this.error(D.INVALID_NUMBER_SKELETON,n)}return{val:{type:Ze.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Uo(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 f=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=$(f,this.clonePosition()),l=this.message.slice(f.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,Qo(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 rs(e){return un(e)||e===47}function is(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 os(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 ss(e,t){t===void 0&&(t={}),t=At({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ns(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),as=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),us=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),he;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(he||(he={}));function ls(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==he.literal||n.type!==he.literal?t.push(n):r.value+=n.value,t},[])}function cs(e){return typeof e=="function"}function xt(e,t,n,r,i,o,s){if(e.length===1&&jn(e[0]))return[{type:he.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:he.literal,value:c.value});continue}if(Ao(c)){typeof o=="number"&&a.push({type:he.literal,value:n.getNumberFormat(t).format(o)});continue}var f=c.value;if(!(i&&f in i))throw new us(f,s);var m=i[f];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"?he.literal:he.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:he.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:he.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:he.literal,value:n.getNumberFormat(t,g).format(m)});continue}if(ei(c)){var v=c.children,d=c.value,B=i[d];if(!cs(B))throw new as(d,"function",s);var A=xt(v,t,n,r,i,o),N=B(A.map(function(q){return q.value}));Array.isArray(N)||(N=[N]),a.push.apply(a,N.map(function(q){return{type:typeof q=="string"?he.literal:he.object,value:q}}))}if(Qr(c)){var k=c.options[m]||c.options.other;if(!k)throw new Yn(c.value,m,Object.keys(c.options),s);a.push.apply(a,xt(k.value,t,n,r,i));continue}if(Jr(c)){var k=c.options["=".concat(m)];if(!k){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));k=c.options[Y]||c.options.other}if(!k)throw new Yn(c.value,m,Object.keys(c.options),s);a.push.apply(a,xt(k.value,t,n,r,i,m-(c.offset||0)));continue}}return us(a)}function cs(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 fs(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=cs(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 hs(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 ai=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(f,m){return!f.length||m.type!==he.literal||typeof f[f.length-1]!="string"?f.push(m.value):f[f.length-1]+=m.value,f},[]);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=wo(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=fs(e.formats,r),this.formatters=i&&i.formatters||hs(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=os,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 ps(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 Pe={},ds=(e,t,n)=>n&&(t in Pe||(Pe[t]={}),e in Pe[t]||(Pe[t][e]=n),n),ui=(e,t)=>{if(t==null)return;if(t in Pe&&e in Pe[t])return Pe[t][e];const n=pt(t);for(let r=0;r<n.length;r++){const i=n[r],o=gs(i,e);if(o)return ds(e,t,o)}};let wn;const ht=$t({});function ms(e){return wn[e]||null}function li(e){return e in wn}function gs(e,t){if(!li(e))return null;const n=ms(e);return ps(n,t)}function bs(e){if(e==null)return;const t=pt(e);for(let n=0;n<t.length;n++){const r=t[n];if(li(r))return r}}function xn(e,...t){delete Pe[e],ht.update(n=>(n[e]=_o.all([n[e]||{},...t]),n))}qe([ht],([e])=>Object.keys(e));ht.subscribe(e=>wn=e);const Tt={};function ys(e,t){Tt[e].delete(t),Tt[e].size===0&&delete Tt[e]}function ci(e){return Tt[e]}function vs(e){return pt(e).map(t=>{const n=ci(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=ci(t))==null?void 0:n.size})}function Cs(e,t){return Promise.all(t.map(r=>(ys(e,r),r().then(i=>i.default||i)))).then(r=>xn(e,...r))}const nt={};function fi(e){if(!It(e))return e in nt?nt[e]:Promise.resolve();const t=vs(e);return nt[e]=Promise.all(t.map(([n,r])=>Cs(n,r))).then(()=>{if(It(e))return fi(e);delete nt[e]}),nt[e]}var Xn=Object.getOwnPropertySymbols,_s=Object.prototype.hasOwnProperty,ws=Object.prototype.propertyIsEnumerable,xs=(e,t)=>{var n={};for(var r in e)_s.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&&ws.call(e,r)&&(n[r]=e[r]);return n};const Ts={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 Ss({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${pt(e).join('", "')}".${It(Ae())?`
6
+ `,Ye.MISSING_INTL_API,s);var Y=n.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));k=c.options[Y]||c.options.other}if(!k)throw new Yn(c.value,m,Object.keys(c.options),s);a.push.apply(a,xt(k.value,t,n,r,i,m-(c.offset||0)));continue}}return ls(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 hs(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(f,m){return!f.length||m.type!==he.literal||typeof f[f.length-1]!="string"?f.push(m.value):f[f.length-1]+=m.value,f},[]);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=xo(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=hs(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=ss,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 ds(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 Pe={},ms=(e,t,n)=>n&&(t in Pe||(Pe[t]={}),e in Pe[t]||(Pe[t][e]=n),n),ci=(e,t)=>{if(t==null)return;if(t in Pe&&e in Pe[t])return Pe[t][e];const n=pt(t);for(let r=0;r<n.length;r++){const i=n[r],o=bs(i,e);if(o)return ms(e,t,o)}};let wn;const ht=$t({});function gs(e){return wn[e]||null}function fi(e){return e in wn}function bs(e,t){if(!fi(e))return null;const n=gs(e);return ds(n,t)}function ys(e){if(e==null)return;const t=pt(e);for(let n=0;n<t.length;n++){const r=t[n];if(fi(r))return r}}function xn(e,...t){delete Pe[e],ht.update(n=>(n[e]=wo.all([n[e]||{},...t]),n))}qe([ht],([e])=>Object.keys(e));ht.subscribe(e=>wn=e);const Tt={};function vs(e,t){Tt[e].delete(t),Tt[e].size===0&&delete Tt[e]}function hi(e){return Tt[e]}function Cs(e){return pt(e).map(t=>{const n=hi(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=hi(t))==null?void 0:n.size})}function _s(e,t){return Promise.all(t.map(r=>(vs(e,r),r().then(i=>i.default||i)))).then(r=>xn(e,...r))}const nt={};function pi(e){if(!It(e))return e in nt?nt[e]:Promise.resolve();const t=Cs(e);return nt[e]=Promise.all(t.map(([n,r])=>_s(n,r))).then(()=>{if(It(e))return pi(e);delete nt[e]}),nt[e]}var Xn=Object.getOwnPropertySymbols,ws=Object.prototype.hasOwnProperty,xs=Object.prototype.propertyIsEnumerable,Ts=(e,t)=>{var n={};for(var r in e)ws.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&&xs.call(e,r)&&(n[r]=e[r]);return n};const Ss={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 Es({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${pt(e).join('", "')}".${It(Ae())?`
7
7
 
8
- Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Es={fallbackLocale:null,loadingDelay:200,formats:Ts,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},rt=Es;function Xe(){return rt}function hi(e){const t=e,{formats:n}=t,r=xs(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{ai.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=Ss: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 Hs=Object.defineProperty,Ms=Object.defineProperties,Bs=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,Ps=Object.prototype.hasOwnProperty,ks=Object.prototype.propertyIsEnumerable,Kn=(e,t,n)=>t in e?Hs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,As=(e,t)=>{for(var n in t||(t={}))Ps.call(t,n)&&Kn(e,n,t[n]);if(qn)for(var n of qn(t))ks.call(t,n)&&Kn(e,n,t[n]);return e},Is=(e,t)=>Ms(e,Bs(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 pt(e,t=Xe().fallbackLocale){const n=Qn(e);return t?[...new Set([...n,...Qn(t)])]:n}function Ae(){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 Ls=e=>{if(e&&bs(e)&&It(e)){const{loadingDelay:t}=Xe();let n;return typeof window!="undefined"&&Ae()!=null&&t?n=window.setTimeout(()=>Kt.set(!0),t):Kt.set(!0),fi(e).then(()=>{Lt.set(e)}).finally(()=>{clearTimeout(n),Kt.set(!1)})}return Lt.set(e)},Ie=Is(As({},Lt),{set:Ls}),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 Os=Object.defineProperty,Ot=Object.getOwnPropertySymbols,pi=Object.prototype.hasOwnProperty,di=Object.prototype.propertyIsEnumerable,Jn=(e,t,n)=>t in e?Os(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tn=(e,t)=>{for(var n in t||(t={}))pi.call(t,n)&&Jn(e,n,t[n]);if(Ot)for(var n of Ot(t))di.call(t,n)&&Jn(e,n,t[n]);return e},Ke=(e,t)=>{var n={};for(var r in e)pi.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&&di.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.`)},Ds=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)}),Rs=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)}),$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 time values');return r?i=ct("time",r):Object.keys(i).length===0&&(i=ct("time","short")),new Intl.DateTimeFormat(n,i)}),Ns=(e={})=>{var t=e,{locale:n=Ae()}=t,r=Ke(t,["locale"]);return Ds(Tn({locale:n},r))},Us=(e={})=>{var t=e,{locale:n=Ae()}=t,r=Ke(t,["locale"]);return Rs(Tn({locale:n},r))},js=(e={})=>{var t=e,{locale:n=Ae()}=t,r=Ke(t,["locale"]);return $s(Tn({locale:n},r))},Gs=jt((e,t=Ae())=>new ai(e,t,Xe().formats,{ignoreTag:Xe().ignoreTag})),Fs=(e,t={})=>{var n,r,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:u=Ae(),default:l}=s;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=ui(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 f=c;try{f=Gs(c,u).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return f},zs=(e,t)=>js(t).format(e),Ws=(e,t)=>Us(t).format(e),Vs=(e,t)=>Ns(t).format(e),Zs=(e,t=Ae())=>ui(e,t),mi=qe([Ie,ht],()=>Fs);qe([Ie],()=>zs);qe([Ie],()=>Ws);qe([Ie],()=>Vs);qe([Ie,ht],()=>Zs);function er(e,t){xn(e,t)}function Ys(e){hi({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ç"}},Xs=(e,t)=>`${e+Qs[t]}`,qs=(e,t)=>`${Js[t]}.${gi[e]}.text`,Ks=e=>`${gi[`${e}`]}`,Qs={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"},Js={Deposit:"deposit",Withdraw:"withdrawal"},gi={Success:"success",Voided:"success",Rejected:"reject",Failed:"fail",Canceled:"cancel",PendingNotification:"pending",PendingConfirmation:"pending",PendingApprovalStage1:"pending",PendingApprovalStage3:"pending",PendingApprovalStage2:"pending",PendingOfflineNotification:"pending"};var bi={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Fr,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",s="second",a="minute",u="hour",l="day",c="week",f="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+)?$/,A=/\[([^\]]+)]|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])+"]"}},k=function(S,_,b){var y=String(S);return!y||y.length>=_?S:""+Array(_+1-y.length).join(b)+S},Y={s:k,z:function(S){var _=-S.utcOffset(),b=Math.abs(_),y=Math.floor(b/60),w=b%60;return(_<=0?"+":"-")+k(y,2,"0")+":"+k(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,f),M=b-w<0,x=_.clone().add(y+(M?-1:1),f);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:f,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 W="$isDayjsObject",pe=function(S){return S instanceof be||!(!S||!S[W])},ue=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 be(b)},L=Y;L.l=ue,L.i=pe,L.w=function(S,_){return K(S,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var be=function(){function S(b){this.$L=ue(b.locale,null,!0),this.parse(b),this.$x=this.$x||b.x||{},this[W]=!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,V=(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,V)):new Date(x[1],R,x[3]||1,x[4]||0,x[5]||0,x[6]||0,V)}}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)},V=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,de="set"+(this.$u?"UTC":"");switch(x){case g:return M?R(1,0):R(31,11);case f:return M?R(1,Q):R(0,Q+1);case c:var ce=this.$locale().weekStart||0,Ce=(O<ce?O+7:O)-ce;return R(M?te-Ce:te+(6-Ce),Q);case l:case v:return V(de+"Hours",0);case u:return V(de+"Minutes",1);case a:return V(de+"Seconds",2);case s:return V(de+"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[f]=x+"Month",w[g]=x+"FullYear",w[u]=x+"Hours",w[a]=x+"Minutes",w[s]=x+"Seconds",w[o]=x+"Milliseconds",w)[M],V=M===l?this.$D+(y-this.$W):y;if(M===f||M===g){var O=this.clone().set(v,1);O.$d[R](V),O.init(),this.$d=O.set(v,Math.min(this.$D,O.daysInMonth())).$d}else R&&this.$d[R](V);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===f)return this.set(f,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 V=(w={},w[a]=r,w[u]=i,w[s]=n,w)[x]||1,O=this.$d.getTime()+b*V;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,V=this.$m,O=this.$M,Q=w.weekdays,te=w.months,de=w.meridiem,ce=function(ne,oe,me,_e){return ne&&(ne[oe]||ne(y,M))||me[oe].slice(0,_e)},Ce=function(ne){return L.s(R%12||12,ne,"0")},fe=de||function(ne,oe,me){var _e=ne<12?"AM":"PM";return me?_e.toLowerCase():_e};return M.replace(A,function(ne,oe){return oe||function(me){switch(me){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 ce(w.monthsShort,O,te,3);case"MMMM":return ce(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 ce(w.weekdaysMin,y.$W,Q,2);case"ddd":return ce(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,V,!0);case"A":return fe(R,V,!1);case"m":return String(V);case"mm":return L.s(V,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),V=K(b),O=(V.utcOffset()-this.utcOffset())*r,Q=this-V,te=function(){return L.m(x,V)};switch(R){case g:M=te()/12;break;case f: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(f).$D},_.$locale=function(){return I[this.$L]},_.locale=function(b,y){if(!b)return this.$L;var w=this.clone(),M=ue(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=be.prototype;return K.prototype=Se,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",f],["$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(_,be,K),S.$i=!0),K},K.locale=ue,K.isDayjs=pe,K.unix=function(S){return K(1e3*S)},K.en=I[q],K.Ls=I,K.p={},K})})(bi);var ea=bi.exports;const Dt=_n(ea);var yi={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Fr,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 f=u.utcOffset;u.utcOffset=function(d,B){var A=this.$utils().u;if(A(d))return this.$u?0:A(this.$offset)?f.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 W=(""+I[0]).match(i)||["-",0,0],pe=W[0],ue=60*+W[1]+ +W[2];return ue===0?0:pe==="+"?ue:-ue}(d),d===null))return this;var N=Math.abs(d)<=16?60*d:d,k=this;if(B)return k.$offset=N,k.$u=d===0,k;if(d!==0){var Y=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(k=this.local().add(N+Y,n)).$offset=N,k.$x.$localOffset=Y}else k=this.utc();return k};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,A){if(d&&this.$u===d.$u)return v.call(this,d,B,A);var N=this.local(),k=a(d).local();return v.call(N,k,B,A)}}})})(yi);var ta=yi.exports;const na=_n(ta);/*! *****************************************************************************
8
+ Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Hs={fallbackLocale:null,loadingDelay:200,formats:Ss,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},rt=Hs;function Xe(){return rt}function di(e){const t=e,{formats:n}=t,r=Ts(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=Es: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 Ms=Object.defineProperty,Bs=Object.defineProperties,Ps=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,ks=Object.prototype.hasOwnProperty,As=Object.prototype.propertyIsEnumerable,Kn=(e,t,n)=>t in e?Ms(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Is=(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))As.call(t,n)&&Kn(e,n,t[n]);return e},Ls=(e,t)=>Bs(e,Ps(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 pt(e,t=Xe().fallbackLocale){const n=Qn(e);return t?[...new Set([...n,...Qn(t)])]:n}function Ae(){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 Os=e=>{if(e&&ys(e)&&It(e)){const{loadingDelay:t}=Xe();let n;return typeof window!="undefined"&&Ae()!=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=Ls(Is({},Lt),{set:Os}),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 Ds=Object.defineProperty,Ot=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable,Jn=(e,t,n)=>t in e?Ds(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.`)},Rs=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)}),$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 dates');return r?i=ct("date",r):Object.keys(i).length===0&&(i=ct("date","short")),new Intl.DateTimeFormat(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 time values');return r?i=ct("time",r):Object.keys(i).length===0&&(i=ct("time","short")),new Intl.DateTimeFormat(n,i)}),Us=(e={})=>{var t=e,{locale:n=Ae()}=t,r=Ke(t,["locale"]);return Rs(Tn({locale:n},r))},js=(e={})=>{var t=e,{locale:n=Ae()}=t,r=Ke(t,["locale"]);return $s(Tn({locale:n},r))},Gs=(e={})=>{var t=e,{locale:n=Ae()}=t,r=Ke(t,["locale"]);return Ns(Tn({locale:n},r))},Fs=jt((e,t=Ae())=>new li(e,t,Xe().formats,{ignoreTag:Xe().ignoreTag})),zs=(e,t={})=>{var n,r,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:u=Ae(),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 f=c;try{f=Fs(c,u).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return f},Ws=(e,t)=>Gs(t).format(e),Vs=(e,t)=>js(t).format(e),Zs=(e,t)=>Us(t).format(e),Ys=(e,t=Ae())=>ci(e,t),bi=qe([Ie,ht],()=>zs);qe([Ie],()=>Ws);qe([Ie],()=>Vs);qe([Ie],()=>Zs);qe([Ie,ht],()=>Ys);function er(e,t){xn(e,t)}function Xs(e){di({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ç"}},qs=(e,t)=>`${e+Js[t]}`,Ks=(e,t)=>`${ea[t]}.${yi[e]}.text`,Qs=e=>`${yi[`${e}`]}`,Js={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"},ea={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",f="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+)?$/,A=/\[([^\]]+)]|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])+"]"}},k=function(S,_,b){var y=String(S);return!y||y.length>=_?S:""+Array(_+1-y.length).join(b)+S},Y={s:k,z:function(S){var _=-S.utcOffset(),b=Math.abs(_),y=Math.floor(b/60),w=b%60;return(_<=0?"+":"-")+k(y,2,"0")+":"+k(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,f),M=b-w<0,x=_.clone().add(y+(M?-1:1),f);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:f,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 be||!(!S||!S[z])},ue=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 be(b)},L=Y;L.l=ue,L.i=pe,L.w=function(S,_){return K(S,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var be=function(){function S(b){this.$L=ue(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,de="set"+(this.$u?"UTC":"");switch(x){case g:return M?R(1,0):R(31,11);case f:return M?R(1,Q):R(0,Q+1);case c:var ce=this.$locale().weekStart||0,Ce=(O<ce?O+7:O)-ce;return R(M?te-Ce:te+(6-Ce),Q);case l:case v:return W(de+"Hours",0);case u:return W(de+"Minutes",1);case a:return W(de+"Seconds",2);case s:return W(de+"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[f]=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===f||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===f)return this.set(f,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,de=w.meridiem,ce=function(ne,oe,me,_e){return ne&&(ne[oe]||ne(y,M))||me[oe].slice(0,_e)},Ce=function(ne){return L.s(R%12||12,ne,"0")},fe=de||function(ne,oe,me){var _e=ne<12?"AM":"PM";return me?_e.toLowerCase():_e};return M.replace(A,function(ne,oe){return oe||function(me){switch(me){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 ce(w.monthsShort,O,te,3);case"MMMM":return ce(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 ce(w.weekdaysMin,y.$W,Q,2);case"ddd":return ce(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 f: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(f).$D},_.$locale=function(){return I[this.$L]},_.locale=function(b,y){if(!b)return this.$L;var w=this.clone(),M=ue(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=be.prototype;return K.prototype=Se,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",f],["$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(_,be,K),S.$i=!0),K},K.locale=ue,K.isDayjs=pe,K.unix=function(S){return K(1e3*S)},K.en=I[q],K.Ls=I,K.p={},K})})(vi);var ta=vi.exports;const Dt=_n(ta);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 f=u.utcOffset;u.utcOffset=function(d,B){var A=this.$utils().u;if(A(d))return this.$u?0:A(this.$offset)?f.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],pe=z[0],ue=60*+z[1]+ +z[2];return ue===0?0:pe==="+"?ue:-ue}(d),d===null))return this;var N=Math.abs(d)<=16?60*d:d,k=this;if(B)return k.$offset=N,k.$u=d===0,k;if(d!==0){var Y=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(k=this.local().add(N+Y,n)).$offset=N,k.$x.$localOffset=Y}else k=this.utc();return k};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,A){if(d&&this.$u===d.$u)return v.call(this,d,B,A);var N=this.local(),k=a(d).local();return v.call(N,k,B,A)}}})})(Ci);var na=Ci.exports;const ra=_n(na);/*! *****************************************************************************
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 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 hn(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 pn(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 dn(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 vi(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=vi(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 hn(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 pn(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 dn(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=hn(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 f=this._finalizers;if(f){this._finalizers=null;try{for(var m=hn(f),g=m.next();!g.done;g=m.next()){var v=g.value;try{nr(v)}catch(d){o=o!=null?o:[],d instanceof Qt?o=dn(dn([],pn(o)),pn(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)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}(),Ci=Gt.EMPTY;function _i(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 ra={Promise:void 0},ia={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,dn([e,t],pn(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function oa(e){ia.setTimeout(function(){throw e})}function rr(){}function St(e){e()}var wi=function(e){dt(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,_i(n)&&n.add(r)):r.destination=ua,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),sa=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){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 sa(s),o}return t}(wi);function Ct(e){oa(e)}function aa(e){throw e}var ua={closed:!0,next:rr,error:aa,complete:rr},la=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ca(e){return e}function fa(e){return e.length===0?ca: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=pa(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[la]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return fa(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:ra.Promise)!==null&&t!==void 0?t:Promise}function ha(e){return e&&He(e.next)&&He(e.error)&&He(e.complete)}function pa(e){return e&&e instanceof wi||ha(e)&&_i(e)}var da=vi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),xi=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 sr(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new da},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=hn(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?Ci:(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){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:Ci},t}(xi),Ti={now:function(){return(Ti.delegate||Date).now()},delegate:void 0},ma=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=Ti);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}(xi);const ar=[],ur={},ga=(e,t=0)=>{if(ar.indexOf(e)==-1){const n=new ma(t);ur[e]=n,ar.push(e)}return ur[e]};let Et="en-UK",Si="true",it=2,ot="";const ba=(e,t,n,r)=>{Et=e||"en-UK",Si=t||"true",it=+r||0,ot=n||""},ya=(e,t,n={},r=!0)=>{const i=bt(bt({maximumFractionDigits:it,minimumFractionDigits:it},r&&{style:"currency",currency:t,currencyDisplay:Si==="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,f)=>(f.type==="currency"?c.currencyPart=f.value:c.amountPart+=f.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:ga};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 Ei(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Hi(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 Mi(e,t,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=va(e,t),n;window[je]||(window[je]={}),n=Ca(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 va(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(n.innerHTML=r,e.appendChild(n))})}function Ca(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)},fr={CasinoButton:`<svg viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
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=hn(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 f=this._finalizers;if(f){this._finalizers=null;try{for(var m=hn(f),g=m.next();!g.done;g=m.next()){var v=g.value;try{nr(v)}catch(d){o=o!=null?o:[],d instanceof Qt?o=dn(dn([],pn(o)),pn(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)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 ia={Promise:void 0},oa={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,dn([e,t],pn(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function sa(e){oa.setTimeout(function(){throw e})}function rr(){}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=la,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),aa=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){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 aa(s),o}return t}(Ti);function Ct(e){sa(e)}function ua(e){throw e}var la={closed:!0,next:rr,error:ua,complete:rr},ca=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function fa(e){return e}function ha(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=da(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[ca]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ha(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:ia.Promise)!==null&&t!==void 0?t:Promise}function pa(e){return e&&He(e.next)&&He(e.error)&&He(e.complete)}function da(e){return e&&e instanceof Ti||pa(e)&&xi(e)}var ma=_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 sr(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new ma},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=hn(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){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},ga=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 ar=[],ur={},ba=(e,t=0)=>{if(ar.indexOf(e)==-1){const n=new ga(t);ur[e]=n,ar.push(e)}return ur[e]};let Et="en-UK",Hi="true",it=2,ot="";const ya=(e,t,n,r)=>{Et=e||"en-UK",Hi=t||"true",it=+r||0,ot=n||""},va=(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,f)=>(f.type==="currency"?c.currencyPart=f.value:c.amountPart+=f.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:ba};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 Bi(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 Pi(e,t,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=Ca(e,t),n;window[je]||(window[je]={}),n=_a(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 Ca(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(n.innerHTML=r,e.appendChild(n))})}function _a(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)},fr={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-fmasPIbk.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}function _a(e){Br(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 hr(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 wa(e){let t,n,r=lr(e[25])&&e[9]&&e[22],i,o=e[23]&&dr(e),s=r&&mr(e);function a(c,f){if(c[15])return Sa;if(c[19]&&!c[20])return Ta}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(),h(n,"class","CashierReceiptPage")},m(c,f){o&&o.m(c,f),P(c,t,f),P(c,n,f),s&&s.m(n,null),C(n,i),l&&l.m(n,null)},p(c,f){c[23]?o?(o.p(c,f),f[0]&8388608&&Pt(o,1)):(o=dr(c),o.c(),Pt(o,1),o.m(t.parentNode,t)):o&&(Or(),Rr(o,1,1,()=>{o=null}),Dr()),f[0]&4194816&&(r=lr(c[25])&&c[9]&&c[22]),r?s?s.p(c,f):(s=mr(c),s.c(),s.m(n,i)):s&&(s.d(1),s=null),u===(u=a(c))&&l?l.p(c,f):(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 xa(e){let t;return{c(){t=T("div"),t.innerHTML='<div class="Spinner"></div>',h(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),h(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")+"")&&z(r,n)},i(a){s||(a&&We(()=>{s&&(o&&o.end(1),i=Ji(t,Nn,{duration:100}),i.start())}),s=!0)},o(a){i&&i.invalidate(),a&&(o=eo(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"),F(t,"lang",e[3]),F(t,"translationurl",e[4]),F(t,"endpoint",e[1]),F(t,"clientstylingurl",e[8]),F(t,"clientstyling",e[7]),F(t,"customerid",e[6]),F(t,"playersession",e[2])},m(n,r){P(n,t,r)},p(n,r){r[0]&8&&F(t,"lang",n[3]),r[0]&16&&F(t,"translationurl",n[4]),r[0]&2&&F(t,"endpoint",n[1]),r[0]&256&&F(t,"clientstylingurl",n[8]),r[0]&128&&F(t,"clientstyling",n[7]),r[0]&64&&F(t,"customerid",n[6]),r[0]&4&&F(t,"playersession",n[2])},d(n){n&&H(t)}}}function Ta(e){let t,n=e[19]===e[13].Maintenance&&gr(e);return{c(){t=T("cashier-error"),n&&n.c(),F(t,"assetsurl",e[5]),F(t,"translationurl",e[4]),F(t,"clientstylingurl",e[8]),F(t,"clientstyling",e[7]),F(t,"lang",e[3]),F(t,"hidebuttons","true"),F(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&&F(t,"assetsurl",r[5]),i[0]&16&&F(t,"translationurl",r[4]),i[0]&256&&F(t,"clientstylingurl",r[8]),i[0]&128&&F(t,"clientstyling",r[7]),i[0]&8&&F(t,"lang",r[3]),i[0]&524288&&F(t,"errorcode",r[19])},d(r){r&&H(t),n&&n.d()}}}function Sa(e){let t,n,r,i,o,s=e[24]("amount")+"",a,u,l,c,f,m,g,v=e[24]("status")+"",d,B,A,N=e[24](`${e[21]}`)+"",k,Y,q,I,W,pe=e[24]("transactionId")+"",ue,K,L,be=e[15].referenceId+"",Se,S,_,b,y=e[24]("payemntMethod")+"",w,M,x,R,V,O,Q,te=e[24]("paymentTime")+"",de,ce,Ce,fe=Dt(e[15].time).format("MMM DD, YYYY, HH:mm:ss")+"",ne,oe,me,_e,Ee,Qe,Le,Oe,Je;function et(E,U){if(E[21]==="success")return Ma;if(E[21]==="pending")return Ha;if(E[21]==="failed"||E[21]==="rejected"||E[21]==="canceled")return Ea}let xe=et(e),se=xe&&xe(e),ae=e[12].length>0&&br(e);function mt(E,U){return E[15].type?Pa:Ba}let De=mt(e),ye=De(e),le=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]),f=G(),m=T("div"),g=T("p"),d=j(v),B=G(),A=T("span"),k=j(N),q=G(),I=T("div"),W=T("p"),ue=j(pe),K=G(),L=T("span"),Se=j(be),S=G(),_=T("div"),b=T("p"),w=j(y),M=G(),x=T("span"),R=j(e[0]),V=G(),O=T("div"),Q=T("p"),de=j(te),ce=G(),Ce=T("span"),ne=j(fe),oe=G(),me=T("div"),ae&&ae.c(),_e=G(),Ee=T("button"),ye.c(),Qe=G(),le&&le.c(),Le=Rt(),h(t,"class","ReceiptStatusWrapper"),h(i,"class","Amount"),h(m,"class",Y=`Status ${e[21]}`),h(L,"class","TxnIdText"),h(I,"class","TxnId"),h(_,"class","PaymentMethod"),h(O,"class","PaymentTime"),h(r,"class","ReceiptDetailsWrapper"),h(me,"class","ReceiptButtonsWrapper"),h(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,f),C(r,m),C(m,g),C(g,d),C(m,B),C(m,A),C(A,k),C(r,q),C(r,I),C(I,W),C(W,ue),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,V),C(r,O),C(O,Q),C(Q,de),C(O,ce),C(O,Ce),C(Ce,ne),P(E,oe,U),P(E,me,U),ae&&ae.m(me,null),P(E,_e,U),P(E,Ee,U),ye.m(Ee,null),P(E,Qe,U),le&&le.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")+"")&&z(a,s),U[0]&131072&&z(c,E[17]),U[0]&16777216&&v!==(v=E[24]("status")+"")&&z(d,v),U[0]&18874368&&N!==(N=E[24](`${E[21]}`)+"")&&z(k,N),U[0]&2097152&&Y!==(Y=`Status ${E[21]}`)&&h(m,"class",Y),U[0]&16777216&&pe!==(pe=E[24]("transactionId")+"")&&z(ue,pe),U[0]&32768&&be!==(be=E[15].referenceId+"")&&z(Se,be),U[0]&16777216&&y!==(y=E[24]("payemntMethod")+"")&&z(w,y),U[0]&1&&z(R,E[0]),U[0]&16777216&&te!==(te=E[24]("paymentTime")+"")&&z(de,te),U[0]&32768&&fe!==(fe=Dt(E[15].time).format("MMM DD, YYYY, HH:mm:ss")+"")&&z(ne,fe),E[12].length>0?ae?ae.p(E,U):(ae=br(E),ae.c(),ae.m(me,null)):ae&&(ae.d(1),ae=null),De===(De=mt(E))&&ye?ye.p(E,U):(ye.d(1),ye=De(E),ye&&(ye.c(),ye.m(Ee,null))),E[16].length?le?le.p(E,U):(le=vr(E),le.c(),le.m(Le.parentNode,Le)):le&&(le.d(1),le=null)},d(E){E&&(H(t),H(n),H(r),H(oe),H(me),H(_e),H(Ee),H(Qe),H(Le)),se&&se.d(),ae&&ae.d(),ye.d(),le&&le.d(E),Oe=!1,ke(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),h(t,"slot","icon"),h(r,"slot","title"),h(r,"class","CashierErrorTitle"),h(a,"slot","text"),h(a,"class","CashierErrorText")},m(c,f){P(c,t,f),P(c,n,f),P(c,r,f),C(r,o),P(c,s,f),P(c,a,f),C(a,l)},p(c,f){f[0]&16777216&&i!==(i=c[24]("receipt.maintenance.title")+"")&&z(o,i),f[0]&16777216&&u!==(u=c[24]("receipt.maintenance.text")+"")&&z(l,u)},d(c){c&&(H(t),H(n),H(r),H(s),H(a))}}}function Ea(e){let t,n,r,i,o,s,a,u=e[24](`${e[15].type.toLowerCase()}.fail.title`)+"",l,c,f,m=e[24](`${e[15].type.toLowerCase()}.fail.text`)+"",g;return{c(){t=ge("svg"),n=ge("circle"),r=ge("rect"),i=ge("path"),o=G(),s=T("div"),a=T("h3"),l=j(u),c=G(),f=T("p"),g=j(m),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#D14141"),h(n,"fill-opacity","0.12"),h(r,"x","19.335"),h(r,"y","19"),h(r,"width","33.33"),h(r,"height","33.33"),h(r,"rx","16.665"),h(r,"fill","#FF3636"),h(i,"d","M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"),h(i,"stroke","black"),h(i,"stroke-width","2.09016"),h(i,"stroke-linecap","round"),h(i,"stroke-linejoin","round"),h(t,"class","ReceiptStatusIcon failed"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(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,f),C(f,g)},p(v,d){d[0]&16809984&&u!==(u=v[24](`${v[15].type.toLowerCase()}.fail.title`)+"")&&z(l,u),d[0]&16809984&&m!==(m=v[24](`${v[15].type.toLowerCase()}.fail.text`)+"")&&z(g,m)},d(v){v&&(H(t),H(o),H(s))}}}function Ha(e){let t,n,r,i,o,s,a,u,l,c=e[24](`${e[15].type.toLowerCase()}.pending.title`)+"",f,m,g,v=e[24](`${e[15].type.toLowerCase()}.pending.text`)+"",d,B,A,N=e[24]("refreshButton")+"",k,Y,q;return{c(){t=ge("svg"),n=ge("circle"),r=ge("rect"),i=ge("path"),o=ge("path"),s=ge("path"),a=G(),u=T("div"),l=T("h3"),f=j(c),m=G(),g=T("p"),d=j(v),B=G(),A=T("button"),k=j(N),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#D19A41"),h(n,"fill-opacity","0.12"),h(r,"x","19"),h(r,"y","19"),h(r,"width","34"),h(r,"height","34"),h(r,"rx","17"),h(r,"fill","#FF6836"),h(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"),h(i,"stroke","black"),h(i,"stroke-width","1.5"),h(i,"stroke-linecap","round"),h(i,"stroke-linejoin","round"),h(o,"d","M36 32V36L38 38"),h(o,"stroke","black"),h(o,"stroke-width","1.5"),h(o,"stroke-linecap","round"),h(o,"stroke-linejoin","round"),h(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"),h(s,"stroke","black"),h(s,"stroke-width","1.5"),h(s,"stroke-linecap","round"),h(s,"stroke-linejoin","round"),h(t,"class","ReceiptStatusIcon pending"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(u,"class","ReceiptStatusText"),h(A,"class","RefreshButton")},m(I,W){P(I,t,W),C(t,n),C(t,r),C(t,i),C(t,o),C(t,s),P(I,a,W),P(I,u,W),C(u,l),C(l,f),C(u,m),C(u,g),C(g,d),P(I,B,W),P(I,A,W),C(A,k),Y||(q=ze(A,"click",e[27]),Y=!0)},p(I,W){W[0]&16809984&&c!==(c=I[24](`${I[15].type.toLowerCase()}.pending.title`)+"")&&z(f,c),W[0]&16809984&&v!==(v=I[24](`${I[15].type.toLowerCase()}.pending.text`)+"")&&z(d,v),W[0]&16777216&&N!==(N=I[24]("refreshButton")+"")&&z(k,N)},d(I){I&&(H(t),H(a),H(u),H(B),H(A)),Y=!1,q()}}}function Ma(e){let t,n,r,i,o,s,a=e[24](`${e[15].type.toLowerCase()}.success.title`)+"",u,l,c,f=e[24](`${e[15].type.toLowerCase()}.success.text`)+"",m;return{c(){t=ge("svg"),n=ge("circle"),r=ge("path"),i=G(),o=T("div"),s=T("h3"),u=j(a),l=G(),c=T("p"),m=j(f),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#F9C408"),h(n,"fill-opacity","0.12"),h(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"),h(r,"fill","#F9C408"),h(t,"class","ReceiptStatusIcon success"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(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`)+"")&&z(u,a),v[0]&16809984&&f!==(f=g[24](`${g[15].type.toLowerCase()}.success.text`)+"")&&z(m,f)},d(g){g&&(H(t),H(i),H(o))}}}function br(e){let t,n=kt(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=kt(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),kr(r,i)}}}function yr(e){var m;let t,n,r=((m=fr[`${e[73].type}`])!=null?m:"")+"",i,o=e[24](`${e[73].translationKey}`)+"",s,a,u,l,c;function f(){return e[46](e[73])}return{c(){t=T("button"),n=T("div"),i=G(),s=j(o),a=G(),h(n,"class","CustomButtonSvg"),h(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",f),l=!0)},p(g,v){var d;e=g,v[0]&4096&&r!==(r=((d=fr[`${e[73].type}`])!=null?d:"")+"")&&(n.innerHTML=r),v[0]&16781312&&o!==(o=e[24](`${e[73].translationKey}`)+"")&&z(s,o),v[0]&4096&&u!==(u=`${e[73].type} GoToButton`)&&h(t,"class",u)},d(g){g&&H(t),l=!1,c()}}}function Ba(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")+"")&&z(n,t)},d(r){r&&H(n)}}}function Pa(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}`)+"")&&z(n,t)},d(r){r&&H(n)}}}function vr(e){let t,n=kt(e[16]),r=[];for(let i=0;i<n.length;i+=1)r[i]=Cr(hr(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=kt(i[16]);let s;for(s=0;s<n.length;s+=1){const a=hr(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),kr(r,i)}}}function ka(e){let t,n=e[70].defaultValue+"",r;return{c(){t=T("span"),r=j(n),h(t,"class","Label")},m(i,o){P(i,t,o),C(t,r)},p(i,o){o[0]&65536&&n!==(n=i[70].defaultValue+"")&&z(r,n)},d(i){i&&H(t)}}}function Aa(e){return{c:ie,m:ie,p:ie,d:ie}}function Ia(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),h(o,"href",u=e[70].defaultValue),h(o,"target","_blank"),h(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+"")&&z(r,n),c[0]&65536&&s!==(s=l[70].name+"")&&z(a,s),c[0]&65536&&u!==(u=l[70].defaultValue)&&h(o,"href",u)},d(l){l&&H(t)}}}function La(e){let t,n,r;return{c(){t=T("img"),Jt(t.src,n=e[70].defaultValue)||h(t,"src",n),h(t,"title",r=e[70].description),h(t,"alt","")},m(i,o){P(i,t,o)},p(i,o){o[0]&65536&&!Jt(t.src,n=i[70].defaultValue)&&h(t,"src",n),o[0]&65536&&r!==(r=i[70].description)&&h(t,"title",r)},d(i){i&&H(t)}}}function Oa(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 Da(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),h(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+"")&&z(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?Da:s[70].type===s[14].Html?Oa:s[70].type===s[14].Image?La:s[70].type===s[14].Link?Ia:s[70].type===s[14].Hidden?Aa:ka}let i=r(e),o=i(e);return{c(){t=T("div"),o.c(),n=G(),h(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 Ra(e){let t;function n(o,s){return o[11]?xa:wa}let r=n(e),i=r(e);return{c(){t=T("div"),i.c(),h(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 $a="_blank";function Na(e,t,n){let r;xr(e,mi,p=>n(24,r=p)),Dt.extend(na);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:f}=t,{transactionid:m}=t,{currencydecimals:g="0"}=t,{type:v}=t,{clientstyling:d=""}=t,{clientstylingurl:B=""}=t,{mbsource:A=""}=t,{showverifications:N="true"}=t,{paymentmethod:k=""}=t,Y=!1,q,{customsucceessbuttons:I=""}=t,{custompendingbuttons:W=""}=t,{customfailedbuttons:pe=""}=t,{currencysymbol:ue=""}=t,{currencyposition:K=""}=t,{userroles:L=""}=t,{windowsize:be}=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=[],V,O,Q=[],te,de,ce="",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()])})},me=()=>{Ys(s)};Ir(()=>(window.addEventListener("message",_e,!1),ba(a,ue,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=>{er(we,re[we])})}).catch(()=>{})};Object.keys(tr).forEach(p=>{er(p,tr[p])});const Qe=()=>{window.postMessage({type:"CloseCashierReceiptPage"},window.location.href)},Le=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:te,showErrorOutsideReceiptPage:de},window.location.href)},Oe=()=>{const p=new URL(`${i}/v1/player/${f}/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,Sn,En,Hn,Mn,Bn,Pn,kn,An,In,Ln;if(X.ResponseCode!==b.Success){n(19,te=X.ResponseCode),n(20,de=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&&!k&&n(0,k=R[0].defaultValue),r(qs(x.status,x.type),{values:{errorText:x.message}}),n(17,V=ya(Number(x.amount),x.currency)),x.status){case"Voided":case"Success":if(oe(I||"casino, livecasino, tournaments"),n(21,ce="success"),x.type==="Deposit"){const Me=(Bn=(Mn=X.Transaction)==null?void 0:Mn.Flags)==null?void 0:Bn.NewDepositCustomer,Re=(Pn=X==null?void 0:X.Transaction)==null?void 0:Pn.Payloads;window.postMessage({type:Me==="True"?"FirstDeposit":"ConfirmedDeposit",method:k,amount:x.amount,currency:x.currency,depositType:(kn=Re==null?void 0:Re.TagManagerDepositType)!=null?kn:"",publicPaymentId:(An=Re==null?void 0:Re.TagManagerCode)!=null?An:""},window.location.href)}cr(x.type==="Deposit"?"deposit_success":"withdrawal_success",{userID:f,amount:x.amount,currency:x.currency,transactionId:x.referenceId,method:k,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(W||"casino, livecasino, tournaments"),n(21,ce="pending");break;case"Rejected":case"Cancelled":case"Failed":oe(pe||"casino, livecasino, tournaments"),n(21,ce=x.status.toLowerCase()),cr(x.type==="Deposit"?"deposit_failed":"withdrawal_failed",{userID:f,amount:x.amount,currency:x.currency,failureReason:x.message}),N==="true"&&n(22,fe=!0);break;default:oe("close")}c?Xs(c,x.status):Ks(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:$a,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),ye=p=>Je(p.event);function le(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,f=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,A=p.mbsource),"showverifications"in p&&n(9,N=p.showverifications),"paymentmethod"in p&&n(0,k=p.paymentmethod),"customsucceessbuttons"in p&&n(37,I=p.customsucceessbuttons),"custompendingbuttons"in p&&n(38,W=p.custompendingbuttons),"customfailedbuttons"in p&&n(39,pe=p.customfailedbuttons),"currencysymbol"in p&&n(40,ue=p.currencysymbol),"currencyposition"in p&&n(41,K=p.currencyposition),"userroles"in p&&n(42,L=p.userroles),"windowsize"in p&&n(43,be=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&&f&&m&&u&&Oe(),e.$$.dirty[0]&8&&s&&me(),e.$$.dirty[0]&24&&s&&l&&Ee(),e.$$.dirty[0]&1152&&d&&O&&Ei(O,d),e.$$.dirty[0]&1280&&B&&O&&Hi(O,B),e.$$.dirty[0]&1024|e.$$.dirty[1]&32&&A&&O&&Mi(O,`${A}.Style`,q)},[k,i,o,s,l,c,f,d,B,N,O,Y,S,b,y,x,R,V,Q,te,de,ce,fe,xe,r,Ce,Qe,Oe,Je,et,ae,a,u,m,g,v,A,I,W,pe,ue,K,L,be,Se,De,ye,le,E,U]}class Bi extends Gr{constructor(t){super(),Nr(this,t,Na,Ra,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},_a,[-1,-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),Z()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),Z()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),Z()}get local(){return this.$$.ctx[31]}set local(t){this.$$set({local:t}),Z()}get showerrors(){return this.$$.ctx[32]}set showerrors(t){this.$$set({showerrors:t}),Z()}get translationurl(){return this.$$.ctx[4]}set translationurl(t){this.$$set({translationurl:t}),Z()}get assetsurl(){return this.$$.ctx[5]}set assetsurl(t){this.$$set({assetsurl:t}),Z()}get customerid(){return this.$$.ctx[6]}set customerid(t){this.$$set({customerid:t}),Z()}get transactionid(){return this.$$.ctx[33]}set transactionid(t){this.$$set({transactionid:t}),Z()}get currencydecimals(){return this.$$.ctx[34]}set currencydecimals(t){this.$$set({currencydecimals:t}),Z()}get type(){return this.$$.ctx[35]}set type(t){this.$$set({type:t}),Z()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get mbsource(){return this.$$.ctx[36]}set mbsource(t){this.$$set({mbsource:t}),Z()}get showverifications(){return this.$$.ctx[9]}set showverifications(t){this.$$set({showverifications:t}),Z()}get paymentmethod(){return this.$$.ctx[0]}set paymentmethod(t){this.$$set({paymentmethod:t}),Z()}get customsucceessbuttons(){return this.$$.ctx[37]}set customsucceessbuttons(t){this.$$set({customsucceessbuttons:t}),Z()}get custompendingbuttons(){return this.$$.ctx[38]}set custompendingbuttons(t){this.$$set({custompendingbuttons:t}),Z()}get customfailedbuttons(){return this.$$.ctx[39]}set customfailedbuttons(t){this.$$set({customfailedbuttons:t}),Z()}get currencysymbol(){return this.$$.ctx[40]}set currencysymbol(t){this.$$set({currencysymbol:t}),Z()}get currencyposition(){return this.$$.ctx[41]}set currencyposition(t){this.$$set({currencyposition:t}),Z()}get userroles(){return this.$$.ctx[42]}set userroles(t){this.$$set({userroles:t}),Z()}get windowsize(){return this.$$.ctx[43]}set windowsize(t){this.$$set({windowsize:t}),Z()}get p2p(){return this.$$.ctx[44]}set p2p(t){this.$$set({p2p:t}),Z()}}jr(Bi,{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 Ua=Object.freeze(Object.defineProperty({__proto__:null,default:Bi},Symbol.toStringTag,{value:"Module"}));exports.$format=mi;exports.$locale=Ie;exports.CashierReceiptPage_ce=Ua;exports.SvelteComponent=Gr;exports.addMessages=xn;exports.append=C;exports.append_styles=Br;exports.attr=h;exports.binding_callbacks=ut;exports.check_outros=Dr;exports.component_subscribe=xr;exports.create_custom_element=jr;exports.create_slot=Ri;exports.detach=H;exports.element=T;exports.empty=Rt;exports.flush=Z;exports.get_all_dirty_from_scope=Ui;exports.get_slot_changes=$i;exports.group_outros=Or;exports.init=hi;exports.init$1=Nr;exports.insert=P;exports.listen=ze;exports.onMount=Ir;exports.safe_not_equal=yn;exports.setClientStyling=Ei;exports.setClientStylingURL=Hi;exports.setStreamStyling=Mi;exports.set_custom_element_data=F;exports.set_data=z;exports.space=G;exports.src_url_equal=Jt;exports.text=j;exports.transition_in=Pt;exports.transition_out=Rr;exports.update_slot_base=Ni;
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-DV1yv6tv.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}function wa(e){Br(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 hr(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 xa(e){let t,n,r=lr(e[25])&&e[9]&&e[22],i,o=e[23]&&dr(e),s=r&&mr(e);function a(c,f){if(c[15])return Ea;if(c[19]&&!c[20])return Sa}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(),h(n,"class","CashierReceiptPage")},m(c,f){o&&o.m(c,f),P(c,t,f),P(c,n,f),s&&s.m(n,null),C(n,i),l&&l.m(n,null)},p(c,f){c[23]?o?(o.p(c,f),f[0]&8388608&&Pt(o,1)):(o=dr(c),o.c(),Pt(o,1),o.m(t.parentNode,t)):o&&(Or(),Rr(o,1,1,()=>{o=null}),Dr()),f[0]&4194816&&(r=lr(c[25])&&c[9]&&c[22]),r?s?s.p(c,f):(s=mr(c),s.c(),s.m(n,i)):s&&(s.d(1),s=null),u===(u=a(c))&&l?l.p(c,f):(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 Ta(e){let t;return{c(){t=T("div"),t.innerHTML='<div class="Spinner"></div>',h(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),h(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=to(t,Nn,{duration:100}),i.start())}),s=!0)},o(a){i&&i.invalidate(),a&&(o=no(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 Sa(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 Ea(e){let t,n,r,i,o,s=e[24]("amount")+"",a,u,l,c,f,m,g,v=e[24]("status")+"",d,B,A,N=e[24](`${e[21]}`)+"",k,Y,q,I,z,pe=e[24]("transactionId")+"",ue,K,L,be=e[15].referenceId+"",Se,S,_,b,y=e[24]("payemntMethod")+"",w,M,x,R,W,O,Q,te=e[24]("paymentTime")+"",de,ce,Ce,fe=Dt(e[15].time).format("MMM DD, YYYY, HH:mm:ss")+"",ne,oe,me,_e,Ee,Qe,Le,Oe,Je;function et(E,U){if(E[21]==="success")return Ba;if(E[21]==="pending")return Ma;if(E[21]==="failed"||E[21]==="rejected"||E[21]==="canceled")return Ha}let xe=et(e),se=xe&&xe(e),ae=e[12].length>0&&br(e);function mt(E,U){return E[15].type?ka:Pa}let De=mt(e),ye=De(e),le=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]),f=G(),m=T("div"),g=T("p"),d=j(v),B=G(),A=T("span"),k=j(N),q=G(),I=T("div"),z=T("p"),ue=j(pe),K=G(),L=T("span"),Se=j(be),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"),de=j(te),ce=G(),Ce=T("span"),ne=j(fe),oe=G(),me=T("div"),ae&&ae.c(),_e=G(),Ee=T("button"),ye.c(),Qe=G(),le&&le.c(),Le=Rt(),h(t,"class","ReceiptStatusWrapper"),h(i,"class","Amount"),h(m,"class",Y=`Status ${e[21]}`),h(L,"class","TxnIdText"),h(I,"class","TxnId"),h(_,"class","PaymentMethod"),h(O,"class","PaymentTime"),h(r,"class","ReceiptDetailsWrapper"),h(me,"class","ReceiptButtonsWrapper"),h(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,f),C(r,m),C(m,g),C(g,d),C(m,B),C(m,A),C(A,k),C(r,q),C(r,I),C(I,z),C(z,ue),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,de),C(O,ce),C(O,Ce),C(Ce,ne),P(E,oe,U),P(E,me,U),ae&&ae.m(me,null),P(E,_e,U),P(E,Ee,U),ye.m(Ee,null),P(E,Qe,U),le&&le.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(k,N),U[0]&2097152&&Y!==(Y=`Status ${E[21]}`)&&h(m,"class",Y),U[0]&16777216&&pe!==(pe=E[24]("transactionId")+"")&&F(ue,pe),U[0]&32768&&be!==(be=E[15].referenceId+"")&&F(Se,be),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(de,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(me,null)):ae&&(ae.d(1),ae=null),De===(De=mt(E))&&ye?ye.p(E,U):(ye.d(1),ye=De(E),ye&&(ye.c(),ye.m(Ee,null))),E[16].length?le?le.p(E,U):(le=vr(E),le.c(),le.m(Le.parentNode,Le)):le&&(le.d(1),le=null)},d(E){E&&(H(t),H(n),H(r),H(oe),H(me),H(_e),H(Ee),H(Qe),H(Le)),se&&se.d(),ae&&ae.d(),ye.d(),le&&le.d(E),Oe=!1,ke(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),h(t,"slot","icon"),h(r,"slot","title"),h(r,"class","CashierErrorTitle"),h(a,"slot","text"),h(a,"class","CashierErrorText")},m(c,f){P(c,t,f),P(c,n,f),P(c,r,f),C(r,o),P(c,s,f),P(c,a,f),C(a,l)},p(c,f){f[0]&16777216&&i!==(i=c[24]("receipt.maintenance.title")+"")&&F(o,i),f[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 Ha(e){let t,n,r,i,o,s,a,u=e[24](`${e[15].type.toLowerCase()}.fail.title`)+"",l,c,f,m=e[24](`${e[15].type.toLowerCase()}.fail.text`)+"",g;return{c(){t=ge("svg"),n=ge("circle"),r=ge("rect"),i=ge("path"),o=G(),s=T("div"),a=T("h3"),l=j(u),c=G(),f=T("p"),g=j(m),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#D14141"),h(n,"fill-opacity","0.12"),h(r,"x","19.335"),h(r,"y","19"),h(r,"width","33.33"),h(r,"height","33.33"),h(r,"rx","16.665"),h(r,"fill","#FF3636"),h(i,"d","M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"),h(i,"stroke","black"),h(i,"stroke-width","2.09016"),h(i,"stroke-linecap","round"),h(i,"stroke-linejoin","round"),h(t,"class","ReceiptStatusIcon failed"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(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,f),C(f,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 Ma(e){let t,n,r,i,o,s,a,u,l,c=e[24](`${e[15].type.toLowerCase()}.pending.title`)+"",f,m,g,v=e[24](`${e[15].type.toLowerCase()}.pending.text`)+"",d,B,A,N=e[24]("refreshButton")+"",k,Y,q;return{c(){t=ge("svg"),n=ge("circle"),r=ge("rect"),i=ge("path"),o=ge("path"),s=ge("path"),a=G(),u=T("div"),l=T("h3"),f=j(c),m=G(),g=T("p"),d=j(v),B=G(),A=T("button"),k=j(N),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#D19A41"),h(n,"fill-opacity","0.12"),h(r,"x","19"),h(r,"y","19"),h(r,"width","34"),h(r,"height","34"),h(r,"rx","17"),h(r,"fill","#FF6836"),h(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"),h(i,"stroke","black"),h(i,"stroke-width","1.5"),h(i,"stroke-linecap","round"),h(i,"stroke-linejoin","round"),h(o,"d","M36 32V36L38 38"),h(o,"stroke","black"),h(o,"stroke-width","1.5"),h(o,"stroke-linecap","round"),h(o,"stroke-linejoin","round"),h(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"),h(s,"stroke","black"),h(s,"stroke-width","1.5"),h(s,"stroke-linecap","round"),h(s,"stroke-linejoin","round"),h(t,"class","ReceiptStatusIcon pending"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(u,"class","ReceiptStatusText"),h(A,"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,f),C(u,m),C(u,g),C(g,d),P(I,B,z),P(I,A,z),C(A,k),Y||(q=ze(A,"click",e[27]),Y=!0)},p(I,z){z[0]&16809984&&c!==(c=I[24](`${I[15].type.toLowerCase()}.pending.title`)+"")&&F(f,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(k,N)},d(I){I&&(H(t),H(a),H(u),H(B),H(A)),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,f=e[24](`${e[15].type.toLowerCase()}.success.text`)+"",m;return{c(){t=ge("svg"),n=ge("circle"),r=ge("path"),i=G(),o=T("div"),s=T("h3"),u=j(a),l=G(),c=T("p"),m=j(f),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#F9C408"),h(n,"fill-opacity","0.12"),h(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"),h(r,"fill","#F9C408"),h(t,"class","ReceiptStatusIcon success"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(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&&f!==(f=g[24](`${g[15].type.toLowerCase()}.success.text`)+"")&&F(m,f)},d(g){g&&(H(t),H(i),H(o))}}}function br(e){let t,n=kt(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=kt(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),kr(r,i)}}}function yr(e){var m;let t,n,r=((m=fr[`${e[73].type}`])!=null?m:"")+"",i,o=e[24](`${e[73].translationKey}`)+"",s,a,u,l,c;function f(){return e[46](e[73])}return{c(){t=T("button"),n=T("div"),i=G(),s=j(o),a=G(),h(n,"class","CustomButtonSvg"),h(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",f),l=!0)},p(g,v){var d;e=g,v[0]&4096&&r!==(r=((d=fr[`${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`)&&h(t,"class",u)},d(g){g&&H(t),l=!1,c()}}}function Pa(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=kt(e[16]),r=[];for(let i=0;i<n.length;i+=1)r[i]=Cr(hr(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=kt(i[16]);let s;for(s=0;s<n.length;s+=1){const a=hr(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),kr(r,i)}}}function Aa(e){let t,n=e[70].defaultValue+"",r;return{c(){t=T("span"),r=j(n),h(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 Ia(e){return{c:ie,m:ie,p:ie,d:ie}}function La(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),h(o,"href",u=e[70].defaultValue),h(o,"target","_blank"),h(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)&&h(o,"href",u)},d(l){l&&H(t)}}}function Oa(e){let t,n,r;return{c(){t=T("img"),Jt(t.src,n=e[70].defaultValue)||h(t,"src",n),h(t,"title",r=e[70].description),h(t,"alt","")},m(i,o){P(i,t,o)},p(i,o){o[0]&65536&&!Jt(t.src,n=i[70].defaultValue)&&h(t,"src",n),o[0]&65536&&r!==(r=i[70].description)&&h(t,"title",r)},d(i){i&&H(t)}}}function Da(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 Ra(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),h(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?Ra:s[70].type===s[14].Html?Da:s[70].type===s[14].Image?Oa:s[70].type===s[14].Link?La:s[70].type===s[14].Hidden?Ia:Aa}let i=r(e),o=i(e);return{c(){t=T("div"),o.c(),n=G(),h(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 $a(e){let t;function n(o,s){return o[11]?Ta:xa}let r=n(e),i=r(e);return{c(){t=T("div"),i.c(),h(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 Na="_blank";function Ua(e,t,n){let r;xr(e,bi,p=>n(24,r=p)),Dt.extend(ra);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:f}=t,{transactionid:m}=t,{currencydecimals:g="0"}=t,{type:v}=t,{clientstyling:d=""}=t,{clientstylingurl:B=""}=t,{mbsource:A=""}=t,{showverifications:N="true"}=t,{paymentmethod:k=""}=t,Y=!1,q,{customsucceessbuttons:I=""}=t,{custompendingbuttons:z=""}=t,{customfailedbuttons:pe=""}=t,{currencysymbol:ue=""}=t,{currencyposition:K=""}=t,{userroles:L=""}=t,{windowsize:be}=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,de,ce="",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()])})},me=()=>{Xs(s)};Ir(()=>(window.addEventListener("message",_e,!1),ya(a,ue,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=>{er(we,re[we])})}).catch(()=>{})};Object.keys(tr).forEach(p=>{er(p,tr[p])});const Qe=()=>{window.postMessage({type:"CloseCashierReceiptPage"},window.location.href)},Le=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:te,showErrorOutsideReceiptPage:de},window.location.href)},Oe=()=>{const p=new URL(`${i}/v1/player/${f}/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,Sn,En,Hn,Mn,Bn,Pn,kn,An,In,Ln;if(X.ResponseCode!==b.Success){n(19,te=X.ResponseCode),n(20,de=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&&!k&&n(0,k=R[0].defaultValue),r(Ks(x.status,x.type),{values:{errorText:x.message}}),n(17,W=va(Number(x.amount),x.currency)),x.status){case"Voided":case"Success":if(oe(I||"casino, livecasino, tournaments"),n(21,ce="success"),x.type==="Deposit"){const Me=(Bn=(Mn=X.Transaction)==null?void 0:Mn.Flags)==null?void 0:Bn.NewDepositCustomer,Re=(Pn=X==null?void 0:X.Transaction)==null?void 0:Pn.Payloads;window.postMessage({type:Me==="True"?"FirstDeposit":"ConfirmedDeposit",method:k,amount:x.amount,currency:x.currency,depositType:(kn=Re==null?void 0:Re.TagManagerDepositType)!=null?kn:"",publicPaymentId:(An=Re==null?void 0:Re.TagManagerCode)!=null?An:""},window.location.href)}cr(x.type==="Deposit"?"deposit_success":"withdrawal_success",{userID:f,amount:x.amount,currency:x.currency,transactionId:x.referenceId,method:k,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,ce="pending");break;case"Rejected":case"Cancelled":case"Failed":oe(pe||"casino, livecasino, tournaments"),n(21,ce=x.status.toLowerCase()),cr(x.type==="Deposit"?"deposit_failed":"withdrawal_failed",{userID:f,amount:x.amount,currency:x.currency,failureReason:x.message}),N==="true"&&n(22,fe=!0);break;default:oe("close")}c?qs(c,x.status):Qs(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:Na,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),ye=p=>Je(p.event);function le(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,f=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,A=p.mbsource),"showverifications"in p&&n(9,N=p.showverifications),"paymentmethod"in p&&n(0,k=p.paymentmethod),"customsucceessbuttons"in p&&n(37,I=p.customsucceessbuttons),"custompendingbuttons"in p&&n(38,z=p.custompendingbuttons),"customfailedbuttons"in p&&n(39,pe=p.customfailedbuttons),"currencysymbol"in p&&n(40,ue=p.currencysymbol),"currencyposition"in p&&n(41,K=p.currencyposition),"userroles"in p&&n(42,L=p.userroles),"windowsize"in p&&n(43,be=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&&f&&m&&u&&Oe(),e.$$.dirty[0]&8&&s&&me(),e.$$.dirty[0]&24&&s&&l&&Ee(),e.$$.dirty[0]&1152&&d&&O&&Mi(O,d),e.$$.dirty[0]&1280&&B&&O&&Bi(O,B),e.$$.dirty[0]&1024|e.$$.dirty[1]&32&&A&&O&&Pi(O,`${A}.Style`,q)},[k,i,o,s,l,c,f,d,B,N,O,Y,S,b,y,x,R,W,Q,te,de,ce,fe,xe,r,Ce,Qe,Oe,Je,et,ae,a,u,m,g,v,A,I,z,pe,ue,K,L,be,Se,De,ye,le,E,U]}class ki extends zr{constructor(t){super(),jr(this,t,Ua,$a,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},wa,[-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(ki,{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 ja=Object.freeze(Object.defineProperty({__proto__:null,default:ki},Symbol.toStringTag,{value:"Module"}));exports.$format=bi;exports.$locale=Ie;exports.CashierReceiptPage_ce=ja;exports.SvelteComponent=zr;exports.addMessages=xn;exports.append=C;exports.append_styles=Br;exports.attr=h;exports.binding_callbacks=ut;exports.check_outros=Dr;exports.component_subscribe=xr;exports.create_component=ro;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=yn;exports.setClientStyling=Mi;exports.setClientStylingURL=Bi;exports.setStreamStyling=Pi;exports.set_data=F;exports.space=G;exports.src_url_equal=Jt;exports.text=j;exports.transition_in=Pt;exports.transition_out=Rr;exports.update_slot_base=ji;