@wormhole-foundation/wormhole-connect 0.3.19-beta.3-development → 0.3.19-beta.5-development
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/assets/{ccip-B8sh0red.js → ccip-De5bB7ry.js} +1 -1
- package/dist/assets/{evm-B3YdeaCI.js → evm-DJTN7n-6.js} +4 -4
- package/dist/assets/{index-moDeJTxm.js → index-CdA027fm.js} +1 -1
- package/dist/assets/{index-1ZJmfQkw.js → index-D8xdfMo8.js} +2 -2
- package/dist/assets/{index.es-CXmj0UJy.js → index.es-DsPAzXeV.js} +2 -2
- package/dist/main.js +7 -7
- package/dist/src/components/ManualAddressInput.d.ts.map +1 -1
- package/dist/src/routes/cosmosGateway/cosmosGateway.d.ts +2 -0
- package/dist/src/routes/cosmosGateway/cosmosGateway.d.ts.map +1 -1
- package/dist/src/routes/porticoBridge/porticoBridge.d.ts +2 -0
- package/dist/src/routes/porticoBridge/porticoBridge.d.ts.map +1 -1
- package/dist/src/routes/sdkv2/route.d.ts +1 -1
- package/dist/src/routes/sdkv2/route.d.ts.map +1 -1
- package/dist/src/routes/tbtc/tbtc.d.ts +2 -0
- package/dist/src/routes/tbtc/tbtc.d.ts.map +1 -1
- package/lib/{algorand-BDR3KPTJ.js → algorand-BizCMnCe.js} +1 -1
- package/lib/{algorand-CNPRWbNB.mjs → algorand-CZC9cPKi.mjs} +4 -4
- package/lib/{aptos-BPs26BCC.mjs → aptos-B4ng1XsR.mjs} +1 -1
- package/lib/{aptos-t3uXFwih.mjs → aptos-CRkEBLid.mjs} +4 -4
- package/lib/{aptos-tCZHrDAP.js → aptos-CXyHqFt8.js} +2 -2
- package/lib/{aptos-Br9Q1n2N.js → aptos-i8WEm-Fe.js} +1 -1
- package/lib/{browser-33Nc32cs.mjs → browser-CIwNo6kY.mjs} +2 -2
- package/lib/{browser-Cz60hQ-L.js → browser-DEzmpMBm.js} +1 -1
- package/lib/{ccip-CtmuOQGX.js → ccip-6omn1tDF.js} +1 -1
- package/lib/{ccip-CE49B2YD.mjs → ccip-LzzuUWf7.mjs} +1 -1
- package/lib/{chain-BT07YJHt.js → chain-BteoJHpg.js} +1 -1
- package/lib/{chain-CbwtJlkc.mjs → chain-Cc-vL0Ji.mjs} +1 -1
- package/lib/{cosmos-LlwNYP69.mjs → cosmos-5NiZ8EbB.mjs} +3 -3
- package/lib/{cosmos-t65H2NQC.js → cosmos-DM4Lrmu1.js} +1 -1
- package/lib/{cosmwasm-CiJ3I3AY.js → cosmwasm-8FJsT7LT.js} +2 -2
- package/lib/{cosmwasm-CbTKetWD.mjs → cosmwasm-BHEBPmf7.mjs} +6 -6
- package/lib/{create-Chqnlpoq.js → create-48Wkagqs.js} +1 -1
- package/lib/{create-HNw0Emrd.mjs → create-BIAJIVSg.mjs} +1 -1
- package/lib/{ens-validation.es6-BaZUabxu.js → ens-validation.es6-Bw--s4Qc.js} +1 -1
- package/lib/{ens-validation.es6-CyEOHc9J.mjs → ens-validation.es6-DQFhqeC0.mjs} +2 -2
- package/lib/{evm-lHNM4jqm.mjs → evm-B5hnoH2O.mjs} +6 -6
- package/lib/{evm-CjvzIUCn.mjs → evm-Dd33ef5o.mjs} +6 -6
- package/lib/{evm-CNC7JHe1.js → evm-JNEgzI8_.js} +4 -4
- package/lib/{evm-3AGyBI-h.js → evm-OwiMOsDg.js} +2 -2
- package/lib/{index-BWsL77BI.mjs → index-10BWvX1N.mjs} +3 -3
- package/lib/{index-DPNt5r2L.js → index-670AMJe5.js} +1 -1
- package/lib/{index-C4kvGnSA.mjs → index-B03MiI2p.mjs} +2 -2
- package/lib/{index-BpuXk_6h.js → index-B9pFbfyU.js} +1 -1
- package/lib/{index-35qsyZLz.js → index-BDi5PNJc.js} +1 -1
- package/lib/{index-BCSt_UXY.js → index-BFIX3imu.js} +1 -1
- package/lib/{index-CACyup9A.js → index-BHUxBugG.js} +1 -1
- package/lib/{index-DVVJw5ml.js → index-BHWhOqWI.js} +1 -1
- package/lib/{index-ztQgUCWf.js → index-BJPmRnHn.js} +1 -1
- package/lib/{index-BCnyHegg.mjs → index-Bg59b-Bk.mjs} +4 -4
- package/lib/{index-CbCfazgA.mjs → index-By8Yxkcx.mjs} +5 -5
- package/lib/{index-Tl7zYqHL.js → index-C1oy9Lkm.js} +6 -6
- package/lib/{index-DJzhcNDU.mjs → index-CHqEmT8z.mjs} +6 -6
- package/lib/{index-Bk7wdRtH.mjs → index-CMKVJZ8E.mjs} +3 -3
- package/lib/{index-DRTx-Ru8.mjs → index-CNbmckF9.mjs} +4 -4
- package/lib/{index-D1dHZqit.mjs → index-CU3qSQjR.mjs} +4 -4
- package/lib/{index-CjyrCdi_.mjs → index-CVjCpWVm.mjs} +1 -1
- package/lib/{index-BBtf8VGl.js → index-CYRY8C8f.js} +1 -1
- package/lib/{index-DfJLd65b.mjs → index-Cx7DnGQ7.mjs} +4 -4
- package/lib/{index-CdSy2Lfd.mjs → index-D4oa5qLu.mjs} +85 -62
- package/lib/{index-zKUpU-3R.mjs → index-D7DR5q91.mjs} +4 -4
- package/lib/{index-BH5gBrJu.mjs → index-D83yFXT3.mjs} +3 -3
- package/lib/{index-B6m0ovID.mjs → index-D8SeaoGs.mjs} +2 -2
- package/lib/{index-DGRaAUXo.mjs → index-D8l7OdtE.mjs} +2 -2
- package/lib/{index-Dbwiqljw.js → index-DETB2K9l.js} +1 -1
- package/lib/{index-abvwfKBf.js → index-DGfMxIjQ.js} +1 -1
- package/lib/{index-l_e-RUun.js → index-DLpTO2U3.js} +1 -1
- package/lib/{index-CokIAiMa.mjs → index-DX18kVfL.mjs} +4 -4
- package/lib/{index-dJMYtBle.mjs → index-DX6w1JtB.mjs} +4 -4
- package/lib/{index-B9L2kltl.mjs → index-DbMbSuyg.mjs} +4 -4
- package/lib/{index-DCPwTd_i.js → index-DfYaeaDv.js} +1 -1
- package/lib/{index-0t31FGKV.js → index-DjmghqSr.js} +1 -1
- package/lib/{index-UOSBfEgg.js → index-DlRC-hs-.js} +1 -1
- package/lib/{index-Cp5np38p.mjs → index-G7Dlm7ed.mjs} +1 -1
- package/lib/{index-Bp0NhDcb.js → index-Hyeca4Ym.js} +1 -1
- package/lib/{index-DVH-ZIP6.mjs → index-ROBBwabT.mjs} +4 -4
- package/lib/{index-CO9tmWap.js → index-WhcobQtR.js} +1 -1
- package/lib/{index-DrncQYMG.js → index-X-BikqCf.js} +1 -1
- package/lib/{index-BqGvvv6N.js → index-ZCZHbA1F.js} +1 -1
- package/lib/{index-Cofatf_w.js → index-isN8Fo1n.js} +1 -1
- package/lib/{index-B9gw1I6s.js → index-j8isX5f9.js} +1 -1
- package/lib/{index-CGLAoOXl.mjs → index-jlt17KkN.mjs} +4 -4
- package/lib/{index-BS1tjK_Z.mjs → index-mtuCwj6Z.mjs} +5 -5
- package/lib/{index-Bfw-brA6.js → index-oVIYJXdI.js} +1 -1
- package/lib/{index-CYap2RXm.js → index-tvG-rfJZ.js} +1 -1
- package/lib/{index-DvUq-nIQ.mjs → index-ybRLAtD8.mjs} +5 -5
- package/lib/{index.es-494n2GDU.js → index.es-B33YjOZu.js} +2 -2
- package/lib/{index.es-DnXnnX-i.mjs → index.es-BON8c55F.mjs} +4 -4
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/lib/{libsodium-wrappers-9p7NdjLu.mjs → libsodium-wrappers-DTuXKVrZ.mjs} +1 -1
- package/lib/{libsodium-wrappers-Dechaffz.js → libsodium-wrappers-VihnPAqR.js} +1 -1
- package/lib/{sei-SWKTnPTF.mjs → sei-C6N03jzv.mjs} +2 -2
- package/lib/{sei-DORxBQd-.js → sei-DTeCXpXl.js} +1 -1
- package/lib/{solana-Bd9eRY8E.js → solana--YauUjmQ.js} +2 -2
- package/lib/{solana-T2pgCVfU.mjs → solana-BMm013WW.mjs} +6 -6
- package/lib/{solana-DvbMa7B_.mjs → solana-DdaraOHp.mjs} +3 -3
- package/lib/{solana-KhBV5LOd.js → solana-T3yS-Q_9.js} +1 -1
- package/lib/{solanaEmbed.esm-CnKFJhsj.js → solanaEmbed.esm-DMwXbxXO.js} +1 -1
- package/lib/{solanaEmbed.esm-8eZSo5K2.mjs → solanaEmbed.esm-D_lKLzGu.mjs} +2 -2
- package/lib/src/components/ManualAddressInput.d.ts.map +1 -1
- package/lib/src/routes/cosmosGateway/cosmosGateway.d.ts +2 -0
- package/lib/src/routes/cosmosGateway/cosmosGateway.d.ts.map +1 -1
- package/lib/src/routes/porticoBridge/porticoBridge.d.ts +2 -0
- package/lib/src/routes/porticoBridge/porticoBridge.d.ts.map +1 -1
- package/lib/src/routes/sdkv2/route.d.ts +1 -1
- package/lib/src/routes/sdkv2/route.d.ts.map +1 -1
- package/lib/src/routes/tbtc/tbtc.d.ts +2 -0
- package/lib/src/routes/tbtc/tbtc.d.ts.map +1 -1
- package/lib/{sui-DDu4a1uc.mjs → sui-Btvc4SGv.mjs} +4 -4
- package/lib/{sui-CjRGl9Gg.mjs → sui-CXyWZ2Gp.mjs} +1 -1
- package/lib/{sui-B382sZz0.js → sui-DWLiZoeB.js} +1 -1
- package/lib/{sui-DwH1wYGH.js → sui-DbQOBpeH.js} +2 -2
- package/lib/{unsignedTransaction-BbAfXtog.mjs → unsignedTransaction-CtPR6znR.mjs} +2 -2
- package/lib/{unsignedTransaction-mu6HJcHt.js → unsignedTransaction-DZq5iThY.js} +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var yh = Object.defineProperty;
|
|
2
2
|
var hh = (e, n, t) => n in e ? yh(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var me = (e, n, t) => (hh(e, typeof n != "symbol" ? n + "" : n, t), t);
|
|
4
|
-
import { bb as mp, bc as Fi, au as Ao, at as cc, av as gh, b4 as lc, bd as or, o as x, $ as Ia, T as Sh, d as ue, w as yp, U as kh, V as hp, X as Ph, Y as Rh, be as vh, Z as Bh, r as gp, bf as ee, bg as ne, bh as Re, bi as Me, aj as ar, ak as bh, bj as Mn, bk as fc, bl as sr, ab as Oh, al as Ah, bm as pc, bn as Sp, an as Ih, bo as Sd, a_ as kd, b5 as Th, aG as Ch, bp as Nh, aw as wh, ax as Eh, ay as _h, az as Pd, aA as Uh, aB as Jh, _ as j, L as _e, G as Fn, g as Dh, b8 as Rn, x as Xo, S as Mh, H as qh, bq as Hh, br as xo, ad as Vh, bs as Qh, bt as Rd, bu as ll, bv as fl, bw as pl, bx as Wh, by as Fh, aE as Gh } from "./index-
|
|
5
|
-
import { b as Lh, H as ct, E as kp, t as at, c as uo, m as $h, U as sa, s as Eu, G as Gi, C as Kh, I as zh, a as Pp, k as _u, d as ml } from "./ens-validation.es6-
|
|
6
|
-
import { C as Yh, P as Zh } from "./chain-
|
|
4
|
+
import { bb as mp, bc as Fi, au as Ao, at as cc, av as gh, b4 as lc, bd as or, o as x, $ as Ia, T as Sh, d as ue, w as yp, U as kh, V as hp, X as Ph, Y as Rh, be as vh, Z as Bh, r as gp, bf as ee, bg as ne, bh as Re, bi as Me, aj as ar, ak as bh, bj as Mn, bk as fc, bl as sr, ab as Oh, al as Ah, bm as pc, bn as Sp, an as Ih, bo as Sd, a_ as kd, b5 as Th, aG as Ch, bp as Nh, aw as wh, ax as Eh, ay as _h, az as Pd, aA as Uh, aB as Jh, _ as j, L as _e, G as Fn, g as Dh, b8 as Rn, x as Xo, S as Mh, H as qh, bq as Hh, br as xo, ad as Vh, bs as Qh, bt as Rd, bu as ll, bv as fl, bw as pl, bx as Wh, by as Fh, aE as Gh } from "./index-D4oa5qLu.mjs";
|
|
5
|
+
import { b as Lh, H as ct, E as kp, t as at, c as uo, m as $h, U as sa, s as Eu, G as Gi, C as Kh, I as zh, a as Pp, k as _u, d as ml } from "./ens-validation.es6-DQFhqeC0.mjs";
|
|
6
|
+
import { C as Yh, P as Zh } from "./chain-Cc-vL0Ji.mjs";
|
|
7
7
|
class Qn extends Lh {
|
|
8
8
|
constructor(t, r) {
|
|
9
9
|
super(t, r);
|
|
@@ -46681,9 +46681,9 @@ const ST = {
|
|
|
46681
46681
|
Platform: bi,
|
|
46682
46682
|
getSigner: yT,
|
|
46683
46683
|
protocols: {
|
|
46684
|
-
WormholeCore: () => import("./index-
|
|
46685
|
-
TokenBridge: () => import("./index-
|
|
46686
|
-
IbcBridge: () => import("./index-
|
|
46684
|
+
WormholeCore: () => import("./index-DX18kVfL.mjs"),
|
|
46685
|
+
TokenBridge: () => import("./index-ybRLAtD8.mjs"),
|
|
46686
|
+
IbcBridge: () => import("./index-CHqEmT8z.mjs")
|
|
46687
46687
|
},
|
|
46688
46688
|
getChain: (e, n, t) => new el(n, new bi(e, Gh(e, no, {
|
|
46689
46689
|
[n]: t
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./index-
|
|
1
|
+
"use strict";const n=require("./index-C1oy9Lkm.js");function c(t,e){switch(t.binary){case"bytes":if("layout"in t){const{custom:r}=t;return r===void 0||typeof r.from!="function"?i(t.layout,r?r.from:e):e}case"int":case"uint":{const{custom:r}=t;return t!=null&&t.omit?void 0:n.isPrimitiveType(r)?r:n.isFixedPrimitiveConversion(r)?r.to:e}case"array":return Array.isArray(e)?e.map(r=>i(t.layout,r)):void 0;case"switch":{const r=e[t.idTag??"id"],[s,o]=t.layouts.find(([u])=>(Array.isArray(u)?u[1]:u)==r);return{[t.idTag??"id"]:r,...i(o,e)}}}}function i(t,e){if(e=e??{},n.isLayoutItem(t))return c(t,e);const r={};for(const s of t){const o=c(s,e[s.name]??{});o!==void 0&&(r[s.name]=o)}return r}function f(t,e){return i(t,e)}function d(t){return[...n.envelopeLayout,n.payloadLiteralToPayloadItemLayout(t)]}function a(t,e){const[r,s]=n.decomposeLiteral(t),o=f(d(t),e);return{protocolName:r,payloadName:s,payloadLiteral:t,...f(n.headerLayout,e),...o,hash:n.keccak_256(n.serializeLayout(d(t),o))}}exports.createVAA=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { co as f, cp as d, cq as y, cr as p, c7 as A, cl as x, cs as h, ct as L, cu as F } from "./index-
|
|
1
|
+
import { co as f, cp as d, cq as y, cr as p, c7 as A, cl as x, cs as h, ct as L, cu as F } from "./index-D4oa5qLu.mjs";
|
|
2
2
|
function a(o, r) {
|
|
3
3
|
switch (o.binary) {
|
|
4
4
|
case "bytes":
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var x6=Object.defineProperty;var _6=(u,e,r)=>e in u?x6(u,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[e]=r;var a0=(u,e,r)=>(_6(u,typeof e!="symbol"?e+"":e,r),r);const U=require("./index-
|
|
1
|
+
"use strict";var x6=Object.defineProperty;var _6=(u,e,r)=>e in u?x6(u,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[e]=r;var a0=(u,e,r)=>(_6(u,typeof e!="symbol"?e+"":e,r),r);const U=require("./index-C1oy9Lkm.js"),z1=require("./index-Hyeca4Ym.js");var V2=function(){return V2=Object.assign||function(e){for(var r,D=1,s=arguments.length;D<s;D++){r=arguments[D];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},V2.apply(this,arguments)};var mt={exports:{}};const M9=u=>typeof u=="object"&&u!==null,U9=Symbol("skip"),rr=u=>M9(u)&&!(u instanceof RegExp)&&!(u instanceof Error)&&!(u instanceof Date),ze=(u,e,r,D=new WeakMap)=>{if(r={deep:!1,target:{},...r},D.has(u))return D.get(u);D.set(u,r.target);const{target:s}=r;delete r.target;const n=l=>l.map(h=>rr(h)?ze(h,e,r,D):h);if(Array.isArray(u))return n(u);for(const[l,h]of Object.entries(u)){const B=e(l,h,u);if(B===U9)continue;let[w,_,{shouldRecurse:O=!0}={}]=B;w!=="__proto__"&&(r.deep&&O&&rr(_)&&(_=Array.isArray(_)?n(_):ze(_,e,r,D)),s[w]=_)}return s};mt.exports=(u,e,r)=>{if(!M9(u))throw new TypeError(`Expected an object, got \`${u}\` (${typeof u})`);return ze(u,e,r)};mt.exports.mapObjectSkip=U9;var I6=mt.exports;function S6(u){return u.toLowerCase()}var M6=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],U6=/[^A-Z0-9]+/gi;function T6(u,e){e===void 0&&(e={});for(var r=e.splitRegexp,D=r===void 0?M6:r,s=e.stripRegexp,n=s===void 0?U6:s,l=e.transform,h=l===void 0?S6:l,B=e.delimiter,w=B===void 0?" ":B,_=nr(nr(u,D,"$1\0$2"),n,"\0"),O=0,N=_.length;_.charAt(O)==="\0";)O++;for(;_.charAt(N-1)==="\0";)N--;return _.slice(O,N).split("\0").map(h).join(w)}function nr(u,e,r){return e instanceof RegExp?u.replace(e,r):e.reduce(function(D,s){return D.replace(s,r)},u)}function N6(u,e){return e===void 0&&(e={}),T6(u,V2({delimiter:"."},e))}function O6(u,e){return e===void 0&&(e={}),N6(u,V2({delimiter:"_"},e))}const k6=Object.freeze(Object.defineProperty({__proto__:null,snakeCase:O6},Symbol.toStringTag,{value:"Module"})),P6=U.getAugmentedNamespace(k6),R6=I6,{snakeCase:L6}=P6;var $6=function(u,e){return e=Object.assign({deep:!0,exclude:[],parsingOptions:{}},e),R6(u,function(r,D){return[H6(e.exclude,r)?r:L6(r,e.parsingOptions),D]},e)};function H6(u,e){return u.some(function(r){return typeof r=="string"?r===e:r.test(e)})}const K6=U.getDefaultExportFromCjs($6);var ir;(function(u){u.Erc20Contract="erc20-contract",u.Peggy="peggy-contract",u.PeggyOld="peggy-old-contract"})(ir||(ir={}));exports.ChainErrorModule=void 0;(function(u){u.Auction="chain-auction",u.Auth="chain-auth",u.Authz="chain-authz",u.Bank="chain-bank",u.Distribution="chain-distribution",u.Exchange="chain-exchange",u.Gov="chain-gov",u.Ibc="chain-ibc",u.InsuranceFund="chain-insurance",u.Mint="chain-mint",u.Oracle="chain-oracle",u.Peggy="chain-peggy",u.Staking="chain-staking",u.Wasm="chain-wasm",u.WasmX="chain-wasmx",u.Tendermint="chain-tendermint"})(exports.ChainErrorModule||(exports.ChainErrorModule={}));exports.IndexerErrorModule=void 0;(function(u){u.Account="indexer-account",u.Auction="indexer-auction",u.Derivatives="indexer-derivatives",u.Explorer="indexer-explorer",u.InsuranceFund="indexer-insurance-fund",u.Meta="indexer-meta",u.Mito="indexer-mito",u.Dmm="dmm",u.Oracle="indexer-oracle",u.Portfolio="indexer-portfolio",u.Spot="indexer-spot",u.Transaction="indexer-transaction",u.Trading="indexer-trading",u.ChronosDerivative="indexer-chronos-derivative",u.ChronosSpot="indexer-chronos-spot",u.ChronosMarkets="indexer-chronos-markets",u.Campaign="indexer-campaign"})(exports.IndexerErrorModule||(exports.IndexerErrorModule={}));var Dr;(function(u){u.SignTransaction="sign-transaction",u.SignEthereumTransaction="sign-ethereum-transaction",u.SendTransaction="send-transaction",u.SendEthereumTransaction="send-ethereum-transaction",u.SignArbitrary="sign-arbitrary",u.GetAccounts="get-accounts",u.GetNetworkId="get-network-id",u.GetChainId="get-chain-id",u.GetEthereumTransactionReceipt="get-ethereum-transaction-receipt"})(Dr||(Dr={}));var T9={exports:{}};(function(u,e){(function(r,D){u.exports=D()})(U.commonjsGlobal,function(){return r={418:function(s,n){(function(l,h){for(var B in h)l[B]=h[B]})(n,function(l){var h={};function B(w){if(h[w])return h[w].exports;var _=h[w]={i:w,l:!1,exports:{}};return l[w].call(_.exports,_,_.exports,B),_.l=!0,_.exports}return B.m=l,B.c=h,B.i=function(w){return w},B.d=function(w,_,O){B.o(w,_)||Object.defineProperty(w,_,{configurable:!1,enumerable:!0,get:O})},B.n=function(w){var _=w&&w.__esModule?function(){return w.default}:function(){return w};return B.d(_,"a",_),_},B.o=function(w,_){return Object.prototype.hasOwnProperty.call(w,_)},B.p="",B(B.s=1)}([function(l,h,B){Object.defineProperty(h,"__esModule",{value:!0});var w=B(3),_=function(){function O(N,y){N===void 0&&(N={}),y===void 0&&(y={splitValues:!1});var g,M=this;this.headersMap={},N&&(typeof Headers<"u"&&N instanceof Headers?w.getHeaderKeys(N).forEach(function(I){w.getHeaderValues(N,I).forEach(function(S){y.splitValues?M.append(I,w.splitHeaderValue(S)):M.append(I,S)})}):typeof(g=N)=="object"&&typeof g.headersMap=="object"&&typeof g.forEach=="function"?N.forEach(function(I,S){M.append(I,S)}):typeof Map<"u"&&N instanceof Map?N.forEach(function(I,S){M.append(S,I)}):typeof N=="string"?this.appendFromString(N):typeof N=="object"&&Object.getOwnPropertyNames(N).forEach(function(I){var S=N[I];Array.isArray(S)?S.forEach(function(x){M.append(I,x)}):M.append(I,S)}))}return O.prototype.appendFromString=function(N){for(var y=N.split(`\r
|
|
2
2
|
`),g=0;g<y.length;g++){var M=y[g],I=M.indexOf(":");if(I>0){var S=M.substring(0,I).trim(),x=M.substring(I+1).trim();this.append(S,x)}}},O.prototype.delete=function(N,y){var g=w.normalizeName(N);if(y===void 0)delete this.headersMap[g];else{var M=this.headersMap[g];if(M){var I=M.indexOf(y);I>=0&&M.splice(I,1),M.length===0&&delete this.headersMap[g]}}},O.prototype.append=function(N,y){var g=this,M=w.normalizeName(N);Array.isArray(this.headersMap[M])||(this.headersMap[M]=[]),Array.isArray(y)?y.forEach(function(I){g.headersMap[M].push(w.normalizeValue(I))}):this.headersMap[M].push(w.normalizeValue(y))},O.prototype.set=function(N,y){var g=w.normalizeName(N);if(Array.isArray(y)){var M=[];y.forEach(function(I){M.push(w.normalizeValue(I))}),this.headersMap[g]=M}else this.headersMap[g]=[w.normalizeValue(y)]},O.prototype.has=function(N,y){var g=this.headersMap[w.normalizeName(N)];if(!Array.isArray(g))return!1;if(y!==void 0){var M=w.normalizeValue(y);return g.indexOf(M)>=0}return!0},O.prototype.get=function(N){var y=this.headersMap[w.normalizeName(N)];return y!==void 0?y.concat():[]},O.prototype.forEach=function(N){var y=this;Object.getOwnPropertyNames(this.headersMap).forEach(function(g){N(g,y.headersMap[g])},this)},O.prototype.toHeaders=function(){if(typeof Headers<"u"){var N=new Headers;return this.forEach(function(y,g){g.forEach(function(M){N.append(y,M)})}),N}throw new Error("Headers class is not defined")},O}();h.BrowserHeaders=_},function(l,h,B){Object.defineProperty(h,"__esModule",{value:!0});var w=B(0);h.BrowserHeaders=w.BrowserHeaders},function(l,h,B){Object.defineProperty(h,"__esModule",{value:!0}),h.iterateHeaders=function(w,_){for(var O=w[Symbol.iterator](),N=O.next();!N.done;)_(N.value[0]),N=O.next()},h.iterateHeadersKeys=function(w,_){for(var O=w.keys(),N=O.next();!N.done;)_(N.value),N=O.next()}},function(l,h,B){Object.defineProperty(h,"__esModule",{value:!0});var w=B(2);h.normalizeName=function(_){if(typeof _!="string"&&(_=String(_)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(_))throw new TypeError("Invalid character in header field name");return _.toLowerCase()},h.normalizeValue=function(_){return typeof _!="string"&&(_=String(_)),_},h.getHeaderValues=function(_,O){var N=_;if(N instanceof Headers&&N.getAll)return N.getAll(O);var y=N.get(O);return y&&typeof y=="string"?[y]:y},h.getHeaderKeys=function(_){var O=_,N={},y=[];return O.keys?w.iterateHeadersKeys(O,function(g){N[g]||(N[g]=!0,y.push(g))}):O.forEach?O.forEach(function(g,M){N[M]||(N[M]=!0,y.push(M))}):w.iterateHeaders(O,function(g){var M=g[0];N[M]||(N[M]=!0,y.push(M))}),y},h.splitHeaderValue=function(_){var O=[];return _.split(", ").forEach(function(N){N.split(",").forEach(function(y){O.push(y)})}),O}}]))},617:function(s,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.ChunkParser=n.ChunkType=n.encodeASCII=n.decodeASCII=void 0;var h,B=l(65);function w(I){return(S=I)===9||S===10||S===13||I>=32&&I<=126;var S}function _(I){for(var S=0;S!==I.length;++S)if(!w(I[S]))throw new Error("Metadata is not valid (printable) ASCII");return String.fromCharCode.apply(String,Array.prototype.slice.call(I))}function O(I){return(128&I.getUint8(0))==128}function N(I){return I.getUint32(1,!1)}function y(I,S,x){return I.byteLength-S>=x}function g(I,S,x){if(I.slice)return I.slice(S,x);var k=I.length;x!==void 0&&(k=x);for(var f=new Uint8Array(k-S),p=0,b=S;b<k;b++)f[p++]=I[b];return f}n.decodeASCII=_,n.encodeASCII=function(I){for(var S=new Uint8Array(I.length),x=0;x!==I.length;++x){var k=I.charCodeAt(x);if(!w(k))throw new Error("Metadata contains invalid ASCII");S[x]=k}return S},function(I){I[I.MESSAGE=1]="MESSAGE",I[I.TRAILERS=2]="TRAILERS"}(h=n.ChunkType||(n.ChunkType={}));var M=function(){function I(){this.buffer=null,this.position=0}return I.prototype.parse=function(S,x){if(S.length===0&&x)return[];var k,f=[];if(this.buffer==null)this.buffer=S,this.position=0;else if(this.position===this.buffer.byteLength)this.buffer=S,this.position=0;else{var p=this.buffer.byteLength-this.position,b=new Uint8Array(p+S.byteLength),j=g(this.buffer,this.position);b.set(j,0);var H=new Uint8Array(S);b.set(H,p),this.buffer=b,this.position=0}for(;;){if(!y(this.buffer,this.position,5))return f;var $=g(this.buffer,this.position,this.position+5),au=new DataView($.buffer,$.byteOffset,$.byteLength),d=N(au);if(!y(this.buffer,this.position,5+d))return f;var t=g(this.buffer,this.position+5,this.position+5+d);if(this.position+=5+d,O(au))return f.push({chunkType:h.TRAILERS,trailers:(k=t,new B.Metadata(_(k)))}),f;f.push({chunkType:h.MESSAGE,data:t})}},I}();n.ChunkParser=M},8:function(s,n){var l;Object.defineProperty(n,"__esModule",{value:!0}),n.httpStatusToCode=n.Code=void 0,function(h){h[h.OK=0]="OK",h[h.Canceled=1]="Canceled",h[h.Unknown=2]="Unknown",h[h.InvalidArgument=3]="InvalidArgument",h[h.DeadlineExceeded=4]="DeadlineExceeded",h[h.NotFound=5]="NotFound",h[h.AlreadyExists=6]="AlreadyExists",h[h.PermissionDenied=7]="PermissionDenied",h[h.ResourceExhausted=8]="ResourceExhausted",h[h.FailedPrecondition=9]="FailedPrecondition",h[h.Aborted=10]="Aborted",h[h.OutOfRange=11]="OutOfRange",h[h.Unimplemented=12]="Unimplemented",h[h.Internal=13]="Internal",h[h.Unavailable=14]="Unavailable",h[h.DataLoss=15]="DataLoss",h[h.Unauthenticated=16]="Unauthenticated"}(l=n.Code||(n.Code={})),n.httpStatusToCode=function(h){switch(h){case 0:return l.Internal;case 200:return l.OK;case 400:return l.InvalidArgument;case 401:return l.Unauthenticated;case 403:return l.PermissionDenied;case 404:return l.NotFound;case 409:return l.Aborted;case 412:return l.FailedPrecondition;case 429:return l.ResourceExhausted;case 499:return l.Canceled;case 500:return l.Unknown;case 501:return l.Unimplemented;case 503:return l.Unavailable;case 504:return l.DeadlineExceeded;default:return l.Unknown}}},934:function(s,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.client=void 0;var h=l(65),B=l(617),w=l(8),_=l(346),O=l(57),N=l(882);n.client=function(M,I){return new y(M,I)};var y=function(){function M(I,S){this.started=!1,this.sentFirstMessage=!1,this.completed=!1,this.closed=!1,this.finishedSending=!1,this.onHeadersCallbacks=[],this.onMessageCallbacks=[],this.onEndCallbacks=[],this.parser=new B.ChunkParser,this.methodDefinition=I,this.props=S,this.createTransport()}return M.prototype.createTransport=function(){var I=this.props.host+"/"+this.methodDefinition.service.serviceName+"/"+this.methodDefinition.methodName,S={methodDefinition:this.methodDefinition,debug:this.props.debug||!1,url:I,onHeaders:this.onTransportHeaders.bind(this),onChunk:this.onTransportChunk.bind(this),onEnd:this.onTransportEnd.bind(this)};this.props.transport?this.transport=this.props.transport(S):this.transport=O.makeDefaultTransport(S)},M.prototype.onTransportHeaders=function(I,S){if(this.props.debug&&_.debug("onHeaders",I,S),this.closed)this.props.debug&&_.debug("grpc.onHeaders received after request was closed - ignoring");else if(S!==0){this.responseHeaders=I,this.props.debug&&_.debug("onHeaders.responseHeaders",JSON.stringify(this.responseHeaders,null,2));var x=g(I);this.props.debug&&_.debug("onHeaders.gRPCStatus",x);var k=x&&x>=0?x:w.httpStatusToCode(S);this.props.debug&&_.debug("onHeaders.code",k);var f=I.get("grpc-message")||[];if(this.props.debug&&_.debug("onHeaders.gRPCMessage",f),this.rawOnHeaders(I),k!==w.Code.OK){var p=this.decodeGRPCStatus(f[0]);this.rawOnError(k,p,I)}}},M.prototype.onTransportChunk=function(I){var S=this;if(this.closed)this.props.debug&&_.debug("grpc.onChunk received after request was closed - ignoring");else{var x=[];try{x=this.parser.parse(I)}catch(k){return this.props.debug&&_.debug("onChunk.parsing error",k,k.message),void this.rawOnError(w.Code.Internal,"parsing error: "+k.message)}x.forEach(function(k){if(k.chunkType===B.ChunkType.MESSAGE){var f=S.methodDefinition.responseType.deserializeBinary(k.data);S.rawOnMessage(f)}else k.chunkType===B.ChunkType.TRAILERS&&(S.responseHeaders?(S.responseTrailers=new h.Metadata(k.trailers),S.props.debug&&_.debug("onChunk.trailers",S.responseTrailers)):(S.responseHeaders=new h.Metadata(k.trailers),S.rawOnHeaders(S.responseHeaders)))})}},M.prototype.onTransportEnd=function(){if(this.props.debug&&_.debug("grpc.onEnd"),this.closed)this.props.debug&&_.debug("grpc.onEnd received after request was closed - ignoring");else if(this.responseTrailers!==void 0){var I=g(this.responseTrailers);if(I!==null){var S=this.responseTrailers.get("grpc-message"),x=this.decodeGRPCStatus(S[0]);this.rawOnEnd(I,x,this.responseTrailers)}else this.rawOnError(w.Code.Internal,"Response closed without grpc-status (Trailers provided)")}else{if(this.responseHeaders===void 0)return void this.rawOnError(w.Code.Unknown,"Response closed without headers");var k=g(this.responseHeaders),f=this.responseHeaders.get("grpc-message");if(this.props.debug&&_.debug("grpc.headers only response ",k,f),k===null)return void this.rawOnEnd(w.Code.Unknown,"Response closed without grpc-status (Headers only)",this.responseHeaders);var p=this.decodeGRPCStatus(f[0]);this.rawOnEnd(k,p,this.responseHeaders)}},M.prototype.decodeGRPCStatus=function(I){if(!I)return"";try{return decodeURIComponent(I)}catch{return I}},M.prototype.rawOnEnd=function(I,S,x){var k=this;this.props.debug&&_.debug("rawOnEnd",I,S,x),this.completed||(this.completed=!0,this.onEndCallbacks.forEach(function(f){if(!k.closed)try{f(I,S,x)}catch(p){setTimeout(function(){throw p},0)}}))},M.prototype.rawOnHeaders=function(I){this.props.debug&&_.debug("rawOnHeaders",I),this.completed||this.onHeadersCallbacks.forEach(function(S){try{S(I)}catch(x){setTimeout(function(){throw x},0)}})},M.prototype.rawOnError=function(I,S,x){var k=this;x===void 0&&(x=new h.Metadata),this.props.debug&&_.debug("rawOnError",I,S),this.completed||(this.completed=!0,this.onEndCallbacks.forEach(function(f){if(!k.closed)try{f(I,S,x)}catch(p){setTimeout(function(){throw p},0)}}))},M.prototype.rawOnMessage=function(I){var S=this;this.props.debug&&_.debug("rawOnMessage",I.toObject()),this.completed||this.closed||this.onMessageCallbacks.forEach(function(x){if(!S.closed)try{x(I)}catch(k){setTimeout(function(){throw k},0)}})},M.prototype.onHeaders=function(I){this.onHeadersCallbacks.push(I)},M.prototype.onMessage=function(I){this.onMessageCallbacks.push(I)},M.prototype.onEnd=function(I){this.onEndCallbacks.push(I)},M.prototype.start=function(I){if(this.started)throw new Error("Client already started - cannot .start()");this.started=!0;var S=new h.Metadata(I||{});S.set("content-type","application/grpc-web+proto"),S.set("x-grpc-web","1"),this.transport.start(S)},M.prototype.send=function(I){if(!this.started)throw new Error("Client not started - .start() must be called before .send()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .send()");if(!this.methodDefinition.requestStream&&this.sentFirstMessage)throw new Error("Message already sent for non-client-streaming method - cannot .send()");this.sentFirstMessage=!0;var S=N.frameRequest(I);this.transport.sendMessage(S)},M.prototype.finishSend=function(){if(!this.started)throw new Error("Client not started - .finishSend() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .finishSend()");this.finishedSending=!0,this.transport.finishSend()},M.prototype.close=function(){if(!this.started)throw new Error("Client not started - .start() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .close()");this.closed=!0,this.props.debug&&_.debug("request.abort aborting request"),this.transport.cancel()},M}();function g(M){var I=M.get("grpc-status")||[];if(I.length>0)try{var S=I[0];return parseInt(S,10)}catch{return null}return null}},346:function(s,n){Object.defineProperty(n,"__esModule",{value:!0}),n.debug=void 0,n.debug=function(){for(var l=[],h=0;h<arguments.length;h++)l[h]=arguments[h];console.debug?console.debug.apply(null,l):console.log.apply(null,l)}},607:function(s,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.grpc=void 0;var h,B=l(418),w=l(57),_=l(229),O=l(540),N=l(210),y=l(859),g=l(8),M=l(938),I=l(35),S=l(934);(h=n.grpc||(n.grpc={})).setDefaultTransport=w.setDefaultTransportFactory,h.CrossBrowserHttpTransport=y.CrossBrowserHttpTransport,h.FetchReadableStreamTransport=_.FetchReadableStreamTransport,h.XhrTransport=N.XhrTransport,h.WebsocketTransport=O.WebsocketTransport,h.Code=g.Code,h.Metadata=B.BrowserHeaders,h.client=function(x,k){return S.client(x,k)},h.invoke=M.invoke,h.unary=I.unary},938:function(s,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.invoke=void 0;var h=l(934);n.invoke=function(B,w){if(B.requestStream)throw new Error(".invoke cannot be used with client-streaming methods. Use .client instead.");var _=h.client(B,{host:w.host,transport:w.transport,debug:w.debug});return w.onHeaders&&_.onHeaders(w.onHeaders),w.onMessage&&_.onMessage(w.onMessage),w.onEnd&&_.onEnd(w.onEnd),_.start(w.metadata),_.send(w.request),_.finishSend(),{close:function(){_.close()}}}},65:function(s,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.Metadata=void 0;var h=l(418);Object.defineProperty(n,"Metadata",{enumerable:!0,get:function(){return h.BrowserHeaders}})},57:function(s,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.makeDefaultTransport=n.setDefaultTransportFactory=void 0;var h=l(859),B=function(w){return h.CrossBrowserHttpTransport({withCredentials:!1})(w)};n.setDefaultTransportFactory=function(w){B=w},n.makeDefaultTransport=function(w){return B(w)}},229:function(s,n,l){var h=this&&this.__assign||function(){return(h=Object.assign||function(O){for(var N,y=1,g=arguments.length;y<g;y++)for(var M in N=arguments[y])Object.prototype.hasOwnProperty.call(N,M)&&(O[M]=N[M]);return O}).apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.detectFetchSupport=n.FetchReadableStreamTransport=void 0;var B=l(65),w=l(346);n.FetchReadableStreamTransport=function(O){return function(N){return function(y,g){return y.debug&&w.debug("fetchRequest",y),new _(y,g)}(N,O)}};var _=function(){function O(N,y){this.cancelled=!1,this.controller=self.AbortController&&new AbortController,this.options=N,this.init=y}return O.prototype.pump=function(N,y){var g=this;if(this.reader=N,this.cancelled)return this.options.debug&&w.debug("Fetch.pump.cancel at first pump"),void this.reader.cancel().catch(function(M){g.options.debug&&w.debug("Fetch.pump.reader.cancel exception",M)});this.reader.read().then(function(M){if(M.done)return g.options.onEnd(),y;g.options.onChunk(M.value),g.pump(g.reader,y)}).catch(function(M){g.cancelled?g.options.debug&&w.debug("Fetch.catch - request cancelled"):(g.cancelled=!0,g.options.debug&&w.debug("Fetch.catch",M.message),g.options.onEnd(M))})},O.prototype.send=function(N){var y=this;fetch(this.options.url,h(h({},this.init),{headers:this.metadata.toHeaders(),method:"POST",body:N,signal:this.controller&&this.controller.signal})).then(function(g){if(y.options.debug&&w.debug("Fetch.response",g),y.options.onHeaders(new B.Metadata(g.headers),g.status),!g.body)return g;y.pump(g.body.getReader(),g)}).catch(function(g){y.cancelled?y.options.debug&&w.debug("Fetch.catch - request cancelled"):(y.cancelled=!0,y.options.debug&&w.debug("Fetch.catch",g.message),y.options.onEnd(g))})},O.prototype.sendMessage=function(N){this.send(N)},O.prototype.finishSend=function(){},O.prototype.start=function(N){this.metadata=N},O.prototype.cancel=function(){var N=this;this.cancelled?this.options.debug&&w.debug("Fetch.cancel already cancelled"):(this.cancelled=!0,this.controller?(this.options.debug&&w.debug("Fetch.cancel.controller.abort"),this.controller.abort()):this.options.debug&&w.debug("Fetch.cancel.missing abort controller"),this.reader?(this.options.debug&&w.debug("Fetch.cancel.reader.cancel"),this.reader.cancel().catch(function(y){N.options.debug&&w.debug("Fetch.cancel.reader.cancel exception",y)})):this.options.debug&&w.debug("Fetch.cancel before reader"))},O}();n.detectFetchSupport=function(){return typeof Response<"u"&&Response.prototype.hasOwnProperty("body")&&typeof Headers=="function"}},859:function(s,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.CrossBrowserHttpTransport=void 0;var h=l(229),B=l(210);n.CrossBrowserHttpTransport=function(w){if(h.detectFetchSupport()){var _={credentials:w.withCredentials?"include":"same-origin"};return h.FetchReadableStreamTransport(_)}return B.XhrTransport({withCredentials:w.withCredentials})}},210:function(s,n,l){var h,B=this&&this.__extends||(h=function(I,S){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,k){x.__proto__=k}||function(x,k){for(var f in k)Object.prototype.hasOwnProperty.call(k,f)&&(x[f]=k[f])})(I,S)},function(I,S){function x(){this.constructor=I}h(I,S),I.prototype=S===null?Object.create(S):(x.prototype=S.prototype,new x)});Object.defineProperty(n,"__esModule",{value:!0}),n.stringToArrayBuffer=n.MozChunkedArrayBufferXHR=n.XHR=n.XhrTransport=void 0;var w=l(65),_=l(346),O=l(849);n.XhrTransport=function(I){return function(S){if(O.detectMozXHRSupport())return new y(S,I);if(O.detectXHROverrideMimeTypeSupport())return new N(S,I);throw new Error("This environment's XHR implementation cannot support binary transfer.")}};var N=function(){function I(S,x){this.options=S,this.init=x}return I.prototype.onProgressEvent=function(){this.options.debug&&_.debug("XHR.onProgressEvent.length: ",this.xhr.response.length);var S=this.xhr.response.substr(this.index);this.index=this.xhr.response.length;var x=M(S);this.options.onChunk(x)},I.prototype.onLoadEvent=function(){this.options.debug&&_.debug("XHR.onLoadEvent"),this.options.onEnd()},I.prototype.onStateChange=function(){this.options.debug&&_.debug("XHR.onStateChange",this.xhr.readyState),this.xhr.readyState===XMLHttpRequest.HEADERS_RECEIVED&&this.options.onHeaders(new w.Metadata(this.xhr.getAllResponseHeaders()),this.xhr.status)},I.prototype.sendMessage=function(S){this.xhr.send(S)},I.prototype.responseCallback=function(S){this.options.onHeaders(new w.Metadata(function(x){var k={};for(var f in x){var p=x[f];x.hasOwnProperty(f)&&p!==void 0&&(k[f]=p)}return k}(S.headers)),S.statusCode)},I.prototype.finishSend=function(){},I.prototype.start=function(S){var x=this;this.metadata=S;var k=new XMLHttpRequest;this.xhr=k,k.open("POST",this.options.url),this.configureXhr(),this.metadata.forEach(function(f,p){k.setRequestHeader(f,p.join(", "))}),k.withCredentials=!!this.init.withCredentials,k.addEventListener("readystatechange",this.onStateChange.bind(this)),k.addEventListener("progress",this.onProgressEvent.bind(this)),k.addEventListener("loadend",this.onLoadEvent.bind(this)),k.addEventListener("error",function(f){x.options.debug&&_.debug("XHR.error",f),x.options.onEnd(f.error)})},I.prototype.configureXhr=function(){this.xhr.responseType="text",this.xhr.overrideMimeType("text/plain; charset=x-user-defined")},I.prototype.cancel=function(){this.options.debug&&_.debug("XHR.abort"),this.xhr.abort()},I}();n.XHR=N;var y=function(I){function S(){return I!==null&&I.apply(this,arguments)||this}return B(S,I),S.prototype.configureXhr=function(){this.options.debug&&_.debug("MozXHR.configureXhr: setting responseType to 'moz-chunked-arraybuffer'"),this.xhr.responseType="moz-chunked-arraybuffer"},S.prototype.onProgressEvent=function(){var x=this.xhr.response;this.options.debug&&_.debug("MozXHR.onProgressEvent: ",new Uint8Array(x)),this.options.onChunk(new Uint8Array(x))},S}(N);function g(I,S){var x=I.charCodeAt(S);if(x>=55296&&x<=56319){var k=I.charCodeAt(S+1);k>=56320&&k<=57343&&(x=65536+(x-55296<<10)+(k-56320))}return x}function M(I){for(var S=new Uint8Array(I.length),x=0,k=0;k<I.length;k++){var f=String.prototype.codePointAt?I.codePointAt(k):g(I,k);S[x++]=255&f}return S}n.MozChunkedArrayBufferXHR=y,n.stringToArrayBuffer=M},849:function(s,n){var l;function h(){if(l!==void 0)return l;if(XMLHttpRequest){l=new XMLHttpRequest;try{l.open("GET","https://localhost")}catch{}}return l}function B(w){var _=h();if(!_)return!1;try{return _.responseType=w,_.responseType===w}catch{}return!1}Object.defineProperty(n,"__esModule",{value:!0}),n.detectXHROverrideMimeTypeSupport=n.detectMozXHRSupport=n.xhrSupportsResponseType=void 0,n.xhrSupportsResponseType=B,n.detectMozXHRSupport=function(){return typeof XMLHttpRequest<"u"&&B("moz-chunked-arraybuffer")},n.detectXHROverrideMimeTypeSupport=function(){return typeof XMLHttpRequest<"u"&&XMLHttpRequest.prototype.hasOwnProperty("overrideMimeType")}},540:function(s,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.WebsocketTransport=void 0;var h,B=l(346),w=l(617);(function(O){O[O.FINISH_SEND=1]="FINISH_SEND"})(h||(h={}));var _=new Uint8Array([1]);n.WebsocketTransport=function(){return function(O){return function(N){N.debug&&B.debug("websocketRequest",N);var y,g=function(S){if(S.substr(0,8)==="https://")return"wss://"+S.substr(8);if(S.substr(0,7)==="http://")return"ws://"+S.substr(7);throw new Error("Websocket transport constructed with non-https:// or http:// host.")}(N.url),M=[];function I(S){if(S===h.FINISH_SEND)y.send(_);else{var x=S,k=new Int8Array(x.byteLength+1);k.set(new Uint8Array([0])),k.set(x,1),y.send(k)}}return{sendMessage:function(S){y&&y.readyState!==y.CONNECTING?I(S):M.push(S)},finishSend:function(){y&&y.readyState!==y.CONNECTING?I(h.FINISH_SEND):M.push(h.FINISH_SEND)},start:function(S){(y=new WebSocket(g,["grpc-websockets"])).binaryType="arraybuffer",y.onopen=function(){var x;N.debug&&B.debug("websocketRequest.onopen"),y.send((x="",S.forEach(function(k,f){x+=k+": "+f.join(", ")+`\r
|
|
3
3
|
`}),w.encodeASCII(x))),M.forEach(function(k){I(k)})},y.onclose=function(x){N.debug&&B.debug("websocketRequest.onclose",x),N.onEnd()},y.onerror=function(x){N.debug&&B.debug("websocketRequest.onerror",x)},y.onmessage=function(x){N.onChunk(new Uint8Array(x.data))}},cancel:function(){N.debug&&B.debug("websocket.abort"),y.close()}}}(O)}}},35:function(s,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.unary=void 0;var h=l(65),B=l(934);n.unary=function(w,_){if(w.responseStream)throw new Error(".unary cannot be used with server-streaming methods. Use .invoke or .client instead.");if(w.requestStream)throw new Error(".unary cannot be used with client-streaming methods. Use .client instead.");var O=null,N=null,y=B.client(w,{host:_.host,transport:_.transport,debug:_.debug});return y.onHeaders(function(g){O=g}),y.onMessage(function(g){N=g}),y.onEnd(function(g,M,I){_.onEnd({status:g,statusMessage:M,headers:O||new h.Metadata,message:N,trailers:I})}),y.start(_.metadata),y.send(_.request),y.finishSend(),{close:function(){y.close()}}}},882:function(s,n){Object.defineProperty(n,"__esModule",{value:!0}),n.frameRequest=void 0,n.frameRequest=function(l){var h=l.serializeBinary(),B=new ArrayBuffer(h.byteLength+5);return new DataView(B,1,4).setUint32(0,h.length,!1),new Uint8Array(B,5).set(h),new Uint8Array(B)}}},D={},function s(n){if(D[n])return D[n].exports;var l=D[n]={exports:{}};return r[n].call(l.exports,l,l.exports,s),l.exports}(607);var r,D})})(T9);var j1=T9.exports,ar;(function(u){u.Auction="auction",u.CosmosSdk="sdk",u.Staking="staking",u.Bank="bank",u.Distribution="distribution",u.Gov="gov",u.Exchange="exchange",u.Insurance="insurance",u.Ocr="ocr",u.Oracle="oracle",u.Peggy="peggy",u.TokenFactory="tokenfactory",u.Wasmx="wasmx",u.Wasm="wasm",u.AuthZ="authz"})(ar||(ar={}));var sr;(function(u){u[u.ErrTxDecode=2]="ErrTxDecode",u[u.ErrInvalidSequence=3]="ErrInvalidSequence",u[u.ErrUnauthorized=4]="ErrUnauthorized",u[u.ErrInsufficientFunds=5]="ErrInsufficientFunds",u[u.ErrUnknownRequest=6]="ErrUnknownRequest",u[u.ErrInvalidAddress=7]="ErrInvalidAddress",u[u.ErrInvalidPubKey=8]="ErrInvalidPubKey",u[u.ErrUnknownAddress=9]="ErrUnknownAddress",u[u.ErrInvalidCoins=10]="ErrInvalidCoins",u[u.ErrOutOfGas=11]="ErrOutOfGas",u[u.ErrMemoTooLarge=12]="ErrMemoTooLarge",u[u.ErrInsufficientFee=13]="ErrInsufficientFee",u[u.ErrTooManySignatures=14]="ErrTooManySignatures",u[u.ErrNoSignatures=15]="ErrNoSignatures",u[u.ErrJSONMarshal=16]="ErrJSONMarshal",u[u.ErrJSONUnmarshal=17]="ErrJSONUnmarshal",u[u.ErrInvalidRequest=18]="ErrInvalidRequest",u[u.ErrTxInMempoolCache=19]="ErrTxInMempoolCache",u[u.ErrMempoolIsFull=20]="ErrMempoolIsFull",u[u.ErrTxTooLarge=21]="ErrTxTooLarge",u[u.ErrKeyNotFound=22]="ErrKeyNotFound",u[u.ErrWrongPassword=23]="ErrWrongPassword",u[u.ErrorInvalidSigner=24]="ErrorInvalidSigner",u[u.ErrorInvalidGasAdjustment=25]="ErrorInvalidGasAdjustment",u[u.ErrInvalidHeight=26]="ErrInvalidHeight",u[u.ErrInvalidVersion=27]="ErrInvalidVersion",u[u.ErrInvalidChainID=28]="ErrInvalidChainID",u[u.ErrInvalidType=29]="ErrInvalidType",u[u.ErrTxTimeoutHeight=30]="ErrTxTimeoutHeight",u[u.ErrUnknownExtensionOptions=31]="ErrUnknownExtensionOptions",u[u.ErrWrongSequence=32]="ErrWrongSequence",u[u.ErrPackAny=33]="ErrPackAny",u[u.ErrUnpackAny=34]="ErrUnpackAny",u[u.ErrLogic=35]="ErrLogic",u[u.ErrConflict=36]="ErrConflict",u[u.ErrNotSupported=37]="ErrNotSupported",u[u.ErrNotFound=38]="ErrNotFound",u[u.ErrIO=39]="ErrIO",u[u.ErrAppConfig=40]="ErrAppConfig",u[u.ErrInvalidGasLimit=41]="ErrInvalidGasLimit"})(sr||(sr={}));var or;(function(u){u[u.ErrOrderInvalid=1]="ErrOrderInvalid",u[u.ErrSpotMarketNotFound=2]="ErrSpotMarketNotFound",u[u.ErrSpotMarketExists=3]="ErrSpotMarketExists",u[u.ErrBadField=4]="ErrBadField",u[u.ErrMarketInvalid=5]="ErrMarketInvalid",u[u.ErrInsufficientDeposit=6]="ErrInsufficientDeposit",u[u.ErrUnrecognizedOrderType=7]="ErrUnrecognizedOrderType",u[u.ErrInsufficientPositionQuantity=8]="ErrInsufficientPositionQuantity",u[u.ErrOrderHashInvalid=9]="ErrOrderHashInvalid",u[u.ErrBadSubaccountID=10]="ErrBadSubaccountID",u[u.ErrInvalidTicker=11]="ErrInvalidTicker",u[u.ErrInvalidBaseDenom=12]="ErrInvalidBaseDenom",u[u.ErrInvalidQuoteDenom=13]="ErrInvalidQuoteDenom",u[u.ErrInvalidOracle=14]="ErrInvalidOracle",u[u.ErrInvalidExpiry=15]="ErrInvalidExpiry",u[u.ErrInvalidPrice=16]="ErrInvalidPrice",u[u.ErrInvalidQuantity=17]="ErrInvalidQuantity",u[u.ErrUnsupportedOracleType=18]="ErrUnsupportedOracleType",u[u.ErrOrderDoesntExist=19]="ErrOrderDoesntExist",u[u.ErrOrderbookFillInvalid=20]="ErrOrderbookFillInvalid",u[u.ErrPerpetualMarketExists=21]="ErrPerpetualMarketExists",u[u.ErrExpiryFuturesMarketExists=22]="ErrExpiryFuturesMarketExists",u[u.ErrExpiryFuturesMarketExpired=23]="ErrExpiryFuturesMarketExpired",u[u.ErrNoLiquidity=24]="ErrNoLiquidity",u[u.ErrSlippageExceedsWorstPrice=25]="ErrSlippageExceedsWorstPrice",u[u.ErrInsufficientOrderMargin=26]="ErrInsufficientOrderMargin",u[u.ErrDerivativeMarketNotFound=27]="ErrDerivativeMarketNotFound",u[u.ErrPositionNotFound=28]="ErrPositionNotFound",u[u.ErrInvalidReduceOnlyPositionDirection=29]="ErrInvalidReduceOnlyPositionDirection",u[u.ErrPriceSurpassesBankruptcyPrice=30]="ErrPriceSurpassesBankruptcyPrice",u[u.ErrPositionNotLiquidable=31]="ErrPositionNotLiquidable",u[u.ErrInvalidTriggerPrice=32]="ErrInvalidTriggerPrice",u[u.ErrInvalidOracleType=33]="ErrInvalidOracleType",u[u.ErrInvalidPriceTickSize=34]="ErrInvalidPriceTickSize",u[u.ErrInvalidQuantityTickSize=35]="ErrInvalidQuantityTickSize",u[u.ErrInvalidMargin=36]="ErrInvalidMargin",u[u.ErrExceedsOrderSideCount=37]="ErrExceedsOrderSideCount",u[u.ErrMarketOrderAlreadyExists=38]="ErrMarketOrderAlreadyExists",u[u.ErrConditionalMarketOrderAlreadyExists=39]="ErrConditionalMarketOrderAlreadyExists",u[u.ErrMarketLaunchProposalAlreadyExists=40]="ErrMarketLaunchProposalAlreadyExists",u[u.ErrInvalidMarketStatus=41]="ErrInvalidMarketStatus",u[u.ErrSameDenoms=42]="ErrSameDenoms",u[u.ErrSameOracles=43]="ErrSameOracles",u[u.ErrFeeRatesRelation=44]="ErrFeeRatesRelation",u[u.ErrMarginsRelation=45]="ErrMarginsRelation",u[u.ErrExceedsMaxOracleScaleFactor=46]="ErrExceedsMaxOracleScaleFactor",u[u.ErrSpotExchangeNotEnabled=47]="ErrSpotExchangeNotEnabled",u[u.ErrDerivativesExchangeNotEnabled=48]="ErrDerivativesExchangeNotEnabled",u[u.ErrOraclePriceDeltaExceedsThreshold=49]="ErrOraclePriceDeltaExceedsThreshold",u[u.ErrInvalidHourlyInterestRate=50]="ErrInvalidHourlyInterestRate",u[u.ErrInvalidHourlyFundingRateCap=51]="ErrInvalidHourlyFundingRateCap",u[u.ErrInvalidMarketFundingParamUpdate=52]="ErrInvalidMarketFundingParamUpdate",u[u.ErrInvalidTradingRewardCampaign=53]="ErrInvalidTradingRewardCampaign",u[u.ErrInvalidFeeDiscountSchedule=54]="ErrInvalidFeeDiscountSchedule",u[u.ErrInvalidLiquidationOrder=55]="ErrInvalidLiquidationOrder",u[u.ErrTradingRewardCampaignDistributionError=56]="ErrTradingRewardCampaignDistributionError",u[u.ErrInvalidTradingRewardsPendingPointsUpdate=57]="ErrInvalidTradingRewardsPendingPointsUpdate",u[u.ErrInvalidBatchMsgUpdate=58]="ErrInvalidBatchMsgUpdate",u[u.ErrExceedsTopOfBookPrice=59]="ErrExceedsTopOfBookPrice",u[u.ErrInvalidOrderTypeForMessage=60]="ErrInvalidOrderTypeForMessage",u[u.ErrInvalidDMMSender=61]="ErrInvalidDMMSender",u[u.ErrAlreadyOptedOutOfRewards=62]="ErrAlreadyOptedOutOfRewards",u[u.ErrInvalidMarginRatio=63]="ErrInvalidMarginRatio",u[u.ErrBelowMinimalContribution=64]="ErrBelowMinimalContribution",u[u.ErrLowPositionMargin=65]="ErrLowPositionMargin",u[u.ErrInvalidTotalSupply=66]="ErrInvalidTotalSupply",u[u.ErrInvalidLpTokenBurnAmount=67]="ErrInvalidLpTokenBurnAmount",u[u.ErrUnsupportedAction=68]="ErrUnsupportedAction",u[u.ErrNegativePositionQuantity=69]="ErrNegativePositionQuantity",u[u.ErrBinaryOptionsMarketExists=70]="ErrBinaryOptionsMarketExists",u[u.ErrBinaryOptionsMarketNotFound=71]="ErrBinaryOptionsMarketNotFound",u[u.ErrInvalidSettlement=72]="ErrInvalidSettlement",u[u.ErrAccountDoesntExist=73]="ErrAccountDoesntExist",u[u.ErrSenderIsNotAnAdmin=74]="ErrSenderIsNotAnAdmin",u[u.ErrMarketAlreadyScheduledToSettle=75]="ErrMarketAlreadyScheduledToSettle",u[u.ErrGenericMarketNotFound=76]="ErrGenericMarketNotFound",u[u.ErrInvalidDenomDecimal=77]="ErrInvalidDenomDecimal",u[u.ErrInvalidState=78]="ErrInvalidState",u[u.ErrTransientOrdersUpToCancelNotSupported=79]="ErrTransientOrdersUpToCancelNotSupported",u[u.ErrInvalidTrade=80]="ErrInvalidTrade",u[u.ErrNoMarginLocked=81]="ErrNoMarginLocked",u[u.ErrInvalidAccessLevel=82]="ErrInvalidAccessLevel",u[u.ErrInvalidAddress=83]="ErrInvalidAddress",u[u.ErrInvalidArgument=84]="ErrInvalidArgument",u[u.ErrInvalidFundsDirection=85]="ErrInvalidFundsDirection",u[u.ErrNoFundsProvided=86]="ErrNoFundsProvided",u[u.ErrInvalidSignature=87]="ErrInvalidSignature",u[u.ErrNoFundsToUnlock=88]="ErrNoFundsToUnlock",u[u.ErrNoMsgsProvided=89]="ErrNoMsgsProvided",u[u.ErrNoMsgProvided=90]="ErrNoMsgProvided",u[u.ErrInvalidAmount=91]="ErrInvalidAmount",u[u.ErrFeatureDisabled=92]="ErrFeatureDisabled",u[u.ErrTooMuchOrderMargin=93]="ErrTooMuchOrderMargin",u[u.ErrBadSubaccountNonce=94]="ErrBadSubaccountNonce",u[u.ErrInsufficientFunds=95]="ErrInsufficientFunds",u[u.ErrPostOnlyMode=96]="ErrPostOnlyMode",u[u.ErrClientOrderIdAlreadyExists=97]="ErrClientOrderIdAlreadyExists",u[u.ErrInvalidCid=98]="ErrInvalidCid"})(or||(or={}));var fr;(function(u){u[u.ErrBidInvalid=1]="ErrBidInvalid",u[u.ErrBidRound=2]="ErrBidRound"})(fr||(fr={}));var Fr;(function(u){u[u.ErrNoAuthorizationFound=2]="ErrNoAuthorizationFound",u[u.ErrInvalidExpirationTime=3]="ErrInvalidExpirationTime",u[u.ErrUnknownAuthorizationType=4]="ErrUnknownAuthorizationType",u[u.ErrNoGrantKeyFound=5]="ErrNoGrantKeyFound",u[u.ErrAuthorizationExpired=6]="ErrAuthorizationExpired",u[u.ErrGranteeIsGranter=7]="ErrGranteeIsGranter",u[u.ErrAuthorizationNumOfSigners=9]="ErrAuthorizationNumOfSigners",u[u.ErrNegativeMaxTokens=12]="ErrNegativeMaxTokens"})(Fr||(Fr={}));var lr;(function(u){u[u.ErrInsuranceFundAlreadyExists=1]="ErrInsuranceFundAlreadyExists",u[u.ErrInsuranceFundNotFound=2]="ErrInsuranceFundNotFound",u[u.ErrRedemptionAlreadyExists=3]="ErrRedemptionAlreadyExists",u[u.ErrInvalidDepositAmount=4]="ErrInvalidDepositAmount",u[u.ErrInvalidDepositDenom=5]="ErrInvalidDepositDenom",u[u.ErrPayoutTooLarge=6]="ErrPayoutTooLarge",u[u.ErrInvalidTicker=7]="ErrInvalidTicker",u[u.ErrInvalidQuoteDenom=8]="ErrInvalidQuoteDenom",u[u.ErrInvalidOracle=9]="ErrInvalidOracle",u[u.ErrInvalidExpirationTime=10]="ErrInvalidExpirationTime",u[u.ErrInvalidMarketID=11]="ErrInvalidMarketID",u[u.ErrInvalidShareDenom=12]="ErrInvalidShareDenom"})(lr||(lr={}));var cr;(function(u){u[u.ErrStaleReport=1]="ErrStaleReport",u[u.ErrIncompleteProposal=2]="ErrIncompleteProposal",u[u.ErrRepeatedAddress=3]="ErrRepeatedAddress",u[u.ErrTooManySigners=4]="ErrTooManySigners",u[u.ErrIncorrectConfig=5]="ErrIncorrectConfig",u[u.ErrConfigDigestNotMatch=6]="ErrConfigDigestNotMatch",u[u.ErrWrongNumberOfSignatures=7]="ErrWrongNumberOfSignatures",u[u.ErrIncorrectSignature=8]="ErrIncorrectSignature",u[u.ErrNoTransmitter=9]="ErrNoTransmitter",u[u.ErrIncorrectTransmissionData=10]="ErrIncorrectTransmissionData",u[u.ErrNoTransmissionsFound=11]="ErrNoTransmissionsFound",u[u.ErrMedianValueOutOfBounds=12]="ErrMedianValueOutOfBounds",u[u.ErrIncorrectRewardPoolDenom=13]="ErrIncorrectRewardPoolDenom",u[u.ErrNoRewardPool=14]="ErrNoRewardPool",u[u.ErrInvalidPayees=15]="ErrInvalidPayees",u[u.ErrModuleAdminRestricted=16]="ErrModuleAdminRestricted",u[u.ErrFeedAlreadyExists=17]="ErrFeedAlreadyExists",u[u.ErrFeedDoesntExists=19]="ErrFeedDoesntExists",u[u.ErrAdminRestricted=20]="ErrAdminRestricted",u[u.ErrInsufficientRewardPool=21]="ErrInsufficientRewardPool",u[u.ErrPayeeAlreadySet=22]="ErrPayeeAlreadySet",u[u.ErrPayeeRestricted=23]="ErrPayeeRestricted",u[u.ErrFeedConfigNotFound=24]="ErrFeedConfigNotFound"})(cr||(cr={}));var Ar;(function(u){u[u.ErrEmptyRelayerAddr=1]="ErrEmptyRelayerAddr",u[u.ErrBadRatesCount=2]="ErrBadRatesCount",u[u.ErrBadResolveTimesCount=3]="ErrBadResolveTimesCount",u[u.ErrBadRequestIDsCount=4]="ErrBadRequestIDsCount",u[u.ErrRelayerNotAuthorized=5]="ErrRelayerNotAuthorized",u[u.ErrBadPriceFeedBaseCount=6]="ErrBadPriceFeedBaseCount",u[u.ErrBadPriceFeedQuoteCount=7]="ErrBadPriceFeedQuoteCount",u[u.ErrUnsupportedOracleType=8]="ErrUnsupportedOracleType",u[u.ErrBadMessagesCount=9]="ErrBadMessagesCount",u[u.ErrBadCoinbaseMessage=10]="ErrBadCoinbaseMessage",u[u.ErrInvalidEthereumSignature=11]="ErrInvalidEthereumSignature",u[u.ErrBadCoinbaseMessageTimestamp=12]="ErrBadCoinbaseMessageTimestamp",u[u.ErrCoinbasePriceNotFound=13]="ErrCoinbasePriceNotFound",u[u.ErrBadPrice=14]="ErrBadPrice",u[u.ErrPriceTooLarge=15]="ErrPriceTooLarge",u[u.ErrInvalidBandIBCRequest=16]="ErrInvalidBandIBCRequest",u[u.ErrSample=17]="ErrSample",u[u.ErrInvalidPacketTimeout=18]="ErrInvalidPacketTimeout",u[u.ErrBadSymbolsCount=19]="ErrBadSymbolsCount",u[u.ErrBadIBCPortBind=20]="ErrBadIBCPortBind",u[u.ErrInvalidPortID=21]="ErrInvalidPortID",u[u.ErrInvalidChannelID=22]="ErrInvalidChannelID",u[u.ErrBadRequestInterval=23]="ErrBadRequestInterval",u[u.ErrInvalidBandIBCUpdateRequest=24]="ErrInvalidBandIBCUpdateRequest",u[u.ErrBandIBCRequestNotFound=25]="ErrBandIBCRequestNotFound",u[u.ErrEmptyBaseInfo=26]="ErrEmptyBaseInfo",u[u.ErrEmptyProvider=27]="ErrEmptyProvider",u[u.ErrInvalidProvider=28]="ErrInvalidProvider",u[u.ErrInvalidSymbol=29]="ErrInvalidSymbol",u[u.ErrRelayerAlreadyExists=30]="ErrRelayerAlreadyExists",u[u.ErrProviderPriceNotFound=31]="ErrProviderPriceNotFound",u[u.ErrInvalidOracleRequest=32]="ErrInvalidOracleRequest",u[u.ErrOraclePriceNotFound=33]="ErrOraclePriceNotFound"})(Ar||(Ar={}));var Er;(function(u){u[u.ErrInternal=1]="ErrInternal",u[u.ErrDuplicate=2]="ErrDuplicate",u[u.ErrInvalid=3]="ErrInvalid",u[u.ErrTimeout=4]="ErrTimeout",u[u.ErrUnknown=5]="ErrUnknown",u[u.ErrEmpty=6]="ErrEmpty",u[u.ErrOutdated=7]="ErrOutdated",u[u.ErrUnsupported=8]="ErrUnsupported",u[u.ErrNonContiguousEventNonce=9]="ErrNonContiguousEventNonce",u[u.ErrNoUnbatchedTxsFound=10]="ErrNoUnbatchedTxsFound",u[u.ErrResetDelegateKeys=11]="ErrResetDelegateKeys",u[u.ErrSupplyOverflow=12]="ErrSupplyOverflow",u[u.ErrInvalidEthSender=13]="ErrInvalidEthSender",u[u.ErrInvalidEthDestination=14]="ErrInvalidEthDestination"})(Er||(Er={}));var dr;(function(u){u[u.ErrDenomExists=2]="ErrDenomExists",u[u.ErrUnauthorized=3]="ErrUnauthorized",u[u.ErrInvalidDenom=4]="ErrInvalidDenom",u[u.ErrInvalidCreator=5]="ErrInvalidCreator",u[u.ErrInvalidAuthorityMetadata=6]="ErrInvalidAuthorityMetadata",u[u.ErrInvalidGenesis=7]="ErrInvalidGenesis",u[u.ErrSubdenomTooLong=8]="ErrSubdenomTooLong",u[u.ErrSubdenomTooShort=9]="ErrSubdenomTooShort",u[u.ErrSubdenomNestedTooShort=10]="ErrSubdenomNestedTooShort",u[u.ErrCreatorTooLong=11]="ErrCreatorTooLong",u[u.ErrDenomDoesNotExist=12]="ErrDenomDoesNotExist",u[u.ErrAmountNotPositive=13]="ErrAmountNotPositive"})(dr||(dr={}));var hr;(function(u){u[u.ErrInvalidGasLimit=1]="ErrInvalidGasLimit",u[u.ErrInvalidGasPrice=2]="ErrInvalidGasPrice",u[u.ErrInvalidContractAddress=3]="ErrInvalidContractAddress",u[u.ErrAlreadyRegistered=4]="ErrAlreadyRegistered",u[u.ErrDuplicateContract=5]="ErrDuplicateContract",u[u.ErrNoContractAddresses=6]="ErrNoContractAddresses",u[u.ErrInvalidCodeId=7]="ErrInvalidCodeId"})(hr||(hr={}));var pr;(function(u){u[u.ErrEmptyValidatorAddr=2]="ErrEmptyValidatorAddr",u[u.ErrNoValidatorFound=3]="ErrNoValidatorFound",u[u.ErrValidatorOwnerExists=4]="ErrValidatorOwnerExists",u[u.ErrValidatorPubKeyExists=5]="ErrValidatorPubKeyExists",u[u.ErrValidatorPubKeyTypeNotSupported=6]="ErrValidatorPubKeyTypeNotSupported",u[u.ErrValidatorJailed=7]="ErrValidatorJailed",u[u.ErrBadRemoveValidator=8]="ErrBadRemoveValidator",u[u.ErrCommissionNegative=9]="ErrCommissionNegative",u[u.ErrCommissionHuge=10]="ErrCommissionHuge",u[u.ErrCommissionGTMaxRate=11]="ErrCommissionGTMaxRate",u[u.ErrCommissionUpdateTime=12]="ErrCommissionUpdateTime",u[u.ErrCommissionChangeRateNegative=13]="ErrCommissionChangeRateNegative",u[u.ErrCommissionChangeRateGTMaxRate=14]="ErrCommissionChangeRateGTMaxRate",u[u.ErrCommissionGTMaxChangeRate=15]="ErrCommissionGTMaxChangeRate",u[u.ErrSelfDelegationBelowMinimum=16]="ErrSelfDelegationBelowMinimum",u[u.ErrMinSelfDelegationDecreased=17]="ErrMinSelfDelegationDecreased",u[u.ErrEmptyDelegatorAddr=18]="ErrEmptyDelegatorAddr",u[u.ErrNoDelegation=19]="ErrNoDelegation",u[u.ErrBadDelegatorAddr=20]="ErrBadDelegatorAddr",u[u.ErrNoDelegatorForAddress=21]="ErrNoDelegatorForAddress",u[u.ErrInsufficientShares=22]="ErrInsufficientShares",u[u.ErrDelegationValidatorEmpty=23]="ErrDelegationValidatorEmpty",u[u.ErrNotEnoughDelegationShares=24]="ErrNotEnoughDelegationShares",u[u.ErrNotMature=25]="ErrNotMature",u[u.ErrNoUnbondingDelegation=26]="ErrNoUnbondingDelegation",u[u.ErrMaxUnbondingDelegationEntries=27]="ErrMaxUnbondingDelegationEntries",u[u.ErrNoRedelegation=28]="ErrNoRedelegation",u[u.ErrSelfRedelegation=29]="ErrSelfRedelegation",u[u.ErrTinyRedelegationAmount=30]="ErrTinyRedelegationAmount",u[u.ErrBadRedelegationDst=31]="ErrBadRedelegationDst",u[u.ErrTransitiveRedelegation=32]="ErrTransitiveRedelegation",u[u.ErrMaxRedelegationEntries=33]="ErrMaxRedelegationEntries",u[u.ErrDelegatorShareExRateInvalid=34]="ErrDelegatorShareExRateInvalid",u[u.ErrBothShareMsgsGiven=35]="ErrBothShareMsgsGiven",u[u.ErrNeitherShareMsgsGiven=36]="ErrNeitherShareMsgsGiven",u[u.ErrInvalidHistoricalInfo=37]="ErrInvalidHistoricalInfo",u[u.ErrNoHistoricalInfo=38]="ErrNoHistoricalInfo",u[u.ErrEmptyValidatorPubKey=39]="ErrEmptyValidatorPubKey",u[u.ErrCommissionLTMinRate=40]="ErrCommissionLTMinRate",u[u.ErrUnbondingNotFound=41]="ErrUnbondingNotFound",u[u.ErrUnbondingOnHoldRefCountNegative=42]="ErrUnbondingOnHoldRefCountNegative"})(pr||(pr={}));var Cr;(function(u){u[u.ErrUnknownProposal=2]="ErrUnknownProposal",u[u.ErrInactiveProposal=3]="ErrInactiveProposal",u[u.ErrAlreadyActiveProposal=4]="ErrAlreadyActiveProposal",u[u.ErrInvalidProposalContent=5]="ErrInvalidProposalContent",u[u.ErrInvalidProposalType=6]="ErrInvalidProposalType",u[u.ErrInvalidVote=7]="ErrInvalidVote",u[u.ErrInvalidGenesis=8]="ErrInvalidGenesis",u[u.ErrNoProposalHandlerExists=9]="ErrNoProposalHandlerExists",u[u.ErrUnroutableProposalMsg=10]="ErrUnroutableProposalMsg",u[u.ErrNoProposalMsgs=11]="ErrNoProposalMsgs",u[u.ErrInvalidProposalMsg=12]="ErrInvalidProposalMsg",u[u.ErrInvalidSigner=13]="ErrInvalidSigner",u[u.ErrInvalidSignalMsg=14]="ErrInvalidSignalMsg",u[u.ErrMetadataTooLong=15]="ErrMetadataTooLong",u[u.ErrMinDepositTooSmall=16]="ErrMinDepositTooSmall",u[u.ErrProposalNotFound=17]="ErrProposalNotFound",u[u.ErrInvalidProposer=18]="ErrInvalidProposer",u[u.ErrNoDeposits=19]="ErrNoDeposits",u[u.ErrVotingPeriodEnded=20]="ErrVotingPeriodEnded",u[u.ErrInvalidProposal=21]="ErrInvalidProposal"})(Cr||(Cr={}));var mr;(function(u){u[u.ErrEmptyDelegatorAddr=2]="ErrEmptyDelegatorAddr",u[u.ErrEmptyWithdrawAddr=3]="ErrEmptyWithdrawAddr",u[u.ErrEmptyValidatorAddr=4]="ErrEmptyValidatorAddr",u[u.ErrEmptyDelegationDistInfo=5]="ErrEmptyDelegationDistInfo",u[u.ErrNoValidatorDistInfo=6]="ErrNoValidatorDistInfo",u[u.ErrNoValidatorCommission=7]="ErrNoValidatorCommission",u[u.ErrSetWithdrawAddrDisabled=8]="ErrSetWithdrawAddrDisabled",u[u.ErrBadDistribution=9]="ErrBadDistribution",u[u.ErrInvalidProposalAmount=10]="ErrInvalidProposalAmount",u[u.ErrEmptyProposalRecipient=11]="ErrEmptyProposalRecipient",u[u.ErrNoValidatorExists=12]="ErrNoValidatorExists",u[u.ErrNoDelegationExists=13]="ErrNoDelegationExists"})(mr||(mr={}));var Br;(function(u){u[u.ErrNoInputs=2]="ErrNoInputs",u[u.ErrNoOutputs=3]="ErrNoOutputs",u[u.ErrInputOutputMismatch=4]="ErrInputOutputMismatch",u[u.ErrSendDisabled=5]="ErrSendDisabled",u[u.ErrDenomMetadataNotFound=6]="ErrDenomMetadataNotFound",u[u.ErrInvalidKey=7]="ErrInvalidKey",u[u.ErrDuplicateEntry=8]="ErrDuplicateEntry",u[u.ErrMultipleSenders=9]="ErrMultipleSenders"})(Br||(Br={}));var vr;(function(u){u[u.ErrCreateFailed=2]="ErrCreateFailed",u[u.ErrAccountExists=3]="ErrAccountExists",u[u.ErrInstantiateFailed=4]="ErrInstantiateFailed",u[u.ErrExecuteFailed=5]="ErrExecuteFailed",u[u.ErrGasLimit=6]="ErrGasLimit",u[u.ErrInvalidGenesis=7]="ErrInvalidGenesis",u[u.ErrNotFound=8]="ErrNotFound",u[u.ErrQueryFailed=9]="ErrQueryFailed",u[u.ErrInvalidMsg=10]="ErrInvalidMsg",u[u.ErrMigrationFailed=11]="ErrMigrationFailed",u[u.ErrEmpty=12]="ErrEmpty",u[u.ErrLimit=13]="ErrLimit",u[u.ErrInvalid=14]="ErrInvalid",u[u.ErrDuplicate=15]="ErrDuplicate",u[u.ErrMaxIBCChannels=16]="ErrMaxIBCChannels",u[u.ErrUnsupportedForContract=17]="ErrUnsupportedForContract",u[u.ErrPinContractFailed=18]="ErrPinContractFailed",u[u.ErrUnpinContractFailed=19]="ErrUnpinContractFailed",u[u.ErrUnknownMsg=20]="ErrUnknownMsg",u[u.ErrInvalidEvent=21]="ErrInvalidEvent"})(vr||(vr={}));const N1=-1;j1.grpc.Code.Unavailable;exports.HttpRequestMethod=void 0;(function(u){u.Get="GET",u.Post="POST",u.Options="OPTIONS"})(exports.HttpRequestMethod||(exports.HttpRequestMethod={}));exports.ErrorType=void 0;(function(u){u.Unspecified="unspecified",u.ChainError="chain-error",u.ExecutionError="execution-error",u.NotFoundError="not-found-error",u.ValidationError="validation-error",u.WalletError="wallet-error",u.WalletNotInstalledError="wallet-not-installed-error",u.GrpcUnaryRequest="grpc-unary-request",u.HttpRequest="http-request",u.Web3="web3"})(exports.ErrorType||(exports.ErrorType={}));const me=u=>`${u}`.toLowerCase().replace(new RegExp(/[-_]+/,"g")," ").replace(new RegExp(/[^\w\s]/,"g"),"").replace(new RegExp(/\s+(.)(\w*)/,"g"),(e,r,D)=>`${r.toUpperCase()+D}`).replace(new RegExp(/\w/),e=>e.toUpperCase());class Bt extends Error{constructor(r,D){super(r.message);a0(this,"type",exports.ErrorType.Unspecified);a0(this,"code",N1);a0(this,"name");a0(this,"errorClass");a0(this,"context");a0(this,"contextModule");a0(this,"contextCode");a0(this,"message","");a0(this,"stack","");a0(this,"originalMessage","");this.parseError(r),this.parseContext(D),this.parse()}parse(){}parseError(r){this.setName(this.errorClass||this.constructor.name),this.setStack(r.stack||""),this.setMessage(r.message),this.originalMessage=r.message}parseContext(r){const{contextModule:D,type:s,code:n,context:l}=r||{contextModule:"",context:"",code:N1,type:exports.ErrorType.Unspecified};this.context=l,this.contextModule=D,this.type=s||exports.ErrorType.Unspecified,this.code=n||N1}setType(r){this.type=r}setCode(r){this.code=r}setContext(r){this.context=r}setOriginalMessage(r){this.originalMessage=r}setStack(r){try{this.stack=r}catch{}}setName(r){super.name=r,this.name=r,this.errorClass=r}setMessage(r){super.message=r,this.message=r}setContextModule(r){this.contextModule=r}setContextCode(r){this.contextCode=r}toOriginalError(){const r=new Error(this.originalMessage);return r.stack=this.stack,r.name=this.name||"",r}toError(){const r=new Error(this.message);return r.stack=this.stack,r.name=this.name||"",r}toCompactError(){const r=this.name||me(this.type),D=new Error(`${this.message} | ${JSON.stringify({originalMessage:this.originalMessage,message:this.message,errorClass:r,code:this.code,type:this.type,context:this.context,contextModule:this.contextModule,contextCode:this.contextCode,stack:(this.stack||"").split(`
|
|
4
4
|
`).map(s=>s.trim())})}`);return D.stack=this.stack,D.name=this.name||me(this.type),D}toJson(){return JSON.stringify({error:this.message,stack:this.stack})}toObject(){const r=this.name||me(this.type);return{message:this.message,originalMessage:this.originalMessage,errorClass:r,code:this.code,type:this.type,context:this.context,contextModule:this.contextModule,contextCode:this.contextCode,stack:(this.stack||"").split(`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var $6 = Object.defineProperty;
|
|
2
2
|
var K6 = (u, e, r) => e in u ? $6(u, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : u[e] = r;
|
|
3
3
|
var s0 = (u, e, r) => (K6(u, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
-
import { ab as V6, g as H9, o as Pu, $ as G6, n as yt, bz as gt, bA as $9, bq as L1, r as K9, d as R, bB as V9, bC as Z2, bD as Y1, bE as q6, bf as wt, bg as xt, bh as G9, bi as J6 } from "./index-
|
|
5
|
-
import { s as z6, h as Z6, u as j6, p as Y6 } from "./index-
|
|
4
|
+
import { ab as V6, g as H9, o as Pu, $ as G6, n as yt, bz as gt, bA as $9, bq as L1, r as K9, d as R, bB as V9, bC as Z2, bD as Y1, bE as q6, bf as wt, bg as xt, bh as G9, bi as J6 } from "./index-D4oa5qLu.mjs";
|
|
5
|
+
import { s as z6, h as Z6, u as j6, p as Y6 } from "./index-CVjCpWVm.mjs";
|
|
6
6
|
var G2 = function() {
|
|
7
7
|
return G2 = Object.assign || function(e) {
|
|
8
8
|
for (var r, D = 1, s = arguments.length; D < s; D++) {
|
|
@@ -17,8 +17,8 @@ var Dr = (r, e, t, n) => ({
|
|
|
17
17
|
return l(r, e, n);
|
|
18
18
|
}
|
|
19
19
|
}), I = (r, e, t) => (R0(r, e, "access private method"), t);
|
|
20
|
-
import { d as Tc, at as B0, au as Ic, av as Pd, aw as Td, ax as Id, ay as Cd, az as v0, aA as kd, aB as Od, aC as Rd, aD as Bd, aE as vd } from "./index-
|
|
21
|
-
import { C as Sd, P as Ud } from "./chain-
|
|
20
|
+
import { d as Tc, at as B0, au as Ic, av as Pd, aw as Td, ax as Id, ay as Cd, az as v0, aA as kd, aB as Od, aC as Rd, aD as Bd, aE as vd } from "./index-D4oa5qLu.mjs";
|
|
21
|
+
import { C as Sd, P as Ud } from "./chain-Cc-vL0Ji.mjs";
|
|
22
22
|
const Zf = "6.12.1";
|
|
23
23
|
function Ld(r, e, t) {
|
|
24
24
|
const n = e.split("|").map((i) => i.trim());
|
|
@@ -15540,10 +15540,10 @@ const s2 = {
|
|
|
15540
15540
|
Platform: Di,
|
|
15541
15541
|
getSigner: n2,
|
|
15542
15542
|
protocols: {
|
|
15543
|
-
WormholeCore: () => import("./index-
|
|
15544
|
-
TokenBridge: () => import("./index-
|
|
15545
|
-
PorticoBridge: () => import("./index-
|
|
15546
|
-
CircleBridge: () => import("./index-
|
|
15543
|
+
WormholeCore: () => import("./index-CNbmckF9.mjs").then((r) => r.i),
|
|
15544
|
+
TokenBridge: () => import("./index-Bg59b-Bk.mjs"),
|
|
15545
|
+
PorticoBridge: () => import("./index-mtuCwj6Z.mjs"),
|
|
15546
|
+
CircleBridge: () => import("./index-By8Yxkcx.mjs")
|
|
15547
15547
|
},
|
|
15548
15548
|
getChain: (r, e, t) => new Ad(e, new Di(r, vd(r, k0, {
|
|
15549
15549
|
[e]: t
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as dn, g as Ca, C as Na, W as Da, a as ja, N as Ar, b as Ta, c as oe, h as va, e as kr, f as za, i as Sa, j as Oa, k as La, B as Pa, l as Ua, m as Tt } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { d as dn, g as Ca, C as Na, W as Da, a as ja, N as Ar, b as Ta, c as oe, h as va, e as kr, f as za, i as Sa, j as Oa, k as La, B as Pa, l as Ua, m as Tt } from "./index-D4oa5qLu.mjs";
|
|
2
|
+
import "./index-G7Dlm7ed.mjs";
|
|
3
3
|
function m(e, t = {}) {
|
|
4
4
|
const { fees: n = e.fees, formatters: r = e.formatters, serializers: s = e.serializers } = t;
|
|
5
5
|
return {
|
|
@@ -4242,7 +4242,7 @@ async function Jt(e, t) {
|
|
|
4242
4242
|
});
|
|
4243
4243
|
return be === "0x" ? { data: void 0 } : { data: be };
|
|
4244
4244
|
} catch (A) {
|
|
4245
|
-
const I = gc(A), { offchainLookup: C, offchainLookupSignature: B } = await import("./ccip-
|
|
4245
|
+
const I = gc(A), { offchainLookup: C, offchainLookupSignature: B } = await import("./ccip-LzzuUWf7.mjs");
|
|
4246
4246
|
if ((I == null ? void 0 : I.slice(0, 10)) === B && f)
|
|
4247
4247
|
return { data: await C(e, { data: I, to: f }) };
|
|
4248
4248
|
throw mc(A, {
|
|
@@ -11746,7 +11746,7 @@ var br = (e, t, n) => {
|
|
|
11746
11746
|
if (t.has(e))
|
|
11747
11747
|
throw TypeError("Cannot add the same private member more than once");
|
|
11748
11748
|
t instanceof WeakSet ? t.add(e) : t.set(e, n);
|
|
11749
|
-
}, Et = (e, t, n, r) => (br(e, t, "write to private field"), t.set(e, n), n), ch = (e, t, n) => (br(e, t, "access private method"), n), lh = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.19-beta.
|
|
11749
|
+
}, Et = (e, t, n, r) => (br(e, t, "write to private field"), t.set(e, n), n), ch = (e, t, n) => (br(e, t, "access private method"), n), lh = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.19-beta.5-development" };
|
|
11750
11750
|
const uh = (e) => (t, n, r) => {
|
|
11751
11751
|
const s = r.subscribe;
|
|
11752
11752
|
return r.subscribe = (o, i, c) => {
|
|
@@ -12011,7 +12011,7 @@ const ut = (e) => (t) => {
|
|
|
12011
12011
|
}, bh = (e, t) => "getStorage" in t || "serialize" in t || "deserialize" in t ? ((lh ? "production" : void 0) !== "production" && console.warn(
|
|
12012
12012
|
"[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."
|
|
12013
12013
|
), hh(e, t)) : mh(e, t), fh = bh;
|
|
12014
|
-
var gh = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.19-beta.
|
|
12014
|
+
var gh = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.19-beta.5-development" };
|
|
12015
12015
|
const Hr = (e) => {
|
|
12016
12016
|
let t;
|
|
12017
12017
|
const n = /* @__PURE__ */ new Set(), r = (u, d) => {
|
|
@@ -13418,7 +13418,7 @@ On = async function() {
|
|
|
13418
13418
|
};
|
|
13419
13419
|
gr = /* @__PURE__ */ new WeakSet();
|
|
13420
13420
|
ka = async function() {
|
|
13421
|
-
const { EthereumProvider: e } = await import("./index.es-
|
|
13421
|
+
const { EthereumProvider: e } = await import("./index.es-BON8c55F.mjs"), t = this.chains.map(({ id: n }) => n);
|
|
13422
13422
|
if (t.length) {
|
|
13423
13423
|
const {
|
|
13424
13424
|
projectId: n,
|