@everymatrix/cashier-method-details 1.33.0 → 1.33.2
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
| Version | Release date | Impacted areas | Changes |
|
5
5
|
| ------- | ------------ | ----------------------------- | --------------------------------------- |
|
6
|
+
| 1.33.1 | Fri Jun 07 2024 | cashier-method-details | fix(MMFE-922)(cashier-page,cashier-method-details): added translations which... |
|
6
7
|
| 1.32.0 | Tue Jun 04 2024 | cashier-method-details | fix(GMMMFE-976)(cashier-method-details): remove hardcoded mode |
|
7
8
|
| 1.31.0 | Wed May 22 2024 | cashier-method-details | feat(GMMMFE-932)(cashier-receipt-page,cashier-method-details): add message... |
|
8
9
|
| 1.29.7 | Thu May 09 2024 | cashier-method-details | fix(MMFE-913)(cashier-method-details,cashier-methods-list): fix styles for tablets and fonts for desktop |
|
@@ -680,7 +680,7 @@ this.formats=sr(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.
|
|
680
680
|
// and Intl.DateTimeFormat instances.
|
681
681
|
e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const ur={},dr=(e,t,n)=>n?(t in ur||(ur[t]={}),e in ur[t]||(ur[t][e]=n),n):n,hr=(e,t)=>{if(null==t)return;if(t in ur&&e in ur[t])return ur[t][e];const n=Nr(t);for(let r=0;r<n.length;r++){const i=gr(n[r],e);if(i)return dr(e,t,i)}};let pr;const fr=Dt({});function mr(e){return e in pr}function gr(e,t){if(!mr(e))return null;const n=function(e){return pr[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function br(e,...t){delete ur[e],fr.update((n=>(n[e]=It.all([n[e]||{},...t]),n)))}Tt([fr],(([e])=>Object.keys(e))),fr.subscribe((e=>pr=e));const yr={};function wr(e){return yr[e]}function vr(e){return null!=e&&Nr(e).some((e=>{var t;return null==(t=wr(e))?void 0:t.size}))}function kr(e,t){const n=Promise.all(t.map((t=>(function(e,t){yr[e].delete(t),0===yr[e].size&&delete yr[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>br(e,...t)))}const xr={};function Mr(e){if(!vr(e))return e in xr?xr[e]:Promise.resolve();const t=function(e){return Nr(e).map((e=>{const t=wr(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return xr[e]=Promise.all(t.map((([e,t])=>kr(e,t)))).then((()=>{if(vr(e))return Mr(e);delete xr[e]})),xr[e]}const Cr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Er(){return Cr}const Dr=Dt(!1);var Tr=Object.defineProperty,Sr=Object.defineProperties,Ar=Object.getOwnPropertyDescriptors,_r=Object.getOwnPropertySymbols,Lr=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable,Pr=(e,t,n)=>t in e?Tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let $r;const Hr=Dt(null);function Ir(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Nr(e,t=Er().fallbackLocale){const n=Ir(e);return t?[...new Set([...n,...Ir(t)])]:n}function Br(){return null!=$r?$r:void 0}Hr.subscribe((e=>{$r=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Rr=(Fr=((e,t)=>{for(var n in t||(t={}))Lr.call(t,n)&&Pr(e,n,t[n]);if(_r)for(var n of _r(t))Or.call(t,n)&&Pr(e,n,t[n]);return e})({},Hr),Sr(Fr,Ar({set:e=>{if(e&&function(e){if(null==e)return;const t=Nr(e);for(let e=0;e<t.length;e++){const n=t[e];if(mr(n))return n}}(e)&&vr(e)){const{loadingDelay:t}=Er();let n;return"undefined"!=typeof window&&null!=Br()&&t?n=window.setTimeout((()=>Dr.set(!0)),t):Dr.set(!0),Mr(e).then((()=>{Hr.set(e)})).finally((()=>{clearTimeout(n),Dr.set(!1)}))}return Hr.set(e)}})));var Fr;const jr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var zr=Object.defineProperty,Ur=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,Gr=(e,t,n)=>t in e?zr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jr=(e,t)=>{for(var n in t||(t={}))Wr.call(t,n)&&Gr(e,n,t[n]);if(Ur)for(var n of Ur(t))Yr.call(t,n)&&Gr(e,n,t[n]);return e},Vr=(e,t)=>{var n={};for(var r in e)Wr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Ur)for(var r of Ur(e))t.indexOf(r)<0&&Yr.call(e,r)&&(n[r]=e[r]);return n};const Kr=(e,t)=>{const{formats:n}=Er();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qr=jr((e=>{var t=e,{locale:n,format:r}=t,i=Vr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=Kr("number",r)),new Intl.NumberFormat(n,i)})),Xr=jr((e=>{var t=e,{locale:n,format:r}=t,i=Vr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=Kr("date",r):0===Object.keys(i).length&&(i=Kr("date","short")),new Intl.DateTimeFormat(n,i)})),Zr=jr((e=>{var t=e,{locale:n,format:r}=t,i=Vr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=Kr("time",r):0===Object.keys(i).length&&(i=Kr("time","short")),new Intl.DateTimeFormat(n,i)})),Qr=jr((
|
682
682
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
683
|
-
(e,t=Br())=>new cr(e,t,Er().formats,{ignoreTag:Er().ignoreTag}))),ei=(e,t={})=>{var n,r,i,o;let a=t;"object"==typeof e&&(a=e,e=a.id);const{values:s,locale:l=Br(),default:c}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=hr(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(o=null!=(i=null==(r=(n=Er()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!s)return u;let d=u;try{d=Qr(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},ti=(e,t)=>((e={})=>{var t=e,{locale:n=Br()}=t,r=Vr(t,["locale"]);return Zr(Jr({locale:n},r))})(t).format(e),ni=(e,t)=>((e={})=>{var t=e,{locale:n=Br()}=t,r=Vr(t,["locale"]);return Xr(Jr({locale:n},r))})(t).format(e),ri=(e,t)=>((e={})=>{var t=e,{locale:n=Br()}=t,r=Vr(t,["locale"]);return qr(Jr({locale:n},r))})(t).format(e),ii=(e,t=Br())=>hr(e,t),oi=Tt([Rr,fr],(()=>ei));function ai(e,t){br(e,t)}Tt([Rr],(()=>ti)),Tt([Rr],(()=>ni)),Tt([Rr],(()=>ri)),Tt([Rr,fr],(()=>ii)),window.emWidgets={topic:(e,t=0)=>{if(-1==Mt.indexOf(e)){let n=new xt(t);Ct[e]=n,Mt.push(e)}return Ct[e]}};const si={en:{loading:"Loading...",amountLabel:"Amount",redirectTitle:"You are redirected to the payment's provider page",redirectMessage:"Please complete your transaction on the payment's provider page.",backToPayment:"Close",retryText:"Please note that your popup blocker may prevent the payment window from appearing",retryButton:"RETRY",processingButton:"PROCESSING...",generalMin:"Min:",generalMax:"Max:",amountPlaceholder:"0.00",change:"Change",errorEmptyField:"Please enter data",minAmountError:"Amount cannot be smaller than {amount} {currency}",maxAmountError:"Amount cannot be bigger than {amount} {currency}",amountMultiplierError:"Amount should be multiple of {multiplier}",amountIntError:"Amount should be integer value",amountDecimalError:"Amount should have 2 or less digits after decimal point",invalidFieldError:"{field} is invalid",backToMethodList:"BACK TO PAYMENT METHODS",deposit:{makeTxnButton:"DEPOSIT",confirmText:"You're going to deposit {amount} {currency} to your account",confirmButton:"Ok"},withdraw:{makeTxnButton:"WITHDRAW",confirmText:"You're going to withdraw {amount} {currency} from your account",confirmButton:"Ok"}}};function li(e,t){br(e,t)}const ci={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"}};
|
683
|
+
(e,t=Br())=>new cr(e,t,Er().formats,{ignoreTag:Er().ignoreTag}))),ei=(e,t={})=>{var n,r,i,o;let a=t;"object"==typeof e&&(a=e,e=a.id);const{values:s,locale:l=Br(),default:c}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=hr(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(o=null!=(i=null==(r=(n=Er()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!s)return u;let d=u;try{d=Qr(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},ti=(e,t)=>((e={})=>{var t=e,{locale:n=Br()}=t,r=Vr(t,["locale"]);return Zr(Jr({locale:n},r))})(t).format(e),ni=(e,t)=>((e={})=>{var t=e,{locale:n=Br()}=t,r=Vr(t,["locale"]);return Xr(Jr({locale:n},r))})(t).format(e),ri=(e,t)=>((e={})=>{var t=e,{locale:n=Br()}=t,r=Vr(t,["locale"]);return qr(Jr({locale:n},r))})(t).format(e),ii=(e,t=Br())=>hr(e,t),oi=Tt([Rr,fr],(()=>ei));function ai(e,t){br(e,t)}Tt([Rr],(()=>ti)),Tt([Rr],(()=>ni)),Tt([Rr],(()=>ri)),Tt([Rr,fr],(()=>ii)),window.emWidgets={topic:(e,t=0)=>{if(-1==Mt.indexOf(e)){let n=new xt(t);Ct[e]=n,Mt.push(e)}return Ct[e]}};const si={en:{loading:"Loading...",amountLabel:"Amount",redirectTitle:"You are redirected to the payment's provider page",redirectMessage:"Please complete your transaction on the payment's provider page.",backToPayment:"Close",retryText:"Please note that your popup blocker may prevent the payment window from appearing",retryButton:"RETRY",processingButton:"PROCESSING...",generalMin:"Min:",generalMax:"Max:",amountPlaceholder:"0.00",change:"Change",errorEmptyField:"Please enter data",minAmountError:"Amount cannot be smaller than {amount} {currency}",maxAmountError:"Amount cannot be bigger than {amount} {currency}",amountMultiplierError:"Amount should be multiple of {multiplier}",amountIntError:"Amount should be integer value",amountDecimalError:"Amount should have 2 or less digits after decimal point",invalidFieldError:"{field} is invalid",backToMethodList:"BACK TO PAYMENT METHODS",deposit:{makeTxnButton:"DEPOSIT",confirmText:"You're going to deposit to your account",confirmTextWithAmount:"You're going to deposit {amount} {currency} to your account",confirmButton:"Ok"},withdraw:{makeTxnButton:"WITHDRAW",confirmText:"You're going to withdraw from your account",confirmTextWithAmount:"You're going to withdraw {amount} {currency} from your account",confirmButton:"Ok"}}};function li(e,t){br(e,t)}const ci={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"}};
|
684
684
|
/* ../cashier-iframe-redirect/src/CashierIframeRedirect.svelte generated by Svelte v3.59.2 */function ui(e){let t;return{c(){t=M("div"),A(t,"class","LoadingSpinner")},m(e,n){v(e,t,n)},d(e){e&&k(t)}}}function di(t){let n,r,o,a,s,c,u,d,h,p,f,m,g=/*$_*/t[2]("redirectHeader")+"",y=/*isLoading*/t[1]&&ui();return{c(){n=M("div"),r=M("div"),o=M("div"),a=E(g),s=D(),c=M("div"),c.innerHTML='<svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',u=D(),y&&y.c(),d=D(),h=M("iframe"),this.c=e,A(o,"class","RedirectHeader"),A(c,"class","CloseButton"),A(r,"class","HeaderContainer"),l(h.src,p=/*iframeurl*/t[0])||A(h,"src",p),A(h,"frameborder","0"),A(n,"class","CashierRedirectIframe")},m(e,i){v(e,n,i),b(n,r),b(r,o),b(o,a),b(r,s),b(r,c),b(n,u),y&&y.m(n,null),b(n,d),b(n,h),f||(m=[S(c,"click",/*close*/t[3]),S(h,"load",/*load_handler*/t[7])],f=!0)},p(e,[t]){/*$_*/4&t&&g!==(g=/*$_*/e[2]("redirectHeader")+"")&&O(a,g),/*isLoading*/e[1]?y||(y=ui(),y.c(),y.m(n,d)):y&&(y.d(1),y=null),/*iframeurl*/1&t&&!l(h.src,p=/*iframeurl*/e[0])&&A(h,"src",p)},i:e,o:e,d(e){e&&k(n),y&&y.d(),f=!1,i(m)}}}function hi(e,t,n){let r;u(e,oi,(e=>n(2,r=e)));let{lang:i="en"}=t,{iframeurl:o}=t,{translationurl:a=""}=t,s=!0;!function(){const e=G()}();Object.keys(ci).forEach((e=>{li(e,ci[e])}));const l=()=>{var e;e=i,Rr.set(e)},c=e=>{e.target.src&&n(1,s=!1)};return e.$$set=e=>{"lang"in e&&n(5,i=e.lang),"iframeurl"in e&&n(0,o=e.iframeurl),"translationurl"in e&&n(6,a=e.translationurl)},e.$$.update=()=>{/*lang*/32&e.$$.dirty&&i&&l(),/*translationurl*/64&e.$$.dirty&&a&&(()=>{if(a)fetch(a).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{li(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[o,s,r,()=>{dispatchEvent(new CustomEvent("closeIframe",{bubbles:!0,cancelable:!0,composed:!0}))},c,i,a,e=>c(e)]}function pi(e,t){br(e,t)}!customElements.get("cashier-iframe-redirect")&&customElements.define("cashier-iframe-redirect",class extends ge{constructor(e){super();const t=document.createElement("style");t.textContent='.CashierRedirectIframe{height:inherit;width:inherit}iframe{height:100%;width:100%}.HeaderContainer{display:flex;background-color:var(--emw--color-white, #fff);justify-content:space-between;align-items:center;width:100%}.HeaderContainer .RedirectHeader{font-size:var(--emw--font-size-small, 14px);color:var(--mmw--color-grey-10, #111);font-weight:bold;line-height:var(--emw--font-size-small, 14px)}.HeaderContainer .CloseButton{display:flex;align-items:center;padding:var(--emw--spacing-small-minus, 10px) var(--emw--spacing-x-small, 8px);box-sizing:border-box;border-radius:var(--mmw--border-radius-1x-small, 2px);background:var(--emw--color-white, #fff);justify-content:end;cursor:pointer}.LoadingSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:var(--emw--spacing-x-small, 8px);border-radius:50%;border:6px solid var(--mmw--color-main-button, #7EC51E);border-color:transparent var(--mmw--color-main-button, #7EC51E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),me(this,{target:this.shadowRoot,props:R(this.attributes),customElement:!0},hi,di,a,{lang:5,iframeurl:0,translationurl:6},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),ie()))}static get observedAttributes(){return["lang","iframeurl","translationurl"]}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),ie()}get iframeurl(){return this.$$.ctx[0]}set iframeurl(e){this.$$set({iframeurl:e}),ie()}get translationurl(){return this.$$.ctx[6]}set translationurl(e){this.$$set({translationurl:e}),ie()}});const fi={en:{deposit:{success:{title:"{amount} {currency}",subTitle:"Deposited in your account",text:"Your deposit is successful"},pending:{title:"{amount} {currency}",subTitle:"Transaction is in progress",text:"Thank you. Your deposit is being processed."},reject:{title:"Deposit Rejected",subTitle:" ",text:"{errorText}"},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:"{errorText}"}},reference:"Reference ID: {code}",close:"Close"},"pt-br":{deposit:{success:{title:"{amount} {currency}",subTitle:"Depositado em sua conta",text:"Seu depósito foi bem-sucedido"},pending:{title:"{amount} {currency}",subTitle:"Transação em andamento",text:"Obrigado. Seu depósito está sendo processado."},reject:{title:"Depósito Rejeitado",subTitle:"",text:"{errorText}"},fail:{title:"Erro",subTitle:"",text:"{errorText}"},cancel:{title:"Você cancelou a transação",subTitle:"",text:"{errorText}"}},reference:"Referência ID: {code}",close:"VOLTAR AO PROVEDOR DE PAGAMENTO"},"es-mx":{deposit:{success:{title:"{amount} {currency}",subTitle:"Depositado en tu cuenta",text:"Tu depósito fue exitoso"},pending:{title:"{amount} {currency}",subTitle:"Transacción en proceso",text:"Gracias. Tu depósito está siendo procesado."},reject:{title:"Depósito Rechazado",subTitle:" ",text:"{errorText}"},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"Has cancelado la transacción",subTitle:" ",text:"{errorText}"}},reference:"Referencia ID: {code}",close:"REGRESAR A PROVEEDOR DE PAGO"}},mi={Success:"/txn-success.png",Voided:"/txn-success.png",Rejected:"/txn-failed.png",Failed:"/txn-failed.png",Canceled:"/txn-failed.png",PendingNotification:"/txn-pending.png","Pending Approval III":"/txn-pending.png","Pending Confirmation":"/txn-pending.png","Pending Approval I":"/txn-pending.png","Pending Offline Notification":"/txn-pending.png","Pending Approval II":"/txn-pending.png"},gi={Deposit:"deposit",Withdraw:"withdrawal"},bi={Success:"success",Voided:"success",PendingNotification:"pending","Pending Approval III":"pending","Pending Confirmation":"pending","Pending Approval I":"pending","Pending Offline Notification":"pending","Pending Approval II":"pending",Rejected:"reject",Failed:"fail",Canceled:"cancel"},{document:yi}=g;function wi(e,t,n){const r=e.slice();return r[40]=t[n],r[42]=n,r}
|
685
685
|
// (207:5) {#if txnInfo}
|
686
686
|
function vi(e){let t,n,r,o,a,s,c,u,d,h,p,f,m,g,y,w,x,C,T,_,L,P,$,H,I,N=/*$_*/e[9]("close")+"",B=/*txnInfo*/e[2].referenceId&&ki(e),R=/*receiptFields*/e[3].length&&xi(e);return{c(){t=M("div"),n=M("span"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.33279 0.00663425C7.89688 0.105453 6.49895 0.511564 5.2336 1.19749C3.96825 1.88341 2.86499 2.83313 1.9985 3.9824C0.985792 5.31809 0.356137 6.84155 0.0769857 8.63039C-0.0256619 9.28509 -0.0256619 10.7147 0.0769857 11.3694C0.505101 14.1158 1.83326 16.3704 3.9851 18.0027C5.31451 19.0117 6.84672 19.6451 8.63053 19.923C9.28522 20.0257 10.7148 20.0257 11.3695 19.923C13.803 19.5437 15.8709 18.4471 17.4232 16.7121C18.8001 15.1736 19.595 13.4737 19.923 11.3694C20.0257 10.7147 20.0257 9.28509 19.923 8.63039C19.6451 6.84655 19.0117 5.31433 18.0028 3.9849C17.1973 2.91304 16.1846 2.01398 15.0249 1.34112C13.8652 0.668249 12.5821 0.235297 11.2518 0.0679732C10.614 0.00852964 9.97311 -0.0119547 9.33279 0.00663425ZM11.3019 1.33481C14.7956 1.87685 17.641 4.45559 18.4885 7.848C18.69 8.65292 18.7288 9.00343 18.7288 9.99988C18.7288 10.6946 18.715 10.97 18.6675 11.2855C18.4018 13.0557 17.6016 14.7024 16.374 16.0052C15.1464 17.308 13.5501 18.2045 11.7988 18.5748C10.686 18.8127 9.31401 18.8127 8.20117 18.5748C4.93272 17.8788 2.33398 15.3927 1.52156 12.1868C1.31126 11.3556 1.2712 11.0101 1.2712 9.99988C1.2712 8.98966 1.31126 8.64416 1.52156 7.81295C1.91376 6.29839 2.70396 4.91631 3.81023 3.81003C4.9165 2.70374 6.29856 1.91353 7.81311 1.52133C8.0885 1.45123 8.49409 1.36986 8.7144 1.34107L9.21512 1.27347C9.46673 1.23967 10.9689 1.28349 11.3019 1.33481ZM9.5481 5.25925C8.67685 5.35439 7.88821 5.8138 7.33116 6.54987C7.12462 6.82277 7.042 7.06437 7.09332 7.25339C7.17594 7.56009 7.55398 7.71781 7.87945 7.58262C7.94079 7.55633 8.16236 7.36355 8.37016 7.15325C8.79201 6.72763 8.99981 6.59995 9.41541 6.51232C10.5533 6.27197 11.541 6.85532 11.596 7.79918C11.6086 8.02326 11.5998 8.08084 11.5259 8.24107C11.3632 8.59659 11.0177 8.88826 10.5095 9.09982C10.1439 9.24341 9.76155 9.33975 9.3716 9.38649L9.1275 9.40902L9.13876 10.5306L9.14878 11.6523L9.23265 11.8025C9.42542 12.1517 9.96745 12.2118 10.2378 11.9152C10.3793 11.7587 10.4056 11.6247 10.4256 10.9638L10.4431 10.3416L10.6635 10.2815C12.1518 9.88095 13.1433 8.66669 12.973 7.44993C12.8579 6.62248 12.3709 5.96027 11.586 5.56845C11.0778 5.31433 10.2278 5.18539 9.5481 5.25925ZM9.37285 13.0568C9.06365 13.2108 8.90092 13.4799 8.89967 13.8404C8.89717 14.6003 9.77342 15.0071 10.3405 14.5089C10.4789 14.3866 10.576 14.2244 10.6186 14.0447C10.6612 13.8649 10.6471 13.6764 10.5783 13.505C10.3755 13.0493 9.81098 12.839 9.37285 13.0568Z" fill="#111111"></path></svg>',r=D(),o=M("span"),o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',a=D(),s=M("div"),c=M("img"),d=D(),h=M("div"),p=M("h2"),f=E(/*title*/e[5]),m=D(),g=M("div"),y=E(/*subTitle*/e[4]),w=D(),x=M("div"),C=E(/*text*/e[6]),T=D(),B&&B.c(),_=D(),R&&R.c(),L=D(),P=M("button"),$=E(N),A(t,"class","HeaderButtonContainer"),l(c.src,u=/*statusImageUrl*/e[7])||A(c,"src",u),A(c,"class","StatusLogo"),A(p,"class","Title"),A(g,"class","SubTitle"),A(h,"class","TitleWrapper"),A(s,"class","ReceiptWrapper"),A(x,"class","Text"),A(P,"class","PrimaryButton")},m(i,l){v(i,t,l),b(t,n),b(t,r),b(t,o),v(i,a,l),v(i,s,l),b(s,c),b(s,d),b(s,h),b(h,p),b(p,f),b(h,m),b(h,g),b(g,y),v(i,w,l),v(i,x,l),b(x,C),v(i,T,l),B&&B.m(i,l),v(i,_,l),R&&R.m(i,l),v(i,L,l),v(i,P,l),b(P,$),H||(I=[S(n,"click",/*liveChat*/e[11]),S(o,"click",/*closeReceipt*/e[10]),S(P,"click",/*closeReceipt*/e[10])],H=!0)},p(e,t){/*statusImageUrl*/128&t[0]&&!l(c.src,u=/*statusImageUrl*/e[7])&&A(c,"src",u),/*title*/32&t[0]&&O(f,/*title*/e[5]),/*subTitle*/16&t[0]&&O(y,/*subTitle*/e[4]),/*text*/64&t[0]&&O(C,/*text*/e[6]),/*txnInfo*/e[2].referenceId?B?B.p(e,t):(B=ki(e),B.c(),B.m(_.parentNode,_)):B&&(B.d(1),B=null),/*receiptFields*/e[3].length?R?R.p(e,t):(R=xi(e),R.c(),R.m(L.parentNode,L)):R&&(R.d(1),R=null),/*$_*/512&t[0]&&N!==(N=/*$_*/e[9]("close")+"")&&O($,N)},d(e){e&&k(t),e&&k(a),e&&k(s),e&&k(w),e&&k(x),e&&k(T),B&&B.d(e),e&&k(_),R&&R.d(e),e&&k(L),e&&k(P),H=!1,i(I)}}}
|