@everymatrix/cashier-verifications 1.85.17 → 1.85.18
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/CashierModal-BhP-vEL1.js +998 -0
- package/components/CashierModal-D-38kbCn.cjs +1 -0
- package/components/CashierModal-wkeBmJzj.js +961 -0
- package/components/{CashierVerifications-B8rHY1ez.js → CashierVerifications-CHGNVfvZ.js} +134 -133
- package/components/{CashierVerifications-YXta-nvq.cjs → CashierVerifications-Sbo9AoCY.cjs} +4 -4
- package/components/{CashierVerifications-DvpOyFT4.js → CashierVerifications-ezqTSEhN.js} +136 -135
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/esnext/cashier-verifications.js +1 -1
- package/package.json +1 -1
- package/components/CashierModal-BpNd3m4h.js +0 -1019
- package/components/CashierModal-CTEDX9IF.js +0 -1056
- package/components/CashierModal-Dr7_3_b3.cjs +0 -4
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";var Pt=Object.defineProperty,Rt=Object.defineProperties;var Tt=Object.getOwnPropertyDescriptors;var st=Object.getOwnPropertySymbols;var Ft=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable;var G=(t,e,n)=>e in t?Pt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ot=(t,e)=>{for(var n in e||(e={}))Ft.call(e,n)&&G(t,n,e[n]);if(st)for(var n of st(e))Ht.call(e,n)&&G(t,n,e[n]);return t},rt=(t,e)=>Rt(t,Tt(e));var y=(t,e,n)=>(G(t,typeof e!="symbol"?e+"":e,n),n);var ct=(t,e,n)=>new Promise((i,o)=>{var s=u=>{try{r(n.next(u))}catch(l){o(l)}},c=u=>{try{r(n.throw(u))}catch(l){o(l)}},r=u=>u.done?i(u.value):Promise.resolve(u.value).then(s,c);r((n=n.apply(t,e)).next())});function E(){}const mt=t=>t;function It(t,e){for(const n in e)t[n]=e[n];return t}function $t(t){return t()}function lt(){return Object.create(null)}function M(t){t.forEach($t)}function V(t){return typeof t=="function"}function pt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function Ut(t){return Object.keys(t).length===0}function yt(t,...e){if(t==null){for(const i of e)i(void 0);return E}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Wt(t,e,n){t.$$.on_destroy.push(yt(e,n))}function Dt(t,e,n,i){if(t){const o=bt(t,e,n,i);return t[0](o)}}function bt(t,e,n,i){return t[1]&&i?It(n.ctx.slice(),t[1](i(e))):n.ctx}function qt(t,e,n,i){if(t[2]&&i){const o=t[2](i(n));if(e.dirty===void 0)return o;if(typeof o=="object"){const s=[],c=Math.max(e.dirty.length,o.length);for(let r=0;r<c;r+=1)s[r]=e.dirty[r]|o[r];return s}return e.dirty|o}return e.dirty}function Jt(t,e,n,i,o,s){if(o){const c=bt(e,n,i,s);t.p(c,o)}}function Vt(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let i=0;i<n;i++)e[i]=-1;return e}return-1}const wt=typeof window!="undefined";let Zt=wt?()=>window.performance.now():()=>Date.now(),et=wt?t=>requestAnimationFrame(t):E;const j=new Set;function xt(t){j.forEach(e=>{e.c(t)||(j.delete(e),e.f())}),j.size!==0&&et(xt)}function Gt(t){let e;return j.size===0&&et(xt),{promise:new Promise(n=>{j.add(e={c:t,f:n})}),abort(){j.delete(e)}}}function v(t,e){t.appendChild(e)}function Ct(t,e,n){const i=nt(t);if(!i.getElementById(e)){const o=x("style");o.id=e,o.textContent=n,vt(i,o)}}function nt(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Kt(t){const e=x("style");return e.textContent="/* empty */",vt(nt(t),e),e.sheet}function vt(t,e){return v(t.head||t,e),e.sheet}function F(t,e,n){t.insertBefore(e,n||null)}function L(t){t.parentNode&&t.parentNode.removeChild(t)}function Qt(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function x(t){return document.createElement(t)}function X(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function it(t){return document.createTextNode(t)}function Et(){return it(" ")}function Xt(){return it("")}function D(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function m(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Yt(t,e,n){const i=e.toLowerCase();i in t?t[i]=typeof t[i]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:m(t,e,n)}function te(t){return Array.from(t.childNodes)}function ee(t,e){e=""+e,t.data!==e&&(t.data=e)}let I;function ne(){if(I===void 0){I=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(t){I=!0}}return I}function ie(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const i=x("iframe");i.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),i.setAttribute("aria-hidden","true"),i.tabIndex=-1;const o=ne();let s;return o?(i.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=D(window,"message",c=>{c.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{s=D(i.contentWindow,"resize",e),e()}),v(t,i),()=>{(o||s&&i.contentWindow)&&s(),L(i)}}function se(t,e,n){t.classList.toggle(e,!!n)}function oe(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function re(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}const q=new Map;let J=0;function ce(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function le(t,e){const n={stylesheet:Kt(e),rules:{}};return q.set(t,n),n}function ut(t,e,n,i,o,s,c,r=0){const u=16.666/i;let l=`{
|
|
2
|
-
`;for(let $=0;$<=1;$+=u){const C=e+(n-e)*s($);l+=$*100+`%{${c(C,1-C)}}
|
|
3
|
-
`}const g=l+`100% {${c(n,1-n)}}
|
|
4
|
-
}`,f=`__svelte_${ce(g)}_${r}`,h=nt(t),{stylesheet:_,rules:a}=q.get(h)||le(h,t);a[f]||(a[f]=!0,_.insertRule(`@keyframes ${f} ${g}`,_.cssRules.length));const p=t.style.animation||"";return t.style.animation=`${p?`${p}, `:""}${f} ${i}ms linear ${o}ms 1 both`,J+=1,f}function ue(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?s=>s.indexOf(e)<0:s=>s.indexOf("__svelte")===-1),o=n.length-i.length;o&&(t.style.animation=i.join(", "),J-=o,J||fe())}function fe(){et(()=>{J||(q.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&L(e)}),q.clear())})}let R;function B(t){R=t}function ae(){if(!R)throw new Error("Function called outside component initialization");return R}function Lt(t){ae().$$.on_mount.push(t)}const S=[],T=[];let O=[];const ft=[],de=Promise.resolve();let Y=!1;function he(){Y||(Y=!0,de.then(b))}function A(t){O.push(t)}const K=new Set;let k=0;function b(){if(k!==0)return;const t=R;do{try{for(;k<S.length;){const e=S[k];k++,B(e),_e(e.$$)}}catch(e){throw S.length=0,k=0,e}for(B(null),S.length=0,k=0;T.length;)T.pop()();for(let e=0;e<O.length;e+=1){const n=O[e];K.has(n)||(K.add(n),n())}O.length=0}while(S.length);for(;ft.length;)ft.pop()();Y=!1,K.clear(),B(t)}function _e(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(A)}}function ge(t){const e=[],n=[];O.forEach(i=>t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),O=e}let N;function me(){return N||(N=Promise.resolve(),N.then(()=>{N=null})),N}function Q(t,e,n){t.dispatchEvent(oe(`${e?"intro":"outro"}${n}`))}const U=new Set;let w;function $e(){w={r:0,c:[],p:w}}function pe(){w.r||M(w.c),w=w.p}function P(t,e){t&&t.i&&(U.delete(t),t.i(e))}function tt(t,e,n,i){if(t&&t.o){if(U.has(t))return;U.add(t),w.c.push(()=>{U.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const ye={duration:0};function at(t,e,n,i){let s=e(t,n,{direction:"both"}),c=i?0:1,r=null,u=null,l=null,g;function f(){l&&ue(t,l)}function h(a,p){const $=a.b-c;return p*=Math.abs($),{a:c,b:a.b,d:$,duration:p,start:a.start,end:a.start+p,group:a.group}}function _(a){const{delay:p=0,duration:$=300,easing:C=mt,tick:z=E,css:d}=s||ye,Z={start:Zt()+p,b:a};a||(Z.group=w,w.r+=1),"inert"in t&&(a?g!==void 0&&(t.inert=g):(g=t.inert,t.inert=!0)),r||u?u=Z:(d&&(f(),l=ut(t,c,a,$,p,C,d)),a&&z(0,1),r=h(Z,$),A(()=>Q(t,a,"start")),Gt(H=>{if(u&&H>u.start&&(r=h(u,$),u=null,Q(t,r.b,"start"),d&&(f(),l=ut(t,c,r.b,r.duration,0,C,s.css))),r){if(H>=r.end)z(c=r.b,1-c),Q(t,r.b,"end"),u||(r.b?f():--r.group.r||M(r.group.c)),r=null;else if(H>=r.start){const Bt=H-r.start;c=r.a+r.d*C(Bt/r.duration),z(c,1-c)}}return!!(r||u)}))}return{run(a){V(s)?me().then(()=>{s=s({direction:a?"in":"out"}),_(a)}):_(a)},end(){f(),r=u=null}}}function be(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function we(t,e,n){const{fragment:i,after_update:o}=t.$$;i&&i.m(e,n),A(()=>{const s=t.$$.on_mount.map($t).filter(V);t.$$.on_destroy?t.$$.on_destroy.push(...s):M(s),t.$$.on_mount=[]}),o.forEach(A)}function xe(t,e){const n=t.$$;n.fragment!==null&&(ge(n.after_update),M(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Ce(t,e){t.$$.dirty[0]===-1&&(S.push(t),he(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Mt(t,e,n,i,o,s,c=null,r=[-1]){const u=R;B(t);const l=t.$$={fragment:null,ctx:[],props:s,update:E,not_equal:o,bound:lt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(u?u.$$.context:[])),callbacks:lt(),dirty:r,skip_bound:!1,root:e.target||u.$$.root};c&&c(l.root);let g=!1;if(l.ctx=n?n(t,e.props||{},(f,h,..._)=>{const a=_.length?_[0]:h;return l.ctx&&o(l.ctx[f],l.ctx[f]=a)&&(!l.skip_bound&&l.bound[f]&&l.bound[f](a),g&&Ce(t,f)),h}):[],l.update(),g=!0,M(l.before_update),l.fragment=i?i(l.ctx):!1,e.target){if(e.hydrate){const f=te(e.target);l.fragment&&l.fragment.l(f),f.forEach(L)}else l.fragment&&l.fragment.c();e.intro&&P(t.$$.fragment),we(t,e.target,e.anchor),b()}B(u)}let kt;typeof HTMLElement=="function"&&(kt=class extends HTMLElement{constructor(e,n,i){super();y(this,"$$ctor");y(this,"$$s");y(this,"$$c");y(this,"$$cn",!1);y(this,"$$d",{});y(this,"$$r",!1);y(this,"$$p_d",{});y(this,"$$l",{});y(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(e,n,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const o=this.$$c.$on(e,n);this.$$l_u.set(n,o)}super.addEventListener(e,n,i)}removeEventListener(e,n,i){if(super.removeEventListener(e,n,i),this.$$c){const o=this.$$l_u.get(n);o&&(o(),this.$$l_u.delete(n))}}connectedCallback(){return ct(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(s){return()=>{let c;return{c:function(){c=x("slot"),s!=="default"&&m(c,"name",s)},m:function(l,g){F(l,c,g)},d:function(l){l&&L(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=re(this);for(const s of this.$$s)s in i&&(n[s]=[e(s)]);for(const s of this.attributes){const c=this.$$g_p(s.name);c in this.$$d||(this.$$d[c]=W(c,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:rt(ot({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const c=W(s,this.$$d[s],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,c)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const s in this.$$l)for(const c of this.$$l[s]){const r=this.$$c.$on(s,c);this.$$l_u.set(c,r)}this.$$l={}}})}attributeChangedCallback(e,n,i){var o;this.$$r||(e=this.$$g_p(e),this.$$d[e]=W(e,i,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$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 W(t,e,n,i){var s;const o=(s=n[t])==null?void 0:s.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!i||!n[t])return e;if(i==="toAttribute")switch(o){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(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function St(t,e,n,i,o,s){let c=class extends kt{constructor(){super(t,n,o),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(r=>(e[r].attribute||r).toLowerCase())}};return Object.keys(e).forEach(r=>{Object.defineProperty(c.prototype,r,{get(){return this.$$c&&r in this.$$c?this.$$c[r]:this.$$d[r]},set(u){var l;u=W(r,u,e),this.$$d[r]=u,(l=this.$$c)==null||l.$set({[r]:u})}})}),i.forEach(r=>{Object.defineProperty(c.prototype,r,{get(){var u;return(u=this.$$c)==null?void 0:u[r]}})}),t.element=c,c}class jt{constructor(){y(this,"$$");y(this,"$$set")}$destroy(){xe(this,1),this.$destroy=E}$on(e,n){if(!V(n))return E;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const o=i.indexOf(n);o!==-1&&i.splice(o,1)}}$set(e){this.$$set&&!Ut(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ve="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ve);function Ot(t,e){if(t){const n=document.createElement("style");n.innerHTML=e,t.appendChild(n)}}function At(t,e){const n=new URL(e);fetch(n.href).then(i=>i.text()).then(i=>{const o=document.createElement("style");o.innerHTML=i,t&&t.appendChild(o)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function zt(t,e,n){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(e,o=>{i.innerHTML=o,t&&t.appendChild(i)})}}function dt(t,{delay:e=0,duration:n=400,easing:i=mt}={}){const o=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:i,css:s=>`opacity: ${s*o}`}}function Ee(t){Ct(t,"svelte-10bl7y2",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.4));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;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;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191F;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3)}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-black, #12191F) 65%)}.ModalCloseIcon{background-color:rgba(255, 255, 255, 0.1);padding:5px;border-radius:10px;position:absolute;right:0;top:0;margin:20px;z-index:20}.CloseButton{stroke:white}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}')}const Le=t=>({}),ht=t=>({});function _t(t){let e,n,i,o,s,c,r,u,l=t[3]!=="error"&>(t);const g=t[12].content,f=Dt(g,t,t[11],ht);return{c(){e=x("div"),n=x("div"),i=x("div"),l&&l.c(),o=Et(),f&&f.c(),m(i,"class","ModalContainer"),m(i,"style",s=t[3]==="video"?"height: 70%":"height: auto"),m(n,"id","Modal"),A(()=>t[14].call(n))},m(h,_){F(h,e,_),v(e,n),v(n,i),l&&l.m(i,null),v(i,o),f&&f.m(i,null),t[13](n),c=ie(n,t[14].bind(n)),t[15](e),u=!0},p(h,_){t=h,t[3]!=="error"?l?l.p(t,_):(l=gt(t),l.c(),l.m(i,o)):l&&(l.d(1),l=null),f&&f.p&&(!u||_&2048)&&Jt(f,g,t,t[11],u?qt(g,t[11],_,Le):Vt(t[11]),ht),(!u||_&8&&s!==(s=t[3]==="video"?"height: 70%":"height: auto"))&&m(i,"style",s)},i(h){u||(P(f,h),h&&A(()=>{u&&(r||(r=at(n,dt,t[4],!0)),r.run(1))}),u=!0)},o(h){tt(f,h),h&&(r||(r=at(n,dt,t[4],!1)),r.run(0)),u=!1},d(h){h&&L(e),l&&l.d(),f&&f.d(h),t[13](null),c(),h&&r&&r.end(),t[15](null)}}}function gt(t){let e,n,i,o,s;return{c(){e=x("div"),n=X("svg"),i=X("path"),m(i,"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"),m(i,"fill","#111111"),m(n,"xmlns","http://www.w3.org/2000/svg"),m(n,"width","13"),m(n,"height","13"),m(n,"viewBox","0 0 13 13"),m(n,"fill","none"),m(n,"class","CloseButton"),m(e,"class","ModalCloseIcon")},m(c,r){F(c,e,r),v(e,n),v(n,i),o||(s=D(n,"click",t[7]),o=!0)},p:E,d(c){c&&L(e),o=!1,s()}}}function Me(t){let e,n,i=t[2]==="true"&&_t(t);return{c(){i&&i.c(),e=Xt()},m(o,s){i&&i.m(o,s),F(o,e,s),n=!0},p(o,[s]){o[2]==="true"?i?(i.p(o,s),s&4&&P(i,1)):(i=_t(o),i.c(),P(i,1),i.m(e.parentNode,e)):i&&($e(),tt(i,1,1,()=>{i=null}),pe())},i(o){n||(P(i),n=!0)},o(o){tt(i),n=!1},d(o){o&&L(e),i&&i.d(o)}}}function ke(t,e,n){let{$$slots:i={},$$scope:o}=e,{mbsource:s}=e,{clientstyling:c}=e,{clientstylingurl:r}=e,{show:u}=e,{modaltype:l=""}=e,{duration:g=200}=e,{width:f}=e,{height:h}=e,_,a;const p=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))};Lt(()=>()=>{});function $(d){T[d?"unshift":"push"](()=>{_=d,n(6,_)})}function C(){f=this.clientWidth,h=this.clientHeight,n(0,f),n(1,h)}function z(d){T[d?"unshift":"push"](()=>{a=d,n(5,a)})}return t.$$set=d=>{"mbsource"in d&&n(8,s=d.mbsource),"clientstyling"in d&&n(9,c=d.clientstyling),"clientstylingurl"in d&&n(10,r=d.clientstylingurl),"show"in d&&n(2,u=d.show),"modaltype"in d&&n(3,l=d.modaltype),"duration"in d&&n(4,g=d.duration),"width"in d&&n(0,f=d.width),"height"in d&&n(1,h=d.height),"$$scope"in d&&n(11,o=d.$$scope)},t.$$.update=()=>{t.$$.dirty&544&&c&&a&&Ot(a,c),t.$$.dirty&1056&&r&&a&&At(a,r),t.$$.dirty&288&&s&&a&&zt(a,`${s}.Style`)},[f,h,u,l,g,a,_,p,s,c,r,o,i,$,C,z]}class Nt extends jt{constructor(e){super(),Mt(this,e,ke,Me,pt,{mbsource:8,clientstyling:9,clientstylingurl:10,show:2,modaltype:3,duration:4,width:0,height:1},Ee)}get mbsource(){return this.$$.ctx[8]}set mbsource(e){this.$$set({mbsource:e}),b()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),b()}get modaltype(){return this.$$.ctx[3]}set modaltype(e){this.$$set({modaltype:e}),b()}get duration(){return this.$$.ctx[4]}set duration(e){this.$$set({duration:e}),b()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),b()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),b()}}St(Nt,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},duration:{},width:{},height:{}},["content"],[],!0);const Se=Object.freeze(Object.defineProperty({__proto__:null,default:Nt},Symbol.toStringTag,{value:"Module"}));exports.CashierModal_ce=Se;exports.SvelteComponent=jt;exports.append=v;exports.append_styles=Ct;exports.attr=m;exports.binding_callbacks=T;exports.component_subscribe=Wt;exports.create_custom_element=St;exports.destroy_each=Qt;exports.detach=L;exports.element=x;exports.ensure_array_like=be;exports.flush=b;exports.init=Mt;exports.insert=F;exports.is_function=V;exports.listen=D;exports.noop=E;exports.onMount=Lt;exports.run_all=M;exports.safe_not_equal=pt;exports.setClientStyling=Ot;exports.setClientStylingURL=At;exports.setStreamStyling=zt;exports.set_custom_element_data=Yt;exports.set_data=ee;exports.space=Et;exports.subscribe=yt;exports.svg_element=X;exports.text=it;exports.toggle_class=se;
|