@imtbl/sdk 1.66.1-alpha.5 → 1.67.0-alpha
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/dist/{blockchain_data-Dfr1SEzf.js → blockchain_data-BDPQfPJV.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-DOrdpkO7.js → AddTokensWidget-DhAAwA2S.js} +6 -6
- package/dist/browser/checkout/{BridgeWidget-B_vi1Ssa.js → BridgeWidget-CUc8HRTw.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-C68czNXp.js → CommerceWidget-BOWOZCaz.js} +17 -17
- package/dist/browser/checkout/{CryptoFiatProvider-BQnex4kK.js → CryptoFiatProvider-CxiVWPGH.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-BKvK3D39.js → EllipsizedText-Dz34eo3g.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-D6_5RSli.js → FeesBreakdown-BW6UtIiJ.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-BdLeQxXZ.js → HandoverContent-Ce_52Gy0.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-C8eAvn2h.js → OnRampWidget-vxPgznQT.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-BZEO1Z0R.js → SaleWidget-BdnaSjMC.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-DSxAy7i7.js → SpendingCapHero-BL6pv3Tz.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-aaVH-Qer.js → SwapWidget-DpZ61Qy1.js} +9 -9
- package/dist/browser/checkout/{TokenImage-U9rHUvzP.js → TokenImage-CaeGAfaV.js} +1 -1
- package/dist/browser/checkout/{TopUpView-DneJ-CVS.js → TopUpView-DBCanPUb.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-DNqScdgL.js → WalletApproveHero-YzOD7wTV.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-DrAjH6tc.js → WalletWidget-Baf13r5o.js} +4 -4
- package/dist/browser/checkout/{auto-track-BADLL5Ay.js → auto-track-CX-Sbbf1.js} +1 -1
- package/dist/browser/checkout/{index-BChWbLVO.js → index-BEyIbtPl.js} +1 -1
- package/dist/browser/checkout/{index-C5-9ao9V.js → index-BfJ5tYUk.js} +1 -1
- package/dist/browser/checkout/{index--_tedUf7.js → index-BiTQa147.js} +2 -2
- package/dist/browser/checkout/{index-Cy0mQsLu.js → index-BnI_t7Bf.js} +1 -1
- package/dist/browser/checkout/{index-bVCwGMiz.js → index-BuVcM3lx.js} +1 -1
- package/dist/browser/checkout/{index-m1NFFNlK.js → index-DFfgowSz.js} +1 -1
- package/dist/browser/checkout/{index-BlfJLtVx.js → index-MiJtNQGp.js} +106 -106
- package/dist/browser/checkout/{index-BIC4Mmu2.js → index-QRMG13bY.js} +1 -1
- package/dist/browser/checkout/{index-zBo3-pg9.js → index-WkEhhO8Q.js} +1 -1
- package/dist/browser/checkout/{index.umd-r-idjbRp.js → index.umd-Du3dKMeF.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-DoI5Akwp.js → useInterval-CaT4s9av.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +88 -88
- package/dist/{checkout-C0snH6g2.js → checkout--1mYuAXD.js} +5 -5
- package/dist/checkout.d.ts +10 -3
- package/dist/checkout.js +5 -5
- package/dist/{config-C_2P0VZ-.js → config-DffHwEwF.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-CGO8krip.js → index-02SYXuJF.js} +1 -1
- package/dist/{index-jrZBW8jM.js → index-BQ32RH92.js} +1 -1
- package/dist/{index-9yyEhR5w.js → index-BQ86loCt.js} +1 -1
- package/dist/{index-fvjLL56M.js → index-ByHQAg3p.js} +4 -4
- package/dist/{index-B_cOitev.js → index-D4SnN7tJ.js} +1 -1
- package/dist/{index-7j1QVND_.js → index-DZf2HB3e.js} +3 -3
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.d.ts +11 -3
- package/dist/index.js +14 -14
- package/dist/{minting_backend-BpQi-ZFx.js → minting_backend-BeTIXYB2.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-Dof2P3GW.js → orderbook-CiQq6fd5.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-RBVHTUsi.js → passport-qhE7n9aI.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-ENvQIiZz.js → webhook-DiIVzY9G.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-4T4U9lLH.js → x-wVhXYLtD.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -135733,7 +135733,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
135733
135733
|
|
|
135734
135734
|
const o$2=proxy({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),T$2={state:o$2,subscribe(e){return subscribe(o$2,()=>e(o$2))},push(e,t){e!==o$2.view&&(o$2.view=e,t&&(o$2.data=t),o$2.history.push(e));},reset(e){o$2.view=e,o$2.history=[e];},replace(e){o$2.history.length>1&&(o$2.history[o$2.history.length-1]=e,o$2.view=e);},goBack(){if(o$2.history.length>1){o$2.history.pop();const[e]=o$2.history.slice(-1);o$2.view=e;}},setData(e){o$2.data=e;}},a$4={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?Boolean(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return a$4.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return a$4.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(a$4.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let n=e;n.includes("://")||(n=e.replaceAll("/","").replaceAll(":",""),n=`${n}://`),n.endsWith("/")||(n=`${n}/`),this.setWalletConnectDeepLink(n,s);const i=encodeURIComponent(t);return `${n}wc?uri=${i}`},formatUniversalUrl(e,t,s){if(!a$4.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let n=e;n.endsWith("/")||(n=`${n}/`),this.setWalletConnectDeepLink(n,s);const i=encodeURIComponent(t);return `${n}wc?uri=${i}`},async wait(e){return new Promise(t=>{setTimeout(t,e);})},openHref(e,t){window.open(e,t,"noreferrer noopener");},setWalletConnectDeepLink(e,t){try{localStorage.setItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}));}catch{console.info("Unable to set WalletConnect deep link");}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}));}catch{console.info("Unable to set WalletConnect android deep link");}},removeWalletConnectDeepLink(){try{localStorage.removeItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE);}catch{console.info("Unable to remove WalletConnect deep link");}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(a$4.WCM_VERSION,"2.6.2");}catch{console.info("Unable to set Web3Modal version in storage");}},getWalletRouterData(){var e;const t=(e=T$2.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},_$3=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),r$3=proxy({enabled:_$3,userSessionId:"",events:[],connectedWalletId:void 0}),R$5={state:r$3,subscribe(e){return subscribe(r$3.events,()=>e(snapshot(r$3.events[r$3.events.length-1])))},initialize(){r$3.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(r$3.userSessionId=crypto.randomUUID());},setConnectedWalletId(e){r$3.connectedWalletId=e;},click(e){if(r$3.enabled){const t={type:"CLICK",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}},track(e){if(r$3.enabled){const t={type:"TRACK",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}},view(e){if(r$3.enabled){const t={type:"VIEW",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}}},c$4=proxy({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),p$9={state:c$4,subscribe(e){return subscribe(c$4,()=>e(c$4))},setChains(e){c$4.chains=e;},setWalletConnectUri(e){c$4.walletConnectUri=e;},setIsCustomDesktop(e){c$4.isCustomDesktop=e;},setIsCustomMobile(e){c$4.isCustomMobile=e;},setIsDataLoaded(e){c$4.isDataLoaded=e;},setIsUiLoaded(e){c$4.isUiLoaded=e;},setIsAuth(e){c$4.isAuth=e;}},W$3=proxy({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),y$6={state:W$3,subscribe(e){return subscribe(W$3,()=>e(W$3))},setConfig(e){var t,s;R$5.initialize(),p$9.setChains(e.chains),p$9.setIsAuth(Boolean(e.enableAuthMode)),p$9.setIsCustomMobile(Boolean((t=e.mobileWallets)==null?void 0:t.length)),p$9.setIsCustomDesktop(Boolean((s=e.desktopWallets)==null?void 0:s.length)),a$4.setModalVersionInStorage(),Object.assign(W$3,e);}};var V$4=Object.defineProperty,D$7=Object.getOwnPropertySymbols,H$4=Object.prototype.hasOwnProperty,B$4=Object.prototype.propertyIsEnumerable,M$4=(e,t,s)=>t in e?V$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,K$4=(e,t)=>{for(var s in t||(t={}))H$4.call(t,s)&&M$4(e,s,t[s]);if(D$7)for(var s of D$7(t))B$4.call(t,s)&&M$4(e,s,t[s]);return e};const L$5="https://explorer-api.walletconnect.com",E$4="wcm",O$6="js-2.6.2";async function w$5(e,t){const s=K$4({sdkType:E$4,sdkVersion:O$6},t),n=new URL(e,L$5);return n.searchParams.append("projectId",y$6.state.projectId),Object.entries(s).forEach(([i,l])=>{l&&n.searchParams.append(i,String(l));}),(await fetch(n)).json()}const m$6={async getDesktopListings(e){return w$5("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return w$5("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return w$5("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return w$5("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return `${L$5}/w3m/v1/getWalletImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$6}`},getAssetImageUrl(e){return `${L$5}/w3m/v1/getAssetImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$6}`}};var z$5=Object.defineProperty,j$4=Object.getOwnPropertySymbols,J$3=Object.prototype.hasOwnProperty,q$5=Object.prototype.propertyIsEnumerable,k$5=(e,t,s)=>t in e?z$5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,F$5=(e,t)=>{for(var s in t||(t={}))J$3.call(t,s)&&k$5(e,s,t[s]);if(j$4)for(var s of j$4(t))q$5.call(t,s)&&k$5(e,s,t[s]);return e};const N$4=a$4.isMobile(),d$4=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$4={state:d$4,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$6.state;if(e==="NONE"||t==="ALL"&&!e)return d$4.recomendedWallets;if(a$4.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$6.getAllListings(s),i=Object.values(n);i.sort((l,v)=>{const b=e.indexOf(l.id),f=e.indexOf(v.id);return b-f}),d$4.recomendedWallets=i;}else {const{chains:s,isAuth:n}=p$9.state,i=s?.join(","),l=a$4.isArray(t),v={page:1,sdks:n?"auth_v1":void 0,entries:a$4.RECOMMENDED_WALLET_AMOUNT,chains:i,version:2,excludedIds:l?t.join(","):void 0},{listings:b}=N$4?await m$6.getMobileListings(v):await m$6.getDesktopListings(v);d$4.recomendedWallets=Object.values(b);}return d$4.recomendedWallets},async getWallets(e){const t=F$5({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$6.state,{recomendedWallets:i}=d$4;if(n==="ALL")return d$4.wallets;i.length?t.excludedIds=i.map(x=>x.id).join(","):a$4.isArray(s)&&(t.excludedIds=s.join(",")),a$4.isArray(n)&&(t.excludedIds=[t.excludedIds,n].filter(Boolean).join(",")),p$9.state.isAuth&&(t.sdks="auth_v1");const{page:l,search:v}=e,{listings:b,total:f}=N$4?await m$6.getMobileListings(t):await m$6.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$4[U]={listings:[...d$4[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$6.getWalletImageUrl(e)},getAssetImageUrl(e){return m$6.getAssetImageUrl(e)},resetSearch(){d$4.search={listings:[],total:0,page:1};}},I$3=proxy({open:!1}),se$2={state:I$3,subscribe(e){return subscribe(I$3,()=>e(I$3))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:n}=p$9.state;if(a$4.removeWalletConnectDeepLink(),p$9.setWalletConnectUri(e?.uri),p$9.setChains(e?.chains),T$2.reset("ConnectWallet"),s&&n)I$3.open=!0,t();else {const i=setInterval(()=>{const l=p$9.state;l.isUiLoaded&&l.isDataLoaded&&(clearInterval(i),I$3.open=!0,t());},200);}})},close(){I$3.open=!1;}};var G$4=Object.defineProperty,$$3=Object.getOwnPropertySymbols,Q$6=Object.prototype.hasOwnProperty,X$4=Object.prototype.propertyIsEnumerable,S$4=(e,t,s)=>t in e?G$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Y$2=(e,t)=>{for(var s in t||(t={}))Q$6.call(t,s)&&S$4(e,s,t[s]);if($$3)for(var s of $$3(t))X$4.call(t,s)&&S$4(e,s,t[s]);return e};function Z$4(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const C$2=proxy({themeMode:Z$4()?"dark":"light"}),ne$2={state:C$2,subscribe(e){return subscribe(C$2,()=>e(C$2))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(C$2.themeMode=t),s&&(C$2.themeVariables=Y$2({},s));}},g$8=proxy({open:!1,message:"",variant:"success"}),oe$4={state:g$8,subscribe(e){return subscribe(g$8,()=>e(g$8))},openToast(e,t){g$8.open=!0,g$8.message=e,g$8.variant=t;},closeToast(){g$8.open=!1;}};
|
|
135735
135735
|
|
|
135736
|
-
let d$3 = class d{constructor(e){this.openModal=se$2.open,this.closeModal=se$2.close,this.subscribeModal=se$2.subscribe,this.setTheme=ne$2.setThemeConfig,ne$2.setThemeConfig(e),y$6.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-
|
|
135736
|
+
let d$3 = class d{constructor(e){this.openModal=se$2.open,this.closeModal=se$2.close,this.subscribeModal=se$2.subscribe,this.setTheme=ne$2.setThemeConfig,ne$2.setThemeConfig(e),y$6.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-BfJ5tYUk.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
|
|
135737
135737
|
|
|
135738
135738
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
135739
135739
|
__proto__: null,
|
|
@@ -152574,7 +152574,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152574
152574
|
return __generator(this, function (_b) {
|
|
152575
152575
|
switch (_b.label) {
|
|
152576
152576
|
case 0: return [4 /*yield*/, import(
|
|
152577
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152577
|
+
/* webpackChunkName: "auto-track" */ './auto-track-CX-Sbbf1.js')];
|
|
152578
152578
|
case 1:
|
|
152579
152579
|
autotrack = _b.sent();
|
|
152580
152580
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152593,7 +152593,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152593
152593
|
return __generator(this, function (_b) {
|
|
152594
152594
|
switch (_b.label) {
|
|
152595
152595
|
case 0: return [4 /*yield*/, import(
|
|
152596
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152596
|
+
/* webpackChunkName: "auto-track" */ './auto-track-CX-Sbbf1.js')];
|
|
152597
152597
|
case 1:
|
|
152598
152598
|
autotrack = _b.sent();
|
|
152599
152599
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152612,7 +152612,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152612
152612
|
return __generator(this, function (_b) {
|
|
152613
152613
|
switch (_b.label) {
|
|
152614
152614
|
case 0: return [4 /*yield*/, import(
|
|
152615
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152615
|
+
/* webpackChunkName: "auto-track" */ './auto-track-CX-Sbbf1.js')];
|
|
152616
152616
|
case 1:
|
|
152617
152617
|
autotrack = _b.sent();
|
|
152618
152618
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152631,7 +152631,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152631
152631
|
return __generator(this, function (_b) {
|
|
152632
152632
|
switch (_b.label) {
|
|
152633
152633
|
case 0: return [4 /*yield*/, import(
|
|
152634
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152634
|
+
/* webpackChunkName: "auto-track" */ './auto-track-CX-Sbbf1.js')];
|
|
152635
152635
|
case 1:
|
|
152636
152636
|
autotrack = _b.sent();
|
|
152637
152637
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152781,7 +152781,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152781
152781
|
return [2 /*return*/, []];
|
|
152782
152782
|
}
|
|
152783
152783
|
return [4 /*yield*/, import(
|
|
152784
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
152784
|
+
/* webpackChunkName: "queryString" */ './index-BnI_t7Bf.js')];
|
|
152785
152785
|
case 1:
|
|
152786
152786
|
queryString = (_a.sent()).queryString;
|
|
152787
152787
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -155485,7 +155485,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155485
155485
|
case 0:
|
|
155486
155486
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
155487
155487
|
return [4 /*yield*/, import(
|
|
155488
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
155488
|
+
/* webpackChunkName: "tsub-middleware" */ './index-BuVcM3lx.js').then(function (mod) {
|
|
155489
155489
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
155490
155490
|
})];
|
|
155491
155491
|
case 1:
|
|
@@ -155498,7 +155498,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155498
155498
|
tsubMiddleware = _d;
|
|
155499
155499
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
155500
155500
|
return [4 /*yield*/, import(
|
|
155501
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
155501
|
+
/* webpackChunkName: "ajs-destination" */ './index-BEyIbtPl.js').then(function (mod) {
|
|
155502
155502
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
155503
155503
|
})];
|
|
155504
155504
|
case 4:
|
|
@@ -155511,7 +155511,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155511
155511
|
legacyDestinations = _e;
|
|
155512
155512
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
155513
155513
|
return [4 /*yield*/, import(
|
|
155514
|
-
/* webpackChunkName: "legacyVideos" */ './index
|
|
155514
|
+
/* webpackChunkName: "legacyVideos" */ './index-BiTQa147.js').then(function (mod) {
|
|
155515
155515
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
155516
155516
|
})];
|
|
155517
155517
|
case 7:
|
|
@@ -155520,7 +155520,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155520
155520
|
case 8:
|
|
155521
155521
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
155522
155522
|
return [4 /*yield*/, import(
|
|
155523
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
155523
|
+
/* webpackChunkName: "schemaFilter" */ './index-DFfgowSz.js').then(function (mod) {
|
|
155524
155524
|
var _a;
|
|
155525
155525
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
155526
155526
|
})];
|
|
@@ -155559,7 +155559,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155559
155559
|
return enabled;
|
|
155560
155560
|
})) return [3 /*break*/, 17];
|
|
155561
155561
|
return [4 /*yield*/, import(
|
|
155562
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
155562
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-QRMG13bY.js').then(function (_a) {
|
|
155563
155563
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
155564
155564
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155565
155565
|
var middleware, promises;
|
|
@@ -222756,7 +222756,7 @@ const useProvidersContext = () => {
|
|
|
222756
222756
|
return context;
|
|
222757
222757
|
};
|
|
222758
222758
|
|
|
222759
|
-
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-
|
|
222759
|
+
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-DhAAwA2S.js'));
|
|
222760
222760
|
class AddTokens extends Base {
|
|
222761
222761
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT;
|
|
222762
222762
|
getValidatedProperties({ config, }) {
|
|
@@ -222800,7 +222800,7 @@ class AddTokens extends Base {
|
|
|
222800
222800
|
}
|
|
222801
222801
|
}
|
|
222802
222802
|
|
|
222803
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
222803
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-CUc8HRTw.js'));
|
|
222804
222804
|
class Bridge extends Base {
|
|
222805
222805
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
222806
222806
|
getValidatedProperties({ config }) {
|
|
@@ -222843,6 +222843,92 @@ class Bridge extends Base {
|
|
|
222843
222843
|
}
|
|
222844
222844
|
}
|
|
222845
222845
|
|
|
222846
|
+
function getChainNameById(chainId) {
|
|
222847
|
+
switch (chainId) {
|
|
222848
|
+
case ChainId.ETHEREUM: return ChainName.ETHEREUM;
|
|
222849
|
+
case ChainId.IMTBL_ZKEVM_TESTNET: return ChainName.IMTBL_ZKEVM_TESTNET;
|
|
222850
|
+
case ChainId.IMTBL_ZKEVM_MAINNET: return ChainName.IMTBL_ZKEVM_MAINNET;
|
|
222851
|
+
case ChainId.IMTBL_ZKEVM_DEVNET: return ChainName.IMTBL_ZKEVM_DEVNET;
|
|
222852
|
+
case ChainId.SEPOLIA: return ChainName.SEPOLIA;
|
|
222853
|
+
default: return '';
|
|
222854
|
+
}
|
|
222855
|
+
}
|
|
222856
|
+
function getChainSlugById(chainId) {
|
|
222857
|
+
switch (chainId) {
|
|
222858
|
+
case ChainId.ETHEREUM: return ChainSlug.ETHEREUM;
|
|
222859
|
+
case ChainId.IMTBL_ZKEVM_TESTNET: return ChainSlug.IMTBL_ZKEVM_TESTNET;
|
|
222860
|
+
case ChainId.IMTBL_ZKEVM_MAINNET: return ChainSlug.IMTBL_ZKEVM_MAINNET;
|
|
222861
|
+
case ChainId.IMTBL_ZKEVM_DEVNET: return ChainSlug.IMTBL_ZKEVM_DEVNET;
|
|
222862
|
+
case ChainId.SEPOLIA: return ChainSlug.SEPOLIA;
|
|
222863
|
+
default: return '';
|
|
222864
|
+
}
|
|
222865
|
+
}
|
|
222866
|
+
function getChainIdBySlug(chainSlug) {
|
|
222867
|
+
switch (chainSlug) {
|
|
222868
|
+
case ChainSlug.ETHEREUM: return ChainId.ETHEREUM;
|
|
222869
|
+
case ChainSlug.IMTBL_ZKEVM_TESTNET: return ChainId.IMTBL_ZKEVM_TESTNET;
|
|
222870
|
+
case ChainSlug.IMTBL_ZKEVM_MAINNET: return ChainId.IMTBL_ZKEVM_MAINNET;
|
|
222871
|
+
case ChainSlug.IMTBL_ZKEVM_DEVNET: return ChainId.IMTBL_ZKEVM_DEVNET;
|
|
222872
|
+
case ChainSlug.SEPOLIA: return ChainId.SEPOLIA;
|
|
222873
|
+
default: return 0;
|
|
222874
|
+
}
|
|
222875
|
+
}
|
|
222876
|
+
function getNativeSymbolByChainSlug(chainSlug) {
|
|
222877
|
+
switch (chainSlug) {
|
|
222878
|
+
case ChainSlug.ETHEREUM:
|
|
222879
|
+
case ChainSlug.SEPOLIA:
|
|
222880
|
+
return 'ETH';
|
|
222881
|
+
case ChainSlug.IMTBL_ZKEVM_TESTNET:
|
|
222882
|
+
case ChainSlug.IMTBL_ZKEVM_MAINNET:
|
|
222883
|
+
case ChainSlug.IMTBL_ZKEVM_DEVNET:
|
|
222884
|
+
return 'IMX';
|
|
222885
|
+
default: return '';
|
|
222886
|
+
}
|
|
222887
|
+
}
|
|
222888
|
+
|
|
222889
|
+
const ConnectWidget$2 = React.lazy(() => Promise.resolve().then(function () { return ConnectWidget$1; }));
|
|
222890
|
+
class Connect extends Base {
|
|
222891
|
+
eventTopic = IMTBLWidgetEvents.IMTBL_CONNECT_WIDGET_EVENT;
|
|
222892
|
+
getValidatedProperties({ config }) {
|
|
222893
|
+
return {
|
|
222894
|
+
config,
|
|
222895
|
+
};
|
|
222896
|
+
}
|
|
222897
|
+
getValidatedParameters(params) {
|
|
222898
|
+
const validatedParams = params;
|
|
222899
|
+
// validating targetChainId per environment
|
|
222900
|
+
if (!params.targetChainId
|
|
222901
|
+
&& this.checkout.config.isProduction) {
|
|
222902
|
+
validatedParams.targetChainId = ChainId.IMTBL_ZKEVM_MAINNET;
|
|
222903
|
+
}
|
|
222904
|
+
else if (params.targetChainId
|
|
222905
|
+
&& this.checkout.config.isProduction
|
|
222906
|
+
&& (params.targetChainId !== ChainId.ETHEREUM && params.targetChainId !== ChainId.IMTBL_ZKEVM_MAINNET)) {
|
|
222907
|
+
// eslint-disable-next-line max-len, no-console
|
|
222908
|
+
console.warn(`Cannot set targetChainId to ${params.targetChainId} in ${Environment$1.PRODUCTION} environment, defaulting to ${getChainNameById(ChainId.IMTBL_ZKEVM_MAINNET)}, chainId ${ChainId.IMTBL_ZKEVM_MAINNET}`);
|
|
222909
|
+
validatedParams.targetChainId = ChainId.IMTBL_ZKEVM_MAINNET;
|
|
222910
|
+
}
|
|
222911
|
+
if (!params.targetChainId
|
|
222912
|
+
&& this.checkout.config.environment === Environment$1.SANDBOX) {
|
|
222913
|
+
validatedParams.targetChainId = ChainId.IMTBL_ZKEVM_TESTNET;
|
|
222914
|
+
}
|
|
222915
|
+
else if (params.targetChainId
|
|
222916
|
+
&& this.checkout.config.environment === Environment$1.SANDBOX
|
|
222917
|
+
&& (params.targetChainId !== ChainId.SEPOLIA && params.targetChainId !== ChainId.IMTBL_ZKEVM_TESTNET)) {
|
|
222918
|
+
// eslint-disable-next-line max-len, no-console
|
|
222919
|
+
console.warn(`Cannot set targetChainId to ${params.targetChainId} in ${Environment$1.SANDBOX} environment, defaulting to ${getChainNameById(ChainId.IMTBL_ZKEVM_TESTNET)}, chainId ${ChainId.IMTBL_ZKEVM_TESTNET}`);
|
|
222920
|
+
validatedParams.targetChainId = ChainId.IMTBL_ZKEVM_TESTNET;
|
|
222921
|
+
}
|
|
222922
|
+
return params;
|
|
222923
|
+
}
|
|
222924
|
+
render() {
|
|
222925
|
+
if (!this.reactRoot)
|
|
222926
|
+
return;
|
|
222927
|
+
const { t } = instance;
|
|
222928
|
+
this.reactRoot.render(jsx$1(React.StrictMode, { children: jsx$1(CustomAnalyticsProvider, { checkout: this.checkout, children: jsx$1(ThemeProvider, { id: "connect-container", config: this.strongConfig(), children: jsx$1(HandoverProvider, { children: jsx$1(reactExports.Suspense, { fallback: jsx$1(LoadingView, { loadingText: t('views.LOADING_VIEW.text') }), children: jsx$1(ConnectWidget$2, { config: this.strongConfig(), checkout: this.checkout, targetWalletRdns: this.parameters.targetWalletRdns, targetChainId: this.parameters.targetChainId, blocklistWalletRdns: this.parameters.blocklistWalletRdns }) }) }) }) }) }));
|
|
222929
|
+
}
|
|
222930
|
+
}
|
|
222931
|
+
|
|
222846
222932
|
function deduplicateSaleItemsArray(items) {
|
|
222847
222933
|
if (!items || !Array.isArray(items))
|
|
222848
222934
|
return [];
|
|
@@ -222868,7 +222954,7 @@ const commerceFlows = [
|
|
|
222868
222954
|
CommerceFlowType.ADD_TOKENS,
|
|
222869
222955
|
];
|
|
222870
222956
|
|
|
222871
|
-
const CommerceWidget = React.lazy(() => import('./CommerceWidget-
|
|
222957
|
+
const CommerceWidget = React.lazy(() => import('./CommerceWidget-BOWOZCaz.js'));
|
|
222872
222958
|
class CommerceWidgetRoot extends Base {
|
|
222873
222959
|
eventTopic = IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT;
|
|
222874
222960
|
getValidatedProperties({ config, }) {
|
|
@@ -223040,92 +223126,6 @@ class CommerceWidgetRoot extends Base {
|
|
|
223040
223126
|
}
|
|
223041
223127
|
}
|
|
223042
223128
|
|
|
223043
|
-
function getChainNameById(chainId) {
|
|
223044
|
-
switch (chainId) {
|
|
223045
|
-
case ChainId.ETHEREUM: return ChainName.ETHEREUM;
|
|
223046
|
-
case ChainId.IMTBL_ZKEVM_TESTNET: return ChainName.IMTBL_ZKEVM_TESTNET;
|
|
223047
|
-
case ChainId.IMTBL_ZKEVM_MAINNET: return ChainName.IMTBL_ZKEVM_MAINNET;
|
|
223048
|
-
case ChainId.IMTBL_ZKEVM_DEVNET: return ChainName.IMTBL_ZKEVM_DEVNET;
|
|
223049
|
-
case ChainId.SEPOLIA: return ChainName.SEPOLIA;
|
|
223050
|
-
default: return '';
|
|
223051
|
-
}
|
|
223052
|
-
}
|
|
223053
|
-
function getChainSlugById(chainId) {
|
|
223054
|
-
switch (chainId) {
|
|
223055
|
-
case ChainId.ETHEREUM: return ChainSlug.ETHEREUM;
|
|
223056
|
-
case ChainId.IMTBL_ZKEVM_TESTNET: return ChainSlug.IMTBL_ZKEVM_TESTNET;
|
|
223057
|
-
case ChainId.IMTBL_ZKEVM_MAINNET: return ChainSlug.IMTBL_ZKEVM_MAINNET;
|
|
223058
|
-
case ChainId.IMTBL_ZKEVM_DEVNET: return ChainSlug.IMTBL_ZKEVM_DEVNET;
|
|
223059
|
-
case ChainId.SEPOLIA: return ChainSlug.SEPOLIA;
|
|
223060
|
-
default: return '';
|
|
223061
|
-
}
|
|
223062
|
-
}
|
|
223063
|
-
function getChainIdBySlug(chainSlug) {
|
|
223064
|
-
switch (chainSlug) {
|
|
223065
|
-
case ChainSlug.ETHEREUM: return ChainId.ETHEREUM;
|
|
223066
|
-
case ChainSlug.IMTBL_ZKEVM_TESTNET: return ChainId.IMTBL_ZKEVM_TESTNET;
|
|
223067
|
-
case ChainSlug.IMTBL_ZKEVM_MAINNET: return ChainId.IMTBL_ZKEVM_MAINNET;
|
|
223068
|
-
case ChainSlug.IMTBL_ZKEVM_DEVNET: return ChainId.IMTBL_ZKEVM_DEVNET;
|
|
223069
|
-
case ChainSlug.SEPOLIA: return ChainId.SEPOLIA;
|
|
223070
|
-
default: return 0;
|
|
223071
|
-
}
|
|
223072
|
-
}
|
|
223073
|
-
function getNativeSymbolByChainSlug(chainSlug) {
|
|
223074
|
-
switch (chainSlug) {
|
|
223075
|
-
case ChainSlug.ETHEREUM:
|
|
223076
|
-
case ChainSlug.SEPOLIA:
|
|
223077
|
-
return 'ETH';
|
|
223078
|
-
case ChainSlug.IMTBL_ZKEVM_TESTNET:
|
|
223079
|
-
case ChainSlug.IMTBL_ZKEVM_MAINNET:
|
|
223080
|
-
case ChainSlug.IMTBL_ZKEVM_DEVNET:
|
|
223081
|
-
return 'IMX';
|
|
223082
|
-
default: return '';
|
|
223083
|
-
}
|
|
223084
|
-
}
|
|
223085
|
-
|
|
223086
|
-
const ConnectWidget$2 = React.lazy(() => Promise.resolve().then(function () { return ConnectWidget$1; }));
|
|
223087
|
-
class Connect extends Base {
|
|
223088
|
-
eventTopic = IMTBLWidgetEvents.IMTBL_CONNECT_WIDGET_EVENT;
|
|
223089
|
-
getValidatedProperties({ config }) {
|
|
223090
|
-
return {
|
|
223091
|
-
config,
|
|
223092
|
-
};
|
|
223093
|
-
}
|
|
223094
|
-
getValidatedParameters(params) {
|
|
223095
|
-
const validatedParams = params;
|
|
223096
|
-
// validating targetChainId per environment
|
|
223097
|
-
if (!params.targetChainId
|
|
223098
|
-
&& this.checkout.config.isProduction) {
|
|
223099
|
-
validatedParams.targetChainId = ChainId.IMTBL_ZKEVM_MAINNET;
|
|
223100
|
-
}
|
|
223101
|
-
else if (params.targetChainId
|
|
223102
|
-
&& this.checkout.config.isProduction
|
|
223103
|
-
&& (params.targetChainId !== ChainId.ETHEREUM && params.targetChainId !== ChainId.IMTBL_ZKEVM_MAINNET)) {
|
|
223104
|
-
// eslint-disable-next-line max-len, no-console
|
|
223105
|
-
console.warn(`Cannot set targetChainId to ${params.targetChainId} in ${Environment$1.PRODUCTION} environment, defaulting to ${getChainNameById(ChainId.IMTBL_ZKEVM_MAINNET)}, chainId ${ChainId.IMTBL_ZKEVM_MAINNET}`);
|
|
223106
|
-
validatedParams.targetChainId = ChainId.IMTBL_ZKEVM_MAINNET;
|
|
223107
|
-
}
|
|
223108
|
-
if (!params.targetChainId
|
|
223109
|
-
&& this.checkout.config.environment === Environment$1.SANDBOX) {
|
|
223110
|
-
validatedParams.targetChainId = ChainId.IMTBL_ZKEVM_TESTNET;
|
|
223111
|
-
}
|
|
223112
|
-
else if (params.targetChainId
|
|
223113
|
-
&& this.checkout.config.environment === Environment$1.SANDBOX
|
|
223114
|
-
&& (params.targetChainId !== ChainId.SEPOLIA && params.targetChainId !== ChainId.IMTBL_ZKEVM_TESTNET)) {
|
|
223115
|
-
// eslint-disable-next-line max-len, no-console
|
|
223116
|
-
console.warn(`Cannot set targetChainId to ${params.targetChainId} in ${Environment$1.SANDBOX} environment, defaulting to ${getChainNameById(ChainId.IMTBL_ZKEVM_TESTNET)}, chainId ${ChainId.IMTBL_ZKEVM_TESTNET}`);
|
|
223117
|
-
validatedParams.targetChainId = ChainId.IMTBL_ZKEVM_TESTNET;
|
|
223118
|
-
}
|
|
223119
|
-
return params;
|
|
223120
|
-
}
|
|
223121
|
-
render() {
|
|
223122
|
-
if (!this.reactRoot)
|
|
223123
|
-
return;
|
|
223124
|
-
const { t } = instance;
|
|
223125
|
-
this.reactRoot.render(jsx$1(React.StrictMode, { children: jsx$1(CustomAnalyticsProvider, { checkout: this.checkout, children: jsx$1(ThemeProvider, { id: "connect-container", config: this.strongConfig(), children: jsx$1(HandoverProvider, { children: jsx$1(reactExports.Suspense, { fallback: jsx$1(LoadingView, { loadingText: t('views.LOADING_VIEW.text') }), children: jsx$1(ConnectWidget$2, { config: this.strongConfig(), checkout: this.checkout, targetWalletRdns: this.parameters.targetWalletRdns, targetChainId: this.parameters.targetChainId, blocklistWalletRdns: this.parameters.blocklistWalletRdns }) }) }) }) }) }));
|
|
223126
|
-
}
|
|
223127
|
-
}
|
|
223128
|
-
|
|
223129
223129
|
const footerButtonStyles = {
|
|
223130
223130
|
width: '100%',
|
|
223131
223131
|
display: 'flex',
|
|
@@ -225180,7 +225180,7 @@ const orchestrationEvents = {
|
|
|
225180
225180
|
sendRequestAddTokensEvent,
|
|
225181
225181
|
};
|
|
225182
225182
|
|
|
225183
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
225183
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-vxPgznQT.js').then(function (n) { return n.a; }));
|
|
225184
225184
|
class OnRamp extends Base {
|
|
225185
225185
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
225186
225186
|
getValidatedProperties({ config }) {
|
|
@@ -225318,7 +225318,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
225318
225318
|
eventTarget.dispatchEvent(event);
|
|
225319
225319
|
};
|
|
225320
225320
|
|
|
225321
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
225321
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-BdnaSjMC.js'));
|
|
225322
225322
|
class Sale extends Base {
|
|
225323
225323
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
225324
225324
|
// TODO: add specific validation logic for the sale items
|
|
@@ -225555,7 +225555,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
225555
225555
|
: serviceUnavailableView) }));
|
|
225556
225556
|
}
|
|
225557
225557
|
|
|
225558
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
225558
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-DpZ61Qy1.js'));
|
|
225559
225559
|
class Swap extends Base {
|
|
225560
225560
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
225561
225561
|
getValidatedProperties({ config }) {
|
|
@@ -225680,7 +225680,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
225680
225680
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
225681
225681
|
}
|
|
225682
225682
|
|
|
225683
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
225683
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-Baf13r5o.js'));
|
|
225684
225684
|
class Wallet extends Base {
|
|
225685
225685
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
225686
225686
|
getValidatedProperties({ config }) {
|
|
@@ -225759,7 +225759,7 @@ class WidgetsFactory {
|
|
|
225759
225759
|
addProviderListenersForWidgetRoot(provider);
|
|
225760
225760
|
sendProviderUpdatedEvent({ provider });
|
|
225761
225761
|
}
|
|
225762
|
-
create(type, props) {
|
|
225762
|
+
create = (type, props) => {
|
|
225763
225763
|
const { provider } = props ?? {};
|
|
225764
225764
|
const config = props?.config || {};
|
|
225765
225765
|
switch (type) {
|
|
@@ -225814,7 +225814,7 @@ class WidgetsFactory {
|
|
|
225814
225814
|
default:
|
|
225815
225815
|
throw new Error('widget type not supported');
|
|
225816
225816
|
}
|
|
225817
|
-
}
|
|
225817
|
+
};
|
|
225818
225818
|
}
|
|
225819
225819
|
|
|
225820
225820
|
export { getStartingSize as $, AddTokensEventType as A, BridgeEventType as B, CommerceFlowType as C, merge$1 as D, ErrorView as E, useResizeObserver as F, SmartClone as G, Box as H, IMTBLWidgetEvents as I, isChildSubcomponent as J, flattenChildren as K, LoadingView as L, Body as M, useTheme$1 as N, OnRampEventType as O, ProviderEventType as P, Icon as Q, ButtCon as R, SwapEventType as S, Button as T, _defineProperty$1 as U, ViewActions as V, WalletEventType as W, isDualVariantIcon as X, _slicedToArray as Y, isNumberWithinTotal as Z, _objectWithoutProperties as _, CommerceEventType as a, useInjectedProviders as a$, BaseClickable as a0, ClassNames as a1, _toConsumableArray as a2, isError as a3, Badge as a4, FramedIcon as a5, FramedImage as a6, FramedLogo as a7, Stack as a8, hFlex as a9, Heading as aA, WalletDrawer as aB, UnableToConnectDrawer as aC, ChangedYourMindDrawer as aD, WalletProviderRdns as aE, getProviderSlugFromRdns as aF, Web3Provider as aG, connectEIP6963Provider as aH, identifyUser as aI, ConnectEIP6963ProviderError as aJ, ProvidersContextActions as aK, ViewContext as aL, commonjsRequire$1 as aM, getRemoteImage as aN, useHandover as aO, HandoverTarget as aP, EventTargetContext as aQ, getRemoteRive as aR, Trans as aS, Link as aT, keyframes$1 as aU, getDefaultTokenImage as aV, TokenFilterTypes as aW, isNativeToken as aX, getTokenImageByAddress as aY, TextInput as aZ, VerticalMenu as a_, usePrevious as aa, useBrowserEffect as ab, getHeadingTextStyles as ac, vFlex as ad, centerFlexChildren as ae, FormControlLabel as af, FormControlValidation as ag, FormControlCaption as ah, getDefaultExportFromCjs$3 as ai, commonjsGlobal$2 as aj, MenuItem as ak, tokenValueFormat as al, DEFAULT_TOKEN_FORMATTING_DECIMALS as am, BigNumber$1 as an, getRemoteVideo as ao, FramedVideo as ap, motion$1 as aq, listItemVariants as ar, Divider as as, Fragment$1 as at, listVariants as au, useProvidersContext as av, Drawer as aw, useAnalytics as ax, UserJourney as ay, isPassportProvider as az, ConnectEventType as b, EventTargetActions as b$, SimpleLayout as b0, orchestrationEvents as b1, requireSecp256k1 as b2, requireLib_commonjs as b3, require$$0$3 as b4, bech32 as b5, bnExports$1 as b6, require$$0$2 as b7, getAugmentedNamespace$1 as b8, require$$0$5 as b9, SalePaymentTypes as bA, calculateCryptoToFiat as bB, sendSaleWidgetCloseEvent as bC, sendSaleSuccessEvent as bD, sendSaleFailedEvent as bE, sendSaleTransactionSuccessEvent as bF, sendSalePaymentMethodEvent as bG, sendSalePaymentTokenEvent as bH, HeaderNavigation as bI, LoadingOverlay as bJ, HandoverDuration as bK, isAddressSanctioned as bL, FooterLogo as bM, StatusType as bN, prettyFormatNumber as bO, ShimmerCircle as bP, FundingStepType as bQ, abbreviateWalletAddress as bR, tokenSymbolNameOverrides as bS, ItemType as bT, TransactionOrGasType as bU, GasTokenType as bV, RoutingOutcomeType as bW, isGasFree as bX, ConnectLoaderContext as bY, eventTargetReducer as bZ, initialEventTargetState as b_, minimalisticAssert$1 as ba, require$$2 as bb, hash$5 as bc, MaxUint256$5 as bd, merge as be, SvgIcon as bf, WalletWarningHero as bg, Environment$1 as bh, t$7 as bi, PriceDisplay as bj, viewReducer as bk, initialViewState as bl, isValidAddress as bm, amountInputValidation as bn, CloudImage as bo, ServiceUnavailableToRegionErrorView as bp, ServiceType as bq, MultiTextShimmer as br, getCaptionTextStyles as bs, DEFAULT_BODY_PROPS as bt, baseTextComponentSx as bu, useConvertSxToEmotionStyles as bv, useGetCurrentSizeClass as bw, cloneElementWithCssProp as bx, compareStr as by, fetchRiskAssessment as bz, CommerceFailureEventType as c, isHexString$1 as c$, ConnectWidgetViews as c0, ConnectLoaderActions as c1, widgetTheme as c2, BlockExplorerService as c3, ServiceUnavailableErrorView as c4, axios$1 as c5, CheckoutErrorType as c6, IMMUTABLE_API_BASE_URL as c7, ShimmerBox as c8, PASSPORT_URL as c9, dist as cA, CHECKOUT_CDN_BASE_URL as cB, heroBackGroundStyles as cC, heroImageStyles as cD, SimpleTextBody as cE, FooterButton as cF, getEthTokenImage as cG, WITHDRAWAL_CLAIM_GAS_LIMIT as cH, BridgeConfiguration as cI, ImmutableConfiguration as cJ, TokenBridge as cK, StatusView as cL, ETH_SEPOLIA_TO_ZKEVM_TESTNET as cM, ETH_SEPOLIA_TO_ZKEVM_DEVNET as cN, ETH_MAINNET_TO_ZKEVM_MAINNET as cO, defineReadOnly$1 as cP, getStatic$1 as cQ, Signer$1 as cR, Provider$1 as cS, getAddress$1 as cT, Logger$2 as cU, getContractAddress$1 as cV, Interface$1 as cW, shallowCopy$1 as cX, VoidSigner$1 as cY, Indexed$1 as cZ, deepCopy$1 as c_, getChainIdBySlug as ca, getChainImage as cb, networkName as cc, useWalletConnect as cd, isWalletConnectProvider as ce, Logo as cf, RawImage as cg, AXELAR_SCAN_URL as ch, getNativeSymbolByChainSlug as ci, getChainSlugById as cj, JsonRpcProvider$1 as ck, DEFAULT_TRANSACTIONS_RETRY_POLICY as cl, getChainNameById as cm, getWalletProviderNameByProvider as cn, isMetaMaskProvider as co, WalletProviderName as cp, ButtonNavigationStyles as cq, formatZeroAmount as cr, NATIVE as cs, ETH_TOKEN_SYMBOL as ct, GasEstimateType as cu, DEFAULT_TOKEN_DECIMALS as cv, DEFAULT_QUOTE_REFRESH_INTERVAL as cw, addChainChangedListener as cx, removeChainChangedListener as cy, IMX_TOKEN_SYMBOL as cz, CommerceSuccessEventType as d, __assign as d$, checkResultErrors$1 as d0, resolveProperties$1 as d1, accessListify$1 as d2, arrayify$1 as d3, global$2 as d4, ExchangeType as d5, sendOnRampWidgetCloseEvent as d6, sendOnRampSuccessEvent as d7, sendOnRampFailedEvent as d8, WidgetTheme as d9, BUTTON_SIZES as dA, setDefaultSxBackgroundColor as dB, ZERO_BALANCE_STRING as dC, sendNetworkSwitchEvent as dD, NetworkFilterTypes as dE, sortNetworksCompareFn as dF, sortTokensByAmount as dG, sendWalletWidgetCloseEvent as dH, sendDisconnectWalletEvent as dI, FAQS_LINK as dJ, useBrowserLayoutEffect as dK, ne$2 as dL, se$2 as dM, T$2 as dN, oe$4 as dO, R$5 as dP, a$4 as dQ, te$4 as dR, p$9 as dS, y$6 as dT, __awaiter as dU, __generator as dV, loadScript as dW, getNextIntegrationsURL as dX, unloadScript as dY, __spreadArray$1 as dZ, isOffline as d_, quickswapFooterStyles as da, quickswapFooterLogoStyles as db, quickswapFooterDisclaimerTextStyles as dc, getImxTokenImage as dd, Tooltip as de, ESTIMATE_DEBOUNCE as df, DEFAULT_TOKEN_VALIDATION_DECIMALS as dg, sendSwapWidgetCloseEvent as dh, DEFAULT_BALANCE_RETRY_POLICY as di, SwapDirection as dj, sendSwapSuccessEvent as dk, sendSwapFailedEvent as dl, sendSwapRejectedEvent as dm, AnimatePresence as dn, getTertiaryButtonStyles as dp, FormControlWrapper as dq, Select as dr, DuoCon as ds, heroImageBottomAlign as dt, version$r as du, hexZeroPad$1 as dv, isBigNumberish as dw, isBytes$1 as dx, DEFAULT_BUTTON_SIZE as dy, getResponsiveSx as dz, CommerceUserActionEventType as e, ContextCancelation as e0, applyDestinationMiddleware as e1, dist$1 as e2, isServer as e3, mergedOptions as e4, isPlainObject as e5, pWhile as e6, PriorityQueue as e7, PersistedPriorityQueue as e8, attempt as e9, isOnline as ea, Context as eb, pTimeout as ec, gracefulDecodeURIComponent as ed, WidgetsFactory as ee, SaleEventType as f, OrchestrationEventType as g, getL2ChainId as h, getL1ChainId as i, ChainId as j, useViewState as k, useEventTargetState as l, SharedViews as m, commerceFlows as n, jsx$1 as o, jsxs as p, ConnectWidget as q, reactExports as r, ProvidersContextProvider as s, ConnectLoader as t, useTranslation as u, ViewContextProvider as v, useTheme as w, useForwardLocalDomRef as x, useGetSubcomponentChild as y, useSplitApartChildrenAndSubComponents as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dU as __awaiter, dV as __generator, e3 as isServer, dX as getNextIntegrationsURL, dW as loadScript } from './index-
|
|
1
|
+
import { dU as __awaiter, dV as __generator, e3 as isServer, dX as getNextIntegrationsURL, dW as loadScript } from './index-MiJtNQGp.js';
|
|
2
2
|
|
|
3
3
|
function remoteMiddlewares(ctx, settings, obfuscate) {
|
|
4
4
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as BigNumber, cU as Logger, du as version$1, dv as hexZeroPad, dw as isBigNumberish, d3 as arrayify, dx as isBytes } from './index-
|
|
1
|
+
import { an as BigNumber, cU as Logger, du as version$1, dv as hexZeroPad, dw as isBigNumberish, d3 as arrayify, dx as isBytes } from './index-MiJtNQGp.js';
|
|
2
2
|
|
|
3
3
|
const logger$1 = new Logger(version$1);
|
|
4
4
|
const _constructorGuard = {};
|