@wormhole-foundation/wormhole-connect 3.0.0-beta.7-development → 3.0.0-beta.9-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/main.js +48 -48
- package/dist/src/config/tokens.d.ts +0 -1
- package/dist/src/config/tokens.d.ts.map +1 -1
- package/dist/src/contexts/TokensContext.d.ts.map +1 -1
- package/dist/src/utils/errors.d.ts +1 -0
- package/dist/src/utils/errors.d.ts.map +1 -1
- package/dist/src/views/v2/Bridge/WalletConnector/Sidebar.d.ts.map +1 -1
- package/dist/src/views/v2/Redeem/TransactionDetails/index.d.ts.map +1 -1
- package/lib/{account-QG_Hi4er.js → account-BSFuCEgk.js} +1 -1
- package/lib/{account-BK8xMTUI.mjs → account-y1ICRMSr.mjs} +1 -1
- package/lib/{address-B-_yHNB2.js → address-BwcXVurJ.js} +1 -1
- package/lib/{address-CNhzoegm.js → address-D8qNQEOW.js} +1 -1
- package/lib/{address-BWXkejmE.mjs → address-DaoiwqzU.mjs} +1 -1
- package/lib/{address-RcMobNYE.js → address-DnSRsubO.js} +7 -7
- package/lib/{address-CBux52Na.mjs → address-DqsMcbcT.mjs} +612 -588
- package/lib/{address-DKHa7TFU.mjs → address-S7wMItHX.mjs} +1 -1
- package/lib/{aptos-9aq-5gkF.mjs → aptos-CSVdIYqJ.mjs} +3 -3
- package/lib/{aptos-XxKO9242.js → aptos-C_j04MF5.js} +1 -1
- package/lib/{aptos-C180o9od.mjs → aptos-C_sLjrbm.mjs} +15 -15
- package/lib/{aptos-BZ2mcuTd.js → aptos-ma6bumqy.js} +2 -2
- package/lib/{base64-Dmj19Uvu.mjs → base64-B2xumR3a.mjs} +3 -2
- package/lib/{base64-BfY07bq5.js → base64-a1Dr6hMt.js} +1 -1
- package/lib/{blake2b-CgbIfNRX.mjs → blake2b-CR50AGep.mjs} +1 -1
- package/lib/{blake2b-CoM94_cH.js → blake2b-Dkm1d7Wp.js} +1 -1
- package/lib/{browser-ponyfill-BAEAyXvw.js → browser-ponyfill-BTt_ELXG.js} +1 -1
- package/lib/{browser-ponyfill-BecG2Lnb.mjs → browser-ponyfill-uCX78ltK.mjs} +1 -1
- package/lib/{ccip-CUqskd5M.mjs → ccip-69mFHkV9.mjs} +1 -1
- package/lib/{ccip-oytFtCzk.js → ccip-BFyWlloE.js} +1 -1
- package/lib/{chain-itK5uGYL.js → chain-Cio41-Lr.js} +1 -1
- package/lib/{chain-sKZNJgPZ.mjs → chain-DbmG-oEQ.mjs} +1 -1
- package/lib/{chunk-IMTC3J2M-DKLPKqnP.mjs → chunk-IMTC3J2M-CmFt3nz5.mjs} +137 -135
- package/lib/chunk-IMTC3J2M-NMBEZ4p8.js +471 -0
- package/lib/{constants-DrDsewBe.mjs → constants-JcrZQeMq.mjs} +3 -3
- package/lib/{constants-Bmrui4ZY.js → constants-lsjPx3va.js} +1 -1
- package/lib/{contract-MJZ8ZoSX.js → contract-CcVq6MSa.js} +1 -1
- package/lib/{contract-BVaUamai.mjs → contract-DrK81GRi.mjs} +109 -109
- package/lib/create-BtJgfMdJ.mjs +18 -0
- package/lib/{create-DO_-1_Hb.js → create-Q6N34YQz.js} +1 -1
- package/lib/{evm-IjnSHeSg.mjs → evm--hXXT-db.mjs} +9 -9
- package/lib/{evm-C-aa4dBG.mjs → evm-BBqhcxFC.mjs} +83 -83
- package/lib/{evm-D_r84vhS.js → evm-CNq2zXwl.js} +3 -3
- package/lib/{evm-ZSzF-61X.js → evm-l0300AWS.js} +2 -2
- package/lib/executor.js +470 -1
- package/lib/executor.mjs +7106 -560
- package/lib/hosted.js +1 -1
- package/lib/hosted.mjs +1 -1
- package/lib/{index-aA-2Ygs3.mjs → index-98w8rrCe.mjs} +1 -1
- package/lib/{index-Bb8InrQU.mjs → index-9dr91dtY.mjs} +2 -2
- package/lib/{index-DNaxNpBa.js → index-BABC5__9.js} +1 -1
- package/lib/{index-CapdlI6H.js → index-BAjc-UZH.js} +1 -1
- package/lib/{index-Cx-ODuWg.mjs → index-BN-aj3dN.mjs} +4 -4
- package/lib/{index-BeQ668oT.js → index-BV7XVrd8.js} +1 -1
- package/lib/{index-CKaF7Gzs.mjs → index-BbUxOO56.mjs} +14 -14
- package/lib/{index-D3cDkU4S.js → index-BfPE3vDw.js} +1 -1
- package/lib/{index-Batb-GTa.mjs → index-BlCHxlUD.mjs} +5 -5
- package/lib/{index-CZYUYK5K.js → index-BnCQiOiA.js} +1 -1
- package/lib/{index-CsdQttEt.mjs → index-BqmCeCU_.mjs} +5 -5
- package/lib/{index-Ce0EI1tW.mjs → index-BtrXSq3R.mjs} +5 -5
- package/lib/{index-CE0rxdUf.js → index-C-ORpsiU.js} +1 -1
- package/lib/{index-DyE-3pz1.js → index-C0un9IYm.js} +1 -1
- package/lib/{index-DdvRmaTh.mjs → index-C4HPXgbm.mjs} +7 -7
- package/lib/{index-DgIxcujP.mjs → index-COkYtNvE.mjs} +36 -36
- package/lib/{index-CLy98PXT.mjs → index-COs6VyCx.mjs} +13 -13
- package/lib/{index-43m4zMem.js → index-COsUDXFI.js} +1 -1
- package/lib/{index-B36we0ml.mjs → index-CUYHyKgr.mjs} +7 -7
- package/lib/{index-BcAXCy1h.js → index-CUyxr8OX.js} +1 -1
- package/lib/{index-DDBLdcME.mjs → index-CX0qxE9A.mjs} +11 -11
- package/lib/{index-C2Pe6i5V.js → index-CiFTvTwg.js} +1 -1
- package/lib/{index-DNcx7dMI.mjs → index-CofxOTyV.mjs} +5 -5
- package/lib/{index-BGqRY1Ww.js → index-CsR_y9ji.js} +1 -1
- package/lib/{index-CA5XKv-J.js → index-CuoxLyOv.js} +1 -1
- package/lib/{index-DRCX2iXw.js → index-CvEfOpn2.js} +1 -1
- package/lib/{index-CV3K6bKD.js → index-Cxwfq1al.js} +1 -1
- package/lib/{index-CjroDahP.mjs → index-D0tl0B36.mjs} +2 -2
- package/lib/{index-f_27F6WX.js → index-D4KtQtgE.js} +1 -1
- package/lib/{index-D2o0FZvZ.js → index-D74ZE0n9.js} +1 -1
- package/lib/{index-DkZjpCle.js → index-DLFGcXjy.js} +1 -1
- package/lib/{index-07cEoDZD.mjs → index-DNvr2HlM.mjs} +13 -13
- package/lib/{index-Cu7gFSJv.mjs → index-DPfKYdEf.mjs} +1 -1
- package/lib/{index-Bogu114a.js → index-Db3GFx2x.js} +1 -1
- package/lib/{index-Dt-63Ecw.js → index-DbJV-Hi3.js} +1 -1
- package/lib/{index-B-S6avdv.js → index-DebLDCcs.js} +1 -1
- package/lib/{index-DC1ot7tO.js → index-DjbQ-yfQ.js} +1 -1
- package/lib/{index-Cry2AYTm.mjs → index-DsKRmXnW.mjs} +3 -3
- package/lib/{index-FCA-cXcS.js → index-DtUeWT1n.js} +1 -1
- package/lib/{index-DyvQhGPY.mjs → index-DtfwfGsA.mjs} +2 -2
- package/lib/{index-DDBdrN7Y.mjs → index-DvozGHS-.mjs} +7070 -7093
- package/lib/{index-Cyo0tNu5.mjs → index-Dx7nqevs.mjs} +2 -2
- package/lib/{index-Blzzdktm.js → index-LJw0S70V.js} +1 -1
- package/lib/{index-rAnJYuJr.mjs → index-Nh2mSVy3.mjs} +9 -9
- package/lib/{index-B5XhLD_L.mjs → index-S_O9ybUy.mjs} +5 -5
- package/lib/{index-CIhJm6vf.js → index-S_dcknx7.js} +86 -86
- package/lib/{index-Dsaj5lf_.js → index-U1ceHkB6.js} +1 -1
- package/lib/{index-BUlzgqNa.mjs → index-Yp3NfcfI.mjs} +4 -4
- package/lib/{index-DRleG63r.mjs → index-Z48MvcFr.mjs} +1 -1
- package/lib/{index-B9hin5U8.mjs → index-ejTR4WLF.mjs} +5 -5
- package/lib/{index-BUfjw4S2.mjs → index-kyD2rWx8.mjs} +11 -11
- package/lib/{index-BL4H4RbP.js → index-lG1-neJv.js} +1 -1
- package/lib/{index-CuDLHfKb.mjs → index-sz4KACqf.mjs} +5 -5
- package/lib/{index-dpkTW-H8.js → index-vIUqmO0o.js} +1 -1
- package/lib/{index.es-MXzok_Dp.js → index.es-C4RhqFy8.js} +2 -2
- package/lib/{index.es-C6ziEcYX.mjs → index.es-D5O0G4Af.mjs} +7 -7
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/lib/mayan.js +1 -1
- package/lib/mayan.mjs +10 -10
- package/lib/{mint-C3SdQH_S.mjs → mint-CKsi-DrV.mjs} +2 -2
- package/lib/{mint-BxtkCWBh.js → mint-DNcbNuI1.js} +1 -1
- package/lib/ntt.js +1 -1
- package/lib/ntt.mjs +10 -10
- package/lib/{platform-Czq0KkFa.mjs → platform-BCxJ-CNM.mjs} +7 -7
- package/lib/{platform-CG_VHRJU.js → platform-BqUizEYV.js} +1 -1
- package/lib/{platform-CUeBR_i4.mjs → platform-CB3TPh7I.mjs} +17 -17
- package/lib/{platform-CyTWPtDR.js → platform-CGIgJRY3.js} +1 -1
- package/lib/{platform-PNwsacZi.js → platform-D7pe3gG2.js} +1 -1
- package/lib/{platform-Droe0nZu.mjs → platform-DTVt42uH.mjs} +4 -4
- package/lib/provider-jsonrpc-DYBOGqdj.js +1 -0
- package/lib/{provider-jsonrpc-CVWSLk8g.mjs → provider-jsonrpc-MOE1VIOF.mjs} +155 -155
- package/lib/{sha3-BMK6V2DM.mjs → sha3-BZUtvEPh.mjs} +1 -1
- package/lib/{sha3-uufRWTnZ.js → sha3-c6o5MDKC.js} +1 -1
- package/lib/{signer-L9IdBy4K.js → signer-BAFbrQDv.js} +1 -1
- package/lib/{signer-CYkXKdE1.mjs → signer-CwtXMDcn.mjs} +25 -25
- package/lib/solana-Cg0N1W8e.js +1 -0
- package/lib/{solana-iU2xZ6yu.js → solana-DIO5mbHM.js} +1 -1
- package/lib/{solana-CE7DDmW7.mjs → solana-Dr5BmG1x.mjs} +6 -6
- package/lib/solana-mJ922Ek9.mjs +18 -0
- package/lib/{solanaEmbed.esm-BtaI5pum.mjs → solanaEmbed.esm-C4t2kCSL.mjs} +3 -3
- package/lib/{solanaEmbed.esm-DUsdVcC-.js → solanaEmbed.esm-D0xXx6VI.js} +1 -1
- package/lib/src/config/tokens.d.ts +0 -1
- package/lib/src/config/tokens.d.ts.map +1 -1
- package/lib/src/contexts/TokensContext.d.ts.map +1 -1
- package/lib/src/utils/errors.d.ts +1 -0
- package/lib/src/utils/errors.d.ts.map +1 -1
- package/lib/src/views/v2/Bridge/WalletConnector/Sidebar.d.ts.map +1 -1
- package/lib/src/views/v2/Redeem/TransactionDetails/index.d.ts.map +1 -1
- package/lib/{sui-BIE_b_7o.mjs → sui-AbsMI4yt.mjs} +3 -3
- package/lib/{sui-CNPKXqM6.js → sui-BSJIqJNt.js} +1 -1
- package/lib/{sui-Dva2w10T.js → sui-Bzh8kAZm.js} +1 -1
- package/lib/{sui-BJsKaZg2.mjs → sui-CZTSBdD4.mjs} +16 -16
- package/lib/{tokens-D4usSvOD.js → tokens-BUeRxOcP.js} +1 -1
- package/lib/{tokens-CQnhplD_.mjs → tokens-Vm--egzg.mjs} +4 -4
- package/lib/{units-CPUigdwl.js → units-LPlUOt3D.js} +1 -1
- package/lib/{units-YkCOGDr9.mjs → units-b10-QTSu.mjs} +28 -28
- package/lib/{unsignedTransaction-C0WXQMmv.mjs → unsignedTransaction-BJw0T6uN.mjs} +28 -28
- package/lib/{unsignedTransaction-DFUF8DSp.js → unsignedTransaction-CIkLJt6N.js} +1 -1
- package/lib/{web3-B3Usc-Qj.mjs → web3-BHuP7CTp.mjs} +7 -7
- package/lib/{web3-CjTx3huW.js → web3-SO_UBSxv.js} +1 -1
- package/package.json +2 -2
- package/lib/chunk-IMTC3J2M-D-un3eDX.js +0 -471
- package/lib/create-CQ6n4Ga8.mjs +0 -18
- package/lib/provider-jsonrpc-1gjszS3Q.js +0 -1
- package/lib/solana-BRQmi9BN.js +0 -1
- package/lib/solana-Bs7_C3BS.mjs +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const K=require("./address-RcMobNYE.js"),Pe=require("./index-CIhJm6vf.js");var Xr={},cf={exports:{}},qi={};(function(e){e.fetch=i(K.commonjsGlobal.fetch)&&i(K.commonjsGlobal.ReadableStream),e.writableStream=i(K.commonjsGlobal.WritableStream),e.abortController=i(K.commonjsGlobal.AbortController);var t;function r(){if(t!==void 0)return t;if(K.commonjsGlobal.XMLHttpRequest){t=new K.commonjsGlobal.XMLHttpRequest;try{t.open("GET",K.commonjsGlobal.XDomainRequest?"/":"https://example.com")}catch{t=null}}else t=null;return t}function n(a){var o=r();if(!o)return!1;try{return o.responseType=a,o.responseType===a}catch{}return!1}e.arraybuffer=e.fetch||n("arraybuffer"),e.msstream=!e.fetch&&n("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&n("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(r()?i(r().overrideMimeType):!1);function i(a){return typeof a=="function"}t=null})(qi);var Jr={},wi={exports:{}},hf=Pe.eventsExports.EventEmitter,gn,ua;function ru(){if(ua)return gn;ua=1;function e(N,F){var j=Object.keys(N);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(N);F&&(k=k.filter(function(I){return Object.getOwnPropertyDescriptor(N,I).enumerable})),j.push.apply(j,k)}return j}function t(N){for(var F=1;F<arguments.length;F++){var j=arguments[F]!=null?arguments[F]:{};F%2?e(Object(j),!0).forEach(function(k){r(N,k,j[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(j)):e(Object(j)).forEach(function(k){Object.defineProperty(N,k,Object.getOwnPropertyDescriptor(j,k))})}return N}function r(N,F,j){return F=o(F),F in N?Object.defineProperty(N,F,{value:j,enumerable:!0,configurable:!0,writable:!0}):N[F]=j,N}function n(N,F){if(!(N instanceof F))throw new TypeError("Cannot call a class as a function")}function i(N,F){for(var j=0;j<F.length;j++){var k=F[j];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(N,o(k.key),k)}}function a(N,F,j){return F&&i(N.prototype,F),Object.defineProperty(N,"prototype",{writable:!1}),N}function o(N){var F=f(N,"string");return typeof F=="symbol"?F:String(F)}function f(N,F){if(typeof N!="object"||N===null)return N;var j=N[Symbol.toPrimitive];if(j!==void 0){var k=j.call(N,F);if(typeof k!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(N)}var d=K.bufferPolyfill,l=d.Buffer,u=Pe.require$$3,w=u.inspect,g=w&&w.custom||"inspect";function S(N,F,j){l.prototype.copy.call(N,F,j)}return gn=function(){function N(){n(this,N),this.head=null,this.tail=null,this.length=0}return a(N,[{key:"push",value:function(j){var k={data:j,next:null};this.length>0?this.tail.next=k:this.head=k,this.tail=k,++this.length}},{key:"unshift",value:function(j){var k={data:j,next:this.head};this.length===0&&(this.tail=k),this.head=k,++this.length}},{key:"shift",value:function(){if(this.length!==0){var j=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,j}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(j){if(this.length===0)return"";for(var k=this.head,I=""+k.data;k=k.next;)I+=j+k.data;return I}},{key:"concat",value:function(j){if(this.length===0)return l.alloc(0);for(var k=l.allocUnsafe(j>>>0),I=this.head,R=0;I;)S(I.data,k,R),R+=I.data.length,I=I.next;return k}},{key:"consume",value:function(j,k){var I;return j<this.head.data.length?(I=this.head.data.slice(0,j),this.head.data=this.head.data.slice(j)):j===this.head.data.length?I=this.shift():I=k?this._getString(j):this._getBuffer(j),I}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(j){var k=this.head,I=1,R=k.data;for(j-=R.length;k=k.next;){var P=k.data,T=j>P.length?P.length:j;if(T===P.length?R+=P:R+=P.slice(0,j),j-=T,j===0){T===P.length?(++I,k.next?this.head=k.next:this.head=this.tail=null):(this.head=k,k.data=P.slice(T));break}++I}return this.length-=I,R}},{key:"_getBuffer",value:function(j){var k=l.allocUnsafe(j),I=this.head,R=1;for(I.data.copy(k),j-=I.data.length;I=I.next;){var P=I.data,T=j>P.length?P.length:j;if(P.copy(k,k.length-j,0,T),j-=T,j===0){T===P.length?(++R,I.next?this.head=I.next:this.head=this.tail=null):(this.head=I,I.data=P.slice(T));break}++R}return this.length-=R,k}},{key:g,value:function(j,k){return w(this,t(t({},k),{},{depth:0,customInspect:!1}))}}]),N}(),gn}function nu(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,K.dist.process.nextTick(Ei,this,e)):K.dist.process.nextTick(Ei,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?r._writableState?r._writableState.errorEmitted?K.dist.process.nextTick(Ir,r):(r._writableState.errorEmitted=!0,K.dist.process.nextTick(sa,r,a)):K.dist.process.nextTick(sa,r,a):t?(K.dist.process.nextTick(Ir,r),t(a)):K.dist.process.nextTick(Ir,r)}),this)}function sa(e,t){Ei(e,t),Ir(e)}function Ir(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function iu(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Ei(e,t){e.emit("error",t)}function au(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}var df={destroy:nu,undestroy:iu,errorOrDestroy:au},It={};function ou(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var pf={};function Be(e,t,r){r||(r=Error);function n(a,o,f){return typeof t=="string"?t:t(a,o,f)}var i=function(a){ou(o,a);function o(f,d,l){return a.call(this,n(f,d,l))||this}return o}(r);i.prototype.name=r.name,i.prototype.code=e,pf[e]=i}function ca(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(n){return String(n)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:r===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function fu(e,t,r){return e.substr(0,t.length)===t}function lu(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function uu(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}Be("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);Be("ERR_INVALID_ARG_TYPE",function(e,t,r){var n;typeof t=="string"&&fu(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var i;if(lu(e," argument"))i="The ".concat(e," ").concat(n," ").concat(ca(t,"type"));else{var a=uu(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(a," ").concat(n," ").concat(ca(t,"type"))}return i+=". Received type ".concat(typeof r),i},TypeError);Be("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Be("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});Be("ERR_STREAM_PREMATURE_CLOSE","Premature close");Be("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});Be("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Be("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Be("ERR_STREAM_WRITE_AFTER_END","write after end");Be("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Be("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);Be("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");It.codes=pf;var su=It.codes.ERR_INVALID_OPT_VALUE;function cu(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function hu(e,t,r,n){var i=cu(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var a=n?r:"highWaterMark";throw new su(a,i)}return Math.floor(i)}return e.objectMode?16:16*1024}var yf={getHighWaterMark:hu},_n,ha;function vf(){if(ha)return _n;ha=1,_n=z;function e(c){var y=this;this.next=null,this.entry=null,this.finish=function(){E(y,c)}}var t;z.WritableState=q;var r={deprecate:Pe.requireBrowser()},n=hf,i=K.bufferPolyfill.Buffer,a=(typeof K.commonjsGlobal<"u"?K.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(c){return i.from(c)}function f(c){return i.isBuffer(c)||c instanceof a}var d=df,l=yf,u=l.getHighWaterMark,w=It.codes,g=w.ERR_INVALID_ARG_TYPE,S=w.ERR_METHOD_NOT_IMPLEMENTED,N=w.ERR_MULTIPLE_CALLBACK,F=w.ERR_STREAM_CANNOT_PIPE,j=w.ERR_STREAM_DESTROYED,k=w.ERR_STREAM_NULL_VALUES,I=w.ERR_STREAM_WRITE_AFTER_END,R=w.ERR_UNKNOWN_ENCODING,P=d.errorOrDestroy;Pe.inherits_browserExports(z,n);function T(){}function q(c,y,m){t=t||qt(),c=c||{},typeof m!="boolean"&&(m=y instanceof t),this.objectMode=!!c.objectMode,m&&(this.objectMode=this.objectMode||!!c.writableObjectMode),this.highWaterMark=u(this,c,"writableHighWaterMark",m),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var M=c.decodeStrings===!1;this.decodeStrings=!M,this.defaultEncoding=c.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(U){ae(y,U)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=c.emitClose!==!1,this.autoDestroy=!!c.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}q.prototype.getBuffer=function(){for(var y=this.bufferedRequest,m=[];y;)m.push(y),y=y.next;return m},function(){try{Object.defineProperty(q.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var C;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(C=Function.prototype[Symbol.hasInstance],Object.defineProperty(z,Symbol.hasInstance,{value:function(y){return C.call(this,y)?!0:this!==z?!1:y&&y._writableState instanceof q}})):C=function(y){return y instanceof this};function z(c){t=t||qt();var y=this instanceof t;if(!y&&!C.call(z,this))return new z(c);this._writableState=new q(c,this,y),this.writable=!0,c&&(typeof c.write=="function"&&(this._write=c.write),typeof c.writev=="function"&&(this._writev=c.writev),typeof c.destroy=="function"&&(this._destroy=c.destroy),typeof c.final=="function"&&(this._final=c.final)),n.call(this)}z.prototype.pipe=function(){P(this,new F)};function x(c,y){var m=new I;P(c,m),K.dist.process.nextTick(y,m)}function re(c,y,m,M){var U;return m===null?U=new k:typeof m!="string"&&!y.objectMode&&(U=new g("chunk",["string","Buffer"],m)),U?(P(c,U),K.dist.process.nextTick(M,U),!1):!0}z.prototype.write=function(c,y,m){var M=this._writableState,U=!1,h=!M.objectMode&&f(c);return h&&!i.isBuffer(c)&&(c=o(c)),typeof y=="function"&&(m=y,y=null),h?y="buffer":y||(y=M.defaultEncoding),typeof m!="function"&&(m=T),M.ending?x(this,m):(h||re(this,M,c,m))&&(M.pendingcb++,U=b(this,M,h,c,y,m)),U},z.prototype.cork=function(){this._writableState.corked++},z.prototype.uncork=function(){var c=this._writableState;c.corked&&(c.corked--,!c.writing&&!c.corked&&!c.bufferProcessing&&c.bufferedRequest&&Z(this,c))},z.prototype.setDefaultEncoding=function(y){if(typeof y=="string"&&(y=y.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((y+"").toLowerCase())>-1))throw new R(y);return this._writableState.defaultEncoding=y,this},Object.defineProperty(z.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function J(c,y,m){return!c.objectMode&&c.decodeStrings!==!1&&typeof y=="string"&&(y=i.from(y,m)),y}Object.defineProperty(z.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function b(c,y,m,M,U,h){if(!m){var p=J(y,M,U);M!==p&&(m=!0,U="buffer",M=p)}var $=y.objectMode?1:M.length;y.length+=$;var V=y.length<y.highWaterMark;if(V||(y.needDrain=!0),y.writing||y.corked){var se=y.lastBufferedRequest;y.lastBufferedRequest={chunk:M,encoding:U,isBuf:m,callback:h,next:null},se?se.next=y.lastBufferedRequest:y.bufferedRequest=y.lastBufferedRequest,y.bufferedRequestCount+=1}else B(c,y,!1,$,M,U,h);return V}function B(c,y,m,M,U,h,p){y.writelen=M,y.writecb=p,y.writing=!0,y.sync=!0,y.destroyed?y.onwrite(new j("write")):m?c._writev(U,y.onwrite):c._write(U,h,y.onwrite),y.sync=!1}function Q(c,y,m,M,U){--y.pendingcb,m?(K.dist.process.nextTick(U,M),K.dist.process.nextTick(A,c,y),c._writableState.errorEmitted=!0,P(c,M)):(U(M),c._writableState.errorEmitted=!0,P(c,M),A(c,y))}function ne(c){c.writing=!1,c.writecb=null,c.length-=c.writelen,c.writelen=0}function ae(c,y){var m=c._writableState,M=m.sync,U=m.writecb;if(typeof U!="function")throw new N;if(ne(m),y)Q(c,m,M,y,U);else{var h=D(m)||c.destroyed;!h&&!m.corked&&!m.bufferProcessing&&m.bufferedRequest&&Z(c,m),M?K.dist.process.nextTick(ue,c,m,h,U):ue(c,m,h,U)}}function ue(c,y,m,M){m||ie(c,y),y.pendingcb--,M(),A(c,y)}function ie(c,y){y.length===0&&y.needDrain&&(y.needDrain=!1,c.emit("drain"))}function Z(c,y){y.bufferProcessing=!0;var m=y.bufferedRequest;if(c._writev&&m&&m.next){var M=y.bufferedRequestCount,U=new Array(M),h=y.corkedRequestsFree;h.entry=m;for(var p=0,$=!0;m;)U[p]=m,m.isBuf||($=!1),m=m.next,p+=1;U.allBuffers=$,B(c,y,!0,y.length,U,"",h.finish),y.pendingcb++,y.lastBufferedRequest=null,h.next?(y.corkedRequestsFree=h.next,h.next=null):y.corkedRequestsFree=new e(y),y.bufferedRequestCount=0}else{for(;m;){var V=m.chunk,se=m.encoding,oe=m.callback,de=y.objectMode?1:V.length;if(B(c,y,!1,de,V,se,oe),m=m.next,y.bufferedRequestCount--,y.writing)break}m===null&&(y.lastBufferedRequest=null)}y.bufferedRequest=m,y.bufferProcessing=!1}z.prototype._write=function(c,y,m){m(new S("_write()"))},z.prototype._writev=null,z.prototype.end=function(c,y,m){var M=this._writableState;return typeof c=="function"?(m=c,c=null,y=null):typeof y=="function"&&(m=y,y=null),c!=null&&this.write(c,y),M.corked&&(M.corked=1,this.uncork()),M.ending||v(this,M,m),this},Object.defineProperty(z.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function D(c){return c.ending&&c.length===0&&c.bufferedRequest===null&&!c.finished&&!c.writing}function W(c,y){c._final(function(m){y.pendingcb--,m&&P(c,m),y.prefinished=!0,c.emit("prefinish"),A(c,y)})}function _(c,y){!y.prefinished&&!y.finalCalled&&(typeof c._final=="function"&&!y.destroyed?(y.pendingcb++,y.finalCalled=!0,K.dist.process.nextTick(W,c,y)):(y.prefinished=!0,c.emit("prefinish")))}function A(c,y){var m=D(y);if(m&&(_(c,y),y.pendingcb===0&&(y.finished=!0,c.emit("finish"),y.autoDestroy))){var M=c._readableState;(!M||M.autoDestroy&&M.endEmitted)&&c.destroy()}return m}function v(c,y,m){y.ending=!0,A(c,y),m&&(y.finished?K.dist.process.nextTick(m):c.once("finish",m)),y.ended=!0,c.writable=!1}function E(c,y,m){var M=c.entry;for(c.entry=null;M;){var U=M.callback;y.pendingcb--,U(m),M=M.next}y.corkedRequestsFree.next=c}return Object.defineProperty(z.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(y){this._writableState&&(this._writableState.destroyed=y)}}),z.prototype.destroy=d.destroy,z.prototype._undestroy=d.undestroy,z.prototype._destroy=function(c,y){y(c)},_n}var bn,da;function qt(){if(da)return bn;da=1;var e=Object.keys||function(l){var u=[];for(var w in l)u.push(w);return u};bn=o;var t=_f(),r=vf();Pe.inherits_browserExports(o,t);for(var n=e(r.prototype),i=0;i<n.length;i++){var a=n[i];o.prototype[a]||(o.prototype[a]=r.prototype[a])}function o(l){if(!(this instanceof o))return new o(l);t.call(this,l),r.call(this,l),this.allowHalfOpen=!0,l&&(l.readable===!1&&(this.readable=!1),l.writable===!1&&(this.writable=!1),l.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",f)))}Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(o.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function f(){this._writableState.ended||K.dist.process.nextTick(d,this)}function d(l){l.end()}return Object.defineProperty(o.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),bn}var pa=It.codes.ERR_STREAM_PREMATURE_CLOSE;function du(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}function pu(){}function yu(e){return e.setHeader&&typeof e.abort=="function"}function gf(e,t,r){if(typeof t=="function")return gf(e,null,t);t||(t={}),r=du(r||pu);var n=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,a=function(){e.writable||f()},o=e._writableState&&e._writableState.finished,f=function(){i=!1,o=!0,n||r.call(e)},d=e._readableState&&e._readableState.endEmitted,l=function(){n=!1,d=!0,i||r.call(e)},u=function(N){r.call(e,N)},w=function(){var N;if(n&&!d)return(!e._readableState||!e._readableState.ended)&&(N=new pa),r.call(e,N);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(N=new pa),r.call(e,N)},g=function(){e.req.on("finish",f)};return yu(e)?(e.on("complete",f),e.on("abort",w),e.req?g():e.on("request",g)):i&&!e._writableState&&(e.on("end",a),e.on("close",a)),e.on("end",l),e.on("finish",f),t.error!==!1&&e.on("error",u),e.on("close",w),function(){e.removeListener("complete",f),e.removeListener("abort",w),e.removeListener("request",g),e.req&&e.req.removeListener("finish",f),e.removeListener("end",a),e.removeListener("close",a),e.removeListener("finish",f),e.removeListener("end",l),e.removeListener("error",u),e.removeListener("close",w)}}var zi=gf,mn,ya;function vu(){if(ya)return mn;ya=1;var e;function t(R,P,T){return P=r(P),P in R?Object.defineProperty(R,P,{value:T,enumerable:!0,configurable:!0,writable:!0}):R[P]=T,R}function r(R){var P=n(R,"string");return typeof P=="symbol"?P:String(P)}function n(R,P){if(typeof R!="object"||R===null)return R;var T=R[Symbol.toPrimitive];if(T!==void 0){var q=T.call(R,P);if(typeof q!="object")return q;throw new TypeError("@@toPrimitive must return a primitive value.")}return(P==="string"?String:Number)(R)}var i=zi,a=Symbol("lastResolve"),o=Symbol("lastReject"),f=Symbol("error"),d=Symbol("ended"),l=Symbol("lastPromise"),u=Symbol("handlePromise"),w=Symbol("stream");function g(R,P){return{value:R,done:P}}function S(R){var P=R[a];if(P!==null){var T=R[w].read();T!==null&&(R[l]=null,R[a]=null,R[o]=null,P(g(T,!1)))}}function N(R){K.dist.process.nextTick(S,R)}function F(R,P){return function(T,q){R.then(function(){if(P[d]){T(g(void 0,!0));return}P[u](T,q)},q)}}var j=Object.getPrototypeOf(function(){}),k=Object.setPrototypeOf((e={get stream(){return this[w]},next:function(){var P=this,T=this[f];if(T!==null)return Promise.reject(T);if(this[d])return Promise.resolve(g(void 0,!0));if(this[w].destroyed)return new Promise(function(x,re){K.dist.process.nextTick(function(){P[f]?re(P[f]):x(g(void 0,!0))})});var q=this[l],C;if(q)C=new Promise(F(q,this));else{var z=this[w].read();if(z!==null)return Promise.resolve(g(z,!1));C=new Promise(this[u])}return this[l]=C,C}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var P=this;return new Promise(function(T,q){P[w].destroy(null,function(C){if(C){q(C);return}T(g(void 0,!0))})})}),e),j),I=function(P){var T,q=Object.create(k,(T={},t(T,w,{value:P,writable:!0}),t(T,a,{value:null,writable:!0}),t(T,o,{value:null,writable:!0}),t(T,f,{value:null,writable:!0}),t(T,d,{value:P._readableState.endEmitted,writable:!0}),t(T,u,{value:function(z,x){var re=q[w].read();re?(q[l]=null,q[a]=null,q[o]=null,z(g(re,!1))):(q[a]=z,q[o]=x)},writable:!0}),T));return q[l]=null,i(P,function(C){if(C&&C.code!=="ERR_STREAM_PREMATURE_CLOSE"){var z=q[o];z!==null&&(q[l]=null,q[a]=null,q[o]=null,z(C)),q[f]=C;return}var x=q[a];x!==null&&(q[l]=null,q[a]=null,q[o]=null,x(g(void 0,!0))),q[d]=!0}),P.on("readable",N.bind(null,q)),q};return mn=I,mn}var wn,va;function gu(){return va||(va=1,wn=function(){throw new Error("Readable.from is not available in the browser")}),wn}var En,ga;function _f(){if(ga)return En;ga=1,En=x;var e;x.ReadableState=z,Pe.eventsExports.EventEmitter;var t=function(p,$){return p.listeners($).length},r=hf,n=K.bufferPolyfill.Buffer,i=(typeof K.commonjsGlobal<"u"?K.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(h){return n.from(h)}function o(h){return n.isBuffer(h)||h instanceof i}var f=Pe.require$$3,d;f&&f.debuglog?d=f.debuglog("stream"):d=function(){};var l=ru(),u=df,w=yf,g=w.getHighWaterMark,S=It.codes,N=S.ERR_INVALID_ARG_TYPE,F=S.ERR_STREAM_PUSH_AFTER_EOF,j=S.ERR_METHOD_NOT_IMPLEMENTED,k=S.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,I,R,P;Pe.inherits_browserExports(x,r);var T=u.errorOrDestroy,q=["error","close","destroy","pause","resume"];function C(h,p,$){if(typeof h.prependListener=="function")return h.prependListener(p,$);!h._events||!h._events[p]?h.on(p,$):Array.isArray(h._events[p])?h._events[p].unshift($):h._events[p]=[$,h._events[p]]}function z(h,p,$){e=e||qt(),h=h||{},typeof $!="boolean"&&($=p instanceof e),this.objectMode=!!h.objectMode,$&&(this.objectMode=this.objectMode||!!h.readableObjectMode),this.highWaterMark=g(this,h,"readableHighWaterMark",$),this.buffer=new l,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=h.emitClose!==!1,this.autoDestroy=!!h.autoDestroy,this.destroyed=!1,this.defaultEncoding=h.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,h.encoding&&(I||(I=Pe.requireString_decoder().StringDecoder),this.decoder=new I(h.encoding),this.encoding=h.encoding)}function x(h){if(e=e||qt(),!(this instanceof x))return new x(h);var p=this instanceof e;this._readableState=new z(h,this,p),this.readable=!0,h&&(typeof h.read=="function"&&(this._read=h.read),typeof h.destroy=="function"&&(this._destroy=h.destroy)),r.call(this)}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(p){this._readableState&&(this._readableState.destroyed=p)}}),x.prototype.destroy=u.destroy,x.prototype._undestroy=u.undestroy,x.prototype._destroy=function(h,p){p(h)},x.prototype.push=function(h,p){var $=this._readableState,V;return $.objectMode?V=!0:typeof h=="string"&&(p=p||$.defaultEncoding,p!==$.encoding&&(h=n.from(h,p),p=""),V=!0),re(this,h,p,!1,V)},x.prototype.unshift=function(h){return re(this,h,null,!0,!1)};function re(h,p,$,V,se){d("readableAddChunk",p);var oe=h._readableState;if(p===null)oe.reading=!1,ae(h,oe);else{var de;if(se||(de=b(oe,p)),de)T(h,de);else if(oe.objectMode||p&&p.length>0)if(typeof p!="string"&&!oe.objectMode&&Object.getPrototypeOf(p)!==n.prototype&&(p=a(p)),V)oe.endEmitted?T(h,new k):J(h,oe,p,!0);else if(oe.ended)T(h,new F);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!$?(p=oe.decoder.write(p),oe.objectMode||p.length!==0?J(h,oe,p,!1):Z(h,oe)):J(h,oe,p,!1)}else V||(oe.reading=!1,Z(h,oe))}return!oe.ended&&(oe.length<oe.highWaterMark||oe.length===0)}function J(h,p,$,V){p.flowing&&p.length===0&&!p.sync?(p.awaitDrain=0,h.emit("data",$)):(p.length+=p.objectMode?1:$.length,V?p.buffer.unshift($):p.buffer.push($),p.needReadable&&ue(h)),Z(h,p)}function b(h,p){var $;return!o(p)&&typeof p!="string"&&p!==void 0&&!h.objectMode&&($=new N("chunk",["string","Buffer","Uint8Array"],p)),$}x.prototype.isPaused=function(){return this._readableState.flowing===!1},x.prototype.setEncoding=function(h){I||(I=Pe.requireString_decoder().StringDecoder);var p=new I(h);this._readableState.decoder=p,this._readableState.encoding=this._readableState.decoder.encoding;for(var $=this._readableState.buffer.head,V="";$!==null;)V+=p.write($.data),$=$.next;return this._readableState.buffer.clear(),V!==""&&this._readableState.buffer.push(V),this._readableState.length=V.length,this};var B=1073741824;function Q(h){return h>=B?h=B:(h--,h|=h>>>1,h|=h>>>2,h|=h>>>4,h|=h>>>8,h|=h>>>16,h++),h}function ne(h,p){return h<=0||p.length===0&&p.ended?0:p.objectMode?1:h!==h?p.flowing&&p.length?p.buffer.head.data.length:p.length:(h>p.highWaterMark&&(p.highWaterMark=Q(h)),h<=p.length?h:p.ended?p.length:(p.needReadable=!0,0))}x.prototype.read=function(h){d("read",h),h=parseInt(h,10);var p=this._readableState,$=h;if(h!==0&&(p.emittedReadable=!1),h===0&&p.needReadable&&((p.highWaterMark!==0?p.length>=p.highWaterMark:p.length>0)||p.ended))return d("read: emitReadable",p.length,p.ended),p.length===0&&p.ended?m(this):ue(this),null;if(h=ne(h,p),h===0&&p.ended)return p.length===0&&m(this),null;var V=p.needReadable;d("need readable",V),(p.length===0||p.length-h<p.highWaterMark)&&(V=!0,d("length less than watermark",V)),p.ended||p.reading?(V=!1,d("reading or ended",V)):V&&(d("do read"),p.reading=!0,p.sync=!0,p.length===0&&(p.needReadable=!0),this._read(p.highWaterMark),p.sync=!1,p.reading||(h=ne($,p)));var se;return h>0?se=y(h,p):se=null,se===null?(p.needReadable=p.length<=p.highWaterMark,h=0):(p.length-=h,p.awaitDrain=0),p.length===0&&(p.ended||(p.needReadable=!0),$!==h&&p.ended&&m(this)),se!==null&&this.emit("data",se),se};function ae(h,p){if(d("onEofChunk"),!p.ended){if(p.decoder){var $=p.decoder.end();$&&$.length&&(p.buffer.push($),p.length+=p.objectMode?1:$.length)}p.ended=!0,p.sync?ue(h):(p.needReadable=!1,p.emittedReadable||(p.emittedReadable=!0,ie(h)))}}function ue(h){var p=h._readableState;d("emitReadable",p.needReadable,p.emittedReadable),p.needReadable=!1,p.emittedReadable||(d("emitReadable",p.flowing),p.emittedReadable=!0,K.dist.process.nextTick(ie,h))}function ie(h){var p=h._readableState;d("emitReadable_",p.destroyed,p.length,p.ended),!p.destroyed&&(p.length||p.ended)&&(h.emit("readable"),p.emittedReadable=!1),p.needReadable=!p.flowing&&!p.ended&&p.length<=p.highWaterMark,c(h)}function Z(h,p){p.readingMore||(p.readingMore=!0,K.dist.process.nextTick(D,h,p))}function D(h,p){for(;!p.reading&&!p.ended&&(p.length<p.highWaterMark||p.flowing&&p.length===0);){var $=p.length;if(d("maybeReadMore read 0"),h.read(0),$===p.length)break}p.readingMore=!1}x.prototype._read=function(h){T(this,new j("_read()"))},x.prototype.pipe=function(h,p){var $=this,V=this._readableState;switch(V.pipesCount){case 0:V.pipes=h;break;case 1:V.pipes=[V.pipes,h];break;default:V.pipes.push(h);break}V.pipesCount+=1,d("pipe count=%d opts=%j",V.pipesCount,p);var se=(!p||p.end!==!1)&&h!==K.dist.process.stdout&&h!==K.dist.process.stderr,oe=se?_e:G;V.endEmitted?K.dist.process.nextTick(oe):$.once("end",oe),h.on("unpipe",de);function de(ee,te){d("onunpipe"),ee===$&&te&&te.hasUnpiped===!1&&(te.hasUnpiped=!0,Te())}function _e(){d("onend"),h.end()}var H=W($);h.on("drain",H);var je=!1;function Te(){d("cleanup"),h.removeListener("close",s),h.removeListener("finish",O),h.removeListener("drain",H),h.removeListener("error",X),h.removeListener("unpipe",de),$.removeListener("end",_e),$.removeListener("end",G),$.removeListener("data",L),je=!0,V.awaitDrain&&(!h._writableState||h._writableState.needDrain)&&H()}$.on("data",L);function L(ee){d("ondata");var te=h.write(ee);d("dest.write",te),te===!1&&((V.pipesCount===1&&V.pipes===h||V.pipesCount>1&&U(V.pipes,h)!==-1)&&!je&&(d("false write response, pause",V.awaitDrain),V.awaitDrain++),$.pause())}function X(ee){d("onerror",ee),G(),h.removeListener("error",X),t(h,"error")===0&&T(h,ee)}C(h,"error",X);function s(){h.removeListener("finish",O),G()}h.once("close",s);function O(){d("onfinish"),h.removeListener("close",s),G()}h.once("finish",O);function G(){d("unpipe"),$.unpipe(h)}return h.emit("pipe",$),V.flowing||(d("pipe resume"),$.resume()),h};function W(h){return function(){var $=h._readableState;d("pipeOnDrain",$.awaitDrain),$.awaitDrain&&$.awaitDrain--,$.awaitDrain===0&&t(h,"data")&&($.flowing=!0,c(h))}}x.prototype.unpipe=function(h){var p=this._readableState,$={hasUnpiped:!1};if(p.pipesCount===0)return this;if(p.pipesCount===1)return h&&h!==p.pipes?this:(h||(h=p.pipes),p.pipes=null,p.pipesCount=0,p.flowing=!1,h&&h.emit("unpipe",this,$),this);if(!h){var V=p.pipes,se=p.pipesCount;p.pipes=null,p.pipesCount=0,p.flowing=!1;for(var oe=0;oe<se;oe++)V[oe].emit("unpipe",this,{hasUnpiped:!1});return this}var de=U(p.pipes,h);return de===-1?this:(p.pipes.splice(de,1),p.pipesCount-=1,p.pipesCount===1&&(p.pipes=p.pipes[0]),h.emit("unpipe",this,$),this)},x.prototype.on=function(h,p){var $=r.prototype.on.call(this,h,p),V=this._readableState;return h==="data"?(V.readableListening=this.listenerCount("readable")>0,V.flowing!==!1&&this.resume()):h==="readable"&&!V.endEmitted&&!V.readableListening&&(V.readableListening=V.needReadable=!0,V.flowing=!1,V.emittedReadable=!1,d("on readable",V.length,V.reading),V.length?ue(this):V.reading||K.dist.process.nextTick(A,this)),$},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(h,p){var $=r.prototype.removeListener.call(this,h,p);return h==="readable"&&K.dist.process.nextTick(_,this),$},x.prototype.removeAllListeners=function(h){var p=r.prototype.removeAllListeners.apply(this,arguments);return(h==="readable"||h===void 0)&&K.dist.process.nextTick(_,this),p};function _(h){var p=h._readableState;p.readableListening=h.listenerCount("readable")>0,p.resumeScheduled&&!p.paused?p.flowing=!0:h.listenerCount("data")>0&&h.resume()}function A(h){d("readable nexttick read 0"),h.read(0)}x.prototype.resume=function(){var h=this._readableState;return h.flowing||(d("resume"),h.flowing=!h.readableListening,v(this,h)),h.paused=!1,this};function v(h,p){p.resumeScheduled||(p.resumeScheduled=!0,K.dist.process.nextTick(E,h,p))}function E(h,p){d("resume",p.reading),p.reading||h.read(0),p.resumeScheduled=!1,h.emit("resume"),c(h),p.flowing&&!p.reading&&h.read(0)}x.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function c(h){var p=h._readableState;for(d("flow",p.flowing);p.flowing&&h.read()!==null;);}x.prototype.wrap=function(h){var p=this,$=this._readableState,V=!1;h.on("end",function(){if(d("wrapped end"),$.decoder&&!$.ended){var de=$.decoder.end();de&&de.length&&p.push(de)}p.push(null)}),h.on("data",function(de){if(d("wrapped data"),$.decoder&&(de=$.decoder.write(de)),!($.objectMode&&de==null)&&!(!$.objectMode&&(!de||!de.length))){var _e=p.push(de);_e||(V=!0,h.pause())}});for(var se in h)this[se]===void 0&&typeof h[se]=="function"&&(this[se]=function(_e){return function(){return h[_e].apply(h,arguments)}}(se));for(var oe=0;oe<q.length;oe++)h.on(q[oe],this.emit.bind(this,q[oe]));return this._read=function(de){d("wrapped _read",de),V&&(V=!1,h.resume())},this},typeof Symbol=="function"&&(x.prototype[Symbol.asyncIterator]=function(){return R===void 0&&(R=vu()),R(this)}),Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(p){this._readableState&&(this._readableState.flowing=p)}}),x._fromList=y,Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function y(h,p){if(p.length===0)return null;var $;return p.objectMode?$=p.buffer.shift():!h||h>=p.length?(p.decoder?$=p.buffer.join(""):p.buffer.length===1?$=p.buffer.first():$=p.buffer.concat(p.length),p.buffer.clear()):$=p.buffer.consume(h,p.decoder),$}function m(h){var p=h._readableState;d("endReadable",p.endEmitted),p.endEmitted||(p.ended=!0,K.dist.process.nextTick(M,p,h))}function M(h,p){if(d("endReadableNT",h.endEmitted,h.length),!h.endEmitted&&h.length===0&&(h.endEmitted=!0,p.readable=!1,p.emit("end"),h.autoDestroy)){var $=p._writableState;(!$||$.autoDestroy&&$.finished)&&p.destroy()}}typeof Symbol=="function"&&(x.from=function(h,p){return P===void 0&&(P=gu()),P(x,h,p)});function U(h,p){for(var $=0,V=h.length;$<V;$++)if(h[$]===p)return $;return-1}return En}var bf=ot,Qr=It.codes,_u=Qr.ERR_METHOD_NOT_IMPLEMENTED,bu=Qr.ERR_MULTIPLE_CALLBACK,mu=Qr.ERR_TRANSFORM_ALREADY_TRANSFORMING,wu=Qr.ERR_TRANSFORM_WITH_LENGTH_0,en=qt();Pe.inherits_browserExports(ot,en);function Eu(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new bu);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function ot(e){if(!(this instanceof ot))return new ot(e);en.call(this,e),this._transformState={afterTransform:Eu.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",Su)}function Su(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){_a(e,t,r)}):_a(this,null,null)}ot.prototype.push=function(e,t){return this._transformState.needTransform=!1,en.prototype.push.call(this,e,t)};ot.prototype._transform=function(e,t,r){r(new _u("_transform()"))};ot.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};ot.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};ot.prototype._destroy=function(e,t){en.prototype._destroy.call(this,e,function(r){t(r)})};function _a(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new wu;if(e._transformState.transforming)throw new mu;return e.push(null)}var Ru=ar,mf=bf;Pe.inherits_browserExports(ar,mf);function ar(e){if(!(this instanceof ar))return new ar(e);mf.call(this,e)}ar.prototype._transform=function(e,t,r){r(null,e)};var Sn;function Au(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var wf=It.codes,Ou=wf.ERR_MISSING_ARGS,Tu=wf.ERR_STREAM_DESTROYED;function ba(e){if(e)throw e}function Iu(e){return e.setHeader&&typeof e.abort=="function"}function Pu(e,t,r,n){n=Au(n);var i=!1;e.on("close",function(){i=!0}),Sn===void 0&&(Sn=zi),Sn(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var a=!1;return function(o){if(!i&&!a){if(a=!0,Iu(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new Tu("pipe"))}}}function ma(e){e()}function Nu(e,t){return e.pipe(t)}function Du(e){return!e.length||typeof e[e.length-1]!="function"?ba:e.pop()}function Lu(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Du(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Ou("streams");var i,a=t.map(function(o,f){var d=f<t.length-1,l=f>0;return Pu(o,d,l,function(u){i||(i=u),u&&a.forEach(ma),!d&&(a.forEach(ma),n(i))})});return t.reduce(Nu)}var Mu=Lu;(function(e,t){t=e.exports=_f(),t.Stream=t,t.Readable=t,t.Writable=vf(),t.Duplex=qt(),t.Transform=bf,t.PassThrough=Ru,t.finished=zi,t.pipeline=Mu})(wi,wi.exports);var Ef=wi.exports,wa=qi,ku=Pe.inherits_browserExports,Sf=Ef,mr=Jr.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},Zi=Jr.IncomingMessage=function(e,t,r,n){var i=this;if(Sf.Readable.call(i),i._mode=r,i.headers={},i.rawHeaders=[],i.trailers={},i.rawTrailers=[],i.on("end",function(){K.dist.process.nextTick(function(){i.emit("close")})}),r==="fetch"){let u=function(){o.read().then(function(w){if(!i._destroyed){if(n(w.done),w.done){i.push(null);return}i.push(K.dist.Buffer.from(w.value)),u()}}).catch(function(w){n(!0),i._destroyed||i.emit("error",w)})};if(i._fetchResponse=t,i.url=t.url,i.statusCode=t.status,i.statusMessage=t.statusText,t.headers.forEach(function(w,g){i.headers[g.toLowerCase()]=w,i.rawHeaders.push(g,w)}),wa.writableStream){var a=new WritableStream({write:function(w){return n(!1),new Promise(function(g,S){i._destroyed?S():i.push(K.dist.Buffer.from(w))?g():i._resumeFetch=g})},close:function(){n(!0),i._destroyed||i.push(null)},abort:function(w){n(!0),i._destroyed||i.emit("error",w)}});try{t.body.pipeTo(a).catch(function(w){n(!0),i._destroyed||i.emit("error",w)});return}catch{}}var o=t.body.getReader();u()}else{i._xhr=e,i._pos=0,i.url=e.responseURL,i.statusCode=e.status,i.statusMessage=e.statusText;var f=e.getAllResponseHeaders().split(/\r?\n/);if(f.forEach(function(u){var w=u.match(/^([^:]+):\s*(.*)/);if(w){var g=w[1].toLowerCase();g==="set-cookie"?(i.headers[g]===void 0&&(i.headers[g]=[]),i.headers[g].push(w[2])):i.headers[g]!==void 0?i.headers[g]+=", "+w[2]:i.headers[g]=w[2],i.rawHeaders.push(w[1],w[2])}}),i._charset="x-user-defined",!wa.overrideMimeType){var d=i.rawHeaders["mime-type"];if(d){var l=d.match(/;\s*charset=([^;])(;|$)/);l&&(i._charset=l[1].toLowerCase())}i._charset||(i._charset="utf-8")}}};ku(Zi,Sf.Readable);Zi.prototype._read=function(){var e=this,t=e._resumeFetch;t&&(e._resumeFetch=null,t())};Zi.prototype._onXHRProgress=function(e){var t=this,r=t._xhr,n=null;switch(t._mode){case"text":if(n=r.responseText,n.length>t._pos){var i=n.substr(t._pos);if(t._charset==="x-user-defined"){for(var a=K.dist.Buffer.alloc(i.length),o=0;o<i.length;o++)a[o]=i.charCodeAt(o)&255;t.push(a)}else t.push(i,t._charset);t._pos=n.length}break;case"arraybuffer":if(r.readyState!==mr.DONE||!r.response)break;n=r.response,t.push(K.dist.Buffer.from(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=r.response,r.readyState!==mr.LOADING||!n)break;t.push(K.dist.Buffer.from(new Uint8Array(n)));break;case"ms-stream":if(n=r.response,r.readyState!==mr.LOADING)break;var f=new K.commonjsGlobal.MSStreamReader;f.onprogress=function(){f.result.byteLength>t._pos&&(t.push(K.dist.Buffer.from(new Uint8Array(f.result.slice(t._pos)))),t._pos=f.result.byteLength)},f.onload=function(){e(!0),t.push(null)},f.readAsArrayBuffer(n);break}t._xhr.readyState===mr.DONE&&t._mode!=="ms-stream"&&(e(!0),t.push(null))};var mt=qi,Fu=Pe.inherits_browserExports,Rf=Jr,Hi=Ef,ju=Rf.IncomingMessage,Ea=Rf.readyStates;function xu(e,t){return mt.fetch&&t?"fetch":mt.mozchunkedarraybuffer?"moz-chunked-arraybuffer":mt.msstream?"ms-stream":mt.arraybuffer&&e?"arraybuffer":"text"}var Le=cf.exports=function(e){var t=this;Hi.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+K.dist.Buffer.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(i){t.setHeader(i,e.headers[i])});var r,n=!0;if(e.mode==="disable-fetch"||"requestTimeout"in e&&!mt.abortController)n=!1,r=!0;else if(e.mode==="prefer-streaming")r=!1;else if(e.mode==="allow-wrong-content-type")r=!mt.overrideMimeType;else if(!e.mode||e.mode==="default"||e.mode==="prefer-fast")r=!0;else throw new Error("Invalid value for opts.mode");t._mode=xu(r,n),t._fetchTimer=null,t._socketTimeout=null,t._socketTimer=null,t.on("finish",function(){t._onFinish()})};Fu(Le,Hi.Writable);Le.prototype.setHeader=function(e,t){var r=this,n=e.toLowerCase();Cu.indexOf(n)===-1&&(r._headers[n]={name:e,value:t})};Le.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null};Le.prototype.removeHeader=function(e){var t=this;delete t._headers[e.toLowerCase()]};Le.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&t.timeout!==0&&e.setTimeout(t.timeout);var r=e._headers,n=null;t.method!=="GET"&&t.method!=="HEAD"&&(n=new Blob(e._body,{type:(r["content-type"]||{}).value||""}));var i=[];if(Object.keys(r).forEach(function(d){var l=r[d].name,u=r[d].value;Array.isArray(u)?u.forEach(function(w){i.push([l,w])}):i.push([l,u])}),e._mode==="fetch"){var a=null;if(mt.abortController){var o=new AbortController;a=o.signal,e._fetchAbortController=o,"requestTimeout"in t&&t.requestTimeout!==0&&(e._fetchTimer=K.commonjsGlobal.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},t.requestTimeout))}K.commonjsGlobal.fetch(e._opts.url,{method:e._opts.method,headers:i,body:n||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:a}).then(function(d){e._fetchResponse=d,e._resetTimers(!1),e._connect()},function(d){e._resetTimers(!0),e._destroyed||e.emit("error",d)})}else{var f=e._xhr=new K.commonjsGlobal.XMLHttpRequest;try{f.open(e._opts.method,e._opts.url,!0)}catch(d){K.dist.process.nextTick(function(){e.emit("error",d)});return}"responseType"in f&&(f.responseType=e._mode),"withCredentials"in f&&(f.withCredentials=!!t.withCredentials),e._mode==="text"&&"overrideMimeType"in f&&f.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(f.timeout=t.requestTimeout,f.ontimeout=function(){e.emit("requestTimeout")}),i.forEach(function(d){f.setRequestHeader(d[0],d[1])}),e._response=null,f.onreadystatechange=function(){switch(f.readyState){case Ea.LOADING:case Ea.DONE:e._onXHRProgress();break}},e._mode==="moz-chunked-arraybuffer"&&(f.onprogress=function(){e._onXHRProgress()}),f.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{f.send(n)}catch(d){K.dist.process.nextTick(function(){e.emit("error",d)});return}}}};function $u(e){try{var t=e.status;return t!==null&&t!==0}catch{return!1}}Le.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),!(!$u(e._xhr)||e._destroyed)&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))};Le.prototype._connect=function(){var e=this;e._destroyed||(e._response=new ju(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))};Le.prototype._write=function(e,t,r){var n=this;n._body.push(e),r()};Le.prototype._resetTimers=function(e){var t=this;K.commonjsGlobal.clearTimeout(t._socketTimer),t._socketTimer=null,e?(K.commonjsGlobal.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=K.commonjsGlobal.setTimeout(function(){t.emit("timeout")},t._socketTimeout))};Le.prototype.abort=Le.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)};Le.prototype.end=function(e,t,r){var n=this;typeof e=="function"&&(r=e,e=void 0),Hi.Writable.prototype.end.call(n,e,t,r)};Le.prototype.setTimeout=function(e,t){var r=this;t&&r.once("timeout",t),r._socketTimeout=e,r._resetTimers(!1)};Le.prototype.flushHeaders=function(){};Le.prototype.setNoDelay=function(){};Le.prototype.setSocketKeepAlive=function(){};var Cu=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],Bu=cf.exports,Uu=zu,qu=Object.prototype.hasOwnProperty;function zu(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var n in r)qu.call(r,n)&&(e[n]=r[n])}return e}var Zu={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"},Si={exports:{}},Ur={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */Ur.exports;(function(e,t){(function(r){var n=t&&!t.nodeType&&t,i=e&&!e.nodeType&&e,a=typeof K.commonjsGlobal=="object"&&K.commonjsGlobal;(a.global===a||a.window===a||a.self===a)&&(r=a);var o,f=2147483647,d=36,l=1,u=26,w=38,g=700,S=72,N=128,F="-",j=/^xn--/,k=/[^\x20-\x7E]/,I=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},P=d-l,T=Math.floor,q=String.fromCharCode,C;function z(D){throw new RangeError(R[D])}function x(D,W){for(var _=D.length,A=[];_--;)A[_]=W(D[_]);return A}function re(D,W){var _=D.split("@"),A="";_.length>1&&(A=_[0]+"@",D=_[1]),D=D.replace(I,".");var v=D.split("."),E=x(v,W).join(".");return A+E}function J(D){for(var W=[],_=0,A=D.length,v,E;_<A;)v=D.charCodeAt(_++),v>=55296&&v<=56319&&_<A?(E=D.charCodeAt(_++),(E&64512)==56320?W.push(((v&1023)<<10)+(E&1023)+65536):(W.push(v),_--)):W.push(v);return W}function b(D){return x(D,function(W){var _="";return W>65535&&(W-=65536,_+=q(W>>>10&1023|55296),W=56320|W&1023),_+=q(W),_}).join("")}function B(D){return D-48<10?D-22:D-65<26?D-65:D-97<26?D-97:d}function Q(D,W){return D+22+75*(D<26)-((W!=0)<<5)}function ne(D,W,_){var A=0;for(D=_?T(D/g):D>>1,D+=T(D/W);D>P*u>>1;A+=d)D=T(D/P);return T(A+(P+1)*D/(D+w))}function ae(D){var W=[],_=D.length,A,v=0,E=N,c=S,y,m,M,U,h,p,$,V,se;for(y=D.lastIndexOf(F),y<0&&(y=0),m=0;m<y;++m)D.charCodeAt(m)>=128&&z("not-basic"),W.push(D.charCodeAt(m));for(M=y>0?y+1:0;M<_;){for(U=v,h=1,p=d;M>=_&&z("invalid-input"),$=B(D.charCodeAt(M++)),($>=d||$>T((f-v)/h))&&z("overflow"),v+=$*h,V=p<=c?l:p>=c+u?u:p-c,!($<V);p+=d)se=d-V,h>T(f/se)&&z("overflow"),h*=se;A=W.length+1,c=ne(v-U,A,U==0),T(v/A)>f-E&&z("overflow"),E+=T(v/A),v%=A,W.splice(v++,0,E)}return b(W)}function ue(D){var W,_,A,v,E,c,y,m,M,U,h,p=[],$,V,se,oe;for(D=J(D),$=D.length,W=N,_=0,E=S,c=0;c<$;++c)h=D[c],h<128&&p.push(q(h));for(A=v=p.length,v&&p.push(F);A<$;){for(y=f,c=0;c<$;++c)h=D[c],h>=W&&h<y&&(y=h);for(V=A+1,y-W>T((f-_)/V)&&z("overflow"),_+=(y-W)*V,W=y,c=0;c<$;++c)if(h=D[c],h<W&&++_>f&&z("overflow"),h==W){for(m=_,M=d;U=M<=E?l:M>=E+u?u:M-E,!(m<U);M+=d)oe=m-U,se=d-U,p.push(q(Q(U+oe%se,0))),m=T(oe/se);p.push(q(Q(m,0))),E=ne(_,V,A==v),_=0,++A}++_,++W}return p.join("")}function ie(D){return re(D,function(W){return j.test(W)?ae(W.slice(4).toLowerCase()):W})}function Z(D){return re(D,function(W){return k.test(W)?"xn--"+ue(W):W})}if(o={version:"1.4.1",ucs2:{decode:J,encode:b},decode:ae,encode:ue,toASCII:Z,toUnicode:ie},n&&i)if(e.exports==n)i.exports=o;else for(C in o)o.hasOwnProperty(C)&&(n[C]=o[C]);else r.punycode=o})(K.commonjsGlobal)})(Ur,Ur.exports);var Af=Ur.exports,ft=TypeError,Wi=typeof Map=="function"&&Map.prototype,Rn=Object.getOwnPropertyDescriptor&&Wi?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,qr=Wi&&Rn&&typeof Rn.get=="function"?Rn.get:null,Sa=Wi&&Map.prototype.forEach,Gi=typeof Set=="function"&&Set.prototype,An=Object.getOwnPropertyDescriptor&&Gi?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,zr=Gi&&An&&typeof An.get=="function"?An.get:null,Ra=Gi&&Set.prototype.forEach,Hu=typeof WeakMap=="function"&&WeakMap.prototype,Qt=Hu?WeakMap.prototype.has:null,Wu=typeof WeakSet=="function"&&WeakSet.prototype,er=Wu?WeakSet.prototype.has:null,Gu=typeof WeakRef=="function"&&WeakRef.prototype,Aa=Gu?WeakRef.prototype.deref:null,Vu=Boolean.prototype.valueOf,Ku=Object.prototype.toString,Yu=Function.prototype.toString,Xu=String.prototype.match,Vi=String.prototype.slice,ht=String.prototype.replace,Ju=String.prototype.toUpperCase,Oa=String.prototype.toLowerCase,Of=RegExp.prototype.test,Ta=Array.prototype.concat,Qe=Array.prototype.join,Qu=Array.prototype.slice,Ia=Math.floor,Ri=typeof BigInt=="function"?BigInt.prototype.valueOf:null,On=Object.getOwnPropertySymbols,Ai=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,zt=typeof Symbol=="function"&&typeof Symbol.iterator=="object",tr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===zt||!0)?Symbol.toStringTag:null,Tf=Object.prototype.propertyIsEnumerable,Pa=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Na(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Of.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-Ia(-e):Ia(e);if(n!==e){var i=String(n),a=Vi.call(t,i.length+1);return ht.call(i,r,"$&_")+"."+ht.call(ht.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ht.call(t,r,"$&_")}var Oi=Pe.require$$3,Da=Oi.custom,La=Nf(Da)?Da:null,If={__proto__:null,double:'"',single:"'"},es={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},tn=function e(t,r,n,i){var a=r||{};if(it(a,"quoteStyle")&&!it(If,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(it(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=it(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(it(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(it(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Lf(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var d=String(t);return f?Na(t,d):d}if(typeof t=="bigint"){var l=String(t)+"n";return f?Na(t,l):l}var u=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=u&&u>0&&typeof t=="object")return Ti(t)?"[Array]":"[Object]";var w=_s(a,n);if(typeof i>"u")i=[];else if(Df(i,t)>=0)return"[Circular]";function g(B,Q,ne){if(Q&&(i=Qu.call(i),i.push(Q)),ne){var ae={depth:a.depth};return it(a,"quoteStyle")&&(ae.quoteStyle=a.quoteStyle),e(B,ae,n+1,i)}return e(B,a,n+1,i)}if(typeof t=="function"&&!Ma(t)){var S=us(t),N=wr(t,g);return"[Function"+(S?": "+S:" (anonymous)")+"]"+(N.length>0?" { "+Qe.call(N,", ")+" }":"")}if(Nf(t)){var F=zt?ht.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ai.call(t);return typeof t=="object"&&!zt?Yt(F):F}if(ys(t)){for(var j="<"+Oa.call(String(t.nodeName)),k=t.attributes||[],I=0;I<k.length;I++)j+=" "+k[I].name+"="+Pf(ts(k[I].value),"double",a);return j+=">",t.childNodes&&t.childNodes.length&&(j+="..."),j+="</"+Oa.call(String(t.nodeName))+">",j}if(Ti(t)){if(t.length===0)return"[]";var R=wr(t,g);return w&&!gs(R)?"["+Ii(R,w)+"]":"[ "+Qe.call(R,", ")+" ]"}if(ns(t)){var P=wr(t,g);return!("cause"in Error.prototype)&&"cause"in t&&!Tf.call(t,"cause")?"{ ["+String(t)+"] "+Qe.call(Ta.call("[cause]: "+g(t.cause),P),", ")+" }":P.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Qe.call(P,", ")+" }"}if(typeof t=="object"&&o){if(La&&typeof t[La]=="function"&&Oi)return Oi(t,{depth:u-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(ss(t)){var T=[];return Sa&&Sa.call(t,function(B,Q){T.push(g(Q,t,!0)+" => "+g(B,t))}),ka("Map",qr.call(t),T,w)}if(ds(t)){var q=[];return Ra&&Ra.call(t,function(B){q.push(g(B,t))}),ka("Set",zr.call(t),q,w)}if(cs(t))return Tn("WeakMap");if(ps(t))return Tn("WeakSet");if(hs(t))return Tn("WeakRef");if(as(t))return Yt(g(Number(t)));if(fs(t))return Yt(g(Ri.call(t)));if(os(t))return Yt(Vu.call(t));if(is(t))return Yt(g(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof K.commonjsGlobal<"u"&&t===K.commonjsGlobal)return"{ [object globalThis] }";if(!rs(t)&&!Ma(t)){var C=wr(t,g),z=Pa?Pa(t)===Object.prototype:t instanceof Object||t.constructor===Object,x=t instanceof Object?"":"null prototype",re=!z&&tr&&Object(t)===t&&tr in t?Vi.call(gt(t),8,-1):x?"Object":"",J=z||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",b=J+(re||x?"["+Qe.call(Ta.call([],re||[],x||[]),": ")+"] ":"");return C.length===0?b+"{}":w?b+"{"+Ii(C,w)+"}":b+"{ "+Qe.call(C,", ")+" }"}return String(t)};function Pf(e,t,r){var n=r.quoteStyle||t,i=If[n];return i+e+i}function ts(e){return ht.call(String(e),/"/g,""")}function Pt(e){return!tr||!(typeof e=="object"&&(tr in e||typeof e[tr]<"u"))}function Ti(e){return gt(e)==="[object Array]"&&Pt(e)}function rs(e){return gt(e)==="[object Date]"&&Pt(e)}function Ma(e){return gt(e)==="[object RegExp]"&&Pt(e)}function ns(e){return gt(e)==="[object Error]"&&Pt(e)}function is(e){return gt(e)==="[object String]"&&Pt(e)}function as(e){return gt(e)==="[object Number]"&&Pt(e)}function os(e){return gt(e)==="[object Boolean]"&&Pt(e)}function Nf(e){if(zt)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Ai)return!1;try{return Ai.call(e),!0}catch{}return!1}function fs(e){if(!e||typeof e!="object"||!Ri)return!1;try{return Ri.call(e),!0}catch{}return!1}var ls=Object.prototype.hasOwnProperty||function(e){return e in this};function it(e,t){return ls.call(e,t)}function gt(e){return Ku.call(e)}function us(e){if(e.name)return e.name;var t=Xu.call(Yu.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Df(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function ss(e){if(!qr||!e||typeof e!="object")return!1;try{qr.call(e);try{zr.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function cs(e){if(!Qt||!e||typeof e!="object")return!1;try{Qt.call(e,Qt);try{er.call(e,er)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function hs(e){if(!Aa||!e||typeof e!="object")return!1;try{return Aa.call(e),!0}catch{}return!1}function ds(e){if(!zr||!e||typeof e!="object")return!1;try{zr.call(e);try{qr.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function ps(e){if(!er||!e||typeof e!="object")return!1;try{er.call(e,er);try{Qt.call(e,Qt)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function ys(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Lf(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Lf(Vi.call(e,0,t.maxStringLength),t)+n}var i=es[t.quoteStyle||"single"];i.lastIndex=0;var a=ht.call(ht.call(e,i,"\\$1"),/[\x00-\x1f]/g,vs);return Pf(a,"single",t)}function vs(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+Ju.call(t.toString(16))}function Yt(e){return"Object("+e+")"}function Tn(e){return e+" { ? }"}function ka(e,t,r,n){var i=n?Ii(r,n):Qe.call(r,", ");return e+" ("+t+") {"+i+"}"}function gs(e){for(var t=0;t<e.length;t++)if(Df(e[t],`
|
|
1
|
+
"use strict";const K=require("./address-DnSRsubO.js"),Pe=require("./index-S_dcknx7.js");var Xr={},cf={exports:{}},qi={};(function(e){e.fetch=i(K.commonjsGlobal.fetch)&&i(K.commonjsGlobal.ReadableStream),e.writableStream=i(K.commonjsGlobal.WritableStream),e.abortController=i(K.commonjsGlobal.AbortController);var t;function r(){if(t!==void 0)return t;if(K.commonjsGlobal.XMLHttpRequest){t=new K.commonjsGlobal.XMLHttpRequest;try{t.open("GET",K.commonjsGlobal.XDomainRequest?"/":"https://example.com")}catch{t=null}}else t=null;return t}function n(a){var o=r();if(!o)return!1;try{return o.responseType=a,o.responseType===a}catch{}return!1}e.arraybuffer=e.fetch||n("arraybuffer"),e.msstream=!e.fetch&&n("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&n("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(r()?i(r().overrideMimeType):!1);function i(a){return typeof a=="function"}t=null})(qi);var Jr={},wi={exports:{}},hf=Pe.eventsExports.EventEmitter,gn,ua;function ru(){if(ua)return gn;ua=1;function e(N,F){var j=Object.keys(N);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(N);F&&(k=k.filter(function(I){return Object.getOwnPropertyDescriptor(N,I).enumerable})),j.push.apply(j,k)}return j}function t(N){for(var F=1;F<arguments.length;F++){var j=arguments[F]!=null?arguments[F]:{};F%2?e(Object(j),!0).forEach(function(k){r(N,k,j[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(j)):e(Object(j)).forEach(function(k){Object.defineProperty(N,k,Object.getOwnPropertyDescriptor(j,k))})}return N}function r(N,F,j){return F=o(F),F in N?Object.defineProperty(N,F,{value:j,enumerable:!0,configurable:!0,writable:!0}):N[F]=j,N}function n(N,F){if(!(N instanceof F))throw new TypeError("Cannot call a class as a function")}function i(N,F){for(var j=0;j<F.length;j++){var k=F[j];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(N,o(k.key),k)}}function a(N,F,j){return F&&i(N.prototype,F),Object.defineProperty(N,"prototype",{writable:!1}),N}function o(N){var F=f(N,"string");return typeof F=="symbol"?F:String(F)}function f(N,F){if(typeof N!="object"||N===null)return N;var j=N[Symbol.toPrimitive];if(j!==void 0){var k=j.call(N,F);if(typeof k!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(N)}var d=K.bufferPolyfill,l=d.Buffer,u=Pe.require$$3,w=u.inspect,g=w&&w.custom||"inspect";function S(N,F,j){l.prototype.copy.call(N,F,j)}return gn=function(){function N(){n(this,N),this.head=null,this.tail=null,this.length=0}return a(N,[{key:"push",value:function(j){var k={data:j,next:null};this.length>0?this.tail.next=k:this.head=k,this.tail=k,++this.length}},{key:"unshift",value:function(j){var k={data:j,next:this.head};this.length===0&&(this.tail=k),this.head=k,++this.length}},{key:"shift",value:function(){if(this.length!==0){var j=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,j}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(j){if(this.length===0)return"";for(var k=this.head,I=""+k.data;k=k.next;)I+=j+k.data;return I}},{key:"concat",value:function(j){if(this.length===0)return l.alloc(0);for(var k=l.allocUnsafe(j>>>0),I=this.head,R=0;I;)S(I.data,k,R),R+=I.data.length,I=I.next;return k}},{key:"consume",value:function(j,k){var I;return j<this.head.data.length?(I=this.head.data.slice(0,j),this.head.data=this.head.data.slice(j)):j===this.head.data.length?I=this.shift():I=k?this._getString(j):this._getBuffer(j),I}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(j){var k=this.head,I=1,R=k.data;for(j-=R.length;k=k.next;){var P=k.data,T=j>P.length?P.length:j;if(T===P.length?R+=P:R+=P.slice(0,j),j-=T,j===0){T===P.length?(++I,k.next?this.head=k.next:this.head=this.tail=null):(this.head=k,k.data=P.slice(T));break}++I}return this.length-=I,R}},{key:"_getBuffer",value:function(j){var k=l.allocUnsafe(j),I=this.head,R=1;for(I.data.copy(k),j-=I.data.length;I=I.next;){var P=I.data,T=j>P.length?P.length:j;if(P.copy(k,k.length-j,0,T),j-=T,j===0){T===P.length?(++R,I.next?this.head=I.next:this.head=this.tail=null):(this.head=I,I.data=P.slice(T));break}++R}return this.length-=R,k}},{key:g,value:function(j,k){return w(this,t(t({},k),{},{depth:0,customInspect:!1}))}}]),N}(),gn}function nu(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,K.dist.process.nextTick(Ei,this,e)):K.dist.process.nextTick(Ei,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?r._writableState?r._writableState.errorEmitted?K.dist.process.nextTick(Ir,r):(r._writableState.errorEmitted=!0,K.dist.process.nextTick(sa,r,a)):K.dist.process.nextTick(sa,r,a):t?(K.dist.process.nextTick(Ir,r),t(a)):K.dist.process.nextTick(Ir,r)}),this)}function sa(e,t){Ei(e,t),Ir(e)}function Ir(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function iu(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Ei(e,t){e.emit("error",t)}function au(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}var df={destroy:nu,undestroy:iu,errorOrDestroy:au},It={};function ou(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var pf={};function Be(e,t,r){r||(r=Error);function n(a,o,f){return typeof t=="string"?t:t(a,o,f)}var i=function(a){ou(o,a);function o(f,d,l){return a.call(this,n(f,d,l))||this}return o}(r);i.prototype.name=r.name,i.prototype.code=e,pf[e]=i}function ca(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(n){return String(n)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:r===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function fu(e,t,r){return e.substr(0,t.length)===t}function lu(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function uu(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}Be("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);Be("ERR_INVALID_ARG_TYPE",function(e,t,r){var n;typeof t=="string"&&fu(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var i;if(lu(e," argument"))i="The ".concat(e," ").concat(n," ").concat(ca(t,"type"));else{var a=uu(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(a," ").concat(n," ").concat(ca(t,"type"))}return i+=". Received type ".concat(typeof r),i},TypeError);Be("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Be("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});Be("ERR_STREAM_PREMATURE_CLOSE","Premature close");Be("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});Be("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Be("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Be("ERR_STREAM_WRITE_AFTER_END","write after end");Be("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Be("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);Be("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");It.codes=pf;var su=It.codes.ERR_INVALID_OPT_VALUE;function cu(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function hu(e,t,r,n){var i=cu(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var a=n?r:"highWaterMark";throw new su(a,i)}return Math.floor(i)}return e.objectMode?16:16*1024}var yf={getHighWaterMark:hu},_n,ha;function vf(){if(ha)return _n;ha=1,_n=z;function e(c){var y=this;this.next=null,this.entry=null,this.finish=function(){E(y,c)}}var t;z.WritableState=q;var r={deprecate:Pe.requireBrowser()},n=hf,i=K.bufferPolyfill.Buffer,a=(typeof K.commonjsGlobal<"u"?K.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(c){return i.from(c)}function f(c){return i.isBuffer(c)||c instanceof a}var d=df,l=yf,u=l.getHighWaterMark,w=It.codes,g=w.ERR_INVALID_ARG_TYPE,S=w.ERR_METHOD_NOT_IMPLEMENTED,N=w.ERR_MULTIPLE_CALLBACK,F=w.ERR_STREAM_CANNOT_PIPE,j=w.ERR_STREAM_DESTROYED,k=w.ERR_STREAM_NULL_VALUES,I=w.ERR_STREAM_WRITE_AFTER_END,R=w.ERR_UNKNOWN_ENCODING,P=d.errorOrDestroy;Pe.inherits_browserExports(z,n);function T(){}function q(c,y,m){t=t||qt(),c=c||{},typeof m!="boolean"&&(m=y instanceof t),this.objectMode=!!c.objectMode,m&&(this.objectMode=this.objectMode||!!c.writableObjectMode),this.highWaterMark=u(this,c,"writableHighWaterMark",m),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var M=c.decodeStrings===!1;this.decodeStrings=!M,this.defaultEncoding=c.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(U){ae(y,U)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=c.emitClose!==!1,this.autoDestroy=!!c.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}q.prototype.getBuffer=function(){for(var y=this.bufferedRequest,m=[];y;)m.push(y),y=y.next;return m},function(){try{Object.defineProperty(q.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var C;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(C=Function.prototype[Symbol.hasInstance],Object.defineProperty(z,Symbol.hasInstance,{value:function(y){return C.call(this,y)?!0:this!==z?!1:y&&y._writableState instanceof q}})):C=function(y){return y instanceof this};function z(c){t=t||qt();var y=this instanceof t;if(!y&&!C.call(z,this))return new z(c);this._writableState=new q(c,this,y),this.writable=!0,c&&(typeof c.write=="function"&&(this._write=c.write),typeof c.writev=="function"&&(this._writev=c.writev),typeof c.destroy=="function"&&(this._destroy=c.destroy),typeof c.final=="function"&&(this._final=c.final)),n.call(this)}z.prototype.pipe=function(){P(this,new F)};function x(c,y){var m=new I;P(c,m),K.dist.process.nextTick(y,m)}function re(c,y,m,M){var U;return m===null?U=new k:typeof m!="string"&&!y.objectMode&&(U=new g("chunk",["string","Buffer"],m)),U?(P(c,U),K.dist.process.nextTick(M,U),!1):!0}z.prototype.write=function(c,y,m){var M=this._writableState,U=!1,h=!M.objectMode&&f(c);return h&&!i.isBuffer(c)&&(c=o(c)),typeof y=="function"&&(m=y,y=null),h?y="buffer":y||(y=M.defaultEncoding),typeof m!="function"&&(m=T),M.ending?x(this,m):(h||re(this,M,c,m))&&(M.pendingcb++,U=b(this,M,h,c,y,m)),U},z.prototype.cork=function(){this._writableState.corked++},z.prototype.uncork=function(){var c=this._writableState;c.corked&&(c.corked--,!c.writing&&!c.corked&&!c.bufferProcessing&&c.bufferedRequest&&Z(this,c))},z.prototype.setDefaultEncoding=function(y){if(typeof y=="string"&&(y=y.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((y+"").toLowerCase())>-1))throw new R(y);return this._writableState.defaultEncoding=y,this},Object.defineProperty(z.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function J(c,y,m){return!c.objectMode&&c.decodeStrings!==!1&&typeof y=="string"&&(y=i.from(y,m)),y}Object.defineProperty(z.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function b(c,y,m,M,U,h){if(!m){var p=J(y,M,U);M!==p&&(m=!0,U="buffer",M=p)}var $=y.objectMode?1:M.length;y.length+=$;var V=y.length<y.highWaterMark;if(V||(y.needDrain=!0),y.writing||y.corked){var se=y.lastBufferedRequest;y.lastBufferedRequest={chunk:M,encoding:U,isBuf:m,callback:h,next:null},se?se.next=y.lastBufferedRequest:y.bufferedRequest=y.lastBufferedRequest,y.bufferedRequestCount+=1}else B(c,y,!1,$,M,U,h);return V}function B(c,y,m,M,U,h,p){y.writelen=M,y.writecb=p,y.writing=!0,y.sync=!0,y.destroyed?y.onwrite(new j("write")):m?c._writev(U,y.onwrite):c._write(U,h,y.onwrite),y.sync=!1}function Q(c,y,m,M,U){--y.pendingcb,m?(K.dist.process.nextTick(U,M),K.dist.process.nextTick(A,c,y),c._writableState.errorEmitted=!0,P(c,M)):(U(M),c._writableState.errorEmitted=!0,P(c,M),A(c,y))}function ne(c){c.writing=!1,c.writecb=null,c.length-=c.writelen,c.writelen=0}function ae(c,y){var m=c._writableState,M=m.sync,U=m.writecb;if(typeof U!="function")throw new N;if(ne(m),y)Q(c,m,M,y,U);else{var h=D(m)||c.destroyed;!h&&!m.corked&&!m.bufferProcessing&&m.bufferedRequest&&Z(c,m),M?K.dist.process.nextTick(ue,c,m,h,U):ue(c,m,h,U)}}function ue(c,y,m,M){m||ie(c,y),y.pendingcb--,M(),A(c,y)}function ie(c,y){y.length===0&&y.needDrain&&(y.needDrain=!1,c.emit("drain"))}function Z(c,y){y.bufferProcessing=!0;var m=y.bufferedRequest;if(c._writev&&m&&m.next){var M=y.bufferedRequestCount,U=new Array(M),h=y.corkedRequestsFree;h.entry=m;for(var p=0,$=!0;m;)U[p]=m,m.isBuf||($=!1),m=m.next,p+=1;U.allBuffers=$,B(c,y,!0,y.length,U,"",h.finish),y.pendingcb++,y.lastBufferedRequest=null,h.next?(y.corkedRequestsFree=h.next,h.next=null):y.corkedRequestsFree=new e(y),y.bufferedRequestCount=0}else{for(;m;){var V=m.chunk,se=m.encoding,oe=m.callback,de=y.objectMode?1:V.length;if(B(c,y,!1,de,V,se,oe),m=m.next,y.bufferedRequestCount--,y.writing)break}m===null&&(y.lastBufferedRequest=null)}y.bufferedRequest=m,y.bufferProcessing=!1}z.prototype._write=function(c,y,m){m(new S("_write()"))},z.prototype._writev=null,z.prototype.end=function(c,y,m){var M=this._writableState;return typeof c=="function"?(m=c,c=null,y=null):typeof y=="function"&&(m=y,y=null),c!=null&&this.write(c,y),M.corked&&(M.corked=1,this.uncork()),M.ending||v(this,M,m),this},Object.defineProperty(z.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function D(c){return c.ending&&c.length===0&&c.bufferedRequest===null&&!c.finished&&!c.writing}function W(c,y){c._final(function(m){y.pendingcb--,m&&P(c,m),y.prefinished=!0,c.emit("prefinish"),A(c,y)})}function _(c,y){!y.prefinished&&!y.finalCalled&&(typeof c._final=="function"&&!y.destroyed?(y.pendingcb++,y.finalCalled=!0,K.dist.process.nextTick(W,c,y)):(y.prefinished=!0,c.emit("prefinish")))}function A(c,y){var m=D(y);if(m&&(_(c,y),y.pendingcb===0&&(y.finished=!0,c.emit("finish"),y.autoDestroy))){var M=c._readableState;(!M||M.autoDestroy&&M.endEmitted)&&c.destroy()}return m}function v(c,y,m){y.ending=!0,A(c,y),m&&(y.finished?K.dist.process.nextTick(m):c.once("finish",m)),y.ended=!0,c.writable=!1}function E(c,y,m){var M=c.entry;for(c.entry=null;M;){var U=M.callback;y.pendingcb--,U(m),M=M.next}y.corkedRequestsFree.next=c}return Object.defineProperty(z.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(y){this._writableState&&(this._writableState.destroyed=y)}}),z.prototype.destroy=d.destroy,z.prototype._undestroy=d.undestroy,z.prototype._destroy=function(c,y){y(c)},_n}var bn,da;function qt(){if(da)return bn;da=1;var e=Object.keys||function(l){var u=[];for(var w in l)u.push(w);return u};bn=o;var t=_f(),r=vf();Pe.inherits_browserExports(o,t);for(var n=e(r.prototype),i=0;i<n.length;i++){var a=n[i];o.prototype[a]||(o.prototype[a]=r.prototype[a])}function o(l){if(!(this instanceof o))return new o(l);t.call(this,l),r.call(this,l),this.allowHalfOpen=!0,l&&(l.readable===!1&&(this.readable=!1),l.writable===!1&&(this.writable=!1),l.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",f)))}Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(o.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function f(){this._writableState.ended||K.dist.process.nextTick(d,this)}function d(l){l.end()}return Object.defineProperty(o.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),bn}var pa=It.codes.ERR_STREAM_PREMATURE_CLOSE;function du(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}function pu(){}function yu(e){return e.setHeader&&typeof e.abort=="function"}function gf(e,t,r){if(typeof t=="function")return gf(e,null,t);t||(t={}),r=du(r||pu);var n=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,a=function(){e.writable||f()},o=e._writableState&&e._writableState.finished,f=function(){i=!1,o=!0,n||r.call(e)},d=e._readableState&&e._readableState.endEmitted,l=function(){n=!1,d=!0,i||r.call(e)},u=function(N){r.call(e,N)},w=function(){var N;if(n&&!d)return(!e._readableState||!e._readableState.ended)&&(N=new pa),r.call(e,N);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(N=new pa),r.call(e,N)},g=function(){e.req.on("finish",f)};return yu(e)?(e.on("complete",f),e.on("abort",w),e.req?g():e.on("request",g)):i&&!e._writableState&&(e.on("end",a),e.on("close",a)),e.on("end",l),e.on("finish",f),t.error!==!1&&e.on("error",u),e.on("close",w),function(){e.removeListener("complete",f),e.removeListener("abort",w),e.removeListener("request",g),e.req&&e.req.removeListener("finish",f),e.removeListener("end",a),e.removeListener("close",a),e.removeListener("finish",f),e.removeListener("end",l),e.removeListener("error",u),e.removeListener("close",w)}}var zi=gf,mn,ya;function vu(){if(ya)return mn;ya=1;var e;function t(R,P,T){return P=r(P),P in R?Object.defineProperty(R,P,{value:T,enumerable:!0,configurable:!0,writable:!0}):R[P]=T,R}function r(R){var P=n(R,"string");return typeof P=="symbol"?P:String(P)}function n(R,P){if(typeof R!="object"||R===null)return R;var T=R[Symbol.toPrimitive];if(T!==void 0){var q=T.call(R,P);if(typeof q!="object")return q;throw new TypeError("@@toPrimitive must return a primitive value.")}return(P==="string"?String:Number)(R)}var i=zi,a=Symbol("lastResolve"),o=Symbol("lastReject"),f=Symbol("error"),d=Symbol("ended"),l=Symbol("lastPromise"),u=Symbol("handlePromise"),w=Symbol("stream");function g(R,P){return{value:R,done:P}}function S(R){var P=R[a];if(P!==null){var T=R[w].read();T!==null&&(R[l]=null,R[a]=null,R[o]=null,P(g(T,!1)))}}function N(R){K.dist.process.nextTick(S,R)}function F(R,P){return function(T,q){R.then(function(){if(P[d]){T(g(void 0,!0));return}P[u](T,q)},q)}}var j=Object.getPrototypeOf(function(){}),k=Object.setPrototypeOf((e={get stream(){return this[w]},next:function(){var P=this,T=this[f];if(T!==null)return Promise.reject(T);if(this[d])return Promise.resolve(g(void 0,!0));if(this[w].destroyed)return new Promise(function(x,re){K.dist.process.nextTick(function(){P[f]?re(P[f]):x(g(void 0,!0))})});var q=this[l],C;if(q)C=new Promise(F(q,this));else{var z=this[w].read();if(z!==null)return Promise.resolve(g(z,!1));C=new Promise(this[u])}return this[l]=C,C}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var P=this;return new Promise(function(T,q){P[w].destroy(null,function(C){if(C){q(C);return}T(g(void 0,!0))})})}),e),j),I=function(P){var T,q=Object.create(k,(T={},t(T,w,{value:P,writable:!0}),t(T,a,{value:null,writable:!0}),t(T,o,{value:null,writable:!0}),t(T,f,{value:null,writable:!0}),t(T,d,{value:P._readableState.endEmitted,writable:!0}),t(T,u,{value:function(z,x){var re=q[w].read();re?(q[l]=null,q[a]=null,q[o]=null,z(g(re,!1))):(q[a]=z,q[o]=x)},writable:!0}),T));return q[l]=null,i(P,function(C){if(C&&C.code!=="ERR_STREAM_PREMATURE_CLOSE"){var z=q[o];z!==null&&(q[l]=null,q[a]=null,q[o]=null,z(C)),q[f]=C;return}var x=q[a];x!==null&&(q[l]=null,q[a]=null,q[o]=null,x(g(void 0,!0))),q[d]=!0}),P.on("readable",N.bind(null,q)),q};return mn=I,mn}var wn,va;function gu(){return va||(va=1,wn=function(){throw new Error("Readable.from is not available in the browser")}),wn}var En,ga;function _f(){if(ga)return En;ga=1,En=x;var e;x.ReadableState=z,Pe.eventsExports.EventEmitter;var t=function(p,$){return p.listeners($).length},r=hf,n=K.bufferPolyfill.Buffer,i=(typeof K.commonjsGlobal<"u"?K.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(h){return n.from(h)}function o(h){return n.isBuffer(h)||h instanceof i}var f=Pe.require$$3,d;f&&f.debuglog?d=f.debuglog("stream"):d=function(){};var l=ru(),u=df,w=yf,g=w.getHighWaterMark,S=It.codes,N=S.ERR_INVALID_ARG_TYPE,F=S.ERR_STREAM_PUSH_AFTER_EOF,j=S.ERR_METHOD_NOT_IMPLEMENTED,k=S.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,I,R,P;Pe.inherits_browserExports(x,r);var T=u.errorOrDestroy,q=["error","close","destroy","pause","resume"];function C(h,p,$){if(typeof h.prependListener=="function")return h.prependListener(p,$);!h._events||!h._events[p]?h.on(p,$):Array.isArray(h._events[p])?h._events[p].unshift($):h._events[p]=[$,h._events[p]]}function z(h,p,$){e=e||qt(),h=h||{},typeof $!="boolean"&&($=p instanceof e),this.objectMode=!!h.objectMode,$&&(this.objectMode=this.objectMode||!!h.readableObjectMode),this.highWaterMark=g(this,h,"readableHighWaterMark",$),this.buffer=new l,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=h.emitClose!==!1,this.autoDestroy=!!h.autoDestroy,this.destroyed=!1,this.defaultEncoding=h.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,h.encoding&&(I||(I=Pe.requireString_decoder().StringDecoder),this.decoder=new I(h.encoding),this.encoding=h.encoding)}function x(h){if(e=e||qt(),!(this instanceof x))return new x(h);var p=this instanceof e;this._readableState=new z(h,this,p),this.readable=!0,h&&(typeof h.read=="function"&&(this._read=h.read),typeof h.destroy=="function"&&(this._destroy=h.destroy)),r.call(this)}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(p){this._readableState&&(this._readableState.destroyed=p)}}),x.prototype.destroy=u.destroy,x.prototype._undestroy=u.undestroy,x.prototype._destroy=function(h,p){p(h)},x.prototype.push=function(h,p){var $=this._readableState,V;return $.objectMode?V=!0:typeof h=="string"&&(p=p||$.defaultEncoding,p!==$.encoding&&(h=n.from(h,p),p=""),V=!0),re(this,h,p,!1,V)},x.prototype.unshift=function(h){return re(this,h,null,!0,!1)};function re(h,p,$,V,se){d("readableAddChunk",p);var oe=h._readableState;if(p===null)oe.reading=!1,ae(h,oe);else{var de;if(se||(de=b(oe,p)),de)T(h,de);else if(oe.objectMode||p&&p.length>0)if(typeof p!="string"&&!oe.objectMode&&Object.getPrototypeOf(p)!==n.prototype&&(p=a(p)),V)oe.endEmitted?T(h,new k):J(h,oe,p,!0);else if(oe.ended)T(h,new F);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!$?(p=oe.decoder.write(p),oe.objectMode||p.length!==0?J(h,oe,p,!1):Z(h,oe)):J(h,oe,p,!1)}else V||(oe.reading=!1,Z(h,oe))}return!oe.ended&&(oe.length<oe.highWaterMark||oe.length===0)}function J(h,p,$,V){p.flowing&&p.length===0&&!p.sync?(p.awaitDrain=0,h.emit("data",$)):(p.length+=p.objectMode?1:$.length,V?p.buffer.unshift($):p.buffer.push($),p.needReadable&&ue(h)),Z(h,p)}function b(h,p){var $;return!o(p)&&typeof p!="string"&&p!==void 0&&!h.objectMode&&($=new N("chunk",["string","Buffer","Uint8Array"],p)),$}x.prototype.isPaused=function(){return this._readableState.flowing===!1},x.prototype.setEncoding=function(h){I||(I=Pe.requireString_decoder().StringDecoder);var p=new I(h);this._readableState.decoder=p,this._readableState.encoding=this._readableState.decoder.encoding;for(var $=this._readableState.buffer.head,V="";$!==null;)V+=p.write($.data),$=$.next;return this._readableState.buffer.clear(),V!==""&&this._readableState.buffer.push(V),this._readableState.length=V.length,this};var B=1073741824;function Q(h){return h>=B?h=B:(h--,h|=h>>>1,h|=h>>>2,h|=h>>>4,h|=h>>>8,h|=h>>>16,h++),h}function ne(h,p){return h<=0||p.length===0&&p.ended?0:p.objectMode?1:h!==h?p.flowing&&p.length?p.buffer.head.data.length:p.length:(h>p.highWaterMark&&(p.highWaterMark=Q(h)),h<=p.length?h:p.ended?p.length:(p.needReadable=!0,0))}x.prototype.read=function(h){d("read",h),h=parseInt(h,10);var p=this._readableState,$=h;if(h!==0&&(p.emittedReadable=!1),h===0&&p.needReadable&&((p.highWaterMark!==0?p.length>=p.highWaterMark:p.length>0)||p.ended))return d("read: emitReadable",p.length,p.ended),p.length===0&&p.ended?m(this):ue(this),null;if(h=ne(h,p),h===0&&p.ended)return p.length===0&&m(this),null;var V=p.needReadable;d("need readable",V),(p.length===0||p.length-h<p.highWaterMark)&&(V=!0,d("length less than watermark",V)),p.ended||p.reading?(V=!1,d("reading or ended",V)):V&&(d("do read"),p.reading=!0,p.sync=!0,p.length===0&&(p.needReadable=!0),this._read(p.highWaterMark),p.sync=!1,p.reading||(h=ne($,p)));var se;return h>0?se=y(h,p):se=null,se===null?(p.needReadable=p.length<=p.highWaterMark,h=0):(p.length-=h,p.awaitDrain=0),p.length===0&&(p.ended||(p.needReadable=!0),$!==h&&p.ended&&m(this)),se!==null&&this.emit("data",se),se};function ae(h,p){if(d("onEofChunk"),!p.ended){if(p.decoder){var $=p.decoder.end();$&&$.length&&(p.buffer.push($),p.length+=p.objectMode?1:$.length)}p.ended=!0,p.sync?ue(h):(p.needReadable=!1,p.emittedReadable||(p.emittedReadable=!0,ie(h)))}}function ue(h){var p=h._readableState;d("emitReadable",p.needReadable,p.emittedReadable),p.needReadable=!1,p.emittedReadable||(d("emitReadable",p.flowing),p.emittedReadable=!0,K.dist.process.nextTick(ie,h))}function ie(h){var p=h._readableState;d("emitReadable_",p.destroyed,p.length,p.ended),!p.destroyed&&(p.length||p.ended)&&(h.emit("readable"),p.emittedReadable=!1),p.needReadable=!p.flowing&&!p.ended&&p.length<=p.highWaterMark,c(h)}function Z(h,p){p.readingMore||(p.readingMore=!0,K.dist.process.nextTick(D,h,p))}function D(h,p){for(;!p.reading&&!p.ended&&(p.length<p.highWaterMark||p.flowing&&p.length===0);){var $=p.length;if(d("maybeReadMore read 0"),h.read(0),$===p.length)break}p.readingMore=!1}x.prototype._read=function(h){T(this,new j("_read()"))},x.prototype.pipe=function(h,p){var $=this,V=this._readableState;switch(V.pipesCount){case 0:V.pipes=h;break;case 1:V.pipes=[V.pipes,h];break;default:V.pipes.push(h);break}V.pipesCount+=1,d("pipe count=%d opts=%j",V.pipesCount,p);var se=(!p||p.end!==!1)&&h!==K.dist.process.stdout&&h!==K.dist.process.stderr,oe=se?_e:G;V.endEmitted?K.dist.process.nextTick(oe):$.once("end",oe),h.on("unpipe",de);function de(ee,te){d("onunpipe"),ee===$&&te&&te.hasUnpiped===!1&&(te.hasUnpiped=!0,Te())}function _e(){d("onend"),h.end()}var H=W($);h.on("drain",H);var je=!1;function Te(){d("cleanup"),h.removeListener("close",s),h.removeListener("finish",O),h.removeListener("drain",H),h.removeListener("error",X),h.removeListener("unpipe",de),$.removeListener("end",_e),$.removeListener("end",G),$.removeListener("data",L),je=!0,V.awaitDrain&&(!h._writableState||h._writableState.needDrain)&&H()}$.on("data",L);function L(ee){d("ondata");var te=h.write(ee);d("dest.write",te),te===!1&&((V.pipesCount===1&&V.pipes===h||V.pipesCount>1&&U(V.pipes,h)!==-1)&&!je&&(d("false write response, pause",V.awaitDrain),V.awaitDrain++),$.pause())}function X(ee){d("onerror",ee),G(),h.removeListener("error",X),t(h,"error")===0&&T(h,ee)}C(h,"error",X);function s(){h.removeListener("finish",O),G()}h.once("close",s);function O(){d("onfinish"),h.removeListener("close",s),G()}h.once("finish",O);function G(){d("unpipe"),$.unpipe(h)}return h.emit("pipe",$),V.flowing||(d("pipe resume"),$.resume()),h};function W(h){return function(){var $=h._readableState;d("pipeOnDrain",$.awaitDrain),$.awaitDrain&&$.awaitDrain--,$.awaitDrain===0&&t(h,"data")&&($.flowing=!0,c(h))}}x.prototype.unpipe=function(h){var p=this._readableState,$={hasUnpiped:!1};if(p.pipesCount===0)return this;if(p.pipesCount===1)return h&&h!==p.pipes?this:(h||(h=p.pipes),p.pipes=null,p.pipesCount=0,p.flowing=!1,h&&h.emit("unpipe",this,$),this);if(!h){var V=p.pipes,se=p.pipesCount;p.pipes=null,p.pipesCount=0,p.flowing=!1;for(var oe=0;oe<se;oe++)V[oe].emit("unpipe",this,{hasUnpiped:!1});return this}var de=U(p.pipes,h);return de===-1?this:(p.pipes.splice(de,1),p.pipesCount-=1,p.pipesCount===1&&(p.pipes=p.pipes[0]),h.emit("unpipe",this,$),this)},x.prototype.on=function(h,p){var $=r.prototype.on.call(this,h,p),V=this._readableState;return h==="data"?(V.readableListening=this.listenerCount("readable")>0,V.flowing!==!1&&this.resume()):h==="readable"&&!V.endEmitted&&!V.readableListening&&(V.readableListening=V.needReadable=!0,V.flowing=!1,V.emittedReadable=!1,d("on readable",V.length,V.reading),V.length?ue(this):V.reading||K.dist.process.nextTick(A,this)),$},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(h,p){var $=r.prototype.removeListener.call(this,h,p);return h==="readable"&&K.dist.process.nextTick(_,this),$},x.prototype.removeAllListeners=function(h){var p=r.prototype.removeAllListeners.apply(this,arguments);return(h==="readable"||h===void 0)&&K.dist.process.nextTick(_,this),p};function _(h){var p=h._readableState;p.readableListening=h.listenerCount("readable")>0,p.resumeScheduled&&!p.paused?p.flowing=!0:h.listenerCount("data")>0&&h.resume()}function A(h){d("readable nexttick read 0"),h.read(0)}x.prototype.resume=function(){var h=this._readableState;return h.flowing||(d("resume"),h.flowing=!h.readableListening,v(this,h)),h.paused=!1,this};function v(h,p){p.resumeScheduled||(p.resumeScheduled=!0,K.dist.process.nextTick(E,h,p))}function E(h,p){d("resume",p.reading),p.reading||h.read(0),p.resumeScheduled=!1,h.emit("resume"),c(h),p.flowing&&!p.reading&&h.read(0)}x.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function c(h){var p=h._readableState;for(d("flow",p.flowing);p.flowing&&h.read()!==null;);}x.prototype.wrap=function(h){var p=this,$=this._readableState,V=!1;h.on("end",function(){if(d("wrapped end"),$.decoder&&!$.ended){var de=$.decoder.end();de&&de.length&&p.push(de)}p.push(null)}),h.on("data",function(de){if(d("wrapped data"),$.decoder&&(de=$.decoder.write(de)),!($.objectMode&&de==null)&&!(!$.objectMode&&(!de||!de.length))){var _e=p.push(de);_e||(V=!0,h.pause())}});for(var se in h)this[se]===void 0&&typeof h[se]=="function"&&(this[se]=function(_e){return function(){return h[_e].apply(h,arguments)}}(se));for(var oe=0;oe<q.length;oe++)h.on(q[oe],this.emit.bind(this,q[oe]));return this._read=function(de){d("wrapped _read",de),V&&(V=!1,h.resume())},this},typeof Symbol=="function"&&(x.prototype[Symbol.asyncIterator]=function(){return R===void 0&&(R=vu()),R(this)}),Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(p){this._readableState&&(this._readableState.flowing=p)}}),x._fromList=y,Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function y(h,p){if(p.length===0)return null;var $;return p.objectMode?$=p.buffer.shift():!h||h>=p.length?(p.decoder?$=p.buffer.join(""):p.buffer.length===1?$=p.buffer.first():$=p.buffer.concat(p.length),p.buffer.clear()):$=p.buffer.consume(h,p.decoder),$}function m(h){var p=h._readableState;d("endReadable",p.endEmitted),p.endEmitted||(p.ended=!0,K.dist.process.nextTick(M,p,h))}function M(h,p){if(d("endReadableNT",h.endEmitted,h.length),!h.endEmitted&&h.length===0&&(h.endEmitted=!0,p.readable=!1,p.emit("end"),h.autoDestroy)){var $=p._writableState;(!$||$.autoDestroy&&$.finished)&&p.destroy()}}typeof Symbol=="function"&&(x.from=function(h,p){return P===void 0&&(P=gu()),P(x,h,p)});function U(h,p){for(var $=0,V=h.length;$<V;$++)if(h[$]===p)return $;return-1}return En}var bf=ot,Qr=It.codes,_u=Qr.ERR_METHOD_NOT_IMPLEMENTED,bu=Qr.ERR_MULTIPLE_CALLBACK,mu=Qr.ERR_TRANSFORM_ALREADY_TRANSFORMING,wu=Qr.ERR_TRANSFORM_WITH_LENGTH_0,en=qt();Pe.inherits_browserExports(ot,en);function Eu(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new bu);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function ot(e){if(!(this instanceof ot))return new ot(e);en.call(this,e),this._transformState={afterTransform:Eu.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",Su)}function Su(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){_a(e,t,r)}):_a(this,null,null)}ot.prototype.push=function(e,t){return this._transformState.needTransform=!1,en.prototype.push.call(this,e,t)};ot.prototype._transform=function(e,t,r){r(new _u("_transform()"))};ot.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};ot.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};ot.prototype._destroy=function(e,t){en.prototype._destroy.call(this,e,function(r){t(r)})};function _a(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new wu;if(e._transformState.transforming)throw new mu;return e.push(null)}var Ru=ar,mf=bf;Pe.inherits_browserExports(ar,mf);function ar(e){if(!(this instanceof ar))return new ar(e);mf.call(this,e)}ar.prototype._transform=function(e,t,r){r(null,e)};var Sn;function Au(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var wf=It.codes,Ou=wf.ERR_MISSING_ARGS,Tu=wf.ERR_STREAM_DESTROYED;function ba(e){if(e)throw e}function Iu(e){return e.setHeader&&typeof e.abort=="function"}function Pu(e,t,r,n){n=Au(n);var i=!1;e.on("close",function(){i=!0}),Sn===void 0&&(Sn=zi),Sn(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var a=!1;return function(o){if(!i&&!a){if(a=!0,Iu(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new Tu("pipe"))}}}function ma(e){e()}function Nu(e,t){return e.pipe(t)}function Du(e){return!e.length||typeof e[e.length-1]!="function"?ba:e.pop()}function Lu(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Du(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Ou("streams");var i,a=t.map(function(o,f){var d=f<t.length-1,l=f>0;return Pu(o,d,l,function(u){i||(i=u),u&&a.forEach(ma),!d&&(a.forEach(ma),n(i))})});return t.reduce(Nu)}var Mu=Lu;(function(e,t){t=e.exports=_f(),t.Stream=t,t.Readable=t,t.Writable=vf(),t.Duplex=qt(),t.Transform=bf,t.PassThrough=Ru,t.finished=zi,t.pipeline=Mu})(wi,wi.exports);var Ef=wi.exports,wa=qi,ku=Pe.inherits_browserExports,Sf=Ef,mr=Jr.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},Zi=Jr.IncomingMessage=function(e,t,r,n){var i=this;if(Sf.Readable.call(i),i._mode=r,i.headers={},i.rawHeaders=[],i.trailers={},i.rawTrailers=[],i.on("end",function(){K.dist.process.nextTick(function(){i.emit("close")})}),r==="fetch"){let u=function(){o.read().then(function(w){if(!i._destroyed){if(n(w.done),w.done){i.push(null);return}i.push(K.dist.Buffer.from(w.value)),u()}}).catch(function(w){n(!0),i._destroyed||i.emit("error",w)})};if(i._fetchResponse=t,i.url=t.url,i.statusCode=t.status,i.statusMessage=t.statusText,t.headers.forEach(function(w,g){i.headers[g.toLowerCase()]=w,i.rawHeaders.push(g,w)}),wa.writableStream){var a=new WritableStream({write:function(w){return n(!1),new Promise(function(g,S){i._destroyed?S():i.push(K.dist.Buffer.from(w))?g():i._resumeFetch=g})},close:function(){n(!0),i._destroyed||i.push(null)},abort:function(w){n(!0),i._destroyed||i.emit("error",w)}});try{t.body.pipeTo(a).catch(function(w){n(!0),i._destroyed||i.emit("error",w)});return}catch{}}var o=t.body.getReader();u()}else{i._xhr=e,i._pos=0,i.url=e.responseURL,i.statusCode=e.status,i.statusMessage=e.statusText;var f=e.getAllResponseHeaders().split(/\r?\n/);if(f.forEach(function(u){var w=u.match(/^([^:]+):\s*(.*)/);if(w){var g=w[1].toLowerCase();g==="set-cookie"?(i.headers[g]===void 0&&(i.headers[g]=[]),i.headers[g].push(w[2])):i.headers[g]!==void 0?i.headers[g]+=", "+w[2]:i.headers[g]=w[2],i.rawHeaders.push(w[1],w[2])}}),i._charset="x-user-defined",!wa.overrideMimeType){var d=i.rawHeaders["mime-type"];if(d){var l=d.match(/;\s*charset=([^;])(;|$)/);l&&(i._charset=l[1].toLowerCase())}i._charset||(i._charset="utf-8")}}};ku(Zi,Sf.Readable);Zi.prototype._read=function(){var e=this,t=e._resumeFetch;t&&(e._resumeFetch=null,t())};Zi.prototype._onXHRProgress=function(e){var t=this,r=t._xhr,n=null;switch(t._mode){case"text":if(n=r.responseText,n.length>t._pos){var i=n.substr(t._pos);if(t._charset==="x-user-defined"){for(var a=K.dist.Buffer.alloc(i.length),o=0;o<i.length;o++)a[o]=i.charCodeAt(o)&255;t.push(a)}else t.push(i,t._charset);t._pos=n.length}break;case"arraybuffer":if(r.readyState!==mr.DONE||!r.response)break;n=r.response,t.push(K.dist.Buffer.from(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=r.response,r.readyState!==mr.LOADING||!n)break;t.push(K.dist.Buffer.from(new Uint8Array(n)));break;case"ms-stream":if(n=r.response,r.readyState!==mr.LOADING)break;var f=new K.commonjsGlobal.MSStreamReader;f.onprogress=function(){f.result.byteLength>t._pos&&(t.push(K.dist.Buffer.from(new Uint8Array(f.result.slice(t._pos)))),t._pos=f.result.byteLength)},f.onload=function(){e(!0),t.push(null)},f.readAsArrayBuffer(n);break}t._xhr.readyState===mr.DONE&&t._mode!=="ms-stream"&&(e(!0),t.push(null))};var mt=qi,Fu=Pe.inherits_browserExports,Rf=Jr,Hi=Ef,ju=Rf.IncomingMessage,Ea=Rf.readyStates;function xu(e,t){return mt.fetch&&t?"fetch":mt.mozchunkedarraybuffer?"moz-chunked-arraybuffer":mt.msstream?"ms-stream":mt.arraybuffer&&e?"arraybuffer":"text"}var Le=cf.exports=function(e){var t=this;Hi.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+K.dist.Buffer.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(i){t.setHeader(i,e.headers[i])});var r,n=!0;if(e.mode==="disable-fetch"||"requestTimeout"in e&&!mt.abortController)n=!1,r=!0;else if(e.mode==="prefer-streaming")r=!1;else if(e.mode==="allow-wrong-content-type")r=!mt.overrideMimeType;else if(!e.mode||e.mode==="default"||e.mode==="prefer-fast")r=!0;else throw new Error("Invalid value for opts.mode");t._mode=xu(r,n),t._fetchTimer=null,t._socketTimeout=null,t._socketTimer=null,t.on("finish",function(){t._onFinish()})};Fu(Le,Hi.Writable);Le.prototype.setHeader=function(e,t){var r=this,n=e.toLowerCase();Cu.indexOf(n)===-1&&(r._headers[n]={name:e,value:t})};Le.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null};Le.prototype.removeHeader=function(e){var t=this;delete t._headers[e.toLowerCase()]};Le.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&t.timeout!==0&&e.setTimeout(t.timeout);var r=e._headers,n=null;t.method!=="GET"&&t.method!=="HEAD"&&(n=new Blob(e._body,{type:(r["content-type"]||{}).value||""}));var i=[];if(Object.keys(r).forEach(function(d){var l=r[d].name,u=r[d].value;Array.isArray(u)?u.forEach(function(w){i.push([l,w])}):i.push([l,u])}),e._mode==="fetch"){var a=null;if(mt.abortController){var o=new AbortController;a=o.signal,e._fetchAbortController=o,"requestTimeout"in t&&t.requestTimeout!==0&&(e._fetchTimer=K.commonjsGlobal.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},t.requestTimeout))}K.commonjsGlobal.fetch(e._opts.url,{method:e._opts.method,headers:i,body:n||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:a}).then(function(d){e._fetchResponse=d,e._resetTimers(!1),e._connect()},function(d){e._resetTimers(!0),e._destroyed||e.emit("error",d)})}else{var f=e._xhr=new K.commonjsGlobal.XMLHttpRequest;try{f.open(e._opts.method,e._opts.url,!0)}catch(d){K.dist.process.nextTick(function(){e.emit("error",d)});return}"responseType"in f&&(f.responseType=e._mode),"withCredentials"in f&&(f.withCredentials=!!t.withCredentials),e._mode==="text"&&"overrideMimeType"in f&&f.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(f.timeout=t.requestTimeout,f.ontimeout=function(){e.emit("requestTimeout")}),i.forEach(function(d){f.setRequestHeader(d[0],d[1])}),e._response=null,f.onreadystatechange=function(){switch(f.readyState){case Ea.LOADING:case Ea.DONE:e._onXHRProgress();break}},e._mode==="moz-chunked-arraybuffer"&&(f.onprogress=function(){e._onXHRProgress()}),f.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{f.send(n)}catch(d){K.dist.process.nextTick(function(){e.emit("error",d)});return}}}};function $u(e){try{var t=e.status;return t!==null&&t!==0}catch{return!1}}Le.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),!(!$u(e._xhr)||e._destroyed)&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))};Le.prototype._connect=function(){var e=this;e._destroyed||(e._response=new ju(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))};Le.prototype._write=function(e,t,r){var n=this;n._body.push(e),r()};Le.prototype._resetTimers=function(e){var t=this;K.commonjsGlobal.clearTimeout(t._socketTimer),t._socketTimer=null,e?(K.commonjsGlobal.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=K.commonjsGlobal.setTimeout(function(){t.emit("timeout")},t._socketTimeout))};Le.prototype.abort=Le.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)};Le.prototype.end=function(e,t,r){var n=this;typeof e=="function"&&(r=e,e=void 0),Hi.Writable.prototype.end.call(n,e,t,r)};Le.prototype.setTimeout=function(e,t){var r=this;t&&r.once("timeout",t),r._socketTimeout=e,r._resetTimers(!1)};Le.prototype.flushHeaders=function(){};Le.prototype.setNoDelay=function(){};Le.prototype.setSocketKeepAlive=function(){};var Cu=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],Bu=cf.exports,Uu=zu,qu=Object.prototype.hasOwnProperty;function zu(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var n in r)qu.call(r,n)&&(e[n]=r[n])}return e}var Zu={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"},Si={exports:{}},Ur={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */Ur.exports;(function(e,t){(function(r){var n=t&&!t.nodeType&&t,i=e&&!e.nodeType&&e,a=typeof K.commonjsGlobal=="object"&&K.commonjsGlobal;(a.global===a||a.window===a||a.self===a)&&(r=a);var o,f=2147483647,d=36,l=1,u=26,w=38,g=700,S=72,N=128,F="-",j=/^xn--/,k=/[^\x20-\x7E]/,I=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},P=d-l,T=Math.floor,q=String.fromCharCode,C;function z(D){throw new RangeError(R[D])}function x(D,W){for(var _=D.length,A=[];_--;)A[_]=W(D[_]);return A}function re(D,W){var _=D.split("@"),A="";_.length>1&&(A=_[0]+"@",D=_[1]),D=D.replace(I,".");var v=D.split("."),E=x(v,W).join(".");return A+E}function J(D){for(var W=[],_=0,A=D.length,v,E;_<A;)v=D.charCodeAt(_++),v>=55296&&v<=56319&&_<A?(E=D.charCodeAt(_++),(E&64512)==56320?W.push(((v&1023)<<10)+(E&1023)+65536):(W.push(v),_--)):W.push(v);return W}function b(D){return x(D,function(W){var _="";return W>65535&&(W-=65536,_+=q(W>>>10&1023|55296),W=56320|W&1023),_+=q(W),_}).join("")}function B(D){return D-48<10?D-22:D-65<26?D-65:D-97<26?D-97:d}function Q(D,W){return D+22+75*(D<26)-((W!=0)<<5)}function ne(D,W,_){var A=0;for(D=_?T(D/g):D>>1,D+=T(D/W);D>P*u>>1;A+=d)D=T(D/P);return T(A+(P+1)*D/(D+w))}function ae(D){var W=[],_=D.length,A,v=0,E=N,c=S,y,m,M,U,h,p,$,V,se;for(y=D.lastIndexOf(F),y<0&&(y=0),m=0;m<y;++m)D.charCodeAt(m)>=128&&z("not-basic"),W.push(D.charCodeAt(m));for(M=y>0?y+1:0;M<_;){for(U=v,h=1,p=d;M>=_&&z("invalid-input"),$=B(D.charCodeAt(M++)),($>=d||$>T((f-v)/h))&&z("overflow"),v+=$*h,V=p<=c?l:p>=c+u?u:p-c,!($<V);p+=d)se=d-V,h>T(f/se)&&z("overflow"),h*=se;A=W.length+1,c=ne(v-U,A,U==0),T(v/A)>f-E&&z("overflow"),E+=T(v/A),v%=A,W.splice(v++,0,E)}return b(W)}function ue(D){var W,_,A,v,E,c,y,m,M,U,h,p=[],$,V,se,oe;for(D=J(D),$=D.length,W=N,_=0,E=S,c=0;c<$;++c)h=D[c],h<128&&p.push(q(h));for(A=v=p.length,v&&p.push(F);A<$;){for(y=f,c=0;c<$;++c)h=D[c],h>=W&&h<y&&(y=h);for(V=A+1,y-W>T((f-_)/V)&&z("overflow"),_+=(y-W)*V,W=y,c=0;c<$;++c)if(h=D[c],h<W&&++_>f&&z("overflow"),h==W){for(m=_,M=d;U=M<=E?l:M>=E+u?u:M-E,!(m<U);M+=d)oe=m-U,se=d-U,p.push(q(Q(U+oe%se,0))),m=T(oe/se);p.push(q(Q(m,0))),E=ne(_,V,A==v),_=0,++A}++_,++W}return p.join("")}function ie(D){return re(D,function(W){return j.test(W)?ae(W.slice(4).toLowerCase()):W})}function Z(D){return re(D,function(W){return k.test(W)?"xn--"+ue(W):W})}if(o={version:"1.4.1",ucs2:{decode:J,encode:b},decode:ae,encode:ue,toASCII:Z,toUnicode:ie},n&&i)if(e.exports==n)i.exports=o;else for(C in o)o.hasOwnProperty(C)&&(n[C]=o[C]);else r.punycode=o})(K.commonjsGlobal)})(Ur,Ur.exports);var Af=Ur.exports,ft=TypeError,Wi=typeof Map=="function"&&Map.prototype,Rn=Object.getOwnPropertyDescriptor&&Wi?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,qr=Wi&&Rn&&typeof Rn.get=="function"?Rn.get:null,Sa=Wi&&Map.prototype.forEach,Gi=typeof Set=="function"&&Set.prototype,An=Object.getOwnPropertyDescriptor&&Gi?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,zr=Gi&&An&&typeof An.get=="function"?An.get:null,Ra=Gi&&Set.prototype.forEach,Hu=typeof WeakMap=="function"&&WeakMap.prototype,Qt=Hu?WeakMap.prototype.has:null,Wu=typeof WeakSet=="function"&&WeakSet.prototype,er=Wu?WeakSet.prototype.has:null,Gu=typeof WeakRef=="function"&&WeakRef.prototype,Aa=Gu?WeakRef.prototype.deref:null,Vu=Boolean.prototype.valueOf,Ku=Object.prototype.toString,Yu=Function.prototype.toString,Xu=String.prototype.match,Vi=String.prototype.slice,ht=String.prototype.replace,Ju=String.prototype.toUpperCase,Oa=String.prototype.toLowerCase,Of=RegExp.prototype.test,Ta=Array.prototype.concat,Qe=Array.prototype.join,Qu=Array.prototype.slice,Ia=Math.floor,Ri=typeof BigInt=="function"?BigInt.prototype.valueOf:null,On=Object.getOwnPropertySymbols,Ai=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,zt=typeof Symbol=="function"&&typeof Symbol.iterator=="object",tr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===zt||!0)?Symbol.toStringTag:null,Tf=Object.prototype.propertyIsEnumerable,Pa=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Na(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Of.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-Ia(-e):Ia(e);if(n!==e){var i=String(n),a=Vi.call(t,i.length+1);return ht.call(i,r,"$&_")+"."+ht.call(ht.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ht.call(t,r,"$&_")}var Oi=Pe.require$$3,Da=Oi.custom,La=Nf(Da)?Da:null,If={__proto__:null,double:'"',single:"'"},es={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},tn=function e(t,r,n,i){var a=r||{};if(it(a,"quoteStyle")&&!it(If,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(it(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=it(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(it(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(it(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Lf(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var d=String(t);return f?Na(t,d):d}if(typeof t=="bigint"){var l=String(t)+"n";return f?Na(t,l):l}var u=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=u&&u>0&&typeof t=="object")return Ti(t)?"[Array]":"[Object]";var w=_s(a,n);if(typeof i>"u")i=[];else if(Df(i,t)>=0)return"[Circular]";function g(B,Q,ne){if(Q&&(i=Qu.call(i),i.push(Q)),ne){var ae={depth:a.depth};return it(a,"quoteStyle")&&(ae.quoteStyle=a.quoteStyle),e(B,ae,n+1,i)}return e(B,a,n+1,i)}if(typeof t=="function"&&!Ma(t)){var S=us(t),N=wr(t,g);return"[Function"+(S?": "+S:" (anonymous)")+"]"+(N.length>0?" { "+Qe.call(N,", ")+" }":"")}if(Nf(t)){var F=zt?ht.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ai.call(t);return typeof t=="object"&&!zt?Yt(F):F}if(ys(t)){for(var j="<"+Oa.call(String(t.nodeName)),k=t.attributes||[],I=0;I<k.length;I++)j+=" "+k[I].name+"="+Pf(ts(k[I].value),"double",a);return j+=">",t.childNodes&&t.childNodes.length&&(j+="..."),j+="</"+Oa.call(String(t.nodeName))+">",j}if(Ti(t)){if(t.length===0)return"[]";var R=wr(t,g);return w&&!gs(R)?"["+Ii(R,w)+"]":"[ "+Qe.call(R,", ")+" ]"}if(ns(t)){var P=wr(t,g);return!("cause"in Error.prototype)&&"cause"in t&&!Tf.call(t,"cause")?"{ ["+String(t)+"] "+Qe.call(Ta.call("[cause]: "+g(t.cause),P),", ")+" }":P.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Qe.call(P,", ")+" }"}if(typeof t=="object"&&o){if(La&&typeof t[La]=="function"&&Oi)return Oi(t,{depth:u-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(ss(t)){var T=[];return Sa&&Sa.call(t,function(B,Q){T.push(g(Q,t,!0)+" => "+g(B,t))}),ka("Map",qr.call(t),T,w)}if(ds(t)){var q=[];return Ra&&Ra.call(t,function(B){q.push(g(B,t))}),ka("Set",zr.call(t),q,w)}if(cs(t))return Tn("WeakMap");if(ps(t))return Tn("WeakSet");if(hs(t))return Tn("WeakRef");if(as(t))return Yt(g(Number(t)));if(fs(t))return Yt(g(Ri.call(t)));if(os(t))return Yt(Vu.call(t));if(is(t))return Yt(g(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof K.commonjsGlobal<"u"&&t===K.commonjsGlobal)return"{ [object globalThis] }";if(!rs(t)&&!Ma(t)){var C=wr(t,g),z=Pa?Pa(t)===Object.prototype:t instanceof Object||t.constructor===Object,x=t instanceof Object?"":"null prototype",re=!z&&tr&&Object(t)===t&&tr in t?Vi.call(gt(t),8,-1):x?"Object":"",J=z||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",b=J+(re||x?"["+Qe.call(Ta.call([],re||[],x||[]),": ")+"] ":"");return C.length===0?b+"{}":w?b+"{"+Ii(C,w)+"}":b+"{ "+Qe.call(C,", ")+" }"}return String(t)};function Pf(e,t,r){var n=r.quoteStyle||t,i=If[n];return i+e+i}function ts(e){return ht.call(String(e),/"/g,""")}function Pt(e){return!tr||!(typeof e=="object"&&(tr in e||typeof e[tr]<"u"))}function Ti(e){return gt(e)==="[object Array]"&&Pt(e)}function rs(e){return gt(e)==="[object Date]"&&Pt(e)}function Ma(e){return gt(e)==="[object RegExp]"&&Pt(e)}function ns(e){return gt(e)==="[object Error]"&&Pt(e)}function is(e){return gt(e)==="[object String]"&&Pt(e)}function as(e){return gt(e)==="[object Number]"&&Pt(e)}function os(e){return gt(e)==="[object Boolean]"&&Pt(e)}function Nf(e){if(zt)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Ai)return!1;try{return Ai.call(e),!0}catch{}return!1}function fs(e){if(!e||typeof e!="object"||!Ri)return!1;try{return Ri.call(e),!0}catch{}return!1}var ls=Object.prototype.hasOwnProperty||function(e){return e in this};function it(e,t){return ls.call(e,t)}function gt(e){return Ku.call(e)}function us(e){if(e.name)return e.name;var t=Xu.call(Yu.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Df(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function ss(e){if(!qr||!e||typeof e!="object")return!1;try{qr.call(e);try{zr.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function cs(e){if(!Qt||!e||typeof e!="object")return!1;try{Qt.call(e,Qt);try{er.call(e,er)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function hs(e){if(!Aa||!e||typeof e!="object")return!1;try{return Aa.call(e),!0}catch{}return!1}function ds(e){if(!zr||!e||typeof e!="object")return!1;try{zr.call(e);try{qr.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function ps(e){if(!er||!e||typeof e!="object")return!1;try{er.call(e,er);try{Qt.call(e,Qt)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function ys(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Lf(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Lf(Vi.call(e,0,t.maxStringLength),t)+n}var i=es[t.quoteStyle||"single"];i.lastIndex=0;var a=ht.call(ht.call(e,i,"\\$1"),/[\x00-\x1f]/g,vs);return Pf(a,"single",t)}function vs(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+Ju.call(t.toString(16))}function Yt(e){return"Object("+e+")"}function Tn(e){return e+" { ? }"}function ka(e,t,r,n){var i=n?Ii(r,n):Qe.call(r,", ");return e+" ("+t+") {"+i+"}"}function gs(e){for(var t=0;t<e.length;t++)if(Df(e[t],`
|
|
2
2
|
`)>=0)return!1;return!0}function _s(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Qe.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Qe.call(Array(t+1),r)}}function Ii(e,t){if(e.length===0)return"";var r=`
|
|
3
3
|
`+t.prev+t.base;return r+Qe.call(e,","+r)+`
|
|
4
4
|
`+t.prev}function wr(e,t){var r=Ti(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=it(e,i)?t(e[i],e):""}var a=typeof On=="function"?On(e):[],o;if(zt){o={};for(var f=0;f<a.length;f++)o["$"+a[f]]=a[f]}for(var d in e)it(e,d)&&(r&&String(Number(d))===d&&d<e.length||zt&&o["$"+d]instanceof Symbol||(Of.call(/[^\w$]/,d)?n.push(t(d,e)+": "+t(e[d],e)):n.push(d+": "+t(e[d],e))));if(typeof On=="function")for(var l=0;l<a.length;l++)Tf.call(e,a[l])&&n.push("["+t(a[l])+"]: "+t(e[a[l]],e));return n}var bs=tn,ms=ft,rn=function(e,t,r){for(var n=e,i;(i=n.next)!=null;n=i)if(i.key===t)return n.next=i.next,r||(i.next=e.next,e.next=i),i},ws=function(e,t){if(e){var r=rn(e,t);return r&&r.value}},Es=function(e,t,r){var n=rn(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},Ss=function(e,t){return e?!!rn(e,t):!1},Rs=function(e,t){if(e)return rn(e,t,!0)},As=function(){var t,r={assert:function(n){if(!r.has(n))throw new ms("Side channel does not contain "+bs(n))},delete:function(n){var i=t&&t.next,a=Rs(t,n);return a&&i&&i===a&&(t=void 0),!!a},get:function(n){return ws(t,n)},has:function(n){return Ss(t,n)},set:function(n,i){t||(t={next:void 0}),Es(t,n,i)}};return r},Ki=Object,Os=Error,Ts=EvalError,Is=RangeError,Ps=ReferenceError,Mf=SyntaxError,Ns=URIError,Ds=Math.abs,Ls=Math.floor,Ms=Math.max,ks=Math.min,Fs=Math.pow,js=Math.round,xs=Number.isNaN||function(t){return t!==t},$s=xs,Cs=function(t){return $s(t)||t===0?t:t<0?-1:1},Bs=Object.getOwnPropertyDescriptor,Pr=Bs;if(Pr)try{Pr([],"length")}catch{Pr=null}var Ht=Pr,Nr=Object.defineProperty||!1;if(Nr)try{Nr({},"a",{value:1})}catch{Nr=!1}var nn=Nr,Yi=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(t,r);if(f.value!==i||f.enumerable!==!0)return!1}return!0},In,Fa;function Us(){if(Fa)return In;Fa=1;var e=typeof Symbol<"u"&&Symbol,t=Yi;return In=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},In}var Pn,ja;function kf(){return ja||(ja=1,Pn=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Pn}var Nn,xa;function Ff(){if(xa)return Nn;xa=1;var e=Ki;return Nn=e.getPrototypeOf||null,Nn}var Dn,$a;function qs(){if($a)return Dn;$a=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(d,l){for(var u=[],w=0;w<d.length;w+=1)u[w]=d[w];for(var g=0;g<l.length;g+=1)u[g+d.length]=l[g];return u},a=function(d,l){for(var u=[],w=l,g=0;w<d.length;w+=1,g+=1)u[g]=d[w];return u},o=function(f,d){for(var l="",u=0;u<f.length;u+=1)l+=f[u],u+1<f.length&&(l+=d);return l};return Dn=function(d){var l=this;if(typeof l!="function"||t.apply(l)!==n)throw new TypeError(e+l);for(var u=a(arguments,1),w,g=function(){if(this instanceof w){var k=l.apply(this,i(u,arguments));return Object(k)===k?k:this}return l.apply(d,i(u,arguments))},S=r(0,l.length-u.length),N=[],F=0;F<S;F++)N[F]="$"+F;if(w=Function("binder","return function ("+o(N,",")+"){ return binder.apply(this,arguments); }")(g),l.prototype){var j=function(){};j.prototype=l.prototype,w.prototype=new j,j.prototype=null}return w},Dn}var Ln,Ca;function cr(){if(Ca)return Ln;Ca=1;var e=qs();return Ln=Function.prototype.bind||e,Ln}var Mn,Ba;function Xi(){return Ba||(Ba=1,Mn=Function.prototype.call),Mn}var kn,Ua;function Ji(){return Ua||(Ua=1,kn=Function.prototype.apply),kn}var zs=typeof Reflect<"u"&&Reflect&&Reflect.apply,Zs=cr(),Hs=Ji(),Ws=Xi(),Gs=zs,jf=Gs||Zs.call(Ws,Hs),Vs=cr(),Ks=ft,Ys=Xi(),Xs=jf,Qi=function(t){if(t.length<1||typeof t[0]!="function")throw new Ks("a function is required");return Xs(Vs,Ys,t)},Fn,qa;function Js(){if(qa)return Fn;qa=1;var e=Qi,t=Ht,r;try{r=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var n=!!r&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return Fn=n&&typeof n.get=="function"?e([n.get]):typeof a=="function"?function(f){return a(f==null?f:i(f))}:!1,Fn}var jn,za;function xf(){if(za)return jn;za=1;var e=kf(),t=Ff(),r=Js();return jn=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:r?function(i){return r(i)}:null,jn}var xn,Za;function $f(){if(Za)return xn;Za=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=cr();return xn=r.call(e,t),xn}var pe,Qs=Ki,ec=Os,tc=Ts,rc=Is,nc=Ps,Zt=Mf,Bt=ft,ic=Ns,ac=Ds,oc=Ls,fc=Ms,lc=ks,uc=Fs,sc=js,cc=Cs,Cf=Function,$n=function(e){try{return Cf('"use strict"; return ('+e+").constructor;")()}catch{}},or=Ht,hc=nn,Cn=function(){throw new Bt},dc=or?function(){try{return arguments.callee,Cn}catch{try{return or(arguments,"callee").get}catch{return Cn}}}():Cn,Lt=Us()(),Ie=xf(),pc=Ff(),yc=kf(),Bf=Ji(),hr=Xi(),xt={},vc=typeof Uint8Array>"u"||!Ie?pe:Ie(Uint8Array),St={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?pe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?pe:ArrayBuffer,"%ArrayIteratorPrototype%":Lt&&Ie?Ie([][Symbol.iterator]()):pe,"%AsyncFromSyncIteratorPrototype%":pe,"%AsyncFunction%":xt,"%AsyncGenerator%":xt,"%AsyncGeneratorFunction%":xt,"%AsyncIteratorPrototype%":xt,"%Atomics%":typeof Atomics>"u"?pe:Atomics,"%BigInt%":typeof BigInt>"u"?pe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?pe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?pe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?pe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ec,"%eval%":eval,"%EvalError%":tc,"%Float32Array%":typeof Float32Array>"u"?pe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?pe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?pe:FinalizationRegistry,"%Function%":Cf,"%GeneratorFunction%":xt,"%Int8Array%":typeof Int8Array>"u"?pe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?pe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?pe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Lt&&Ie?Ie(Ie([][Symbol.iterator]())):pe,"%JSON%":typeof JSON=="object"?JSON:pe,"%Map%":typeof Map>"u"?pe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Lt||!Ie?pe:Ie(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Qs,"%Object.getOwnPropertyDescriptor%":or,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?pe:Promise,"%Proxy%":typeof Proxy>"u"?pe:Proxy,"%RangeError%":rc,"%ReferenceError%":nc,"%Reflect%":typeof Reflect>"u"?pe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?pe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Lt||!Ie?pe:Ie(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?pe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Lt&&Ie?Ie(""[Symbol.iterator]()):pe,"%Symbol%":Lt?Symbol:pe,"%SyntaxError%":Zt,"%ThrowTypeError%":dc,"%TypedArray%":vc,"%TypeError%":Bt,"%Uint8Array%":typeof Uint8Array>"u"?pe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?pe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?pe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?pe:Uint32Array,"%URIError%":ic,"%WeakMap%":typeof WeakMap>"u"?pe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?pe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?pe:WeakSet,"%Function.prototype.call%":hr,"%Function.prototype.apply%":Bf,"%Object.defineProperty%":hc,"%Object.getPrototypeOf%":pc,"%Math.abs%":ac,"%Math.floor%":oc,"%Math.max%":fc,"%Math.min%":lc,"%Math.pow%":uc,"%Math.round%":sc,"%Math.sign%":cc,"%Reflect.getPrototypeOf%":yc};if(Ie)try{null.error}catch(e){var gc=Ie(Ie(e));St["%Error.prototype%"]=gc}var _c=function e(t){var r;if(t==="%AsyncFunction%")r=$n("async function () {}");else if(t==="%GeneratorFunction%")r=$n("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=$n("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Ie&&(r=Ie(i.prototype))}return St[t]=r,r},Ha={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},dr=cr(),Zr=$f(),bc=dr.call(hr,Array.prototype.concat),mc=dr.call(Bf,Array.prototype.splice),Wa=dr.call(hr,String.prototype.replace),Hr=dr.call(hr,String.prototype.slice),wc=dr.call(hr,RegExp.prototype.exec),Ec=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Sc=/\\(\\)?/g,Rc=function(t){var r=Hr(t,0,1),n=Hr(t,-1);if(r==="%"&&n!=="%")throw new Zt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Zt("invalid intrinsic syntax, expected opening `%`");var i=[];return Wa(t,Ec,function(a,o,f,d){i[i.length]=f?Wa(d,Sc,"$1"):o||a}),i},Ac=function(t,r){var n=t,i;if(Zr(Ha,n)&&(i=Ha[n],n="%"+i[0]+"%"),Zr(St,n)){var a=St[n];if(a===xt&&(a=_c(n)),typeof a>"u"&&!r)throw new Bt("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new Zt("intrinsic "+t+" does not exist!")},pr=function(t,r){if(typeof t!="string"||t.length===0)throw new Bt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Bt('"allowMissing" argument must be a boolean');if(wc(/^%?[^%]*%?$/,t)===null)throw new Zt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Rc(t),i=n.length>0?n[0]:"",a=Ac("%"+i+"%",r),o=a.name,f=a.value,d=!1,l=a.alias;l&&(i=l[0],mc(n,bc([0,1],l)));for(var u=1,w=!0;u<n.length;u+=1){var g=n[u],S=Hr(g,0,1),N=Hr(g,-1);if((S==='"'||S==="'"||S==="`"||N==='"'||N==="'"||N==="`")&&S!==N)throw new Zt("property names with quotes must have matching quotes");if((g==="constructor"||!w)&&(d=!0),i+="."+g,o="%"+i+"%",Zr(St,o))f=St[o];else if(f!=null){if(!(g in f)){if(!r)throw new Bt("base intrinsic for "+t+" exists, but the property is not available.");return}if(or&&u+1>=n.length){var F=or(f,g);w=!!F,w&&"get"in F&&!("originalValue"in F.get)?f=F.get:f=f[g]}else w=Zr(f,g),f=f[g];w&&!d&&(St[o]=f)}}return f},Uf=pr,qf=Qi,Oc=qf([Uf("%String.prototype.indexOf%")]),_t=function(t,r){var n=Uf(t,!!r);return typeof n=="function"&&Oc(t,".prototype.")>-1?qf([n]):n},Tc=pr,yr=_t,Ic=tn,Pc=ft,Ga=Tc("%Map%",!0),Nc=yr("Map.prototype.get",!0),Dc=yr("Map.prototype.set",!0),Lc=yr("Map.prototype.has",!0),Mc=yr("Map.prototype.delete",!0),kc=yr("Map.prototype.size",!0),zf=!!Ga&&function(){var t,r={assert:function(n){if(!r.has(n))throw new Pc("Side channel does not contain "+Ic(n))},delete:function(n){if(t){var i=Mc(t,n);return kc(t)===0&&(t=void 0),i}return!1},get:function(n){if(t)return Nc(t,n)},has:function(n){return t?Lc(t,n):!1},set:function(n,i){t||(t=new Ga),Dc(t,n,i)}};return r},Fc=pr,an=_t,jc=tn,Er=zf,xc=ft,Mt=Fc("%WeakMap%",!0),$c=an("WeakMap.prototype.get",!0),Cc=an("WeakMap.prototype.set",!0),Bc=an("WeakMap.prototype.has",!0),Uc=an("WeakMap.prototype.delete",!0),qc=Mt?function(){var t,r,n={assert:function(i){if(!n.has(i))throw new xc("Side channel does not contain "+jc(i))},delete:function(i){if(Mt&&i&&(typeof i=="object"||typeof i=="function")){if(t)return Uc(t,i)}else if(Er&&r)return r.delete(i);return!1},get:function(i){return Mt&&i&&(typeof i=="object"||typeof i=="function")&&t?$c(t,i):r&&r.get(i)},has:function(i){return Mt&&i&&(typeof i=="object"||typeof i=="function")&&t?Bc(t,i):!!r&&r.has(i)},set:function(i,a){Mt&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new Mt),Cc(t,i,a)):Er&&(r||(r=Er()),r.set(i,a))}};return n}:Er,zc=ft,Zc=tn,Hc=As,Wc=zf,Gc=qc,Vc=Gc||Wc||Hc,Kc=function(){var t,r={assert:function(n){if(!r.has(n))throw new zc("Side channel does not contain "+Zc(n))},delete:function(n){return!!t&&t.delete(n)},get:function(n){return t&&t.get(n)},has:function(n){return!!t&&t.has(n)},set:function(n,i){t||(t=Vc()),t.set(n,i)}};return r},Yc=String.prototype.replace,Xc=/%20/g,Bn={RFC1738:"RFC1738",RFC3986:"RFC3986"},ea={default:Bn.RFC3986,formatters:{RFC1738:function(e){return Yc.call(e,Xc,"+")},RFC3986:function(e){return String(e)}},RFC1738:Bn.RFC1738,RFC3986:Bn.RFC3986},Jc=ea,Un=Object.prototype.hasOwnProperty,bt=Array.isArray,Ke=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Qc=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(bt(n)){for(var i=[],a=0;a<n.length;++a)typeof n[a]<"u"&&i.push(n[a]);r.obj[r.prop]=i}}},Zf=function(t,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},i=0;i<t.length;++i)typeof t[i]<"u"&&(n[i]=t[i]);return n},eh=function e(t,r,n){if(!r)return t;if(typeof r!="object"&&typeof r!="function"){if(bt(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Un.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var i=t;return bt(t)&&!bt(r)&&(i=Zf(t,n)),bt(t)&&bt(r)?(r.forEach(function(a,o){if(Un.call(t,o)){var f=t[o];f&&typeof f=="object"&&a&&typeof a=="object"?t[o]=e(f,a,n):t.push(a)}else t[o]=a}),t):Object.keys(r).reduce(function(a,o){var f=r[o];return Un.call(a,o)?a[o]=e(a[o],f,n):a[o]=f,a},i)},th=function(t,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},t)},rh=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},qn=1024,nh=function(t,r,n,i,a){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),n==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(S){return"%26%23"+parseInt(S.slice(2),16)+"%3B"});for(var f="",d=0;d<o.length;d+=qn){for(var l=o.length>=qn?o.slice(d,d+qn):o,u=[],w=0;w<l.length;++w){var g=l.charCodeAt(w);if(g===45||g===46||g===95||g===126||g>=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122||a===Jc.RFC1738&&(g===40||g===41)){u[u.length]=l.charAt(w);continue}if(g<128){u[u.length]=Ke[g];continue}if(g<2048){u[u.length]=Ke[192|g>>6]+Ke[128|g&63];continue}if(g<55296||g>=57344){u[u.length]=Ke[224|g>>12]+Ke[128|g>>6&63]+Ke[128|g&63];continue}w+=1,g=65536+((g&1023)<<10|l.charCodeAt(w)&1023),u[u.length]=Ke[240|g>>18]+Ke[128|g>>12&63]+Ke[128|g>>6&63]+Ke[128|g&63]}f+=u.join("")}return f},ih=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i<r.length;++i)for(var a=r[i],o=a.obj[a.prop],f=Object.keys(o),d=0;d<f.length;++d){var l=f[d],u=o[l];typeof u=="object"&&u!==null&&n.indexOf(u)===-1&&(r.push({obj:o,prop:l}),n.push(u))}return Qc(r),t},ah=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},oh=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},fh=function(t,r){return[].concat(t,r)},lh=function(t,r){if(bt(t)){for(var n=[],i=0;i<t.length;i+=1)n.push(r(t[i]));return n}return r(t)},Hf={arrayToObject:Zf,assign:th,combine:fh,compact:ih,decode:rh,encode:nh,isBuffer:oh,isRegExp:ah,maybeMap:lh,merge:eh},Wf=Kc,Dr=Hf,rr=ea,uh=Object.prototype.hasOwnProperty,Gf={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Je=Array.isArray,sh=Array.prototype.push,Vf=function(e,t){sh.apply(e,Je(t)?t:[t])},ch=Date.prototype.toISOString,Va=rr.default,Ae={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Dr.encode,encodeValuesOnly:!1,filter:void 0,format:Va,formatter:rr.formatters[Va],indices:!1,serializeDate:function(t){return ch.call(t)},skipNulls:!1,strictNullHandling:!1},hh=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},zn={},dh=function e(t,r,n,i,a,o,f,d,l,u,w,g,S,N,F,j,k,I){for(var R=t,P=I,T=0,q=!1;(P=P.get(zn))!==void 0&&!q;){var C=P.get(t);if(T+=1,typeof C<"u"){if(C===T)throw new RangeError("Cyclic object value");q=!0}typeof P.get(zn)>"u"&&(T=0)}if(typeof u=="function"?R=u(r,R):R instanceof Date?R=S(R):n==="comma"&&Je(R)&&(R=Dr.maybeMap(R,function(D){return D instanceof Date?S(D):D})),R===null){if(o)return l&&!j?l(r,Ae.encoder,k,"key",N):r;R=""}if(hh(R)||Dr.isBuffer(R)){if(l){var z=j?r:l(r,Ae.encoder,k,"key",N);return[F(z)+"="+F(l(R,Ae.encoder,k,"value",N))]}return[F(r)+"="+F(String(R))]}var x=[];if(typeof R>"u")return x;var re;if(n==="comma"&&Je(R))j&&l&&(R=Dr.maybeMap(R,l)),re=[{value:R.length>0?R.join(",")||null:void 0}];else if(Je(u))re=u;else{var J=Object.keys(R);re=w?J.sort(w):J}var b=d?String(r).replace(/\./g,"%2E"):String(r),B=i&&Je(R)&&R.length===1?b+"[]":b;if(a&&Je(R)&&R.length===0)return B+"[]";for(var Q=0;Q<re.length;++Q){var ne=re[Q],ae=typeof ne=="object"&&ne&&typeof ne.value<"u"?ne.value:R[ne];if(!(f&&ae===null)){var ue=g&&d?String(ne).replace(/\./g,"%2E"):String(ne),ie=Je(R)?typeof n=="function"?n(B,ue):B:B+(g?"."+ue:"["+ue+"]");I.set(t,T);var Z=Wf();Z.set(zn,I),Vf(x,e(ae,ie,n,i,a,o,f,d,n==="comma"&&j&&Je(R)?null:l,u,w,g,S,N,F,j,k,Z))}}return x},ph=function(t){if(!t)return Ae;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys<"u"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||Ae.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=rr.default;if(typeof t.format<"u"){if(!uh.call(rr.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var i=rr.formatters[n],a=Ae.filter;(typeof t.filter=="function"||Je(t.filter))&&(a=t.filter);var o;if(t.arrayFormat in Gf?o=t.arrayFormat:"indices"in t?o=t.indices?"indices":"repeat":o=Ae.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=typeof t.allowDots>"u"?t.encodeDotInKeys===!0?!0:Ae.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Ae.addQueryPrefix,allowDots:f,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Ae.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ae.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?Ae.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Ae.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:Ae.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:Ae.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Ae.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Ae.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Ae.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ae.strictNullHandling}},yh=function(e,t){var r=e,n=ph(t),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):Je(n.filter)&&(a=n.filter,i=a);var o=[];if(typeof r!="object"||r===null)return"";var f=Gf[n.arrayFormat],d=f==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var l=Wf(),u=0;u<i.length;++u){var w=i[u],g=r[w];n.skipNulls&&g===null||Vf(o,dh(g,w,f,d,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,l))}var S=o.join(n.delimiter),N=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?N+="utf8=%26%2310003%3B&":N+="utf8=%E2%9C%93&"),S.length>0?N+S:""},Rt=Hf,Pi=Object.prototype.hasOwnProperty,Ka=Array.isArray,Se={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Rt.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},vh=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},Kf=function(e,t,r){if(e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return e},gh="utf8=%26%2310003%3B",_h="utf8=%E2%9C%93",bh=function(t,r){var n={__proto__:null},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,r.throwOnLimitExceeded?a+1:a);if(r.throwOnLimitExceeded&&o.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(a===1?"":"s")+" allowed.");var f=-1,d,l=r.charset;if(r.charsetSentinel)for(d=0;d<o.length;++d)o[d].indexOf("utf8=")===0&&(o[d]===_h?l="utf-8":o[d]===gh&&(l="iso-8859-1"),f=d,d=o.length);for(d=0;d<o.length;++d)if(d!==f){var u=o[d],w=u.indexOf("]="),g=w===-1?u.indexOf("="):w+1,S,N;g===-1?(S=r.decoder(u,Se.decoder,l,"key"),N=r.strictNullHandling?null:""):(S=r.decoder(u.slice(0,g),Se.decoder,l,"key"),N=Rt.maybeMap(Kf(u.slice(g+1),r,Ka(n[S])?n[S].length:0),function(j){return r.decoder(j,Se.decoder,l,"value")})),N&&r.interpretNumericEntities&&l==="iso-8859-1"&&(N=vh(String(N))),u.indexOf("[]=")>-1&&(N=Ka(N)?[N]:N);var F=Pi.call(n,S);F&&r.duplicates==="combine"?n[S]=Rt.combine(n[S],N):(!F||r.duplicates==="last")&&(n[S]=N)}return n},mh=function(e,t,r,n){var i=0;if(e.length>0&&e[e.length-1]==="[]"){var a=e.slice(0,-1).join("");i=Array.isArray(t)&&t[a]?t[a].length:0}for(var o=n?t:Kf(t,r,i),f=e.length-1;f>=0;--f){var d,l=e[f];if(l==="[]"&&r.parseArrays)d=r.allowEmptyArrays&&(o===""||r.strictNullHandling&&o===null)?[]:Rt.combine([],o);else{d=r.plainObjects?{__proto__:null}:{};var u=l.charAt(0)==="["&&l.charAt(l.length-1)==="]"?l.slice(1,-1):l,w=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,g=parseInt(w,10);!r.parseArrays&&w===""?d={0:o}:!isNaN(g)&&l!==w&&String(g)===w&&g>=0&&r.parseArrays&&g<=r.arrayLimit?(d=[],d[g]=o):w!=="__proto__"&&(d[w]=o)}o=d}return o},wh=function(t,r,n,i){if(t){var a=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,f=/(\[[^[\]]*])/g,d=n.depth>0&&o.exec(a),l=d?a.slice(0,d.index):a,u=[];if(l){if(!n.plainObjects&&Pi.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var w=0;n.depth>0&&(d=f.exec(a))!==null&&w<n.depth;){if(w+=1,!n.plainObjects&&Pi.call(Object.prototype,d[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(d[1])}if(d){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+a.slice(d.index)+"]")}return mh(u,r,n,i)}},Eh=function(t){if(!t)return Se;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys<"u"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder<"u"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof t.throwOnLimitExceeded<"u"&&typeof t.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var r=typeof t.charset>"u"?Se.charset:t.charset,n=typeof t.duplicates>"u"?Se.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:Se.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Se.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Se.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Se.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Se.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Se.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Se.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:Se.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:Se.decoder,delimiter:typeof t.delimiter=="string"||Rt.isRegExp(t.delimiter)?t.delimiter:Se.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Se.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Se.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Se.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Se.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:Se.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Se.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}},Sh=function(e,t){var r=Eh(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof e=="string"?bh(e,r):e,i=r.plainObjects?{__proto__:null}:{},a=Object.keys(n),o=0;o<a.length;++o){var f=a[o],d=wh(f,n[f],r,typeof e=="string");i=Rt.merge(i,d,r)}return r.allowSparse===!0?i:Rt.compact(i)},Rh=yh,Ah=Sh,Oh=ea,Th={formats:Oh,parse:Ah,stringify:Rh};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Af,n=Th;function i(L){return L&&typeof L=="object"&&"default"in L?L:{default:L}}var a=i(r),o=i(n),f=a.default;function d(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var l=/^([a-z0-9.+-]+:)/i,u=/:[0-9]*$/,w=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,g=["<",">",'"',"`"," ","\r",`
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var Y = Object.defineProperty;
|
|
2
2
|
var Z = (n, f, e) => f in n ? Y(n, f, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[f] = e;
|
|
3
3
|
var d = (n, f, e) => Z(n, typeof f != "symbol" ? f + "" : f, e);
|
|
4
|
-
import "./index-
|
|
5
|
-
import { EvmWormholeCore as f0 } from "./index-
|
|
6
|
-
import {
|
|
7
|
-
import { E as v, C as S } from "./platform-
|
|
8
|
-
import { a as s0, l as i0, d as r0, I as $, C as E } from "./contract-
|
|
9
|
-
import { E as
|
|
10
|
-
import { r as
|
|
4
|
+
import "./index-BbUxOO56.mjs";
|
|
5
|
+
import { EvmWormholeCore as f0 } from "./index-S_O9ybUy.mjs";
|
|
6
|
+
import { bJ as y, bB as e0, bH as L, bA as p, ag as a0, at as C, c9 as t0, cd as b0, aF as H, by as D, aR as I, H as F, a3 as U, aU as u, E as q, ay as n0, cO as N, aV as j, aP as d0, ab as c0, aW as V } from "./address-DqsMcbcT.mjs";
|
|
7
|
+
import { E as v, C as S } from "./platform-CB3TPh7I.mjs";
|
|
8
|
+
import { a as s0, l as i0, d as r0, I as $, C as E } from "./contract-DrK81GRi.mjs";
|
|
9
|
+
import { E as J } from "./unsignedTransaction-C0V0UbsS.mjs";
|
|
10
|
+
import { r as G } from "./chain-DbmG-oEQ.mjs";
|
|
11
11
|
const p0 = new RegExp("^bytes([0-9]+)$"), y0 = new RegExp("^(u?int)([0-9]*)$"), o0 = new RegExp("^(.*)\\[([0-9]*)\\]$");
|
|
12
12
|
function K(n, f, e) {
|
|
13
13
|
switch (n) {
|
|
@@ -126,7 +126,7 @@ class B {
|
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
createUnsignedTx(f, e, a = !1) {
|
|
129
|
-
return new
|
|
129
|
+
return new J(j(f, this.chainId), this.network, this.chain, e, a);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
class O {
|
|
@@ -172,7 +172,7 @@ class O {
|
|
|
172
172
|
yield this.createUnsignedTx(u(A, b), "CircleRelayer.transfer");
|
|
173
173
|
}
|
|
174
174
|
createUnsignedTx(f, e, a = !1) {
|
|
175
|
-
return new
|
|
175
|
+
return new J(j(f, this.chainId), this.network, this.chain, e, a);
|
|
176
176
|
}
|
|
177
177
|
async nativeTokenAmount(f) {
|
|
178
178
|
return await this.circleRelayer.calculateNativeSwapAmountOut(this.tokenAddr, f);
|
|
@@ -2329,8 +2329,8 @@ const g0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2329
2329
|
TokenMessenger: h0,
|
|
2330
2330
|
TokenMessenger__factory: R
|
|
2331
2331
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2332
|
-
|
|
2333
|
-
|
|
2332
|
+
G(V, "CircleBridge", B);
|
|
2333
|
+
G(V, "AutomaticCircleBridge", O);
|
|
2334
2334
|
export {
|
|
2335
2335
|
O as EvmAutomaticCircleBridge,
|
|
2336
2336
|
B as EvmCircleBridge,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var h=Object.defineProperty;var m=(a,e,t)=>e in a?h(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var s=(a,e,t)=>m(a,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./address-
|
|
1
|
+
"use strict";var h=Object.defineProperty;var m=(a,e,t)=>e in a?h(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var s=(a,e,t)=>m(a,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./address-DnSRsubO.js"),w=require("./platform-CGIgJRY3.js"),g=require("./create-Q6N34YQz.js"),u=require("./chain-Cio41-Lr.js");class i{constructor(e,t,r,o){s(this,"network");s(this,"chain");s(this,"connection");s(this,"contracts");s(this,"chainId");s(this,"coreBridge");this.network=e,this.chain=t,this.connection=r,this.contracts=o,this.chainId=c.toChainId(t);const n=o.coreBridge;if(!n)throw new Error(`CoreBridge contract Address for chain ${t} not found`);this.coreBridge=n}getGuardianSet(e){throw new Error("Method not implemented.")}getGuardianSetIndex(){throw new Error("Method not implemented.")}getMessageFee(){throw new Error("Method not implemented.")}static async fromRpc(e,t){const[r,o]=await w.AptosPlatform.chainFromRpc(e),n=t[o];if(n.network!==r)throw new Error(`Network mismatch: ${n.network} !== ${r}`);return new i(r,o,e,n.contracts)}async*publishMessage(e,t){throw new Error("Method not implemented.")}async*verifyMessage(e,t){throw new Error("Not implemented.")}async parseTransaction(e){return(await this.parseMessages(e)).map(r=>({chain:r.emitterChain,emitter:r.emitterAddress,sequence:r.sequence}))}async parseMessages(e){const t=await this.connection.getTransactionByHash({transactionHash:e});if(t.type!=="user_transaction")throw new Error(`${e} is not a user_transaction`);const r=t.events.filter(o=>o.type.endsWith("WormholeMessage"));if(!r||r.length===0)throw new Error(`WormholeMessage not found for ${e}`);return r.map(o=>{const n=o.data,d=new c.UniversalAddress(BigInt(n.sender).toString(16).padStart(64,"0"));return g.createVAA("Uint8Array",{guardianSet:0,emitterChain:this.chain,emitterAddress:d,sequence:BigInt(n.sequence),timestamp:Number(n.timestamp),consistencyLevel:n.consistency_level,nonce:Number(n.nonce),signatures:[],payload:c.hex.decode(n.payload)})})}}u.registerProtocol("Aptos","WormholeCore",i);exports.AptosWormholeCore=i;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
2
|
var h = (i, e, r) => e in i ? d(i, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[e] = r;
|
|
3
3
|
var n = (i, e, r) => h(i, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import { aP as m } from "./address-
|
|
5
|
-
import { b as w } from "./platform-
|
|
6
|
-
import { c as p } from "./create-
|
|
7
|
-
import { S as g } from "./address-
|
|
8
|
-
import { r as u } from "./chain-
|
|
4
|
+
import { aP as m } from "./address-DqsMcbcT.mjs";
|
|
5
|
+
import { b as w } from "./platform-DTVt42uH.mjs";
|
|
6
|
+
import { c as p } from "./create-BtJgfMdJ.mjs";
|
|
7
|
+
import { S as g } from "./address-S7wMItHX.mjs";
|
|
8
|
+
import { r as u } from "./chain-DbmG-oEQ.mjs";
|
|
9
9
|
class c {
|
|
10
10
|
constructor(e, r, t, o) {
|
|
11
11
|
n(this, "network");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index-CvEfOpn2.js"),ko=require("./dijkstra-CtFxn7S9.js"),Mo=require("./address-DnSRsubO.js");/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|