1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="23faede4-741e-4bf9-8694-16cf2efbed7e",e._sentryDebugIdIdentifier="sentry-dbid-23faede4-741e-4bf9-8694-16cf2efbed7e")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5286,6176],{85286:function(e,r,n){n.d(r,{S1:function(){return d},aL:function(){return a},az:function(){return w},confirmPaymentIntent:function(){return u},createPaymentConsent:function(){return f},getElement:function(){return c},t8:function(){return s}});let l={prod:"checkout.airwallex.com",demo:"checkout-demo.airwallex.com",staging:"checkout-staging.airwallex.com",dev:"checkout-dev.airwallex.com",local:"localhost:3000"},o=e=>`https://${l[e]||l.prod}`,t="/assets/elements.bundle.min.js?version=1.142.1",i=e=>{let r=document.createElement("script");r.src=`${e}${t}`,r.crossOrigin="anonymous";let n=document.head||document.body;if(!n)throw Error("Airwallex payment scripts requires a <head> or <body> html element in order to be loaded.");return n.appendChild(r),r},a=async e=>{if("undefined"==typeof window)return null;if(window.Airwallex)return window.Airwallex;let r=0,n=async()=>{let r=document.querySelector(`script[src="${t}"], script[src="${t}/"]`)||i(o((null==e?void 0:e.env)||"prod"));return new Promise((n,l)=>{r.addEventListener("load",()=>{window.Airwallex?(window.Airwallex.init(e),n(window.Airwallex)):l(Error("Failed to load Airwallex on load event"))}),r.addEventListener("error",()=>{l(Error("Failed to load Airwallex scripts")),r.remove&&r.remove()})})};for(;r<3;)try{return await n()}catch(e){r++,await new Promise(e=>window.setTimeout(e,500))}return null},d=e=>{window.Airwallex?window.Airwallex.init(e):console.error("Please loadAirwallex() before init();")},w=(e,r)=>window.Airwallex?window.Airwallex.createElement(e,r):(console.error("Please loadAirwallex() before createElement();"),null),s=e=>window.Airwallex?window.Airwallex.destroyElement(e):(console.error("Please loadAirwallex() before destroyElement();"),!1),c=e=>window.Airwallex?window.Airwallex.getElement(e):(console.error("Please loadAirwallex() before getElement();"),null),u=async e=>{if(window.Airwallex)return window.Airwallex.confirmPaymentIntent(e);{let e="Please loadAirwallex() before confirmPaymentIntent();";throw console.error(e),Error(e)}},f=async e=>{if(window.Airwallex)return window.Airwallex.createPaymentConsent(e);{let e="Please loadAirwallex() before createPaymentConsent();";throw console.error(e),Error(e)}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.