@imtbl/sdk 1.71.2 → 1.72.0
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-Bhqm0if8.js → blockchain_data-BhKkcXKA.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-DKzImmC-.js → AddTokensWidget-H9uRs_pu.js} +20 -38
- package/dist/browser/checkout/{BridgeWidget-CzVsQchC.js → BridgeWidget-DBlVbfR0.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-CUasC3oE.js → CommerceWidget-BLbJSgWC.js} +17 -17
- package/dist/browser/checkout/{CryptoFiatProvider-DKXCDDGn.js → CryptoFiatProvider-BSRVFRoD.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-UC6tKNEL.js → EllipsizedText-4rf2JtZP.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-BfPztUaH.js → FeesBreakdown-BQak-_iI.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-B3LLoEOB.js → HandoverContent-FPHu2HkR.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-ByivbO-g.js → OnRampWidget-CEQJezLx.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-Dk7eHdEM.js → SaleWidget-DvoH4z6w.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-LcUg19at.js → SpendingCapHero-v3WRS9c2.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-B5I4qbQ2.js → SwapWidget-C_9cjLEV.js} +9 -9
- package/dist/browser/checkout/{TokenImage-BV7fW6TT.js → TokenImage-C22RrN2b.js} +1 -1
- package/dist/browser/checkout/{TopUpView--9kYu60j.js → TopUpView-DwImDKAn.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-CzkeZMMr.js → WalletApproveHero-BceSDZx_.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-72Q5gtXg.js → WalletWidget-CZ_lw4_E.js} +4 -4
- package/dist/browser/checkout/{auto-track-BvpUU2wR.js → auto-track-CW8Ech72.js} +1 -1
- package/dist/browser/checkout/{index-bkapV3e8.js → index-B5NVM-4U.js} +1 -1
- package/dist/browser/checkout/{index-Ck7ANhMH.js → index-BceUl1li.js} +1 -1
- package/dist/browser/checkout/{index-Bct905Kz.js → index-BxckLE4O.js} +1 -1
- package/dist/browser/checkout/{index-OdSoW-FV.js → index-C8kOoOd-.js} +1 -1
- package/dist/browser/checkout/{index-B_P1u-VM.js → index-CXWnaooi.js} +1 -1
- package/dist/browser/checkout/{index-BAnpeiGZ.js → index-CkZRB4el.js} +2 -2
- package/dist/browser/checkout/{index-CIzNTZ1B.js → index-QbI5he3_.js} +1 -1
- package/dist/browser/checkout/{index-79qqSOkN.js → index-_RJ0jfOR.js} +1 -1
- package/dist/browser/checkout/{index-Crwefhg1.js → index-v748oxe1.js} +19 -19
- package/dist/browser/checkout/{index.umd-nRJL7rJq.js → index.umd-DJ42SoRS.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-DutEDQ90.js → useInterval-BBIIMGa6.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +809 -882
- package/dist/{checkout-DasYybUZ.js → checkout-Bbw4lMvu.js} +40 -9
- package/dist/checkout.js +5 -5
- package/dist/{config-DCVDc3v8.js → config-Bx5cZVwN.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-TFa0owz-.js → index-2-9CaV4G.js} +1 -1
- package/dist/{index-COICsNsE.js → index-BCzTpky5.js} +1 -1
- package/dist/{index-BmVyhpJX.js → index-B_tA2AB3.js} +1 -1
- package/dist/{index-NtppN-aK.js → index-BjKQNmKU.js} +1 -1
- package/dist/{index-o5dSv0jt.js → index-DgAAcKgb.js} +4 -4
- package/dist/{index-L_TcRmaA.js → index-DgPFc11T.js} +3 -3
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +42 -11
- package/dist/index.js +14 -14
- package/dist/{minting_backend-Bg5AfM_R.js → minting_backend-DCIEgk4Y.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-CEguKubj.js → orderbook-C99VLAwP.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-vGE_K8Y1.js → passport--cxG4DFA.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-BCQEMed_.js → webhook-KbzH4ZI4.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-SjcnDDz3.js → x-D5yMtJYf.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -135061,7 +135061,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
135061
135061
|
|
|
135062
135062
|
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;}};
|
|
135063
135063
|
|
|
135064
|
-
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-
|
|
135064
|
+
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-B5NVM-4U.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
|
|
135065
135065
|
|
|
135066
135066
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
135067
135067
|
__proto__: null,
|
|
@@ -151902,7 +151902,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
151902
151902
|
return __generator(this, function (_b) {
|
|
151903
151903
|
switch (_b.label) {
|
|
151904
151904
|
case 0: return [4 /*yield*/, import(
|
|
151905
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
151905
|
+
/* webpackChunkName: "auto-track" */ './auto-track-CW8Ech72.js')];
|
|
151906
151906
|
case 1:
|
|
151907
151907
|
autotrack = _b.sent();
|
|
151908
151908
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -151921,7 +151921,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
151921
151921
|
return __generator(this, function (_b) {
|
|
151922
151922
|
switch (_b.label) {
|
|
151923
151923
|
case 0: return [4 /*yield*/, import(
|
|
151924
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
151924
|
+
/* webpackChunkName: "auto-track" */ './auto-track-CW8Ech72.js')];
|
|
151925
151925
|
case 1:
|
|
151926
151926
|
autotrack = _b.sent();
|
|
151927
151927
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -151940,7 +151940,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
151940
151940
|
return __generator(this, function (_b) {
|
|
151941
151941
|
switch (_b.label) {
|
|
151942
151942
|
case 0: return [4 /*yield*/, import(
|
|
151943
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
151943
|
+
/* webpackChunkName: "auto-track" */ './auto-track-CW8Ech72.js')];
|
|
151944
151944
|
case 1:
|
|
151945
151945
|
autotrack = _b.sent();
|
|
151946
151946
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -151959,7 +151959,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
151959
151959
|
return __generator(this, function (_b) {
|
|
151960
151960
|
switch (_b.label) {
|
|
151961
151961
|
case 0: return [4 /*yield*/, import(
|
|
151962
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
151962
|
+
/* webpackChunkName: "auto-track" */ './auto-track-CW8Ech72.js')];
|
|
151963
151963
|
case 1:
|
|
151964
151964
|
autotrack = _b.sent();
|
|
151965
151965
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152109,7 +152109,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152109
152109
|
return [2 /*return*/, []];
|
|
152110
152110
|
}
|
|
152111
152111
|
return [4 /*yield*/, import(
|
|
152112
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
152112
|
+
/* webpackChunkName: "queryString" */ './index-C8kOoOd-.js')];
|
|
152113
152113
|
case 1:
|
|
152114
152114
|
queryString = (_a.sent()).queryString;
|
|
152115
152115
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -154813,7 +154813,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154813
154813
|
case 0:
|
|
154814
154814
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
154815
154815
|
return [4 /*yield*/, import(
|
|
154816
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
154816
|
+
/* webpackChunkName: "tsub-middleware" */ './index-BceUl1li.js').then(function (mod) {
|
|
154817
154817
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
154818
154818
|
})];
|
|
154819
154819
|
case 1:
|
|
@@ -154826,7 +154826,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154826
154826
|
tsubMiddleware = _d;
|
|
154827
154827
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
154828
154828
|
return [4 /*yield*/, import(
|
|
154829
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
154829
|
+
/* webpackChunkName: "ajs-destination" */ './index-_RJ0jfOR.js').then(function (mod) {
|
|
154830
154830
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
154831
154831
|
})];
|
|
154832
154832
|
case 4:
|
|
@@ -154839,7 +154839,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154839
154839
|
legacyDestinations = _e;
|
|
154840
154840
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
154841
154841
|
return [4 /*yield*/, import(
|
|
154842
|
-
/* webpackChunkName: "legacyVideos" */ './index-
|
|
154842
|
+
/* webpackChunkName: "legacyVideos" */ './index-CkZRB4el.js').then(function (mod) {
|
|
154843
154843
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
154844
154844
|
})];
|
|
154845
154845
|
case 7:
|
|
@@ -154848,7 +154848,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154848
154848
|
case 8:
|
|
154849
154849
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
154850
154850
|
return [4 /*yield*/, import(
|
|
154851
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
154851
|
+
/* webpackChunkName: "schemaFilter" */ './index-CXWnaooi.js').then(function (mod) {
|
|
154852
154852
|
var _a;
|
|
154853
154853
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
154854
154854
|
})];
|
|
@@ -154887,7 +154887,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154887
154887
|
return enabled;
|
|
154888
154888
|
})) return [3 /*break*/, 17];
|
|
154889
154889
|
return [4 /*yield*/, import(
|
|
154890
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
154890
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-BxckLE4O.js').then(function (_a) {
|
|
154891
154891
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
154892
154892
|
return __awaiter(_this, void 0, void 0, function () {
|
|
154893
154893
|
var middleware, promises;
|
|
@@ -222076,7 +222076,7 @@ const useProvidersContext = () => {
|
|
|
222076
222076
|
return context;
|
|
222077
222077
|
};
|
|
222078
222078
|
|
|
222079
|
-
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-
|
|
222079
|
+
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-H9uRs_pu.js'));
|
|
222080
222080
|
class AddTokens extends Base {
|
|
222081
222081
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT;
|
|
222082
222082
|
getValidatedProperties({ config, }) {
|
|
@@ -222120,7 +222120,7 @@ class AddTokens extends Base {
|
|
|
222120
222120
|
}
|
|
222121
222121
|
}
|
|
222122
222122
|
|
|
222123
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
222123
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-DBlVbfR0.js'));
|
|
222124
222124
|
class Bridge extends Base {
|
|
222125
222125
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
222126
222126
|
getValidatedProperties({ config }) {
|
|
@@ -222274,7 +222274,7 @@ const commerceFlows = [
|
|
|
222274
222274
|
CommerceFlowType.ADD_TOKENS,
|
|
222275
222275
|
];
|
|
222276
222276
|
|
|
222277
|
-
const CommerceWidget = React.lazy(() => import('./CommerceWidget-
|
|
222277
|
+
const CommerceWidget = React.lazy(() => import('./CommerceWidget-BLbJSgWC.js'));
|
|
222278
222278
|
class CommerceWidgetRoot extends Base {
|
|
222279
222279
|
eventTopic = IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT;
|
|
222280
222280
|
getValidatedProperties({ config, }) {
|
|
@@ -224486,7 +224486,7 @@ const orchestrationEvents = {
|
|
|
224486
224486
|
sendRequestAddTokensEvent,
|
|
224487
224487
|
};
|
|
224488
224488
|
|
|
224489
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
224489
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-CEQJezLx.js').then(function (n) { return n.a; }));
|
|
224490
224490
|
class OnRamp extends Base {
|
|
224491
224491
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
224492
224492
|
getValidatedProperties({ config }) {
|
|
@@ -224624,7 +224624,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
224624
224624
|
eventTarget.dispatchEvent(event);
|
|
224625
224625
|
};
|
|
224626
224626
|
|
|
224627
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
224627
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-DvoH4z6w.js'));
|
|
224628
224628
|
class Sale extends Base {
|
|
224629
224629
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
224630
224630
|
// TODO: add specific validation logic for the sale items
|
|
@@ -224861,7 +224861,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
224861
224861
|
: serviceUnavailableView) }));
|
|
224862
224862
|
}
|
|
224863
224863
|
|
|
224864
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
224864
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-C_9cjLEV.js'));
|
|
224865
224865
|
class Swap extends Base {
|
|
224866
224866
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
224867
224867
|
getValidatedProperties({ config }) {
|
|
@@ -224986,7 +224986,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
224986
224986
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
224987
224987
|
}
|
|
224988
224988
|
|
|
224989
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
224989
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-CZ_lw4_E.js'));
|
|
224990
224990
|
class Wallet extends Base {
|
|
224991
224991
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
224992
224992
|
getValidatedProperties({ config }) {
|
|
@@ -225123,4 +225123,4 @@ class WidgetsFactory {
|
|
|
225123
225123
|
};
|
|
225124
225124
|
}
|
|
225125
225125
|
|
|
225126
|
-
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,
|
|
225126
|
+
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, isAddressSanctioned 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, WalletProviderRdns as aD, getProviderSlugFromRdns as aE, Web3Provider as aF, connectEIP6963Provider as aG, identifyUser as aH, ConnectEIP6963ProviderError as aI, ProvidersContextActions as aJ, commonjsRequire$1 as aK, getRemoteImage as aL, ViewContext as aM, useHandover as aN, HandoverTarget as aO, EventTargetContext as aP, getRemoteRive as aQ, Trans as aR, Link as aS, keyframes$1 as aT, getDefaultTokenImage as aU, TokenFilterTypes as aV, isNativeToken as aW, getTokenImageByAddress as aX, TextInput as aY, VerticalMenu as aZ, fetchRiskAssessment 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, listVariants as aq, motion$1 as ar, listItemVariants as as, Fragment$1 as at, Divider as au, useProvidersContext as av, Drawer as aw, useAnalytics as ax, UserJourney as ay, isPassportProvider as az, ConnectEventType as b, ConnectLoaderActions as b$, useInjectedProviders as b0, SimpleLayout as b1, orchestrationEvents as b2, requireSecp256k1 as b3, requireLib_commonjs as b4, require$$0$3 as b5, bech32 as b6, bnExports$1 as b7, require$$0$2 as b8, getAugmentedNamespace$1 as b9, calculateCryptoToFiat as bA, sendSaleWidgetCloseEvent as bB, sendSaleSuccessEvent as bC, sendSaleFailedEvent as bD, sendSaleTransactionSuccessEvent as bE, sendSalePaymentMethodEvent as bF, sendSalePaymentTokenEvent as bG, HeaderNavigation as bH, LoadingOverlay as bI, HandoverDuration as bJ, FooterLogo as bK, StatusType as bL, prettyFormatNumber as bM, ShimmerCircle as bN, FundingStepType as bO, abbreviateWalletAddress as bP, tokenSymbolNameOverrides as bQ, ItemType as bR, TransactionOrGasType as bS, GasTokenType as bT, RoutingOutcomeType as bU, isGasFree as bV, ConnectLoaderContext as bW, eventTargetReducer as bX, initialEventTargetState as bY, EventTargetActions as bZ, ConnectWidgetViews as b_, require$$0$5 as ba, minimalisticAssert$1 as bb, require$$2 as bc, hash$5 as bd, MaxUint256$5 as be, merge as bf, SvgIcon as bg, WalletWarningHero as bh, Environment$1 as bi, t$7 as bj, PriceDisplay as bk, viewReducer as bl, initialViewState as bm, isValidAddress as bn, amountInputValidation as bo, CloudImage as bp, ServiceUnavailableErrorView 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, SalePaymentTypes as bz, CommerceFailureEventType as c, accessListify$1 as c$, widgetTheme as c0, BlockExplorerService as c1, axios$1 as c2, CheckoutErrorType as c3, IMMUTABLE_API_BASE_URL as c4, ShimmerBox as c5, PASSPORT_URL as c6, getChainIdBySlug as c7, getChainImage as c8, networkName as c9, heroImageStyles as cA, SimpleTextBody as cB, FooterButton as cC, getEthTokenImage as cD, WITHDRAWAL_CLAIM_GAS_LIMIT as cE, BridgeConfiguration as cF, ImmutableConfiguration as cG, TokenBridge as cH, StatusView as cI, ETH_SEPOLIA_TO_ZKEVM_TESTNET as cJ, ETH_SEPOLIA_TO_ZKEVM_DEVNET as cK, ETH_MAINNET_TO_ZKEVM_MAINNET as cL, defineReadOnly$1 as cM, getStatic$1 as cN, Signer$1 as cO, Provider$1 as cP, getAddress$1 as cQ, Logger$2 as cR, getContractAddress$1 as cS, Interface$1 as cT, shallowCopy$1 as cU, VoidSigner$1 as cV, Indexed$1 as cW, deepCopy$1 as cX, isHexString$1 as cY, checkResultErrors$1 as cZ, resolveProperties$1 as c_, useWalletConnect as ca, isWalletConnectProvider as cb, Logo as cc, RawImage as cd, AXELAR_SCAN_URL as ce, getNativeSymbolByChainSlug as cf, getChainSlugById as cg, JsonRpcProvider$1 as ch, DEFAULT_TRANSACTIONS_RETRY_POLICY as ci, getChainNameById as cj, getWalletProviderNameByProvider as ck, isMetaMaskProvider as cl, WalletProviderName as cm, ButtonNavigationStyles as cn, formatZeroAmount as co, NATIVE as cp, ETH_TOKEN_SYMBOL as cq, GasEstimateType as cr, DEFAULT_TOKEN_DECIMALS as cs, DEFAULT_QUOTE_REFRESH_INTERVAL as ct, addChainChangedListener as cu, removeChainChangedListener as cv, IMX_TOKEN_SYMBOL as cw, dist as cx, CHECKOUT_CDN_BASE_URL as cy, heroBackGroundStyles as cz, CommerceSuccessEventType as d, dist$1 as d$, arrayify$1 as d0, global$2 as d1, ExchangeType as d2, sendOnRampWidgetCloseEvent as d3, sendOnRampSuccessEvent as d4, sendOnRampFailedEvent as d5, WidgetTheme as d6, quickswapFooterStyles as d7, quickswapFooterLogoStyles as d8, quickswapFooterDisclaimerTextStyles as d9, sendNetworkSwitchEvent as dA, NetworkFilterTypes as dB, sortNetworksCompareFn as dC, sortTokensByAmount as dD, sendWalletWidgetCloseEvent as dE, sendDisconnectWalletEvent as dF, FAQS_LINK as dG, useBrowserLayoutEffect as dH, ne$2 as dI, se$2 as dJ, T$2 as dK, oe$4 as dL, R$5 as dM, a$4 as dN, te$4 as dO, p$9 as dP, y$6 as dQ, __awaiter as dR, __generator as dS, loadScript as dT, getNextIntegrationsURL as dU, unloadScript as dV, __spreadArray$1 as dW, isOffline as dX, __assign as dY, ContextCancelation as dZ, applyDestinationMiddleware as d_, getImxTokenImage as da, Tooltip as db, ESTIMATE_DEBOUNCE as dc, DEFAULT_TOKEN_VALIDATION_DECIMALS as dd, sendSwapWidgetCloseEvent as de, DEFAULT_BALANCE_RETRY_POLICY as df, SwapDirection as dg, sendSwapSuccessEvent as dh, sendSwapFailedEvent as di, sendSwapRejectedEvent as dj, AnimatePresence as dk, getTertiaryButtonStyles as dl, FormControlWrapper as dm, Select as dn, DuoCon as dp, heroImageBottomAlign as dq, version$r as dr, hexZeroPad$1 as ds, isBigNumberish as dt, isBytes$1 as du, DEFAULT_BUTTON_SIZE as dv, getResponsiveSx as dw, BUTTON_SIZES as dx, setDefaultSxBackgroundColor as dy, ZERO_BALANCE_STRING as dz, CommerceUserActionEventType as e, isServer as e0, mergedOptions as e1, isPlainObject as e2, pWhile as e3, PriorityQueue as e4, PersistedPriorityQueue as e5, attempt as e6, isOnline as e7, Context as e8, pTimeout as e9, gracefulDecodeURIComponent as ea, WidgetsFactory as eb, 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 };
|