@everymatrix/cashier-page 1.45.3 → 1.45.5
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/{CashierMethodDetails-We00egFG.js → CashierMethodDetails-DG-OxC4l.js} +6 -4
- package/components/{CashierMethodDetails-CRw8JzTj.cjs → CashierMethodDetails-DMCJoyAU.cjs} +2 -2
- package/components/{CashierMethodsList-6oVDDXR9.cjs → CashierMethodsList-DehDat-K.cjs} +1 -1
- package/components/{CashierMethodsList-IuVJe5i5.js → CashierMethodsList-MomZcE_X.js} +44 -43
- package/components/CashierNotifications-C_H5sqTD.cjs +1 -0
- package/components/{CashierNotifications-C46bpv5c.js → CashierNotifications-D46oKwQX.js} +6 -6
- package/components/{CashierPage-BSsFmcRe.js → CashierPage-B5VmEdqF.js} +7 -6
- package/components/{CashierPage-BSpZODbJ.cjs → CashierPage-DCDiepch.cjs} +1 -1
- package/components/{CashierReceiptPage-o0mBoN7e.cjs → CashierReceiptPage-BCDzLzKW.cjs} +1 -1
- package/components/{CashierReceiptPage-Q9Ybndp4.js → CashierReceiptPage-cql-m43F.js} +1 -1
- package/components/{CashierSessionExpirationModal-D-QU7iR-.cjs → CashierSessionExpirationModal-DiSrDBr6.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-o5G5yHbY.js → CashierSessionExpirationModal-DnqZeHho.js} +1 -1
- package/components/{CashierVerifications-BnfrJz-i.js → CashierVerifications-CQbtD6wt.js} +1 -1
- package/components/{CashierVerifications-WzCukG40.cjs → CashierVerifications-j41yayqU.cjs} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/package.json +8 -8
- package/components/CashierNotifications-DxsqjmwN.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var pe=Object.defineProperty,_e=Object.defineProperties;var we=Object.getOwnPropertyDescriptors;var Q=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var $=(n,t,s)=>t in n?pe(n,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[t]=s,G=(n,t)=>{for(var s in t||(t={}))ye.call(t,s)&&$(n,s,t[s]);if(Q)for(var s of Q(t))be.call(t,s)&&$(n,s,t[s]);return n},J=(n,t)=>_e(n,we(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-DDkEGERx.cjs"),B=require("./CashierError-BUdqkPz2.cjs"),V=require("./CashierMethodDetails-CRw8JzTj.cjs");function ee(n,t){B.addMessages(n,t)}function Le(n){B.init({fallbackLocale:"en"}),B.$locale.set(n)}const te={en:{generalMin:"Min",generalMax:"Max",showAll:"SHOW ALL",showLess:"SHOW LESS"},uk:{generalMin:"Мін",generalMax:"Макс"},hr:{generalMin:"Minimalno",generalMax:"Maksimalno",showAll:"Prikaži sve",showLess:"Prikaži manje"},tr:{generalMin:"Min",generalMax:"Maks",showAll:"HEPSİNİ GÖSTER",showLess:"DAHA AZ GÖSTER"}};function Me(n){e.append_styles(n,"svelte-a5920l","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);min-width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}")}function ne(n,t,s){const c=n.slice();return c[46]=t[s],c[48]=s,c}function se(n){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",n[4]),e.set_custom_element_data(t,"clientstyling",n[3])},m(s,c){e.insert(s,t,c)},p(s,c){c[0]&16&&e.set_custom_element_data(t,"clientstylingurl",s[4]),c[0]&8&&e.set_custom_element_data(t,"clientstyling",s[3])},d(s){s&&e.detach(t)}}}function le(n){let t,s,c,r=e.ensure_array_like(n[8]),i=[];for(let o=0;o<r.length;o+=1)i[o]=ie(ne(n,r,o));let a=n[7]&&oe(n);return{c(){t=e.element("div"),s=e.element("div");for(let o=0;o<i.length;o+=1)i[o].c();c=e.space(),a&&a.c(),e.attr(s,"class","CashierMethodList"),e.attr(t,"class","CashierMethodListWidget")},m(o,m){e.insert(o,t,m),e.append(t,s);for(let d=0;d<i.length;d+=1)i[d]&&i[d].m(s,null);e.append(t,c),a&&a.m(t,null),n[26](t)},p(o,m){if(m[0]&57664){r=e.ensure_array_like(o[8]);let d;for(d=0;d<r.length;d+=1){const L=ne(o,r,d);i[d]?i[d].p(L,m):(i[d]=ie(L),i[d].c(),i[d].m(s,null))}for(;d<i.length;d+=1)i[d].d(1);i.length=r.length}o[7]?a?a.p(o,m):(a=oe(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(o){o&&e.detach(t),e.destroy_each(i,o),a&&a.d(),n[26](null)}}}function ie(n){let t,s,c,r,i,a,o,m,d=(n[46].Label||n[46].Name)+"",L,M,y,g,k=n[13]("generalMin")+"",C,p,_=n[14].format(n[46].DisplayCurrency.MinAmountLimit)+"",S,E,w=n[46].DisplayCurrency.Name+"",x,R,b,A=n[13]("generalMax")+"",P,j,T=n[14].format(n[46].DisplayCurrency.MaxAmountLimit)+"",U,H,D=n[46].DisplayCurrency.Name+"",z,W,F,q;function I(){return n[24](n[46])}return{c(){t=e.element("div"),s=e.element("div"),c=e.element("img"),a=e.space(),o=e.element("div"),m=e.element("span"),L=e.text(d),M=e.space(),y=e.element("div"),g=e.element("span"),C=e.text(k),p=e.space(),S=e.text(_),E=e.space(),x=e.text(w),R=e.space(),b=e.element("span"),P=e.text(A),j=e.space(),U=e.text(T),H=e.space(),z=e.text(D),W=e.space(),e.src_url_equal(c.src,r=n[46].LogoUrl)||e.attr(c,"src",r),e.attr(c,"alt",i=n[46].Label),e.attr(s,"class","MethodLogo"),e.attr(o,"class","MethodTitle"),e.attr(g,"class","Limits"),e.attr(b,"class","Limits"),e.attr(y,"class","MethodLimits"),e.attr(t,"class","SelectorWrapper"),e.toggle_class(t,"checked",n[6]===n[46].Name)},m(N,f){e.insert(N,t,f),e.append(t,s),e.append(s,c),e.append(t,a),e.append(t,o),e.append(o,m),e.append(m,L),e.append(t,M),e.append(t,y),e.append(y,g),e.append(g,C),e.append(g,p),e.append(g,S),e.append(g,E),e.append(g,x),e.append(y,R),e.append(y,b),e.append(b,P),e.append(b,j),e.append(b,U),e.append(b,H),e.append(b,z),e.append(t,W),F||(q=[e.listen(t,"click",I),e.listen(t,"keyup",ke)],F=!0)},p(N,f){n=N,f[0]&256&&!e.src_url_equal(c.src,r=n[46].LogoUrl)&&e.attr(c,"src",r),f[0]&256&&i!==(i=n[46].Label)&&e.attr(c,"alt",i),f[0]&256&&d!==(d=(n[46].Label||n[46].Name)+"")&&e.set_data(L,d),f[0]&8192&&k!==(k=n[13]("generalMin")+"")&&e.set_data(C,k),f[0]&256&&_!==(_=n[14].format(n[46].DisplayCurrency.MinAmountLimit)+"")&&e.set_data(S,_),f[0]&256&&w!==(w=n[46].DisplayCurrency.Name+"")&&e.set_data(x,w),f[0]&8192&&A!==(A=n[13]("generalMax")+"")&&e.set_data(P,A),f[0]&256&&T!==(T=n[14].format(n[46].DisplayCurrency.MaxAmountLimit)+"")&&e.set_data(U,T),f[0]&256&&D!==(D=n[46].DisplayCurrency.Name+"")&&e.set_data(z,D),f[0]&320&&e.toggle_class(t,"checked",n[6]===n[46].Name)},d(N){N&&e.detach(t),F=!1,e.run_all(q)}}}function oe(n){let t,s,c,r;return{c(){t=e.element("div"),s=e.text(n[7]),e.attr(t,"class","ShowAllButton")},m(i,a){e.insert(i,t,a),e.append(t,s),c||(r=e.listen(t,"click",n[25]),c=!0)},p(i,a){a[0]&128&&e.set_data(s,i[7])},d(i){i&&e.detach(t),c=!1,r()}}}function re(n){let t,s,c;return{c(){t=e.element("cashier-error"),s=e.element("span"),c=e.text(n[10]),e.attr(s,"slot","text"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"assetsurl",n[1]),e.set_custom_element_data(t,"translationurl",n[2]),e.set_custom_element_data(t,"clientstylingurl",n[4]),e.set_custom_element_data(t,"clientstyling",n[3]),e.set_custom_element_data(t,"hidebuttons","true")},m(r,i){e.insert(r,t,i),e.append(t,s),e.append(s,c)},p(r,i){i[0]&1024&&e.set_data(c,r[10]),i[0]&1&&e.set_custom_element_data(t,"lang",r[0]),i[0]&2&&e.set_custom_element_data(t,"assetsurl",r[1]),i[0]&4&&e.set_custom_element_data(t,"translationurl",r[2]),i[0]&16&&e.set_custom_element_data(t,"clientstylingurl",r[4]),i[0]&8&&e.set_custom_element_data(t,"clientstyling",r[3])},d(r){r&&e.detach(t)}}}function ve(n){let t,s,c,r=n[12]&&se(n),i=(n[9]||n[11])&&le(n),a=n[10]&&re(n);return{c(){r&&r.c(),t=e.space(),i&&i.c(),s=e.space(),a&&a.c(),c=e.empty()},m(o,m){r&&r.m(o,m),e.insert(o,t,m),i&&i.m(o,m),e.insert(o,s,m),a&&a.m(o,m),e.insert(o,c,m)},p(o,m){o[12]?r?r.p(o,m):(r=se(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9]||o[11]?i?i.p(o,m):(i=le(o),i.c(),i.m(s.parentNode,s)):i&&(i.d(1),i=null),o[10]?a?a.p(o,m):(a=re(o),a.c(),a.m(c.parentNode,c)):a&&(a.d(1),a=null)},i:e.noop,o:e.noop,d(o){o&&(e.detach(t),e.detach(s),e.detach(c)),r&&r.d(o),i&&i.d(o),a&&a.d(o)}}}const ke=()=>{};function Se(n,t,s){let c;e.component_subscribe(n,B.$format,l=>s(13,c=l)),V.dayjs.extend(V.utc);let{lang:r="en"}=t,{local:i="en-US"}=t,{endpoint:a}=t,{session:o}=t,{customerid:m}=t,{assetsurl:d}=t,{currency:L}=t,{numberofmethodsshown:M}=t,{translationurl:y=""}=t,{clientstyling:g=""}=t,{clientstylingurl:k=""}=t,{ismobileview:C}=t,p=[],_,S,E="",w=[],x=!0,R=new Intl.NumberFormat(i,{minimumFractionDigits:2}),b="",A,P=!0,j=!1;var T;(function(l){l.PlayerSessionIsNotValid="PlayerSessionIsNotValid",l.Success="Success",l.JwtTokenError="JwtTokenError"})(T||(T={})),e.createEventDispatcher();const U=()=>{let l=y;if(l)return fetch(l).then(u=>u.json()).then(u=>{Object.keys(u).forEach(v=>{ee(v,u[v])})}).catch(u=>{console.log(u)})};Object.keys(te).forEach(l=>{ee(l,te[l])});const H=()=>{Le(r)},D=()=>{s(12,j=!0);const l=new URL(`${a}/v1/player/${m}/payment/GetPaymentMetadata`),u=new Headers;u.append("accept","application/json"),u.append("Content-Type","application/json"),u.append("X-Client-Request-Timestamp",V.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const v={method:"POST",headers:u,body:JSON.stringify({XPaymentSessionToken:o,Currency:L})};fetch(l,v).then(h=>h.json()).then(h=>{var O;if(h.error){s(10,b=h.error);return}if(h.ResponseCode!==T.Success){A=h.ResponseCode,q();return}p=(O=h.PaymentMethods)!=null&&O.Ordering?z(h):W(h),s(7,E=M&&+M>0&&p.length>+M?c("showAll"):""),s(8,w=E?p.slice(0,+M):p),window.postMessage({type:"StartSessionCountdown",paymentMethodName:p[0].Name,xPaymentSessionToken:h.XPaymentSessionToken},window.location.href)}).finally(()=>s(12,j=!1))},z=l=>{const u=[];return l.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(v=>{const h=l.PaymentMethods.PaymentMethods.find(O=>O.Name===v);if(h){const O=(h==null?void 0:h.Logos.find(Y=>Y.LogoType==="Desktop"))||{},ge=(h==null?void 0:h.Logos.find(Y=>Y.LogoType==="Mobile"))||{},K=P?O:ge;u.push(J(G({},h),{LogoUrl:K.LogoUrl?`https:${K.LogoUrl}`:""}))}}),u},W=l=>l.PaymentMethods.PaymentMethods.map(u=>J(G({},u),{LogoUrl:u.Logos&&u.Logos.length&&u.Logos[0].LogoUrl?`https:${u.Logos[0].LogoUrl}`:""})),F=l=>{s(6,S=l.Name),dispatchEvent(new CustomEvent("selectPayMeth",{detail:l,bubbles:!0,cancelable:!0,composed:!0}))},q=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:A},window.location.href)},I=()=>{s(11,P=C==="false")},N=()=>{w==p?ce():f()},f=()=>{s(8,w=p),s(7,E=c("showLess"))},ce=()=>{s(8,w=p.slice(0,+M)),S&&!w.find(l=>l.Name===S)&&w.splice(0,0,p.find(l=>l.Name===S)),s(7,E=c("showAll"))},X=()=>{s(9,x=!0)},Z=l=>{s(9,x=!l.detail.hideMethodsList)},me=()=>{let l=document.createElement("style");l.innerHTML=g,_.appendChild(l)},de=()=>{let l=new URL(k),u=document.createElement("style");fetch(l.href).then(v=>v.text()).then(v=>{u.innerHTML=v,setTimeout(()=>{_.appendChild(u)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.addEventListener("backToMethodList",X,!1),window.addEventListener("hideMethodsList",Z,!1),()=>{window.removeEventListener("backToMethodList",X),window.removeEventListener("paymentMethodLoaded",Z)}));const ue=l=>F(l),he=()=>N();function fe(l){e.binding_callbacks[l?"unshift":"push"](()=>{_=l,s(5,_)})}return n.$$set=l=>{"lang"in l&&s(0,r=l.lang),"local"in l&&s(17,i=l.local),"endpoint"in l&&s(18,a=l.endpoint),"session"in l&&s(19,o=l.session),"customerid"in l&&s(20,m=l.customerid),"assetsurl"in l&&s(1,d=l.assetsurl),"currency"in l&&s(21,L=l.currency),"numberofmethodsshown"in l&&s(22,M=l.numberofmethodsshown),"translationurl"in l&&s(2,y=l.translationurl),"clientstyling"in l&&s(3,g=l.clientstyling),"clientstylingurl"in l&&s(4,k=l.clientstylingurl),"ismobileview"in l&&s(23,C=l.ismobileview)},n.$$.update=()=>{n.$$.dirty[0]&1835008&&a&&o&&m&&D(),n.$$.dirty[0]&1&&r&&H(),n.$$.dirty[0]&40&&g&&_&&me(),n.$$.dirty[0]&48&&k&&_&&de(),n.$$.dirty[0]&8388608&&C&&I(),n.$$.dirty[0]&5&&r&&y&&U()},[r,d,y,g,k,_,S,E,w,x,b,P,j,c,R,F,N,i,a,o,m,L,M,C,ue,he,fe]}class ae extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Se,ve,e.safe_not_equal,{lang:0,local:17,endpoint:18,session:19,customerid:20,assetsurl:1,currency:21,numberofmethodsshown:22,translationurl:2,clientstyling:3,clientstylingurl:4,ismobileview:23},Me,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get local(){return this.$$.ctx[17]}set local(t){this.$$set({local:t}),e.flush()}get endpoint(){return this.$$.ctx[18]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[19]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[20]}set customerid(t){this.$$set({customerid:t}),e.flush()}get assetsurl(){return this.$$.ctx[1]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get currency(){return this.$$.ctx[21]}set currency(t){this.$$set({currency:t}),e.flush()}get numberofmethodsshown(){return this.$$.ctx[22]}set numberofmethodsshown(t){this.$$set({numberofmethodsshown:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get ismobileview(){return this.$$.ctx[23]}set ismobileview(t){this.$$set({ismobileview:t}),e.flush()}}e.create_custom_element(ae,{lang:{},local:{},endpoint:{},session:{},customerid:{},assetsurl:{},currency:{},numberofmethodsshown:{},translationurl:{},clientstyling:{},clientstylingurl:{},ismobileview:{}},[],[],!0);exports.default=ae;
|
|
1
|
+
"use strict";var pe=Object.defineProperty,_e=Object.defineProperties;var we=Object.getOwnPropertyDescriptors;var Q=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var $=(n,t,s)=>t in n?pe(n,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[t]=s,G=(n,t)=>{for(var s in t||(t={}))ye.call(t,s)&&$(n,s,t[s]);if(Q)for(var s of Q(t))be.call(t,s)&&$(n,s,t[s]);return n},J=(n,t)=>_e(n,we(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-DDkEGERx.cjs"),B=require("./CashierError-BUdqkPz2.cjs"),V=require("./CashierMethodDetails-DMCJoyAU.cjs");function ee(n,t){B.addMessages(n,t)}function Le(n){B.init({fallbackLocale:"en"}),B.$locale.set(n)}const te={en:{generalMin:"Min",generalMax:"Max",showAll:"SHOW ALL",showLess:"SHOW LESS"},uk:{generalMin:"Мін",generalMax:"Макс"},hr:{generalMin:"Minimalno",generalMax:"Maksimalno",showAll:"Prikaži sve",showLess:"Prikaži manje"},tr:{generalMin:"Min",generalMax:"Maks",showAll:"HEPSİNİ GÖSTER",showLess:"DAHA AZ GÖSTER"}};function Me(n){e.append_styles(n,"svelte-a5920l","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);min-width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}")}function ne(n,t,s){const c=n.slice();return c[46]=t[s],c[48]=s,c}function se(n){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",n[4]),e.set_custom_element_data(t,"clientstyling",n[3])},m(s,c){e.insert(s,t,c)},p(s,c){c[0]&16&&e.set_custom_element_data(t,"clientstylingurl",s[4]),c[0]&8&&e.set_custom_element_data(t,"clientstyling",s[3])},d(s){s&&e.detach(t)}}}function le(n){let t,s,c,r=e.ensure_array_like(n[8]),i=[];for(let o=0;o<r.length;o+=1)i[o]=ie(ne(n,r,o));let a=n[7]&&oe(n);return{c(){t=e.element("div"),s=e.element("div");for(let o=0;o<i.length;o+=1)i[o].c();c=e.space(),a&&a.c(),e.attr(s,"class","CashierMethodList"),e.attr(t,"class","CashierMethodListWidget")},m(o,m){e.insert(o,t,m),e.append(t,s);for(let d=0;d<i.length;d+=1)i[d]&&i[d].m(s,null);e.append(t,c),a&&a.m(t,null),n[26](t)},p(o,m){if(m[0]&57664){r=e.ensure_array_like(o[8]);let d;for(d=0;d<r.length;d+=1){const L=ne(o,r,d);i[d]?i[d].p(L,m):(i[d]=ie(L),i[d].c(),i[d].m(s,null))}for(;d<i.length;d+=1)i[d].d(1);i.length=r.length}o[7]?a?a.p(o,m):(a=oe(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(o){o&&e.detach(t),e.destroy_each(i,o),a&&a.d(),n[26](null)}}}function ie(n){let t,s,c,r,i,a,o,m,d=(n[46].Label||n[46].Name)+"",L,M,y,g,k=n[13]("generalMin")+"",C,p,_=n[14].format(n[46].DisplayCurrency.MinAmountLimit)+"",S,E,w=n[46].DisplayCurrency.Name+"",x,R,b,A=n[13]("generalMax")+"",P,j,T=n[14].format(n[46].DisplayCurrency.MaxAmountLimit)+"",O,H,D=n[46].DisplayCurrency.Name+"",z,W,F,q;function I(){return n[24](n[46])}return{c(){t=e.element("div"),s=e.element("div"),c=e.element("img"),a=e.space(),o=e.element("div"),m=e.element("span"),L=e.text(d),M=e.space(),y=e.element("div"),g=e.element("span"),C=e.text(k),p=e.space(),S=e.text(_),E=e.space(),x=e.text(w),R=e.space(),b=e.element("span"),P=e.text(A),j=e.space(),O=e.text(T),H=e.space(),z=e.text(D),W=e.space(),e.src_url_equal(c.src,r=n[46].LogoUrl)||e.attr(c,"src",r),e.attr(c,"alt",i=n[46].Label),e.attr(s,"class","MethodLogo"),e.attr(o,"class","MethodTitle"),e.attr(g,"class","Limits"),e.attr(b,"class","Limits"),e.attr(y,"class","MethodLimits"),e.attr(t,"class","SelectorWrapper"),e.toggle_class(t,"checked",n[6]===n[46].Name)},m(N,f){e.insert(N,t,f),e.append(t,s),e.append(s,c),e.append(t,a),e.append(t,o),e.append(o,m),e.append(m,L),e.append(t,M),e.append(t,y),e.append(y,g),e.append(g,C),e.append(g,p),e.append(g,S),e.append(g,E),e.append(g,x),e.append(y,R),e.append(y,b),e.append(b,P),e.append(b,j),e.append(b,O),e.append(b,H),e.append(b,z),e.append(t,W),F||(q=[e.listen(t,"click",I),e.listen(t,"keyup",ke)],F=!0)},p(N,f){n=N,f[0]&256&&!e.src_url_equal(c.src,r=n[46].LogoUrl)&&e.attr(c,"src",r),f[0]&256&&i!==(i=n[46].Label)&&e.attr(c,"alt",i),f[0]&256&&d!==(d=(n[46].Label||n[46].Name)+"")&&e.set_data(L,d),f[0]&8192&&k!==(k=n[13]("generalMin")+"")&&e.set_data(C,k),f[0]&256&&_!==(_=n[14].format(n[46].DisplayCurrency.MinAmountLimit)+"")&&e.set_data(S,_),f[0]&256&&w!==(w=n[46].DisplayCurrency.Name+"")&&e.set_data(x,w),f[0]&8192&&A!==(A=n[13]("generalMax")+"")&&e.set_data(P,A),f[0]&256&&T!==(T=n[14].format(n[46].DisplayCurrency.MaxAmountLimit)+"")&&e.set_data(O,T),f[0]&256&&D!==(D=n[46].DisplayCurrency.Name+"")&&e.set_data(z,D),f[0]&320&&e.toggle_class(t,"checked",n[6]===n[46].Name)},d(N){N&&e.detach(t),F=!1,e.run_all(q)}}}function oe(n){let t,s,c,r;return{c(){t=e.element("div"),s=e.text(n[7]),e.attr(t,"class","ShowAllButton")},m(i,a){e.insert(i,t,a),e.append(t,s),c||(r=e.listen(t,"click",n[25]),c=!0)},p(i,a){a[0]&128&&e.set_data(s,i[7])},d(i){i&&e.detach(t),c=!1,r()}}}function re(n){let t,s,c;return{c(){t=e.element("cashier-error"),s=e.element("span"),c=e.text(n[10]),e.attr(s,"slot","text"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"assetsurl",n[1]),e.set_custom_element_data(t,"translationurl",n[2]),e.set_custom_element_data(t,"clientstylingurl",n[4]),e.set_custom_element_data(t,"clientstyling",n[3]),e.set_custom_element_data(t,"hidebuttons","true")},m(r,i){e.insert(r,t,i),e.append(t,s),e.append(s,c)},p(r,i){i[0]&1024&&e.set_data(c,r[10]),i[0]&1&&e.set_custom_element_data(t,"lang",r[0]),i[0]&2&&e.set_custom_element_data(t,"assetsurl",r[1]),i[0]&4&&e.set_custom_element_data(t,"translationurl",r[2]),i[0]&16&&e.set_custom_element_data(t,"clientstylingurl",r[4]),i[0]&8&&e.set_custom_element_data(t,"clientstyling",r[3])},d(r){r&&e.detach(t)}}}function ve(n){let t,s,c,r=n[12]&&se(n),i=(n[9]||n[11])&&le(n),a=n[10]&&re(n);return{c(){r&&r.c(),t=e.space(),i&&i.c(),s=e.space(),a&&a.c(),c=e.empty()},m(o,m){r&&r.m(o,m),e.insert(o,t,m),i&&i.m(o,m),e.insert(o,s,m),a&&a.m(o,m),e.insert(o,c,m)},p(o,m){o[12]?r?r.p(o,m):(r=se(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9]||o[11]?i?i.p(o,m):(i=le(o),i.c(),i.m(s.parentNode,s)):i&&(i.d(1),i=null),o[10]?a?a.p(o,m):(a=re(o),a.c(),a.m(c.parentNode,c)):a&&(a.d(1),a=null)},i:e.noop,o:e.noop,d(o){o&&(e.detach(t),e.detach(s),e.detach(c)),r&&r.d(o),i&&i.d(o),a&&a.d(o)}}}const ke=()=>{};function Se(n,t,s){let c;e.component_subscribe(n,B.$format,l=>s(13,c=l)),V.dayjs.extend(V.utc);let{lang:r="en"}=t,{local:i="en-US"}=t,{endpoint:a}=t,{session:o}=t,{customerid:m}=t,{assetsurl:d}=t,{currency:L}=t,{numberofmethodsshown:M}=t,{translationurl:y=""}=t,{clientstyling:g=""}=t,{clientstylingurl:k=""}=t,{ismobileview:C}=t,p=[],_,S,E="",w=[],x=!0,R=new Intl.NumberFormat(i,{minimumFractionDigits:2}),b="",A,P=!0,j=!1;var T;(function(l){l.PlayerSessionIsNotValid="PlayerSessionIsNotValid",l.Success="Success",l.JwtTokenError="JwtTokenError"})(T||(T={})),e.createEventDispatcher();const O=()=>{let l=y;if(l)return fetch(l).then(u=>u.json()).then(u=>{Object.keys(u).forEach(v=>{ee(v,u[v])})}).catch(u=>{console.log(u)})};Object.keys(te).forEach(l=>{ee(l,te[l])});const H=()=>{Le(r)},D=()=>{s(12,j=!0);const l=new URL(`${a}/v1/player/${m}/payment/GetPaymentMetadata`),u=new Headers;u.append("accept","application/json"),u.append("Content-Type","application/json"),u.append("X-Client-Request-Timestamp",V.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const v={method:"POST",headers:u,body:JSON.stringify({XPaymentSessionToken:o,Currency:L,Tags:{UserAgent:window.navigator.userAgent}})};fetch(l,v).then(h=>h.json()).then(h=>{var U;if(h.error){s(10,b=h.error);return}if(h.ResponseCode!==T.Success){A=h.ResponseCode,q();return}p=(U=h.PaymentMethods)!=null&&U.Ordering?z(h):W(h),s(7,E=M&&+M>0&&p.length>+M?c("showAll"):""),s(8,w=E?p.slice(0,+M):p),window.postMessage({type:"StartSessionCountdown",paymentMethodName:p[0].Name,xPaymentSessionToken:h.XPaymentSessionToken},window.location.href)}).finally(()=>s(12,j=!1))},z=l=>{const u=[];return l.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(v=>{const h=l.PaymentMethods.PaymentMethods.find(U=>U.Name===v);if(h){const U=(h==null?void 0:h.Logos.find(Y=>Y.LogoType==="Desktop"))||{},ge=(h==null?void 0:h.Logos.find(Y=>Y.LogoType==="Mobile"))||{},K=P?U:ge;u.push(J(G({},h),{LogoUrl:K.LogoUrl?`https:${K.LogoUrl}`:""}))}}),u},W=l=>l.PaymentMethods.PaymentMethods.map(u=>J(G({},u),{LogoUrl:u.Logos&&u.Logos.length&&u.Logos[0].LogoUrl?`https:${u.Logos[0].LogoUrl}`:""})),F=l=>{s(6,S=l.Name),dispatchEvent(new CustomEvent("selectPayMeth",{detail:l,bubbles:!0,cancelable:!0,composed:!0}))},q=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:A},window.location.href)},I=()=>{s(11,P=C==="false")},N=()=>{w==p?ce():f()},f=()=>{s(8,w=p),s(7,E=c("showLess"))},ce=()=>{s(8,w=p.slice(0,+M)),S&&!w.find(l=>l.Name===S)&&w.splice(0,0,p.find(l=>l.Name===S)),s(7,E=c("showAll"))},X=()=>{s(9,x=!0)},Z=l=>{s(9,x=!l.detail.hideMethodsList)},me=()=>{let l=document.createElement("style");l.innerHTML=g,_.appendChild(l)},de=()=>{let l=new URL(k),u=document.createElement("style");fetch(l.href).then(v=>v.text()).then(v=>{u.innerHTML=v,setTimeout(()=>{_.appendChild(u)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.addEventListener("backToMethodList",X,!1),window.addEventListener("hideMethodsList",Z,!1),()=>{window.removeEventListener("backToMethodList",X),window.removeEventListener("paymentMethodLoaded",Z)}));const ue=l=>F(l),he=()=>N();function fe(l){e.binding_callbacks[l?"unshift":"push"](()=>{_=l,s(5,_)})}return n.$$set=l=>{"lang"in l&&s(0,r=l.lang),"local"in l&&s(17,i=l.local),"endpoint"in l&&s(18,a=l.endpoint),"session"in l&&s(19,o=l.session),"customerid"in l&&s(20,m=l.customerid),"assetsurl"in l&&s(1,d=l.assetsurl),"currency"in l&&s(21,L=l.currency),"numberofmethodsshown"in l&&s(22,M=l.numberofmethodsshown),"translationurl"in l&&s(2,y=l.translationurl),"clientstyling"in l&&s(3,g=l.clientstyling),"clientstylingurl"in l&&s(4,k=l.clientstylingurl),"ismobileview"in l&&s(23,C=l.ismobileview)},n.$$.update=()=>{n.$$.dirty[0]&1835008&&a&&o&&m&&D(),n.$$.dirty[0]&1&&r&&H(),n.$$.dirty[0]&40&&g&&_&&me(),n.$$.dirty[0]&48&&k&&_&&de(),n.$$.dirty[0]&8388608&&C&&I(),n.$$.dirty[0]&5&&r&&y&&O()},[r,d,y,g,k,_,S,E,w,x,b,P,j,c,R,F,N,i,a,o,m,L,M,C,ue,he,fe]}class ae extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Se,ve,e.safe_not_equal,{lang:0,local:17,endpoint:18,session:19,customerid:20,assetsurl:1,currency:21,numberofmethodsshown:22,translationurl:2,clientstyling:3,clientstylingurl:4,ismobileview:23},Me,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get local(){return this.$$.ctx[17]}set local(t){this.$$set({local:t}),e.flush()}get endpoint(){return this.$$.ctx[18]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[19]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[20]}set customerid(t){this.$$set({customerid:t}),e.flush()}get assetsurl(){return this.$$.ctx[1]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get currency(){return this.$$.ctx[21]}set currency(t){this.$$set({currency:t}),e.flush()}get numberofmethodsshown(){return this.$$.ctx[22]}set numberofmethodsshown(t){this.$$set({numberofmethodsshown:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get ismobileview(){return this.$$.ctx[23]}set ismobileview(t){this.$$set({ismobileview:t}),e.flush()}}e.create_custom_element(ae,{lang:{},local:{},endpoint:{},session:{},customerid:{},assetsurl:{},currency:{},numberofmethodsshown:{},translationurl:{},clientstyling:{},clientstylingurl:{},ismobileview:{}},[],[],!0);exports.default=ae;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var Te = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var Te = Object.defineProperty, Ae = Object.defineProperties;
|
|
2
|
+
var Ne = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var oe = Object.getOwnPropertySymbols;
|
|
4
4
|
var Pe = Object.prototype.hasOwnProperty, xe = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var re = (t, e, s) => e in t ? Te(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, ee = (t, e) => {
|
|
@@ -9,10 +9,10 @@ var re = (t, e, s) => e in t ? Te(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
for (var s of oe(e))
|
|
10
10
|
xe.call(e, s) && re(t, s, e[s]);
|
|
11
11
|
return t;
|
|
12
|
-
}, te = (t, e) =>
|
|
13
|
-
import { S as Fe, b as De, f as v, c as
|
|
12
|
+
}, te = (t, e) => Ae(t, Ne(e));
|
|
13
|
+
import { S as Fe, b as De, f as v, c as Ue, a as je, d as ze, h as S, x as Oe, k as z, n as ae, v as O, w as Re, F as He, H as We, g as p, E as f, K as ce, j as w, l as c, M as Be, y as P, D as me, J as ue, A as se, z as x, r as qe, C as Ie } from "./CashierConfirmModal-DcDzn1gw.js";
|
|
14
14
|
import { a as Je, i as Ye, $ as Ge, b as Ve } from "./CashierError-BN74rRfp.js";
|
|
15
|
-
import { d as de, u as Xe } from "./CashierMethodDetails-
|
|
15
|
+
import { d as de, u as Xe } from "./CashierMethodDetails-DG-OxC4l.js";
|
|
16
16
|
function he(t, e) {
|
|
17
17
|
Je(t, e);
|
|
18
18
|
}
|
|
@@ -46,7 +46,7 @@ const fe = {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
function Ze(t) {
|
|
49
|
-
|
|
49
|
+
ze(t, "svelte-a5920l", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);min-width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
|
|
50
50
|
}
|
|
51
51
|
function ge(t, e, s) {
|
|
52
52
|
const a = t.slice();
|
|
@@ -69,7 +69,7 @@ function we(t) {
|
|
|
69
69
|
);
|
|
70
70
|
},
|
|
71
71
|
m(s, a) {
|
|
72
|
-
|
|
72
|
+
z(s, e, a);
|
|
73
73
|
},
|
|
74
74
|
p(s, a) {
|
|
75
75
|
a[0] & /*clientstylingurl*/
|
|
@@ -110,7 +110,7 @@ function pe(t) {
|
|
|
110
110
|
a = S(), r && r.c(), w(s, "class", "CashierMethodList"), w(e, "class", "CashierMethodListWidget");
|
|
111
111
|
},
|
|
112
112
|
m(l, m) {
|
|
113
|
-
|
|
113
|
+
z(l, e, m), c(e, s);
|
|
114
114
|
for (let u = 0; u < i.length; u += 1)
|
|
115
115
|
i[u] && i[u].m(s, null);
|
|
116
116
|
c(e, a), r && r.m(e, null), t[26](e);
|
|
@@ -144,7 +144,7 @@ function ye(t) {
|
|
|
144
144
|
/*payMeth*/
|
|
145
145
|
(t[46].Label || /*payMeth*/
|
|
146
146
|
t[46].Name) + ""
|
|
147
|
-
), C, E, _, y,
|
|
147
|
+
), C, E, _, y, A = (
|
|
148
148
|
/*$_*/
|
|
149
149
|
t[13]("generalMin") + ""
|
|
150
150
|
), F, b, L = (
|
|
@@ -153,13 +153,13 @@ function ye(t) {
|
|
|
153
153
|
/*payMeth*/
|
|
154
154
|
t[46].DisplayCurrency.MinAmountLimit
|
|
155
155
|
) + ""
|
|
156
|
-
),
|
|
156
|
+
), N, D, M = (
|
|
157
157
|
/*payMeth*/
|
|
158
158
|
t[46].DisplayCurrency.Name + ""
|
|
159
159
|
), R, V, k, H = (
|
|
160
160
|
/*$_*/
|
|
161
161
|
t[13]("generalMax") + ""
|
|
162
|
-
), W, B,
|
|
162
|
+
), W, B, U = (
|
|
163
163
|
/*formatter*/
|
|
164
164
|
t[14].format(
|
|
165
165
|
/*payMeth*/
|
|
@@ -180,7 +180,7 @@ function ye(t) {
|
|
|
180
180
|
}
|
|
181
181
|
return {
|
|
182
182
|
c() {
|
|
183
|
-
e = p("div"), s = p("div"), a = p("img"), r = S(), l = p("div"), m = p("span"), C = P(u), E = S(), _ = p("div"), y = p("span"), F = P(
|
|
183
|
+
e = p("div"), s = p("div"), a = p("img"), r = S(), l = p("div"), m = p("span"), C = P(u), E = S(), _ = p("div"), y = p("span"), F = P(A), b = S(), N = P(L), D = S(), R = P(M), V = S(), k = p("span"), W = P(H), B = S(), Y = P(U), X = S(), G = P(q), K = S(), me(a.src, o = /*payMeth*/
|
|
184
184
|
t[46].LogoUrl) || w(a, "src", o), w(a, "alt", i = /*payMeth*/
|
|
185
185
|
t[46].Label), w(s, "class", "MethodLogo"), w(l, "class", "MethodTitle"), w(y, "class", "Limits"), w(k, "class", "Limits"), w(_, "class", "MethodLimits"), w(e, "class", "SelectorWrapper"), ue(
|
|
186
186
|
e,
|
|
@@ -190,14 +190,14 @@ function ye(t) {
|
|
|
190
190
|
t[46].Name
|
|
191
191
|
);
|
|
192
192
|
},
|
|
193
|
-
m(
|
|
194
|
-
|
|
193
|
+
m(j, g) {
|
|
194
|
+
z(j, e, g), c(e, s), c(s, a), c(e, r), c(e, l), c(l, m), c(m, C), c(e, E), c(e, _), c(_, y), c(y, F), c(y, b), c(y, N), c(y, D), c(y, R), c(_, V), c(_, k), c(k, W), c(k, B), c(k, Y), c(k, X), c(k, G), c(e, K), I || (Z = [
|
|
195
195
|
se(e, "click", Q),
|
|
196
196
|
se(e, "keyup", $e)
|
|
197
197
|
], I = !0);
|
|
198
198
|
},
|
|
199
|
-
p(
|
|
200
|
-
t =
|
|
199
|
+
p(j, g) {
|
|
200
|
+
t = j, g[0] & /*paymentMethodsToShow*/
|
|
201
201
|
256 && !me(a.src, o = /*payMeth*/
|
|
202
202
|
t[46].LogoUrl) && w(a, "src", o), g[0] & /*paymentMethodsToShow*/
|
|
203
203
|
256 && i !== (i = /*payMeth*/
|
|
@@ -205,22 +205,22 @@ function ye(t) {
|
|
|
205
205
|
256 && u !== (u = /*payMeth*/
|
|
206
206
|
(t[46].Label || /*payMeth*/
|
|
207
207
|
t[46].Name) + "") && x(C, u), g[0] & /*$_*/
|
|
208
|
-
8192 &&
|
|
209
|
-
t[13]("generalMin") + "") && x(F,
|
|
208
|
+
8192 && A !== (A = /*$_*/
|
|
209
|
+
t[13]("generalMin") + "") && x(F, A), g[0] & /*paymentMethodsToShow*/
|
|
210
210
|
256 && L !== (L = /*formatter*/
|
|
211
211
|
t[14].format(
|
|
212
212
|
/*payMeth*/
|
|
213
213
|
t[46].DisplayCurrency.MinAmountLimit
|
|
214
|
-
) + "") && x(
|
|
214
|
+
) + "") && x(N, L), g[0] & /*paymentMethodsToShow*/
|
|
215
215
|
256 && M !== (M = /*payMeth*/
|
|
216
216
|
t[46].DisplayCurrency.Name + "") && x(R, M), g[0] & /*$_*/
|
|
217
217
|
8192 && H !== (H = /*$_*/
|
|
218
218
|
t[13]("generalMax") + "") && x(W, H), g[0] & /*paymentMethodsToShow*/
|
|
219
|
-
256 &&
|
|
219
|
+
256 && U !== (U = /*formatter*/
|
|
220
220
|
t[14].format(
|
|
221
221
|
/*payMeth*/
|
|
222
222
|
t[46].DisplayCurrency.MaxAmountLimit
|
|
223
|
-
) + "") && x(Y,
|
|
223
|
+
) + "") && x(Y, U), g[0] & /*paymentMethodsToShow*/
|
|
224
224
|
256 && q !== (q = /*payMeth*/
|
|
225
225
|
t[46].DisplayCurrency.Name + "") && x(G, q), g[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
|
|
226
226
|
320 && ue(
|
|
@@ -231,8 +231,8 @@ function ye(t) {
|
|
|
231
231
|
t[46].Name
|
|
232
232
|
);
|
|
233
233
|
},
|
|
234
|
-
d(
|
|
235
|
-
|
|
234
|
+
d(j) {
|
|
235
|
+
j && O(e), I = !1, qe(Z);
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
238
|
}
|
|
@@ -246,7 +246,7 @@ function be(t) {
|
|
|
246
246
|
), w(e, "class", "ShowAllButton");
|
|
247
247
|
},
|
|
248
248
|
m(i, r) {
|
|
249
|
-
|
|
249
|
+
z(i, e, r), c(e, s), a || (o = se(
|
|
250
250
|
e,
|
|
251
251
|
"click",
|
|
252
252
|
/*click_handler_1*/
|
|
@@ -301,7 +301,7 @@ function Le(t) {
|
|
|
301
301
|
), f(e, "hidebuttons", "true");
|
|
302
302
|
},
|
|
303
303
|
m(o, i) {
|
|
304
|
-
|
|
304
|
+
z(o, e, i), c(e, s), c(s, a);
|
|
305
305
|
},
|
|
306
306
|
p(o, i) {
|
|
307
307
|
i[0] & /*errorMessage*/
|
|
@@ -363,7 +363,7 @@ function Qe(t) {
|
|
|
363
363
|
o && o.c(), e = S(), i && i.c(), s = S(), r && r.c(), a = Oe();
|
|
364
364
|
},
|
|
365
365
|
m(l, m) {
|
|
366
|
-
o && o.m(l, m),
|
|
366
|
+
o && o.m(l, m), z(l, e, m), i && i.m(l, m), z(l, s, m), r && r.m(l, m), z(l, a, m);
|
|
367
367
|
},
|
|
368
368
|
p(l, m) {
|
|
369
369
|
/*showSpinner*/
|
|
@@ -384,11 +384,11 @@ const $e = () => {
|
|
|
384
384
|
function et(t, e, s) {
|
|
385
385
|
let a;
|
|
386
386
|
Re(t, Ve, (n) => s(13, a = n)), de.extend(Xe);
|
|
387
|
-
let { lang: o = "en" } = e, { local: i = "en-US" } = e, { endpoint: r } = e, { session: l } = e, { customerid: m } = e, { assetsurl: u } = e, { currency: C } = e, { numberofmethodsshown: E } = e, { translationurl: _ = "" } = e, { clientstyling: y = "" } = e, { clientstylingurl:
|
|
388
|
-
var
|
|
387
|
+
let { lang: o = "en" } = e, { local: i = "en-US" } = e, { endpoint: r } = e, { session: l } = e, { customerid: m } = e, { assetsurl: u } = e, { currency: C } = e, { numberofmethodsshown: E } = e, { translationurl: _ = "" } = e, { clientstyling: y = "" } = e, { clientstylingurl: A = "" } = e, { ismobileview: F } = e, b = [], L, N, D = "", M = [], R = !0, V = new Intl.NumberFormat(i, { minimumFractionDigits: 2 }), k = "", H, W = !0, B = !1;
|
|
388
|
+
var U;
|
|
389
389
|
(function(n) {
|
|
390
390
|
n.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", n.Success = "Success", n.JwtTokenError = "JwtTokenError";
|
|
391
|
-
})(
|
|
391
|
+
})(U || (U = {})), He();
|
|
392
392
|
const Y = () => {
|
|
393
393
|
let n = _;
|
|
394
394
|
if (n)
|
|
@@ -414,7 +414,8 @@ function et(t, e, s) {
|
|
|
414
414
|
headers: d,
|
|
415
415
|
body: JSON.stringify({
|
|
416
416
|
XPaymentSessionToken: l,
|
|
417
|
-
Currency: C
|
|
417
|
+
Currency: C,
|
|
418
|
+
Tags: { UserAgent: window.navigator.userAgent }
|
|
418
419
|
})
|
|
419
420
|
};
|
|
420
421
|
fetch(n, T).then((h) => h.json()).then((h) => {
|
|
@@ -423,7 +424,7 @@ function et(t, e, s) {
|
|
|
423
424
|
s(10, k = h.error);
|
|
424
425
|
return;
|
|
425
426
|
}
|
|
426
|
-
if (h.ResponseCode !==
|
|
427
|
+
if (h.ResponseCode !== U.Success) {
|
|
427
428
|
H = h.ResponseCode, Z();
|
|
428
429
|
return;
|
|
429
430
|
}
|
|
@@ -450,7 +451,7 @@ function et(t, e, s) {
|
|
|
450
451
|
}, K = (n) => n.PaymentMethods.PaymentMethods.map((d) => te(ee({}, d), {
|
|
451
452
|
LogoUrl: d.Logos && d.Logos.length && d.Logos[0].LogoUrl ? `https:${d.Logos[0].LogoUrl}` : ""
|
|
452
453
|
})), I = (n) => {
|
|
453
|
-
s(6,
|
|
454
|
+
s(6, N = n.Name), dispatchEvent(new CustomEvent(
|
|
454
455
|
"selectPayMeth",
|
|
455
456
|
{
|
|
456
457
|
detail: n,
|
|
@@ -469,12 +470,12 @@ function et(t, e, s) {
|
|
|
469
470
|
);
|
|
470
471
|
}, Q = () => {
|
|
471
472
|
s(11, W = F === "false");
|
|
472
|
-
},
|
|
473
|
+
}, j = () => {
|
|
473
474
|
M == b ? Me() : g();
|
|
474
475
|
}, g = () => {
|
|
475
476
|
s(8, M = b), s(7, D = a("showLess"));
|
|
476
477
|
}, Me = () => {
|
|
477
|
-
s(8, M = b.slice(0, +E)),
|
|
478
|
+
s(8, M = b.slice(0, +E)), N && !M.find((n) => n.Name === N) && M.splice(0, 0, b.find((n) => n.Name === N)), s(7, D = a("showAll"));
|
|
478
479
|
}, ne = () => {
|
|
479
480
|
s(9, R = !0);
|
|
480
481
|
}, ie = (n) => {
|
|
@@ -483,7 +484,7 @@ function et(t, e, s) {
|
|
|
483
484
|
let n = document.createElement("style");
|
|
484
485
|
n.innerHTML = y, L.appendChild(n);
|
|
485
486
|
}, _e = () => {
|
|
486
|
-
let n = new URL(
|
|
487
|
+
let n = new URL(A), d = document.createElement("style");
|
|
487
488
|
fetch(n.href).then((T) => T.text()).then((T) => {
|
|
488
489
|
d.innerHTML = T, setTimeout(
|
|
489
490
|
() => {
|
|
@@ -500,20 +501,20 @@ function et(t, e, s) {
|
|
|
500
501
|
We(() => (window.addEventListener("backToMethodList", ne, !1), window.addEventListener("hideMethodsList", ie, !1), () => {
|
|
501
502
|
window.removeEventListener("backToMethodList", ne), window.removeEventListener("paymentMethodLoaded", ie);
|
|
502
503
|
}));
|
|
503
|
-
const ke = (n) => I(n), Se = () =>
|
|
504
|
+
const ke = (n) => I(n), Se = () => j();
|
|
504
505
|
function Ce(n) {
|
|
505
506
|
Ie[n ? "unshift" : "push"](() => {
|
|
506
507
|
L = n, s(5, L);
|
|
507
508
|
});
|
|
508
509
|
}
|
|
509
510
|
return t.$$set = (n) => {
|
|
510
|
-
"lang" in n && s(0, o = n.lang), "local" in n && s(17, i = n.local), "endpoint" in n && s(18, r = n.endpoint), "session" in n && s(19, l = n.session), "customerid" in n && s(20, m = n.customerid), "assetsurl" in n && s(1, u = n.assetsurl), "currency" in n && s(21, C = n.currency), "numberofmethodsshown" in n && s(22, E = n.numberofmethodsshown), "translationurl" in n && s(2, _ = n.translationurl), "clientstyling" in n && s(3, y = n.clientstyling), "clientstylingurl" in n && s(4,
|
|
511
|
+
"lang" in n && s(0, o = n.lang), "local" in n && s(17, i = n.local), "endpoint" in n && s(18, r = n.endpoint), "session" in n && s(19, l = n.session), "customerid" in n && s(20, m = n.customerid), "assetsurl" in n && s(1, u = n.assetsurl), "currency" in n && s(21, C = n.currency), "numberofmethodsshown" in n && s(22, E = n.numberofmethodsshown), "translationurl" in n && s(2, _ = n.translationurl), "clientstyling" in n && s(3, y = n.clientstyling), "clientstylingurl" in n && s(4, A = n.clientstylingurl), "ismobileview" in n && s(23, F = n.ismobileview);
|
|
511
512
|
}, t.$$.update = () => {
|
|
512
513
|
t.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
513
514
|
1835008 && r && l && m && q(), t.$$.dirty[0] & /*lang*/
|
|
514
515
|
1 && o && X(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
515
516
|
40 && y && L && ve(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
516
|
-
48 &&
|
|
517
|
+
48 && A && L && _e(), t.$$.dirty[0] & /*ismobileview*/
|
|
517
518
|
8388608 && F && Q(), t.$$.dirty[0] & /*lang, translationurl*/
|
|
518
519
|
5 && o && _ && Y();
|
|
519
520
|
}, [
|
|
@@ -521,9 +522,9 @@ function et(t, e, s) {
|
|
|
521
522
|
u,
|
|
522
523
|
_,
|
|
523
524
|
y,
|
|
524
|
-
N,
|
|
525
|
-
L,
|
|
526
525
|
A,
|
|
526
|
+
L,
|
|
527
|
+
N,
|
|
527
528
|
D,
|
|
528
529
|
M,
|
|
529
530
|
R,
|
|
@@ -533,7 +534,7 @@ function et(t, e, s) {
|
|
|
533
534
|
a,
|
|
534
535
|
V,
|
|
535
536
|
I,
|
|
536
|
-
|
|
537
|
+
j,
|
|
537
538
|
i,
|
|
538
539
|
r,
|
|
539
540
|
l,
|
|
@@ -553,7 +554,7 @@ class tt extends Fe {
|
|
|
553
554
|
e,
|
|
554
555
|
et,
|
|
555
556
|
Qe,
|
|
556
|
-
|
|
557
|
+
je,
|
|
557
558
|
{
|
|
558
559
|
lang: 0,
|
|
559
560
|
local: 17,
|
|
@@ -645,7 +646,7 @@ class tt extends Fe {
|
|
|
645
646
|
this.$$set({ ismobileview: e }), v();
|
|
646
647
|
}
|
|
647
648
|
}
|
|
648
|
-
|
|
649
|
+
Ue(tt, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
|
|
649
650
|
export {
|
|
650
651
|
tt as default
|
|
651
652
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-DDkEGERx.cjs");function b(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function y(i){let e,s,c,f,o,a,l,m;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(m=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,m()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const m=()=>{dispatchEvent(new CustomEvent("notificationButtonClick",{bubbles:!0,cancelable:!0,composed:!0}))},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(d=>d.text()).then(d=>{h.innerHTML=d,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,m,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,y,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},b)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { S as w, b as v, f as d, c as _, a as k, d as N, g, y, h as z, j as E, k as S, l as f, A as L, z as p, n as x, v as T, C as H } from "./CashierConfirmModal-DcDzn1gw.js";
|
|
1
|
+
import { S as w, b as v, f as d, c as _, a as k, d as N, g as h, y, h as z, j as E, k as S, l as f, A as L, z as p, n as x, v as T, C as H } from "./CashierConfirmModal-DcDzn1gw.js";
|
|
2
2
|
function M(n) {
|
|
3
|
-
N(n, "svelte-
|
|
3
|
+
N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
4
|
}
|
|
5
5
|
function R(n) {
|
|
6
6
|
let t, s, r, u, l, a, i, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
t =
|
|
9
|
+
t = h("div"), s = h("span"), r = y(
|
|
10
10
|
/*text*/
|
|
11
11
|
n[0]
|
|
12
|
-
), u = z(), l =
|
|
12
|
+
), u = z(), l = h("button"), a = y(
|
|
13
13
|
/*button*/
|
|
14
14
|
n[1]
|
|
15
15
|
), E(t, "class", "CashierNotifications");
|
|
@@ -58,8 +58,8 @@ function U(n, t, s) {
|
|
|
58
58
|
e.innerHTML = l, i.appendChild(e);
|
|
59
59
|
}, c = () => {
|
|
60
60
|
let e = new URL(a), b = document.createElement("style");
|
|
61
|
-
fetch(e.href).then((
|
|
62
|
-
b.innerHTML =
|
|
61
|
+
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
62
|
+
b.innerHTML = g, setTimeout(
|
|
63
63
|
() => {
|
|
64
64
|
i.appendChild(b);
|
|
65
65
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as Xe, b as Ve, f as O, c as Qe, a as Ae, d as xe, h as Z, g as H, j as E, G as _e, J as pe, k, l as T, T as $e, n as X, v as M, w as ei, H as ii, E as s, x as ni, y as R, A as Re, z as Y, C as si, D as K } from "./CashierConfirmModal-DcDzn1gw.js";
|
|
2
2
|
import { a as ti, i as li, $ as oi, b as ri } from "./CashierError-BN74rRfp.js";
|
|
3
3
|
import "./CashierIframeRedirect-7U7Ng9Ft.js";
|
|
4
|
-
import { d as ge, u as ai } from "./CashierMethodDetails-
|
|
4
|
+
import { d as ge, u as ai } from "./CashierMethodDetails-DG-OxC4l.js";
|
|
5
5
|
function Ee(i, e) {
|
|
6
6
|
ti(i, e);
|
|
7
7
|
}
|
|
@@ -97,7 +97,7 @@ if (typeof window != "undefined") {
|
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
-
customElements.define = i(customElements.define), import("./CashierVerifications-
|
|
100
|
+
customElements.define = i(customElements.define), import("./CashierVerifications-CQbtD6wt.js").then(({ default: e }) => {
|
|
101
101
|
!customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
|
|
102
102
|
});
|
|
103
103
|
}
|
|
@@ -113,7 +113,7 @@ if (typeof window != "undefined") {
|
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
|
-
customElements.define = i(customElements.define), import("./CashierMethodsList-
|
|
116
|
+
customElements.define = i(customElements.define), import("./CashierMethodsList-MomZcE_X.js").then(({ default: e }) => {
|
|
117
117
|
!customElements.get("cashier-methods-list") && customElements.define("cashier-methods-list", e.element);
|
|
118
118
|
});
|
|
119
119
|
}
|
|
@@ -129,7 +129,7 @@ if (typeof window != "undefined") {
|
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
};
|
|
132
|
-
customElements.define = i(customElements.define), import("./CashierMethodDetails-
|
|
132
|
+
customElements.define = i(customElements.define), import("./CashierMethodDetails-DG-OxC4l.js").then((e) => e.C).then(({ default: e }) => {
|
|
133
133
|
!customElements.get("cashier-method-details") && customElements.define("cashier-method-details", e.element);
|
|
134
134
|
});
|
|
135
135
|
}
|
|
@@ -145,7 +145,7 @@ if (typeof window != "undefined") {
|
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
};
|
|
148
|
-
customElements.define = i(customElements.define), import("./CashierSessionExpirationModal-
|
|
148
|
+
customElements.define = i(customElements.define), import("./CashierSessionExpirationModal-DnqZeHho.js").then(({ default: e }) => {
|
|
149
149
|
!customElements.get("cashier-session-expiration-modal") && customElements.define("cashier-session-expiration-modal", e.element);
|
|
150
150
|
});
|
|
151
151
|
}
|
|
@@ -1661,7 +1661,8 @@ function Mi(i, e, n) {
|
|
|
1661
1661
|
SuccessUrl: d,
|
|
1662
1662
|
CancelUrl: o,
|
|
1663
1663
|
FailUrl: r,
|
|
1664
|
-
Language: l
|
|
1664
|
+
Language: l,
|
|
1665
|
+
Tags: { UserAgent: window.navigator.userAgent }
|
|
1665
1666
|
})
|
|
1666
1667
|
};
|
|
1667
1668
|
fetch(a, C).then((W) => W.json()).then((W) => {
|