@everymatrix/cashier-method-details 1.74.10 → 1.75.0

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.
Files changed (36) hide show
  1. package/components/{CashierConfirmModal-BpvE1Wx6.cjs → CashierConfirmModal-CptRwG7E.cjs} +1 -1
  2. package/components/{CashierConfirmModal-DMfIxlzo.js → CashierConfirmModal-DHQhXBLq.js} +52 -52
  3. package/components/{CashierConfirmModal-BWIW81mB.js → CashierConfirmModal-mBbcNR6k.js} +91 -91
  4. package/components/{CashierError-DoZe5cfh.js → CashierError-CxC9JUxE.js} +842 -844
  5. package/components/CashierError-DnIbQhz-.cjs +18 -0
  6. package/components/{CashierError-B0qGY6Wi.js → CashierError-F-JdF-yR.js} +843 -845
  7. package/components/{CashierMethodDetails-BfH-RbrN.cjs → CashierMethodDetails-BYUtOrl-.cjs} +5 -5
  8. package/components/{CashierMethodDetails-CjC76kcH.js → CashierMethodDetails-CFo6ZuQl.js} +514 -498
  9. package/components/{CashierMethodDetails-dvMrG2uJ.js → CashierMethodDetails-DLTg6RpP.js} +523 -507
  10. package/components/{CashierNotifications-BcL2GzJF.js → CashierNotifications-BdfHI3lV.js} +7 -7
  11. package/components/{CashierNotifications-CXmrjPcN.cjs → CashierNotifications-Dt9Itbd7.cjs} +1 -1
  12. package/components/{CashierNotifications-DFrPFNQu.js → CashierNotifications-mhxDKO1J.js} +7 -7
  13. package/components/{CashierReceiptPage-ccQMDo3k.js → CashierReceiptPage-CfgCGXm-.js} +7 -7
  14. package/components/{CashierReceiptPage-D2PHvmZG.js → CashierReceiptPage-CrP-r8ja.js} +7 -7
  15. package/components/{CashierReceiptPage-Bwu64AsC.cjs → CashierReceiptPage-L8-ZgSVM.cjs} +1 -1
  16. package/components/{CashierSpinner-CfotkcDR.js → CashierSpinner-BjBxLMiY.js} +8 -8
  17. package/components/{CashierSpinner-C74evWKy.cjs → CashierSpinner-DBOsp-ou.cjs} +1 -1
  18. package/components/{CashierSpinner-tQuxlMdI.js → CashierSpinner-Rar1657O.js} +8 -8
  19. package/es2015/cashier-method-details.cjs +1 -1
  20. package/es2015/cashier-method-details.js +1 -1
  21. package/esnext/cashier-method-details.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
  24. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
  25. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  26. package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
  27. package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
  28. package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  32. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  33. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  34. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-_K8Pt3w9.js} +2 -2
  35. package/components/CashierError-CUhtZvcE.cjs +0 -18
  36. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";var Et=Object.defineProperty,St=Object.defineProperties;var kt=Object.getOwnPropertyDescriptors;var st=Object.getOwnPropertySymbols;var jt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable;var K=(t,e,n)=>e in t?Et(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,it=(t,e)=>{for(var n in e||(e={}))jt.call(e,n)&&K(t,n,e[n]);if(st)for(var n of st(e))Ot.call(e,n)&&K(t,n,e[n]);return t},ot=(t,e)=>St(t,kt(e));var $=(t,e,n)=>(K(t,typeof e!="symbol"?e+"":e,n),n);var rt=(t,e,n)=>new Promise((s,i)=>{var o=c=>{try{u(n.next(c))}catch(r){i(r)}},l=c=>{try{u(n.throw(c))}catch(r){i(r)}},u=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,l);u((n=n.apply(t,e)).next())});function j(){}function Bt(t,e){for(const n in e)t[n]=e[n];return t}function ht(t){return t()}function lt(){return Object.create(null)}function x(t){t.forEach(ht)}function et(t){return typeof t=="function"}function _t(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let q;function Nt(t,e){return t===e?!0:(q||(q=document.createElement("a")),q.href=e,t===q.href)}function At(t){return Object.keys(t).length===0}function $t(t,...e){if(t==null){for(const s of e)s(void 0);return j}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Tt(t,e,n){t.$$.on_destroy.push($t(e,n))}function B(t,e,n,s){if(t){const i=mt(t,e,n,s);return t[0](i)}}function mt(t,e,n,s){return t[1]&&s?Bt(n.ctx.slice(),t[1](s(e))):n.ctx}function N(t,e,n,s){if(t[2]&&s){const i=t[2](s(n));if(e.dirty===void 0)return i;if(typeof i=="object"){const o=[],l=Math.max(e.dirty.length,i.length);for(let u=0;u<l;u+=1)o[u]=e.dirty[u]|i[u];return o}return e.dirty|i}return e.dirty}function A(t,e,n,s,i,o){if(i){const l=mt(e,n,s,o);t.p(l,i)}}function T(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let s=0;s<n;s++)e[s]=-1;return e}return-1}const Pt=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function y(t,e){t.appendChild(e)}function gt(t,e,n){const s=Rt(t);if(!s.getElementById(e)){const i=w("style");i.id=e,i.textContent=n,zt(s,i)}}function Rt(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function zt(t,e){return y(t.head||t,e),e.sheet}function W(t,e,n){t.insertBefore(e,n||null)}function H(t){t.parentNode&&t.parentNode.removeChild(t)}function Ht(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function w(t){return document.createElement(t)}function X(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function nt(t){return document.createTextNode(t)}function D(){return nt(" ")}function Ut(){return nt("")}function Y(t,e,n,s){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)}function qt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function d(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Dt(t,e,n){const s=e.toLowerCase();s in t?t[s]=typeof t[s]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:d(t,e,n)}function It(t){return t===""?null:+t}function Ft(t){return Array.from(t.childNodes)}function Jt(t,e){e=""+e,t.data!==e&&(t.data=e)}function Vt(t,e){t.value=e==null?"":e}function Wt(t,e,n,s){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,"")}function Zt(t,e,n){t.classList.toggle(e,!!n)}function Gt(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let z;function R(t){z=t}function Kt(){if(!z)throw new Error("Function called outside component initialization");return z}function pt(t){Kt().$$.on_mount.push(t)}const L=[],J=[];let S=[];const ct=[],Qt=Promise.resolve();let tt=!1;function Xt(){tt||(tt=!0,Qt.then(k))}function V(t){S.push(t)}const Q=new Set;let v=0;function k(){if(v!==0)return;const t=z;do{try{for(;v<L.length;){const e=L[v];v++,R(e),Yt(e.$$)}}catch(e){throw L.length=0,v=0,e}for(R(null),L.length=0,v=0;J.length;)J.pop()();for(let e=0;e<S.length;e+=1){const n=S[e];Q.has(n)||(Q.add(n),n())}S.length=0}while(L.length);for(;ct.length;)ct.pop()();tt=!1,Q.clear(),R(t)}function Yt(t){if(t.fragment!==null){t.update(),x(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(V)}}function te(t){const e=[],n=[];S.forEach(s=>t.indexOf(s)===-1?e.push(s):n.push(s)),n.forEach(s=>s()),S=e}const I=new Set;let C;function ee(){C={r:0,c:[],p:C}}function ne(){C.r||x(C.c),C=C.p}function E(t,e){t&&t.i&&(I.delete(t),t.i(e))}function P(t,e,n,s){if(t&&t.o){if(I.has(t))return;I.add(t),C.c.push(()=>{I.delete(t),s&&(n&&t.d(1),s())}),t.o(e)}else s&&s()}function se(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function ie(t,e,n){const{fragment:s,after_update:i}=t.$$;s&&s.m(e,n),V(()=>{const o=t.$$.on_mount.map(ht).filter(et);t.$$.on_destroy?t.$$.on_destroy.push(...o):x(o),t.$$.on_mount=[]}),i.forEach(V)}function oe(t,e){const n=t.$$;n.fragment!==null&&(te(n.after_update),x(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function re(t,e){t.$$.dirty[0]===-1&&(L.push(t),Xt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function bt(t,e,n,s,i,o,l=null,u=[-1]){const c=z;R(t);const r=t.$$={fragment:null,ctx:[],props:o,update:j,not_equal:i,bound:lt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:lt(),dirty:u,skip_bound:!1,root:e.target||c.$$.root};l&&l(r.root);let p=!1;if(r.ctx=n?n(t,e.props||{},(_,a,...h)=>{const M=h.length?h[0]:a;return r.ctx&&i(r.ctx[_],r.ctx[_]=M)&&(!r.skip_bound&&r.bound[_]&&r.bound[_](M),p&&re(t,_)),a}):[],r.update(),p=!0,x(r.before_update),r.fragment=s?s(r.ctx):!1,e.target){if(e.hydrate){const _=Ft(e.target);r.fragment&&r.fragment.l(_),_.forEach(H)}else r.fragment&&r.fragment.c();e.intro&&E(t.$$.fragment),ie(t,e.target,e.anchor),k()}R(c)}let yt;typeof HTMLElement=="function"&&(yt=class extends HTMLElement{constructor(e,n,s){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(e,n,s){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const i=this.$$c.$on(e,n);this.$$l_u.set(n,i)}super.addEventListener(e,n,s)}removeEventListener(e,n,s){if(super.removeEventListener(e,n,s),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return rt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(o){return()=>{let l;return{c:function(){l=w("slot"),o!=="default"&&d(l,"name",o)},m:function(r,p){W(r,l,p)},d:function(r){r&&H(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=Gt(this);for(const o of this.$$s)o in s&&(n[o]=[e(o)]);for(const o of this.attributes){const l=this.$$g_p(o.name);l in this.$$d||(this.$$d[l]=F(l,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:ot(it({},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 l=F(o,this.$$d[o],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,l)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const l of this.$$l[o]){const u=this.$$c.$on(o,l);this.$$l_u.set(l,u)}this.$$l={}}})}attributeChangedCallback(e,n,s){var i;this.$$r||(e=this.$$g_p(e),this.$$d[e]=F(e,s,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function F(t,e,n,s){var o;const i=(o=n[t])==null?void 0:o.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!s||!n[t])return e;if(s==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function wt(t,e,n,s,i,o){let l=class extends yt{constructor(){super(t,n,i),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(u=>(e[u].attribute||u).toLowerCase())}};return Object.keys(e).forEach(u=>{Object.defineProperty(l.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(c){var r;c=F(u,c,e),this.$$d[u]=c,(r=this.$$c)==null||r.$set({[u]:c})}})}),s.forEach(u=>{Object.defineProperty(l.prototype,u,{get(){var c;return(c=this.$$c)==null?void 0:c[u]}})}),t.element=l,l}class Ct{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){oe(this,1),this.$destroy=j}$on(e,n){if(!et(n))return j;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const i=s.indexOf(n);i!==-1&&s.splice(i,1)}}$set(e){this.$$set&&!At(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const le="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(le);function xt(t,e){if(t){const n=document.createElement("style");n.innerHTML=e,t.appendChild(n)}}function Mt(t,e){const n=new URL(e);fetch(n.href).then(s=>s.text()).then(s=>{const i=document.createElement("style");i.innerHTML=s,t&&t.appendChild(i)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function vt(t,e,n){if(window.emMessageBus){const s=document.createElement("style");window.emMessageBus.subscribe(e,i=>{s.innerHTML=i,t&&t.appendChild(s)})}}function ce(t){gt(t,"svelte-kug7b4","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CashierModalWindow{container-type:inline-size;container-name:confirm-modal;display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.1))}.CashierModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;box-shadow:0 2px 6px 0 var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff)}.ModalOkBtn{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}@container confirm-modal (max-width: 750px){.CashierModalContainer{margin:var(--emw--spacing-x-large, 30px) var(--emw--spacing-small, 12px)}}")}const ue=t=>({}),ut=t=>({}),fe=t=>({}),ft=t=>({}),ae=t=>({}),at=t=>({class:"CashierModalText"}),de=t=>({}),dt=t=>({class:"CashierModalTitle"});function he(t){let e,n;return{c(){e=X("svg"),n=X("path"),d(n,"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"),d(n,"fill","#111111"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"width","13"),d(e,"height","20"),d(e,"viewBox","0 0 13 13"),d(e,"fill","none")},m(s,i){W(s,e,i),y(e,n)},p:j,d(s){s&&H(e)}}}function _e(t){let e,n,s,i,o,l,u,c,r,p,_;const a=t[7].title,h=B(a,t,t[6],dt),M=t[7].text,m=B(M,t,t[6],at),Z=t[7].confirm,g=B(Z,t,t[6],ft),G=t[7].close,U=B(G,t,t[6],ut),O=U||he();return{c(){e=w("div"),n=w("div"),s=w("div"),h&&h.c(),i=D(),m&&m.c(),o=D(),l=w("span"),g&&g.c(),u=D(),c=w("span"),O.c(),d(l,"class","ModalOkBtn"),d(l,"role","button"),d(c,"class","ModalCloseBtn"),d(c,"role","button"),d(s,"class","CashierModalContainer"),d(n,"class","CashierModalWindow"),d(n,"id","Modal")},m(f,b){W(f,e,b),y(e,n),y(n,s),h&&h.m(s,null),y(s,i),m&&m.m(s,null),y(s,o),y(s,l),g&&g.m(l,null),y(s,u),y(s,c),O.m(c,null),t[8](e),r=!0,p||(_=[Y(l,"click",t[2]),Y(c,"click",t[1])],p=!0)},p(f,[b]){h&&h.p&&(!r||b&64)&&A(h,a,f,f[6],r?N(a,f[6],b,de):T(f[6]),dt),m&&m.p&&(!r||b&64)&&A(m,M,f,f[6],r?N(M,f[6],b,ae):T(f[6]),at),g&&g.p&&(!r||b&64)&&A(g,Z,f,f[6],r?N(Z,f[6],b,fe):T(f[6]),ft),U&&U.p&&(!r||b&64)&&A(U,G,f,f[6],r?N(G,f[6],b,ue):T(f[6]),ut)},i(f){r||(E(h,f),E(m,f),E(g,f),E(O,f),r=!0)},o(f){P(h,f),P(m,f),P(g,f),P(O,f),r=!1},d(f){f&&H(e),h&&h.d(f),m&&m.d(f),g&&g.d(f),O.d(f),t[8](null),p=!1,x(_)}}}function $e(t,e,n){let{$$slots:s={},$$scope:i}=e,{clientstyling:o=""}=e,{clientstylingurl:l=""}=e,{mbsource:u=""}=e,c;const r=()=>{window.postMessage({type:"CloseModal"},window.location.href)},p=()=>{window.postMessage({type:"ConfirmModal"},window.location.href),r()};pt(()=>()=>{});function _(a){J[a?"unshift":"push"](()=>{c=a,n(0,c)})}return t.$$set=a=>{"clientstyling"in a&&n(3,o=a.clientstyling),"clientstylingurl"in a&&n(4,l=a.clientstylingurl),"mbsource"in a&&n(5,u=a.mbsource),"$$scope"in a&&n(6,i=a.$$scope)},t.$$.update=()=>{t.$$.dirty&9&&o&&c&&xt(c,o),t.$$.dirty&17&&l&&c&&Mt(c,l),t.$$.dirty&33&&u&&c&&vt(c,`${u}.Style`)},[c,r,p,o,l,u,i,s,_]}class Lt extends Ct{constructor(e){super(),bt(this,e,$e,_e,_t,{clientstyling:3,clientstylingurl:4,mbsource:5},ce)}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),k()}get mbsource(){return this.$$.ctx[5]}set mbsource(e){this.$$set({mbsource:e}),k()}}wt(Lt,{clientstyling:{},clientstylingurl:{},mbsource:{}},["title","text","confirm","close"],[],!0);const me=Object.freeze(Object.defineProperty({__proto__:null,default:Lt},Symbol.toStringTag,{value:"Module"}));exports.CashierConfirmModal_ce=me;exports.SvelteComponent=Ct;exports.add_render_callback=V;exports.append=y;exports.append_styles=gt;exports.attr=d;exports.binding_callbacks=J;exports.check_outros=ne;exports.component_subscribe=Tt;exports.create_custom_element=wt;exports.create_slot=B;exports.destroy_each=Ht;exports.detach=H;exports.element=w;exports.empty=Ut;exports.ensure_array_like=se;exports.flush=k;exports.get_all_dirty_from_scope=T;exports.get_slot_changes=N;exports.globals=Pt;exports.group_outros=ee;exports.init=bt;exports.insert=W;exports.is_function=et;exports.listen=Y;exports.noop=j;exports.onMount=pt;exports.prevent_default=qt;exports.run_all=x;exports.safe_not_equal=_t;exports.setClientStyling=xt;exports.setClientStylingURL=Mt;exports.setStreamStyling=vt;exports.set_custom_element_data=Dt;exports.set_data=Jt;exports.set_input_value=Vt;exports.set_style=Wt;exports.space=D;exports.src_url_equal=Nt;exports.subscribe=$t;exports.svg_element=X;exports.text=nt;exports.to_number=It;exports.toggle_class=Zt;exports.transition_in=E;exports.transition_out=P;exports.update_slot_base=A;
1
+ "use strict";var Et=Object.defineProperty,St=Object.defineProperties;var kt=Object.getOwnPropertyDescriptors;var st=Object.getOwnPropertySymbols;var jt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable;var K=(t,e,n)=>e in t?Et(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,it=(t,e)=>{for(var n in e||(e={}))jt.call(e,n)&&K(t,n,e[n]);if(st)for(var n of st(e))Ot.call(e,n)&&K(t,n,e[n]);return t},ot=(t,e)=>St(t,kt(e));var $=(t,e,n)=>(K(t,typeof e!="symbol"?e+"":e,n),n);var rt=(t,e,n)=>new Promise((s,i)=>{var o=c=>{try{u(n.next(c))}catch(r){i(r)}},l=c=>{try{u(n.throw(c))}catch(r){i(r)}},u=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,l);u((n=n.apply(t,e)).next())});function O(){}function Bt(t,e){for(const n in e)t[n]=e[n];return t}function ht(t){return t()}function lt(){return Object.create(null)}function M(t){t.forEach(ht)}function et(t){return typeof t=="function"}function _t(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let q;function Nt(t,e){return t===e?!0:(q||(q=document.createElement("a")),q.href=e,t===q.href)}function At(t){return Object.keys(t).length===0}function $t(t,...e){if(t==null){for(const s of e)s(void 0);return O}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Tt(t,e,n){t.$$.on_destroy.push($t(e,n))}function B(t,e,n,s){if(t){const i=mt(t,e,n,s);return t[0](i)}}function mt(t,e,n,s){return t[1]&&s?Bt(n.ctx.slice(),t[1](s(e))):n.ctx}function N(t,e,n,s){if(t[2]&&s){const i=t[2](s(n));if(e.dirty===void 0)return i;if(typeof i=="object"){const o=[],l=Math.max(e.dirty.length,i.length);for(let u=0;u<l;u+=1)o[u]=e.dirty[u]|i[u];return o}return e.dirty|i}return e.dirty}function A(t,e,n,s,i,o){if(i){const l=mt(e,n,s,o);t.p(l,i)}}function T(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let s=0;s<n;s++)e[s]=-1;return e}return-1}const Pt=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function y(t,e){t.appendChild(e)}function gt(t,e,n){const s=Rt(t);if(!s.getElementById(e)){const i=C("style");i.id=e,i.textContent=n,zt(s,i)}}function Rt(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function zt(t,e){return y(t.head||t,e),e.sheet}function W(t,e,n){t.insertBefore(e,n||null)}function H(t){t.parentNode&&t.parentNode.removeChild(t)}function Ht(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function C(t){return document.createElement(t)}function X(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function nt(t){return document.createTextNode(t)}function D(){return nt(" ")}function Ut(){return nt("")}function Y(t,e,n,s){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)}function qt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function d(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Dt(t,e,n){const s=e.toLowerCase();s in t?t[s]=typeof t[s]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:d(t,e,n)}function It(t){return t===""?null:+t}function Ft(t){return Array.from(t.childNodes)}function Jt(t,e){e=""+e,t.data!==e&&(t.data=e)}function Vt(t,e){t.value=e==null?"":e}function Wt(t,e,n,s){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,"")}function Zt(t,e,n){t.classList.toggle(e,!!n)}function Gt(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let z;function R(t){z=t}function Kt(){if(!z)throw new Error("Function called outside component initialization");return z}function pt(t){Kt().$$.on_mount.push(t)}const E=[],J=[];let k=[];const ct=[],Qt=Promise.resolve();let tt=!1;function Xt(){tt||(tt=!0,Qt.then(j))}function V(t){k.push(t)}const Q=new Set;let L=0;function j(){if(L!==0)return;const t=z;do{try{for(;L<E.length;){const e=E[L];L++,R(e),Yt(e.$$)}}catch(e){throw E.length=0,L=0,e}for(R(null),E.length=0,L=0;J.length;)J.pop()();for(let e=0;e<k.length;e+=1){const n=k[e];Q.has(n)||(Q.add(n),n())}k.length=0}while(E.length);for(;ct.length;)ct.pop()();tt=!1,Q.clear(),R(t)}function Yt(t){if(t.fragment!==null){t.update(),M(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(V)}}function te(t){const e=[],n=[];k.forEach(s=>t.indexOf(s)===-1?e.push(s):n.push(s)),n.forEach(s=>s()),k=e}const I=new Set;let x;function ee(){x={r:0,c:[],p:x}}function ne(){x.r||M(x.c),x=x.p}function S(t,e){t&&t.i&&(I.delete(t),t.i(e))}function P(t,e,n,s){if(t&&t.o){if(I.has(t))return;I.add(t),x.c.push(()=>{I.delete(t),s&&(n&&t.d(1),s())}),t.o(e)}else s&&s()}function se(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function ie(t,e,n){const{fragment:s,after_update:i}=t.$$;s&&s.m(e,n),V(()=>{const o=t.$$.on_mount.map(ht).filter(et);t.$$.on_destroy?t.$$.on_destroy.push(...o):M(o),t.$$.on_mount=[]}),i.forEach(V)}function oe(t,e){const n=t.$$;n.fragment!==null&&(te(n.after_update),M(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function re(t,e){t.$$.dirty[0]===-1&&(E.push(t),Xt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function bt(t,e,n,s,i,o,l=null,u=[-1]){const c=z;R(t);const r=t.$$={fragment:null,ctx:[],props:o,update:O,not_equal:i,bound:lt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:lt(),dirty:u,skip_bound:!1,root:e.target||c.$$.root};l&&l(r.root);let p=!1;if(r.ctx=n?n(t,e.props||{},(_,a,...h)=>{const v=h.length?h[0]:a;return r.ctx&&i(r.ctx[_],r.ctx[_]=v)&&(!r.skip_bound&&r.bound[_]&&r.bound[_](v),p&&re(t,_)),a}):[],r.update(),p=!0,M(r.before_update),r.fragment=s?s(r.ctx):!1,e.target){if(e.hydrate){const _=Ft(e.target);r.fragment&&r.fragment.l(_),_.forEach(H)}else r.fragment&&r.fragment.c();e.intro&&S(t.$$.fragment),ie(t,e.target,e.anchor),j()}R(c)}let yt;typeof HTMLElement=="function"&&(yt=class extends HTMLElement{constructor(e,n,s){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(e,n,s){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const i=this.$$c.$on(e,n);this.$$l_u.set(n,i)}super.addEventListener(e,n,s)}removeEventListener(e,n,s){if(super.removeEventListener(e,n,s),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return rt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(o){return()=>{let l;return{c:function(){l=C("slot"),o!=="default"&&d(l,"name",o)},m:function(r,p){W(r,l,p)},d:function(r){r&&H(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=Gt(this);for(const o of this.$$s)o in s&&(n[o]=[e(o)]);for(const o of this.attributes){const l=this.$$g_p(o.name);l in this.$$d||(this.$$d[l]=F(l,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:ot(it({},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 l=F(o,this.$$d[o],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,l)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const l of this.$$l[o]){const u=this.$$c.$on(o,l);this.$$l_u.set(l,u)}this.$$l={}}})}attributeChangedCallback(e,n,s){var i;this.$$r||(e=this.$$g_p(e),this.$$d[e]=F(e,s,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function F(t,e,n,s){var o;const i=(o=n[t])==null?void 0:o.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!s||!n[t])return e;if(s==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function wt(t,e,n,s,i,o){let l=class extends yt{constructor(){super(t,n,i),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(u=>(e[u].attribute||u).toLowerCase())}};return Object.keys(e).forEach(u=>{Object.defineProperty(l.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(c){var r;c=F(u,c,e),this.$$d[u]=c,(r=this.$$c)==null||r.$set({[u]:c})}})}),s.forEach(u=>{Object.defineProperty(l.prototype,u,{get(){var c;return(c=this.$$c)==null?void 0:c[u]}})}),t.element=l,l}class Ct{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){oe(this,1),this.$destroy=O}$on(e,n){if(!et(n))return O;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const i=s.indexOf(n);i!==-1&&s.splice(i,1)}}$set(e){this.$$set&&!At(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const le="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(le);function xt(t,e){if(t){const n=document.createElement("style");n.innerHTML=e,t.appendChild(n)}}function Mt(t,e){const n=new URL(e);fetch(n.href).then(s=>s.text()).then(s=>{const i=document.createElement("style");i.innerHTML=s,t&&t.appendChild(i)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function vt(t,e,n){if(window.emMessageBus){const s=document.createElement("style");window.emMessageBus.subscribe(e,i=>{s.innerHTML=i,t&&t.appendChild(s)})}}function ce(t){gt(t,"svelte-kug7b4","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CashierModalWindow{container-type:inline-size;container-name:confirm-modal;display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.1))}.CashierModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;box-shadow:0 2px 6px 0 var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff)}.ModalOkBtn{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}@container confirm-modal (max-width: 750px){.CashierModalContainer{margin:var(--emw--spacing-x-large, 30px) var(--emw--spacing-small, 12px)}}")}const ue=t=>({}),ut=t=>({}),fe=t=>({}),ft=t=>({}),ae=t=>({}),at=t=>({class:"CashierModalText"}),de=t=>({}),dt=t=>({class:"CashierModalTitle"});function he(t){let e,n;return{c(){e=X("svg"),n=X("path"),d(n,"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"),d(n,"fill","#111111"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"width","13"),d(e,"height","20"),d(e,"viewBox","0 0 13 13"),d(e,"fill","none")},m(s,i){W(s,e,i),y(e,n)},p:O,d(s){s&&H(e)}}}function _e(t){let e,n,s,i,o,l,u,c,r,p,_;const a=t[7].title,h=B(a,t,t[6],dt),v=t[7].text,m=B(v,t,t[6],at),Z=t[7].confirm,g=B(Z,t,t[6],ft),G=t[7].close,U=B(G,t,t[6],ut),w=U||he();return{c(){e=C("div"),n=C("div"),s=C("div"),h&&h.c(),i=D(),m&&m.c(),o=D(),l=C("span"),g&&g.c(),u=D(),c=C("span"),w&&w.c(),d(l,"class","ModalOkBtn"),d(l,"role","button"),d(c,"class","ModalCloseBtn"),d(c,"role","button"),d(s,"class","CashierModalContainer"),d(n,"class","CashierModalWindow"),d(n,"id","Modal")},m(f,b){W(f,e,b),y(e,n),y(n,s),h&&h.m(s,null),y(s,i),m&&m.m(s,null),y(s,o),y(s,l),g&&g.m(l,null),y(s,u),y(s,c),w&&w.m(c,null),t[8](e),r=!0,p||(_=[Y(l,"click",t[2]),Y(c,"click",t[1])],p=!0)},p(f,[b]){h&&h.p&&(!r||b&64)&&A(h,a,f,f[6],r?N(a,f[6],b,de):T(f[6]),dt),m&&m.p&&(!r||b&64)&&A(m,v,f,f[6],r?N(v,f[6],b,ae):T(f[6]),at),g&&g.p&&(!r||b&64)&&A(g,Z,f,f[6],r?N(Z,f[6],b,fe):T(f[6]),ft),U&&U.p&&(!r||b&64)&&A(U,G,f,f[6],r?N(G,f[6],b,ue):T(f[6]),ut)},i(f){r||(S(h,f),S(m,f),S(g,f),S(w,f),r=!0)},o(f){P(h,f),P(m,f),P(g,f),P(w,f),r=!1},d(f){f&&H(e),h&&h.d(f),m&&m.d(f),g&&g.d(f),w&&w.d(f),t[8](null),p=!1,M(_)}}}function $e(t,e,n){let{$$slots:s={},$$scope:i}=e,{clientstyling:o=""}=e,{clientstylingurl:l=""}=e,{mbsource:u=""}=e,c;const r=()=>{window.postMessage({type:"CloseModal"},window.location.href)},p=()=>{window.postMessage({type:"ConfirmModal"},window.location.href),r()};pt(()=>()=>{});function _(a){J[a?"unshift":"push"](()=>{c=a,n(0,c)})}return t.$$set=a=>{"clientstyling"in a&&n(3,o=a.clientstyling),"clientstylingurl"in a&&n(4,l=a.clientstylingurl),"mbsource"in a&&n(5,u=a.mbsource),"$$scope"in a&&n(6,i=a.$$scope)},t.$$.update=()=>{t.$$.dirty&9&&o&&c&&xt(c,o),t.$$.dirty&17&&l&&c&&Mt(c,l),t.$$.dirty&33&&u&&c&&vt(c,`${u}.Style`)},[c,r,p,o,l,u,i,s,_]}class Lt extends Ct{constructor(e){super(),bt(this,e,$e,_e,_t,{clientstyling:3,clientstylingurl:4,mbsource:5},ce)}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get mbsource(){return this.$$.ctx[5]}set mbsource(e){this.$$set({mbsource:e}),j()}}wt(Lt,{clientstyling:{},clientstylingurl:{},mbsource:{}},["title","text","confirm","close"],[],!0);const me=Object.freeze(Object.defineProperty({__proto__:null,default:Lt},Symbol.toStringTag,{value:"Module"}));exports.CashierConfirmModal_ce=me;exports.SvelteComponent=Ct;exports.add_render_callback=V;exports.append=y;exports.append_styles=gt;exports.attr=d;exports.binding_callbacks=J;exports.check_outros=ne;exports.component_subscribe=Tt;exports.create_custom_element=wt;exports.create_slot=B;exports.destroy_each=Ht;exports.detach=H;exports.element=C;exports.empty=Ut;exports.ensure_array_like=se;exports.flush=j;exports.get_all_dirty_from_scope=T;exports.get_slot_changes=N;exports.globals=Pt;exports.group_outros=ee;exports.init=bt;exports.insert=W;exports.is_function=et;exports.listen=Y;exports.noop=O;exports.onMount=pt;exports.prevent_default=qt;exports.run_all=M;exports.safe_not_equal=_t;exports.setClientStyling=xt;exports.setClientStylingURL=Mt;exports.setStreamStyling=vt;exports.set_custom_element_data=Dt;exports.set_data=Jt;exports.set_input_value=Vt;exports.set_style=Wt;exports.space=D;exports.src_url_equal=Nt;exports.subscribe=$t;exports.svg_element=X;exports.text=nt;exports.to_number=It;exports.toggle_class=Zt;exports.transition_in=S;exports.transition_out=P;exports.update_slot_base=A;
@@ -14,7 +14,7 @@ function ot(t) {
14
14
  function Z() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function E(t) {
17
+ function v(t) {
18
18
  t.forEach(ot);
19
19
  }
20
20
  function rt(t) {
@@ -91,7 +91,7 @@ function p(t, e) {
91
91
  function _t(t, e, n) {
92
92
  const s = mt(t);
93
93
  if (!s.getElementById(e)) {
94
- const i = y("style");
94
+ const i = w("style");
95
95
  i.id = e, i.textContent = n, gt(s, i);
96
96
  }
97
97
  }
@@ -122,7 +122,7 @@ function Wt(t, e) {
122
122
  for (let n = 0; n < t.length; n += 1)
123
123
  t[n] && t[n].d(e);
124
124
  }
125
- function y(t) {
125
+ function w(t) {
126
126
  return document.createElement(t);
127
127
  }
128
128
  function X(t) {
@@ -192,66 +192,66 @@ function yt() {
192
192
  function wt(t) {
193
193
  yt().$$.on_mount.push(t);
194
194
  }
195
- const L = [], W = [];
196
- let M = [];
195
+ const M = [], W = [];
196
+ let E = [];
197
197
  const tt = [], xt = /* @__PURE__ */ Promise.resolve();
198
198
  let G = !1;
199
199
  function Ct() {
200
200
  G || (G = !0, xt.then(O));
201
201
  }
202
202
  function K(t) {
203
- M.push(t);
203
+ E.push(t);
204
204
  }
205
205
  const V = /* @__PURE__ */ new Set();
206
- let C = 0;
206
+ let L = 0;
207
207
  function O() {
208
- if (C !== 0)
208
+ if (L !== 0)
209
209
  return;
210
210
  const t = B;
211
211
  do {
212
212
  try {
213
- for (; C < L.length; ) {
214
- const e = L[C];
215
- C++, j(e), Lt(e.$$);
213
+ for (; L < M.length; ) {
214
+ const e = M[L];
215
+ L++, j(e), Lt(e.$$);
216
216
  }
217
217
  } catch (e) {
218
- throw L.length = 0, C = 0, e;
218
+ throw M.length = 0, L = 0, e;
219
219
  }
220
- for (j(null), L.length = 0, C = 0; W.length; )
220
+ for (j(null), M.length = 0, L = 0; W.length; )
221
221
  W.pop()();
222
- for (let e = 0; e < M.length; e += 1) {
223
- const n = M[e];
222
+ for (let e = 0; e < E.length; e += 1) {
223
+ const n = E[e];
224
224
  V.has(n) || (V.add(n), n());
225
225
  }
226
- M.length = 0;
227
- } while (L.length);
226
+ E.length = 0;
227
+ } while (M.length);
228
228
  for (; tt.length; )
229
229
  tt.pop()();
230
230
  G = !1, V.clear(), j(t);
231
231
  }
232
232
  function Lt(t) {
233
233
  if (t.fragment !== null) {
234
- t.update(), E(t.before_update);
234
+ t.update(), v(t.before_update);
235
235
  const e = t.dirty;
236
236
  t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(K);
237
237
  }
238
238
  }
239
239
  function Mt(t) {
240
240
  const e = [], n = [];
241
- M.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), M = e;
241
+ E.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), E = e;
242
242
  }
243
243
  const U = /* @__PURE__ */ new Set();
244
- let w;
244
+ let x;
245
245
  function ne() {
246
- w = {
246
+ x = {
247
247
  r: 0,
248
248
  c: [],
249
- p: w
249
+ p: x
250
250
  // parent group
251
251
  };
252
252
  }
253
253
  function se() {
254
- w.r || E(w.c), w = w.p;
254
+ x.r || v(x.c), x = x.p;
255
255
  }
256
256
  function k(t, e) {
257
257
  t && t.i && (U.delete(t), t.i(e));
@@ -260,7 +260,7 @@ function H(t, e, n, s) {
260
260
  if (t && t.o) {
261
261
  if (U.has(t))
262
262
  return;
263
- U.add(t), w.c.push(() => {
263
+ U.add(t), x.c.push(() => {
264
264
  U.delete(t), s && (n && t.d(1), s());
265
265
  }), t.o(e);
266
266
  } else
@@ -273,15 +273,15 @@ function Et(t, e, n) {
273
273
  const { fragment: s, after_update: i } = t.$$;
274
274
  s && s.m(e, n), K(() => {
275
275
  const c = t.$$.on_mount.map(ot).filter(rt);
276
- t.$$.on_destroy ? t.$$.on_destroy.push(...c) : E(c), t.$$.on_mount = [];
276
+ t.$$.on_destroy ? t.$$.on_destroy.push(...c) : v(c), t.$$.on_mount = [];
277
277
  }), i.forEach(K);
278
278
  }
279
279
  function vt(t, e) {
280
280
  const n = t.$$;
281
- n.fragment !== null && (Mt(n.after_update), E(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
281
+ n.fragment !== null && (Mt(n.after_update), v(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
282
282
  }
283
283
  function kt(t, e) {
284
- t.$$.dirty[0] === -1 && (L.push(t), Ct(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
284
+ t.$$.dirty[0] === -1 && (M.push(t), Ct(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
285
285
  }
286
286
  function jt(t, e, n, s, i, c, a = null, l = [-1]) {
287
287
  const u = B;
@@ -310,9 +310,9 @@ function jt(t, e, n, s, i, c, a = null, l = [-1]) {
310
310
  a && a(o.root);
311
311
  let b = !1;
312
312
  if (o.ctx = n ? n(t, e.props || {}, ($, f, ...h) => {
313
- const x = h.length ? h[0] : f;
314
- return o.ctx && i(o.ctx[$], o.ctx[$] = x) && (!o.skip_bound && o.bound[$] && o.bound[$](x), b && kt(t, $)), f;
315
- }) : [], o.update(), b = !0, E(o.before_update), o.fragment = s ? s(o.ctx) : !1, e.target) {
313
+ const C = h.length ? h[0] : f;
314
+ return o.ctx && i(o.ctx[$], o.ctx[$] = C) && (!o.skip_bound && o.bound[$] && o.bound[$](C), b && kt(t, $)), f;
315
+ }) : [], o.update(), b = !0, v(o.before_update), o.fragment = s ? s(o.ctx) : !1, e.target) {
316
316
  if (e.hydrate) {
317
317
  const $ = pt(e.target);
318
318
  o.fragment && o.fragment.l($), $.forEach(I);
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
365
365
  let c;
366
366
  return {
367
367
  c: function() {
368
- c = y("slot"), i !== "default" && d(c, "name", i);
368
+ c = w("slot"), i !== "default" && d(c, "name", i);
369
369
  },
370
370
  /**
371
371
  * @param {HTMLElement} target
@@ -597,11 +597,11 @@ function It(t) {
597
597
  /*$$scope*/
598
598
  t[6],
599
599
  it
600
- ), x = (
600
+ ), C = (
601
601
  /*#slots*/
602
602
  t[7].text
603
603
  ), _ = T(
604
- x,
604
+ C,
605
605
  t,
606
606
  /*$$scope*/
607
607
  t[6],
@@ -624,13 +624,13 @@ function It(t) {
624
624
  /*$$scope*/
625
625
  t[6],
626
626
  et
627
- ), v = N || Dt();
627
+ ), y = N || Dt();
628
628
  return {
629
629
  c() {
630
- e = y("div"), n = y("div"), s = y("div"), h && h.c(), i = J(), _ && _.c(), c = J(), a = y("span"), m && m.c(), l = J(), u = y("span"), v.c(), d(a, "class", "ModalOkBtn"), d(a, "role", "button"), d(u, "class", "ModalCloseBtn"), d(u, "role", "button"), d(s, "class", "CashierModalContainer"), d(n, "class", "CashierModalWindow"), d(n, "id", "Modal");
630
+ e = w("div"), n = w("div"), s = w("div"), h && h.c(), i = J(), _ && _.c(), c = J(), a = w("span"), m && m.c(), l = J(), u = w("span"), y && y.c(), d(a, "class", "ModalOkBtn"), d(a, "role", "button"), d(u, "class", "ModalCloseBtn"), d(u, "role", "button"), d(s, "class", "CashierModalContainer"), d(n, "class", "CashierModalWindow"), d(n, "id", "Modal");
631
631
  },
632
632
  m(r, g) {
633
- Q(r, e, g), p(e, n), p(n, s), h && h.m(s, null), p(s, i), _ && _.m(s, null), p(s, c), p(s, a), m && m.m(a, null), p(s, l), p(s, u), v.m(u, null), t[8](e), o = !0, b || ($ = [
633
+ Q(r, e, g), p(e, n), p(n, s), h && h.m(s, null), p(s, i), _ && _.m(s, null), p(s, c), p(s, a), m && m.m(a, null), p(s, l), p(s, u), y && y.m(u, null), t[8](e), o = !0, b || ($ = [
634
634
  Y(
635
635
  a,
636
636
  "click",
@@ -667,12 +667,12 @@ function It(t) {
667
667
  ), _ && _.p && (!o || g & /*$$scope*/
668
668
  64) && z(
669
669
  _,
670
- x,
670
+ C,
671
671
  r,
672
672
  /*$$scope*/
673
673
  r[6],
674
674
  o ? P(
675
- x,
675
+ C,
676
676
  /*$$scope*/
677
677
  r[6],
678
678
  g,
@@ -721,13 +721,13 @@ function It(t) {
721
721
  );
722
722
  },
723
723
  i(r) {
724
- o || (k(h, r), k(_, r), k(m, r), k(v, r), o = !0);
724
+ o || (k(h, r), k(_, r), k(m, r), k(y, r), o = !0);
725
725
  },
726
726
  o(r) {
727
- H(h, r), H(_, r), H(m, r), H(v, r), o = !1;
727
+ H(h, r), H(_, r), H(m, r), H(y, r), o = !1;
728
728
  },
729
729
  d(r) {
730
- r && I(e), h && h.d(r), _ && _.d(r), m && m.d(r), v.d(r), t[8](null), b = !1, E($);
730
+ r && I(e), h && h.d(r), _ && _.d(r), m && m.d(r), y && y.d(r), t[8](null), b = !1, v($);
731
731
  }
732
732
  };
733
733
  }
@@ -805,13 +805,13 @@ const oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
805
805
  default: at
806
806
  }, Symbol.toStringTag, { value: "Module" }));
807
807
  export {
808
- Xt as A,
809
- Y as B,
810
- ne as C,
811
- W as D,
812
- Nt as E,
813
- At as F,
814
- Tt as G,
808
+ Gt as A,
809
+ lt as B,
810
+ Xt as C,
811
+ Y as D,
812
+ ne as E,
813
+ W as F,
814
+ Nt as G,
815
815
  Ft as H,
816
816
  Qt as I,
817
817
  K as J,
@@ -832,7 +832,7 @@ export {
832
832
  _t as d,
833
833
  T as e,
834
834
  O as f,
835
- y as g,
835
+ w as g,
836
836
  J as h,
837
837
  rt as i,
838
838
  d as j,
@@ -843,13 +843,13 @@ export {
843
843
  P as o,
844
844
  H as p,
845
845
  se as q,
846
- E as r,
846
+ v as r,
847
847
  $t as s,
848
848
  k as t,
849
849
  z as u,
850
850
  I as v,
851
851
  Jt as w,
852
852
  wt as x,
853
- Gt as y,
854
- lt as z
853
+ At as y,
854
+ Tt as z
855
855
  };