@everymatrix/cashier-receipt-page 1.98.7 → 1.98.9
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.
- package/components/{CashierError-DoISoqgT.js → CashierError-BbcQG9fO.js} +281 -177
- package/components/{CashierError-MziojHrh.cjs → CashierError-BjWc1geM.cjs} +1 -1
- package/components/{CashierError-RgulR8fn.js → CashierError-CssPQN1z.js} +281 -177
- package/components/{CashierReceiptPage-BuTJavhm.js → CashierReceiptPage-C8UA12PD.js} +656 -472
- package/components/{CashierReceiptPage-BhJMnPIE.js → CashierReceiptPage-DlSPSHir.js} +748 -564
- package/components/{CashierReceiptPage-DLRjk5uv.cjs → CashierReceiptPage-NCmcaA77.cjs} +8 -8
- package/es2015/cashier-receipt-page.cjs +1 -1
- package/es2015/cashier-receipt-page.js +1 -1
- package/esnext/cashier-receipt-page.js +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";var
|
|
2
|
-
`;for(let B=0;B<=1;B+=u){const
|
|
1
|
+
"use strict";var Mi=Object.defineProperty,Bi=Object.defineProperties;var Pi=Object.getOwnPropertyDescriptors;var In=Object.getOwnPropertySymbols;var ki=Object.prototype.hasOwnProperty,Ai=Object.prototype.propertyIsEnumerable;var Ft=(e,t,n)=>t in e?Mi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bt=(e,t)=>{for(var n in t||(t={}))ki.call(t,n)&&Ft(e,n,t[n]);if(In)for(var n of In(t))Ai.call(t,n)&&Ft(e,n,t[n]);return e},Ln=(e,t)=>Bi(e,Pi(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 Ii(e,t){for(const n in t)e[n]=t[n];return e}function vr(e){return e()}function On(){return Object.create(null)}function ke(e){e.forEach(vr)}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 Li(e){return Object.keys(e).length===0}function Cr(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 _r(e,t,n){e.$$.on_destroy.push(Cr(t,n))}function Oi(e,t,n,r){if(e){const i=wr(e,t,n,r);return e[0](i)}}function wr(e,t,n,r){return e[1]&&r?Ii(n.ctx.slice(),e[1](r(t))):n.ctx}function Ri(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 Di(e,t,n,r,i,o){if(i){const s=wr(t,n,r,o);e.p(s,i)}}function $i(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 xr=typeof window!="undefined";let Tr=xr?()=>window.performance.now():()=>Date.now(),vn=xr?e=>requestAnimationFrame(e):ie;const Ge=new Set;function Sr(e){Ge.forEach(t=>{t.c(e)||(Ge.delete(t),t.f())}),Ge.size!==0&&vn(Sr)}function Er(e){let t;return Ge.size===0&&vn(Sr),{promise:new Promise(n=>{Ge.add(t={c:e,f:n})}),abort(){Ge.delete(t)}}}function C(e,t){e.appendChild(t)}function Hr(e,t,n){const r=Cn(e);if(!r.getElementById(t)){const i=T("style");i.id=t,i.textContent=n,Mr(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 Ni(e){const t=T("style");return t.textContent="/* empty */",Mr(Cn(e),t),t.sheet}function Mr(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 Br(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 Dt(){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 Ui(e){return Array.from(e.childNodes)}function z(e,t){t=""+t,e.data!==t&&(e.data=t)}function ji(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function Gi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const Ht=new Map;let Mt=0;function Fi(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function zi(e,t){const n={stylesheet:Ni(t),rules:{}};return Ht.set(e,n),n}function Pr(e,t,n,r,i,o,s,a=0){const u=16.666/r;let l=`{
|
|
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_${Fi(c)}_${a}`,m=Cn(e),{stylesheet:g,rules:v}=Mt.get(m)||Wi(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`,Ht+=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(", "),Ht-=i,Ht||zi())}function zi(){vn(()=>{Ht||(Mt.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&M(t)}),Mt.clear())})}let at;function st(e){at=e}function Vi(){if(!at)throw new Error("Function called outside component initialization");return at}function Ar(e){Vi().$$.on_mount.push(e)}const Ue=[],ut=[];let Fe=[];const Rn=[],Zi=Promise.resolve();let tn=!1;function Yi(){tn||(tn=!0,Zi.then(Z))}function ze(e){Fe.push(e)}const zt=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),Xi(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];zt.has(n)||(zt.add(n),n())}Fe.length=0}while(Ue.length);for(;Rn.length;)Rn.pop()();tn=!1,zt.clear(),st(e)}function Xi(e){if(e.fragment!==null){e.update(),Ae(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ze)}}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 Ir(){return tt||(tt=Promise.resolve(),tt.then(()=>{tt=null})),tt}function Bt(e,t,n){e.dispatchEvent(ji(`${t?"intro":"outro"}${n}`))}const _t=new Set;let Be;function Lr(){Be={r:0,c:[],p:Be}}function kr(){Be.r||Ae(Be.c),Be=Be.p}function Pt(e,t){e&&e.i&&(_t.delete(e),e.i(t))}function Or(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 Rr={duration:0};function Qi(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||Rr;B&&(s=Pr(e,0,1,g,m,v,B,u++)),d(0,1);const I=Tr()+m,N=I+g;a&&a.abort(),o=!0,ze(()=>Bt(e,!0,"start")),a=Er(A=>{if(o){if(A>=N)return d(1,0),Bt(e,!0,"end"),l(),o=!1;if(A>=I){const Y=v((A-I)/g);d(Y,1-Y)}}return o})}let f=!1;return{start(){f||(f=!0,en(e),ft(i)?(i=i(r),Ir().then(c)):c())},invalidate(){f=!1},end(){o&&(l(),o=!1)}}}function Ki(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||Rr;v&&(s=Pr(e,1,0,f,c,m,v));const d=Tr()+c,B=d+f;ze(()=>Bt(e,!1,"start")),"inert"in e&&(u=e.inert,e.inert=!0),Er(I=>{if(o){if(I>=B)return g(0,1),Bt(e,!1,"end"),--a.r||Ae(a.c),!1;if(I>=d){const N=m((I-d)/f);g(1-N,N)}}return o})}return ft(i)?Ir().then(()=>{i=i(r),l()}):l(),{end(c){c&&"inert"in e&&(e.inert=u),c&&i.tick&&i.tick(1,0),o&&(s&&en(e,s),o=!1)}}}function At(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ji(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),ze(()=>{const o=e.$$.on_mount.map(vr).filter(ft);e.$$.on_destroy?e.$$.on_destroy.push(...o):Ae(o),e.$$.on_mount=[]}),i.forEach(ze)}function eo(e,t){const n=e.$$;n.fragment!==null&&(qi(n.after_update),Ae(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function to(e,t){e.$$.dirty[0]===-1&&(Ue.push(e),Yi(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Dr(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:On(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:On(),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&&to(e,f)),m}):[],l.update(),c=!0,Ae(l.before_update),l.fragment=r?r(l.ctx):!1,t.target){if(t.hydrate){const f=Ui(t.target);l.fragment&&l.fragment.l(f),f.forEach(M)}else l.fragment&&l.fragment.c();t.intro&&Pt(e.$$.fragment),Ji(e,t.target,t.anchor),Z()}st(u)}let $r;typeof HTMLElement=="function"&&($r=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 Wt(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&&M(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=Gi(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:kn(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 Nr(e,t,n,r,i,o){let s=class extends $r{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 Ur{constructor(){ve(this,"$$");ve(this,"$$set")}$destroy(){eo(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&&!ki(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const no="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(no);function Dn(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 ro(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 ro(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)=>Cr(v,B=>{l[d]=B,c&=~(1<<d),u&&m()},()=>{c|=1<<d}));return u=!0,m(),function(){Ae(g),f(),u=!1}})}var jr=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 io=function(t){return oo(t)&&!so(t)};function oo(e){return!!e&&typeof e=="object"}function so(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||lo(e)}var ao=typeof Symbol=="function"&&Symbol.for,uo=ao?Symbol.for("react.element"):60103;function lo(e){return e.$$typeof===uo}function co(e){return Array.isArray(e)?[]:{}}function lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ve(co(e),e,t):e}function fo(e,t,n){return e.concat(t).map(function(r){return lt(r,n)})}function ho(e,t){if(!t.customMerge)return Ve;var n=t.customMerge(e);return typeof n=="function"?n:Ve}function po(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function $n(e){return Object.keys(e).concat(po(e))}function Gr(e,t){try{return t in e}catch(n){return!1}}function mo(e,t){return Gr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function go(e,t,n){var r={};return n.isMergeableObject(e)&&$n(e).forEach(function(i){r[i]=lt(e[i],n)}),$n(t).forEach(function(i){mo(e,i)||(Gr(e,i)&&n.isMergeableObject(t[i])?r[i]=ho(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||fo,n.isMergeableObject=n.isMergeableObject||io,n.cloneUnlessOtherwiseSpecified=lt;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):go(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 bo=Ve,yo=bo;const vo=_n(yo);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 Co(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:Mo,r=t&&t.serializer?t.serializer:So,i=t&&t.strategy?t.strategy:xo;return i(e,{cache:n,serializer:r})}function _o(e){return e==null||typeof e=="number"||typeof e=="boolean"}function wo(e,t,n,r){var i=_o(r)?r:n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,r),t.set(i,o)),o}function Fr(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 Wr(e,t,n,r,i){return n.bind(t,e,r,i)}function xo(e,t){var n=e.length===1?wo:Fr;return Wr(e,this,n,t.cache.create(),t.serializer)}function To(e,t){return Wr(e,this,Fr,t.cache.create(),t.serializer)}var So=function(){return JSON.stringify(arguments)},Eo=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}(),Mo={create:function(){return new Eo}},Yt={variadic:To},It=function(){return It=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},It.apply(this,arguments)};var R;(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"})(R||(R={}));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 Nn(e){return e.type===J.literal}function Ho(e){return e.type===J.argument}function zr(e){return e.type===J.number}function Vr(e){return e.type===J.date}function Zr(e){return e.type===J.time}function Yr(e){return e.type===J.select}function Xr(e){return e.type===J.plural}function Bo(e){return e.type===J.pound}function qr(e){return e.type===J.tag}function Qr(e){return!!(e&&typeof e=="object"&&e.type===Ze.number)}function rn(e){return!!(e&&typeof e=="object"&&e.type===Ze.dateTime)}var Kr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Po=/(?:[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 Ao(e){var t={};return e.replace(Po,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 Io=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Lo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Io).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 ko(e){return e.replace(/^(.*?)-/,"")}var Un=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Jr=/^(@+)?(\+|#+)?[rs]?$/g,Oo=/(\*)(0+)|(#+)(0+)|(0+)/g,ei=/^(0+)$/;function jn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Jr,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 ti(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 Ro(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)),!ei.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Gn(e){var t={},n=ti(e);return n||t}function Do(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=ko(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),Gn(l))},{}));continue;case"engineering":t=ee(ee(ee({},t),{notation:"engineering"}),i.options.reduce(function(u,l){return ee(ee({},u),Gn(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(Oo,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(ei.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Un.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Un,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),jn(o)));continue}if(Jr.test(i.stem)){t=ee(ee({},t),jn(i.stem));continue}var s=ti(i.stem);s&&(t=ee(ee({},t),s));var a=Ro(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 $o(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=No(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 No(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,Uo=new RegExp("^".concat(Kr.source,"*")),jo=new RegExp("".concat(Kr.source,"*$"));function $(e,t){return{start:e,end:t}}var Go=!!String.prototype.startsWith&&"_a".startsWith("a",1),Fo=!!String.fromCodePoint,Wo=!!Object.fromEntries,zo=!!String.prototype.codePointAt,Vo=!!String.prototype.trimStart,Zo=!!String.prototype.trimEnd,Yo=!!Number.isSafeInteger,Xo=Yo?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},on=!0;try{var qo=ri("([^\\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 Fn=Go?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},sn=Fo?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},Wn=Wo?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},ni=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}},Qo=Vo?function(t){return t.trimStart()}:function(t){return t.replace(Uo,"")},Ko=Zo?function(t){return t.trimEnd()}:function(t){return t.replace(jo,"")};function ri(e,t){return new RegExp(e,t)}var an;if(on){var zn=ri("([^\\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=ni(t,n);if(i===void 0||ii(i)||ns(i))break;r.push(i),n+=i>=65536?2:1}return sn.apply(void 0,r)};var Jo=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(R.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(R.INVALID_TAG,$(a,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(R.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(R.INVALID_TAG,$(a,this.clonePosition())))}else return this.error(R.UNCLOSED_TAG,$(r,this.clonePosition()))}else return this.error(R.INVALID_TAG,$(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ts(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||!es(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(R.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(R.EMPTY_ARGUMENT,$(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(R.MALFORMED_ARGUMENT,$(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(R.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(R.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(R.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(R.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=Ko(f.val);if(m.length===0)return this.error(R.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&&Fn(l==null?void 0:l.style,"::",0)){var B=Qo(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(R.EXPECT_DATE_TIME_SKELETON,d);var I=B;this.locale&&(I=$o(B,this.locale));var m={type:Ze.dateTime,pattern:I,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Ao(I):{}},N=a==="date"?J.date:J.time;return{val:{type:N,value:r,location:d,style:m},err:null}}}return{val:{type:a==="number"?J.number:a==="date"?J.date:J.time,value:r,location:d,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(R.EXPECT_SELECT_ARGUMENT_OPTIONS,$(A,It({},A)));this.bumpSpace();var Y=this.parseIdentifierIfPossible(),X=0;if(a!=="select"&&Y.value==="offset"){if(!this.bumpIf(":"))return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),Y=this.parseIdentifierIfPossible(),X=f.val}var L=this.tryParsePluralOrSelectOptions(t,a,n,Y);if(L.err)return L;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:Wn(L.val),location:z},err:null}:{val:{type:J.plural,value:r,options:Wn(L.val),offset:X,pluralType:a==="plural"?"cardinal":"ordinal",location:z},err:null}}default:return this.error(R.INVALID_ARGUMENT_TYPE,$(s,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(R.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(R.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=Lo(t)}catch(i){return this.error(R.INVALID_NUMBER_SKELETON,n)}return{val:{type:Ze.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Do(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(R.EXPECT_PLURAL_ARGUMENT_SELECTOR,R.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"?R.DUPLICATE_SELECT_ARGUMENT_SELECTOR:R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:R.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"?R.EXPECT_SELECT_ARGUMENT_SELECTOR:R.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(R.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,Xo(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=ni(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(Fn(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()&&ii(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 es(e){return un(e)||e===47}function ts(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 ii(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ns(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,Yr(t)||Xr(t))for(var n in t.options)delete t.options[n].location,ln(t.options[n].value);else zr(t)&&Qr(t.style)||(Vr(t)||Zr(t))&&rn(t.style)?delete t.style.location:qr(t)&&ln(t.children)})}function rs(e,t){t===void 0&&(t={}),t=It({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Jo(e,t).parse();if(n.err){var r=SyntaxError(R[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),Vn=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),is=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),os=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 ss(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 as(e){return typeof e=="function"}function xt(e,t,n,r,i,o,s){if(e.length===1&&Nn(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(Nn(c)){a.push({type:he.literal,value:c.value});continue}if(Bo(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 os(f,s);var m=i[f];if(Ho(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(Vr(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(Zr(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]:Qr(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(!as(B))throw new is(d,"function",s);var I=xt(v,t,n,r,i,o),N=B(I.map(function(X){return X.value}));Array.isArray(N)||(N=[N]),a.push.apply(a,N.map(function(X){return{type:typeof X=="string"?he.literal:he.object,value:X}}))}if(Yr(c)){var A=c.options[m]||c.options.other;if(!A)throw new Vn(c.value,m,Object.keys(c.options),s);a.push.apply(a,xt(A.value,t,n,r,i));continue}if(Xr(c)){var A=c.options["=".concat(m)];if(!A){if(!Intl.PluralRules)throw new Ut(`Intl.PluralRules is not available in this environment.
|
|
4
|
+
}`,f=`__svelte_${Fi(c)}_${a}`,m=Cn(e),{stylesheet:g,rules:v}=Ht.get(m)||zi(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||Wi())}function Wi(){vn(()=>{Mt||(Ht.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&H(t)}),Ht.clear())})}let at;function st(e){at=e}function Vi(){if(!at)throw new Error("Function called outside component initialization");return at}function kr(e){Vi().$$.on_mount.push(e)}const Ue=[],ut=[];let Fe=[];const Rn=[],Zi=Promise.resolve();let tn=!1;function Yi(){tn||(tn=!0,Zi.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),Xi(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(;Rn.length;)Rn.pop()();tn=!1,Wt.clear(),st(e)}function Xi(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 Ar(){return tt||(tt=Promise.resolve(),tt.then(()=>{tt=null})),tt}function Bt(e,t,n){e.dispatchEvent(ji(`${t?"intro":"outro"}${n}`))}const _t=new Set;let Be;function Ir(){Be={r:0,c:[],p:Be}}function Lr(){Be.r||ke(Be.c),Be=Be.p}function Pt(e,t){e&&e.i&&(_t.delete(e),e.i(t))}function Or(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 Rr={duration:0};function Ki(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||Rr;B&&(s=Pr(e,0,1,g,m,v,B,u++)),d(0,1);const A=Tr()+m,N=A+g;a&&a.abort(),o=!0,We(()=>Bt(e,!0,"start")),a=Er(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),Ar().then(c)):c())},invalidate(){f=!1},end(){o&&(l(),o=!1)}}}function Qi(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||Rr;v&&(s=Pr(e,1,0,f,c,m,v));const d=Tr()+c,B=d+f;We(()=>Bt(e,!1,"start")),"inert"in e&&(u=e.inert,e.inert=!0),Er(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)?Ar().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 Ji(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),We(()=>{const o=e.$$.on_mount.map(vr).filter(ft);e.$$.on_destroy?e.$$.on_destroy.push(...o):ke(o),e.$$.on_mount=[]}),i.forEach(We)}function eo(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 to(e,t){e.$$.dirty[0]===-1&&(Ue.push(e),Yi(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Dr(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:On(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:On(),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&&to(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=Ui(t.target);l.fragment&&l.fragment.l(f),f.forEach(H)}else l.fragment&&l.fragment.c();t.intro&&Pt(e.$$.fragment),Ji(e,t.target,t.anchor),Z()}st(u)}let $r;typeof HTMLElement=="function"&&($r=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=Gi(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:Ln(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 Nr(e,t,n,r,i,o){let s=class extends $r{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 Ur{constructor(){ve(this,"$$");ve(this,"$$set")}$destroy(){eo(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&&!Li(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const no="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(no);function Dn(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 ro(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 ro(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)=>Cr(v,B=>{l[d]=B,c&=~(1<<d),u&&m()},()=>{c|=1<<d}));return u=!0,m(),function(){ke(g),f(),u=!1}})}var jr=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 io=function(t){return oo(t)&&!so(t)};function oo(e){return!!e&&typeof e=="object"}function so(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||lo(e)}var ao=typeof Symbol=="function"&&Symbol.for,uo=ao?Symbol.for("react.element"):60103;function lo(e){return e.$$typeof===uo}function co(e){return Array.isArray(e)?[]:{}}function lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ve(co(e),e,t):e}function fo(e,t,n){return e.concat(t).map(function(r){return lt(r,n)})}function ho(e,t){if(!t.customMerge)return Ve;var n=t.customMerge(e);return typeof n=="function"?n:Ve}function po(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function $n(e){return Object.keys(e).concat(po(e))}function Gr(e,t){try{return t in e}catch(n){return!1}}function mo(e,t){return Gr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function go(e,t,n){var r={};return n.isMergeableObject(e)&&$n(e).forEach(function(i){r[i]=lt(e[i],n)}),$n(t).forEach(function(i){mo(e,i)||(Gr(e,i)&&n.isMergeableObject(t[i])?r[i]=ho(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||fo,n.isMergeableObject=n.isMergeableObject||io,n.cloneUnlessOtherwiseSpecified=lt;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):go(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 bo=Ve,yo=bo;const vo=_n(yo);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 Co(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:Ho,r=t&&t.serializer?t.serializer:So,i=t&&t.strategy?t.strategy:xo;return i(e,{cache:n,serializer:r})}function _o(e){return e==null||typeof e=="number"||typeof e=="boolean"}function wo(e,t,n,r){var i=_o(r)?r:n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,r),t.set(i,o)),o}function Fr(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 zr(e,t,n,r,i){return n.bind(t,e,r,i)}function xo(e,t){var n=e.length===1?wo:Fr;return zr(e,this,n,t.cache.create(),t.serializer)}function To(e,t){return zr(e,this,Fr,t.cache.create(),t.serializer)}var So=function(){return JSON.stringify(arguments)},Eo=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}(),Ho={create:function(){return new Eo}},Yt={variadic:To},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 R;(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"})(R||(R={}));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 Nn(e){return e.type===J.literal}function Mo(e){return e.type===J.argument}function Wr(e){return e.type===J.number}function Vr(e){return e.type===J.date}function Zr(e){return e.type===J.time}function Yr(e){return e.type===J.select}function Xr(e){return e.type===J.plural}function Bo(e){return e.type===J.pound}function qr(e){return e.type===J.tag}function Kr(e){return!!(e&&typeof e=="object"&&e.type===Ze.number)}function rn(e){return!!(e&&typeof e=="object"&&e.type===Ze.dateTime)}var Qr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Po=/(?:[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 ko(e){var t={};return e.replace(Po,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 Ao=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Io(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ao).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 Lo(e){return e.replace(/^(.*?)-/,"")}var Un=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Jr=/^(@+)?(\+|#+)?[rs]?$/g,Oo=/(\*)(0+)|(#+)(0+)|(0+)/g,ei=/^(0+)$/;function jn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Jr,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 ti(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 Ro(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)),!ei.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Gn(e){var t={},n=ti(e);return n||t}function Do(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=Lo(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),Gn(l))},{}));continue;case"engineering":t=ee(ee(ee({},t),{notation:"engineering"}),i.options.reduce(function(u,l){return ee(ee({},u),Gn(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(Oo,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(ei.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Un.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Un,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),jn(o)));continue}if(Jr.test(i.stem)){t=ee(ee({},t),jn(i.stem));continue}var s=ti(i.stem);s&&(t=ee(ee({},t),s));var a=Ro(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 $o(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=No(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 No(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,Uo=new RegExp("^".concat(Qr.source,"*")),jo=new RegExp("".concat(Qr.source,"*$"));function $(e,t){return{start:e,end:t}}var Go=!!String.prototype.startsWith&&"_a".startsWith("a",1),Fo=!!String.fromCodePoint,zo=!!Object.fromEntries,Wo=!!String.prototype.codePointAt,Vo=!!String.prototype.trimStart,Zo=!!String.prototype.trimEnd,Yo=!!Number.isSafeInteger,Xo=Yo?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},on=!0;try{var qo=ri("([^\\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 Fn=Go?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},sn=Fo?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},zn=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},ni=Wo?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}},Ko=Vo?function(t){return t.trimStart()}:function(t){return t.replace(Uo,"")},Qo=Zo?function(t){return t.trimEnd()}:function(t){return t.replace(jo,"")};function ri(e,t){return new RegExp(e,t)}var an;if(on){var Wn=ri("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");an=function(t,n){var r;Wn.lastIndex=n;var i=Wn.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else an=function(t,n){for(var r=[];;){var i=ni(t,n);if(i===void 0||ii(i)||ns(i))break;r.push(i),n+=i>=65536?2:1}return sn.apply(void 0,r)};var Jo=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(R.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(R.INVALID_TAG,$(a,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(R.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(R.INVALID_TAG,$(a,this.clonePosition())))}else return this.error(R.UNCLOSED_TAG,$(r,this.clonePosition()))}else return this.error(R.INVALID_TAG,$(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ts(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||!es(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(R.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(R.EMPTY_ARGUMENT,$(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(R.MALFORMED_ARGUMENT,$(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(R.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(R.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(R.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(R.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=Qo(f.val);if(m.length===0)return this.error(R.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&&Fn(l==null?void 0:l.style,"::",0)){var B=Ko(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(R.EXPECT_DATE_TIME_SKELETON,d);var A=B;this.locale&&(A=$o(B,this.locale));var m={type:Ze.dateTime,pattern:A,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ko(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(R.EXPECT_SELECT_ARGUMENT_OPTIONS,$(k,At({},k)));this.bumpSpace();var Y=this.parseIdentifierIfPossible(),X=0;if(a!=="select"&&Y.value==="offset"){if(!this.bumpIf(":"))return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),Y=this.parseIdentifierIfPossible(),X=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:zn(I.val),location:W},err:null}:{val:{type:J.plural,value:r,options:zn(I.val),offset:X,pluralType:a==="plural"?"cardinal":"ordinal",location:W},err:null}}default:return this.error(R.INVALID_ARGUMENT_TYPE,$(s,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(R.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(R.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=Io(t)}catch(i){return this.error(R.INVALID_NUMBER_SKELETON,n)}return{val:{type:Ze.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Do(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(R.EXPECT_PLURAL_ARGUMENT_SELECTOR,R.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"?R.DUPLICATE_SELECT_ARGUMENT_SELECTOR:R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:R.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"?R.EXPECT_SELECT_ARGUMENT_SELECTOR:R.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(R.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,Xo(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=ni(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(Fn(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()&&ii(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 es(e){return un(e)||e===47}function ts(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 ii(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ns(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,Yr(t)||Xr(t))for(var n in t.options)delete t.options[n].location,ln(t.options[n].value);else Wr(t)&&Kr(t.style)||(Vr(t)||Zr(t))&&rn(t.style)?delete t.style.location:qr(t)&&ln(t.children)})}function rs(e,t){t===void 0&&(t={}),t=At({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Jo(e,t).parse();if(n.err){var r=SyntaxError(R[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),Vn=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),is=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),os=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 ss(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 as(e){return typeof e=="function"}function xt(e,t,n,r,i,o,s){if(e.length===1&&Nn(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(Nn(c)){a.push({type:he.literal,value:c.value});continue}if(Bo(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 os(f,s);var m=i[f];if(Mo(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(Vr(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(Zr(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(Wr(c)){var g=typeof c.style=="string"?r.number[c.style]:Kr(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(!as(B))throw new is(d,"function",s);var A=xt(v,t,n,r,i,o),N=B(A.map(function(X){return X.value}));Array.isArray(N)||(N=[N]),a.push.apply(a,N.map(function(X){return{type:typeof X=="string"?he.literal:he.object,value:X}}))}if(Yr(c)){var k=c.options[m]||c.options.other;if(!k)throw new Vn(c.value,m,Object.keys(c.options),s);a.push.apply(a,xt(k.value,t,n,r,i));continue}if(Xr(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));
|
|
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 Vn(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 ss(a)}function us(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 ls(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=us(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 cs(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 oi=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=Co(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=ls(e.formats,r),this.formatters=i&&i.formatters||cs(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=rs,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 fs(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={},hs=(e,t,n)=>n&&(t in Pe||(Pe[t]={}),e in Pe[t]||(Pe[t][e]=n),n),si=(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=ds(i,e);if(o)return hs(e,t,o)}};let wn;const ht=$t({});function ps(e){return wn[e]||null}function ai(e){return e in wn}function ds(e,t){if(!ai(e))return null;const n=ps(e);return fs(n,t)}function ms(e){if(e==null)return;const t=pt(e);for(let n=0;n<t.length;n++){const r=t[n];if(ai(r))return r}}function xn(e,...t){delete Pe[e],ht.update(n=>(n[e]=vo.all([n[e]||{},...t]),n))}qe([ht],([e])=>Object.keys(e));ht.subscribe(e=>wn=e);const Tt={};function gs(e,t){Tt[e].delete(t),Tt[e].size===0&&delete Tt[e]}function ui(e){return Tt[e]}function bs(e){return pt(e).map(t=>{const n=ui(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=ui(t))==null?void 0:n.size})}function ys(e,t){return Promise.all(t.map(r=>(gs(e,r),r().then(i=>i.default||i)))).then(r=>xn(e,...r))}const nt={};function li(e){if(!It(e))return e in nt?nt[e]:Promise.resolve();const t=bs(e);return nt[e]=Promise.all(t.map(([n,r])=>ys(n,r))).then(()=>{if(It(e))return li(e);delete nt[e]}),nt[e]}var Zn=Object.getOwnPropertySymbols,vs=Object.prototype.hasOwnProperty,Cs=Object.prototype.propertyIsEnumerable,_s=(e,t)=>{var n={};for(var r in e)vs.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Zn)for(var r of Zn(e))t.indexOf(r)<0&&Cs.call(e,r)&&(n[r]=e[r]);return n};const ws={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 xs({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 Ts={fallbackLocale:null,loadingDelay:200,formats:ws,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},rt=Ts;function Xe(){return rt}function ci(e){const t=e,{formats:n}=t,r=_s(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{oi.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=xs: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)),Le.set(i)}const Qt=$t(!1);var Ss=Object.defineProperty,Es=Object.defineProperties,Ms=Object.getOwnPropertyDescriptors,Yn=Object.getOwnPropertySymbols,Hs=Object.prototype.hasOwnProperty,Bs=Object.prototype.propertyIsEnumerable,Xn=(e,t,n)=>t in e?Ss(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ps=(e,t)=>{for(var n in t||(t={}))Hs.call(t,n)&&Xn(e,n,t[n]);if(Yn)for(var n of Yn(t))Bs.call(t,n)&&Xn(e,n,t[n]);return e},As=(e,t)=>Es(e,Ms(t));let cn;const kt=$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 Ie(){return cn!=null?cn:void 0}kt.subscribe(e=>{cn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Is=e=>{if(e&&ms(e)&&Lt(e)){const{loadingDelay:t}=Xe();let n;return typeof window!="undefined"&&Ie()!=null&&t?n=window.setTimeout(()=>Qt.set(!0),t):Qt.set(!0),li(e).then(()=>{kt.set(e)}).finally(()=>{clearTimeout(n),Qt.set(!1)})}return kt.set(e)},Le=As(Ps({},kt),{set:Is}),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 Ls=Object.defineProperty,Ot=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,Qn=(e,t,n)=>t in e?Ls(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tn=(e,t)=>{for(var n in t||(t={}))fi.call(t,n)&&Qn(e,n,t[n]);if(Ot)for(var n of Ot(t))hi.call(t,n)&&Qn(e,n,t[n]);return e},Qe=(e,t)=>{var n={};for(var r in e)fi.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&&hi.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.`)},ks=jt(e=>{var t=e,{locale:n,format:r}=t,i=Qe(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)}),Os=jt(e=>{var t=e,{locale:n,format:r}=t,i=Qe(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)}),Rs=jt(e=>{var t=e,{locale:n,format:r}=t,i=Qe(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)}),Ds=(e={})=>{var t=e,{locale:n=Ie()}=t,r=Qe(t,["locale"]);return ks(Tn({locale:n},r))},$s=(e={})=>{var t=e,{locale:n=Ie()}=t,r=Qe(t,["locale"]);return Os(Tn({locale:n},r))},Ns=(e={})=>{var t=e,{locale:n=Ie()}=t,r=Qe(t,["locale"]);return Rs(Tn({locale:n},r))},Us=jt((e,t=Ie())=>new oi(e,t,Xe().formats,{ignoreTag:Xe().ignoreTag})),js=(e,t={})=>{var n,r,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:u=Ie(),default:l}=s;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=si(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=Us(c,u).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return f},Gs=(e,t)=>Ns(t).format(e),Fs=(e,t)=>$s(t).format(e),Ws=(e,t)=>Ds(t).format(e),zs=(e,t=Ie())=>si(e,t),pi=qe([Le,ht],()=>js);qe([Le],()=>Gs);qe([Le],()=>Fs);qe([Le],()=>Ws);qe([Le,ht],()=>zs);function Kn(e,t){xn(e,t)}function Vs(e){ci({fallbackLocale:"en"}),Le.set(e)}const Jn={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"}},Zs=(e,t)=>`${e+qs[t]}`,Ys=(e,t)=>`${Qs[t]}.${di[e]}.text`,Xs=e=>`${di[`${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"},Qs={Deposit:"deposit",Withdraw:"withdrawal"},di={Success:"success",Voided:"success",Rejected:"reject",Failed:"fail",Canceled:"cancel",PendingNotification:"pending",PendingConfirmation:"pending",PendingApprovalStage1:"pending",PendingApprovalStage3:"pending",PendingApprovalStage2:"pending",PendingOfflineNotification:"pending"};var mi={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(jr,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+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,N={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(S){var _=["th","st","nd","rd"],b=S%100;return"["+S+(_[(b-20)%10]||_[b]||_[0])+"]"}},A=function(S,_,b){var y=String(S);return!y||y.length>=_?S:""+Array(_+1-y.length).join(b)+S},Y={s:A,z:function(S){var _=-S.utcOffset(),b=Math.abs(_),y=Math.floor(b/60),w=b%60;return(_<=0?"+":"-")+A(y,2,"0")+":"+A(w,2,"0")},m:function S(_,b){if(_.date()<b.date())return-S(b,_);var y=12*(b.year()-_.year())+(b.month()-_.month()),w=_.clone().add(y,f),H=b-w<0,x=_.clone().add(y+(H?-1:1),f);return+(-(y+(b-w)/(H?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}},X="en",L={};L[X]=N;var z="$isDayjsObject",pe=function(S){return S instanceof be||!(!S||!S[z])},ue=function S(_,b,y){var w;if(!_)return X;if(typeof _=="string"){var H=_.toLowerCase();L[H]&&(w=H),b&&(L[H]=b,w=H);var x=_.split("-");if(!w&&x.length>1)return S(x[0])}else{var D=_.name;L[D]=_,w=D}return!y&&w&&(X=w),w||!y&&X},q=function(S,_){if(pe(S))return S.clone();var b=typeof _=="object"?_:{};return b.date=S,b.args=arguments,new be(b)},k=Y;k.l=ue,k.i=pe,k.w=function(S,_){return q(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,H=y.utc;if(w===null)return new Date(NaN);if(k.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 D=x[2]-1||0,V=(x[7]||"0").substring(0,3);return H?new Date(Date.UTC(x[1],D,x[3]||1,x[4]||0,x[5]||0,x[6]||0,V)):new Date(x[1],D,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 k},_.isValid=function(){return this.$d.toString()!==d},_.isSame=function(b,y){var w=q(b);return this.startOf(y)<=w&&w<=this.endOf(y)},_.isAfter=function(b,y){return q(b)<this.startOf(y)},_.isBefore=function(b,y){return this.endOf(y)<q(b)},_.$g=function(b,y,w){return k.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,H=!!k.u(y)||y,x=k.p(b),D=function(fe,ne){var oe=k.w(w.$u?Date.UTC(w.$y,ne,fe):new Date(w.$y,ne,fe),w);return H?oe:oe.endOf(l)},V=function(fe,ne){return k.w(w.toDate()[fe].apply(w.toDate("s"),(H?[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 H?D(1,0):D(31,11);case f:return H?D(1,Q):D(0,Q+1);case c:var ce=this.$locale().weekStart||0,Ce=(O<ce?O+7:O)-ce;return D(H?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,H=k.p(b),x="set"+(this.$u?"UTC":""),D=(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)[H],V=H===l?this.$D+(y-this.$W):y;if(H===f||H===g){var O=this.clone().set(v,1);O.$d[D](V),O.init(),this.$d=O.set(v,Math.min(this.$D,O.daysInMonth())).$d}else D&&this.$d[D](V);return this.init(),this},_.set=function(b,y){return this.clone().$set(b,y)},_.get=function(b){return this[k.p(b)]()},_.add=function(b,y){var w,H=this;b=Number(b);var x=k.p(y),D=function(Q){var te=q(H);return k.w(te.date(te.date()+Math.round(Q*b)),H)};if(x===f)return this.set(f,this.$M+b);if(x===g)return this.set(g,this.$y+b);if(x===l)return D(1);if(x===c)return D(7);var V=(w={},w[a]=r,w[u]=i,w[s]=n,w)[x]||1,O=this.$d.getTime()+b*V;return k.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 H=b||"YYYY-MM-DDTHH:mm:ssZ",x=k.z(this),D=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,H))||me[oe].slice(0,_e)},Ce=function(ne){return k.s(D%12||12,ne,"0")},fe=de||function(ne,oe,me){var _e=ne<12?"AM":"PM";return me?_e.toLowerCase():_e};return H.replace(I,function(ne,oe){return oe||function(me){switch(me){case"YY":return String(y.$y).slice(-2);case"YYYY":return k.s(y.$y,4,"0");case"M":return O+1;case"MM":return k.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 k.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(D);case"HH":return k.s(D,2,"0");case"h":return Ce(1);case"hh":return Ce(2);case"a":return fe(D,V,!0);case"A":return fe(D,V,!1);case"m":return String(V);case"mm":return k.s(V,2,"0");case"s":return String(y.$s);case"ss":return k.s(y.$s,2,"0");case"SSS":return k.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 H,x=this,D=k.p(y),V=q(b),O=(V.utcOffset()-this.utcOffset())*r,Q=this-V,te=function(){return k.m(x,V)};switch(D){case g:H=te()/12;break;case f:H=te();break;case m:H=te()/3;break;case c:H=(Q-O)/6048e5;break;case l:H=(Q-O)/864e5;break;case u:H=Q/i;break;case a:H=Q/r;break;case s:H=Q/n;break;default:H=Q}return w?H:k.a(H)},_.daysInMonth=function(){return this.endOf(f).$D},_.$locale=function(){return L[this.$L]},_.locale=function(b,y){if(!b)return this.$L;var w=this.clone(),H=ue(b,y,!0);return H&&(w.$L=H),w},_.clone=function(){return k.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 q.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])}}),q.extend=function(S,_){return S.$i||(S(_,be,q),S.$i=!0),q},q.locale=ue,q.isDayjs=pe,q.unix=function(S){return q(1e3*S)},q.en=L[X],q.Ls=L,q.p={},q})})(mi);var Ks=mi.exports;const Rt=_n(Ks);var gi={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(jr,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 I=this.$utils().u;if(I(d))return this.$u?0:I(this.$offset)?f.call(this):this.$offset;if(typeof d=="string"&&(d=function(X){X===void 0&&(X="");var L=X.match(r);if(!L)return null;var z=(""+L[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,A=this;if(B)return A.$offset=N,A.$u=d===0,A;if(d!==0){var Y=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(A=this.local().add(N+Y,n)).$offset=N,A.$x.$localOffset=Y}else A=this.utc();return A};var m=u.format;u.format=function(d){var B=d||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,B)},u.valueOf=function(){var d=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*d},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var g=u.toDate;u.toDate=function(d){return d==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var v=u.diff;u.diff=function(d,B,I){if(d&&this.$u===d.$u)return v.call(this,d,B,I);var N=this.local(),A=a(d).local();return v.call(N,A,B,I)}}})})(gi);var Js=gi.exports;const ea=_n(Js);/*! *****************************************************************************
|
|
8
|
+
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Ts={fallbackLocale:null,loadingDelay:200,formats:ws,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},rt=Ts;function Xe(){return rt}function ci(e){const t=e,{formats:n}=t,r=_s(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{oi.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=xs: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 Ss=Object.defineProperty,Es=Object.defineProperties,Hs=Object.getOwnPropertyDescriptors,Yn=Object.getOwnPropertySymbols,Ms=Object.prototype.hasOwnProperty,Bs=Object.prototype.propertyIsEnumerable,Xn=(e,t,n)=>t in e?Ss(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ps=(e,t)=>{for(var n in t||(t={}))Ms.call(t,n)&&Xn(e,n,t[n]);if(Yn)for(var n of Yn(t))Bs.call(t,n)&&Xn(e,n,t[n]);return e},ks=(e,t)=>Es(e,Hs(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 As=e=>{if(e&&ms(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),li(e).then(()=>{Lt.set(e)}).finally(()=>{clearTimeout(n),Kt.set(!1)})}return Lt.set(e)},Ie=ks(Ps({},Lt),{set:As}),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 Is=Object.defineProperty,Ot=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,Kn=(e,t,n)=>t in e?Is(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tn=(e,t)=>{for(var n in t||(t={}))fi.call(t,n)&&Kn(e,n,t[n]);if(Ot)for(var n of Ot(t))hi.call(t,n)&&Kn(e,n,t[n]);return e},Ke=(e,t)=>{var n={};for(var r in e)fi.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&&hi.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.`)},Ls=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)}),Os=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)}),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 time values');return r?i=ct("time",r):Object.keys(i).length===0&&(i=ct("time","short")),new Intl.DateTimeFormat(n,i)}),Ds=(e={})=>{var t=e,{locale:n=Ae()}=t,r=Ke(t,["locale"]);return Ls(Tn({locale:n},r))},$s=(e={})=>{var t=e,{locale:n=Ae()}=t,r=Ke(t,["locale"]);return Os(Tn({locale:n},r))},Ns=(e={})=>{var t=e,{locale:n=Ae()}=t,r=Ke(t,["locale"]);return Rs(Tn({locale:n},r))},Us=jt((e,t=Ae())=>new oi(e,t,Xe().formats,{ignoreTag:Xe().ignoreTag})),js=(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=si(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=Us(c,u).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return f},Gs=(e,t)=>Ns(t).format(e),Fs=(e,t)=>$s(t).format(e),zs=(e,t)=>Ds(t).format(e),Ws=(e,t=Ae())=>si(e,t),pi=qe([Ie,ht],()=>js);qe([Ie],()=>Gs);qe([Ie],()=>Fs);qe([Ie],()=>zs);qe([Ie,ht],()=>Ws);function Qn(e,t){xn(e,t)}function Vs(e){ci({fallbackLocale:"en"}),Ie.set(e)}const Jn={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ç"}},Zs=(e,t)=>`${e+qs[t]}`,Ys=(e,t)=>`${Ks[t]}.${di[e]}.text`,Xs=e=>`${di[`${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"},Ks={Deposit:"deposit",Withdraw:"withdrawal"},di={Success:"success",Voided:"success",Rejected:"reject",Failed:"fail",Canceled:"cancel",PendingNotification:"pending",PendingConfirmation:"pending",PendingApprovalStage1:"pending",PendingApprovalStage3:"pending",PendingApprovalStage2:"pending",PendingOfflineNotification:"pending"};var mi={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(jr,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}},X="en",I={};I[X]=N;var W="$isDayjsObject",pe=function(S){return S instanceof be||!(!S||!S[W])},ue=function S(_,b,y){var w;if(!_)return X;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 D=_.name;I[D]=_,w=D}return!y&&w&&(X=w),w||!y&&X},q=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 q(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 D=x[2]-1||0,V=(x[7]||"0").substring(0,3);return M?new Date(Date.UTC(x[1],D,x[3]||1,x[4]||0,x[5]||0,x[6]||0,V)):new Date(x[1],D,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=q(b);return this.startOf(y)<=w&&w<=this.endOf(y)},_.isAfter=function(b,y){return q(b)<this.startOf(y)},_.isBefore=function(b,y){return this.endOf(y)<q(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),D=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,K=this.$M,te=this.$D,de="set"+(this.$u?"UTC":"");switch(x){case g:return M?D(1,0):D(31,11);case f:return M?D(1,K):D(0,K+1);case c:var ce=this.$locale().weekStart||0,Ce=(O<ce?O+7:O)-ce;return D(M?te-Ce:te+(6-Ce),K);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":""),D=(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[D](V),O.init(),this.$d=O.set(v,Math.min(this.$D,O.daysInMonth())).$d}else D&&this.$d[D](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),D=function(K){var te=q(M);return L.w(te.date(te.date()+Math.round(K*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 D(1);if(x===c)return D(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),D=this.$H,V=this.$m,O=this.$M,K=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(D%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,K,2);case"ddd":return ce(w.weekdaysShort,y.$W,K,3);case"dddd":return K[y.$W];case"H":return String(D);case"HH":return L.s(D,2,"0");case"h":return Ce(1);case"hh":return Ce(2);case"a":return fe(D,V,!0);case"A":return fe(D,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,D=L.p(y),V=q(b),O=(V.utcOffset()-this.utcOffset())*r,K=this-V,te=function(){return L.m(x,V)};switch(D){case g:M=te()/12;break;case f:M=te();break;case m:M=te()/3;break;case c:M=(K-O)/6048e5;break;case l:M=(K-O)/864e5;break;case u:M=K/i;break;case a:M=K/r;break;case s:M=K/n;break;default:M=K}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 q.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])}}),q.extend=function(S,_){return S.$i||(S(_,be,q),S.$i=!0),q},q.locale=ue,q.isDayjs=pe,q.unix=function(S){return q(1e3*S)},q.en=I[X],q.Ls=I,q.p={},q})})(mi);var Qs=mi.exports;const Rt=_n(Qs);var gi={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(jr,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(X){X===void 0&&(X="");var I=X.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)}}})})(gi);var Js=gi.exports;const ea=_n(Js);/*! *****************************************************************************
|
|
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
|
|
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 bi(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=bi(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(Me(c))try{c()}catch(d){o=d instanceof Kt?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{er(v)}catch(d){o=o!=null?o:[],d instanceof Kt?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 Kt(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)er(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}(),yi=Gt.EMPTY;function vi(e){return e instanceof Gt||e&&"closed"in e&&Me(e.remove)&&Me(e.add)&&Me(e.unsubscribe)}function er(e){Me(e)?e():e.unsubscribe()}var ta={Promise:void 0},na={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 ra(e){na.setTimeout(function(){throw e})}function tr(){}function St(e){e()}var Ci=function(e){dt(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,vi(n)&&n.add(r)):r.destination=sa,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),ia=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 Me(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 ia(s),o}return t}(Ci);function Ct(e){ra(e)}function oa(e){throw e}var sa={closed:!0,next:tr,error:oa,complete:tr},aa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ua(e){return e}function la(e){return e.length===0?ua:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var nr=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=fa(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=rr(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[aa]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return la(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=rr(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 rr(e){var t;return(t=e!=null?e:ta.Promise)!==null&&t!==void 0?t:Promise}function ca(e){return e&&Me(e.next)&&Me(e.error)&&Me(e.complete)}function fa(e){return e&&e instanceof Ci||ca(e)&&vi(e)}var ha=bi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),_i=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 ir(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new ha},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?yi:(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 nr;return n.source=this,n},t.create=function(n,r){return new ir(n,r)},t}(nr),ir=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:yi},t}(_i),wi={now:function(){return(wi.delegate||Date).now()},delegate:void 0},pa=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=wi);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}(_i);const or=[],sr={},da=(e,t=0)=>{if(or.indexOf(e)==-1){const n=new pa(t);sr[e]=n,or.push(e)}return sr[e]};let Et="en-UK",xi="true",it=2,ot="";const ma=(e,t,n,r)=>{Et=e||"en-UK",xi=t||"true",it=+r||0,ot=n||""},ga=(e,t,n={},r=!0)=>{const i=bt(bt({maximumFractionDigits:it,minimumFractionDigits:it},r&&{style:"currency",currency:t,currencyDisplay:xi==="true"?"symbol":"code"}),n);try{if(!ot)return new Intl.NumberFormat(Et,i).format(e);const s=new Intl.NumberFormat(Et,i).formatToParts(e),{currencyPart:a="",amountPart:u=""}=s.reduce((c,f)=>(f.type==="currency"?c.currencyPart=f:c.amountPart+=f.value,c),{currencyPart:"",amountPart:""});return 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:da};const ar=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 Ti(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Si(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 Ei(e,t,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=ba(e,t),n;window[je]||(window[je]={}),n=ya(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 ba(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(n.innerHTML=r,e.appendChild(n))})}function ya(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 ur=(e,t={})=>{const n=new CustomEvent("track-custom-event",{detail:{type:e,data:t},bubbles:!0,composed:!0});document.dispatchEvent(n)},lr={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{er(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)er(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}(),yi=Gt.EMPTY;function vi(e){return e instanceof Gt||e&&"closed"in e&&He(e.remove)&&He(e.add)&&He(e.unsubscribe)}function er(e){He(e)?e():e.unsubscribe()}var ta={Promise:void 0},na={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 ra(e){na.setTimeout(function(){throw e})}function tr(){}function St(e){e()}var Ci=function(e){dt(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,vi(n)&&n.add(r)):r.destination=sa,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),ia=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 ia(s),o}return t}(Ci);function Ct(e){ra(e)}function oa(e){throw e}var sa={closed:!0,next:tr,error:oa,complete:tr},aa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ua(e){return e}function la(e){return e.length===0?ua:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var nr=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=fa(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=rr(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[aa]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return la(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=rr(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 rr(e){var t;return(t=e!=null?e:ta.Promise)!==null&&t!==void 0?t:Promise}function ca(e){return e&&He(e.next)&&He(e.error)&&He(e.complete)}function fa(e){return e&&e instanceof Ci||ca(e)&&vi(e)}var ha=bi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),_i=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 ir(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new ha},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?yi:(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 nr;return n.source=this,n},t.create=function(n,r){return new ir(n,r)},t}(nr),ir=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:yi},t}(_i),wi={now:function(){return(wi.delegate||Date).now()},delegate:void 0},pa=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=wi);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}(_i);const or=[],sr={},da=(e,t=0)=>{if(or.indexOf(e)==-1){const n=new pa(t);sr[e]=n,or.push(e)}return sr[e]};let Et="en-UK",xi="true",it=2,ot="";const ma=(e,t,n,r)=>{Et=e||"en-UK",xi=t||"true",it=+r||0,ot=n||""},ga=(e,t,n={},r=!0)=>{const i=bt(bt({maximumFractionDigits:it,minimumFractionDigits:it},r&&{style:"currency",currency:t,currencyDisplay:xi==="true"?"symbol":"code"}),n);try{if(!ot)return new Intl.NumberFormat(Et,i).format(e);const s=new Intl.NumberFormat(Et,i).formatToParts(e),{currencyPart:a="",amountPart:u=""}=s.reduce((c,f)=>(f.type==="currency"?c.currencyPart=f:c.amountPart+=f.value,c),{currencyPart:"",amountPart:""});return 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:da};const ar=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 Ti(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Si(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 Ei(e,t,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=ba(e,t),n;window[je]||(window[je]={}),n=ya(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 ba(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(n.innerHTML=r,e.appendChild(n))})}function ya(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 ur=(e,t={})=>{const n=new CustomEvent("track-custom-event",{detail:{type:e,data:t},bubbles:!0,composed:!0});document.dispatchEvent(n)},lr={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-MziojHrh.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}function va(e){Mr(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 cr(e,t,n){const r=e.slice();return r[70]=t[n],r[72]=n,r}function fr(e,t,n){const r=e.slice();return r[73]=t[n],r}function Ca(e){let t,n,r=ar(e[25])&&e[9]&&e[22],i,o=e[23]&&hr(e),s=r&&pr(e);function a(c,f){if(c[15])return xa;if(c[19]&&!c[20])return wa}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=hr(c),o.c(),Pt(o,1),o.m(t.parentNode,t)):o&&(Lr(),Or(o,1,1,()=>{o=null}),kr()),f[0]&4194816&&(r=ar(c[25])&&c[9]&&c[22]),r?s?s.p(c,f):(s=pr(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&&(M(t),M(n)),o&&o.d(c),s&&s.d(),l&&l.d()}}}function _a(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&&M(t)}}}function hr(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")+"")&&W(r,n)},i(a){s||(a&&ze(()=>{s&&(o&&o.end(1),i=Qi(t,Dn,{duration:100}),i.start())}),s=!0)},o(a){i&&i.invalidate(),a&&(o=Ki(t,Dn,{duration:1e3})),s=!1},d(a){a&&M(t),a&&o&&o.end()}}}function pr(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&&M(t)}}}function wa(e){let t,n=e[19]===e[13].Maintenance&&dr(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=dr(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&&M(t),n&&n.d()}}}function xa(e){let t,n,r,i,o,s=e[24]("amount")+"",a,u,l,c,f,m,g,v=e[24]("status")+"",d,B,I,N=e[24](`${e[21]}`)+"",A,Y,X,L,z,pe=e[24]("transactionId")+"",ue,q,k,be=e[15].referenceId+"",Se,S,_,b,y=e[24]("payemntMethod")+"",w,H,x,D,V,O,Q,te=e[24]("paymentTime")+"",de,ce,Ce,fe=Rt(e[15].time).format("MMM DD, YYYY, HH:mm:ss")+"",ne,oe,me,_e,Ee,Ke,ke,Oe,Je;function et(E,U){if(E[21]==="success")return Ea;if(E[21]==="pending")return Sa;if(E[21]==="failed"||E[21]==="rejected"||E[21]==="canceled")return Ta}let xe=et(e),se=xe&&xe(e),ae=e[12].length>0&&mr(e);function mt(E,U){return E[15].type?Ha:Ma}let Re=mt(e),ye=Re(e),le=e[16].length&&br(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(),I=T("span"),A=j(N),X=G(),L=T("div"),z=T("p"),ue=j(pe),q=G(),k=T("span"),Se=j(be),S=G(),_=T("div"),b=T("p"),w=j(y),H=G(),x=T("span"),D=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(),Ke=G(),le&&le.c(),ke=Dt(),h(t,"class","ReceiptStatusWrapper"),h(i,"class","Amount"),h(m,"class",Y=`Status ${e[21]}`),h(k,"class","TxnIdText"),h(L,"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,I),C(I,A),C(r,X),C(r,L),C(L,z),C(z,ue),C(L,q),C(L,k),C(k,Se),C(r,S),C(r,_),C(_,b),C(b,w),C(_,H),C(_,x),C(x,D),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,Ke,U),le&&le.m(E,U),P(E,ke,U),Oe||(Je=[We(k,"click",e[45]),We(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")+"")&&W(a,s),U[0]&131072&&W(c,E[17]),U[0]&16777216&&v!==(v=E[24]("status")+"")&&W(d,v),U[0]&18874368&&N!==(N=E[24](`${E[21]}`)+"")&&W(A,N),U[0]&2097152&&Y!==(Y=`Status ${E[21]}`)&&h(m,"class",Y),U[0]&16777216&&pe!==(pe=E[24]("transactionId")+"")&&W(ue,pe),U[0]&32768&&be!==(be=E[15].referenceId+"")&&W(Se,be),U[0]&16777216&&y!==(y=E[24]("payemntMethod")+"")&&W(w,y),U[0]&1&&W(D,E[0]),U[0]&16777216&&te!==(te=E[24]("paymentTime")+"")&&W(de,te),U[0]&32768&&fe!==(fe=Rt(E[15].time).format("MMM DD, YYYY, HH:mm:ss")+"")&&W(ne,fe),E[12].length>0?ae?ae.p(E,U):(ae=mr(E),ae.c(),ae.m(me,null)):ae&&(ae.d(1),ae=null),Re===(Re=mt(E))&&ye?ye.p(E,U):(ye.d(1),ye=Re(E),ye&&(ye.c(),ye.m(Ee,null))),E[16].length?le?le.p(E,U):(le=br(E),le.c(),le.m(ke.parentNode,ke)):le&&(le.d(1),le=null)},d(E){E&&(M(t),M(n),M(r),M(oe),M(me),M(_e),M(Ee),M(Ke),M(ke)),se&&se.d(),ae&&ae.d(),ye.d(),le&&le.d(E),Oe=!1,Ae(Je)}}}function dr(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")+"")&&W(o,i),f[0]&16777216&&u!==(u=c[24]("receipt.maintenance.text")+"")&&W(l,u)},d(c){c&&(M(t),M(n),M(r),M(s),M(a))}}}function Ta(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`)+"")&&W(l,u),d[0]&16809984&&m!==(m=v[24](`${v[15].type.toLowerCase()}.fail.text`)+"")&&W(g,m)},d(v){v&&(M(t),M(o),M(s))}}}function Sa(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,I,N=e[24]("refreshButton")+"",A,Y,X;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(),I=T("button"),A=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(I,"class","RefreshButton")},m(L,z){P(L,t,z),C(t,n),C(t,r),C(t,i),C(t,o),C(t,s),P(L,a,z),P(L,u,z),C(u,l),C(l,f),C(u,m),C(u,g),C(g,d),P(L,B,z),P(L,I,z),C(I,A),Y||(X=We(I,"click",e[27]),Y=!0)},p(L,z){z[0]&16809984&&c!==(c=L[24](`${L[15].type.toLowerCase()}.pending.title`)+"")&&W(f,c),z[0]&16809984&&v!==(v=L[24](`${L[15].type.toLowerCase()}.pending.text`)+"")&&W(d,v),z[0]&16777216&&N!==(N=L[24]("refreshButton")+"")&&W(A,N)},d(L){L&&(M(t),M(a),M(u),M(B),M(I)),Y=!1,X()}}}function Ea(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`)+"")&&W(u,a),v[0]&16809984&&f!==(f=g[24](`${g[15].type.toLowerCase()}.success.text`)+"")&&W(m,f)},d(g){g&&(M(t),M(i),M(o))}}}function mr(e){let t,n=At(e[12]),r=[];for(let i=0;i<n.length;i+=1)r[i]=gr(fr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=Dt()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);P(i,t,o)},p(i,o){if(o[0]&285216768){n=At(i[12]);let s;for(s=0;s<n.length;s+=1){const a=fr(i,n,s);r[s]?r[s].p(a,o):(r[s]=gr(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&&M(t),Br(r,i)}}}function gr(e){var m;let t,n,r=((m=lr[`${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=We(t,"click",f),l=!0)},p(g,v){var d;e=g,v[0]&4096&&r!==(r=((d=lr[`${e[73].type}`])!=null?d:"")+"")&&(n.innerHTML=r),v[0]&16781312&&o!==(o=e[24](`${e[73].translationKey}`)+"")&&W(s,o),v[0]&4096&&u!==(u=`${e[73].type} GoToButton`)&&h(t,"class",u)},d(g){g&&M(t),l=!1,c()}}}function Ma(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")+"")&&W(n,t)},d(r){r&&M(n)}}}function Ha(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}`)+"")&&W(n,t)},d(r){r&&M(n)}}}function br(e){let t,n=At(e[16]),r=[];for(let i=0;i<n.length;i+=1)r[i]=yr(cr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=Dt()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);P(i,t,o)},p(i,o){if(o[0]&537214976){n=At(i[16]);let s;for(s=0;s<n.length;s+=1){const a=cr(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&&M(t),Br(r,i)}}}function Ba(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+"")&&W(r,n)},d(i){i&&M(t)}}}function Pa(e){return{c:ie,m:ie,p:ie,d:ie}}function Aa(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+"")&&W(r,n),c[0]&65536&&s!==(s=l[70].name+"")&&W(a,s),c[0]&65536&&u!==(u=l[70].defaultValue)&&h(o,"href",u)},d(l){l&&M(t)}}}function Ia(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&&M(t)}}}function La(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&&M(t)}}}function ka(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=We(t,"click",a),o=!0)},p(u,l){e=u,l[0]&65536&&r!==(r=e[70].defaultValue+"")&&W(i,r)},d(u){u&&M(t),e[47](null),o=!1,s()}}}function yr(e){let t,n;function r(s,a){return s[70].type===s[14].QRCode?ka:s[70].type===s[14].Html?La:s[70].type===s[14].Image?Ia:s[70].type===s[14].Link?Aa:s[70].type===s[14].Hidden?Pa:Ba}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&&M(t),o.d()}}}function Oa(e){let t;function n(o,s){return o[11]?_a:Ca}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&&M(t),i.d(),e[49](null)}}}let Ra="_blank";function Da(e,t,n){let r;_r(e,pi,p=>n(24,r=p)),Rt.extend(ea);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:I=""}=t,{showverifications:N="true"}=t,{paymentmethod:A=""}=t,Y=!1,X,{customsucceessbuttons:L=""}=t,{custompendingbuttons:z=""}=t,{customfailedbuttons:pe=""}=t,{currencysymbol:ue=""}=t,{currencyposition:q=""}=t,{userroles:k=""}=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(K=>[K,we])]:[[re,we]]],H=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,D=[],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=()=>{Vs(s)};Ar(()=>(window.addEventListener("message",_e,!1),ma(a,ue,q,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=>{Kn(we,re[we])})}).catch(()=>{})};Object.keys(Jn).forEach(p=>{Kn(p,Jn[p])});const Ke=()=>{window.postMessage({type:"CloseCashierReceiptPage"},window.location.href)},ke=()=>{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",Rt.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(K=>K.json()).then(K=>{var gt,Sn,En,Mn,Hn,Bn,Pn,An,In;if(K.ResponseCode!==b.Success){n(19,te=K.ResponseCode),n(20,de=u.toLowerCase()==="false"||!u),ke();return}switch(n(15,x={type:K.Transaction.Type,referenceId:K.Transaction.Code,status:(gt=K.Transaction.Status)==null?void 0:gt.Status,message:(Sn=K.Transaction.Status)==null?void 0:Sn.Message,amount:(En=K.Transaction.Amounts[0])==null?void 0:En.Amount,currency:(Mn=K.Transaction.Amounts[0])==null?void 0:Mn.Currency,time:K.Transaction.Status.Created}),n(16,D=K.ReceiptInfo&&K.ReceiptInfo.ReceiptFields?K.ReceiptInfo.ReceiptFields.map(He=>({type:H.get(He.Type),name:He.Name,description:He.Description,defaultValue:He.DefaultValue,useCopyButton:He.UseCopyButton,usePrintButton:He.UsePrintButton})):[]),K.ReceiptInfo&&K.ReceiptInfo.ReceiptFields&&!A&&n(0,A=D[0].defaultValue),r(Ys(x.status,x.type),{values:{errorText:x.message}}),n(17,V=ga(Number(x.amount),x.currency)),x.status){case"Voided":case"Success":if(oe(L||"casino, livecasino, tournaments"),n(21,ce="success"),x.type==="Deposit"){const He=(Bn=(Hn=K.Transaction)==null?void 0:Hn.Flags)==null?void 0:Bn.NewDepositCustomer,De=(Pn=K==null?void 0:K.Transaction)==null?void 0:Pn.Payloads;window.postMessage({type:He==="True"?"FirstDeposit":"ConfirmedDeposit",method:A,amount:x.amount,currency:x.currency,depositType:(An=De==null?void 0:De.TagManagerDepositType)!=null?An:"",publicPaymentId:(In=De==null?void 0:De.TagManagerCode)!=null?In:""},window.location.href)}ur(x.type==="Deposit"?"deposit_success":"withdrawal_success",{userID:f,amount:x.amount,currency:x.currency,failureReason:x.message});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()),ur(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?Zs(c,x.status):Xs(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:Ra,externalLink:!1},window.location.href)};let xe,se;const ae=(p,re=!0)=>Wt(this,null,function*(){const K=p.currentTarget.innerHTML;if(K&&navigator.clipboard&&navigator.clipboard.writeText)try{yield navigator.clipboard.writeText(K),re&&(n(23,xe=!0),clearTimeout(se),se=setTimeout(()=>{n(23,xe=!1)},2e3))}catch(gt){console.error("Clipboard API failed:",gt)}}),mt=()=>{k.length>0&&(_=k.split(","))},Re=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,I=p.mbsource),"showverifications"in p&&n(9,N=p.showverifications),"paymentmethod"in p&&n(0,A=p.paymentmethod),"customsucceessbuttons"in p&&n(37,L=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,q=p.currencyposition),"userroles"in p&&n(42,k=p.userroles),"windowsize"in p&&n(43,be=p.windowsize),"p2p"in p&&n(44,Se=p.p2p)},e.$$.update=()=>{e.$$.dirty[1]&2048&&k&&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&&Ti(O,d),e.$$.dirty[0]&1280&&B&&O&&Si(O,B),e.$$.dirty[0]&1024|e.$$.dirty[1]&32&&I&&O&&Ei(O,`${I}.Style`,X)},[A,i,o,s,l,c,f,d,B,N,O,Y,S,b,y,x,D,V,Q,te,de,ce,fe,xe,r,Ce,Ke,Oe,Je,et,ae,a,u,m,g,v,I,L,z,pe,ue,q,k,be,Se,Re,ye,le,E,U]}class Mi extends Ur{constructor(t){super(),Dr(this,t,Da,Oa,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},va,[-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()}}Nr(Mi,{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 $a=Object.freeze(Object.defineProperty({__proto__:null,default:Mi},Symbol.toStringTag,{value:"Module"}));exports.$format=pi;exports.$locale=Le;exports.CashierReceiptPage_ce=$a;exports.SvelteComponent=Ur;exports.addMessages=xn;exports.append=C;exports.append_styles=Mr;exports.attr=h;exports.binding_callbacks=ut;exports.check_outros=kr;exports.component_subscribe=_r;exports.create_custom_element=Nr;exports.create_slot=Oi;exports.detach=M;exports.element=T;exports.empty=Dt;exports.flush=Z;exports.get_all_dirty_from_scope=$i;exports.get_slot_changes=Ri;exports.group_outros=Lr;exports.init=ci;exports.init$1=Dr;exports.insert=P;exports.listen=We;exports.onMount=Ar;exports.safe_not_equal=yn;exports.setClientStyling=Ti;exports.setClientStylingURL=Si;exports.setStreamStyling=Ei;exports.set_custom_element_data=F;exports.set_data=W;exports.space=G;exports.src_url_equal=Jt;exports.text=j;exports.transition_in=Pt;exports.transition_out=Or;exports.update_slot_base=Di;
|
|
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-BjWc1geM.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}function va(e){Hr(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 cr(e,t,n){const r=e.slice();return r[70]=t[n],r[72]=n,r}function fr(e,t,n){const r=e.slice();return r[73]=t[n],r}function Ca(e){let t,n,r=ar(e[25])&&e[9]&&e[22],i,o=e[23]&&hr(e),s=r&&pr(e);function a(c,f){if(c[15])return xa;if(c[19]&&!c[20])return wa}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=hr(c),o.c(),Pt(o,1),o.m(t.parentNode,t)):o&&(Ir(),Or(o,1,1,()=>{o=null}),Lr()),f[0]&4194816&&(r=ar(c[25])&&c[9]&&c[22]),r?s?s.p(c,f):(s=pr(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 _a(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 hr(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=Ki(t,Dn,{duration:100}),i.start())}),s=!0)},o(a){i&&i.invalidate(),a&&(o=Qi(t,Dn,{duration:1e3})),s=!1},d(a){a&&H(t),a&&o&&o.end()}}}function pr(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 wa(e){let t,n=e[19]===e[13].Maintenance&&dr(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=dr(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 xa(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,X,I,W,pe=e[24]("transactionId")+"",ue,q,L,be=e[15].referenceId+"",Se,S,_,b,y=e[24]("payemntMethod")+"",w,M,x,D,V,O,K,te=e[24]("paymentTime")+"",de,ce,Ce,fe=Rt(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 Ea;if(E[21]==="pending")return Sa;if(E[21]==="failed"||E[21]==="rejected"||E[21]==="canceled")return Ta}let xe=et(e),se=xe&&xe(e),ae=e[12].length>0&&mr(e);function mt(E,U){return E[15].type?Ma:Ha}let Re=mt(e),ye=Re(e),le=e[16].length&&br(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),X=G(),I=T("div"),W=T("p"),ue=j(pe),q=G(),L=T("span"),Se=j(be),S=G(),_=T("div"),b=T("p"),w=j(y),M=G(),x=T("span"),D=j(e[0]),V=G(),O=T("div"),K=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=Dt(),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,X),C(r,I),C(I,W),C(W,ue),C(I,q),C(I,L),C(L,Se),C(r,S),C(r,_),C(_,b),C(b,w),C(_,M),C(_,x),C(x,D),C(r,V),C(r,O),C(O,K),C(K,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(D,E[0]),U[0]&16777216&&te!==(te=E[24]("paymentTime")+"")&&z(de,te),U[0]&32768&&fe!==(fe=Rt(E[15].time).format("MMM DD, YYYY, HH:mm:ss")+"")&&z(ne,fe),E[12].length>0?ae?ae.p(E,U):(ae=mr(E),ae.c(),ae.m(me,null)):ae&&(ae.d(1),ae=null),Re===(Re=mt(E))&&ye?ye.p(E,U):(ye.d(1),ye=Re(E),ye&&(ye.c(),ye.m(Ee,null))),E[16].length?le?le.p(E,U):(le=br(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 dr(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 Ta(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 Sa(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,X;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||(X=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,X()}}}function Ea(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 mr(e){let t,n=kt(e[12]),r=[];for(let i=0;i<n.length;i+=1)r[i]=gr(fr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=Dt()},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=fr(i,n,s);r[s]?r[s].p(a,o):(r[s]=gr(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),Br(r,i)}}}function gr(e){var m;let t,n,r=((m=lr[`${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=lr[`${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 Ha(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 Ma(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 br(e){let t,n=kt(e[16]),r=[];for(let i=0;i<n.length;i+=1)r[i]=yr(cr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=Dt()},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=cr(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),Br(r,i)}}}function Ba(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 Pa(e){return{c:ie,m:ie,p:ie,d:ie}}function ka(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 Aa(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 Ia(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 La(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 yr(e){let t,n;function r(s,a){return s[70].type===s[14].QRCode?La:s[70].type===s[14].Html?Ia:s[70].type===s[14].Image?Aa:s[70].type===s[14].Link?ka:s[70].type===s[14].Hidden?Pa:Ba}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 Oa(e){let t;function n(o,s){return o[11]?_a:Ca}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 Ra="_blank";function Da(e,t,n){let r;_r(e,pi,p=>n(24,r=p)),Rt.extend(ea);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,X,{customsucceessbuttons:I=""}=t,{custompendingbuttons:W=""}=t,{customfailedbuttons:pe=""}=t,{currencysymbol:ue=""}=t,{currencyposition:q=""}=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(Q=>[Q,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,D=[],V,O,K=[],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=()=>{Vs(s)};kr(()=>(window.addEventListener("message",_e,!1),ma(a,ue,q,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=>{Qn(we,re[we])})}).catch(()=>{})};Object.keys(Jn).forEach(p=>{Qn(p,Jn[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",Rt.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(Q=>Q.json()).then(Q=>{var gt,Sn,En,Hn,Mn,Bn,Pn,kn,An;if(Q.ResponseCode!==b.Success){n(19,te=Q.ResponseCode),n(20,de=u.toLowerCase()==="false"||!u),Le();return}switch(n(15,x={type:Q.Transaction.Type,referenceId:Q.Transaction.Code,status:(gt=Q.Transaction.Status)==null?void 0:gt.Status,message:(Sn=Q.Transaction.Status)==null?void 0:Sn.Message,amount:(En=Q.Transaction.Amounts[0])==null?void 0:En.Amount,currency:(Hn=Q.Transaction.Amounts[0])==null?void 0:Hn.Currency,time:Q.Transaction.Status.Created}),n(16,D=Q.ReceiptInfo&&Q.ReceiptInfo.ReceiptFields?Q.ReceiptInfo.ReceiptFields.map(Me=>({type:M.get(Me.Type),name:Me.Name,description:Me.Description,defaultValue:Me.DefaultValue,useCopyButton:Me.UseCopyButton,usePrintButton:Me.UsePrintButton})):[]),Q.ReceiptInfo&&Q.ReceiptInfo.ReceiptFields&&!k&&n(0,k=D[0].defaultValue),r(Ys(x.status,x.type),{values:{errorText:x.message}}),n(17,V=ga(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=Q.Transaction)==null?void 0:Mn.Flags)==null?void 0:Bn.NewDepositCustomer,De=(Pn=Q==null?void 0:Q.Transaction)==null?void 0:Pn.Payloads;window.postMessage({type:Me==="True"?"FirstDeposit":"ConfirmedDeposit",method:k,amount:x.amount,currency:x.currency,depositType:(kn=De==null?void 0:De.TagManagerDepositType)!=null?kn:"",publicPaymentId:(An=De==null?void 0:De.TagManagerCode)!=null?An:""},window.location.href)}ur(x.type==="Deposit"?"deposit_success":"withdrawal_success",{userID:f,amount:x.amount,currency:x.currency,failureReason:x.message});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()),ur(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?Zs(c,x.status):Xs(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:Ra,externalLink:!1},window.location.href)};let xe,se;const ae=(p,re=!0)=>zt(this,null,function*(){const Q=p.currentTarget.innerHTML;if(Q&&navigator.clipboard&&navigator.clipboard.writeText)try{yield navigator.clipboard.writeText(Q),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(","))},Re=p=>ae(p),ye=p=>Je(p.event);function le(p){ut[p?"unshift":"push"](()=>{K[K.length]=p,n(18,K)})}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,q=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&&Ti(O,d),e.$$.dirty[0]&1280&&B&&O&&Si(O,B),e.$$.dirty[0]&1024|e.$$.dirty[1]&32&&A&&O&&Ei(O,`${A}.Style`,X)},[k,i,o,s,l,c,f,d,B,N,O,Y,S,b,y,x,D,V,K,te,de,ce,fe,xe,r,Ce,Qe,Oe,Je,et,ae,a,u,m,g,v,A,I,W,pe,ue,q,L,be,Se,Re,ye,le,E,U]}class Hi extends Ur{constructor(t){super(),Dr(this,t,Da,Oa,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},va,[-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()}}Nr(Hi,{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 $a=Object.freeze(Object.defineProperty({__proto__:null,default:Hi},Symbol.toStringTag,{value:"Module"}));exports.$format=pi;exports.$locale=Ie;exports.CashierReceiptPage_ce=$a;exports.SvelteComponent=Ur;exports.addMessages=xn;exports.append=C;exports.append_styles=Hr;exports.attr=h;exports.binding_callbacks=ut;exports.check_outros=Lr;exports.component_subscribe=_r;exports.create_custom_element=Nr;exports.create_slot=Oi;exports.detach=H;exports.element=T;exports.empty=Dt;exports.flush=Z;exports.get_all_dirty_from_scope=$i;exports.get_slot_changes=Ri;exports.group_outros=Ir;exports.init=ci;exports.init$1=Dr;exports.insert=P;exports.listen=ze;exports.onMount=kr;exports.safe_not_equal=yn;exports.setClientStyling=Ti;exports.setClientStylingURL=Si;exports.setStreamStyling=Ei;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=Or;exports.update_slot_base=Di;
|