@everymatrix/cashier-page 1.91.0 → 1.91.2
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/CashierCarousel-BofZKjRf.js +672 -0
- package/components/CashierCarousel-CNMnDNQz.js +675 -0
- package/components/CashierCarousel-DQbG4edk.cjs +1 -0
- package/components/{CashierError-GVDugzHE.js → CashierError-DJPfXVFN.js} +342 -216
- package/components/{CashierError-DnW2aAAX.js → CashierError-DUP7tACy.js} +342 -216
- package/components/CashierError-ISlGyswL.cjs +1 -0
- package/components/{CashierHeader-CqlQfyVu.js → CashierHeader-DF-2cBjK.js} +1 -1
- package/components/{CashierHeader-BUXr5k5a.js → CashierHeader-DKJVHe7h.js} +1 -1
- package/components/{CashierHeader-CGkFElKE.cjs → CashierHeader-DvFR_9go.cjs} +1 -1
- package/components/{CashierIframeRedirect-QMqpcwCG.cjs → CashierIframeRedirect-BNEVitom.cjs} +1 -1
- package/components/{CashierIframeRedirect-CapiLMF8.js → CashierIframeRedirect-DRD9axM6.js} +3 -3
- package/components/{CashierIframeRedirect-CsmTMsox.js → CashierIframeRedirect-DZ_YLJYj.js} +3 -3
- package/components/CashierMethodDetails-BZKMdu3t.cjs +85 -0
- package/components/{CashierMethodDetails-4R1nLbe5.js → CashierMethodDetails-CKIGaxi8.js} +3135 -3193
- package/components/{CashierMethodDetails-BzJz0Sq0.js → CashierMethodDetails-Deaprjr2.js} +3012 -3070
- package/components/{CashierMethodsList-B2dSWs7J.js → CashierMethodsList-Bi2J58lb.js} +338 -345
- package/components/CashierMethodsList-D80YHvjG.cjs +1 -0
- package/components/{CashierMethodsList-HTDFcAM2.js → CashierMethodsList-gnvGqv6E.js} +280 -286
- package/components/{CashierModal-CN0tT1eh.js → CashierModal-D1IV_K94.js} +14 -14
- package/components/{CashierModal-CkBko0v-.js → CashierModal-SkRBY0vF.js} +17 -17
- package/components/{CashierModal-Bz8ySIyi.cjs → CashierModal-aStI-fdB.cjs} +1 -1
- package/components/{CashierNotifications-NRK114A1.cjs → CashierNotifications-B-qpSzxF.cjs} +1 -1
- package/components/{CashierNotifications-xGwuu5BE.js → CashierNotifications-BIU_bNM2.js} +1 -1
- package/components/{CashierNotifications-DnmURttF.js → CashierNotifications-C4Zl0QXH.js} +1 -1
- package/components/CashierPage-CkcgKU-E.cjs +23 -0
- package/components/{CashierPage-D8eAeeTg.js → CashierPage-Dj7li6Lk.js} +2882 -2715
- package/components/CashierPage-yP_xx26w.js +9936 -0
- package/components/{CashierReceiptPage-D3Sdi7w-.js → CashierReceiptPage-Bp1kvPqZ.js} +483 -472
- package/components/CashierReceiptPage-C2LRGXPG.cjs +26 -0
- package/components/{CashierReceiptPage-BS0QTi7y.js → CashierReceiptPage-DIQ5NCmX.js} +510 -499
- package/components/{CashierSessionExpirationModal-Cj9H9-o6.js → CashierSessionExpirationModal-B-DtrlP7.js} +2 -2
- package/components/{CashierSessionExpirationModal-5D6mSXhf.js → CashierSessionExpirationModal-YnQFh24c.js} +2 -2
- package/components/{CashierSessionExpirationModal-Da6q5YRq.cjs → CashierSessionExpirationModal-_NLQgrzL.cjs} +1 -1
- package/components/{CashierSpinner-BHN2tG4f.js → CashierSpinner-BCzuIyuu.js} +2 -2
- package/components/{CashierSpinner-D04XM1jR.js → CashierSpinner-BOQbmF2h.js} +2 -2
- package/components/{CashierSpinner-7mXjeifk.cjs → CashierSpinner-Dn0kfQ_K.cjs} +1 -1
- package/components/{CashierStepUp-hf-Itlb6.js → CashierStepUp-Bpqm3i57.js} +154 -154
- package/components/CashierStepUp-CpCirwQD.cjs +1 -0
- package/components/{CashierStepUp-CnW7UvRG.js → CashierStepUp-D79Gj8_o.js} +159 -159
- package/components/{CashierTransactionHistory-YWwiRGJs.js → CashierTransactionHistory-CeuEInba.js} +5 -5
- package/components/{CashierTransactionHistory-Nv32sGAu.cjs → CashierTransactionHistory-DkzZ_zMy.cjs} +1 -1
- package/components/{CashierTransactionHistory-bh1Q8Faa.js → CashierTransactionHistory-qJMjtAww.js} +5 -5
- package/components/{CashierVerifications-ByZEjDnF.js → CashierVerifications-BUvupwqw.js} +28 -28
- package/components/{CashierVerifications-BCkZLXmV.js → CashierVerifications-D954Dcmi.js} +29 -29
- package/components/CashierVerifications-DcShCh6T.cjs +1 -0
- package/components/{TxnStatusIcon-B0FD-Tlp.cjs → TxnStatusIcon-CP7WnbND.cjs} +1 -1
- package/components/{TxnStatusIcon-BLfcIuFx.js → TxnStatusIcon-DRjPEMAm.js} +1 -1
- package/components/{TxnStatusIcon-Bxy-vPn9.js → TxnStatusIcon-j6u7C3Y3.js} +1 -1
- package/components/{TxnTypeIcons-HG3_RpnO.cjs → TxnTypeIcons-BnhR_qpa.cjs} +1 -1
- package/components/{TxnTypeIcons-D3CY569A.js → TxnTypeIcons-euzGvJDK.js} +1 -1
- package/components/{TxnTypeIcons-rCf7ZZNL.js → TxnTypeIcons-ggzXXvn_.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +2 -2
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-DlE4b6HZ.js +0 -674
- package/components/CashierCarousel-EnoYVdXI.js +0 -671
- package/components/CashierCarousel-zKCUYR34.cjs +0 -1
- package/components/CashierError-DhBoZcJ7.cjs +0 -1
- package/components/CashierMethodDetails-BB3kQBHg.cjs +0 -85
- package/components/CashierMethodsList-CAhMX-rt.cjs +0 -1
- package/components/CashierPage-Db1WM6lI.cjs +0 -23
- package/components/CashierPage-hApMSijm.js +0 -9769
- package/components/CashierReceiptPage-C9IeXugN.cjs +0 -28
- package/components/CashierStepUp-CfqAbEGH.cjs +0 -1
- package/components/CashierVerifications-BtKAhLAo.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a7 as Cn, a as vn, i as Mn, $ as Ln, S as Rn, b as On, s as kn, f as J, c as Nn, e as Le, t as xe, g as be, a8 as un, a9 as fn, k as Re, m as R, p as Ut, M as Ht, N as Dn, q as In, aa as Pn, d as $e, F as Un, ab as Bt, H as zt, v as We, u as et, h as tt, j as nt, o as u, l as p, G as Hn, z as Ze, P as se, n as ye, w as Ye, Q as Ft, x as Gt, r as Bn, y as Wt, J as Yt, A as zn, B as Fn } from "./CashierPage-
|
|
2
|
-
import { s as Gn, a as Wn, b as Yn } from "./CashierHeader-
|
|
1
|
+
import { a7 as Cn, a as vn, i as Mn, $ as Ln, S as Rn, b as On, s as kn, f as J, c as Nn, e as Le, t as xe, g as be, a8 as un, a9 as fn, k as Re, m as R, p as Ut, M as Ht, N as Dn, q as In, aa as Pn, d as $e, F as Un, ab as Bt, H as zt, v as We, u as et, h as tt, j as nt, o as u, l as p, G as Hn, z as Ze, P as se, n as ye, w as Ye, Q as Ft, x as Gt, r as Bn, y as Wt, J as Yt, A as zn, B as Fn } from "./CashierPage-Dj7li6Lk.js";
|
|
2
|
+
import { s as Gn, a as Wn, b as Yn } from "./CashierHeader-DKJVHe7h.js";
|
|
3
3
|
function jt(n, { delay: t = 0, duration: o = 400, easing: i = Cn } = {}) {
|
|
4
4
|
const r = +getComputedStyle(n).opacity;
|
|
5
5
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a7 as Cn, a as vn, i as Mn, $ as Ln, S as Rn, b as On, s as kn, f as J, d as Nn, g as Le, t as xe, h as be, a8 as un, a9 as fn, l as Re, n as R, q as Ut, M as Ht, N as Dn, r as In, aa as Pn, e as $e, F as Un, ab as Bt, H as zt, w as We, u as et, j as tt, k as nt, p as u, m as p, G as Hn, A as Ze, P as se, o as ye, x as Ye, Q as Ft, y as Gt, v as Bn, z as Wt, J as Yt, c as zn, B as Fn } from "./CashierPage-
|
|
2
|
-
import { s as Gn, a as Wn, b as Yn } from "./CashierHeader-
|
|
1
|
+
import { a7 as Cn, a as vn, i as Mn, $ as Ln, S as Rn, b as On, s as kn, f as J, d as Nn, g as Le, t as xe, h as be, a8 as un, a9 as fn, l as Re, n as R, q as Ut, M as Ht, N as Dn, r as In, aa as Pn, e as $e, F as Un, ab as Bt, H as zt, w as We, u as et, j as tt, k as nt, p as u, m as p, G as Hn, A as Ze, P as se, o as ye, x as Ye, Q as Ft, y as Gt, v as Bn, z as Wt, J as Yt, c as zn, B as Fn } from "./CashierPage-yP_xx26w.js";
|
|
2
|
+
import { s as Gn, a as Wn, b as Yn } from "./CashierHeader-DF-2cBjK.js";
|
|
3
3
|
function jt(n, { delay: t = 0, duration: o = 400, easing: i = Cn } = {}) {
|
|
4
4
|
const r = +getComputedStyle(n).opacity;
|
|
5
5
|
return {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./CashierPage-Db1WM6lI.cjs"),Ve=require("./CashierHeader-CGkFElKE.cjs");function $e(i,{delay:n=0,duration:o=400,easing:r=e.identity}={}){const a=+getComputedStyle(i).opacity;return{delay:n,duration:o,easing:r,css:f=>`opacity: ${f*a}`}}function St(i,n){e.addMessages(i,n)}function en(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const At={en:{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"Continue session",sessionExpirationLoadingButton:"Processing...",sessionExpirationEnd:"End session"},tr:{sessionExpirationHeader:"Oturum Uyarısı",sessionExpirationTitle:"Oturumunuzun süresi dolmak üzere!",sessionExpirationGeneralText:"Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",sessionExpirationGeneralButton:"DEVAM ET",sessionExpirationLoadingButton:"İŞLEME...",sessionExpirationEnd:"Oturumu sonlandır"},fr:{sessionExpirationHeader:"Avertissement de session",sessionExpirationTitle:"Votre session est sur le point d’expirer !",sessionExpirationGeneralText:"Votre session se terminera automatiquement dans <b>{second} secondes</b>.",sessionExpirationGeneralButton:"Continuer la session",sessionExpirationLoadingButton:"Traitement en cours...",sessionExpirationEnd:"Terminer la session"}};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:zt,setPrototypeOf:xt,isFrozen:tn,getPrototypeOf:nn,getOwnPropertyDescriptor:on}=Object;let{freeze:U,seal:Q,create:Ft}=Object,{apply:et,construct:tt}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});Q||(Q=function(n){return n});et||(et=function(n,o,r){return n.apply(o,r)});tt||(tt=function(n,o){return new n(...o)});const Be=V(Array.prototype.forEach),Ct=V(Array.prototype.pop),Le=V(Array.prototype.push),Fe=V(String.prototype.toLowerCase),qe=V(String.prototype.toString),vt=V(String.prototype.match),Re=V(String.prototype.replace),rn=V(String.prototype.indexOf),sn=V(String.prototype.trim),ne=V(Object.prototype.hasOwnProperty),P=V(RegExp.prototype.test),Oe=an(TypeError);function V(i){return function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];return et(i,n,r)}}function an(i){return function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return tt(i,o)}}function m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fe;xt&&xt(i,null);let r=n.length;for(;r--;){let a=n[r];if(typeof a=="string"){const f=o(a);f!==a&&(tn(n)||(n[r]=f),a=f)}i[a]=!0}return i}function ln(i){for(let n=0;n<i.length;n++)ne(i,n)||(i[n]=null);return i}function be(i){const n=Ft(null);for(const[o,r]of zt(i))ne(i,o)&&(Array.isArray(r)?n[o]=ln(r):r&&typeof r=="object"&&r.constructor===Object?n[o]=be(r):n[o]=r);return n}function ke(i,n){for(;i!==null;){const r=on(i,n);if(r){if(r.get)return V(r.get);if(typeof r.value=="function")return V(r.value)}i=nn(i)}function o(){return null}return o}const Mt=U(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ze=U(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Je=U(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),cn=U(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ke=U(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),un=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Lt=U(["#text"]),Rt=U(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qe=U(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ot=U(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ze=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fn=Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),pn=Q(/<%[\w\W]*|[\w\W]*%>/gm),mn=Q(/\${[\w\W]*}/gm),dn=Q(/^data-[\-\w.\u00B7-\uFFFF]/),hn=Q(/^aria-[\-\w]+$/),Gt=Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_n=Q(/^(?:\w+script|data):/i),gn=Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wt=Q(/^html$/i),En=Q(/^[a-z][.\w]*(-[.\w]+)+$/i);var kt=Object.freeze({__proto__:null,MUSTACHE_EXPR:fn,ERB_EXPR:pn,TMPLIT_EXPR:mn,DATA_ATTR:dn,ARIA_ATTR:hn,IS_ALLOWED_URI:Gt,IS_SCRIPT_OR_DATA:_n,ATTR_WHITESPACE:gn,DOCTYPE_NAME:Wt,CUSTOM_ELEMENT:En});const Ne={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window=="undefined"?null:window},yn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const a="data-tt-policy-suffix";o&&o.hasAttribute(a)&&(r=o.getAttribute(a));const f="dompurify"+(r?"#"+r:"");try{return n.createPolicy(f,{createHTML(_){return _},createScriptURL(_){return _}})}catch(_){return console.warn("TrustedTypes policy "+f+" could not be created."),null}};function Yt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=u=>Yt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==Ne.document)return n.isSupported=!1,n;let{document:o}=i;const r=o,a=r.currentScript,{DocumentFragment:f,HTMLTemplateElement:_,Node:w,Element:T,NodeFilter:g,NamedNodeMap:Y=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:Te,trustedTypes:H}=i,B=T.prototype,_e=ke(B,"cloneNode"),ie=ke(B,"remove"),z=ke(B,"nextSibling"),ue=ke(B,"childNodes"),q=ke(B,"parentNode");if(typeof _=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let h,S="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:fe,getElementsByTagName:F}=o,{importNode:te}=r;let C={};n.isSupported=typeof zt=="function"&&typeof q=="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:re,ERB_EXPR:j,TMPLIT_EXPR:pe,DATA_ATTR:Z,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:ye}=kt;let{IS_ALLOWED_URI:X}=kt,p=null;const ge=m({},[...Mt,...Ze,...Je,...Ke,...Lt]);let A=null;const Ee=m({},[...Rt,...Qe,...Ot,...ze]);let E=Object.seal(Ft(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),v=null,l=null,d=!0,D=!0,M=!1,G=!0,me=!1,K=!0,se=!1,b=!1,x=!1,ae=!1,De=!1,Ie=!1,nt=!0,it=!1;const Xt="user-content-";let Ge=!0,Ce=!1,we={},Se=null;const ot=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let rt=null;const st=m({},["audio","video","img","source","image","track"]);let We=null;const at=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pe="http://www.w3.org/1998/Math/MathML",Ue="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml";let Ae=de,Ye=!1,je=null;const Vt=m({},[Pe,Ue,de],qe);let ve=null;const qt=["application/xhtml+xml","text/html"],Zt="text/html";let L=null,xe=null;const Jt=o.createElement("form"),lt=function(t){return t instanceof RegExp||t instanceof Function},Xe=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xe&&xe===t)){if((!t||typeof t!="object")&&(t={}),t=be(t),ve=qt.indexOf(t.PARSER_MEDIA_TYPE)===-1?Zt:t.PARSER_MEDIA_TYPE,L=ve==="application/xhtml+xml"?qe:Fe,p=ne(t,"ALLOWED_TAGS")?m({},t.ALLOWED_TAGS,L):ge,A=ne(t,"ALLOWED_ATTR")?m({},t.ALLOWED_ATTR,L):Ee,je=ne(t,"ALLOWED_NAMESPACES")?m({},t.ALLOWED_NAMESPACES,qe):Vt,We=ne(t,"ADD_URI_SAFE_ATTR")?m(be(at),t.ADD_URI_SAFE_ATTR,L):at,rt=ne(t,"ADD_DATA_URI_TAGS")?m(be(st),t.ADD_DATA_URI_TAGS,L):st,Se=ne(t,"FORBID_CONTENTS")?m({},t.FORBID_CONTENTS,L):ot,v=ne(t,"FORBID_TAGS")?m({},t.FORBID_TAGS,L):{},l=ne(t,"FORBID_ATTR")?m({},t.FORBID_ATTR,L):{},we=ne(t,"USE_PROFILES")?t.USE_PROFILES:!1,d=t.ALLOW_ARIA_ATTR!==!1,D=t.ALLOW_DATA_ATTR!==!1,M=t.ALLOW_UNKNOWN_PROTOCOLS||!1,G=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=t.SAFE_FOR_TEMPLATES||!1,K=t.SAFE_FOR_XML!==!1,se=t.WHOLE_DOCUMENT||!1,ae=t.RETURN_DOM||!1,De=t.RETURN_DOM_FRAGMENT||!1,Ie=t.RETURN_TRUSTED_TYPE||!1,x=t.FORCE_BODY||!1,nt=t.SANITIZE_DOM!==!1,it=t.SANITIZE_NAMED_PROPS||!1,Ge=t.KEEP_CONTENT!==!1,Ce=t.IN_PLACE||!1,X=t.ALLOWED_URI_REGEXP||Gt,Ae=t.NAMESPACE||de,E=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&<(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(E.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&<(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(E.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(E.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me&&(D=!1),De&&(ae=!0),we&&(p=m({},Lt),A=[],we.html===!0&&(m(p,Mt),m(A,Rt)),we.svg===!0&&(m(p,Ze),m(A,Qe),m(A,ze)),we.svgFilters===!0&&(m(p,Je),m(A,Qe),m(A,ze)),we.mathMl===!0&&(m(p,Ke),m(A,Ot),m(A,ze))),t.ADD_TAGS&&(p===ge&&(p=be(p)),m(p,t.ADD_TAGS,L)),t.ADD_ATTR&&(A===Ee&&(A=be(A)),m(A,t.ADD_ATTR,L)),t.ADD_URI_SAFE_ATTR&&m(We,t.ADD_URI_SAFE_ATTR,L),t.FORBID_CONTENTS&&(Se===ot&&(Se=be(Se)),m(Se,t.FORBID_CONTENTS,L)),Ge&&(p["#text"]=!0),se&&m(p,["html","head","body"]),p.table&&(m(p,["tbody"]),delete v.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=t.TRUSTED_TYPES_POLICY,S=h.createHTML("")}else h===void 0&&(h=yn(H,a)),h!==null&&typeof S=="string"&&(S=h.createHTML(""));U&&U(t),xe=t}},ct=m({},["mi","mo","mn","ms","mtext"]),ut=m({},["foreignobject","annotation-xml"]),Kt=m({},["title","style","font","a","script"]),ft=m({},[...Ze,...Je,...cn]),pt=m({},[...Ke,...un]),Qt=function(t){let s=q(t);(!s||!s.tagName)&&(s={namespaceURI:Ae,tagName:"template"});const c=Fe(t.tagName),y=Fe(s.tagName);return je[t.namespaceURI]?t.namespaceURI===Ue?s.namespaceURI===de?c==="svg":s.namespaceURI===Pe?c==="svg"&&(y==="annotation-xml"||ct[y]):!!ft[c]:t.namespaceURI===Pe?s.namespaceURI===de?c==="math":s.namespaceURI===Ue?c==="math"&&ut[y]:!!pt[c]:t.namespaceURI===de?s.namespaceURI===Ue&&!ut[y]||s.namespaceURI===Pe&&!ct[y]?!1:!pt[c]&&(Kt[c]||!ft[c]):!!(ve==="application/xhtml+xml"&&je[t.namespaceURI]):!1},le=function(t){Le(n.removed,{element:t});try{q(t).removeChild(t)}catch(s){ie(t)}},He=function(t,s){try{Le(n.removed,{attribute:s.getAttributeNode(t),from:s})}catch(c){Le(n.removed,{attribute:null,from:s})}if(s.removeAttribute(t),t==="is"&&!A[t])if(ae||De)try{le(s)}catch(c){}else try{s.setAttribute(t,"")}catch(c){}},mt=function(t){let s=null,c=null;if(x)t="<remove></remove>"+t;else{const R=vt(t,/^[\r\n\t ]+/);c=R&&R[0]}ve==="application/xhtml+xml"&&Ae===de&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const y=h?h.createHTML(t):t;if(Ae===de)try{s=new Te().parseFromString(y,ve)}catch(R){}if(!s||!s.documentElement){s=ee.createDocument(Ae,"template",null);try{s.documentElement.innerHTML=Ye?S:y}catch(R){}}const k=s.body||s.documentElement;return t&&c&&k.insertBefore(o.createTextNode(c),k.childNodes[0]||null),Ae===de?F.call(s,se?"html":"body")[0]:se?s.documentElement:k},dt=function(t){return oe.call(t.ownerDocument||t,t,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT|g.SHOW_PROCESSING_INSTRUCTION|g.SHOW_CDATA_SECTION,null)},ht=function(t){return t instanceof $&&(typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||!(t.attributes instanceof Y)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function")},_t=function(t){return typeof w=="function"&&t instanceof w},he=function(t,s,c){C[t]&&Be(C[t],y=>{y.call(n,s,c,xe)})},gt=function(t){let s=null;if(he("beforeSanitizeElements",t,null),ht(t))return le(t),!0;const c=L(t.nodeName);if(he("uponSanitizeElement",t,{tagName:c,allowedTags:p}),t.hasChildNodes()&&!_t(t.firstElementChild)&&P(/<[/\w]/g,t.innerHTML)&&P(/<[/\w]/g,t.textContent)||t.nodeType===Ne.progressingInstruction||K&&t.nodeType===Ne.comment&&P(/<[/\w]/g,t.data))return le(t),!0;if(!p[c]||v[c]){if(!v[c]&&Tt(c)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c)))return!1;if(Ge&&!Se[c]){const y=q(t)||t.parentNode,k=ue(t)||t.childNodes;if(k&&y){const R=k.length;for(let W=R-1;W>=0;--W){const ce=_e(k[W],!0);ce.__removalCount=(t.__removalCount||0)+1,y.insertBefore(ce,z(t))}}}return le(t),!0}return t instanceof T&&!Qt(t)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,t.innerHTML)?(le(t),!0):(me&&t.nodeType===Ne.text&&(s=t.textContent,Be([re,j,pe],y=>{s=Re(s,y," ")}),t.textContent!==s&&(Le(n.removed,{element:t.cloneNode()}),t.textContent=s)),he("afterSanitizeElements",t,null),!1)},Et=function(t,s,c){if(nt&&(s==="id"||s==="name")&&(c in o||c in Jt))return!1;if(!(D&&!l[s]&&P(Z,s))){if(!(d&&P(O,s))){if(!A[s]||l[s]){if(!(Tt(t)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,t)||E.tagNameCheck instanceof Function&&E.tagNameCheck(t))&&(E.attributeNameCheck instanceof RegExp&&P(E.attributeNameCheck,s)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(s))||s==="is"&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c))))return!1}else if(!We[s]){if(!P(X,Re(c,J,""))){if(!((s==="src"||s==="xlink:href"||s==="href")&&t!=="script"&&rn(c,"data:")===0&&rt[t])){if(!(M&&!P(N,Re(c,J,"")))){if(c)return!1}}}}}}return!0},Tt=function(t){return t!=="annotation-xml"&&vt(t,ye)},yt=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:s}=t;if(!s)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A};let y=s.length;for(;y--;){const k=s[y],{name:R,namespaceURI:W,value:ce}=k,Me=L(R);let I=R==="value"?ce:sn(ce);if(c.attrName=Me,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,he("uponSanitizeAttribute",t,c),I=c.attrValue,K&&P(/((--!?|])>)|<\/(style|title)/i,I)){He(R,t);continue}if(c.forceKeepAttr||(He(R,t),!c.keepAttr))continue;if(!G&&P(/\/>/i,I)){He(R,t);continue}me&&Be([re,j,pe],wt=>{I=Re(I,wt," ")});const bt=L(t.nodeName);if(Et(bt,Me,I)){if(it&&(Me==="id"||Me==="name")&&(He(R,t),I=Xt+I),h&&typeof H=="object"&&typeof H.getAttributeType=="function"&&!W)switch(H.getAttributeType(bt,Me)){case"TrustedHTML":{I=h.createHTML(I);break}case"TrustedScriptURL":{I=h.createScriptURL(I);break}}try{W?t.setAttributeNS(W,R,I):t.setAttribute(R,I),ht(t)?le(t):Ct(n.removed)}catch(wt){}}}he("afterSanitizeAttributes",t,null)},$t=function u(t){let s=null;const c=dt(t);for(he("beforeSanitizeShadowDOM",t,null);s=c.nextNode();)he("uponSanitizeShadowNode",s,null),!gt(s)&&(s.content instanceof f&&u(s.content),yt(s));he("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=null,c=null,y=null,k=null;if(Ye=!u,Ye&&(u="<!-->"),typeof u!="string"&&!_t(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw Oe("dirty is not a string, aborting")}else throw Oe("toString is not a function");if(!n.isSupported)return u;if(b||Xe(t),n.removed=[],typeof u=="string"&&(Ce=!1),Ce){if(u.nodeName){const ce=L(u.nodeName);if(!p[ce]||v[ce])throw Oe("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof w)s=mt("<!---->"),c=s.ownerDocument.importNode(u,!0),c.nodeType===Ne.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?s=c:s.appendChild(c);else{if(!ae&&!me&&!se&&u.indexOf("<")===-1)return h&&Ie?h.createHTML(u):u;if(s=mt(u),!s)return ae?null:Ie?S:""}s&&x&&le(s.firstChild);const R=dt(Ce?u:s);for(;y=R.nextNode();)gt(y)||(y.content instanceof f&&$t(y.content),yt(y));if(Ce)return u;if(ae){if(De)for(k=fe.call(s.ownerDocument);s.firstChild;)k.appendChild(s.firstChild);else k=s;return(A.shadowroot||A.shadowrootmode)&&(k=te.call(r,k,!0)),k}let W=se?s.outerHTML:s.innerHTML;return se&&p["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&P(Wt,s.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+s.ownerDocument.doctype.name+`>
|
|
1
|
+
"use strict";const e=require("./CashierPage-CkcgKU-E.cjs"),Ve=require("./CashierHeader-DvFR_9go.cjs");function $e(i,{delay:n=0,duration:o=400,easing:r=e.identity}={}){const a=+getComputedStyle(i).opacity;return{delay:n,duration:o,easing:r,css:f=>`opacity: ${f*a}`}}function St(i,n){e.addMessages(i,n)}function en(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const At={en:{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"Continue session",sessionExpirationLoadingButton:"Processing...",sessionExpirationEnd:"End session"},tr:{sessionExpirationHeader:"Oturum Uyarısı",sessionExpirationTitle:"Oturumunuzun süresi dolmak üzere!",sessionExpirationGeneralText:"Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",sessionExpirationGeneralButton:"DEVAM ET",sessionExpirationLoadingButton:"İŞLEME...",sessionExpirationEnd:"Oturumu sonlandır"},fr:{sessionExpirationHeader:"Avertissement de session",sessionExpirationTitle:"Votre session est sur le point d’expirer !",sessionExpirationGeneralText:"Votre session se terminera automatiquement dans <b>{second} secondes</b>.",sessionExpirationGeneralButton:"Continuer la session",sessionExpirationLoadingButton:"Traitement en cours...",sessionExpirationEnd:"Terminer la session"}};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:zt,setPrototypeOf:xt,isFrozen:tn,getPrototypeOf:nn,getOwnPropertyDescriptor:on}=Object;let{freeze:U,seal:Q,create:Ft}=Object,{apply:et,construct:tt}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});Q||(Q=function(n){return n});et||(et=function(n,o,r){return n.apply(o,r)});tt||(tt=function(n,o){return new n(...o)});const Be=V(Array.prototype.forEach),Ct=V(Array.prototype.pop),Le=V(Array.prototype.push),Fe=V(String.prototype.toLowerCase),qe=V(String.prototype.toString),vt=V(String.prototype.match),Re=V(String.prototype.replace),rn=V(String.prototype.indexOf),sn=V(String.prototype.trim),ne=V(Object.prototype.hasOwnProperty),P=V(RegExp.prototype.test),Oe=an(TypeError);function V(i){return function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];return et(i,n,r)}}function an(i){return function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return tt(i,o)}}function m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fe;xt&&xt(i,null);let r=n.length;for(;r--;){let a=n[r];if(typeof a=="string"){const f=o(a);f!==a&&(tn(n)||(n[r]=f),a=f)}i[a]=!0}return i}function ln(i){for(let n=0;n<i.length;n++)ne(i,n)||(i[n]=null);return i}function be(i){const n=Ft(null);for(const[o,r]of zt(i))ne(i,o)&&(Array.isArray(r)?n[o]=ln(r):r&&typeof r=="object"&&r.constructor===Object?n[o]=be(r):n[o]=r);return n}function ke(i,n){for(;i!==null;){const r=on(i,n);if(r){if(r.get)return V(r.get);if(typeof r.value=="function")return V(r.value)}i=nn(i)}function o(){return null}return o}const Mt=U(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ze=U(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Je=U(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),cn=U(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ke=U(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),un=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Lt=U(["#text"]),Rt=U(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qe=U(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ot=U(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ze=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fn=Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),pn=Q(/<%[\w\W]*|[\w\W]*%>/gm),mn=Q(/\${[\w\W]*}/gm),dn=Q(/^data-[\-\w.\u00B7-\uFFFF]/),hn=Q(/^aria-[\-\w]+$/),Gt=Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_n=Q(/^(?:\w+script|data):/i),gn=Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wt=Q(/^html$/i),En=Q(/^[a-z][.\w]*(-[.\w]+)+$/i);var kt=Object.freeze({__proto__:null,MUSTACHE_EXPR:fn,ERB_EXPR:pn,TMPLIT_EXPR:mn,DATA_ATTR:dn,ARIA_ATTR:hn,IS_ALLOWED_URI:Gt,IS_SCRIPT_OR_DATA:_n,ATTR_WHITESPACE:gn,DOCTYPE_NAME:Wt,CUSTOM_ELEMENT:En});const Ne={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window=="undefined"?null:window},yn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const a="data-tt-policy-suffix";o&&o.hasAttribute(a)&&(r=o.getAttribute(a));const f="dompurify"+(r?"#"+r:"");try{return n.createPolicy(f,{createHTML(_){return _},createScriptURL(_){return _}})}catch(_){return console.warn("TrustedTypes policy "+f+" could not be created."),null}};function Yt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=u=>Yt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==Ne.document)return n.isSupported=!1,n;let{document:o}=i;const r=o,a=r.currentScript,{DocumentFragment:f,HTMLTemplateElement:_,Node:w,Element:T,NodeFilter:g,NamedNodeMap:Y=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:Te,trustedTypes:H}=i,B=T.prototype,_e=ke(B,"cloneNode"),ie=ke(B,"remove"),z=ke(B,"nextSibling"),ue=ke(B,"childNodes"),q=ke(B,"parentNode");if(typeof _=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let h,S="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:fe,getElementsByTagName:F}=o,{importNode:te}=r;let C={};n.isSupported=typeof zt=="function"&&typeof q=="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:re,ERB_EXPR:j,TMPLIT_EXPR:pe,DATA_ATTR:Z,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:ye}=kt;let{IS_ALLOWED_URI:X}=kt,p=null;const ge=m({},[...Mt,...Ze,...Je,...Ke,...Lt]);let A=null;const Ee=m({},[...Rt,...Qe,...Ot,...ze]);let E=Object.seal(Ft(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),v=null,l=null,d=!0,D=!0,M=!1,G=!0,me=!1,K=!0,se=!1,b=!1,x=!1,ae=!1,De=!1,Ie=!1,nt=!0,it=!1;const Xt="user-content-";let Ge=!0,Ce=!1,we={},Se=null;const ot=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let rt=null;const st=m({},["audio","video","img","source","image","track"]);let We=null;const at=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pe="http://www.w3.org/1998/Math/MathML",Ue="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml";let Ae=de,Ye=!1,je=null;const Vt=m({},[Pe,Ue,de],qe);let ve=null;const qt=["application/xhtml+xml","text/html"],Zt="text/html";let L=null,xe=null;const Jt=o.createElement("form"),lt=function(t){return t instanceof RegExp||t instanceof Function},Xe=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xe&&xe===t)){if((!t||typeof t!="object")&&(t={}),t=be(t),ve=qt.indexOf(t.PARSER_MEDIA_TYPE)===-1?Zt:t.PARSER_MEDIA_TYPE,L=ve==="application/xhtml+xml"?qe:Fe,p=ne(t,"ALLOWED_TAGS")?m({},t.ALLOWED_TAGS,L):ge,A=ne(t,"ALLOWED_ATTR")?m({},t.ALLOWED_ATTR,L):Ee,je=ne(t,"ALLOWED_NAMESPACES")?m({},t.ALLOWED_NAMESPACES,qe):Vt,We=ne(t,"ADD_URI_SAFE_ATTR")?m(be(at),t.ADD_URI_SAFE_ATTR,L):at,rt=ne(t,"ADD_DATA_URI_TAGS")?m(be(st),t.ADD_DATA_URI_TAGS,L):st,Se=ne(t,"FORBID_CONTENTS")?m({},t.FORBID_CONTENTS,L):ot,v=ne(t,"FORBID_TAGS")?m({},t.FORBID_TAGS,L):{},l=ne(t,"FORBID_ATTR")?m({},t.FORBID_ATTR,L):{},we=ne(t,"USE_PROFILES")?t.USE_PROFILES:!1,d=t.ALLOW_ARIA_ATTR!==!1,D=t.ALLOW_DATA_ATTR!==!1,M=t.ALLOW_UNKNOWN_PROTOCOLS||!1,G=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=t.SAFE_FOR_TEMPLATES||!1,K=t.SAFE_FOR_XML!==!1,se=t.WHOLE_DOCUMENT||!1,ae=t.RETURN_DOM||!1,De=t.RETURN_DOM_FRAGMENT||!1,Ie=t.RETURN_TRUSTED_TYPE||!1,x=t.FORCE_BODY||!1,nt=t.SANITIZE_DOM!==!1,it=t.SANITIZE_NAMED_PROPS||!1,Ge=t.KEEP_CONTENT!==!1,Ce=t.IN_PLACE||!1,X=t.ALLOWED_URI_REGEXP||Gt,Ae=t.NAMESPACE||de,E=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&<(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(E.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&<(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(E.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(E.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me&&(D=!1),De&&(ae=!0),we&&(p=m({},Lt),A=[],we.html===!0&&(m(p,Mt),m(A,Rt)),we.svg===!0&&(m(p,Ze),m(A,Qe),m(A,ze)),we.svgFilters===!0&&(m(p,Je),m(A,Qe),m(A,ze)),we.mathMl===!0&&(m(p,Ke),m(A,Ot),m(A,ze))),t.ADD_TAGS&&(p===ge&&(p=be(p)),m(p,t.ADD_TAGS,L)),t.ADD_ATTR&&(A===Ee&&(A=be(A)),m(A,t.ADD_ATTR,L)),t.ADD_URI_SAFE_ATTR&&m(We,t.ADD_URI_SAFE_ATTR,L),t.FORBID_CONTENTS&&(Se===ot&&(Se=be(Se)),m(Se,t.FORBID_CONTENTS,L)),Ge&&(p["#text"]=!0),se&&m(p,["html","head","body"]),p.table&&(m(p,["tbody"]),delete v.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=t.TRUSTED_TYPES_POLICY,S=h.createHTML("")}else h===void 0&&(h=yn(H,a)),h!==null&&typeof S=="string"&&(S=h.createHTML(""));U&&U(t),xe=t}},ct=m({},["mi","mo","mn","ms","mtext"]),ut=m({},["foreignobject","annotation-xml"]),Kt=m({},["title","style","font","a","script"]),ft=m({},[...Ze,...Je,...cn]),pt=m({},[...Ke,...un]),Qt=function(t){let s=q(t);(!s||!s.tagName)&&(s={namespaceURI:Ae,tagName:"template"});const c=Fe(t.tagName),y=Fe(s.tagName);return je[t.namespaceURI]?t.namespaceURI===Ue?s.namespaceURI===de?c==="svg":s.namespaceURI===Pe?c==="svg"&&(y==="annotation-xml"||ct[y]):!!ft[c]:t.namespaceURI===Pe?s.namespaceURI===de?c==="math":s.namespaceURI===Ue?c==="math"&&ut[y]:!!pt[c]:t.namespaceURI===de?s.namespaceURI===Ue&&!ut[y]||s.namespaceURI===Pe&&!ct[y]?!1:!pt[c]&&(Kt[c]||!ft[c]):!!(ve==="application/xhtml+xml"&&je[t.namespaceURI]):!1},le=function(t){Le(n.removed,{element:t});try{q(t).removeChild(t)}catch(s){ie(t)}},He=function(t,s){try{Le(n.removed,{attribute:s.getAttributeNode(t),from:s})}catch(c){Le(n.removed,{attribute:null,from:s})}if(s.removeAttribute(t),t==="is"&&!A[t])if(ae||De)try{le(s)}catch(c){}else try{s.setAttribute(t,"")}catch(c){}},mt=function(t){let s=null,c=null;if(x)t="<remove></remove>"+t;else{const R=vt(t,/^[\r\n\t ]+/);c=R&&R[0]}ve==="application/xhtml+xml"&&Ae===de&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const y=h?h.createHTML(t):t;if(Ae===de)try{s=new Te().parseFromString(y,ve)}catch(R){}if(!s||!s.documentElement){s=ee.createDocument(Ae,"template",null);try{s.documentElement.innerHTML=Ye?S:y}catch(R){}}const k=s.body||s.documentElement;return t&&c&&k.insertBefore(o.createTextNode(c),k.childNodes[0]||null),Ae===de?F.call(s,se?"html":"body")[0]:se?s.documentElement:k},dt=function(t){return oe.call(t.ownerDocument||t,t,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT|g.SHOW_PROCESSING_INSTRUCTION|g.SHOW_CDATA_SECTION,null)},ht=function(t){return t instanceof $&&(typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||!(t.attributes instanceof Y)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function")},_t=function(t){return typeof w=="function"&&t instanceof w},he=function(t,s,c){C[t]&&Be(C[t],y=>{y.call(n,s,c,xe)})},gt=function(t){let s=null;if(he("beforeSanitizeElements",t,null),ht(t))return le(t),!0;const c=L(t.nodeName);if(he("uponSanitizeElement",t,{tagName:c,allowedTags:p}),t.hasChildNodes()&&!_t(t.firstElementChild)&&P(/<[/\w]/g,t.innerHTML)&&P(/<[/\w]/g,t.textContent)||t.nodeType===Ne.progressingInstruction||K&&t.nodeType===Ne.comment&&P(/<[/\w]/g,t.data))return le(t),!0;if(!p[c]||v[c]){if(!v[c]&&Tt(c)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c)))return!1;if(Ge&&!Se[c]){const y=q(t)||t.parentNode,k=ue(t)||t.childNodes;if(k&&y){const R=k.length;for(let W=R-1;W>=0;--W){const ce=_e(k[W],!0);ce.__removalCount=(t.__removalCount||0)+1,y.insertBefore(ce,z(t))}}}return le(t),!0}return t instanceof T&&!Qt(t)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,t.innerHTML)?(le(t),!0):(me&&t.nodeType===Ne.text&&(s=t.textContent,Be([re,j,pe],y=>{s=Re(s,y," ")}),t.textContent!==s&&(Le(n.removed,{element:t.cloneNode()}),t.textContent=s)),he("afterSanitizeElements",t,null),!1)},Et=function(t,s,c){if(nt&&(s==="id"||s==="name")&&(c in o||c in Jt))return!1;if(!(D&&!l[s]&&P(Z,s))){if(!(d&&P(O,s))){if(!A[s]||l[s]){if(!(Tt(t)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,t)||E.tagNameCheck instanceof Function&&E.tagNameCheck(t))&&(E.attributeNameCheck instanceof RegExp&&P(E.attributeNameCheck,s)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(s))||s==="is"&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c))))return!1}else if(!We[s]){if(!P(X,Re(c,J,""))){if(!((s==="src"||s==="xlink:href"||s==="href")&&t!=="script"&&rn(c,"data:")===0&&rt[t])){if(!(M&&!P(N,Re(c,J,"")))){if(c)return!1}}}}}}return!0},Tt=function(t){return t!=="annotation-xml"&&vt(t,ye)},yt=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:s}=t;if(!s)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A};let y=s.length;for(;y--;){const k=s[y],{name:R,namespaceURI:W,value:ce}=k,Me=L(R);let I=R==="value"?ce:sn(ce);if(c.attrName=Me,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,he("uponSanitizeAttribute",t,c),I=c.attrValue,K&&P(/((--!?|])>)|<\/(style|title)/i,I)){He(R,t);continue}if(c.forceKeepAttr||(He(R,t),!c.keepAttr))continue;if(!G&&P(/\/>/i,I)){He(R,t);continue}me&&Be([re,j,pe],wt=>{I=Re(I,wt," ")});const bt=L(t.nodeName);if(Et(bt,Me,I)){if(it&&(Me==="id"||Me==="name")&&(He(R,t),I=Xt+I),h&&typeof H=="object"&&typeof H.getAttributeType=="function"&&!W)switch(H.getAttributeType(bt,Me)){case"TrustedHTML":{I=h.createHTML(I);break}case"TrustedScriptURL":{I=h.createScriptURL(I);break}}try{W?t.setAttributeNS(W,R,I):t.setAttribute(R,I),ht(t)?le(t):Ct(n.removed)}catch(wt){}}}he("afterSanitizeAttributes",t,null)},$t=function u(t){let s=null;const c=dt(t);for(he("beforeSanitizeShadowDOM",t,null);s=c.nextNode();)he("uponSanitizeShadowNode",s,null),!gt(s)&&(s.content instanceof f&&u(s.content),yt(s));he("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=null,c=null,y=null,k=null;if(Ye=!u,Ye&&(u="<!-->"),typeof u!="string"&&!_t(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw Oe("dirty is not a string, aborting")}else throw Oe("toString is not a function");if(!n.isSupported)return u;if(b||Xe(t),n.removed=[],typeof u=="string"&&(Ce=!1),Ce){if(u.nodeName){const ce=L(u.nodeName);if(!p[ce]||v[ce])throw Oe("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof w)s=mt("<!---->"),c=s.ownerDocument.importNode(u,!0),c.nodeType===Ne.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?s=c:s.appendChild(c);else{if(!ae&&!me&&!se&&u.indexOf("<")===-1)return h&&Ie?h.createHTML(u):u;if(s=mt(u),!s)return ae?null:Ie?S:""}s&&x&&le(s.firstChild);const R=dt(Ce?u:s);for(;y=R.nextNode();)gt(y)||(y.content instanceof f&&$t(y.content),yt(y));if(Ce)return u;if(ae){if(De)for(k=fe.call(s.ownerDocument);s.firstChild;)k.appendChild(s.firstChild);else k=s;return(A.shadowroot||A.shadowrootmode)&&(k=te.call(r,k,!0)),k}let W=se?s.outerHTML:s.innerHTML;return se&&p["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&P(Wt,s.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+s.ownerDocument.doctype.name+`>
|
|
2
2
|
`+W),me&&Be([re,j,pe],ce=>{W=Re(W,ce," ")}),h&&Ie?h.createHTML(W):W},n.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Xe(u),b=!0},n.clearConfig=function(){xe=null,b=!1},n.isValidAttribute=function(u,t,s){xe||Xe({});const c=L(u),y=L(t);return Et(c,y,s)},n.addHook=function(u,t){typeof t=="function"&&(C[u]=C[u]||[],Le(C[u],t))},n.removeHook=function(u){if(C[u])return Ct(C[u])},n.removeHooks=function(u){C[u]&&(C[u]=[])},n.removeAllHooks=function(){C={}},n}var Nt=Yt();function bn(i){e.append_styles(i,"svelte-1kjup2o",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;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%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}')}const wn=i=>({}),Dt=i=>({}),Sn=i=>({}),It=i=>({}),An=i=>({}),Pt=i=>({}),xn=i=>({}),Ut=i=>({class:"CashierSessionExpirationIcon"});function Ht(i){let n,o,r,a,f,_,w,T,g,Y,$,Te,H=i[8]("sessionExpirationHeader")+"",B,_e,ie,z,ue,q,h,S,ee,oe,fe,F,te,C,re=i[8]("sessionExpirationEnd")+"",j,pe,Z,O,N,J,ye,X,p,ge,A;const Ee=i[23].icon,E=e.create_slot(Ee,i,i[22],Ut),v=E||Cn(i),l=i[23].title,d=e.create_slot(l,i,i[22],Pt),D=i[23].text,M=e.create_slot(D,i,i[22],It),G=M||vn(i),me=[Ln,Mn],K=[];function se(b,x){return b[6]?0:1}return O=se(i),N=K[O]=me[O](i),{c(){n=e.element("div"),o=e.element("div"),r=e.element("div"),a=e.element("div"),f=e.svg_element("svg"),_=e.svg_element("defs"),w=e.svg_element("mask"),T=e.svg_element("circle"),g=e.svg_element("rect"),Y=e.svg_element("circle"),$=e.svg_element("circle"),Te=e.space(),B=e.text(H),_e=e.space(),ie=e.element("div"),z=e.svg_element("svg"),ue=e.svg_element("path"),q=e.space(),h=e.element("div"),S=e.element("div"),v&&v.c(),ee=e.space(),d&&d.c(),oe=e.space(),G&&G.c(),fe=e.space(),F=e.element("div"),te=e.element("button"),C=e.element("span"),j=e.text(re),pe=e.space(),Z=e.element("button"),N.c(),e.attr(T,"cx","100"),e.attr(T,"cy","100"),e.attr(T,"r","90"),e.attr(g,"x","88"),e.attr(g,"y","40"),e.attr(g,"width","24"),e.attr(g,"height","80"),e.attr(g,"rx","12"),e.attr(g,"fill","black"),e.attr(Y,"cx","100"),e.attr(Y,"cy","150"),e.attr(Y,"r","14"),e.attr(Y,"fill","black"),e.attr(w,"id","exclamation-mask"),e.attr($,"cx","100"),e.attr($,"cy","100"),e.attr($,"r","90"),e.attr($,"mask","url(#exclamation-mask)"),e.attr(f,"viewBox","0 0 200 200"),e.attr(f,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"class","CashierSessionExpirationModalHeaderTitle"),e.attr(ue,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),e.attr(z,"xmlns","http://www.w3.org/2000/svg"),e.attr(z,"viewBox","0 0 13 13"),e.attr(z,"fill","none"),e.attr(z,"class","CloseButton"),e.attr(ie,"class","ModalCloseIcon"),e.attr(r,"class","CashierSessionExpirationModalHeader"),e.attr(C,"class","CashierSessionExpirationButtonText"),e.attr(te,"type","button"),e.attr(te,"class","ModalButton Secondary"),e.attr(Z,"type","button"),e.attr(Z,"class",J="ModalButton Primary "+(i[6]?"Disabled":"")),e.attr(F,"class","ButtonsContainer"),e.attr(S,"class","CashierSessionExpiration"),e.attr(h,"class","CashierSessionExpirationModalContainer"),e.attr(o,"class","CashierSessionExpirationModalWrapper"),e.attr(n,"class","CashierSessionExpirationModalWindow"),e.attr(n,"id","CashierSessionExpirationModal"),e.add_render_callback(()=>i[25].call(n))},m(b,x){e.insert(b,n,x),e.append(n,o),e.append(o,r),e.append(r,a),e.append(a,f),e.append(f,_),e.append(_,w),e.append(w,T),e.append(w,g),e.append(w,Y),e.append(f,$),e.append(a,Te),e.append(a,B),e.append(r,_e),e.append(r,ie),e.append(ie,z),e.append(z,ue),e.append(o,q),e.append(o,h),e.append(h,S),v&&v.m(S,null),e.append(S,ee),d&&d.m(S,null),e.append(S,oe),G&&G.m(S,null),e.append(S,fe),e.append(S,F),e.append(F,te),e.append(te,C),e.append(C,j),e.append(F,pe),e.append(F,Z),K[O].m(Z,null),i[24](S),ye=e.add_iframe_resize_listener(n,i[25].bind(n)),p=!0,ge||(A=[e.listen(z,"click",i[11]),e.listen(te,"click",i[11]),e.listen(Z,"click",i[9]),e.listen(n,"click",i[10])],ge=!0)},p(b,x){i=b,(!p||x[0]&256)&&H!==(H=i[8]("sessionExpirationHeader")+"")&&e.set_data(B,H),E?E.p&&(!p||x[0]&4194304)&&e.update_slot_base(E,Ee,i,i[22],p?e.get_slot_changes(Ee,i[22],x,xn):e.get_all_dirty_from_scope(i[22]),Ut):v&&v.p&&(!p||x[0]&8)&&v.p(i,p?x:[-1,-1]),d&&d.p&&(!p||x[0]&4194304)&&e.update_slot_base(d,l,i,i[22],p?e.get_slot_changes(l,i[22],x,An):e.get_all_dirty_from_scope(i[22]),Pt),M?M.p&&(!p||x[0]&4194304)&&e.update_slot_base(M,D,i,i[22],p?e.get_slot_changes(D,i[22],x,Sn):e.get_all_dirty_from_scope(i[22]),It):G&&G.p&&(!p||x[0]&384)&&G.p(i,p?x:[-1,-1]),(!p||x[0]&256)&&re!==(re=i[8]("sessionExpirationEnd")+"")&&e.set_data(j,re);let ae=O;O=se(i),O===ae?K[O].p(i,x):(e.group_outros(),e.transition_out(K[ae],1,1,()=>{K[ae]=null}),e.check_outros(),N=K[O],N?N.p(i,x):(N=K[O]=me[O](i),N.c()),e.transition_in(N,1),N.m(Z,null)),(!p||x[0]&64&&J!==(J="ModalButton Primary "+(i[6]?"Disabled":"")))&&e.attr(Z,"class",J)},i(b){p||(e.transition_in(v,b),e.transition_in(d,b),e.transition_in(G,b),e.transition_in(N),b&&e.add_render_callback(()=>{p&&(X||(X=e.create_bidirectional_transition(n,$e,{duration:i[2]},!0)),X.run(1))}),p=!0)},o(b){e.transition_out(v,b),e.transition_out(d,b),e.transition_out(G,b),e.transition_out(N),b&&(X||(X=e.create_bidirectional_transition(n,$e,{duration:i[2]},!1)),X.run(0)),p=!1},d(b){b&&e.detach(n),v&&v.d(b),d&&d.d(b),G&&G.d(b),K[O].d(),i[24](null),ye(),b&&X&&X.end(),ge=!1,e.run_all(A)}}}function Bt(i){let n,o;return{c(){n=e.element("img"),e.src_url_equal(n.src,o=`${i[3]}/set-timeout-icon.png`)||e.attr(n,"src",o),e.attr(n,"width","300px"),e.attr(n,"alt","error")},m(r,a){e.insert(r,n,a)},p(r,a){a[0]&8&&!e.src_url_equal(n.src,o=`${r[3]}/set-timeout-icon.png`)&&e.attr(n,"src",o)},d(r){r&&e.detach(n)}}}function Cn(i){let n,o=i[3]&&Bt(i);return{c(){o&&o.c(),n=e.empty()},m(r,a){o&&o.m(r,a),e.insert(r,n,a)},p(r,a){r[3]?o?o.p(r,a):(o=Bt(r),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(r){r&&e.detach(n),o&&o.d(r)}}}function vn(i){let n,o,r=i[8]("sessionExpirationTitle")+"",a,f,_,w=Nt.sanitize(i[8]("sessionExpirationGeneralText",{values:{second:i[7]}}))+"";return{c(){n=e.element("span"),o=e.element("p"),a=e.text(r),f=e.space(),_=e.element("p"),e.attr(n,"class","CashierSessionExpirationText")},m(T,g){e.insert(T,n,g),e.append(n,o),e.append(o,a),e.append(n,f),e.append(n,_),_.innerHTML=w},p(T,g){g[0]&256&&r!==(r=T[8]("sessionExpirationTitle")+"")&&e.set_data(a,r),g[0]&384&&w!==(w=Nt.sanitize(T[8]("sessionExpirationGeneralText",{values:{second:T[7]}}))+"")&&(_.innerHTML=w)},d(T){T&&e.detach(n)}}}function Mn(i){let n;const o=i[23].button,r=e.create_slot(o,i,i[22],Dt),a=r||Rn(i);return{c(){a&&a.c()},m(f,_){a&&a.m(f,_),n=!0},p(f,_){r?r.p&&(!n||_[0]&4194304)&&e.update_slot_base(r,o,f,f[22],n?e.get_slot_changes(o,f[22],_,wn):e.get_all_dirty_from_scope(f[22]),Dt):a&&a.p&&(!n||_[0]&256)&&a.p(f,n?_:[-1,-1])},i(f){n||(e.transition_in(a,f),n=!0)},o(f){e.transition_out(a,f),n=!1},d(f){a&&a.d(f)}}}function Ln(i){let n,o,r,a,f,_=i[8]("sessionExpirationLoadingButton")+"",w;return{c(){n=e.element("div"),o=e.svg_element("svg"),r=e.svg_element("path"),a=e.space(),f=e.element("span"),w=e.text(_),e.attr(r,"d","M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"),e.attr(r,"fill","white"),e.attr(o,"class","CashierSessionExpirationButtonSpinner"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","14"),e.attr(o,"viewBox","0 0 15 14"),e.attr(o,"fill","none"),e.attr(f,"class","CashierSessionExpirationButtonText")},m(T,g){e.insert(T,n,g),e.append(n,o),e.append(o,r),e.append(n,a),e.append(n,f),e.append(f,w)},p(T,g){g[0]&256&&_!==(_=T[8]("sessionExpirationLoadingButton")+"")&&e.set_data(w,_)},i:e.noop,o:e.noop,d(T){T&&e.detach(n)}}}function Rn(i){let n,o=i[8]("sessionExpirationGeneralButton")+"",r;return{c(){n=e.element("span"),r=e.text(o),e.attr(n,"class","CashierSessionExpirationButtonText")},m(a,f){e.insert(a,n,f),e.append(n,r)},p(a,f){f[0]&256&&o!==(o=a[8]("sessionExpirationGeneralButton")+"")&&e.set_data(r,o)},d(a){a&&e.detach(n)}}}function On(i){let n,o,r=i[5]&&Ht(i);return{c(){n=e.element("div"),r&&r.c()},m(a,f){e.insert(a,n,f),r&&r.m(n,null),i[26](n),o=!0},p(a,f){a[5]?r?(r.p(a,f),f[0]&32&&e.transition_in(r,1)):(r=Ht(a),r.c(),e.transition_in(r,1),r.m(n,null)):r&&(e.group_outros(),e.transition_out(r,1,1,()=>{r=null}),e.check_outros())},i(a){o||(e.transition_in(r),o=!0)},o(a){e.transition_out(r),o=!1},d(a){a&&e.detach(n),r&&r.d(),i[26](null)}}}const kn=90;function Nn(i,n,o){let r,a;e.component_subscribe(i,e.xPaymentSessionToken,l=>o(21,r=l)),e.component_subscribe(i,e.$format,l=>o(8,a=l));let{$$slots:f={},$$scope:_}=n;e.dayjs.extend(e.utc);let{clientstyling:w=""}=n,{clientstylingurl:T=""}=n,{width:g}=n,{height:Y}=n,{duration:$=200}=n,{assetsurl:Te=""}=n,{lang:H="en"}=n,{translationurl:B=""}=n,{endpoint:_e}=n,{currency:ie}=n,{customerid:z}=n,{selectedpaymentmethodname:ue}=n,{mbsource:q=""}=n,h,S=!1,ee=!1,oe,fe,F,te,C,re;var j;(function(l){l.PlayerSessionIsNotValid="PlayerSessionIsNotValid",l.Success="Success",l.JwtTokenError="JwtTokenError"})(j||(j={}));const pe=l=>{l.data.type==="StartSessionCountdown"&&(te=l.data.paymentMethodName)},Z=l=>{try{return JSON.parse(atob(l.split(".")[1]))}catch(d){return null}},O=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:C},window.location.href)},N=l=>{o(5,S=!1);const d=Z(l);d&&(fe=d==null?void 0:d.exp,o(7,oe=fe),F&&clearInterval(F),F=setInterval(()=>{const D=Math.floor(new Date().getTime()/1e3);o(7,oe=fe-D),oe<=kn&&o(5,S=!0),D>=fe&&(J(),window.postMessage({type:"SessionExpired"},window.location.href))},1e3))},J=()=>{o(7,oe=0),o(5,S=!1),clearInterval(F)},ye=()=>{if(ee)return;const l=new URL(`${_e}/v1/player/${z}/payment/GetPaymentMethod`),d=new Headers;o(6,ee=!0),d.append("accept","application/json"),d.append("Content-Type","application/json"),d.append("X-Client-Request-Timestamp",e.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const D={method:"POST",mode:"cors",headers:d,body:JSON.stringify({PaymentMethodName:te||ue,Currency:ie,XPaymentSessionToken:r})};fetch(l,D).then(M=>M.json()).then(M=>{if(M.error){window.postMessage({type:"ShowSessionError",error:M.error},window.location.href),J();return}if(M.ResponseCode===j.PlayerSessionIsNotValid||M.ResponseCode===j.JwtTokenError){C=M.ResponseCode,J(),O();return}if(M.ResponseCode!==j.Success){C=M.ResponseCode,J();return}M.XPaymentSessionToken&&e.xPaymentSessionToken.set(M.XPaymentSessionToken)}).finally(()=>o(6,ee=!1))},X=l=>{const d=l.currentTarget;l.target===d&&ye()},p=()=>{fetch(B).then(d=>d.json()).then(d=>{Object.keys(d).forEach(D=>{St(D,d[D])})}).catch(d=>{console.log(d)})},ge=()=>{window.postMessage({type:"Cashier:goToHome"},window.location.href),o(5,S=!1)};Object.keys(At).forEach(l=>{St(l,At[l])});const A=()=>{en(H)};e.onMount(()=>(window.addEventListener("message",pe,!1),()=>{window.removeEventListener("message",pe)})),e.onDestroy(()=>{clearInterval(F)});function Ee(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,o(4,h)})}function E(){g=this.clientWidth,Y=this.clientHeight,o(0,g),o(1,Y)}function v(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,o(4,h)})}return i.$$set=l=>{"clientstyling"in l&&o(12,w=l.clientstyling),"clientstylingurl"in l&&o(13,T=l.clientstylingurl),"width"in l&&o(0,g=l.width),"height"in l&&o(1,Y=l.height),"duration"in l&&o(2,$=l.duration),"assetsurl"in l&&o(3,Te=l.assetsurl),"lang"in l&&o(14,H=l.lang),"translationurl"in l&&o(15,B=l.translationurl),"endpoint"in l&&o(16,_e=l.endpoint),"currency"in l&&o(17,ie=l.currency),"customerid"in l&&o(18,z=l.customerid),"selectedpaymentmethodname"in l&&o(19,ue=l.selectedpaymentmethodname),"mbsource"in l&&o(20,q=l.mbsource),"$$scope"in l&&o(22,_=l.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&2097152&&N(r),i.$$.dirty[0]&16384&&H&&A(),i.$$.dirty[0]&4112&&w&&h&&Ve.setClientStyling(h,w),i.$$.dirty[0]&8208&&T&&h&&Ve.setClientStylingURL(h,T),i.$$.dirty[0]&1048592&&q&&h&&Ve.setStreamStyling(h,`${q}.Style`,re),i.$$.dirty[0]&32768&&B&&p()},[g,Y,$,Te,h,S,ee,oe,a,ye,X,ge,w,T,H,B,_e,ie,z,ue,q,r,_,f,Ee,E,v]}class jt extends e.SvelteComponent{constructor(n){super(),e.init$1(this,n,Nn,On,e.safe_not_equal,{clientstyling:12,clientstylingurl:13,width:0,height:1,duration:2,assetsurl:3,lang:14,translationurl:15,endpoint:16,currency:17,customerid:18,selectedpaymentmethodname:19,mbsource:20},bn,[-1,-1])}get clientstyling(){return this.$$.ctx[12]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get width(){return this.$$.ctx[0]}set width(n){this.$$set({width:n}),e.flush()}get height(){return this.$$.ctx[1]}set height(n){this.$$set({height:n}),e.flush()}get duration(){return this.$$.ctx[2]}set duration(n){this.$$set({duration:n}),e.flush()}get assetsurl(){return this.$$.ctx[3]}set assetsurl(n){this.$$set({assetsurl:n}),e.flush()}get lang(){return this.$$.ctx[14]}set lang(n){this.$$set({lang:n}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}get endpoint(){return this.$$.ctx[16]}set endpoint(n){this.$$set({endpoint:n}),e.flush()}get currency(){return this.$$.ctx[17]}set currency(n){this.$$set({currency:n}),e.flush()}get customerid(){return this.$$.ctx[18]}set customerid(n){this.$$set({customerid:n}),e.flush()}get selectedpaymentmethodname(){return this.$$.ctx[19]}set selectedpaymentmethodname(n){this.$$set({selectedpaymentmethodname:n}),e.flush()}get mbsource(){return this.$$.ctx[20]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}}e.create_custom_element(jt,{clientstyling:{},clientstylingurl:{},width:{},height:{},duration:{},assetsurl:{},lang:{},translationurl:{},endpoint:{},currency:{},customerid:{},selectedpaymentmethodname:{},mbsource:{}},["icon","title","text","button"],[],!0);const Dn=Object.freeze(Object.defineProperty({__proto__:null,default:jt},Symbol.toStringTag,{value:"Module"}));exports.CashierSessionExpirationModal_ce=Dn;exports.fade=$e;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as f, b as h, s as y, f as o, c as d, y as c, e as g, k as p, m as k, o as b, q as S, x, A as v } from "./CashierPage-
|
|
2
|
-
import { s as w, a as _, b as C } from "./CashierHeader-
|
|
1
|
+
import { S as f, b as h, s as y, f as o, c as d, y as c, e as g, k as p, m as k, o as b, q as S, x, A as v } from "./CashierPage-Dj7li6Lk.js";
|
|
2
|
+
import { s as w, a as _, b as C } from "./CashierHeader-DKJVHe7h.js";
|
|
3
3
|
function z(e) {
|
|
4
4
|
d(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as f, b as h, s as y, f as o, d, z as c, g, l as p, n as k, p as b, r as S, y as x, c as v } from "./CashierPage-
|
|
2
|
-
import { s as w, a as _, b as C } from "./CashierHeader-
|
|
1
|
+
import { S as f, b as h, s as y, f as o, d, z as c, g, l as p, n as k, p as b, r as S, y as x, c as v } from "./CashierPage-yP_xx26w.js";
|
|
2
|
+
import { s as w, a as _, b as C } from "./CashierHeader-DF-2cBjK.js";
|
|
3
3
|
function z(e) {
|
|
4
4
|
d(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-CkcgKU-E.cjs"),c=require("./CashierHeader-DvFR_9go.cjs");function y(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function f(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function m(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i,h;t.onMount(()=>()=>{});function d(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&c.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&c.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&c.setStreamStyling(i,`${a}.Style`,h)},[i,l,o,a,d]}class u extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,m,f,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},y)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(u,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=u;
|