@everymatrix/cashier-modal 1.74.2 → 1.74.3

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.
@@ -0,0 +1,4 @@
1
+ "use strict";var xt=Object.defineProperty,Mt=Object.defineProperties;var Ct=Object.getOwnPropertyDescriptors;var et=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable;var J=(e,t,n)=>t in e?xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nt=(e,t)=>{for(var n in t||(t={}))Et.call(t,n)&&J(e,n,t[n]);if(et)for(var n of et(t))vt.call(t,n)&&J(e,n,t[n]);return e},it=(e,t)=>Mt(e,Ct(t));var p=(e,t,n)=>(J(e,typeof t!="symbol"?t+"":t,n),n);var st=(e,t,n)=>new Promise((i,r)=>{var s=u=>{try{o(n.next(u))}catch(l){r(l)}},c=u=>{try{o(n.throw(u))}catch(l){r(l)}},o=u=>u.done?i(u.value):Promise.resolve(u.value).then(s,c);o((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function B(){}const ht=e=>e;function kt(e,t){for(const n in t)e[n]=t[n];return e}function $t(e){return e()}function rt(){return Object.create(null)}function L(e){e.forEach($t)}function X(e){return typeof e=="function"}function St(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Lt(e){return Object.keys(e).length===0}function jt(e,t,n,i){if(e){const r=_t(e,t,n,i);return e[0](r)}}function _t(e,t,n,i){return e[1]&&i?kt(n.ctx.slice(),e[1](i(t))):n.ctx}function Ot(e,t,n,i){if(e[2]&&i){const r=e[2](i(n));if(t.dirty===void 0)return r;if(typeof r=="object"){const s=[],c=Math.max(t.dirty.length,r.length);for(let o=0;o<c;o+=1)s[o]=t.dirty[o]|r[o];return s}return t.dirty|r}return t.dirty}function At(e,t,n,i,r,s){if(r){const c=_t(t,n,i,s);e.p(c,r)}}function Nt(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let i=0;i<n;i++)t[i]=-1;return t}return-1}const gt=typeof window!="undefined";let zt=gt?()=>window.performance.now():()=>Date.now(),Y=gt?e=>requestAnimationFrame(e):B;const v=new Set;function mt(e){v.forEach(t=>{t.c(e)||(v.delete(t),t.f())}),v.size!==0&&Y(mt)}function Bt(e){let t;return v.size===0&&Y(mt),{promise:new Promise(n=>{v.add(t={c:e,f:n})}),abort(){v.delete(t)}}}function D(e,t){e.appendChild(t)}function Pt(e,t,n){const i=Z(e);if(!i.getElementById(t)){const r=M("style");r.id=t,r.textContent=n,pt(i,r)}}function Z(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Rt(e){const t=M("style");return t.textContent="/* empty */",pt(Z(e),t),t.sheet}function pt(e,t){return D(e.head||e,t),t.sheet}function tt(e,t,n){e.insertBefore(t,n||null)}function j(e){e.parentNode&&e.parentNode.removeChild(e)}function M(e){return document.createElement(e)}function Ht(e){return document.createTextNode(e)}function Tt(){return Ht("")}function ot(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function x(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Wt(e){return Array.from(e.childNodes)}let H;function Dt(){if(H===void 0){H=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){H=!0}}return H}function It(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const i=M("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 r=Dt();let s;return r?(i.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=ot(window,"message",c=>{c.source===i.contentWindow&&t()})):(i.src="about:blank",i.onload=()=>{s=ot(i.contentWindow,"resize",t),t()}),D(e,i),()=>{(r||s&&i.contentWindow)&&s(),j(i)}}function Ut(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}function Ft(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const I=new Map;let U=0;function qt(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function Jt(e,t){const n={stylesheet:Rt(t),rules:{}};return I.set(e,n),n}function ct(e,t,n,i,r,s,c,o=0){const u=16.666/i;let l=`{
2
+ `;for(let g=0;g<=1;g+=u){const w=t+(n-t)*s(g);l+=g*100+`%{${c(w,1-w)}}
3
+ `}const h=l+`100% {${c(n,1-n)}}
4
+ }`,d=`__svelte_${qt(h)}_${o}`,$=Z(e),{stylesheet:m,rules:f}=I.get($)||Jt($,e);f[d]||(f[d]=!0,m.insertRule(`@keyframes ${d} ${h}`,m.cssRules.length));const _=e.style.animation||"";return e.style.animation=`${_?`${_}, `:""}${d} ${i}ms linear ${r}ms 1 both`,U+=1,d}function Vt(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?s=>s.indexOf(t)<0:s=>s.indexOf("__svelte")===-1),r=n.length-i.length;r&&(e.style.animation=i.join(", "),U-=r,U||Gt())}function Gt(){Y(()=>{U||(I.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&j(t)}),I.clear())})}let P;function N(e){P=e}function Kt(){if(!P)throw new Error("Function called outside component initialization");return P}function Qt(e){Kt().$$.on_mount.push(e)}const E=[],F=[];let k=[];const lt=[],Xt=Promise.resolve();let K=!1;function Yt(){K||(K=!0,Xt.then(b))}function S(e){k.push(e)}const V=new Set;let C=0;function b(){if(C!==0)return;const e=P;do{try{for(;C<E.length;){const t=E[C];C++,N(t),Zt(t.$$)}}catch(t){throw E.length=0,C=0,t}for(N(null),E.length=0,C=0;F.length;)F.pop()();for(let t=0;t<k.length;t+=1){const n=k[t];V.has(n)||(V.add(n),n())}k.length=0}while(E.length);for(;lt.length;)lt.pop()();K=!1,V.clear(),N(e)}function Zt(e){if(e.fragment!==null){e.update(),L(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(S)}}function te(e){const t=[],n=[];k.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),k=t}let A;function ee(){return A||(A=Promise.resolve(),A.then(()=>{A=null})),A}function G(e,t,n){e.dispatchEvent(Ut(`${t?"intro":"outro"}${n}`))}const T=new Set;let y;function ne(){y={r:0,c:[],p:y}}function ie(){y.r||L(y.c),y=y.p}function z(e,t){e&&e.i&&(T.delete(e),e.i(t))}function Q(e,t,n,i){if(e&&e.o){if(T.has(e))return;T.add(e),y.c.push(()=>{T.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}const se={duration:0};function ut(e,t,n,i){let s=t(e,n,{direction:"both"}),c=i?0:1,o=null,u=null,l=null,h;function d(){l&&Vt(e,l)}function $(f,_){const g=f.b-c;return _*=Math.abs(g),{a:c,b:f.b,d:g,duration:_,start:f.start,end:f.start+_,group:f.group}}function m(f){const{delay:_=0,duration:g=300,easing:w=ht,tick:O=B,css:a}=s||se,q={start:zt()+_,b:f};f||(q.group=y,y.r+=1),"inert"in e&&(f?h!==void 0&&(e.inert=h):(h=e.inert,e.inert=!0)),o||u?u=q:(a&&(d(),l=ct(e,c,f,g,_,w,a)),f&&O(0,1),o=$(q,g),S(()=>G(e,f,"start")),Bt(R=>{if(u&&R>u.start&&(o=$(u,g),u=null,G(e,o.b,"start"),a&&(d(),l=ct(e,c,o.b,o.duration,0,w,s.css))),o){if(R>=o.end)O(c=o.b,1-c),G(e,o.b,"end"),u||(o.b?d():--o.group.r||L(o.group.c)),o=null;else if(R>=o.start){const bt=R-o.start;c=o.a+o.d*w(bt/o.duration),O(c,1-c)}}return!!(o||u)}))}return{run(f){X(s)?ee().then(()=>{s=s({direction:f?"in":"out"}),m(f)}):m(f)},end(){d(),o=u=null}}}function re(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),S(()=>{const s=e.$$.on_mount.map($t).filter(X);e.$$.on_destroy?e.$$.on_destroy.push(...s):L(s),e.$$.on_mount=[]}),r.forEach(S)}function oe(e,t){const n=e.$$;n.fragment!==null&&(te(n.after_update),L(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ce(e,t){e.$$.dirty[0]===-1&&(E.push(e),Yt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function le(e,t,n,i,r,s,c=null,o=[-1]){const u=P;N(e);const l=e.$$={fragment:null,ctx:[],props:s,update:B,not_equal:r,bound:rt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:rt(),dirty:o,skip_bound:!1,root:t.target||u.$$.root};c&&c(l.root);let h=!1;if(l.ctx=n(e,t.props||{},(d,$,...m)=>{const f=m.length?m[0]:$;return l.ctx&&r(l.ctx[d],l.ctx[d]=f)&&(!l.skip_bound&&l.bound[d]&&l.bound[d](f),h&&ce(e,d)),$}),l.update(),h=!0,L(l.before_update),l.fragment=i(l.ctx),t.target){if(t.hydrate){const d=Wt(t.target);l.fragment&&l.fragment.l(d),d.forEach(j)}else l.fragment&&l.fragment.c();t.intro&&z(e.$$.fragment),re(e,t.target,t.anchor),b()}N(u)}let yt;typeof HTMLElement=="function"&&(yt=class extends HTMLElement{constructor(t,n,i){super();p(this,"$$ctor");p(this,"$$s");p(this,"$$c");p(this,"$$cn",!1);p(this,"$$d",{});p(this,"$$r",!1);p(this,"$$p_d",{});p(this,"$$l",{});p(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return st(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let c;return{c:function(){c=M("slot"),s!=="default"&&x(c,"name",s)},m:function(l,h){tt(l,c,h)},d:function(l){l&&j(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=Ft(this);for(const s of this.$$s)s in i&&(n[s]=[t(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:it(nt({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{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(r),r();for(const s in this.$$l)for(const c of this.$$l[s]){const o=this.$$c.$on(s,c);this.$$l_u.set(c,o)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=W(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function W(e,t,n,i){var s;const r=(s=n[e])==null?void 0:s.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ue(e,t,n,i,r,s){let c=class extends yt{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(c.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(u){var l;u=W(o,u,t),this.$$d[o]=u,(l=this.$$c)==null||l.$set({[o]:u})}})}),i.forEach(o=>{Object.defineProperty(c.prototype,o,{get(){var u;return(u=this.$$c)==null?void 0:u[o]}})}),e.element=c,c}class ae{constructor(){p(this,"$$");p(this,"$$set")}$destroy(){oe(this,1),this.$destroy=B}$on(t,n){if(!X(n))return B;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!Lt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const fe="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(fe);function at(e,{delay:t=0,duration:n=400,easing:i=ht}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:s=>`opacity: ${s*r}`}}function de(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function he(e,t){const n=new URL(t);fetch(n.href).then(i=>i.text()).then(i=>{const r=document.createElement("style");r.innerHTML=i,e&&e.appendChild(r)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function $e(e,t,n){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,r=>{i.innerHTML=r,e&&e.appendChild(i)})}}function _e(e){Pt(e,"svelte-xb5pyq","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);padding:var(--emw--spacing-large, 20px);width:400px}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}@container modal-window (max-width:750px){.ModalWindow .ModalContainer{width:90%;max-width:400px}}")}const ge=e=>({}),ft=e=>({});function dt(e){let t,n,i,r,s,c;const o=e[10].content,u=jt(o,e,e[9],ft);return{c(){t=M("div"),n=M("div"),i=M("div"),u&&u.c(),x(i,"class","ModalContainer"),x(i,"part","ModalContainer"),x(n,"class","ModalWindow"),x(n,"part","ModalWindow"),x(n,"id","Modal"),S(()=>e[12].call(n)),x(t,"part","CustomStylingContainer")},m(l,h){tt(l,t,h),D(t,n),D(n,i),u&&u.m(i,null),e[11](n),r=It(n,e[12].bind(n)),e[13](t),c=!0},p(l,h){e=l,u&&u.p&&(!c||h&512)&&At(u,o,e,e[9],c?Ot(o,e[9],h,ge):Nt(e[9]),ft)},i(l){c||(z(u,l),l&&S(()=>{c&&(s||(s=ut(n,at,e[2],!0)),s.run(1))}),c=!0)},o(l){Q(u,l),l&&(s||(s=ut(n,at,e[2],!1)),s.run(0)),c=!1},d(l){l&&j(t),u&&u.d(l),e[11](null),r(),l&&s&&s.end(),e[13](null)}}}function me(e){let t,n,i=e[5]&&dt(e);return{c(){i&&i.c(),t=Tt()},m(r,s){i&&i.m(r,s),tt(r,t,s),n=!0},p(r,[s]){r[5]?i?(i.p(r,s),s&32&&z(i,1)):(i=dt(r),i.c(),z(i,1),i.m(t.parentNode,t)):i&&(ne(),Q(i,1,1,()=>{i=null}),ie())},i(r){n||(z(i),n=!0)},o(r){Q(i),n=!1},d(r){r&&j(t),i&&i.d(r)}}}function pe(e,t,n){let{$$slots:i={},$$scope:r}=t,{mbsource:s}=t,{clientstyling:c}=t,{clientstylingurl:o}=t,{duration:u=200}=t,{width:l}=t,{height:h}=t,d,$,m=!1;const f=()=>{n(5,m=!1),window.postMessage({type:"ClosedCashierModal"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},_=a=>{a.data.type=="ShowCashierModal"&&(n(5,m=!0),window.postMessage({type:"DisableScroll"},window.location.href)),a.data.type=="HideCashierModal"&&f()};Qt(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));function g(a){F[a?"unshift":"push"](()=>{d=a,n(4,d)})}function w(){l=this.clientWidth,h=this.clientHeight,n(0,l),n(1,h)}function O(a){F[a?"unshift":"push"](()=>{$=a,n(3,$)})}return e.$$set=a=>{"mbsource"in a&&n(6,s=a.mbsource),"clientstyling"in a&&n(7,c=a.clientstyling),"clientstylingurl"in a&&n(8,o=a.clientstylingurl),"duration"in a&&n(2,u=a.duration),"width"in a&&n(0,l=a.width),"height"in a&&n(1,h=a.height),"$$scope"in a&&n(9,r=a.$$scope)},e.$$.update=()=>{e.$$.dirty&136&&c&&$&&de($,c),e.$$.dirty&264&&o&&$&&he($,o),e.$$.dirty&72&&s&&$&&$e($,`${s}.Style`)},[l,h,u,$,d,m,s,c,o,r,i,g,w,O]}class wt extends ae{constructor(t){super(),le(this,t,pe,me,St,{mbsource:6,clientstyling:7,clientstylingurl:8,duration:2,width:0,height:1},_e)}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),b()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),b()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),b()}get duration(){return this.$$.ctx[2]}set duration(t){this.$$set({duration:t}),b()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),b()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),b()}}ue(wt,{mbsource:{},clientstyling:{},clientstylingurl:{},duration:{},width:{},height:{}},["content"],[],!0);exports.default=wt;
@@ -427,10 +427,10 @@ function Qt(t, e, n, i, s, r, l = null, o = [-1]) {
427
427
  };
428
428
  l && l(c.root);
429
429
  let h = !1;
430
- if (c.ctx = n ? n(t, e.props || {}, (d, $, ...m) => {
430
+ if (c.ctx = n(t, e.props || {}, (d, $, ...m) => {
431
431
  const f = m.length ? m[0] : $;
432
432
  return c.ctx && s(c.ctx[d], c.ctx[d] = f) && (!c.skip_bound && c.bound[d] && c.bound[d](f), h && Kt(t, d)), $;
433
- }) : [], c.update(), h = !0, S(c.before_update), c.fragment = i ? i(c.ctx) : !1, e.target) {
433
+ }), c.update(), h = !0, S(c.before_update), c.fragment = i(c.ctx), e.target) {
434
434
  if (e.hydrate) {
435
435
  const d = St(e.target);
436
436
  c.fragment && c.fragment.l(d), d.forEach(L);
@@ -456,10 +456,10 @@ function ce(e, t, n, i, r, s, c = null, o = [-1]) {
456
456
  };
457
457
  c && c(l.root);
458
458
  let h = !1;
459
- if (l.ctx = n ? n(e, t.props || {}, (d, $, ...m) => {
459
+ if (l.ctx = n(e, t.props || {}, (d, $, ...m) => {
460
460
  const f = m.length ? m[0] : $;
461
461
  return l.ctx && r(l.ctx[d], l.ctx[d] = f) && (!l.skip_bound && l.bound[d] && l.bound[d](f), h && oe(e, d)), $;
462
- }) : [], l.update(), h = !0, L(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
462
+ }), l.update(), h = !0, L(l.before_update), l.fragment = i(l.ctx), t.target) {
463
463
  if (t.hydrate) {
464
464
  const d = Wt(t.target);
465
465
  l.fragment && l.fragment.l(d), d.forEach(j);
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierModal-BrDb_zQl.cjs")).then(({default:t})=>{!customElements.get("cashier-modal")&&customElements.define("cashier-modal",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierModal-BeQo8OSj.cjs")).then(({default:t})=>{!customElements.get("cashier-modal")&&customElements.define("cashier-modal",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierModal-BQ7pIFxh.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierModal-DaqG3VOG.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CashierModal-KbvNfNSK.js";
1
+ import { C as n } from "../components/CashierModal-D0iDxqXB.js";
2
2
  function a(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-modal",
3
- "version": "1.74.2",
3
+ "version": "1.74.3",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-modal.cjs",
6
6
  "module": "esnext/cashier-modal.js",
@@ -1,4 +0,0 @@
1
- "use strict";var xt=Object.defineProperty,Mt=Object.defineProperties;var Ct=Object.getOwnPropertyDescriptors;var et=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable;var J=(e,t,n)=>t in e?xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nt=(e,t)=>{for(var n in t||(t={}))Et.call(t,n)&&J(e,n,t[n]);if(et)for(var n of et(t))vt.call(t,n)&&J(e,n,t[n]);return e},it=(e,t)=>Mt(e,Ct(t));var p=(e,t,n)=>(J(e,typeof t!="symbol"?t+"":t,n),n);var st=(e,t,n)=>new Promise((i,r)=>{var s=u=>{try{o(n.next(u))}catch(l){r(l)}},c=u=>{try{o(n.throw(u))}catch(l){r(l)}},o=u=>u.done?i(u.value):Promise.resolve(u.value).then(s,c);o((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function B(){}const ht=e=>e;function kt(e,t){for(const n in t)e[n]=t[n];return e}function $t(e){return e()}function rt(){return Object.create(null)}function L(e){e.forEach($t)}function X(e){return typeof e=="function"}function St(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Lt(e){return Object.keys(e).length===0}function jt(e,t,n,i){if(e){const r=_t(e,t,n,i);return e[0](r)}}function _t(e,t,n,i){return e[1]&&i?kt(n.ctx.slice(),e[1](i(t))):n.ctx}function Ot(e,t,n,i){if(e[2]&&i){const r=e[2](i(n));if(t.dirty===void 0)return r;if(typeof r=="object"){const s=[],c=Math.max(t.dirty.length,r.length);for(let o=0;o<c;o+=1)s[o]=t.dirty[o]|r[o];return s}return t.dirty|r}return t.dirty}function At(e,t,n,i,r,s){if(r){const c=_t(t,n,i,s);e.p(c,r)}}function Nt(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let i=0;i<n;i++)t[i]=-1;return t}return-1}const gt=typeof window!="undefined";let zt=gt?()=>window.performance.now():()=>Date.now(),Y=gt?e=>requestAnimationFrame(e):B;const v=new Set;function mt(e){v.forEach(t=>{t.c(e)||(v.delete(t),t.f())}),v.size!==0&&Y(mt)}function Bt(e){let t;return v.size===0&&Y(mt),{promise:new Promise(n=>{v.add(t={c:e,f:n})}),abort(){v.delete(t)}}}function D(e,t){e.appendChild(t)}function Pt(e,t,n){const i=Z(e);if(!i.getElementById(t)){const r=M("style");r.id=t,r.textContent=n,pt(i,r)}}function Z(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Rt(e){const t=M("style");return t.textContent="/* empty */",pt(Z(e),t),t.sheet}function pt(e,t){return D(e.head||e,t),t.sheet}function tt(e,t,n){e.insertBefore(t,n||null)}function j(e){e.parentNode&&e.parentNode.removeChild(e)}function M(e){return document.createElement(e)}function Ht(e){return document.createTextNode(e)}function Tt(){return Ht("")}function ot(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function x(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Wt(e){return Array.from(e.childNodes)}let H;function Dt(){if(H===void 0){H=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){H=!0}}return H}function It(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const i=M("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 r=Dt();let s;return r?(i.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=ot(window,"message",c=>{c.source===i.contentWindow&&t()})):(i.src="about:blank",i.onload=()=>{s=ot(i.contentWindow,"resize",t),t()}),D(e,i),()=>{(r||s&&i.contentWindow)&&s(),j(i)}}function Ut(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}function Ft(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const I=new Map;let U=0;function qt(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function Jt(e,t){const n={stylesheet:Rt(t),rules:{}};return I.set(e,n),n}function ct(e,t,n,i,r,s,c,o=0){const u=16.666/i;let l=`{
2
- `;for(let g=0;g<=1;g+=u){const w=t+(n-t)*s(g);l+=g*100+`%{${c(w,1-w)}}
3
- `}const h=l+`100% {${c(n,1-n)}}
4
- }`,d=`__svelte_${qt(h)}_${o}`,$=Z(e),{stylesheet:m,rules:f}=I.get($)||Jt($,e);f[d]||(f[d]=!0,m.insertRule(`@keyframes ${d} ${h}`,m.cssRules.length));const _=e.style.animation||"";return e.style.animation=`${_?`${_}, `:""}${d} ${i}ms linear ${r}ms 1 both`,U+=1,d}function Vt(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?s=>s.indexOf(t)<0:s=>s.indexOf("__svelte")===-1),r=n.length-i.length;r&&(e.style.animation=i.join(", "),U-=r,U||Gt())}function Gt(){Y(()=>{U||(I.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&j(t)}),I.clear())})}let P;function N(e){P=e}function Kt(){if(!P)throw new Error("Function called outside component initialization");return P}function Qt(e){Kt().$$.on_mount.push(e)}const E=[],F=[];let k=[];const lt=[],Xt=Promise.resolve();let K=!1;function Yt(){K||(K=!0,Xt.then(b))}function S(e){k.push(e)}const V=new Set;let C=0;function b(){if(C!==0)return;const e=P;do{try{for(;C<E.length;){const t=E[C];C++,N(t),Zt(t.$$)}}catch(t){throw E.length=0,C=0,t}for(N(null),E.length=0,C=0;F.length;)F.pop()();for(let t=0;t<k.length;t+=1){const n=k[t];V.has(n)||(V.add(n),n())}k.length=0}while(E.length);for(;lt.length;)lt.pop()();K=!1,V.clear(),N(e)}function Zt(e){if(e.fragment!==null){e.update(),L(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(S)}}function te(e){const t=[],n=[];k.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),k=t}let A;function ee(){return A||(A=Promise.resolve(),A.then(()=>{A=null})),A}function G(e,t,n){e.dispatchEvent(Ut(`${t?"intro":"outro"}${n}`))}const T=new Set;let y;function ne(){y={r:0,c:[],p:y}}function ie(){y.r||L(y.c),y=y.p}function z(e,t){e&&e.i&&(T.delete(e),e.i(t))}function Q(e,t,n,i){if(e&&e.o){if(T.has(e))return;T.add(e),y.c.push(()=>{T.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}const se={duration:0};function ut(e,t,n,i){let s=t(e,n,{direction:"both"}),c=i?0:1,o=null,u=null,l=null,h;function d(){l&&Vt(e,l)}function $(f,_){const g=f.b-c;return _*=Math.abs(g),{a:c,b:f.b,d:g,duration:_,start:f.start,end:f.start+_,group:f.group}}function m(f){const{delay:_=0,duration:g=300,easing:w=ht,tick:O=B,css:a}=s||se,q={start:zt()+_,b:f};f||(q.group=y,y.r+=1),"inert"in e&&(f?h!==void 0&&(e.inert=h):(h=e.inert,e.inert=!0)),o||u?u=q:(a&&(d(),l=ct(e,c,f,g,_,w,a)),f&&O(0,1),o=$(q,g),S(()=>G(e,f,"start")),Bt(R=>{if(u&&R>u.start&&(o=$(u,g),u=null,G(e,o.b,"start"),a&&(d(),l=ct(e,c,o.b,o.duration,0,w,s.css))),o){if(R>=o.end)O(c=o.b,1-c),G(e,o.b,"end"),u||(o.b?d():--o.group.r||L(o.group.c)),o=null;else if(R>=o.start){const bt=R-o.start;c=o.a+o.d*w(bt/o.duration),O(c,1-c)}}return!!(o||u)}))}return{run(f){X(s)?ee().then(()=>{s=s({direction:f?"in":"out"}),m(f)}):m(f)},end(){d(),o=u=null}}}function re(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),S(()=>{const s=e.$$.on_mount.map($t).filter(X);e.$$.on_destroy?e.$$.on_destroy.push(...s):L(s),e.$$.on_mount=[]}),r.forEach(S)}function oe(e,t){const n=e.$$;n.fragment!==null&&(te(n.after_update),L(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ce(e,t){e.$$.dirty[0]===-1&&(E.push(e),Yt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function le(e,t,n,i,r,s,c=null,o=[-1]){const u=P;N(e);const l=e.$$={fragment:null,ctx:[],props:s,update:B,not_equal:r,bound:rt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:rt(),dirty:o,skip_bound:!1,root:t.target||u.$$.root};c&&c(l.root);let h=!1;if(l.ctx=n?n(e,t.props||{},(d,$,...m)=>{const f=m.length?m[0]:$;return l.ctx&&r(l.ctx[d],l.ctx[d]=f)&&(!l.skip_bound&&l.bound[d]&&l.bound[d](f),h&&ce(e,d)),$}):[],l.update(),h=!0,L(l.before_update),l.fragment=i?i(l.ctx):!1,t.target){if(t.hydrate){const d=Wt(t.target);l.fragment&&l.fragment.l(d),d.forEach(j)}else l.fragment&&l.fragment.c();t.intro&&z(e.$$.fragment),re(e,t.target,t.anchor),b()}N(u)}let yt;typeof HTMLElement=="function"&&(yt=class extends HTMLElement{constructor(t,n,i){super();p(this,"$$ctor");p(this,"$$s");p(this,"$$c");p(this,"$$cn",!1);p(this,"$$d",{});p(this,"$$r",!1);p(this,"$$p_d",{});p(this,"$$l",{});p(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return st(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let c;return{c:function(){c=M("slot"),s!=="default"&&x(c,"name",s)},m:function(l,h){tt(l,c,h)},d:function(l){l&&j(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=Ft(this);for(const s of this.$$s)s in i&&(n[s]=[t(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:it(nt({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{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(r),r();for(const s in this.$$l)for(const c of this.$$l[s]){const o=this.$$c.$on(s,c);this.$$l_u.set(c,o)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=W(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function W(e,t,n,i){var s;const r=(s=n[e])==null?void 0:s.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ue(e,t,n,i,r,s){let c=class extends yt{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(c.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(u){var l;u=W(o,u,t),this.$$d[o]=u,(l=this.$$c)==null||l.$set({[o]:u})}})}),i.forEach(o=>{Object.defineProperty(c.prototype,o,{get(){var u;return(u=this.$$c)==null?void 0:u[o]}})}),e.element=c,c}class ae{constructor(){p(this,"$$");p(this,"$$set")}$destroy(){oe(this,1),this.$destroy=B}$on(t,n){if(!X(n))return B;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!Lt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const fe="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(fe);function at(e,{delay:t=0,duration:n=400,easing:i=ht}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:s=>`opacity: ${s*r}`}}function de(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function he(e,t){const n=new URL(t);fetch(n.href).then(i=>i.text()).then(i=>{const r=document.createElement("style");r.innerHTML=i,e&&e.appendChild(r)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function $e(e,t,n){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,r=>{i.innerHTML=r,e&&e.appendChild(i)})}}function _e(e){Pt(e,"svelte-xb5pyq","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);padding:var(--emw--spacing-large, 20px);width:400px}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}@container modal-window (max-width:750px){.ModalWindow .ModalContainer{width:90%;max-width:400px}}")}const ge=e=>({}),ft=e=>({});function dt(e){let t,n,i,r,s,c;const o=e[10].content,u=jt(o,e,e[9],ft);return{c(){t=M("div"),n=M("div"),i=M("div"),u&&u.c(),x(i,"class","ModalContainer"),x(i,"part","ModalContainer"),x(n,"class","ModalWindow"),x(n,"part","ModalWindow"),x(n,"id","Modal"),S(()=>e[12].call(n)),x(t,"part","CustomStylingContainer")},m(l,h){tt(l,t,h),D(t,n),D(n,i),u&&u.m(i,null),e[11](n),r=It(n,e[12].bind(n)),e[13](t),c=!0},p(l,h){e=l,u&&u.p&&(!c||h&512)&&At(u,o,e,e[9],c?Ot(o,e[9],h,ge):Nt(e[9]),ft)},i(l){c||(z(u,l),l&&S(()=>{c&&(s||(s=ut(n,at,e[2],!0)),s.run(1))}),c=!0)},o(l){Q(u,l),l&&(s||(s=ut(n,at,e[2],!1)),s.run(0)),c=!1},d(l){l&&j(t),u&&u.d(l),e[11](null),r(),l&&s&&s.end(),e[13](null)}}}function me(e){let t,n,i=e[5]&&dt(e);return{c(){i&&i.c(),t=Tt()},m(r,s){i&&i.m(r,s),tt(r,t,s),n=!0},p(r,[s]){r[5]?i?(i.p(r,s),s&32&&z(i,1)):(i=dt(r),i.c(),z(i,1),i.m(t.parentNode,t)):i&&(ne(),Q(i,1,1,()=>{i=null}),ie())},i(r){n||(z(i),n=!0)},o(r){Q(i),n=!1},d(r){r&&j(t),i&&i.d(r)}}}function pe(e,t,n){let{$$slots:i={},$$scope:r}=t,{mbsource:s}=t,{clientstyling:c}=t,{clientstylingurl:o}=t,{duration:u=200}=t,{width:l}=t,{height:h}=t,d,$,m=!1;const f=()=>{n(5,m=!1),window.postMessage({type:"ClosedCashierModal"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},_=a=>{a.data.type=="ShowCashierModal"&&(n(5,m=!0),window.postMessage({type:"DisableScroll"},window.location.href)),a.data.type=="HideCashierModal"&&f()};Qt(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));function g(a){F[a?"unshift":"push"](()=>{d=a,n(4,d)})}function w(){l=this.clientWidth,h=this.clientHeight,n(0,l),n(1,h)}function O(a){F[a?"unshift":"push"](()=>{$=a,n(3,$)})}return e.$$set=a=>{"mbsource"in a&&n(6,s=a.mbsource),"clientstyling"in a&&n(7,c=a.clientstyling),"clientstylingurl"in a&&n(8,o=a.clientstylingurl),"duration"in a&&n(2,u=a.duration),"width"in a&&n(0,l=a.width),"height"in a&&n(1,h=a.height),"$$scope"in a&&n(9,r=a.$$scope)},e.$$.update=()=>{e.$$.dirty&136&&c&&$&&de($,c),e.$$.dirty&264&&o&&$&&he($,o),e.$$.dirty&72&&s&&$&&$e($,`${s}.Style`)},[l,h,u,$,d,m,s,c,o,r,i,g,w,O]}class wt extends ae{constructor(t){super(),le(this,t,pe,me,St,{mbsource:6,clientstyling:7,clientstylingurl:8,duration:2,width:0,height:1},_e)}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),b()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),b()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),b()}get duration(){return this.$$.ctx[2]}set duration(t){this.$$set({duration:t}),b()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),b()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),b()}}ue(wt,{mbsource:{},clientstyling:{},clientstylingurl:{},duration:{},width:{},height:{}},["content"],[],!0);exports.default=wt;