@abtnode/blocklet-services 1.16.45 → 1.16.46-beta-20250703-050038-4ba2582f
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/api/routes/user-session.js +2 -1
- package/api/state/index.js +1 -1
- package/dist/assets/{AdapterDayjs-BRnJ9bMs.js → AdapterDayjs-BIQsjtiT.js} +1 -1
- package/dist/assets/{ArrowDropDown-DBJPIOl4.js → ArrowDropDown-C8mwBtnq.js} +1 -1
- package/dist/assets/{CheckCircle-DUJmWceY.js → CheckCircle-BMMes-V7.js} +1 -1
- package/dist/assets/{ChevronLeft-BBJJJhVi.js → ChevronLeft-B8rsCJhy.js} +1 -1
- package/dist/assets/{ChevronRight-BU9I7WD4.js → ChevronRight-CXhRlHKa.js} +1 -1
- package/dist/assets/{DeleteOutline-BKSMNwfT.js → DeleteOutline-DtbgduIM.js} +1 -1
- package/dist/assets/{Done-ASNftAOL.js → Done-CfxTFgBR.js} +1 -1
- package/dist/assets/{Download-D4X39_9V.js → Download-Cz4FAob1.js} +1 -1
- package/dist/assets/{Edit-CiTb-w5P.js → Edit-Dh2oBqBB.js} +1 -1
- package/dist/assets/{Error-BAEKW7-e.js → Error-BsnYcwiq.js} +1 -1
- package/dist/assets/{ExpandLess-CcLTbsdW.js → ExpandLess-B7eaaZaz.js} +1 -1
- package/dist/assets/{Google-C28yeMZW.js → Google-BAVYemz7.js} +1 -1
- package/dist/assets/{Home-Dujcj083.js → Home-SYcuMunC.js} +1 -1
- package/dist/assets/{InfoOutlined-BVWbftGI.js → InfoOutlined-GEKFkezP.js} +1 -1
- package/dist/assets/{Launch-DFS3fgjy.js → Launch-BB2NS6gw.js} +1 -1
- package/dist/assets/{LaunchOutlined-C1x4Og4u.js → LaunchOutlined-BEsYq9kI.js} +1 -1
- package/dist/assets/{MoreHoriz-ChJ3K52h.js → MoreHoriz-BDLlOCqj.js} +1 -1
- package/dist/assets/{PlayArrow-BqVYRyLK.js → PlayArrow-hnXK75qN.js} +1 -1
- package/dist/assets/{TuneOutlined-CKzi_VZZ.js → TuneOutlined-CjVMXY_7.js} +1 -1
- package/dist/assets/{ViewList-BOGcbymi.js → ViewList-CYMKafss.js} +1 -1
- package/dist/assets/{access-control-5WGT2JfR.js → access-control-BFze8gPg.js} +1 -1
- package/dist/assets/{actions-DnTVXQ_Z.js → actions-D_aAU5uf.js} +1 -1
- package/dist/assets/{add-component-core-DehB4lvu.js → add-component-core-CwbGrQav.js} +1 -1
- package/dist/assets/{add-resource-DfqBSLDk.js → add-resource-EZWL5Kfm.js} +1 -1
- package/dist/assets/{addon-DdjBFoHI.js → addon-CuKQNO-0.js} +1 -1
- package/dist/assets/advanced-BR1PWvXD.js +14 -0
- package/dist/assets/api-ZzsS0diA.js +1 -0
- package/dist/assets/{appearance-DsoglxbB.js → appearance-CHLvy771.js} +1 -1
- package/dist/assets/{audit-logs-DKiQkfse.js → audit-logs-HRbs-zR8.js} +1 -1
- package/dist/assets/{authorize-IzqEi1HK.js → authorize-BLL3c3nQ.js} +1 -1
- package/dist/assets/{base-chart-CoApVzod.js → base-chart-B81_ogPb.js} +1 -1
- package/dist/assets/{base32-DUSifB4M.js → base32-BTgHqgXA.js} +1 -1
- package/dist/assets/{branding-CwYIeBi1.js → branding-BYCDBHLo.js} +1 -1
- package/dist/assets/{branding-B1o_K1XB.js → branding-WyyEnk9U.js} +2 -2
- package/dist/assets/{bundle-avatar-UIbxwQif.js → bundle-avatar-DxpUnWc9.js} +1 -1
- package/dist/assets/{button-D_ZVjN82.js → button-BxXFhZV_.js} +1 -1
- package/dist/assets/{click-to-copy-By4fgGR7.js → click-to-copy-nMjIOe47.js} +1 -1
- package/dist/assets/{cloneDeep-CDl5kZTY.js → cloneDeep-Cm_V5yFW.js} +1 -1
- package/dist/assets/{collapse-DAaiuAEY.js → collapse-2Uzc-qtU.js} +1 -1
- package/dist/assets/{complete-Bi_BaBBl.js → complete-DCJ7Rl4p.js} +1 -1
- package/dist/assets/{component-CiFJ1vhL.js → component-BqNp0WH9.js} +3 -3
- package/dist/assets/{config-BZuiK8BP.js → config-COcQW2xB.js} +1 -1
- package/dist/assets/{config-JUGJKWP_.js → config-DaC-Wq7r.js} +1 -1
- package/dist/assets/{config-navigation-DZ54_nVv.js → config-navigation-DOALMOAS.js} +3 -3
- package/dist/assets/{config-space-D6ScnWdA.js → config-space-CyCq4fxg.js} +1 -1
- package/dist/assets/{confirm-RvA9mFot.js → confirm-CDWcSF88.js} +1 -1
- package/dist/assets/connect-Br7I-KPU.js +5 -0
- package/dist/assets/{connect-DhuiCF4g.js → connect-CKhBRnXh.js} +1 -1
- package/dist/assets/{connect-to-CxoBjkcK.js → connect-to-D_-7CELt.js} +1 -1
- package/dist/assets/{dashboard-t9EszOna.js → dashboard-3f3Wapmv.js} +3 -3
- package/dist/assets/{delete-confirm-wTMDQFnr.js → delete-confirm-CEtsVP5o.js} +1 -1
- package/dist/assets/{did-address-NnOD1W_A.js → did-address-BYc4cym-.js} +1 -1
- package/dist/assets/domain-DrB0Xtiq.js +9 -0
- package/dist/assets/{domain-action-card-BlPWBOAu.js → domain-action-card-BmFA6T_2.js} +1 -1
- package/dist/assets/domains-aM7-R16w.js +1 -0
- package/dist/assets/dot-BSvIHcuy.js +7 -0
- package/dist/assets/{email-0b_MYxBQ.js → email-NDtfDo4w.js} +1 -1
- package/dist/assets/{exchange-passport-BnmyuwIs.js → exchange-passport-dw7T8AUh.js} +1 -1
- package/dist/assets/{fuel-DEqW116b.js → fuel-CQnVBL1G.js} +1 -1
- package/dist/assets/{gen-access-key-CVpZSjIw.js → gen-access-key-CKRsRWaQ.js} +1 -1
- package/dist/assets/{get-safe-url-B0-S5PGZ.js → get-safe-url-D3ggKpT1.js} +1 -1
- package/dist/assets/{get-safe-url-D5KSEAKZ.js → get-safe-url-DAFhlwkH.js} +1 -1
- package/dist/assets/{home-DfSu-4-a.js → home-A-VRaS1G.js} +1 -1
- package/dist/assets/{iframe-DFg8oeD0.js → iframe-GZPTHXNz.js} +1 -1
- package/dist/assets/{index-CkwXRCmN.js → index-75Nc_luV.js} +4 -4
- package/dist/assets/{index-I1i2Mc1k.js → index-B1I0U81c.js} +1 -1
- package/dist/assets/{index-DrTNV3tX.js → index-BEpPMiyb.js} +1 -1
- package/dist/assets/{index-Dq1Rmjwf.js → index-BXVUmQnX.js} +1 -1
- package/dist/assets/{index-CD07vq9d.js → index-BrMH3hes.js} +1 -1
- package/dist/assets/{index-6I6juqjg.js → index-BsIM7oBN.js} +1 -1
- package/dist/assets/{index-B70kYOfj.js → index-C0LoLjcL.js} +1 -1
- package/dist/assets/{index-YaLWfp9D.js → index-CAHja9to.js} +1 -1
- package/dist/assets/{index-BxJZWVOT.js → index-CRPd6bu_.js} +1 -1
- package/dist/assets/{index-Cwq0Io0K.js → index-C_iJfkbw.js} +1 -1
- package/dist/assets/{index-CwUT0vPy.js → index-Cti-S8sI.js} +4 -4
- package/dist/assets/{index-BLfUtUpB.js → index-D1V1OV_1.js} +1 -1
- package/dist/assets/{index-DPIWnhb5.js → index-D3Qm_7QJ.js} +1 -1
- package/dist/assets/{index-B874LN5A.js → index-D6Kz_Kj2.js} +1 -1
- package/dist/assets/{index-2mYUqHxe.js → index-DBnbtCJw.js} +3 -3
- package/dist/assets/{index-C0btiQfG.js → index-DDpPyFll.js} +1 -1
- package/dist/assets/{index-IeoAQOW8.js → index-DJghIcZg.js} +1 -1
- package/dist/assets/{index-w4f-mlFt.js → index-opVatFs5.js} +1 -1
- package/dist/assets/{index-ZcD1N43m.js → index-rz1HClDn.js} +1 -1
- package/dist/assets/{index-B4fH-l5R.js → index-xEAUvM9N.js} +1 -1
- package/dist/assets/{index-aAlnaECr.js → index-zvQQ3C85.js} +1 -1
- package/dist/assets/{invitation-B3B-J4fG.js → invitation-lVBY7BRV.js} +1 -1
- package/dist/assets/{invite-jaOwIvW9.js → invite-vGAxuB6S.js} +1 -1
- package/dist/assets/{issue-passport-DpSBB2L8.js → issue-passport-BJj9S3VH.js} +1 -1
- package/dist/assets/{item-D-39k2FC.js → item-Ck1X0EKi.js} +1 -1
- package/dist/assets/{layout-DEiEwPzB.js → layout-Iy3Ltu2J.js} +1 -1
- package/dist/assets/{list-ZFC0mCy0.js → list-CA-gEd-1.js} +2 -2
- package/dist/assets/{list-DDNORnll.js → list-DWx_rlsJ.js} +1 -1
- package/dist/assets/localization-BmadHeXm.js +1 -0
- package/dist/assets/{log-BBUgs8Rd.js → log-BFUsU5ZV.js} +1 -1
- package/dist/assets/{logger-Dqm1UQym.js → logger-9nL4ASn6.js} +1 -1
- package/dist/assets/{login-DbSs2lO2.js → login-D_thJ6QB.js} +1 -1
- package/dist/assets/{login-oauth-callback-Cpai1yC1.js → login-oauth-callback-D3WJu6Qx.js} +1 -1
- package/dist/assets/{logo-uploader-BPSmPaZd.js → logo-uploader-CMlpg5uV.js} +3 -3
- package/dist/assets/{lost-passport-Ce_WXcnR.js → lost-passport-C23LgPGO.js} +1 -1
- package/dist/assets/{omit-Cao4GLS7.js → omit-rJ-mc6U5.js} +1 -1
- package/dist/assets/{open-window-hpzKFxn5.js → open-window-CTBzFUUv.js} +1 -1
- package/dist/assets/{overview-C3aIT8Ro.js → overview-Bmi7dmR0.js} +1 -1
- package/dist/assets/{page-header-DNvUdNpI.js → page-header-DqtuZOzT.js} +1 -1
- package/dist/assets/{passport-item-B3XIp0U4.js → passport-item-BGYRFCwE.js} +1 -1
- package/dist/assets/{permission-DQvXGutX.js → permission-BEqDHKfL.js} +1 -1
- package/dist/assets/{preferences-C3zaKjfI.js → preferences-D1eIimRF.js} +1 -1
- package/dist/assets/{profile-embed-BFjGm3Vt.js → profile-embed-DdACJ_zu.js} +1 -1
- package/dist/assets/publish-resource-BnpouxdO.js +1 -0
- package/dist/assets/{react-beautiful-dnd.esm-02tdagHZ.js → react-beautiful-dnd.esm-CNuzAjru.js} +1 -1
- package/dist/assets/{runtime-Drmh1-cb.js → runtime-6wVftvUx.js} +1 -1
- package/dist/assets/{sanitize-e0A8A-yt.js → sanitize-BKnEhEg8.js} +1 -1
- package/dist/assets/sdk-Btq1iUPd.js +1 -0
- package/dist/assets/{security-BPd4v9z4.js → security-DJRv4_Fx.js} +1 -1
- package/dist/assets/{session-BGdAM8zS.js → session-kQ1tvY5U.js} +1 -1
- package/dist/assets/setup-CV_F3UHP.js +30 -0
- package/dist/assets/{spaces-DUkzPTBd.js → spaces-BTlTdKAI.js} +1 -1
- package/dist/assets/{start-C9Hvgbcz.js → start-7Wq6LiTT.js} +1 -1
- package/dist/assets/{starting-progress-CYgfPTsE.js → starting-progress-CAkASj-X.js} +1 -1
- package/dist/assets/{status-f3Y-NXRP.js → status-CYSvSIaN.js} +1 -1
- package/dist/assets/{step-actions-BNbc1l8F.js → step-actions-C4SB9_F2.js} +1 -1
- package/dist/assets/{studio-I9lo0Itp.js → studio-BWs_EnV3.js} +1 -1
- package/dist/assets/{switch-control-Brwb8ptk.js → switch-control-eCwDP-ME.js} +1 -1
- package/dist/assets/{table-tips-BzPqsKYQ.js → table-tips-CCj0tXz1.js} +1 -1
- package/dist/assets/{traffic-FNLLya21.js → traffic-Pt9FvcDk.js} +1 -1
- package/dist/assets/{transfer-m6229uxg.js → transfer-Cj_zgOWb.js} +1 -1
- package/dist/assets/{unsubscribe-BXKQU2c1.js → unsubscribe-CICtmk2r.js} +1 -1
- package/dist/assets/{use-blocklet-logo-4UB-MFD3.js → use-blocklet-logo-Bjt6-_x3.js} +1 -1
- package/dist/assets/useAsync-CZkpdKtR.js +1 -0
- package/dist/assets/useAsync-DmrzeQhI.js +1 -0
- package/dist/assets/{useLocalStorage-CaPDqrQ7.js → useLocalStorage-BoYGn-bQ.js} +1 -1
- package/dist/assets/{user-center-CNdVbQx6.js → user-center-BVfQDQ91.js} +3 -3
- package/dist/assets/{util-BRPRFc9p.js → util-BQvjy4j5.js} +1 -1
- package/dist/assets/{util-BQAJqeb4.js → util-TW4lcckB.js} +1 -1
- package/dist/assets/{vendor-arcblock-CwufDgLV.js → vendor-arcblock-DzylOsX3.js} +3 -3
- package/dist/assets/{vendor-hooks-DqdmWCmo.js → vendor-hooks-B2N8eE_a.js} +1 -1
- package/dist/assets/vendor-utils-uPLZO5mM.js +208 -0
- package/dist/assets/vendor-ux-did-connect-CQtodyZB.js +2304 -0
- package/dist/assets/{wrap-locale-ClbCNOs0.js → wrap-locale-CpZgZaeK.js} +1 -1
- package/dist/index.html +5 -5
- package/dist/service-worker.js +1 -1
- package/package.json +23 -23
- package/dist/assets/advanced-CJz1c7Eh.js +0 -14
- package/dist/assets/api-C1S8LUld.js +0 -1
- package/dist/assets/connect-DGMfp8-Y.js +0 -5
- package/dist/assets/domain-BaMcm6r6.js +0 -9
- package/dist/assets/domains-CxJF-JF_.js +0 -1
- package/dist/assets/dot-4jhL56kz.js +0 -7
- package/dist/assets/localization-tyC-vHO5.js +0 -1
- package/dist/assets/publish-resource-CAZrBTdz.js +0 -1
- package/dist/assets/sdk-BmeKtHic.js +0 -1
- package/dist/assets/setup-Bo10IVJ4.js +0 -30
- package/dist/assets/useAsync-C62uE2pS.js +0 -1
- package/dist/assets/vendor-utils-BfZ4tlod.js +0 -208
- package/dist/assets/vendor-ux-did-connect-pzpsrvqx.js +0 -2304
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
var Uu=Object.defineProperty;var Du=(e,t,r)=>t in e?Uu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ot=(e,t,r)=>Du(e,typeof t!="symbol"?t+"":t,r);import{e as gs,g as ms,a as ju}from"./vendor-react-DEoibe3W.js";var ku=9007199254740991,qu=Math.floor;function ao(e,t){var r="";if(!e||t<1||t>ku)return r;do t%2&&(r+=e),t=qu(t/2),t&&(e+=e);while(t);return r}const $t=globalThis||void 0||self;var ys=typeof $t=="object"&&$t&&$t.Object===Object&&$t,zu=typeof self=="object"&&self&&self.Object===Object&&self,ot=ys||zu||Function("return this")(),it=ot.Symbol;function gt(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var $e=Array.isArray,ws=Object.prototype,Hu=ws.hasOwnProperty,Gu=ws.toString,ur=it?it.toStringTag:void 0;function Wu(e){var t=Hu.call(e,ur),r=e[ur];try{e[ur]=void 0;var n=!0}catch{}var a=Gu.call(e);return n&&(t?e[ur]=r:delete e[ur]),a}var Zu=Object.prototype,Ju=Zu.toString;function Vu(e){return Ju.call(e)}var Ku="[object Null]",Yu="[object Undefined]",uo=it?it.toStringTag:void 0;function ut(e){return e==null?e===void 0?Yu:Ku:uo&&uo in Object(e)?Wu(e):Vu(e)}function Qe(e){return e!=null&&typeof e=="object"}var Xu="[object Symbol]";function Zt(e){return typeof e=="symbol"||Qe(e)&&ut(e)==Xu}var Qu=1/0,fo=it?it.prototype:void 0,lo=fo?fo.toString:void 0;function yr(e){if(typeof e=="string")return e;if($e(e))return gt(e,yr)+"";if(Zt(e))return lo?lo.call(e):"";var t=e+"";return t=="0"&&1/e==-Qu?"-0":t}function Mi(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(a);++n<a;)i[n]=e[n+t];return i}function Wr(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:Mi(e,t,r)}var ef="\\ud800-\\udfff",tf="\\u0300-\\u036f",rf="\\ufe20-\\ufe2f",nf="\\u20d0-\\u20ff",of=tf+rf+nf,sf="\\ufe0e\\ufe0f",af="\\u200d",uf=RegExp("["+af+ef+of+sf+"]");function Zr(e){return uf.test(e)}function vs(e){return function(t){return t==null?void 0:t[e]}}var ff=vs("length"),bs="\\ud800-\\udfff",lf="\\u0300-\\u036f",cf="\\ufe20-\\ufe2f",hf="\\u20d0-\\u20ff",df=lf+cf+hf,pf="\\ufe0e\\ufe0f",gf="["+bs+"]",Xn="["+df+"]",Qn="\\ud83c[\\udffb-\\udfff]",mf="(?:"+Xn+"|"+Qn+")",xs="[^"+bs+"]",Ms="(?:\\ud83c[\\udde6-\\uddff]){2}",_s="[\\ud800-\\udbff][\\udc00-\\udfff]",yf="\\u200d",Es=mf+"?",Ss="["+pf+"]?",wf="(?:"+yf+"(?:"+[xs,Ms,_s].join("|")+")"+Ss+Es+")*",vf=Ss+Es+wf,bf="(?:"+[xs+Xn+"?",Xn,Ms,_s,gf].join("|")+")",co=RegExp(Qn+"(?="+Qn+")|"+bf+vf,"g");function xf(e){for(var t=co.lastIndex=0;co.test(e);)++t;return t}function _i(e){return Zr(e)?xf(e):ff(e)}function Mf(e){return e.split("")}var Os="\\ud800-\\udfff",_f="\\u0300-\\u036f",Ef="\\ufe20-\\ufe2f",Sf="\\u20d0-\\u20ff",Of=_f+Ef+Sf,Af="\\ufe0e\\ufe0f",Tf="["+Os+"]",ei="["+Of+"]",ti="\\ud83c[\\udffb-\\udfff]",$f="(?:"+ei+"|"+ti+")",As="[^"+Os+"]",Ts="(?:\\ud83c[\\udde6-\\uddff]){2}",$s="[\\ud800-\\udbff][\\udc00-\\udfff]",Cf="\\u200d",Cs=$f+"?",Rs="["+Af+"]?",Rf="(?:"+Cf+"(?:"+[As,Ts,$s].join("|")+")"+Rs+Cs+")*",Bf=Rs+Cs+Rf,Ff="(?:"+[As+ei+"?",ei,Ts,$s,Tf].join("|")+")",If=RegExp(ti+"(?="+ti+")|"+Ff+Bf,"g");function Nf(e){return e.match(If)||[]}function Jt(e){return Zr(e)?Nf(e):Mf(e)}var Pf=Math.ceil;function Bs(e,t){t=t===void 0?" ":yr(t);var r=t.length;if(r<2)return r?ao(t,e):t;var n=ao(t,Pf(e/_i(t)));return Zr(t)?Wr(Jt(n),0,e).join(""):n.slice(0,e)}var Lf=/\s/;function Fs(e){for(var t=e.length;t--&&Lf.test(e.charAt(t)););return t}var Uf=/^\s+/;function Is(e){return e&&e.slice(0,Fs(e)+1).replace(Uf,"")}function Ze(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}const av=Object.freeze(Object.defineProperty({__proto__:null,default:Ze},Symbol.toStringTag,{value:"Module"}));var ho=NaN,Df=/^[-+]0x[0-9a-f]+$/i,jf=/^0b[01]+$/i,kf=/^0o[0-7]+$/i,qf=parseInt;function ri(e){if(typeof e=="number")return e;if(Zt(e))return ho;if(Ze(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ze(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Is(e);var r=jf.test(e);return r||kf.test(e)?qf(e.slice(2),r?2:8):Df.test(e)?ho:+e}var po=1/0,zf=17976931348623157e292;function Hf(e){if(!e)return e===0?e:0;if(e=ri(e),e===po||e===-po){var t=e<0?-1:1;return t*zf}return e===e?e:0}function er(e){var t=Hf(e),r=t%1;return t===t?r?t-r:t:0}function tt(e){return e==null?"":yr(e)}function Gf(e,t,r){e=tt(e),t=er(t);var n=t?_i(e):0;return t&&n<t?Bs(t-n,r)+e:e}const uv=Object.freeze(Object.defineProperty({__proto__:null,default:Gf},Symbol.toStringTag,{value:"Module"}));function Wf(e){return e==null}const fv=Object.freeze(Object.defineProperty({__proto__:null,default:Wf},Symbol.toStringTag,{value:"Module"}));function Zf(){this.__data__=[],this.size=0}function tr(e,t){return e===t||e!==e&&t!==t}function Jr(e,t){for(var r=e.length;r--;)if(tr(e[r][0],t))return r;return-1}var Jf=Array.prototype,Vf=Jf.splice;function Kf(e){var t=this.__data__,r=Jr(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Vf.call(t,r,1),--this.size,!0}function Yf(e){var t=this.__data__,r=Jr(t,e);return r<0?void 0:t[r][1]}function Xf(e){return Jr(this.__data__,e)>-1}function Qf(e,t){var r=this.__data__,n=Jr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function bt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}bt.prototype.clear=Zf;bt.prototype.delete=Kf;bt.prototype.get=Yf;bt.prototype.has=Xf;bt.prototype.set=Qf;function el(){this.__data__=new bt,this.size=0}function tl(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function rl(e){return this.__data__.get(e)}function nl(e){return this.__data__.has(e)}var il="[object AsyncFunction]",ol="[object Function]",sl="[object GeneratorFunction]",al="[object Proxy]";function Ei(e){if(!Ze(e))return!1;var t=ut(e);return t==ol||t==sl||t==il||t==al}var Un=ot["__core-js_shared__"],go=function(){var e=/[^.]+$/.exec(Un&&Un.keys&&Un.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function ul(e){return!!go&&go in e}var fl=Function.prototype,ll=fl.toString;function Lt(e){if(e!=null){try{return ll.call(e)}catch{}try{return e+""}catch{}}return""}var cl=/[\\^$.*+?()[\]{}|]/g,hl=/^\[object .+?Constructor\]$/,dl=Function.prototype,pl=Object.prototype,gl=dl.toString,ml=pl.hasOwnProperty,yl=RegExp("^"+gl.call(ml).replace(cl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wl(e){if(!Ze(e)||ul(e))return!1;var t=Ei(e)?yl:hl;return t.test(Lt(e))}function vl(e,t){return e==null?void 0:e[t]}function Ut(e,t){var r=vl(e,t);return wl(r)?r:void 0}var hr=Ut(ot,"Map"),dr=Ut(Object,"create");function bl(){this.__data__=dr?dr(null):{},this.size=0}function xl(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Ml="__lodash_hash_undefined__",_l=Object.prototype,El=_l.hasOwnProperty;function Sl(e){var t=this.__data__;if(dr){var r=t[e];return r===Ml?void 0:r}return El.call(t,e)?t[e]:void 0}var Ol=Object.prototype,Al=Ol.hasOwnProperty;function Tl(e){var t=this.__data__;return dr?t[e]!==void 0:Al.call(t,e)}var $l="__lodash_hash_undefined__";function Cl(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=dr&&t===void 0?$l:t,this}function Ft(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ft.prototype.clear=bl;Ft.prototype.delete=xl;Ft.prototype.get=Sl;Ft.prototype.has=Tl;Ft.prototype.set=Cl;function Rl(){this.size=0,this.__data__={hash:new Ft,map:new(hr||bt),string:new Ft}}function Bl(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Vr(e,t){var r=e.__data__;return Bl(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Fl(e){var t=Vr(this,e).delete(e);return this.size-=t?1:0,t}function Il(e){return Vr(this,e).get(e)}function Nl(e){return Vr(this,e).has(e)}function Pl(e,t){var r=Vr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function xt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}xt.prototype.clear=Rl;xt.prototype.delete=Fl;xt.prototype.get=Il;xt.prototype.has=Nl;xt.prototype.set=Pl;var Ll=200;function Ul(e,t){var r=this.__data__;if(r instanceof bt){var n=r.__data__;if(!hr||n.length<Ll-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new xt(n)}return r.set(e,t),this.size=r.size,this}function at(e){var t=this.__data__=new bt(e);this.size=t.size}at.prototype.clear=el;at.prototype.delete=tl;at.prototype.get=rl;at.prototype.has=nl;at.prototype.set=Ul;var Dl="__lodash_hash_undefined__";function jl(e){return this.__data__.set(e,Dl),this}function kl(e){return this.__data__.has(e)}function It(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new xt;++t<r;)this.add(e[t])}It.prototype.add=It.prototype.push=jl;It.prototype.has=kl;function ql(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function pr(e,t){return e.has(t)}var zl=1,Hl=2;function Ns(e,t,r,n,a,i){var l=r&zl,v=e.length,x=t.length;if(v!=x&&!(l&&x>v))return!1;var m=i.get(e),h=i.get(t);if(m&&h)return m==t&&h==e;var S=-1,B=!0,z=r&Hl?new It:void 0;for(i.set(e,t),i.set(t,e);++S<v;){var G=e[S],Z=t[S];if(n)var q=l?n(Z,G,S,t,e,i):n(G,Z,S,e,t,i);if(q!==void 0){if(q)continue;B=!1;break}if(z){if(!ql(t,function(Q,X){if(!pr(z,X)&&(G===Q||a(G,Q,r,n,i)))return z.push(X)})){B=!1;break}}else if(!(G===Z||a(G,Z,r,n,i))){B=!1;break}}return i.delete(e),i.delete(t),B}var Lr=ot.Uint8Array;function Gl(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}function Si(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Wl=1,Zl=2,Jl="[object Boolean]",Vl="[object Date]",Kl="[object Error]",Yl="[object Map]",Xl="[object Number]",Ql="[object RegExp]",ec="[object Set]",tc="[object String]",rc="[object Symbol]",nc="[object ArrayBuffer]",ic="[object DataView]",mo=it?it.prototype:void 0,Dn=mo?mo.valueOf:void 0;function oc(e,t,r,n,a,i,l){switch(r){case ic:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case nc:return!(e.byteLength!=t.byteLength||!i(new Lr(e),new Lr(t)));case Jl:case Vl:case Xl:return tr(+e,+t);case Kl:return e.name==t.name&&e.message==t.message;case Ql:case tc:return e==t+"";case Yl:var v=Gl;case ec:var x=n&Wl;if(v||(v=Si),e.size!=t.size&&!x)return!1;var m=l.get(e);if(m)return m==t;n|=Zl,l.set(e,t);var h=Ns(v(e),v(t),n,a,i,l);return l.delete(e),h;case rc:if(Dn)return Dn.call(e)==Dn.call(t)}return!1}function Oi(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}function Ps(e,t,r){var n=t(e);return $e(e)?n:Oi(n,r(e))}function Ls(e,t){for(var r=-1,n=e==null?0:e.length,a=0,i=[];++r<n;){var l=e[r];t(l,r,e)&&(i[a++]=l)}return i}function Us(){return[]}var sc=Object.prototype,ac=sc.propertyIsEnumerable,yo=Object.getOwnPropertySymbols,Ai=yo?function(e){return e==null?[]:(e=Object(e),Ls(yo(e),function(t){return ac.call(e,t)}))}:Us;function uc(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var fc="[object Arguments]";function wo(e){return Qe(e)&&ut(e)==fc}var Ds=Object.prototype,lc=Ds.hasOwnProperty,cc=Ds.propertyIsEnumerable,Vt=wo(function(){return arguments}())?wo:function(e){return Qe(e)&&lc.call(e,"callee")&&!cc.call(e,"callee")};function hc(){return!1}var js=typeof exports=="object"&&exports&&!exports.nodeType&&exports,vo=js&&typeof module=="object"&&module&&!module.nodeType&&module,dc=vo&&vo.exports===js,bo=dc?ot.Buffer:void 0,pc=bo?bo.isBuffer:void 0,Kt=pc||hc,gc=9007199254740991,mc=/^(?:0|[1-9]\d*)$/;function wr(e,t){var r=typeof e;return t=t??gc,!!t&&(r=="number"||r!="symbol"&&mc.test(e))&&e>-1&&e%1==0&&e<t}var yc=9007199254740991;function Ti(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=yc}var wc="[object Arguments]",vc="[object Array]",bc="[object Boolean]",xc="[object Date]",Mc="[object Error]",_c="[object Function]",Ec="[object Map]",Sc="[object Number]",Oc="[object Object]",Ac="[object RegExp]",Tc="[object Set]",$c="[object String]",Cc="[object WeakMap]",Rc="[object ArrayBuffer]",Bc="[object DataView]",Fc="[object Float32Array]",Ic="[object Float64Array]",Nc="[object Int8Array]",Pc="[object Int16Array]",Lc="[object Int32Array]",Uc="[object Uint8Array]",Dc="[object Uint8ClampedArray]",jc="[object Uint16Array]",kc="[object Uint32Array]",Oe={};Oe[Fc]=Oe[Ic]=Oe[Nc]=Oe[Pc]=Oe[Lc]=Oe[Uc]=Oe[Dc]=Oe[jc]=Oe[kc]=!0;Oe[wc]=Oe[vc]=Oe[Rc]=Oe[bc]=Oe[Bc]=Oe[xc]=Oe[Mc]=Oe[_c]=Oe[Ec]=Oe[Sc]=Oe[Oc]=Oe[Ac]=Oe[Tc]=Oe[$c]=Oe[Cc]=!1;function qc(e){return Qe(e)&&Ti(e.length)&&!!Oe[ut(e)]}function vr(e){return function(t){return e(t)}}var ks=typeof exports=="object"&&exports&&!exports.nodeType&&exports,lr=ks&&typeof module=="object"&&module&&!module.nodeType&&module,zc=lr&&lr.exports===ks,jn=zc&&ys.process,Yt=function(){try{var e=lr&&lr.require&&lr.require("util").types;return e||jn&&jn.binding&&jn.binding("util")}catch{}}(),xo=Yt&&Yt.isTypedArray,Kr=xo?vr(xo):qc,Hc=Object.prototype,Gc=Hc.hasOwnProperty;function qs(e,t){var r=$e(e),n=!r&&Vt(e),a=!r&&!n&&Kt(e),i=!r&&!n&&!a&&Kr(e),l=r||n||a||i,v=l?uc(e.length,String):[],x=v.length;for(var m in e)(t||Gc.call(e,m))&&!(l&&(m=="length"||a&&(m=="offset"||m=="parent")||i&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||wr(m,x)))&&v.push(m);return v}var Wc=Object.prototype;function Yr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Wc;return e===r}function zs(e,t){return function(r){return e(t(r))}}var Zc=zs(Object.keys,Object),Jc=Object.prototype,Vc=Jc.hasOwnProperty;function Hs(e){if(!Yr(e))return Zc(e);var t=[];for(var r in Object(e))Vc.call(e,r)&&r!="constructor"&&t.push(r);return t}function Et(e){return e!=null&&Ti(e.length)&&!Ei(e)}function St(e){return Et(e)?qs(e):Hs(e)}function ni(e){return Ps(e,St,Ai)}var Kc=1,Yc=Object.prototype,Xc=Yc.hasOwnProperty;function Qc(e,t,r,n,a,i){var l=r&Kc,v=ni(e),x=v.length,m=ni(t),h=m.length;if(x!=h&&!l)return!1;for(var S=x;S--;){var B=v[S];if(!(l?B in t:Xc.call(t,B)))return!1}var z=i.get(e),G=i.get(t);if(z&&G)return z==t&&G==e;var Z=!0;i.set(e,t),i.set(t,e);for(var q=l;++S<x;){B=v[S];var Q=e[B],X=t[B];if(n)var pe=l?n(X,Q,B,t,e,i):n(Q,X,B,e,t,i);if(!(pe===void 0?Q===X||a(Q,X,r,n,i):pe)){Z=!1;break}q||(q=B=="constructor")}if(Z&&!q){var ce=e.constructor,oe=t.constructor;ce!=oe&&"constructor"in e&&"constructor"in t&&!(typeof ce=="function"&&ce instanceof ce&&typeof oe=="function"&&oe instanceof oe)&&(Z=!1)}return i.delete(e),i.delete(t),Z}var ii=Ut(ot,"DataView"),oi=Ut(ot,"Promise"),Gt=Ut(ot,"Set"),si=Ut(ot,"WeakMap"),Mo="[object Map]",e0="[object Object]",_o="[object Promise]",Eo="[object Set]",So="[object WeakMap]",Oo="[object DataView]",t0=Lt(ii),r0=Lt(hr),n0=Lt(oi),i0=Lt(Gt),o0=Lt(si),nt=ut;(ii&&nt(new ii(new ArrayBuffer(1)))!=Oo||hr&&nt(new hr)!=Mo||oi&&nt(oi.resolve())!=_o||Gt&&nt(new Gt)!=Eo||si&&nt(new si)!=So)&&(nt=function(e){var t=ut(e),r=t==e0?e.constructor:void 0,n=r?Lt(r):"";if(n)switch(n){case t0:return Oo;case r0:return Mo;case n0:return _o;case i0:return Eo;case o0:return So}return t});var s0=1,Ao="[object Arguments]",To="[object Array]",Tr="[object Object]",a0=Object.prototype,$o=a0.hasOwnProperty;function u0(e,t,r,n,a,i){var l=$e(e),v=$e(t),x=l?To:nt(e),m=v?To:nt(t);x=x==Ao?Tr:x,m=m==Ao?Tr:m;var h=x==Tr,S=m==Tr,B=x==m;if(B&&Kt(e)){if(!Kt(t))return!1;l=!0,h=!1}if(B&&!h)return i||(i=new at),l||Kr(e)?Ns(e,t,r,n,a,i):oc(e,t,x,r,n,a,i);if(!(r&s0)){var z=h&&$o.call(e,"__wrapped__"),G=S&&$o.call(t,"__wrapped__");if(z||G){var Z=z?e.value():e,q=G?t.value():t;return i||(i=new at),a(Z,q,r,n,i)}}return B?(i||(i=new at),Qc(e,t,r,n,a,i)):!1}function Xr(e,t,r,n,a){return e===t?!0:e==null||t==null||!Qe(e)&&!Qe(t)?e!==e&&t!==t:u0(e,t,r,n,Xr,a)}var f0=1,l0=2;function c0(e,t,r,n){var a=r.length,i=a;if(e==null)return!i;for(e=Object(e);a--;){var l=r[a];if(l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<i;){l=r[a];var v=l[0],x=e[v],m=l[1];if(l[2]){if(x===void 0&&!(v in e))return!1}else{var h=new at,S;if(!(S===void 0?Xr(m,x,f0|l0,n,h):S))return!1}}return!0}function Gs(e){return e===e&&!Ze(e)}function h0(e){for(var t=St(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,Gs(a)]}return t}function Ws(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function d0(e){var t=h0(e);return t.length==1&&t[0][2]?Ws(t[0][0],t[0][1]):function(r){return r===e||c0(r,e,t)}}var p0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g0=/^\w*$/;function $i(e,t){if($e(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Zt(e)?!0:g0.test(e)||!p0.test(e)||t!=null&&e in Object(t)}var m0="Expected a function";function Ci(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(m0);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var l=e.apply(this,n);return r.cache=i.set(a,l)||i,l};return r.cache=new(Ci.Cache||xt),r}Ci.Cache=xt;var y0=500;function w0(e){var t=Ci(e,function(n){return r.size===y0&&r.clear(),n}),r=t.cache;return t}var v0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b0=/\\(\\)?/g,x0=w0(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(v0,function(r,n,a,i){t.push(a?i.replace(b0,"$1"):n||r)}),t});function rr(e,t){return $e(e)?e:$i(e,t)?[e]:x0(tt(e))}var M0=1/0;function nr(e){if(typeof e=="string"||Zt(e))return e;var t=e+"";return t=="0"&&1/e==-M0?"-0":t}function br(e,t){t=rr(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[nr(t[r++])];return r&&r==n?e:void 0}function Zs(e,t,r){var n=e==null?void 0:br(e,t);return n===void 0?r:n}const lv=Object.freeze(Object.defineProperty({__proto__:null,default:Zs},Symbol.toStringTag,{value:"Module"}));function _0(e,t){return e!=null&&t in Object(e)}function E0(e,t,r){t=rr(t,e);for(var n=-1,a=t.length,i=!1;++n<a;){var l=nr(t[n]);if(!(i=e!=null&&r(e,l)))break;e=e[l]}return i||++n!=a?i:(a=e==null?0:e.length,!!a&&Ti(a)&&wr(l,a)&&($e(e)||Vt(e)))}function Js(e,t){return e!=null&&E0(e,t,_0)}var S0=1,O0=2;function A0(e,t){return $i(e)&&Gs(t)?Ws(nr(e),t):function(r){var n=Zs(r,e);return n===void 0&&n===t?Js(r,e):Xr(t,n,S0|O0)}}function xr(e){return e}function T0(e){return function(t){return br(t,e)}}function $0(e){return $i(e)?vs(nr(e)):T0(e)}function mt(e){return typeof e=="function"?e:e==null?xr:typeof e=="object"?$e(e)?A0(e[0],e[1]):d0(e):$0(e)}var C0="Expected a function";function R0(e){if(typeof e!="function")throw new TypeError(C0);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var Ur=function(){try{var e=Ut(Object,"defineProperty");return e({},"",{}),e}catch{}}();function Mr(e,t,r){t=="__proto__"&&Ur?Ur(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var B0=Object.prototype,F0=B0.hasOwnProperty;function Ri(e,t,r){var n=e[t];(!(F0.call(e,t)&&tr(n,r))||r===void 0&&!(t in e))&&Mr(e,t,r)}function Vs(e,t,r,n){if(!Ze(e))return e;t=rr(t,e);for(var a=-1,i=t.length,l=i-1,v=e;v!=null&&++a<i;){var x=nr(t[a]),m=r;if(x==="__proto__"||x==="constructor"||x==="prototype")return e;if(a!=l){var h=v[x];m=void 0,m===void 0&&(m=Ze(h)?h:wr(t[a+1])?[]:{})}Ri(v,x,m),v=v[x]}return e}function Ks(e,t,r){for(var n=-1,a=t.length,i={};++n<a;){var l=t[n],v=br(e,l);r(v,l)&&Vs(i,rr(l,e),v)}return i}var Bi=zs(Object.getPrototypeOf,Object),I0=Object.getOwnPropertySymbols,Ys=I0?function(e){for(var t=[];e;)Oi(t,Ai(e)),e=Bi(e);return t}:Us;function N0(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var P0=Object.prototype,L0=P0.hasOwnProperty;function U0(e){if(!Ze(e))return N0(e);var t=Yr(e),r=[];for(var n in e)n=="constructor"&&(t||!L0.call(e,n))||r.push(n);return r}function ir(e){return Et(e)?qs(e,!0):U0(e)}function Fi(e){return Ps(e,ir,Ys)}function D0(e,t){if(e==null)return{};var r=gt(Fi(e),function(n){return[n]});return t=mt(t),Ks(e,r,function(n,a){return t(n,a[0])})}function cv(e,t){return D0(e,R0(mt(t)))}var j0="[object Map]",k0="[object Set]",q0=Object.prototype,z0=q0.hasOwnProperty;function H0(e){if(e==null)return!0;if(Et(e)&&($e(e)||typeof e=="string"||typeof e.splice=="function"||Kt(e)||Kr(e)||Vt(e)))return!e.length;var t=nt(e);if(t==j0||t==k0)return!e.size;if(Yr(e))return!Hs(e).length;for(var r in e)if(z0.call(e,r))return!1;return!0}const hv=Object.freeze(Object.defineProperty({__proto__:null,default:H0},Symbol.toStringTag,{value:"Module"}));function dv(e,t,r){return e==null?e:Vs(e,t,r)}var Xs={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(gs,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",l="second",v="minute",x="hour",m="day",h="week",S="month",B="quarter",z="year",G="date",Z="Invalid Date",q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Q=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(d){var p=["th","st","nd","rd"],w=d%100;return"["+d+(p[(w-20)%10]||p[w]||p[0])+"]"}},pe=function(d,p,w){var A=String(d);return!A||A.length>=p?d:""+Array(p+1-A.length).join(w)+d},ce={s:pe,z:function(d){var p=-d.utcOffset(),w=Math.abs(p),A=Math.floor(w/60),$=w%60;return(p<=0?"+":"-")+pe(A,2,"0")+":"+pe($,2,"0")},m:function d(p,w){if(p.date()<w.date())return-d(w,p);var A=12*(w.year()-p.year())+(w.month()-p.month()),$=p.clone().add(A,S),b=w-$<0,u=p.clone().add(A+(b?-1:1),S);return+(-(A+(w-$)/(b?$-u:u-$))||0)},a:function(d){return d<0?Math.ceil(d)||0:Math.floor(d)},p:function(d){return{M:S,y:z,w:h,d:m,D:G,h:x,m:v,s:l,ms:i,Q:B}[d]||String(d||"").toLowerCase().replace(/s$/,"")},u:function(d){return d===void 0}},oe="en",V={};V[oe]=X;var K="$isDayjsObject",ae=function(d){return d instanceof o||!(!d||!d[K])},se=function d(p,w,A){var $;if(!p)return oe;if(typeof p=="string"){var b=p.toLowerCase();V[b]&&($=b),w&&(V[b]=w,$=b);var u=p.split("-");if(!$&&u.length>1)return d(u[0])}else{var _=p.name;V[_]=p,$=_}return!A&&$&&(oe=$),$||!A&&oe},Y=function(d,p){if(ae(d))return d.clone();var w=typeof p=="object"?p:{};return w.date=d,w.args=arguments,new o(w)},E=ce;E.l=se,E.i=ae,E.w=function(d,p){return Y(d,{locale:p.$L,utc:p.$u,x:p.$x,$offset:p.$offset})};var o=function(){function d(w){this.$L=se(w.locale,null,!0),this.parse(w),this.$x=this.$x||w.x||{},this[K]=!0}var p=d.prototype;return p.parse=function(w){this.$d=function(A){var $=A.date,b=A.utc;if($===null)return new Date(NaN);if(E.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var u=$.match(q);if(u){var _=u[2]-1||0,ee=(u[7]||"0").substring(0,3);return b?new Date(Date.UTC(u[1],_,u[3]||1,u[4]||0,u[5]||0,u[6]||0,ee)):new Date(u[1],_,u[3]||1,u[4]||0,u[5]||0,u[6]||0,ee)}}return new Date($)}(w),this.init()},p.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},p.$utils=function(){return E},p.isValid=function(){return this.$d.toString()!==Z},p.isSame=function(w,A){var $=Y(w);return this.startOf(A)<=$&&$<=this.endOf(A)},p.isAfter=function(w,A){return Y(w)<this.startOf(A)},p.isBefore=function(w,A){return this.endOf(A)<Y(w)},p.$g=function(w,A,$){return E.u(w)?this[A]:this.set($,w)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(w,A){var $=this,b=!!E.u(A)||A,u=E.p(w),_=function(ge,y){var O=E.w($.$u?Date.UTC($.$y,y,ge):new Date($.$y,y,ge),$);return b?O:O.endOf(m)},ee=function(ge,y){return E.w($.toDate()[ge].apply($.toDate("s"),(b?[0,0,0,0]:[23,59,59,999]).slice(y)),$)},te=this.$W,L=this.$M,ie=this.$D,ye="set"+(this.$u?"UTC":"");switch(u){case z:return b?_(1,0):_(31,11);case S:return b?_(1,L):_(0,L+1);case h:var be=this.$locale().weekStart||0,xe=(te<be?te+7:te)-be;return _(b?ie-xe:ie+(6-xe),L);case m:case G:return ee(ye+"Hours",0);case x:return ee(ye+"Minutes",1);case v:return ee(ye+"Seconds",2);case l:return ee(ye+"Milliseconds",3);default:return this.clone()}},p.endOf=function(w){return this.startOf(w,!1)},p.$set=function(w,A){var $,b=E.p(w),u="set"+(this.$u?"UTC":""),_=($={},$[m]=u+"Date",$[G]=u+"Date",$[S]=u+"Month",$[z]=u+"FullYear",$[x]=u+"Hours",$[v]=u+"Minutes",$[l]=u+"Seconds",$[i]=u+"Milliseconds",$)[b],ee=b===m?this.$D+(A-this.$W):A;if(b===S||b===z){var te=this.clone().set(G,1);te.$d[_](ee),te.init(),this.$d=te.set(G,Math.min(this.$D,te.daysInMonth())).$d}else _&&this.$d[_](ee);return this.init(),this},p.set=function(w,A){return this.clone().$set(w,A)},p.get=function(w){return this[E.p(w)]()},p.add=function(w,A){var $,b=this;w=Number(w);var u=E.p(A),_=function(L){var ie=Y(b);return E.w(ie.date(ie.date()+Math.round(L*w)),b)};if(u===S)return this.set(S,this.$M+w);if(u===z)return this.set(z,this.$y+w);if(u===m)return _(1);if(u===h)return _(7);var ee=($={},$[v]=n,$[x]=a,$[l]=r,$)[u]||1,te=this.$d.getTime()+w*ee;return E.w(te,this)},p.subtract=function(w,A){return this.add(-1*w,A)},p.format=function(w){var A=this,$=this.$locale();if(!this.isValid())return $.invalidDate||Z;var b=w||"YYYY-MM-DDTHH:mm:ssZ",u=E.z(this),_=this.$H,ee=this.$m,te=this.$M,L=$.weekdays,ie=$.months,ye=$.meridiem,be=function(y,O,T,P){return y&&(y[O]||y(A,b))||T[O].slice(0,P)},xe=function(y){return E.s(_%12||12,y,"0")},ge=ye||function(y,O,T){var P=y<12?"AM":"PM";return T?P.toLowerCase():P};return b.replace(Q,function(y,O){return O||function(T){switch(T){case"YY":return String(A.$y).slice(-2);case"YYYY":return E.s(A.$y,4,"0");case"M":return te+1;case"MM":return E.s(te+1,2,"0");case"MMM":return be($.monthsShort,te,ie,3);case"MMMM":return be(ie,te);case"D":return A.$D;case"DD":return E.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return be($.weekdaysMin,A.$W,L,2);case"ddd":return be($.weekdaysShort,A.$W,L,3);case"dddd":return L[A.$W];case"H":return String(_);case"HH":return E.s(_,2,"0");case"h":return xe(1);case"hh":return xe(2);case"a":return ge(_,ee,!0);case"A":return ge(_,ee,!1);case"m":return String(ee);case"mm":return E.s(ee,2,"0");case"s":return String(A.$s);case"ss":return E.s(A.$s,2,"0");case"SSS":return E.s(A.$ms,3,"0");case"Z":return u}return null}(y)||u.replace(":","")})},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(w,A,$){var b,u=this,_=E.p(A),ee=Y(w),te=(ee.utcOffset()-this.utcOffset())*n,L=this-ee,ie=function(){return E.m(u,ee)};switch(_){case z:b=ie()/12;break;case S:b=ie();break;case B:b=ie()/3;break;case h:b=(L-te)/6048e5;break;case m:b=(L-te)/864e5;break;case x:b=L/a;break;case v:b=L/n;break;case l:b=L/r;break;default:b=L}return $?b:E.a(b)},p.daysInMonth=function(){return this.endOf(S).$D},p.$locale=function(){return V[this.$L]},p.locale=function(w,A){if(!w)return this.$L;var $=this.clone(),b=se(w,A,!0);return b&&($.$L=b),$},p.clone=function(){return E.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},d}(),c=o.prototype;return Y.prototype=c,[["$ms",i],["$s",l],["$m",v],["$H",x],["$W",m],["$M",S],["$y",z],["$D",G]].forEach(function(d){c[d[1]]=function(p){return this.$g(p,d[0],d[1])}}),Y.extend=function(d,p){return d.$i||(d(p,o,Y),d.$i=!0),Y},Y.locale=se,Y.isDayjs=ae,Y.unix=function(d){return Y(1e3*d)},Y.en=V[oe],Y.Ls=V,Y.p={},Y})})(Xs);var G0=Xs.exports;const pv=ms(G0);function Qs(){}const gv=Object.freeze(Object.defineProperty({__proto__:null,default:Qs},Symbol.toStringTag,{value:"Module"}));function ai(e,t,r){(r!==void 0&&!tr(e[t],r)||r===void 0&&!(t in e))&&Mr(e,t,r)}function W0(e){return function(t,r,n){for(var a=-1,i=Object(t),l=n(t),v=l.length;v--;){var x=l[++a];if(r(i[x],x,i)===!1)break}return t}}var ea=W0(),ta=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Co=ta&&typeof module=="object"&&module&&!module.nodeType&&module,Z0=Co&&Co.exports===ta,Ro=Z0?ot.Buffer:void 0,Bo=Ro?Ro.allocUnsafe:void 0;function ra(e,t){if(t)return e.slice();var r=e.length,n=Bo?Bo(r):new e.constructor(r);return e.copy(n),n}function Ii(e){var t=new e.constructor(e.byteLength);return new Lr(t).set(new Lr(e)),t}function na(e,t){var r=t?Ii(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Ni(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Fo=Object.create,J0=function(){function e(){}return function(t){if(!Ze(t))return{};if(Fo)return Fo(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function ia(e){return typeof e.constructor=="function"&&!Yr(e)?J0(Bi(e)):{}}function Nt(e){return Qe(e)&&Et(e)}var V0="[object Object]",K0=Function.prototype,Y0=Object.prototype,oa=K0.toString,X0=Y0.hasOwnProperty,Q0=oa.call(Object);function Qr(e){if(!Qe(e)||ut(e)!=V0)return!1;var t=Bi(e);if(t===null)return!0;var r=X0.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&oa.call(r)==Q0}const mv=Object.freeze(Object.defineProperty({__proto__:null,default:Qr},Symbol.toStringTag,{value:"Module"}));function ui(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Dt(e,t,r,n){var a=!r;r||(r={});for(var i=-1,l=t.length;++i<l;){var v=t[i],x=n?n(r[v],e[v],v,r,e):void 0;x===void 0&&(x=e[v]),a?Mr(r,v,x):Ri(r,v,x)}return r}function eh(e){return Dt(e,ir(e))}function th(e,t,r,n,a,i,l){var v=ui(e,r),x=ui(t,r),m=l.get(x);if(m){ai(e,r,m);return}var h=i?i(v,x,r+"",e,t,l):void 0,S=h===void 0;if(S){var B=$e(x),z=!B&&Kt(x),G=!B&&!z&&Kr(x);h=x,B||z||G?$e(v)?h=v:Nt(v)?h=Ni(v):z?(S=!1,h=ra(x,!0)):G?(S=!1,h=na(x,!0)):h=[]:Qr(x)||Vt(x)?(h=v,Vt(v)?h=eh(v):(!Ze(v)||Ei(v))&&(h=ia(x))):S=!1}S&&(l.set(x,h),a(h,x,n,i,l),l.delete(x)),ai(e,r,h)}function en(e,t,r,n,a){e!==t&&ea(t,function(i,l){if(a||(a=new at),Ze(i))th(e,t,l,r,en,n,a);else{var v=n?n(ui(e,l),i,l+"",e,t,a):void 0;v===void 0&&(v=i),ai(e,l,v)}},ir)}function Pi(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var Io=Math.max;function sa(e,t,r){return t=Io(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=Io(n.length-t,0),l=Array(i);++a<i;)l[a]=n[t+a];a=-1;for(var v=Array(t+1);++a<t;)v[a]=n[a];return v[t]=r(l),Pi(e,this,v)}}function rh(e){return function(){return e}}var nh=Ur?function(e,t){return Ur(e,"toString",{configurable:!0,enumerable:!1,value:rh(t),writable:!0})}:xr,ih=800,oh=16,sh=Date.now;function ah(e){var t=0,r=0;return function(){var n=sh(),a=oh-(n-r);if(r=n,a>0){if(++t>=ih)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var aa=ah(nh);function ft(e,t){return aa(sa(e,t,xr),e+"")}function fi(e,t,r){if(!Ze(r))return!1;var n=typeof t;return(n=="number"?Et(r)&&wr(t,r.length):n=="string"&&t in r)?tr(r[t],e):!1}function Li(e){return ft(function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,l=a>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,l&&fi(r[0],r[1],l)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var v=r[n];v&&e(t,v,n,i)}return t})}var yv=Li(function(e,t,r){en(e,t,r)}),kn=function(){return ot.Date.now()},uh="Expected a function",fh=Math.max,lh=Math.min;function ua(e,t,r){var n,a,i,l,v,x,m=0,h=!1,S=!1,B=!0;if(typeof e!="function")throw new TypeError(uh);t=ri(t)||0,Ze(r)&&(h=!!r.leading,S="maxWait"in r,i=S?fh(ri(r.maxWait)||0,t):i,B="trailing"in r?!!r.trailing:B);function z(V){var K=n,ae=a;return n=a=void 0,m=V,l=e.apply(ae,K),l}function G(V){return m=V,v=setTimeout(Q,t),h?z(V):l}function Z(V){var K=V-x,ae=V-m,se=t-K;return S?lh(se,i-ae):se}function q(V){var K=V-x,ae=V-m;return x===void 0||K>=t||K<0||S&&ae>=i}function Q(){var V=kn();if(q(V))return X(V);v=setTimeout(Q,Z(V))}function X(V){return v=void 0,B&&n?z(V):(n=a=void 0,l)}function pe(){v!==void 0&&clearTimeout(v),m=0,n=x=a=v=void 0}function ce(){return v===void 0?l:X(kn())}function oe(){var V=kn(),K=q(V);if(n=arguments,a=this,x=V,K){if(v===void 0)return G(x);if(S)return clearTimeout(v),v=setTimeout(Q,t),z(x)}return v===void 0&&(v=setTimeout(Q,t)),l}return oe.cancel=pe,oe.flush=ce,oe}const wv=Object.freeze(Object.defineProperty({__proto__:null,default:ua},Symbol.toStringTag,{value:"Module"}));var ch="Expected a function";function vv(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(ch);return Ze(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),ua(e,t,{leading:n,maxWait:t,trailing:a})}function fa(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}function hh(e,t){return e&&Dt(t,St(t),e)}function dh(e,t){return e&&Dt(t,ir(t),e)}function ph(e,t){return Dt(e,Ai(e),t)}function gh(e,t){return Dt(e,Ys(e),t)}var mh=Object.prototype,yh=mh.hasOwnProperty;function wh(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&yh.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function vh(e,t){var r=t?Ii(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var bh=/\w*$/;function xh(e){var t=new e.constructor(e.source,bh.exec(e));return t.lastIndex=e.lastIndex,t}var No=it?it.prototype:void 0,Po=No?No.valueOf:void 0;function Mh(e){return Po?Object(Po.call(e)):{}}var _h="[object Boolean]",Eh="[object Date]",Sh="[object Map]",Oh="[object Number]",Ah="[object RegExp]",Th="[object Set]",$h="[object String]",Ch="[object Symbol]",Rh="[object ArrayBuffer]",Bh="[object DataView]",Fh="[object Float32Array]",Ih="[object Float64Array]",Nh="[object Int8Array]",Ph="[object Int16Array]",Lh="[object Int32Array]",Uh="[object Uint8Array]",Dh="[object Uint8ClampedArray]",jh="[object Uint16Array]",kh="[object Uint32Array]";function qh(e,t,r){var n=e.constructor;switch(t){case Rh:return Ii(e);case _h:case Eh:return new n(+e);case Bh:return vh(e,r);case Fh:case Ih:case Nh:case Ph:case Lh:case Uh:case Dh:case jh:case kh:return na(e,r);case Sh:return new n;case Oh:case $h:return new n(e);case Ah:return xh(e);case Th:return new n;case Ch:return Mh(e)}}var zh="[object Map]";function Hh(e){return Qe(e)&&nt(e)==zh}var Lo=Yt&&Yt.isMap,Gh=Lo?vr(Lo):Hh,Wh="[object Set]";function Zh(e){return Qe(e)&&nt(e)==Wh}var Uo=Yt&&Yt.isSet,Jh=Uo?vr(Uo):Zh,Vh=1,Kh=2,Yh=4,la="[object Arguments]",Xh="[object Array]",Qh="[object Boolean]",ed="[object Date]",td="[object Error]",ca="[object Function]",rd="[object GeneratorFunction]",nd="[object Map]",id="[object Number]",ha="[object Object]",od="[object RegExp]",sd="[object Set]",ad="[object String]",ud="[object Symbol]",fd="[object WeakMap]",ld="[object ArrayBuffer]",cd="[object DataView]",hd="[object Float32Array]",dd="[object Float64Array]",pd="[object Int8Array]",gd="[object Int16Array]",md="[object Int32Array]",yd="[object Uint8Array]",wd="[object Uint8ClampedArray]",vd="[object Uint16Array]",bd="[object Uint32Array]",Ee={};Ee[la]=Ee[Xh]=Ee[ld]=Ee[cd]=Ee[Qh]=Ee[ed]=Ee[hd]=Ee[dd]=Ee[pd]=Ee[gd]=Ee[md]=Ee[nd]=Ee[id]=Ee[ha]=Ee[od]=Ee[sd]=Ee[ad]=Ee[ud]=Ee[yd]=Ee[wd]=Ee[vd]=Ee[bd]=!0;Ee[td]=Ee[ca]=Ee[fd]=!1;function cr(e,t,r,n,a,i){var l,v=t&Vh,x=t&Kh,m=t&Yh;if(r&&(l=a?r(e,n,a,i):r(e)),l!==void 0)return l;if(!Ze(e))return e;var h=$e(e);if(h){if(l=wh(e),!v)return Ni(e,l)}else{var S=nt(e),B=S==ca||S==rd;if(Kt(e))return ra(e,v);if(S==ha||S==la||B&&!a){if(l=x||B?{}:ia(e),!v)return x?gh(e,dh(l,e)):ph(e,hh(l,e))}else{if(!Ee[S])return a?e:{};l=qh(e,S,v)}}i||(i=new at);var z=i.get(e);if(z)return z;i.set(e,l),Jh(e)?e.forEach(function(q){l.add(cr(q,t,r,q,e,i))}):Gh(e)&&e.forEach(function(q,Q){l.set(Q,cr(q,t,r,Q,e,i))});var G=m?x?Fi:ni:x?ir:St,Z=h?void 0:G(e);return fa(Z||e,function(q,Q){Z&&(Q=q,q=e[Q]),Ri(l,Q,cr(q,t,r,Q,e,i))}),l}function tn(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function xd(e,t){return t.length<2?e:br(e,Mi(t,0,-1))}function Md(e,t){return t=rr(t,e),e=xd(e,t),e==null||delete e[nr(tn(t))]}function _d(e){return Qr(e)?void 0:e}var Do=it?it.isConcatSpreadable:void 0;function Ed(e){return $e(e)||Vt(e)||!!(Do&&e&&e[Do])}function _r(e,t,r,n,a){var i=-1,l=e.length;for(r||(r=Ed),a||(a=[]);++i<l;){var v=e[i];r(v)?Oi(a,v):n||(a[a.length]=v)}return a}function Sd(e){var t=e==null?0:e.length;return t?_r(e):[]}function da(e){return aa(sa(e,void 0,Sd),e+"")}var Od=1,Ad=2,Td=4,$d=da(function(e,t){var r={};if(e==null)return r;var n=!1;t=gt(t,function(i){return i=rr(i,e),n||(n=i.length>1),i}),Dt(e,Fi(e),r),n&&(r=cr(r,Od|Ad|Td,_d));for(var a=t.length;a--;)Md(r,t[a]);return r});const bv=Object.freeze(Object.defineProperty({__proto__:null,default:$d},Symbol.toStringTag,{value:"Module"}));function pa(e,t,r,n){for(var a=e.length,i=r+-1;++i<a;)if(t(e[i],i,e))return i;return-1}function Cd(e){return e!==e}function Rd(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function rn(e,t,r){return t===t?Rd(e,t,r):pa(e,Cd,r)}function Ui(e,t){var r=e==null?0:e.length;return!!r&&rn(e,t,0)>-1}function ga(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}var Bd=1/0,Fd=Gt&&1/Si(new Gt([,-0]))[1]==Bd?function(e){return new Gt(e)}:Qs,Id=200;function Xt(e,t,r){var n=-1,a=Ui,i=e.length,l=!0,v=[],x=v;if(r)l=!1,a=ga;else if(i>=Id){var m=t?null:Fd(e);if(m)return Si(m);l=!1,a=pr,x=new It}else x=t?[]:v;e:for(;++n<i;){var h=e[n],S=t?t(h):h;if(h=r||h!==0?h:0,l&&S===S){for(var B=x.length;B--;)if(x[B]===S)continue e;t&&x.push(S),v.push(h)}else a(x,S,r)||(x!==v&&x.push(S),v.push(h))}return v}function Nd(e,t){return e&&e.length?Xt(e,mt(t)):[]}const xv=Object.freeze(Object.defineProperty({__proto__:null,default:Nd},Symbol.toStringTag,{value:"Module"})),Pd=/[^\0-\x7E]/,Ld=/[\x2E\u3002\uFF0E\uFF61]/g,Ud={overflow:"Overflow Error","not-basic":"Illegal Input","invalid-input":"Invalid Input"},Ht=Math.floor,qn=String.fromCharCode;function jo(e){throw new RangeError(Ud[e])}const ko=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Dd=function(e,t,r){let n=0;for(e=r?Ht(e/700):e>>1,e+=Ht(e/t);e>455;n+=36)e=Ht(e/35);return Ht(n+36*e/(e+38))};function jd(e){return function(t,r){const n=t.split("@");let a="";n.length>1&&(a=n[0]+"@",t=n[1]);const i=function(l,v){const x=[];let m=l.length;for(;m--;)x[m]=v(l[m]);return x}((t=t.replace(Ld,".")).split("."),r).join(".");return a+i}(e,function(t){return Pd.test(t)?"xn--"+function(r){const n=[],a=(r=function(h){const S=[];let B=0;const z=h.length;for(;B<z;){const G=h.charCodeAt(B++);if(G>=55296&&G<=56319&&B<z){const Z=h.charCodeAt(B++);(64512&Z)==56320?S.push(((1023&G)<<10)+(1023&Z)+65536):(S.push(G),B--)}else S.push(G)}return S}(r)).length;let i=128,l=0,v=72;for(const h of r)h<128&&n.push(qn(h));const x=n.length;let m=x;for(x&&n.push("-");m<a;){let h=2147483647;for(const B of r)B>=i&&B<h&&(h=B);const S=m+1;h-i>Ht((2147483647-l)/S)&&jo("overflow"),l+=(h-i)*S,i=h;for(const B of r)if(B<i&&++l>2147483647&&jo("overflow"),B==i){let z=l;for(let G=36;;G+=36){const Z=G<=v?1:G>=v+26?26:G-v;if(z<Z)break;const q=z-Z,Q=36-Z;n.push(qn(ko(Z+q%Q,0))),z=Ht(q/Q)}n.push(qn(ko(z,0))),v=Dd(l,S,m==x),l=0,++m}++l,++i}return n.join("")}(t):t})}const ma=/#/g,ya=/&/g,wa=/\//g,kd=/=/g,qd=/\?/g,nn=/\+/g,va=/%5e/gi,zd=/%60/gi,Hd=/%7b/gi,Gd=/%7c/gi,Wd=/%7d/gi,Zd=/%20/gi,Jd=/%2f/gi,Vd=/%252f/gi;function on(e){return encodeURI(""+e).replace(Gd,"|")}function sn(e){return on(e).replace(Hd,"{").replace(Wd,"}").replace(va,"^")}function Dr(e){return on(typeof e=="string"?e:JSON.stringify(e)).replace(nn,"%2B").replace(Zd,"+").replace(ma,"%23").replace(ya,"%26").replace(zd,"`").replace(va,"^").replace(wa,"%2F")}function Rr(e){return Dr(e).replace(kd,"%3D")}function an(e){return on(e).replace(ma,"%23").replace(qd,"%3F").replace(Vd,"%2F").replace(ya,"%26").replace(nn,"%2B")}function Kd(e){return an(e).replace(wa,"%2F")}function Ve(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Di(e){return Ve(e.replace(Jd,"%252F"))}function ba(e){return Ve(e.replace(nn," "))}function xa(e){return Ve(e.replace(nn," "))}function jr(e=""){return jd(e)}function _t(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const a=ba(n[1]);if(a==="__proto__"||a==="constructor")continue;const i=xa(n[2]||"");t[a]===void 0?t[a]=i:Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]}return t}function Ma(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${Rr(e)}=${Dr(r)}`).join("&"):`${Rr(e)}=${Dr(t)}`:Rr(e)}function or(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Ma(t,e[t])).filter(Boolean).join("&")}const Yd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,_a=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Xd=/^([/\\]\s*){2,}[^/\\]/,Qd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,ep=/\/$|\/\?|\/#/,tp=/^\.?\//;function rp(e){return["./","../"].some(t=>e.startsWith(t))}function un(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Yd.test(e):_a.test(e)||(t.acceptRelative?Xd.test(e):!1)}function np(e){return!!e&&Qd.test(e)}function kr(e="",t){return t?ep.test(e):e.endsWith("/")}function gr(e="",t){if(!t)return(kr(e)?e.slice(0,-1):e)||"/";if(!kr(e,!0))return e||"/";let r=e,n="";const a=e.indexOf("#");a!==-1&&(r=e.slice(0,a),n=e.slice(a));const[i,...l]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(l.length>0?`?${l.join("?")}`:"")+n}function Qt(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(kr(e,!0))return e||"/";let r=e,n="";const a=e.indexOf("#");if(a!==-1&&(r=e.slice(0,a),n=e.slice(a),!r))return n;const[i,...l]=r.split("?");return i+"/"+(l.length>0?`?${l.join("?")}`:"")+n}function ji(e=""){return e.startsWith("/")}function ki(e=""){return(ji(e)?e.slice(1):e)||"/"}function li(e=""){return ji(e)?e:"/"+e}function ip(e=""){return e.split("://").map(t=>t.replace(/\/{2,}/g,"/")).join("://")}function op(e,t){if(qi(t)||un(e))return e;const r=gr(t);return e.startsWith(r)?e:Ea(r,e)}function sp(e,t){if(qi(t))return e;const r=gr(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function ap(e,t){const r=et(e),n={..._t(r.search),...t};return r.search=or(n),jt(r)}function up(e,t){if(!e.includes("?"))return e;const r=et(e),n=_t(r.search),a=Object.fromEntries(Object.entries(n).filter(([i,l])=>t(i,l)));return r.search=or(a),jt(r)}function fp(e){return _t(et(e).search)}function qi(e){return!e||e==="/"}function zi(e){return e&&e!=="/"}function Ea(e,...t){let r=e||"";for(const n of t.filter(a=>zi(a)))if(r){const a=n.replace(tp,"");r=Qt(r)+a}else r=n;return r}function lp(...e){var l,v,x,m;const t=/\/(?!\/)/,r=e.filter(Boolean),n=[];let a=0;for(const h of r)if(!(!h||h==="/")){for(const[S,B]of h.split(t).entries())if(!(!B||B===".")){if(B===".."){if(n.length===1&&un(n[0]))continue;n.pop(),a--;continue}if(S===1&&((l=n[n.length-1])!=null&&l.endsWith(":/"))){n[n.length-1]+="/"+B;continue}n.push(B),a++}}let i=n.join("/");return a>=0?(v=r[0])!=null&&v.startsWith("/")&&!i.startsWith("/")?i="/"+i:(x=r[0])!=null&&x.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*a)+i,(m=r[r.length-1])!=null&&m.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function cp(e){return fn(e,"http://")}function hp(e){return fn(e,"https://")}function dp(e){return fn(e,"")}function fn(e,t){let r=e.match(_a);return r||(r=e.match(/^\/{2,}/)),r?t+e.slice(r[0].length):t+e}function pp(e){const t=et(e);return t.pathname=an(Di(t.pathname)),t.hash=sn(Ve(t.hash)),t.host=jr(Ve(t.host)),t.search=or(_t(t.search)),jt(t)}function gp(e="",...t){if(typeof e!="string")throw new TypeError(`URL input should be string received ${typeof e} (${e})`);const r=t.filter(a=>zi(a));if(r.length===0)return e;const n=et(e);for(const a of r){const i=et(a);if(i.pathname&&(n.pathname=Qt(n.pathname)+ki(i.pathname)),i.hash&&i.hash!=="#"&&(n.hash=i.hash),i.search&&i.search!=="?")if(n.search&&n.search!=="?"){const l=or({..._t(n.search),..._t(i.search)});n.search=l.length>0?"?"+l:""}else n.search=i.search}return jt(n)}function mp(e,t){return Ve(gr(e))===Ve(gr(t))}function yp(e,t,r={}){return r.trailingSlash||(e=Qt(e),t=Qt(t)),r.leadingSlash||(e=li(e),t=li(t)),r.encoding||(e=Ve(e),t=Ve(t)),e===t}function wp(e,t){if(!t||t==="#")return e;const r=et(e);return r.hash=t===""?"":"#"+sn(t),jt(r)}function vp(e){return jt({...et(e),hash:""})}function bp(e){const t=et(e);return(t.pathname||"/")+t.search+t.hash}const Sa=Symbol.for("ufo:protocolRelative");function et(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,S,B=""]=r;return{protocol:S.toLowerCase(),pathname:B,href:S+B,auth:"",host:"",search:"",hash:""}}if(!un(e,{acceptRelative:!0}))return t?et(t+e):ci(e);const[,n="",a,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,l="",v=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(v=v.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:x,search:m,hash:h}=ci(v);return{protocol:n.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:l,pathname:x,search:m,hash:h,[Sa]:!n}}function ci(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Br(e=""){const[t,r]=e.split(":");return{username:Ve(t),password:Ve(r)}}function hi(e=""){const[t,r]=(e.match(/([^/:]*):?(\d+)?/)||[]).splice(1);return{hostname:Ve(t),port:r}}function jt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",a=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Sa]?(e.protocol||"")+"//":"")+a+i+t+r+n}const xp=/\/([^/]+\.[^/]+)$/,Mp=/\/([^/]+)$/;function _p(e="",t){const{pathname:r}=et(e),n=t!=null&&t.strict?r.match(xp):r.match(Mp);return n?n[1]:void 0}class Oa{constructor(t=""){Ot(this,"protocol");Ot(this,"host");Ot(this,"auth");Ot(this,"pathname");Ot(this,"query",{});Ot(this,"hash");if(typeof t!="string")throw new TypeError(`URL input should be string received ${typeof t} (${t})`);const r=et(t);this.protocol=Ve(r.protocol),this.host=Ve(r.host),this.auth=Ve(r.auth),this.pathname=Di(r.pathname),this.query=_t(r.search),this.hash=Ve(r.hash)}get hostname(){return hi(this.host).hostname}get port(){return hi(this.host).port||""}get username(){return Br(this.auth).username}get password(){return Br(this.auth).password||""}get hasProtocol(){return this.protocol.length}get isAbsolute(){return this.hasProtocol||this.pathname[0]==="/"}get search(){const t=or(this.query);return t.length>0?"?"+t:""}get searchParams(){const t=new URLSearchParams;for(const r in this.query){const n=this.query[r];if(Array.isArray(n))for(const a of n)t.append(r,a);else t.append(r,typeof n=="string"?n:JSON.stringify(n))}return t}get origin(){return(this.protocol?this.protocol+"//":"")+jr(this.host)}get fullpath(){return an(this.pathname)+this.search+sn(this.hash)}get encodedAuth(){if(!this.auth)return"";const{username:t,password:r}=Br(this.auth);return encodeURIComponent(t)+(r?":"+encodeURIComponent(r):"")}get href(){const t=this.encodedAuth,r=(this.protocol?this.protocol+"//":"")+(t?t+"@":"")+jr(this.host);return this.hasProtocol&&this.isAbsolute?r+this.fullpath:this.fullpath}append(t){if(t.hasProtocol)throw new Error("Cannot append a URL with protocol");Object.assign(this.query,t.query),t.pathname&&(this.pathname=Qt(this.pathname)+ki(t.pathname)),t.hash&&(this.hash=t.hash)}toJSON(){return this.href}toString(){return this.href}}function Ep(e){return new Oa(e)}const Mv=Object.freeze(Object.defineProperty({__proto__:null,$URL:Oa,cleanDoubleSlashes:ip,createURL:Ep,decode:Ve,decodePath:Di,decodeQueryKey:ba,decodeQueryValue:xa,encode:on,encodeHash:sn,encodeHost:jr,encodeParam:Kd,encodePath:an,encodeQueryItem:Ma,encodeQueryKey:Rr,encodeQueryValue:Dr,filterQuery:up,getQuery:fp,hasLeadingSlash:ji,hasProtocol:un,hasTrailingSlash:kr,isEmptyURL:qi,isEqual:yp,isNonEmptyURL:zi,isRelative:rp,isSamePath:mp,isScriptProtocol:np,joinRelativeURL:lp,joinURL:Ea,normalizeURL:pp,parseAuth:Br,parseFilename:_p,parseHost:hi,parsePath:ci,parseQuery:_t,parseURL:et,resolveURL:gp,stringifyParsedURL:jt,stringifyQuery:or,withBase:op,withFragment:wp,withHttp:cp,withHttps:hp,withLeadingSlash:li,withProtocol:fn,withQuery:ap,withTrailingSlash:Qt,withoutBase:sp,withoutFragment:vp,withoutHost:bp,withoutLeadingSlash:ki,withoutProtocol:dp,withoutTrailingSlash:gr},Symbol.toStringTag,{value:"Module"}));function Sp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Aa={exports:{}},Re=Aa.exports={},ht,dt;function di(){throw new Error("setTimeout has not been defined")}function pi(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ht=setTimeout:ht=di}catch{ht=di}try{typeof clearTimeout=="function"?dt=clearTimeout:dt=pi}catch{dt=pi}})();function Ta(e){if(ht===setTimeout)return setTimeout(e,0);if((ht===di||!ht)&&setTimeout)return ht=setTimeout,setTimeout(e,0);try{return ht(e,0)}catch{try{return ht.call(null,e,0)}catch{return ht.call(this,e,0)}}}function Op(e){if(dt===clearTimeout)return clearTimeout(e);if((dt===pi||!dt)&&clearTimeout)return dt=clearTimeout,clearTimeout(e);try{return dt(e)}catch{try{return dt.call(null,e)}catch{return dt.call(this,e)}}}var wt=[],Wt=!1,Ct,Fr=-1;function Ap(){!Wt||!Ct||(Wt=!1,Ct.length?wt=Ct.concat(wt):Fr=-1,wt.length&&$a())}function $a(){if(!Wt){var e=Ta(Ap);Wt=!0;for(var t=wt.length;t;){for(Ct=wt,wt=[];++Fr<t;)Ct&&Ct[Fr].run();Fr=-1,t=wt.length}Ct=null,Wt=!1,Op(e)}}Re.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];wt.push(new Ca(e,t)),wt.length===1&&!Wt&&Ta($a)};function Ca(e,t){this.fun=e,this.array=t}Ca.prototype.run=function(){this.fun.apply(null,this.array)};Re.title="browser";Re.browser=!0;Re.env={};Re.argv=[];Re.version="";Re.versions={};function Mt(){}Re.on=Mt;Re.addListener=Mt;Re.once=Mt;Re.off=Mt;Re.removeListener=Mt;Re.removeAllListeners=Mt;Re.emit=Mt;Re.prependListener=Mt;Re.prependOnceListener=Mt;Re.listeners=function(e){return[]};Re.binding=function(e){throw new Error("process.binding is not supported")};Re.cwd=function(){return"/"};Re.chdir=function(e){throw new Error("process.chdir is not supported")};Re.umask=function(){return 0};var Tp=Aa.exports;const qr=Sp(Tp);function Ra(e,t){return function(){return e.apply(t,arguments)}}const{toString:$p}=Object.prototype,{getPrototypeOf:Hi}=Object,{iterator:ln,toStringTag:Ba}=Symbol,cn=(e=>t=>{const r=$p.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),lt=e=>(e=e.toLowerCase(),t=>cn(t)===e),hn=e=>t=>typeof t===e,{isArray:sr}=Array,mr=hn("undefined");function Cp(e){return e!==null&&!mr(e)&&e.constructor!==null&&!mr(e.constructor)&&Ye(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Fa=lt("ArrayBuffer");function Rp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Fa(e.buffer),t}const Bp=hn("string"),Ye=hn("function"),Ia=hn("number"),dn=e=>e!==null&&typeof e=="object",Fp=e=>e===!0||e===!1,Ir=e=>{if(cn(e)!=="object")return!1;const t=Hi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ba in e)&&!(ln in e)},Ip=lt("Date"),Np=lt("File"),Pp=lt("Blob"),Lp=lt("FileList"),Up=e=>dn(e)&&Ye(e.pipe),Dp=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ye(e.append)&&((t=cn(e))==="formdata"||t==="object"&&Ye(e.toString)&&e.toString()==="[object FormData]"))},jp=lt("URLSearchParams"),[kp,qp,zp,Hp]=["ReadableStream","Request","Response","Headers"].map(lt),Gp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Er(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),sr(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),l=i.length;let v;for(n=0;n<l;n++)v=i[n],t.call(null,e[v],v,e)}}function Na(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const Rt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:$t,Pa=e=>!mr(e)&&e!==Rt;function gi(){const{caseless:e}=Pa(this)&&this||{},t={},r=(n,a)=>{const i=e&&Na(t,a)||a;Ir(t[i])&&Ir(n)?t[i]=gi(t[i],n):Ir(n)?t[i]=gi({},n):sr(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n<a;n++)arguments[n]&&Er(arguments[n],r);return t}const Wp=(e,t,r,{allOwnKeys:n}={})=>(Er(t,(a,i)=>{r&&Ye(a)?e[i]=Ra(a,r):e[i]=a},{allOwnKeys:n}),e),Zp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Jp=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Vp=(e,t,r,n)=>{let a,i,l;const v={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)l=a[i],(!n||n(l,e,t))&&!v[l]&&(t[l]=e[l],v[l]=!0);e=r!==!1&&Hi(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Kp=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Yp=e=>{if(!e)return null;if(sr(e))return e;let t=e.length;if(!Ia(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Xp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Hi(Uint8Array)),Qp=(e,t)=>{const n=(e&&e[ln]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},eg=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},tg=lt("HTMLFormElement"),rg=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),qo=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),ng=lt("RegExp"),La=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Er(r,(a,i)=>{let l;(l=t(a,i,e))!==!1&&(n[i]=l||a)}),Object.defineProperties(e,n)},ig=e=>{La(e,(t,r)=>{if(Ye(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ye(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},og=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return sr(e)?n(e):n(String(e).split(t)),r},sg=()=>{},ag=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function ug(e){return!!(e&&Ye(e.append)&&e[Ba]==="FormData"&&e[ln])}const fg=e=>{const t=new Array(10),r=(n,a)=>{if(dn(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=sr(n)?[]:{};return Er(n,(l,v)=>{const x=r(l,a+1);!mr(x)&&(i[v]=x)}),t[a]=void 0,i}}return n};return r(e,0)},lg=lt("AsyncFunction"),cg=e=>e&&(dn(e)||Ye(e))&&Ye(e.then)&&Ye(e.catch),Ua=((e,t)=>e?setImmediate:t?((r,n)=>(Rt.addEventListener("message",({source:a,data:i})=>{a===Rt&&i===r&&n.length&&n.shift()()},!1),a=>{n.push(a),Rt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ye(Rt.postMessage)),hg=typeof queueMicrotask<"u"?queueMicrotask.bind(Rt):typeof qr<"u"&&qr.nextTick||Ua,dg=e=>e!=null&&Ye(e[ln]),W={isArray:sr,isArrayBuffer:Fa,isBuffer:Cp,isFormData:Dp,isArrayBufferView:Rp,isString:Bp,isNumber:Ia,isBoolean:Fp,isObject:dn,isPlainObject:Ir,isReadableStream:kp,isRequest:qp,isResponse:zp,isHeaders:Hp,isUndefined:mr,isDate:Ip,isFile:Np,isBlob:Pp,isRegExp:ng,isFunction:Ye,isStream:Up,isURLSearchParams:jp,isTypedArray:Xp,isFileList:Lp,forEach:Er,merge:gi,extend:Wp,trim:Gp,stripBOM:Zp,inherits:Jp,toFlatObject:Vp,kindOf:cn,kindOfTest:lt,endsWith:Kp,toArray:Yp,forEachEntry:Qp,matchAll:eg,isHTMLForm:tg,hasOwnProperty:qo,hasOwnProp:qo,reduceDescriptors:La,freezeMethods:ig,toObjectSet:og,toCamelCase:rg,noop:sg,toFiniteNumber:ag,findKey:Na,global:Rt,isContextDefined:Pa,isSpecCompliantForm:ug,toJSONObject:fg,isAsyncFn:lg,isThenable:cg,setImmediate:Ua,asap:hg,isIterable:dg};var We={},pn={};pn.byteLength=mg;pn.toByteArray=wg;pn.fromByteArray=xg;var pt=[],rt=[],pg=typeof Uint8Array<"u"?Uint8Array:Array,zn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var kt=0,gg=zn.length;kt<gg;++kt)pt[kt]=zn[kt],rt[zn.charCodeAt(kt)]=kt;rt[45]=62;rt[95]=63;function Da(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function mg(e){var t=Da(e),r=t[0],n=t[1];return(r+n)*3/4-n}function yg(e,t,r){return(t+r)*3/4-r}function wg(e){var t,r=Da(e),n=r[0],a=r[1],i=new pg(yg(e,n,a)),l=0,v=a>0?n-4:n,x;for(x=0;x<v;x+=4)t=rt[e.charCodeAt(x)]<<18|rt[e.charCodeAt(x+1)]<<12|rt[e.charCodeAt(x+2)]<<6|rt[e.charCodeAt(x+3)],i[l++]=t>>16&255,i[l++]=t>>8&255,i[l++]=t&255;return a===2&&(t=rt[e.charCodeAt(x)]<<2|rt[e.charCodeAt(x+1)]>>4,i[l++]=t&255),a===1&&(t=rt[e.charCodeAt(x)]<<10|rt[e.charCodeAt(x+1)]<<4|rt[e.charCodeAt(x+2)]>>2,i[l++]=t>>8&255,i[l++]=t&255),i}function vg(e){return pt[e>>18&63]+pt[e>>12&63]+pt[e>>6&63]+pt[e&63]}function bg(e,t,r){for(var n,a=[],i=t;i<r;i+=3)n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(e[i+2]&255),a.push(vg(n));return a.join("")}function xg(e){for(var t,r=e.length,n=r%3,a=[],i=16383,l=0,v=r-n;l<v;l+=i)a.push(bg(e,l,l+i>v?v:l+i));return n===1?(t=e[r-1],a.push(pt[t>>2]+pt[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],a.push(pt[t>>10]+pt[t>>4&63]+pt[t<<2&63]+"=")),a.join("")}var Gi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Gi.read=function(e,t,r,n,a){var i,l,v=a*8-n-1,x=(1<<v)-1,m=x>>1,h=-7,S=r?a-1:0,B=r?-1:1,z=e[t+S];for(S+=B,i=z&(1<<-h)-1,z>>=-h,h+=v;h>0;i=i*256+e[t+S],S+=B,h-=8);for(l=i&(1<<-h)-1,i>>=-h,h+=n;h>0;l=l*256+e[t+S],S+=B,h-=8);if(i===0)i=1-m;else{if(i===x)return l?NaN:(z?-1:1)*(1/0);l=l+Math.pow(2,n),i=i-m}return(z?-1:1)*l*Math.pow(2,i-n)};Gi.write=function(e,t,r,n,a,i){var l,v,x,m=i*8-a-1,h=(1<<m)-1,S=h>>1,B=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=n?0:i-1,G=n?1:-1,Z=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(v=isNaN(t)?1:0,l=h):(l=Math.floor(Math.log(t)/Math.LN2),t*(x=Math.pow(2,-l))<1&&(l--,x*=2),l+S>=1?t+=B/x:t+=B*Math.pow(2,1-S),t*x>=2&&(l++,x/=2),l+S>=h?(v=0,l=h):l+S>=1?(v=(t*x-1)*Math.pow(2,a),l=l+S):(v=t*Math.pow(2,S-1)*Math.pow(2,a),l=0));a>=8;e[r+z]=v&255,z+=G,v/=256,a-=8);for(l=l<<a|v,m+=a;m>0;e[r+z]=l&255,z+=G,l/=256,m-=8);e[r+z-G]|=Z*128};/*!
|
|
2
|
-
* The buffer module from node.js, for the browser.
|
|
3
|
-
*
|
|
4
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/(function(e){const t=pn,r=Gi,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=h,e.SlowBuffer=oe,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a;const{Uint8Array:i,ArrayBuffer:l,SharedArrayBuffer:v}=globalThis;h.TYPED_ARRAY_SUPPORT=x(),!h.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function x(){try{const g=new i(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,i.prototype),Object.setPrototypeOf(g,s),g.foo()===42}catch{return!1}}Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}});function m(g){if(g>a)throw new RangeError('The value "'+g+'" is invalid for option "size"');const s=new i(g);return Object.setPrototypeOf(s,h.prototype),s}function h(g,s,f){if(typeof g=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return G(g)}return S(g,s,f)}h.poolSize=8192;function S(g,s,f){if(typeof g=="string")return Z(g,s);if(l.isView(g))return Q(g);if(g==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);if(de(g,l)||g&&de(g.buffer,l)||typeof v<"u"&&(de(g,v)||g&&de(g.buffer,v)))return X(g,s,f);if(typeof g=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const M=g.valueOf&&g.valueOf();if(M!=null&&M!==g)return h.from(M,s,f);const C=pe(g);if(C)return C;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof g[Symbol.toPrimitive]=="function")return h.from(g[Symbol.toPrimitive]("string"),s,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g)}h.from=function(g,s,f){return S(g,s,f)},Object.setPrototypeOf(h.prototype,i.prototype),Object.setPrototypeOf(h,i);function B(g){if(typeof g!="number")throw new TypeError('"size" argument must be of type number');if(g<0)throw new RangeError('The value "'+g+'" is invalid for option "size"')}function z(g,s,f){return B(g),g<=0?m(g):s!==void 0?typeof f=="string"?m(g).fill(s,f):m(g).fill(s):m(g)}h.alloc=function(g,s,f){return z(g,s,f)};function G(g){return B(g),m(g<0?0:ce(g)|0)}h.allocUnsafe=function(g){return G(g)},h.allocUnsafeSlow=function(g){return G(g)};function Z(g,s){if((typeof s!="string"||s==="")&&(s="utf8"),!h.isEncoding(s))throw new TypeError("Unknown encoding: "+s);const f=V(g,s)|0;let M=m(f);const C=M.write(g,s);return C!==f&&(M=M.slice(0,C)),M}function q(g){const s=g.length<0?0:ce(g.length)|0,f=m(s);for(let M=0;M<s;M+=1)f[M]=g[M]&255;return f}function Q(g){if(de(g,i)){const s=new i(g);return X(s.buffer,s.byteOffset,s.byteLength)}return q(g)}function X(g,s,f){if(s<0||g.byteLength<s)throw new RangeError('"offset" is outside of buffer bounds');if(g.byteLength<s+(f||0))throw new RangeError('"length" is outside of buffer bounds');let M;return s===void 0&&f===void 0?M=new i(g):f===void 0?M=new i(g,s):M=new i(g,s,f),Object.setPrototypeOf(M,h.prototype),M}function pe(g){if(h.isBuffer(g)){const s=ce(g.length)|0,f=m(s);return f.length===0||g.copy(f,0,0,s),f}if(g.length!==void 0)return typeof g.length!="number"||_e(g.length)?m(0):q(g);if(g.type==="Buffer"&&Array.isArray(g.data))return q(g.data)}function ce(g){if(g>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return g|0}function oe(g){return+g!=g&&(g=0),h.alloc(+g)}h.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==h.prototype},h.compare=function(s,f){if(de(s,i)&&(s=h.from(s,s.offset,s.byteLength)),de(f,i)&&(f=h.from(f,f.offset,f.byteLength)),!h.isBuffer(s)||!h.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===f)return 0;let M=s.length,C=f.length;for(let j=0,H=Math.min(M,C);j<H;++j)if(s[j]!==f[j]){M=s[j],C=f[j];break}return M<C?-1:C<M?1:0},h.isEncoding=function(s){switch(String(s).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},h.concat=function(s,f){if(!Array.isArray(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return h.alloc(0);let M;if(f===void 0)for(f=0,M=0;M<s.length;++M)f+=s[M].length;const C=h.allocUnsafe(f);let j=0;for(M=0;M<s.length;++M){let H=s[M];if(de(H,i))j+H.length>C.length?(h.isBuffer(H)||(H=h.from(H)),H.copy(C,j)):i.prototype.set.call(C,H,j);else if(h.isBuffer(H))H.copy(C,j);else throw new TypeError('"list" argument must be an Array of Buffers');j+=H.length}return C};function V(g,s){if(h.isBuffer(g))return g.length;if(l.isView(g)||de(g,l))return g.byteLength;if(typeof g!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof g);const f=g.length,M=arguments.length>2&&arguments[2]===!0;if(!M&&f===0)return 0;let C=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return k(g).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return ue(g).length;default:if(C)return M?-1:k(g).length;s=(""+s).toLowerCase(),C=!0}}h.byteLength=V;function K(g,s,f){let M=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,s>>>=0,f<=s))return"";for(g||(g="utf8");;)switch(g){case"hex":return ee(this,s,f);case"utf8":case"utf-8":return A(this,s,f);case"ascii":return u(this,s,f);case"latin1":case"binary":return _(this,s,f);case"base64":return w(this,s,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,s,f);default:if(M)throw new TypeError("Unknown encoding: "+g);g=(g+"").toLowerCase(),M=!0}}h.prototype._isBuffer=!0;function ae(g,s,f){const M=g[s];g[s]=g[f],g[f]=M}h.prototype.swap16=function(){const s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;f<s;f+=2)ae(this,f,f+1);return this},h.prototype.swap32=function(){const s=this.length;if(s%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let f=0;f<s;f+=4)ae(this,f,f+3),ae(this,f+1,f+2);return this},h.prototype.swap64=function(){const s=this.length;if(s%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let f=0;f<s;f+=8)ae(this,f,f+7),ae(this,f+1,f+6),ae(this,f+2,f+5),ae(this,f+3,f+4);return this},h.prototype.toString=function(){const s=this.length;return s===0?"":arguments.length===0?A(this,0,s):K.apply(this,arguments)},h.prototype.toLocaleString=h.prototype.toString,h.prototype.equals=function(s){if(!h.isBuffer(s))throw new TypeError("Argument must be a Buffer");return this===s?!0:h.compare(this,s)===0},h.prototype.inspect=function(){let s="";const f=e.INSPECT_MAX_BYTES;return s=this.toString("hex",0,f).replace(/(.{2})/g,"$1 ").trim(),this.length>f&&(s+=" ... "),"<Buffer "+s+">"},n&&(h.prototype[n]=h.prototype.inspect),h.prototype.compare=function(s,f,M,C,j){if(de(s,i)&&(s=h.from(s,s.offset,s.byteLength)),!h.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(f===void 0&&(f=0),M===void 0&&(M=s?s.length:0),C===void 0&&(C=0),j===void 0&&(j=this.length),f<0||M>s.length||C<0||j>this.length)throw new RangeError("out of range index");if(C>=j&&f>=M)return 0;if(C>=j)return-1;if(f>=M)return 1;if(f>>>=0,M>>>=0,C>>>=0,j>>>=0,this===s)return 0;let H=j-C,re=M-f;const Se=Math.min(H,re),me=this.slice(C,j),we=s.slice(f,M);for(let Me=0;Me<Se;++Me)if(me[Me]!==we[Me]){H=me[Me],re=we[Me];break}return H<re?-1:re<H?1:0};function se(g,s,f,M,C){if(g.length===0)return-1;if(typeof f=="string"?(M=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_e(f)&&(f=C?0:g.length-1),f<0&&(f=g.length+f),f>=g.length){if(C)return-1;f=g.length-1}else if(f<0)if(C)f=0;else return-1;if(typeof s=="string"&&(s=h.from(s,M)),h.isBuffer(s))return s.length===0?-1:Y(g,s,f,M,C);if(typeof s=="number")return s=s&255,typeof i.prototype.indexOf=="function"?C?i.prototype.indexOf.call(g,s,f):i.prototype.lastIndexOf.call(g,s,f):Y(g,[s],f,M,C);throw new TypeError("val must be string, number or Buffer")}function Y(g,s,f,M,C){let j=1,H=g.length,re=s.length;if(M!==void 0&&(M=String(M).toLowerCase(),M==="ucs2"||M==="ucs-2"||M==="utf16le"||M==="utf-16le")){if(g.length<2||s.length<2)return-1;j=2,H/=2,re/=2,f/=2}function Se(we,Me){return j===1?we[Me]:we.readUInt16BE(Me*j)}let me;if(C){let we=-1;for(me=f;me<H;me++)if(Se(g,me)===Se(s,we===-1?0:me-we)){if(we===-1&&(we=me),me-we+1===re)return we*j}else we!==-1&&(me-=me-we),we=-1}else for(f+re>H&&(f=H-re),me=f;me>=0;me--){let we=!0;for(let Me=0;Me<re;Me++)if(Se(g,me+Me)!==Se(s,Me)){we=!1;break}if(we)return me}return-1}h.prototype.includes=function(s,f,M){return this.indexOf(s,f,M)!==-1},h.prototype.indexOf=function(s,f,M){return se(this,s,f,M,!0)},h.prototype.lastIndexOf=function(s,f,M){return se(this,s,f,M,!1)};function E(g,s,f,M){f=Number(f)||0;const C=g.length-f;M?(M=Number(M),M>C&&(M=C)):M=C;const j=s.length;M>j/2&&(M=j/2);let H;for(H=0;H<M;++H){const re=parseInt(s.substr(H*2,2),16);if(_e(re))return H;g[f+H]=re}return H}function o(g,s,f,M){return fe(k(s,g.length-f),g,f,M)}function c(g,s,f,M){return fe(J(s),g,f,M)}function d(g,s,f,M){return fe(ue(s),g,f,M)}function p(g,s,f,M){return fe(ne(s,g.length-f),g,f,M)}h.prototype.write=function(s,f,M,C){if(f===void 0)C="utf8",M=this.length,f=0;else if(M===void 0&&typeof f=="string")C=f,M=this.length,f=0;else if(isFinite(f))f=f>>>0,isFinite(M)?(M=M>>>0,C===void 0&&(C="utf8")):(C=M,M=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const j=this.length-f;if((M===void 0||M>j)&&(M=j),s.length>0&&(M<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");C||(C="utf8");let H=!1;for(;;)switch(C){case"hex":return E(this,s,f,M);case"utf8":case"utf-8":return o(this,s,f,M);case"ascii":case"latin1":case"binary":return c(this,s,f,M);case"base64":return d(this,s,f,M);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p(this,s,f,M);default:if(H)throw new TypeError("Unknown encoding: "+C);C=(""+C).toLowerCase(),H=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function w(g,s,f){return s===0&&f===g.length?t.fromByteArray(g):t.fromByteArray(g.slice(s,f))}function A(g,s,f){f=Math.min(g.length,f);const M=[];let C=s;for(;C<f;){const j=g[C];let H=null,re=j>239?4:j>223?3:j>191?2:1;if(C+re<=f){let Se,me,we,Me;switch(re){case 1:j<128&&(H=j);break;case 2:Se=g[C+1],(Se&192)===128&&(Me=(j&31)<<6|Se&63,Me>127&&(H=Me));break;case 3:Se=g[C+1],me=g[C+2],(Se&192)===128&&(me&192)===128&&(Me=(j&15)<<12|(Se&63)<<6|me&63,Me>2047&&(Me<55296||Me>57343)&&(H=Me));break;case 4:Se=g[C+1],me=g[C+2],we=g[C+3],(Se&192)===128&&(me&192)===128&&(we&192)===128&&(Me=(j&15)<<18|(Se&63)<<12|(me&63)<<6|we&63,Me>65535&&Me<1114112&&(H=Me))}}H===null?(H=65533,re=1):H>65535&&(H-=65536,M.push(H>>>10&1023|55296),H=56320|H&1023),M.push(H),C+=re}return b(M)}const $=4096;function b(g){const s=g.length;if(s<=$)return String.fromCharCode.apply(String,g);let f="",M=0;for(;M<s;)f+=String.fromCharCode.apply(String,g.slice(M,M+=$));return f}function u(g,s,f){let M="";f=Math.min(g.length,f);for(let C=s;C<f;++C)M+=String.fromCharCode(g[C]&127);return M}function _(g,s,f){let M="";f=Math.min(g.length,f);for(let C=s;C<f;++C)M+=String.fromCharCode(g[C]);return M}function ee(g,s,f){const M=g.length;(!s||s<0)&&(s=0),(!f||f<0||f>M)&&(f=M);let C="";for(let j=s;j<f;++j)C+=he[g[j]];return C}function te(g,s,f){const M=g.slice(s,f);let C="";for(let j=0;j<M.length-1;j+=2)C+=String.fromCharCode(M[j]+M[j+1]*256);return C}h.prototype.slice=function(s,f){const M=this.length;s=~~s,f=f===void 0?M:~~f,s<0?(s+=M,s<0&&(s=0)):s>M&&(s=M),f<0?(f+=M,f<0&&(f=0)):f>M&&(f=M),f<s&&(f=s);const C=this.subarray(s,f);return Object.setPrototypeOf(C,h.prototype),C};function L(g,s,f){if(g%1!==0||g<0)throw new RangeError("offset is not uint");if(g+s>f)throw new RangeError("Trying to access beyond buffer length")}h.prototype.readUintLE=h.prototype.readUIntLE=function(s,f,M){s=s>>>0,f=f>>>0,M||L(s,f,this.length);let C=this[s],j=1,H=0;for(;++H<f&&(j*=256);)C+=this[s+H]*j;return C},h.prototype.readUintBE=h.prototype.readUIntBE=function(s,f,M){s=s>>>0,f=f>>>0,M||L(s,f,this.length);let C=this[s+--f],j=1;for(;f>0&&(j*=256);)C+=this[s+--f]*j;return C},h.prototype.readUint8=h.prototype.readUInt8=function(s,f){return s=s>>>0,f||L(s,1,this.length),this[s]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(s,f){return s=s>>>0,f||L(s,2,this.length),this[s]|this[s+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(s,f){return s=s>>>0,f||L(s,2,this.length),this[s]<<8|this[s+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(s,f){return s=s>>>0,f||L(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(s,f){return s=s>>>0,f||L(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},h.prototype.readBigUInt64LE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],M=this[s+7];(f===void 0||M===void 0)&&R(s,this.length-8);const C=f+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,j=this[++s]+this[++s]*2**8+this[++s]*2**16+M*2**24;return BigInt(C)+(BigInt(j)<<BigInt(32))}),h.prototype.readBigUInt64BE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],M=this[s+7];(f===void 0||M===void 0)&&R(s,this.length-8);const C=f*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],j=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+M;return(BigInt(C)<<BigInt(32))+BigInt(j)}),h.prototype.readIntLE=function(s,f,M){s=s>>>0,f=f>>>0,M||L(s,f,this.length);let C=this[s],j=1,H=0;for(;++H<f&&(j*=256);)C+=this[s+H]*j;return j*=128,C>=j&&(C-=Math.pow(2,8*f)),C},h.prototype.readIntBE=function(s,f,M){s=s>>>0,f=f>>>0,M||L(s,f,this.length);let C=f,j=1,H=this[s+--C];for(;C>0&&(j*=256);)H+=this[s+--C]*j;return j*=128,H>=j&&(H-=Math.pow(2,8*f)),H},h.prototype.readInt8=function(s,f){return s=s>>>0,f||L(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},h.prototype.readInt16LE=function(s,f){s=s>>>0,f||L(s,2,this.length);const M=this[s]|this[s+1]<<8;return M&32768?M|4294901760:M},h.prototype.readInt16BE=function(s,f){s=s>>>0,f||L(s,2,this.length);const M=this[s+1]|this[s]<<8;return M&32768?M|4294901760:M},h.prototype.readInt32LE=function(s,f){return s=s>>>0,f||L(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},h.prototype.readInt32BE=function(s,f){return s=s>>>0,f||L(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},h.prototype.readBigInt64LE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],M=this[s+7];(f===void 0||M===void 0)&&R(s,this.length-8);const C=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(M<<24);return(BigInt(C)<<BigInt(32))+BigInt(f+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24)}),h.prototype.readBigInt64BE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],M=this[s+7];(f===void 0||M===void 0)&&R(s,this.length-8);const C=(f<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(C)<<BigInt(32))+BigInt(this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+M)}),h.prototype.readFloatLE=function(s,f){return s=s>>>0,f||L(s,4,this.length),r.read(this,s,!0,23,4)},h.prototype.readFloatBE=function(s,f){return s=s>>>0,f||L(s,4,this.length),r.read(this,s,!1,23,4)},h.prototype.readDoubleLE=function(s,f){return s=s>>>0,f||L(s,8,this.length),r.read(this,s,!0,52,8)},h.prototype.readDoubleBE=function(s,f){return s=s>>>0,f||L(s,8,this.length),r.read(this,s,!1,52,8)};function ie(g,s,f,M,C,j){if(!h.isBuffer(g))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>C||s<j)throw new RangeError('"value" argument is out of bounds');if(f+M>g.length)throw new RangeError("Index out of range")}h.prototype.writeUintLE=h.prototype.writeUIntLE=function(s,f,M,C){if(s=+s,f=f>>>0,M=M>>>0,!C){const re=Math.pow(2,8*M)-1;ie(this,s,f,M,re,0)}let j=1,H=0;for(this[f]=s&255;++H<M&&(j*=256);)this[f+H]=s/j&255;return f+M},h.prototype.writeUintBE=h.prototype.writeUIntBE=function(s,f,M,C){if(s=+s,f=f>>>0,M=M>>>0,!C){const re=Math.pow(2,8*M)-1;ie(this,s,f,M,re,0)}let j=M-1,H=1;for(this[f+j]=s&255;--j>=0&&(H*=256);)this[f+j]=s/H&255;return f+M},h.prototype.writeUint8=h.prototype.writeUInt8=function(s,f,M){return s=+s,f=f>>>0,M||ie(this,s,f,1,255,0),this[f]=s&255,f+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(s,f,M){return s=+s,f=f>>>0,M||ie(this,s,f,2,65535,0),this[f]=s&255,this[f+1]=s>>>8,f+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(s,f,M){return s=+s,f=f>>>0,M||ie(this,s,f,2,65535,0),this[f]=s>>>8,this[f+1]=s&255,f+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(s,f,M){return s=+s,f=f>>>0,M||ie(this,s,f,4,4294967295,0),this[f+3]=s>>>24,this[f+2]=s>>>16,this[f+1]=s>>>8,this[f]=s&255,f+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(s,f,M){return s=+s,f=f>>>0,M||ie(this,s,f,4,4294967295,0),this[f]=s>>>24,this[f+1]=s>>>16,this[f+2]=s>>>8,this[f+3]=s&255,f+4};function ye(g,s,f,M,C){I(s,M,C,g,f,7);let j=Number(s&BigInt(4294967295));g[f++]=j,j=j>>8,g[f++]=j,j=j>>8,g[f++]=j,j=j>>8,g[f++]=j;let H=Number(s>>BigInt(32)&BigInt(4294967295));return g[f++]=H,H=H>>8,g[f++]=H,H=H>>8,g[f++]=H,H=H>>8,g[f++]=H,f}function be(g,s,f,M,C){I(s,M,C,g,f,7);let j=Number(s&BigInt(4294967295));g[f+7]=j,j=j>>8,g[f+6]=j,j=j>>8,g[f+5]=j,j=j>>8,g[f+4]=j;let H=Number(s>>BigInt(32)&BigInt(4294967295));return g[f+3]=H,H=H>>8,g[f+2]=H,H=H>>8,g[f+1]=H,H=H>>8,g[f]=H,f+8}h.prototype.writeBigUInt64LE=le(function(s,f=0){return ye(this,s,f,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeBigUInt64BE=le(function(s,f=0){return be(this,s,f,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeIntLE=function(s,f,M,C){if(s=+s,f=f>>>0,!C){const Se=Math.pow(2,8*M-1);ie(this,s,f,M,Se-1,-Se)}let j=0,H=1,re=0;for(this[f]=s&255;++j<M&&(H*=256);)s<0&&re===0&&this[f+j-1]!==0&&(re=1),this[f+j]=(s/H>>0)-re&255;return f+M},h.prototype.writeIntBE=function(s,f,M,C){if(s=+s,f=f>>>0,!C){const Se=Math.pow(2,8*M-1);ie(this,s,f,M,Se-1,-Se)}let j=M-1,H=1,re=0;for(this[f+j]=s&255;--j>=0&&(H*=256);)s<0&&re===0&&this[f+j+1]!==0&&(re=1),this[f+j]=(s/H>>0)-re&255;return f+M},h.prototype.writeInt8=function(s,f,M){return s=+s,f=f>>>0,M||ie(this,s,f,1,127,-128),s<0&&(s=255+s+1),this[f]=s&255,f+1},h.prototype.writeInt16LE=function(s,f,M){return s=+s,f=f>>>0,M||ie(this,s,f,2,32767,-32768),this[f]=s&255,this[f+1]=s>>>8,f+2},h.prototype.writeInt16BE=function(s,f,M){return s=+s,f=f>>>0,M||ie(this,s,f,2,32767,-32768),this[f]=s>>>8,this[f+1]=s&255,f+2},h.prototype.writeInt32LE=function(s,f,M){return s=+s,f=f>>>0,M||ie(this,s,f,4,2147483647,-2147483648),this[f]=s&255,this[f+1]=s>>>8,this[f+2]=s>>>16,this[f+3]=s>>>24,f+4},h.prototype.writeInt32BE=function(s,f,M){return s=+s,f=f>>>0,M||ie(this,s,f,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[f]=s>>>24,this[f+1]=s>>>16,this[f+2]=s>>>8,this[f+3]=s&255,f+4},h.prototype.writeBigInt64LE=le(function(s,f=0){return ye(this,s,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeBigInt64BE=le(function(s,f=0){return be(this,s,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function xe(g,s,f,M,C,j){if(f+M>g.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function ge(g,s,f,M,C){return s=+s,f=f>>>0,C||xe(g,s,f,4),r.write(g,s,f,M,23,4),f+4}h.prototype.writeFloatLE=function(s,f,M){return ge(this,s,f,!0,M)},h.prototype.writeFloatBE=function(s,f,M){return ge(this,s,f,!1,M)};function y(g,s,f,M,C){return s=+s,f=f>>>0,C||xe(g,s,f,8),r.write(g,s,f,M,52,8),f+8}h.prototype.writeDoubleLE=function(s,f,M){return y(this,s,f,!0,M)},h.prototype.writeDoubleBE=function(s,f,M){return y(this,s,f,!1,M)},h.prototype.copy=function(s,f,M,C){if(!h.isBuffer(s))throw new TypeError("argument should be a Buffer");if(M||(M=0),!C&&C!==0&&(C=this.length),f>=s.length&&(f=s.length),f||(f=0),C>0&&C<M&&(C=M),C===M||s.length===0||this.length===0)return 0;if(f<0)throw new RangeError("targetStart out of bounds");if(M<0||M>=this.length)throw new RangeError("Index out of range");if(C<0)throw new RangeError("sourceEnd out of bounds");C>this.length&&(C=this.length),s.length-f<C-M&&(C=s.length-f+M);const j=C-M;return this===s&&typeof i.prototype.copyWithin=="function"?this.copyWithin(f,M,C):i.prototype.set.call(s,this.subarray(M,C),f),j},h.prototype.fill=function(s,f,M,C){if(typeof s=="string"){if(typeof f=="string"?(C=f,f=0,M=this.length):typeof M=="string"&&(C=M,M=this.length),C!==void 0&&typeof C!="string")throw new TypeError("encoding must be a string");if(typeof C=="string"&&!h.isEncoding(C))throw new TypeError("Unknown encoding: "+C);if(s.length===1){const H=s.charCodeAt(0);(C==="utf8"&&H<128||C==="latin1")&&(s=H)}}else typeof s=="number"?s=s&255:typeof s=="boolean"&&(s=Number(s));if(f<0||this.length<f||this.length<M)throw new RangeError("Out of range index");if(M<=f)return this;f=f>>>0,M=M===void 0?this.length:M>>>0,s||(s=0);let j;if(typeof s=="number")for(j=f;j<M;++j)this[j]=s;else{const H=h.isBuffer(s)?s:h.from(s,C),re=H.length;if(re===0)throw new TypeError('The value "'+s+'" is invalid for argument "value"');for(j=0;j<M-f;++j)this[j+f]=H[j%re]}return this};const O={};function T(g,s,f){O[g]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:s.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${g}]`,this.stack,delete this.name}get code(){return g}set code(C){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:C,writable:!0})}toString(){return`${this.name} [${g}]: ${this.message}`}}}T("ERR_BUFFER_OUT_OF_BOUNDS",function(g){return g?`${g} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),T("ERR_INVALID_ARG_TYPE",function(g,s){return`The "${g}" argument must be of type number. Received type ${typeof s}`},TypeError),T("ERR_OUT_OF_RANGE",function(g,s,f){let M=`The value of "${g}" is out of range.`,C=f;return Number.isInteger(f)&&Math.abs(f)>2**32?C=P(String(f)):typeof f=="bigint"&&(C=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(C=P(C)),C+="n"),M+=` It must be ${s}. Received ${C}`,M},RangeError);function P(g){let s="",f=g.length;const M=g[0]==="-"?1:0;for(;f>=M+4;f-=3)s=`_${g.slice(f-3,f)}${s}`;return`${g.slice(0,f)}${s}`}function N(g,s,f){D(s,"offset"),(g[s]===void 0||g[s+f]===void 0)&&R(s,g.length-(f+1))}function I(g,s,f,M,C,j){if(g>f||g<s){const H=typeof s=="bigint"?"n":"";let re;throw s===0||s===BigInt(0)?re=`>= 0${H} and < 2${H} ** ${(j+1)*8}${H}`:re=`>= -(2${H} ** ${(j+1)*8-1}${H}) and < 2 ** ${(j+1)*8-1}${H}`,new O.ERR_OUT_OF_RANGE("value",re,g)}N(M,C,j)}function D(g,s){if(typeof g!="number")throw new O.ERR_INVALID_ARG_TYPE(s,"number",g)}function R(g,s,f){throw Math.floor(g)!==g?(D(g,f),new O.ERR_OUT_OF_RANGE("offset","an integer",g)):s<0?new O.ERR_BUFFER_OUT_OF_BOUNDS:new O.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${s}`,g)}const F=/[^+/0-9A-Za-z-_]/g;function U(g){if(g=g.split("=")[0],g=g.trim().replace(F,""),g.length<2)return"";for(;g.length%4!==0;)g=g+"=";return g}function k(g,s){s=s||1/0;let f;const M=g.length;let C=null;const j=[];for(let H=0;H<M;++H){if(f=g.charCodeAt(H),f>55295&&f<57344){if(!C){if(f>56319){(s-=3)>-1&&j.push(239,191,189);continue}else if(H+1===M){(s-=3)>-1&&j.push(239,191,189);continue}C=f;continue}if(f<56320){(s-=3)>-1&&j.push(239,191,189),C=f;continue}f=(C-55296<<10|f-56320)+65536}else C&&(s-=3)>-1&&j.push(239,191,189);if(C=null,f<128){if((s-=1)<0)break;j.push(f)}else if(f<2048){if((s-=2)<0)break;j.push(f>>6|192,f&63|128)}else if(f<65536){if((s-=3)<0)break;j.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((s-=4)<0)break;j.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return j}function J(g){const s=[];for(let f=0;f<g.length;++f)s.push(g.charCodeAt(f)&255);return s}function ne(g,s){let f,M,C;const j=[];for(let H=0;H<g.length&&!((s-=2)<0);++H)f=g.charCodeAt(H),M=f>>8,C=f%256,j.push(C),j.push(M);return j}function ue(g){return t.toByteArray(U(g))}function fe(g,s,f,M){let C;for(C=0;C<M&&!(C+f>=s.length||C>=g.length);++C)s[C+f]=g[C];return C}function de(g,s){return g instanceof s||g!=null&&g.constructor!=null&&g.constructor.name!=null&&g.constructor.name===s.name}function _e(g){return g!==g}const he=function(){const g="0123456789abcdef",s=new Array(256);for(let f=0;f<16;++f){const M=f*16;for(let C=0;C<16;++C)s[M+C]=g[f]+g[C]}return s}();function le(g){return typeof BigInt>"u"?Te:g}function Te(){throw new Error("BigInt not supported")}})(We);const ja=We.Buffer,Mg=We.Blob,_g=We.BlobOptions,Eg=We.Buffer,Sg=We.File,Og=We.FileOptions,Ag=We.INSPECT_MAX_BYTES,Tg=We.SlowBuffer,$g=We.TranscodeEncoding,Cg=We.atob,Rg=We.btoa,Bg=We.constants,Fg=We.isAscii,Ig=We.isUtf8,Ng=We.kMaxLength,Pg=We.kStringMaxLength,Lg=We.resolveObjectURL,Ug=We.transcode,Dg=Object.freeze(Object.defineProperty({__proto__:null,Blob:Mg,BlobOptions:_g,Buffer:Eg,File:Sg,FileOptions:Og,INSPECT_MAX_BYTES:Ag,SlowBuffer:Tg,TranscodeEncoding:$g,atob:Cg,btoa:Rg,constants:Bg,default:ja,isAscii:Fg,isUtf8:Ig,kMaxLength:Ng,kStringMaxLength:Pg,resolveObjectURL:Lg,transcode:Ug},Symbol.toStringTag,{value:"Module"}));function ve(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}W.inherits(ve,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.status}}});const ka=ve.prototype,qa={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{qa[e]={value:e}});Object.defineProperties(ve,qa);Object.defineProperty(ka,"isAxiosError",{value:!0});ve.from=(e,t,r,n,a,i)=>{const l=Object.create(ka);return W.toFlatObject(e,l,function(x){return x!==Error.prototype},v=>v!=="isAxiosError"),ve.call(l,e.message,t,r,n,a),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};const jg=null;function mi(e){return W.isPlainObject(e)||W.isArray(e)}function za(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function zo(e,t,r){return e?e.concat(t).map(function(a,i){return a=za(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function kg(e){return W.isArray(e)&&!e.some(mi)}const qg=W.toFlatObject(W,{},null,function(t){return/^is[A-Z]/.test(t)});function gn(e,t,r){if(!W.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=W.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Z,q){return!W.isUndefined(q[Z])});const n=r.metaTokens,a=r.visitor||h,i=r.dots,l=r.indexes,x=(r.Blob||typeof Blob<"u"&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(a))throw new TypeError("visitor must be a function");function m(G){if(G===null)return"";if(W.isDate(G))return G.toISOString();if(!x&&W.isBlob(G))throw new ve("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(G)||W.isTypedArray(G)?x&&typeof Blob=="function"?new Blob([G]):ja.from(G):G}function h(G,Z,q){let Q=G;if(G&&!q&&typeof G=="object"){if(W.endsWith(Z,"{}"))Z=n?Z:Z.slice(0,-2),G=JSON.stringify(G);else if(W.isArray(G)&&kg(G)||(W.isFileList(G)||W.endsWith(Z,"[]"))&&(Q=W.toArray(G)))return Z=za(Z),Q.forEach(function(pe,ce){!(W.isUndefined(pe)||pe===null)&&t.append(l===!0?zo([Z],ce,i):l===null?Z:Z+"[]",m(pe))}),!1}return mi(G)?!0:(t.append(zo(q,Z,i),m(G)),!1)}const S=[],B=Object.assign(qg,{defaultVisitor:h,convertValue:m,isVisitable:mi});function z(G,Z){if(!W.isUndefined(G)){if(S.indexOf(G)!==-1)throw Error("Circular reference detected in "+Z.join("."));S.push(G),W.forEach(G,function(Q,X){(!(W.isUndefined(Q)||Q===null)&&a.call(t,Q,W.isString(X)?X.trim():X,Z,B))===!0&&z(Q,Z?Z.concat(X):[X])}),S.pop()}}if(!W.isObject(e))throw new TypeError("data must be an object");return z(e),t}function Ho(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Wi(e,t){this._pairs=[],e&&gn(e,this,t)}const Ha=Wi.prototype;Ha.append=function(t,r){this._pairs.push([t,r])};Ha.toString=function(t){const r=t?function(n){return t.call(this,n,Ho)}:Ho;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function zg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ga(e,t,r){if(!t)return e;const n=r&&r.encode||zg;W.isFunction(r)&&(r={serialize:r});const a=r&&r.serialize;let i;if(a?i=a(t,r):i=W.isURLSearchParams(t)?t.toString():new Wi(t,r).toString(n),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Go{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){W.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Wa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hg=typeof URLSearchParams<"u"?URLSearchParams:Wi,Gg=typeof FormData<"u"?FormData:null,Wg=typeof Blob<"u"?Blob:null,Zg={isBrowser:!0,classes:{URLSearchParams:Hg,FormData:Gg,Blob:Wg},protocols:["http","https","file","blob","url","data"]},Zi=typeof window<"u"&&typeof document<"u",yi=typeof navigator=="object"&&navigator||void 0,Jg=Zi&&(!yi||["ReactNative","NativeScript","NS"].indexOf(yi.product)<0),Vg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Kg=Zi&&window.location.href||"http://localhost",Yg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zi,hasStandardBrowserEnv:Jg,hasStandardBrowserWebWorkerEnv:Vg,navigator:yi,origin:Kg},Symbol.toStringTag,{value:"Module"})),Ke={...Yg,...Zg};function Xg(e,t){return gn(e,new Ke.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return Ke.isNode&&W.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Qg(e){return W.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function em(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n<a;n++)i=r[n],t[i]=e[i];return t}function Za(e){function t(r,n,a,i){let l=r[i++];if(l==="__proto__")return!0;const v=Number.isFinite(+l),x=i>=r.length;return l=!l&&W.isArray(a)?a.length:l,x?(W.hasOwnProp(a,l)?a[l]=[a[l],n]:a[l]=n,!v):((!a[l]||!W.isObject(a[l]))&&(a[l]=[]),t(r,n,a[l],i)&&W.isArray(a[l])&&(a[l]=em(a[l])),!v)}if(W.isFormData(e)&&W.isFunction(e.entries)){const r={};return W.forEachEntry(e,(n,a)=>{t(Qg(n),a,r,0)}),r}return null}function tm(e,t,r){if(W.isString(e))try{return(t||JSON.parse)(e),W.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Sr={transitional:Wa,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=W.isObject(t);if(i&&W.isHTMLForm(t)&&(t=new FormData(t)),W.isFormData(t))return a?JSON.stringify(Za(t)):t;if(W.isArrayBuffer(t)||W.isBuffer(t)||W.isStream(t)||W.isFile(t)||W.isBlob(t)||W.isReadableStream(t))return t;if(W.isArrayBufferView(t))return t.buffer;if(W.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let v;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Xg(t,this.formSerializer).toString();if((v=W.isFileList(t))||n.indexOf("multipart/form-data")>-1){const x=this.env&&this.env.FormData;return gn(v?{"files[]":t}:t,x&&new x,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),tm(t)):t}],transformResponse:[function(t){const r=this.transitional||Sr.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(W.isResponse(t)||W.isReadableStream(t))return t;if(t&&W.isString(t)&&(n&&!this.responseType||a)){const l=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(v){if(l)throw v.name==="SyntaxError"?ve.from(v,ve.ERR_BAD_RESPONSE,this,null,this.response):v}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ke.classes.FormData,Blob:Ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],e=>{Sr.headers[e]={}});const rm=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nm=e=>{const t={};let r,n,a;return e&&e.split(`
|
|
7
|
-
`).forEach(function(l){a=l.indexOf(":"),r=l.substring(0,a).trim().toLowerCase(),n=l.substring(a+1).trim(),!(!r||t[r]&&rm[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Wo=Symbol("internals");function fr(e){return e&&String(e).trim().toLowerCase()}function Nr(e){return e===!1||e==null?e:W.isArray(e)?e.map(Nr):String(e)}function im(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const om=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hn(e,t,r,n,a){if(W.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!W.isString(t)){if(W.isString(n))return t.indexOf(n)!==-1;if(W.isRegExp(n))return n.test(t)}}function sm(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function am(e,t){const r=W.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,l){return this[n].call(this,t,a,i,l)},configurable:!0})})}let Xe=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(v,x,m){const h=fr(x);if(!h)throw new Error("header name must be a non-empty string");const S=W.findKey(a,h);(!S||a[S]===void 0||m===!0||m===void 0&&a[S]!==!1)&&(a[S||x]=Nr(v))}const l=(v,x)=>W.forEach(v,(m,h)=>i(m,h,x));if(W.isPlainObject(t)||t instanceof this.constructor)l(t,r);else if(W.isString(t)&&(t=t.trim())&&!om(t))l(nm(t),r);else if(W.isObject(t)&&W.isIterable(t)){let v={},x,m;for(const h of t){if(!W.isArray(h))throw TypeError("Object iterator must return a key-value pair");v[m=h[0]]=(x=v[m])?W.isArray(x)?[...x,h[1]]:[x,h[1]]:h[1]}l(v,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=fr(t),t){const n=W.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return im(a);if(W.isFunction(r))return r.call(this,a,n);if(W.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=fr(t),t){const n=W.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Hn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(l){if(l=fr(l),l){const v=W.findKey(n,l);v&&(!r||Hn(n,n[v],v,r))&&(delete n[v],a=!0)}}return W.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||Hn(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return W.forEach(this,(a,i)=>{const l=W.findKey(n,i);if(l){r[l]=Nr(a),delete r[i];return}const v=t?sm(i):String(i).trim();v!==i&&delete r[i],r[v]=Nr(a),n[v]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return W.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&W.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
8
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[Wo]=this[Wo]={accessors:{}}).accessors,a=this.prototype;function i(l){const v=fr(l);n[v]||(am(a,l),n[v]=!0)}return W.isArray(t)?t.forEach(i):i(t),this}};Xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);W.reduceDescriptors(Xe.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});W.freezeMethods(Xe);function Gn(e,t){const r=this||Sr,n=t||r,a=Xe.from(n.headers);let i=n.data;return W.forEach(e,function(v){i=v.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Ja(e){return!!(e&&e.__CANCEL__)}function ar(e,t,r){ve.call(this,e??"canceled",ve.ERR_CANCELED,t,r),this.name="CanceledError"}W.inherits(ar,ve,{__CANCEL__:!0});function Va(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new ve("Request failed with status code "+r.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function um(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fm(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,l;return t=t!==void 0?t:1e3,function(x){const m=Date.now(),h=n[i];l||(l=m),r[a]=x,n[a]=m;let S=i,B=0;for(;S!==a;)B+=r[S++],S=S%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),m-l<t)return;const z=h&&m-h;return z?Math.round(B*1e3/z):void 0}}function lm(e,t){let r=0,n=1e3/t,a,i;const l=(m,h=Date.now())=>{r=h,a=null,i&&(clearTimeout(i),i=null),e.apply(null,m)};return[(...m)=>{const h=Date.now(),S=h-r;S>=n?l(m,h):(a=m,i||(i=setTimeout(()=>{i=null,l(a)},n-S)))},()=>a&&l(a)]}const zr=(e,t,r=3)=>{let n=0;const a=fm(50,250);return lm(i=>{const l=i.loaded,v=i.lengthComputable?i.total:void 0,x=l-n,m=a(x),h=l<=v;n=l;const S={loaded:l,total:v,progress:v?l/v:void 0,bytes:x,rate:m||void 0,estimated:m&&v&&h?(v-l)/m:void 0,event:i,lengthComputable:v!=null,[t?"download":"upload"]:!0};e(S)},r)},Zo=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Jo=e=>(...t)=>W.asap(()=>e(...t)),cm=Ke.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Ke.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Ke.origin),Ke.navigator&&/(msie|trident)/i.test(Ke.navigator.userAgent)):()=>!0,hm=Ke.hasStandardBrowserEnv?{write(e,t,r,n,a,i){const l=[e+"="+encodeURIComponent(t)];W.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),W.isString(n)&&l.push("path="+n),W.isString(a)&&l.push("domain="+a),i===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dm(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pm(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ka(e,t,r){let n=!dm(t);return e&&(n||r==!1)?pm(e,t):t}const Vo=e=>e instanceof Xe?{...e}:e;function Pt(e,t){t=t||{};const r={};function n(m,h,S,B){return W.isPlainObject(m)&&W.isPlainObject(h)?W.merge.call({caseless:B},m,h):W.isPlainObject(h)?W.merge({},h):W.isArray(h)?h.slice():h}function a(m,h,S,B){if(W.isUndefined(h)){if(!W.isUndefined(m))return n(void 0,m,S,B)}else return n(m,h,S,B)}function i(m,h){if(!W.isUndefined(h))return n(void 0,h)}function l(m,h){if(W.isUndefined(h)){if(!W.isUndefined(m))return n(void 0,m)}else return n(void 0,h)}function v(m,h,S){if(S in t)return n(m,h);if(S in e)return n(void 0,m)}const x={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:v,headers:(m,h,S)=>a(Vo(m),Vo(h),S,!0)};return W.forEach(Object.keys(Object.assign({},e,t)),function(h){const S=x[h]||a,B=S(e[h],t[h],h);W.isUndefined(B)&&S!==v||(r[h]=B)}),r}const Ya=e=>{const t=Pt({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:i,headers:l,auth:v}=t;t.headers=l=Xe.from(l),t.url=Ga(Ka(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),v&&l.set("Authorization","Basic "+btoa((v.username||"")+":"+(v.password?unescape(encodeURIComponent(v.password)):"")));let x;if(W.isFormData(r)){if(Ke.hasStandardBrowserEnv||Ke.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((x=l.getContentType())!==!1){const[m,...h]=x?x.split(";").map(S=>S.trim()).filter(Boolean):[];l.setContentType([m||"multipart/form-data",...h].join("; "))}}if(Ke.hasStandardBrowserEnv&&(n&&W.isFunction(n)&&(n=n(t)),n||n!==!1&&cm(t.url))){const m=a&&i&&hm.read(i);m&&l.set(a,m)}return t},gm=typeof XMLHttpRequest<"u",mm=gm&&function(e){return new Promise(function(r,n){const a=Ya(e);let i=a.data;const l=Xe.from(a.headers).normalize();let{responseType:v,onUploadProgress:x,onDownloadProgress:m}=a,h,S,B,z,G;function Z(){z&&z(),G&&G(),a.cancelToken&&a.cancelToken.unsubscribe(h),a.signal&&a.signal.removeEventListener("abort",h)}let q=new XMLHttpRequest;q.open(a.method.toUpperCase(),a.url,!0),q.timeout=a.timeout;function Q(){if(!q)return;const pe=Xe.from("getAllResponseHeaders"in q&&q.getAllResponseHeaders()),oe={data:!v||v==="text"||v==="json"?q.responseText:q.response,status:q.status,statusText:q.statusText,headers:pe,config:e,request:q};Va(function(K){r(K),Z()},function(K){n(K),Z()},oe),q=null}"onloadend"in q?q.onloadend=Q:q.onreadystatechange=function(){!q||q.readyState!==4||q.status===0&&!(q.responseURL&&q.responseURL.indexOf("file:")===0)||setTimeout(Q)},q.onabort=function(){q&&(n(new ve("Request aborted",ve.ECONNABORTED,e,q)),q=null)},q.onerror=function(){n(new ve("Network Error",ve.ERR_NETWORK,e,q)),q=null},q.ontimeout=function(){let ce=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const oe=a.transitional||Wa;a.timeoutErrorMessage&&(ce=a.timeoutErrorMessage),n(new ve(ce,oe.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,e,q)),q=null},i===void 0&&l.setContentType(null),"setRequestHeader"in q&&W.forEach(l.toJSON(),function(ce,oe){q.setRequestHeader(oe,ce)}),W.isUndefined(a.withCredentials)||(q.withCredentials=!!a.withCredentials),v&&v!=="json"&&(q.responseType=a.responseType),m&&([B,G]=zr(m,!0),q.addEventListener("progress",B)),x&&q.upload&&([S,z]=zr(x),q.upload.addEventListener("progress",S),q.upload.addEventListener("loadend",z)),(a.cancelToken||a.signal)&&(h=pe=>{q&&(n(!pe||pe.type?new ar(null,e,q):pe),q.abort(),q=null)},a.cancelToken&&a.cancelToken.subscribe(h),a.signal&&(a.signal.aborted?h():a.signal.addEventListener("abort",h)));const X=um(a.url);if(X&&Ke.protocols.indexOf(X)===-1){n(new ve("Unsupported protocol "+X+":",ve.ERR_BAD_REQUEST,e));return}q.send(i||null)})},ym=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const i=function(m){if(!a){a=!0,v();const h=m instanceof Error?m:this.reason;n.abort(h instanceof ve?h:new ar(h instanceof Error?h.message:h))}};let l=t&&setTimeout(()=>{l=null,i(new ve(`timeout ${t} of ms exceeded`,ve.ETIMEDOUT))},t);const v=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(m=>{m.unsubscribe?m.unsubscribe(i):m.removeEventListener("abort",i)}),e=null)};e.forEach(m=>m.addEventListener("abort",i));const{signal:x}=n;return x.unsubscribe=()=>W.asap(v),x}},wm=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},vm=async function*(e,t){for await(const r of bm(e))yield*wm(r,t)},bm=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Ko=(e,t,r,n)=>{const a=vm(e,t);let i=0,l,v=x=>{l||(l=!0,n&&n(x))};return new ReadableStream({async pull(x){try{const{done:m,value:h}=await a.next();if(m){v(),x.close();return}let S=h.byteLength;if(r){let B=i+=S;r(B)}x.enqueue(new Uint8Array(h))}catch(m){throw v(m),m}},cancel(x){return v(x),a.return()}},{highWaterMark:2})},mn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Xa=mn&&typeof ReadableStream=="function",xm=mn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Qa=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Mm=Xa&&Qa(()=>{let e=!1;const t=new Request(Ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Yo=64*1024,wi=Xa&&Qa(()=>W.isReadableStream(new Response("").body)),Hr={stream:wi&&(e=>e.body)};mn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Hr[t]&&(Hr[t]=W.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new ve(`Response type '${t}' is not supported`,ve.ERR_NOT_SUPPORT,n)})})})(new Response);const _m=async e=>{if(e==null)return 0;if(W.isBlob(e))return e.size;if(W.isSpecCompliantForm(e))return(await new Request(Ke.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(W.isArrayBufferView(e)||W.isArrayBuffer(e))return e.byteLength;if(W.isURLSearchParams(e)&&(e=e+""),W.isString(e))return(await xm(e)).byteLength},Em=async(e,t)=>{const r=W.toFiniteNumber(e.getContentLength());return r??_m(t)},Sm=mn&&(async e=>{let{url:t,method:r,data:n,signal:a,cancelToken:i,timeout:l,onDownloadProgress:v,onUploadProgress:x,responseType:m,headers:h,withCredentials:S="same-origin",fetchOptions:B}=Ya(e);m=m?(m+"").toLowerCase():"text";let z=ym([a,i&&i.toAbortSignal()],l),G;const Z=z&&z.unsubscribe&&(()=>{z.unsubscribe()});let q;try{if(x&&Mm&&r!=="get"&&r!=="head"&&(q=await Em(h,n))!==0){let oe=new Request(t,{method:"POST",body:n,duplex:"half"}),V;if(W.isFormData(n)&&(V=oe.headers.get("content-type"))&&h.setContentType(V),oe.body){const[K,ae]=Zo(q,zr(Jo(x)));n=Ko(oe.body,Yo,K,ae)}}W.isString(S)||(S=S?"include":"omit");const Q="credentials"in Request.prototype;G=new Request(t,{...B,signal:z,method:r.toUpperCase(),headers:h.normalize().toJSON(),body:n,duplex:"half",credentials:Q?S:void 0});let X=await fetch(G);const pe=wi&&(m==="stream"||m==="response");if(wi&&(v||pe&&Z)){const oe={};["status","statusText","headers"].forEach(se=>{oe[se]=X[se]});const V=W.toFiniteNumber(X.headers.get("content-length")),[K,ae]=v&&Zo(V,zr(Jo(v),!0))||[];X=new Response(Ko(X.body,Yo,K,()=>{ae&&ae(),Z&&Z()}),oe)}m=m||"text";let ce=await Hr[W.findKey(Hr,m)||"text"](X,e);return!pe&&Z&&Z(),await new Promise((oe,V)=>{Va(oe,V,{data:ce,headers:Xe.from(X.headers),status:X.status,statusText:X.statusText,config:e,request:G})})}catch(Q){throw Z&&Z(),Q&&Q.name==="TypeError"&&/Load failed|fetch/i.test(Q.message)?Object.assign(new ve("Network Error",ve.ERR_NETWORK,e,G),{cause:Q.cause||Q}):ve.from(Q,Q&&Q.code,e,G)}}),vi={http:jg,xhr:mm,fetch:Sm};W.forEach(vi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Xo=e=>`- ${e}`,Om=e=>W.isFunction(e)||e===null||e===!1,eu={getAdapter:e=>{e=W.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let i=0;i<t;i++){r=e[i];let l;if(n=r,!Om(r)&&(n=vi[(l=String(r)).toLowerCase()],n===void 0))throw new ve(`Unknown adapter '${l}'`);if(n)break;a[l||"#"+i]=n}if(!n){const i=Object.entries(a).map(([v,x])=>`adapter ${v} `+(x===!1?"is not supported by the environment":"is not available in the build"));let l=t?i.length>1?`since :
|
|
9
|
-
`+i.map(Xo).join(`
|
|
10
|
-
`):" "+Xo(i[0]):"as no adapter specified";throw new ve("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return n},adapters:vi};function Wn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ar(null,e)}function Qo(e){return Wn(e),e.headers=Xe.from(e.headers),e.data=Gn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),eu.getAdapter(e.adapter||Sr.adapter)(e).then(function(n){return Wn(e),n.data=Gn.call(e,e.transformResponse,n),n.headers=Xe.from(n.headers),n},function(n){return Ja(n)||(Wn(e),n&&n.response&&(n.response.data=Gn.call(e,e.transformResponse,n.response),n.response.headers=Xe.from(n.response.headers))),Promise.reject(n)})}const tu="1.9.0",yn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{yn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const es={};yn.transitional=function(t,r,n){function a(i,l){return"[Axios v"+tu+"] Transitional option '"+i+"'"+l+(n?". "+n:"")}return(i,l,v)=>{if(t===!1)throw new ve(a(l," has been removed"+(r?" in "+r:"")),ve.ERR_DEPRECATED);return r&&!es[l]&&(es[l]=!0,console.warn(a(l," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,l,v):!0}};yn.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Am(e,t,r){if(typeof e!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],l=t[i];if(l){const v=e[i],x=v===void 0||l(v,i,e);if(x!==!0)throw new ve("option "+i+" must be "+x,ve.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ve("Unknown option "+i,ve.ERR_BAD_OPTION)}}const Pr={assertOptions:Am,validators:yn},ct=Pr.validators;let Bt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Go,response:new Go}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
11
|
-
`+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Pt(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&Pr.assertOptions(n,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),a!=null&&(W.isFunction(a)?r.paramsSerializer={serialize:a}:Pr.assertOptions(a,{encode:ct.function,serialize:ct.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Pr.assertOptions(r,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l=i&&W.merge(i.common,i[r.method]);i&&W.forEach(["delete","get","head","post","put","patch","common"],G=>{delete i[G]}),r.headers=Xe.concat(l,i);const v=[];let x=!0;this.interceptors.request.forEach(function(Z){typeof Z.runWhen=="function"&&Z.runWhen(r)===!1||(x=x&&Z.synchronous,v.unshift(Z.fulfilled,Z.rejected))});const m=[];this.interceptors.response.forEach(function(Z){m.push(Z.fulfilled,Z.rejected)});let h,S=0,B;if(!x){const G=[Qo.bind(this),void 0];for(G.unshift.apply(G,v),G.push.apply(G,m),B=G.length,h=Promise.resolve(r);S<B;)h=h.then(G[S++],G[S++]);return h}B=v.length;let z=r;for(S=0;S<B;){const G=v[S++],Z=v[S++];try{z=G(z)}catch(q){Z.call(this,q);break}}try{h=Qo.call(this,z)}catch(G){return Promise.reject(G)}for(S=0,B=m.length;S<B;)h=h.then(m[S++],m[S++]);return h}getUri(t){t=Pt(this.defaults,t);const r=Ka(t.baseURL,t.url,t.allowAbsoluteUrls);return Ga(r,t.params,t.paramsSerializer)}};W.forEach(["delete","get","head","options"],function(t){Bt.prototype[t]=function(r,n){return this.request(Pt(n||{},{method:t,url:r,data:(n||{}).data}))}});W.forEach(["post","put","patch"],function(t){function r(n){return function(i,l,v){return this.request(Pt(v||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:l}))}}Bt.prototype[t]=r(),Bt.prototype[t+"Form"]=r(!0)});let Tm=class ru{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const l=new Promise(v=>{n.subscribe(v),i=v}).then(a);return l.cancel=function(){n.unsubscribe(i)},l},t(function(i,l,v){n.reason||(n.reason=new ar(i,l,v),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new ru(function(a){t=a}),cancel:t}}};function $m(e){return function(r){return e.apply(null,r)}}function Cm(e){return W.isObject(e)&&e.isAxiosError===!0}const bi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(bi).forEach(([e,t])=>{bi[t]=e});function nu(e){const t=new Bt(e),r=Ra(Bt.prototype.request,t);return W.extend(r,Bt.prototype,t,{allOwnKeys:!0}),W.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return nu(Pt(e,a))},r}const Ce=nu(Sr);Ce.Axios=Bt;Ce.CanceledError=ar;Ce.CancelToken=Tm;Ce.isCancel=Ja;Ce.VERSION=tu;Ce.toFormData=gn;Ce.AxiosError=ve;Ce.Cancel=Ce.CanceledError;Ce.all=function(t){return Promise.all(t)};Ce.spread=$m;Ce.isAxiosError=Cm;Ce.mergeConfig=Pt;Ce.AxiosHeaders=Xe;Ce.formToJSON=e=>Za(W.isHTMLForm(e)?new FormData(e):e);Ce.getAdapter=eu.getAdapter;Ce.HttpStatusCode=bi;Ce.default=Ce;const{Axios:Rm,AxiosError:Bm,CanceledError:Fm,isCancel:Im,CancelToken:Nm,VERSION:Pm,all:Lm,Cancel:Um,isAxiosError:Dm,spread:jm,toFormData:km,AxiosHeaders:qm,HttpStatusCode:zm,formToJSON:Hm,getAdapter:Gm,mergeConfig:Wm}=Ce,Ov=Object.freeze(Object.defineProperty({__proto__:null,Axios:Rm,AxiosError:Bm,AxiosHeaders:qm,Cancel:Um,CancelToken:Nm,CanceledError:Fm,HttpStatusCode:zm,VERSION:Pm,all:Lm,default:Ce,formToJSON:Hm,getAdapter:Gm,isAxiosError:Dm,isCancel:Im,mergeConfig:Wm,spread:jm,toFormData:km},Symbol.toStringTag,{value:"Module"}));var Zm="[object Boolean]";function Jm(e){return e===!0||e===!1||Qe(e)&&ut(e)==Zm}const Av=Object.freeze(Object.defineProperty({__proto__:null,default:Jm},Symbol.toStringTag,{value:"Module"}));var Vm="[object String]";function Km(e){return typeof e=="string"||!$e(e)&&Qe(e)&&ut(e)==Vm}const Tv=Object.freeze(Object.defineProperty({__proto__:null,default:Km},Symbol.toStringTag,{value:"Module"}));var Ym="[object Number]";function Xm(e){return typeof e=="number"||Qe(e)&&ut(e)==Ym}const $v=Object.freeze(Object.defineProperty({__proto__:null,default:Xm},Symbol.toStringTag,{value:"Module"}));function Qm(e){return function(t){t=tt(t);var r=Zr(t)?Jt(t):void 0,n=r?r[0]:t.charAt(0),a=r?Wr(r,1).join(""):t.slice(1);return n[e]()+a}}var iu=Qm("toUpperCase");const Cv=Object.freeze(Object.defineProperty({__proto__:null,default:iu},Symbol.toStringTag,{value:"Module"}));function e1(e){return iu(tt(e).toLowerCase())}function t1(e,t,r,n){for(var a=-1,i=e==null?0:e.length;++a<i;)r=t(r,e[a],a,e);return r}function ou(e){return function(t){return e==null?void 0:e[t]}}var r1={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},n1=ou(r1),i1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o1="\\u0300-\\u036f",s1="\\ufe20-\\ufe2f",a1="\\u20d0-\\u20ff",u1=o1+s1+a1,f1="["+u1+"]",l1=RegExp(f1,"g");function c1(e){return e=tt(e),e&&e.replace(i1,n1).replace(l1,"")}var h1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function d1(e){return e.match(h1)||[]}var p1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function g1(e){return p1.test(e)}var su="\\ud800-\\udfff",m1="\\u0300-\\u036f",y1="\\ufe20-\\ufe2f",w1="\\u20d0-\\u20ff",v1=m1+y1+w1,au="\\u2700-\\u27bf",uu="a-z\\xdf-\\xf6\\xf8-\\xff",b1="\\xac\\xb1\\xd7\\xf7",x1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",M1="\\u2000-\\u206f",_1=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fu="A-Z\\xc0-\\xd6\\xd8-\\xde",E1="\\ufe0e\\ufe0f",lu=b1+x1+M1+_1,cu="['’]",ts="["+lu+"]",S1="["+v1+"]",hu="\\d+",O1="["+au+"]",du="["+uu+"]",pu="[^"+su+lu+hu+au+uu+fu+"]",A1="\\ud83c[\\udffb-\\udfff]",T1="(?:"+S1+"|"+A1+")",$1="[^"+su+"]",gu="(?:\\ud83c[\\udde6-\\uddff]){2}",mu="[\\ud800-\\udbff][\\udc00-\\udfff]",qt="["+fu+"]",C1="\\u200d",rs="(?:"+du+"|"+pu+")",R1="(?:"+qt+"|"+pu+")",ns="(?:"+cu+"(?:d|ll|m|re|s|t|ve))?",is="(?:"+cu+"(?:D|LL|M|RE|S|T|VE))?",yu=T1+"?",wu="["+E1+"]?",B1="(?:"+C1+"(?:"+[$1,gu,mu].join("|")+")"+wu+yu+")*",F1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",I1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",N1=wu+yu+B1,P1="(?:"+[O1,gu,mu].join("|")+")"+N1,L1=RegExp([qt+"?"+du+"+"+ns+"(?="+[ts,qt,"$"].join("|")+")",R1+"+"+is+"(?="+[ts,qt+rs,"$"].join("|")+")",qt+"?"+rs+"+"+ns,qt+"+"+is,I1,F1,hu,P1].join("|"),"g");function U1(e){return e.match(L1)||[]}function D1(e,t,r){return e=tt(e),t=t,t===void 0?g1(e)?U1(e):d1(e):e.match(t)||[]}var j1="['’]",k1=RegExp(j1,"g");function q1(e){return function(t){return t1(D1(c1(t).replace(k1,"")),e,"")}}var z1=q1(function(e,t,r){return t=t.toLowerCase(),e+(r?e1(t):t)});const Rv=Object.freeze(Object.defineProperty({__proto__:null,default:z1},Symbol.toStringTag,{value:"Module"}));function H1(e){return e===null}const Bv=Object.freeze(Object.defineProperty({__proto__:null,default:H1},Symbol.toStringTag,{value:"Module"}));function G1(e,t,r){e=tt(e),t=er(t);var n=t?_i(e):0;return t&&n<t?e+Bs(t-n,r):e}const Fv=Object.freeze(Object.defineProperty({__proto__:null,default:G1},Symbol.toStringTag,{value:"Module"})),W1=ju(Dg);var Ji={exports:{}};Ji.exports;(function(e){(function(t,r){function n(E,o){if(!E)throw new Error(o||"Assertion failed")}function a(E,o){E.super_=o;var c=function(){};c.prototype=o.prototype,E.prototype=new c,E.prototype.constructor=E}function i(E,o,c){if(i.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,E!==null&&((o==="le"||o==="be")&&(c=o,o=10),this._init(E||0,o||10,c||"be"))}typeof t=="object"?t.exports=i:r.BN=i,i.BN=i,i.wordSize=26;var l;try{typeof window<"u"&&typeof window.Buffer<"u"?l=window.Buffer:l=W1.Buffer}catch{}i.isBN=function(o){return o instanceof i?!0:o!==null&&typeof o=="object"&&o.constructor.wordSize===i.wordSize&&Array.isArray(o.words)},i.max=function(o,c){return o.cmp(c)>0?o:c},i.min=function(o,c){return o.cmp(c)<0?o:c},i.prototype._init=function(o,c,d){if(typeof o=="number")return this._initNumber(o,c,d);if(typeof o=="object")return this._initArray(o,c,d);c==="hex"&&(c=16),n(c===(c|0)&&c>=2&&c<=36),o=o.toString().replace(/\s+/g,"");var p=0;o[0]==="-"&&(p++,this.negative=1),p<o.length&&(c===16?this._parseHex(o,p,d):(this._parseBase(o,c,p),d==="le"&&this._initArray(this.toArray(),c,d)))},i.prototype._initNumber=function(o,c,d){o<0&&(this.negative=1,o=-o),o<67108864?(this.words=[o&67108863],this.length=1):o<4503599627370496?(this.words=[o&67108863,o/67108864&67108863],this.length=2):(n(o<9007199254740992),this.words=[o&67108863,o/67108864&67108863,1],this.length=3),d==="le"&&this._initArray(this.toArray(),c,d)},i.prototype._initArray=function(o,c,d){if(n(typeof o.length=="number"),o.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(o.length/3),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var w,A,$=0;if(d==="be")for(p=o.length-1,w=0;p>=0;p-=3)A=o[p]|o[p-1]<<8|o[p-2]<<16,this.words[w]|=A<<$&67108863,this.words[w+1]=A>>>26-$&67108863,$+=24,$>=26&&($-=26,w++);else if(d==="le")for(p=0,w=0;p<o.length;p+=3)A=o[p]|o[p+1]<<8|o[p+2]<<16,this.words[w]|=A<<$&67108863,this.words[w+1]=A>>>26-$&67108863,$+=24,$>=26&&($-=26,w++);return this.strip()};function v(E,o){var c=E.charCodeAt(o);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function x(E,o,c){var d=v(E,c);return c-1>=o&&(d|=v(E,c-1)<<4),d}i.prototype._parseHex=function(o,c,d){this.length=Math.ceil((o.length-c)/6),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var w=0,A=0,$;if(d==="be")for(p=o.length-1;p>=c;p-=2)$=x(o,c,p)<<w,this.words[A]|=$&67108863,w>=18?(w-=18,A+=1,this.words[A]|=$>>>26):w+=8;else{var b=o.length-c;for(p=b%2===0?c+1:c;p<o.length;p+=2)$=x(o,c,p)<<w,this.words[A]|=$&67108863,w>=18?(w-=18,A+=1,this.words[A]|=$>>>26):w+=8}this.strip()};function m(E,o,c,d){for(var p=0,w=Math.min(E.length,c),A=o;A<w;A++){var $=E.charCodeAt(A)-48;p*=d,$>=49?p+=$-49+10:$>=17?p+=$-17+10:p+=$}return p}i.prototype._parseBase=function(o,c,d){this.words=[0],this.length=1;for(var p=0,w=1;w<=67108863;w*=c)p++;p--,w=w/c|0;for(var A=o.length-d,$=A%p,b=Math.min(A,A-$)+d,u=0,_=d;_<b;_+=p)u=m(o,_,_+p,c),this.imuln(w),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if($!==0){var ee=1;for(u=m(o,_,o.length,c),_=0;_<$;_++)ee*=c;this.imuln(ee),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},i.prototype.copy=function(o){o.words=new Array(this.length);for(var c=0;c<this.length;c++)o.words[c]=this.words[c];o.length=this.length,o.negative=this.negative,o.red=this.red},i.prototype.clone=function(){var o=new i(null);return this.copy(o),o},i.prototype._expand=function(o){for(;this.length<o;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],S=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(o,c){o=o||10,c=c|0||1;var d;if(o===16||o==="hex"){d="";for(var p=0,w=0,A=0;A<this.length;A++){var $=this.words[A],b=(($<<p|w)&16777215).toString(16);w=$>>>24-p&16777215,w!==0||A!==this.length-1?d=h[6-b.length]+b+d:d=b+d,p+=2,p>=26&&(p-=26,A--)}for(w!==0&&(d=w.toString(16)+d);d.length%c!==0;)d="0"+d;return this.negative!==0&&(d="-"+d),d}if(o===(o|0)&&o>=2&&o<=36){var u=S[o],_=B[o];d="";var ee=this.clone();for(ee.negative=0;!ee.isZero();){var te=ee.modn(_).toString(o);ee=ee.idivn(_),ee.isZero()?d=te+d:d=h[u-te.length]+te+d}for(this.isZero()&&(d="0"+d);d.length%c!==0;)d="0"+d;return this.negative!==0&&(d="-"+d),d}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var o=this.words[0];return this.length===2?o+=this.words[1]*67108864:this.length===3&&this.words[2]===1?o+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-o:o},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(o,c){return n(typeof l<"u"),this.toArrayLike(l,o,c)},i.prototype.toArray=function(o,c){return this.toArrayLike(Array,o,c)},i.prototype.toArrayLike=function(o,c,d){var p=this.byteLength(),w=d||Math.max(1,p);n(p<=w,"byte array longer than desired length"),n(w>0,"Requested array length <= 0"),this.strip();var A=c==="le",$=new o(w),b,u,_=this.clone();if(A){for(u=0;!_.isZero();u++)b=_.andln(255),_.iushrn(8),$[u]=b;for(;u<w;u++)$[u]=0}else{for(u=0;u<w-p;u++)$[u]=0;for(u=0;!_.isZero();u++)b=_.andln(255),_.iushrn(8),$[w-u-1]=b}return $},Math.clz32?i.prototype._countBits=function(o){return 32-Math.clz32(o)}:i.prototype._countBits=function(o){var c=o,d=0;return c>=4096&&(d+=13,c>>>=13),c>=64&&(d+=7,c>>>=7),c>=8&&(d+=4,c>>>=4),c>=2&&(d+=2,c>>>=2),d+c},i.prototype._zeroBits=function(o){if(o===0)return 26;var c=o,d=0;return c&8191||(d+=13,c>>>=13),c&127||(d+=7,c>>>=7),c&15||(d+=4,c>>>=4),c&3||(d+=2,c>>>=2),c&1||d++,d},i.prototype.bitLength=function(){var o=this.words[this.length-1],c=this._countBits(o);return(this.length-1)*26+c};function z(E){for(var o=new Array(E.bitLength()),c=0;c<o.length;c++){var d=c/26|0,p=c%26;o[c]=(E.words[d]&1<<p)>>>p}return o}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var o=0,c=0;c<this.length;c++){var d=this._zeroBits(this.words[c]);if(o+=d,d!==26)break}return o},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(o){return this.negative!==0?this.abs().inotn(o).iaddn(1):this.clone()},i.prototype.fromTwos=function(o){return this.testn(o-1)?this.notn(o).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(o){for(;this.length<o.length;)this.words[this.length++]=0;for(var c=0;c<o.length;c++)this.words[c]=this.words[c]|o.words[c];return this.strip()},i.prototype.ior=function(o){return n((this.negative|o.negative)===0),this.iuor(o)},i.prototype.or=function(o){return this.length>o.length?this.clone().ior(o):o.clone().ior(this)},i.prototype.uor=function(o){return this.length>o.length?this.clone().iuor(o):o.clone().iuor(this)},i.prototype.iuand=function(o){var c;this.length>o.length?c=o:c=this;for(var d=0;d<c.length;d++)this.words[d]=this.words[d]&o.words[d];return this.length=c.length,this.strip()},i.prototype.iand=function(o){return n((this.negative|o.negative)===0),this.iuand(o)},i.prototype.and=function(o){return this.length>o.length?this.clone().iand(o):o.clone().iand(this)},i.prototype.uand=function(o){return this.length>o.length?this.clone().iuand(o):o.clone().iuand(this)},i.prototype.iuxor=function(o){var c,d;this.length>o.length?(c=this,d=o):(c=o,d=this);for(var p=0;p<d.length;p++)this.words[p]=c.words[p]^d.words[p];if(this!==c)for(;p<c.length;p++)this.words[p]=c.words[p];return this.length=c.length,this.strip()},i.prototype.ixor=function(o){return n((this.negative|o.negative)===0),this.iuxor(o)},i.prototype.xor=function(o){return this.length>o.length?this.clone().ixor(o):o.clone().ixor(this)},i.prototype.uxor=function(o){return this.length>o.length?this.clone().iuxor(o):o.clone().iuxor(this)},i.prototype.inotn=function(o){n(typeof o=="number"&&o>=0);var c=Math.ceil(o/26)|0,d=o%26;this._expand(c),d>0&&c--;for(var p=0;p<c;p++)this.words[p]=~this.words[p]&67108863;return d>0&&(this.words[p]=~this.words[p]&67108863>>26-d),this.strip()},i.prototype.notn=function(o){return this.clone().inotn(o)},i.prototype.setn=function(o,c){n(typeof o=="number"&&o>=0);var d=o/26|0,p=o%26;return this._expand(d+1),c?this.words[d]=this.words[d]|1<<p:this.words[d]=this.words[d]&~(1<<p),this.strip()},i.prototype.iadd=function(o){var c;if(this.negative!==0&&o.negative===0)return this.negative=0,c=this.isub(o),this.negative^=1,this._normSign();if(this.negative===0&&o.negative!==0)return o.negative=0,c=this.isub(o),o.negative=1,c._normSign();var d,p;this.length>o.length?(d=this,p=o):(d=o,p=this);for(var w=0,A=0;A<p.length;A++)c=(d.words[A]|0)+(p.words[A]|0)+w,this.words[A]=c&67108863,w=c>>>26;for(;w!==0&&A<d.length;A++)c=(d.words[A]|0)+w,this.words[A]=c&67108863,w=c>>>26;if(this.length=d.length,w!==0)this.words[this.length]=w,this.length++;else if(d!==this)for(;A<d.length;A++)this.words[A]=d.words[A];return this},i.prototype.add=function(o){var c;return o.negative!==0&&this.negative===0?(o.negative=0,c=this.sub(o),o.negative^=1,c):o.negative===0&&this.negative!==0?(this.negative=0,c=o.sub(this),this.negative=1,c):this.length>o.length?this.clone().iadd(o):o.clone().iadd(this)},i.prototype.isub=function(o){if(o.negative!==0){o.negative=0;var c=this.iadd(o);return o.negative=1,c._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(o),this.negative=1,this._normSign();var d=this.cmp(o);if(d===0)return this.negative=0,this.length=1,this.words[0]=0,this;var p,w;d>0?(p=this,w=o):(p=o,w=this);for(var A=0,$=0;$<w.length;$++)c=(p.words[$]|0)-(w.words[$]|0)+A,A=c>>26,this.words[$]=c&67108863;for(;A!==0&&$<p.length;$++)c=(p.words[$]|0)+A,A=c>>26,this.words[$]=c&67108863;if(A===0&&$<p.length&&p!==this)for(;$<p.length;$++)this.words[$]=p.words[$];return this.length=Math.max(this.length,$),p!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(o){return this.clone().isub(o)};function G(E,o,c){c.negative=o.negative^E.negative;var d=E.length+o.length|0;c.length=d,d=d-1|0;var p=E.words[0]|0,w=o.words[0]|0,A=p*w,$=A&67108863,b=A/67108864|0;c.words[0]=$;for(var u=1;u<d;u++){for(var _=b>>>26,ee=b&67108863,te=Math.min(u,o.length-1),L=Math.max(0,u-E.length+1);L<=te;L++){var ie=u-L|0;p=E.words[ie]|0,w=o.words[L]|0,A=p*w+ee,_+=A/67108864|0,ee=A&67108863}c.words[u]=ee|0,b=_|0}return b!==0?c.words[u]=b|0:c.length--,c.strip()}var Z=function(o,c,d){var p=o.words,w=c.words,A=d.words,$=0,b,u,_,ee=p[0]|0,te=ee&8191,L=ee>>>13,ie=p[1]|0,ye=ie&8191,be=ie>>>13,xe=p[2]|0,ge=xe&8191,y=xe>>>13,O=p[3]|0,T=O&8191,P=O>>>13,N=p[4]|0,I=N&8191,D=N>>>13,R=p[5]|0,F=R&8191,U=R>>>13,k=p[6]|0,J=k&8191,ne=k>>>13,ue=p[7]|0,fe=ue&8191,de=ue>>>13,_e=p[8]|0,he=_e&8191,le=_e>>>13,Te=p[9]|0,g=Te&8191,s=Te>>>13,f=w[0]|0,M=f&8191,C=f>>>13,j=w[1]|0,H=j&8191,re=j>>>13,Se=w[2]|0,me=Se&8191,we=Se>>>13,Me=w[3]|0,Be=Me&8191,Fe=Me>>>13,to=w[4]|0,Ie=to&8191,Ne=to>>>13,ro=w[5]|0,Pe=ro&8191,Le=ro>>>13,no=w[6]|0,Ue=no&8191,De=no>>>13,io=w[7]|0,je=io&8191,ke=io>>>13,oo=w[8]|0,qe=oo&8191,ze=oo>>>13,so=w[9]|0,He=so&8191,Ge=so>>>13;d.negative=o.negative^c.negative,d.length=19,b=Math.imul(te,M),u=Math.imul(te,C),u=u+Math.imul(L,M)|0,_=Math.imul(L,C);var vn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(vn>>>26)|0,vn&=67108863,b=Math.imul(ye,M),u=Math.imul(ye,C),u=u+Math.imul(be,M)|0,_=Math.imul(be,C),b=b+Math.imul(te,H)|0,u=u+Math.imul(te,re)|0,u=u+Math.imul(L,H)|0,_=_+Math.imul(L,re)|0;var bn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(bn>>>26)|0,bn&=67108863,b=Math.imul(ge,M),u=Math.imul(ge,C),u=u+Math.imul(y,M)|0,_=Math.imul(y,C),b=b+Math.imul(ye,H)|0,u=u+Math.imul(ye,re)|0,u=u+Math.imul(be,H)|0,_=_+Math.imul(be,re)|0,b=b+Math.imul(te,me)|0,u=u+Math.imul(te,we)|0,u=u+Math.imul(L,me)|0,_=_+Math.imul(L,we)|0;var xn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(xn>>>26)|0,xn&=67108863,b=Math.imul(T,M),u=Math.imul(T,C),u=u+Math.imul(P,M)|0,_=Math.imul(P,C),b=b+Math.imul(ge,H)|0,u=u+Math.imul(ge,re)|0,u=u+Math.imul(y,H)|0,_=_+Math.imul(y,re)|0,b=b+Math.imul(ye,me)|0,u=u+Math.imul(ye,we)|0,u=u+Math.imul(be,me)|0,_=_+Math.imul(be,we)|0,b=b+Math.imul(te,Be)|0,u=u+Math.imul(te,Fe)|0,u=u+Math.imul(L,Be)|0,_=_+Math.imul(L,Fe)|0;var Mn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,b=Math.imul(I,M),u=Math.imul(I,C),u=u+Math.imul(D,M)|0,_=Math.imul(D,C),b=b+Math.imul(T,H)|0,u=u+Math.imul(T,re)|0,u=u+Math.imul(P,H)|0,_=_+Math.imul(P,re)|0,b=b+Math.imul(ge,me)|0,u=u+Math.imul(ge,we)|0,u=u+Math.imul(y,me)|0,_=_+Math.imul(y,we)|0,b=b+Math.imul(ye,Be)|0,u=u+Math.imul(ye,Fe)|0,u=u+Math.imul(be,Be)|0,_=_+Math.imul(be,Fe)|0,b=b+Math.imul(te,Ie)|0,u=u+Math.imul(te,Ne)|0,u=u+Math.imul(L,Ie)|0,_=_+Math.imul(L,Ne)|0;var _n=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(_n>>>26)|0,_n&=67108863,b=Math.imul(F,M),u=Math.imul(F,C),u=u+Math.imul(U,M)|0,_=Math.imul(U,C),b=b+Math.imul(I,H)|0,u=u+Math.imul(I,re)|0,u=u+Math.imul(D,H)|0,_=_+Math.imul(D,re)|0,b=b+Math.imul(T,me)|0,u=u+Math.imul(T,we)|0,u=u+Math.imul(P,me)|0,_=_+Math.imul(P,we)|0,b=b+Math.imul(ge,Be)|0,u=u+Math.imul(ge,Fe)|0,u=u+Math.imul(y,Be)|0,_=_+Math.imul(y,Fe)|0,b=b+Math.imul(ye,Ie)|0,u=u+Math.imul(ye,Ne)|0,u=u+Math.imul(be,Ie)|0,_=_+Math.imul(be,Ne)|0,b=b+Math.imul(te,Pe)|0,u=u+Math.imul(te,Le)|0,u=u+Math.imul(L,Pe)|0,_=_+Math.imul(L,Le)|0;var En=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(En>>>26)|0,En&=67108863,b=Math.imul(J,M),u=Math.imul(J,C),u=u+Math.imul(ne,M)|0,_=Math.imul(ne,C),b=b+Math.imul(F,H)|0,u=u+Math.imul(F,re)|0,u=u+Math.imul(U,H)|0,_=_+Math.imul(U,re)|0,b=b+Math.imul(I,me)|0,u=u+Math.imul(I,we)|0,u=u+Math.imul(D,me)|0,_=_+Math.imul(D,we)|0,b=b+Math.imul(T,Be)|0,u=u+Math.imul(T,Fe)|0,u=u+Math.imul(P,Be)|0,_=_+Math.imul(P,Fe)|0,b=b+Math.imul(ge,Ie)|0,u=u+Math.imul(ge,Ne)|0,u=u+Math.imul(y,Ie)|0,_=_+Math.imul(y,Ne)|0,b=b+Math.imul(ye,Pe)|0,u=u+Math.imul(ye,Le)|0,u=u+Math.imul(be,Pe)|0,_=_+Math.imul(be,Le)|0,b=b+Math.imul(te,Ue)|0,u=u+Math.imul(te,De)|0,u=u+Math.imul(L,Ue)|0,_=_+Math.imul(L,De)|0;var Sn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,b=Math.imul(fe,M),u=Math.imul(fe,C),u=u+Math.imul(de,M)|0,_=Math.imul(de,C),b=b+Math.imul(J,H)|0,u=u+Math.imul(J,re)|0,u=u+Math.imul(ne,H)|0,_=_+Math.imul(ne,re)|0,b=b+Math.imul(F,me)|0,u=u+Math.imul(F,we)|0,u=u+Math.imul(U,me)|0,_=_+Math.imul(U,we)|0,b=b+Math.imul(I,Be)|0,u=u+Math.imul(I,Fe)|0,u=u+Math.imul(D,Be)|0,_=_+Math.imul(D,Fe)|0,b=b+Math.imul(T,Ie)|0,u=u+Math.imul(T,Ne)|0,u=u+Math.imul(P,Ie)|0,_=_+Math.imul(P,Ne)|0,b=b+Math.imul(ge,Pe)|0,u=u+Math.imul(ge,Le)|0,u=u+Math.imul(y,Pe)|0,_=_+Math.imul(y,Le)|0,b=b+Math.imul(ye,Ue)|0,u=u+Math.imul(ye,De)|0,u=u+Math.imul(be,Ue)|0,_=_+Math.imul(be,De)|0,b=b+Math.imul(te,je)|0,u=u+Math.imul(te,ke)|0,u=u+Math.imul(L,je)|0,_=_+Math.imul(L,ke)|0;var On=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(On>>>26)|0,On&=67108863,b=Math.imul(he,M),u=Math.imul(he,C),u=u+Math.imul(le,M)|0,_=Math.imul(le,C),b=b+Math.imul(fe,H)|0,u=u+Math.imul(fe,re)|0,u=u+Math.imul(de,H)|0,_=_+Math.imul(de,re)|0,b=b+Math.imul(J,me)|0,u=u+Math.imul(J,we)|0,u=u+Math.imul(ne,me)|0,_=_+Math.imul(ne,we)|0,b=b+Math.imul(F,Be)|0,u=u+Math.imul(F,Fe)|0,u=u+Math.imul(U,Be)|0,_=_+Math.imul(U,Fe)|0,b=b+Math.imul(I,Ie)|0,u=u+Math.imul(I,Ne)|0,u=u+Math.imul(D,Ie)|0,_=_+Math.imul(D,Ne)|0,b=b+Math.imul(T,Pe)|0,u=u+Math.imul(T,Le)|0,u=u+Math.imul(P,Pe)|0,_=_+Math.imul(P,Le)|0,b=b+Math.imul(ge,Ue)|0,u=u+Math.imul(ge,De)|0,u=u+Math.imul(y,Ue)|0,_=_+Math.imul(y,De)|0,b=b+Math.imul(ye,je)|0,u=u+Math.imul(ye,ke)|0,u=u+Math.imul(be,je)|0,_=_+Math.imul(be,ke)|0,b=b+Math.imul(te,qe)|0,u=u+Math.imul(te,ze)|0,u=u+Math.imul(L,qe)|0,_=_+Math.imul(L,ze)|0;var An=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(An>>>26)|0,An&=67108863,b=Math.imul(g,M),u=Math.imul(g,C),u=u+Math.imul(s,M)|0,_=Math.imul(s,C),b=b+Math.imul(he,H)|0,u=u+Math.imul(he,re)|0,u=u+Math.imul(le,H)|0,_=_+Math.imul(le,re)|0,b=b+Math.imul(fe,me)|0,u=u+Math.imul(fe,we)|0,u=u+Math.imul(de,me)|0,_=_+Math.imul(de,we)|0,b=b+Math.imul(J,Be)|0,u=u+Math.imul(J,Fe)|0,u=u+Math.imul(ne,Be)|0,_=_+Math.imul(ne,Fe)|0,b=b+Math.imul(F,Ie)|0,u=u+Math.imul(F,Ne)|0,u=u+Math.imul(U,Ie)|0,_=_+Math.imul(U,Ne)|0,b=b+Math.imul(I,Pe)|0,u=u+Math.imul(I,Le)|0,u=u+Math.imul(D,Pe)|0,_=_+Math.imul(D,Le)|0,b=b+Math.imul(T,Ue)|0,u=u+Math.imul(T,De)|0,u=u+Math.imul(P,Ue)|0,_=_+Math.imul(P,De)|0,b=b+Math.imul(ge,je)|0,u=u+Math.imul(ge,ke)|0,u=u+Math.imul(y,je)|0,_=_+Math.imul(y,ke)|0,b=b+Math.imul(ye,qe)|0,u=u+Math.imul(ye,ze)|0,u=u+Math.imul(be,qe)|0,_=_+Math.imul(be,ze)|0,b=b+Math.imul(te,He)|0,u=u+Math.imul(te,Ge)|0,u=u+Math.imul(L,He)|0,_=_+Math.imul(L,Ge)|0;var Tn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,b=Math.imul(g,H),u=Math.imul(g,re),u=u+Math.imul(s,H)|0,_=Math.imul(s,re),b=b+Math.imul(he,me)|0,u=u+Math.imul(he,we)|0,u=u+Math.imul(le,me)|0,_=_+Math.imul(le,we)|0,b=b+Math.imul(fe,Be)|0,u=u+Math.imul(fe,Fe)|0,u=u+Math.imul(de,Be)|0,_=_+Math.imul(de,Fe)|0,b=b+Math.imul(J,Ie)|0,u=u+Math.imul(J,Ne)|0,u=u+Math.imul(ne,Ie)|0,_=_+Math.imul(ne,Ne)|0,b=b+Math.imul(F,Pe)|0,u=u+Math.imul(F,Le)|0,u=u+Math.imul(U,Pe)|0,_=_+Math.imul(U,Le)|0,b=b+Math.imul(I,Ue)|0,u=u+Math.imul(I,De)|0,u=u+Math.imul(D,Ue)|0,_=_+Math.imul(D,De)|0,b=b+Math.imul(T,je)|0,u=u+Math.imul(T,ke)|0,u=u+Math.imul(P,je)|0,_=_+Math.imul(P,ke)|0,b=b+Math.imul(ge,qe)|0,u=u+Math.imul(ge,ze)|0,u=u+Math.imul(y,qe)|0,_=_+Math.imul(y,ze)|0,b=b+Math.imul(ye,He)|0,u=u+Math.imul(ye,Ge)|0,u=u+Math.imul(be,He)|0,_=_+Math.imul(be,Ge)|0;var $n=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+($n>>>26)|0,$n&=67108863,b=Math.imul(g,me),u=Math.imul(g,we),u=u+Math.imul(s,me)|0,_=Math.imul(s,we),b=b+Math.imul(he,Be)|0,u=u+Math.imul(he,Fe)|0,u=u+Math.imul(le,Be)|0,_=_+Math.imul(le,Fe)|0,b=b+Math.imul(fe,Ie)|0,u=u+Math.imul(fe,Ne)|0,u=u+Math.imul(de,Ie)|0,_=_+Math.imul(de,Ne)|0,b=b+Math.imul(J,Pe)|0,u=u+Math.imul(J,Le)|0,u=u+Math.imul(ne,Pe)|0,_=_+Math.imul(ne,Le)|0,b=b+Math.imul(F,Ue)|0,u=u+Math.imul(F,De)|0,u=u+Math.imul(U,Ue)|0,_=_+Math.imul(U,De)|0,b=b+Math.imul(I,je)|0,u=u+Math.imul(I,ke)|0,u=u+Math.imul(D,je)|0,_=_+Math.imul(D,ke)|0,b=b+Math.imul(T,qe)|0,u=u+Math.imul(T,ze)|0,u=u+Math.imul(P,qe)|0,_=_+Math.imul(P,ze)|0,b=b+Math.imul(ge,He)|0,u=u+Math.imul(ge,Ge)|0,u=u+Math.imul(y,He)|0,_=_+Math.imul(y,Ge)|0;var Cn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,b=Math.imul(g,Be),u=Math.imul(g,Fe),u=u+Math.imul(s,Be)|0,_=Math.imul(s,Fe),b=b+Math.imul(he,Ie)|0,u=u+Math.imul(he,Ne)|0,u=u+Math.imul(le,Ie)|0,_=_+Math.imul(le,Ne)|0,b=b+Math.imul(fe,Pe)|0,u=u+Math.imul(fe,Le)|0,u=u+Math.imul(de,Pe)|0,_=_+Math.imul(de,Le)|0,b=b+Math.imul(J,Ue)|0,u=u+Math.imul(J,De)|0,u=u+Math.imul(ne,Ue)|0,_=_+Math.imul(ne,De)|0,b=b+Math.imul(F,je)|0,u=u+Math.imul(F,ke)|0,u=u+Math.imul(U,je)|0,_=_+Math.imul(U,ke)|0,b=b+Math.imul(I,qe)|0,u=u+Math.imul(I,ze)|0,u=u+Math.imul(D,qe)|0,_=_+Math.imul(D,ze)|0,b=b+Math.imul(T,He)|0,u=u+Math.imul(T,Ge)|0,u=u+Math.imul(P,He)|0,_=_+Math.imul(P,Ge)|0;var Rn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Rn>>>26)|0,Rn&=67108863,b=Math.imul(g,Ie),u=Math.imul(g,Ne),u=u+Math.imul(s,Ie)|0,_=Math.imul(s,Ne),b=b+Math.imul(he,Pe)|0,u=u+Math.imul(he,Le)|0,u=u+Math.imul(le,Pe)|0,_=_+Math.imul(le,Le)|0,b=b+Math.imul(fe,Ue)|0,u=u+Math.imul(fe,De)|0,u=u+Math.imul(de,Ue)|0,_=_+Math.imul(de,De)|0,b=b+Math.imul(J,je)|0,u=u+Math.imul(J,ke)|0,u=u+Math.imul(ne,je)|0,_=_+Math.imul(ne,ke)|0,b=b+Math.imul(F,qe)|0,u=u+Math.imul(F,ze)|0,u=u+Math.imul(U,qe)|0,_=_+Math.imul(U,ze)|0,b=b+Math.imul(I,He)|0,u=u+Math.imul(I,Ge)|0,u=u+Math.imul(D,He)|0,_=_+Math.imul(D,Ge)|0;var Bn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,b=Math.imul(g,Pe),u=Math.imul(g,Le),u=u+Math.imul(s,Pe)|0,_=Math.imul(s,Le),b=b+Math.imul(he,Ue)|0,u=u+Math.imul(he,De)|0,u=u+Math.imul(le,Ue)|0,_=_+Math.imul(le,De)|0,b=b+Math.imul(fe,je)|0,u=u+Math.imul(fe,ke)|0,u=u+Math.imul(de,je)|0,_=_+Math.imul(de,ke)|0,b=b+Math.imul(J,qe)|0,u=u+Math.imul(J,ze)|0,u=u+Math.imul(ne,qe)|0,_=_+Math.imul(ne,ze)|0,b=b+Math.imul(F,He)|0,u=u+Math.imul(F,Ge)|0,u=u+Math.imul(U,He)|0,_=_+Math.imul(U,Ge)|0;var Fn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,b=Math.imul(g,Ue),u=Math.imul(g,De),u=u+Math.imul(s,Ue)|0,_=Math.imul(s,De),b=b+Math.imul(he,je)|0,u=u+Math.imul(he,ke)|0,u=u+Math.imul(le,je)|0,_=_+Math.imul(le,ke)|0,b=b+Math.imul(fe,qe)|0,u=u+Math.imul(fe,ze)|0,u=u+Math.imul(de,qe)|0,_=_+Math.imul(de,ze)|0,b=b+Math.imul(J,He)|0,u=u+Math.imul(J,Ge)|0,u=u+Math.imul(ne,He)|0,_=_+Math.imul(ne,Ge)|0;var In=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(In>>>26)|0,In&=67108863,b=Math.imul(g,je),u=Math.imul(g,ke),u=u+Math.imul(s,je)|0,_=Math.imul(s,ke),b=b+Math.imul(he,qe)|0,u=u+Math.imul(he,ze)|0,u=u+Math.imul(le,qe)|0,_=_+Math.imul(le,ze)|0,b=b+Math.imul(fe,He)|0,u=u+Math.imul(fe,Ge)|0,u=u+Math.imul(de,He)|0,_=_+Math.imul(de,Ge)|0;var Nn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,b=Math.imul(g,qe),u=Math.imul(g,ze),u=u+Math.imul(s,qe)|0,_=Math.imul(s,ze),b=b+Math.imul(he,He)|0,u=u+Math.imul(he,Ge)|0,u=u+Math.imul(le,He)|0,_=_+Math.imul(le,Ge)|0;var Pn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,b=Math.imul(g,He),u=Math.imul(g,Ge),u=u+Math.imul(s,He)|0,_=Math.imul(s,Ge);var Ln=($+b|0)+((u&8191)<<13)|0;return $=(_+(u>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,A[0]=vn,A[1]=bn,A[2]=xn,A[3]=Mn,A[4]=_n,A[5]=En,A[6]=Sn,A[7]=On,A[8]=An,A[9]=Tn,A[10]=$n,A[11]=Cn,A[12]=Rn,A[13]=Bn,A[14]=Fn,A[15]=In,A[16]=Nn,A[17]=Pn,A[18]=Ln,$!==0&&(A[19]=$,d.length++),d};Math.imul||(Z=G);function q(E,o,c){c.negative=o.negative^E.negative,c.length=E.length+o.length;for(var d=0,p=0,w=0;w<c.length-1;w++){var A=p;p=0;for(var $=d&67108863,b=Math.min(w,o.length-1),u=Math.max(0,w-E.length+1);u<=b;u++){var _=w-u,ee=E.words[_]|0,te=o.words[u]|0,L=ee*te,ie=L&67108863;A=A+(L/67108864|0)|0,ie=ie+$|0,$=ie&67108863,A=A+(ie>>>26)|0,p+=A>>>26,A&=67108863}c.words[w]=$,d=A,A=p}return d!==0?c.words[w]=d:c.length--,c.strip()}function Q(E,o,c){var d=new X;return d.mulp(E,o,c)}i.prototype.mulTo=function(o,c){var d,p=this.length+o.length;return this.length===10&&o.length===10?d=Z(this,o,c):p<63?d=G(this,o,c):p<1024?d=q(this,o,c):d=Q(this,o,c),d};function X(E,o){this.x=E,this.y=o}X.prototype.makeRBT=function(o){for(var c=new Array(o),d=i.prototype._countBits(o)-1,p=0;p<o;p++)c[p]=this.revBin(p,d,o);return c},X.prototype.revBin=function(o,c,d){if(o===0||o===d-1)return o;for(var p=0,w=0;w<c;w++)p|=(o&1)<<c-w-1,o>>=1;return p},X.prototype.permute=function(o,c,d,p,w,A){for(var $=0;$<A;$++)p[$]=c[o[$]],w[$]=d[o[$]]},X.prototype.transform=function(o,c,d,p,w,A){this.permute(A,o,c,d,p,w);for(var $=1;$<w;$<<=1)for(var b=$<<1,u=Math.cos(2*Math.PI/b),_=Math.sin(2*Math.PI/b),ee=0;ee<w;ee+=b)for(var te=u,L=_,ie=0;ie<$;ie++){var ye=d[ee+ie],be=p[ee+ie],xe=d[ee+ie+$],ge=p[ee+ie+$],y=te*xe-L*ge;ge=te*ge+L*xe,xe=y,d[ee+ie]=ye+xe,p[ee+ie]=be+ge,d[ee+ie+$]=ye-xe,p[ee+ie+$]=be-ge,ie!==b&&(y=u*te-_*L,L=u*L+_*te,te=y)}},X.prototype.guessLen13b=function(o,c){var d=Math.max(c,o)|1,p=d&1,w=0;for(d=d/2|0;d;d=d>>>1)w++;return 1<<w+1+p},X.prototype.conjugate=function(o,c,d){if(!(d<=1))for(var p=0;p<d/2;p++){var w=o[p];o[p]=o[d-p-1],o[d-p-1]=w,w=c[p],c[p]=-c[d-p-1],c[d-p-1]=-w}},X.prototype.normalize13b=function(o,c){for(var d=0,p=0;p<c/2;p++){var w=Math.round(o[2*p+1]/c)*8192+Math.round(o[2*p]/c)+d;o[p]=w&67108863,w<67108864?d=0:d=w/67108864|0}return o},X.prototype.convert13b=function(o,c,d,p){for(var w=0,A=0;A<c;A++)w=w+(o[A]|0),d[2*A]=w&8191,w=w>>>13,d[2*A+1]=w&8191,w=w>>>13;for(A=2*c;A<p;++A)d[A]=0;n(w===0),n((w&-8192)===0)},X.prototype.stub=function(o){for(var c=new Array(o),d=0;d<o;d++)c[d]=0;return c},X.prototype.mulp=function(o,c,d){var p=2*this.guessLen13b(o.length,c.length),w=this.makeRBT(p),A=this.stub(p),$=new Array(p),b=new Array(p),u=new Array(p),_=new Array(p),ee=new Array(p),te=new Array(p),L=d.words;L.length=p,this.convert13b(o.words,o.length,$,p),this.convert13b(c.words,c.length,_,p),this.transform($,A,b,u,p,w),this.transform(_,A,ee,te,p,w);for(var ie=0;ie<p;ie++){var ye=b[ie]*ee[ie]-u[ie]*te[ie];u[ie]=b[ie]*te[ie]+u[ie]*ee[ie],b[ie]=ye}return this.conjugate(b,u,p),this.transform(b,u,L,A,p,w),this.conjugate(L,A,p),this.normalize13b(L,p),d.negative=o.negative^c.negative,d.length=o.length+c.length,d.strip()},i.prototype.mul=function(o){var c=new i(null);return c.words=new Array(this.length+o.length),this.mulTo(o,c)},i.prototype.mulf=function(o){var c=new i(null);return c.words=new Array(this.length+o.length),Q(this,o,c)},i.prototype.imul=function(o){return this.clone().mulTo(o,this)},i.prototype.imuln=function(o){n(typeof o=="number"),n(o<67108864);for(var c=0,d=0;d<this.length;d++){var p=(this.words[d]|0)*o,w=(p&67108863)+(c&67108863);c>>=26,c+=p/67108864|0,c+=w>>>26,this.words[d]=w&67108863}return c!==0&&(this.words[d]=c,this.length++),this},i.prototype.muln=function(o){return this.clone().imuln(o)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(o){var c=z(o);if(c.length===0)return new i(1);for(var d=this,p=0;p<c.length&&c[p]===0;p++,d=d.sqr());if(++p<c.length)for(var w=d.sqr();p<c.length;p++,w=w.sqr())c[p]!==0&&(d=d.mul(w));return d},i.prototype.iushln=function(o){n(typeof o=="number"&&o>=0);var c=o%26,d=(o-c)/26,p=67108863>>>26-c<<26-c,w;if(c!==0){var A=0;for(w=0;w<this.length;w++){var $=this.words[w]&p,b=(this.words[w]|0)-$<<c;this.words[w]=b|A,A=$>>>26-c}A&&(this.words[w]=A,this.length++)}if(d!==0){for(w=this.length-1;w>=0;w--)this.words[w+d]=this.words[w];for(w=0;w<d;w++)this.words[w]=0;this.length+=d}return this.strip()},i.prototype.ishln=function(o){return n(this.negative===0),this.iushln(o)},i.prototype.iushrn=function(o,c,d){n(typeof o=="number"&&o>=0);var p;c?p=(c-c%26)/26:p=0;var w=o%26,A=Math.min((o-w)/26,this.length),$=67108863^67108863>>>w<<w,b=d;if(p-=A,p=Math.max(0,p),b){for(var u=0;u<A;u++)b.words[u]=this.words[u];b.length=A}if(A!==0)if(this.length>A)for(this.length-=A,u=0;u<this.length;u++)this.words[u]=this.words[u+A];else this.words[0]=0,this.length=1;var _=0;for(u=this.length-1;u>=0&&(_!==0||u>=p);u--){var ee=this.words[u]|0;this.words[u]=_<<26-w|ee>>>w,_=ee&$}return b&&_!==0&&(b.words[b.length++]=_),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(o,c,d){return n(this.negative===0),this.iushrn(o,c,d)},i.prototype.shln=function(o){return this.clone().ishln(o)},i.prototype.ushln=function(o){return this.clone().iushln(o)},i.prototype.shrn=function(o){return this.clone().ishrn(o)},i.prototype.ushrn=function(o){return this.clone().iushrn(o)},i.prototype.testn=function(o){n(typeof o=="number"&&o>=0);var c=o%26,d=(o-c)/26,p=1<<c;if(this.length<=d)return!1;var w=this.words[d];return!!(w&p)},i.prototype.imaskn=function(o){n(typeof o=="number"&&o>=0);var c=o%26,d=(o-c)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=d)return this;if(c!==0&&d++,this.length=Math.min(d,this.length),c!==0){var p=67108863^67108863>>>c<<c;this.words[this.length-1]&=p}return this.strip()},i.prototype.maskn=function(o){return this.clone().imaskn(o)},i.prototype.iaddn=function(o){return n(typeof o=="number"),n(o<67108864),o<0?this.isubn(-o):this.negative!==0?this.length===1&&(this.words[0]|0)<o?(this.words[0]=o-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(o),this.negative=1,this):this._iaddn(o)},i.prototype._iaddn=function(o){this.words[0]+=o;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},i.prototype.isubn=function(o){if(n(typeof o=="number"),n(o<67108864),o<0)return this.iaddn(-o);if(this.negative!==0)return this.negative=0,this.iaddn(o),this.negative=1,this;if(this.words[0]-=o,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this.strip()},i.prototype.addn=function(o){return this.clone().iaddn(o)},i.prototype.subn=function(o){return this.clone().isubn(o)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(o,c,d){var p=o.length+d,w;this._expand(p);var A,$=0;for(w=0;w<o.length;w++){A=(this.words[w+d]|0)+$;var b=(o.words[w]|0)*c;A-=b&67108863,$=(A>>26)-(b/67108864|0),this.words[w+d]=A&67108863}for(;w<this.length-d;w++)A=(this.words[w+d]|0)+$,$=A>>26,this.words[w+d]=A&67108863;if($===0)return this.strip();for(n($===-1),$=0,w=0;w<this.length;w++)A=-(this.words[w]|0)+$,$=A>>26,this.words[w]=A&67108863;return this.negative=1,this.strip()},i.prototype._wordDiv=function(o,c){var d=this.length-o.length,p=this.clone(),w=o,A=w.words[w.length-1]|0,$=this._countBits(A);d=26-$,d!==0&&(w=w.ushln(d),p.iushln(d),A=w.words[w.length-1]|0);var b=p.length-w.length,u;if(c!=="mod"){u=new i(null),u.length=b+1,u.words=new Array(u.length);for(var _=0;_<u.length;_++)u.words[_]=0}var ee=p.clone()._ishlnsubmul(w,1,b);ee.negative===0&&(p=ee,u&&(u.words[b]=1));for(var te=b-1;te>=0;te--){var L=(p.words[w.length+te]|0)*67108864+(p.words[w.length+te-1]|0);for(L=Math.min(L/A|0,67108863),p._ishlnsubmul(w,L,te);p.negative!==0;)L--,p.negative=0,p._ishlnsubmul(w,1,te),p.isZero()||(p.negative^=1);u&&(u.words[te]=L)}return u&&u.strip(),p.strip(),c!=="div"&&d!==0&&p.iushrn(d),{div:u||null,mod:p}},i.prototype.divmod=function(o,c,d){if(n(!o.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var p,w,A;return this.negative!==0&&o.negative===0?(A=this.neg().divmod(o,c),c!=="mod"&&(p=A.div.neg()),c!=="div"&&(w=A.mod.neg(),d&&w.negative!==0&&w.iadd(o)),{div:p,mod:w}):this.negative===0&&o.negative!==0?(A=this.divmod(o.neg(),c),c!=="mod"&&(p=A.div.neg()),{div:p,mod:A.mod}):this.negative&o.negative?(A=this.neg().divmod(o.neg(),c),c!=="div"&&(w=A.mod.neg(),d&&w.negative!==0&&w.isub(o)),{div:A.div,mod:w}):o.length>this.length||this.cmp(o)<0?{div:new i(0),mod:this}:o.length===1?c==="div"?{div:this.divn(o.words[0]),mod:null}:c==="mod"?{div:null,mod:new i(this.modn(o.words[0]))}:{div:this.divn(o.words[0]),mod:new i(this.modn(o.words[0]))}:this._wordDiv(o,c)},i.prototype.div=function(o){return this.divmod(o,"div",!1).div},i.prototype.mod=function(o){return this.divmod(o,"mod",!1).mod},i.prototype.umod=function(o){return this.divmod(o,"mod",!0).mod},i.prototype.divRound=function(o){var c=this.divmod(o);if(c.mod.isZero())return c.div;var d=c.div.negative!==0?c.mod.isub(o):c.mod,p=o.ushrn(1),w=o.andln(1),A=d.cmp(p);return A<0||w===1&&A===0?c.div:c.div.negative!==0?c.div.isubn(1):c.div.iaddn(1)},i.prototype.modn=function(o){n(o<=67108863);for(var c=(1<<26)%o,d=0,p=this.length-1;p>=0;p--)d=(c*d+(this.words[p]|0))%o;return d},i.prototype.idivn=function(o){n(o<=67108863);for(var c=0,d=this.length-1;d>=0;d--){var p=(this.words[d]|0)+c*67108864;this.words[d]=p/o|0,c=p%o}return this.strip()},i.prototype.divn=function(o){return this.clone().idivn(o)},i.prototype.egcd=function(o){n(o.negative===0),n(!o.isZero());var c=this,d=o.clone();c.negative!==0?c=c.umod(o):c=c.clone();for(var p=new i(1),w=new i(0),A=new i(0),$=new i(1),b=0;c.isEven()&&d.isEven();)c.iushrn(1),d.iushrn(1),++b;for(var u=d.clone(),_=c.clone();!c.isZero();){for(var ee=0,te=1;!(c.words[0]&te)&&ee<26;++ee,te<<=1);if(ee>0)for(c.iushrn(ee);ee-- >0;)(p.isOdd()||w.isOdd())&&(p.iadd(u),w.isub(_)),p.iushrn(1),w.iushrn(1);for(var L=0,ie=1;!(d.words[0]&ie)&&L<26;++L,ie<<=1);if(L>0)for(d.iushrn(L);L-- >0;)(A.isOdd()||$.isOdd())&&(A.iadd(u),$.isub(_)),A.iushrn(1),$.iushrn(1);c.cmp(d)>=0?(c.isub(d),p.isub(A),w.isub($)):(d.isub(c),A.isub(p),$.isub(w))}return{a:A,b:$,gcd:d.iushln(b)}},i.prototype._invmp=function(o){n(o.negative===0),n(!o.isZero());var c=this,d=o.clone();c.negative!==0?c=c.umod(o):c=c.clone();for(var p=new i(1),w=new i(0),A=d.clone();c.cmpn(1)>0&&d.cmpn(1)>0;){for(var $=0,b=1;!(c.words[0]&b)&&$<26;++$,b<<=1);if($>0)for(c.iushrn($);$-- >0;)p.isOdd()&&p.iadd(A),p.iushrn(1);for(var u=0,_=1;!(d.words[0]&_)&&u<26;++u,_<<=1);if(u>0)for(d.iushrn(u);u-- >0;)w.isOdd()&&w.iadd(A),w.iushrn(1);c.cmp(d)>=0?(c.isub(d),p.isub(w)):(d.isub(c),w.isub(p))}var ee;return c.cmpn(1)===0?ee=p:ee=w,ee.cmpn(0)<0&&ee.iadd(o),ee},i.prototype.gcd=function(o){if(this.isZero())return o.abs();if(o.isZero())return this.abs();var c=this.clone(),d=o.clone();c.negative=0,d.negative=0;for(var p=0;c.isEven()&&d.isEven();p++)c.iushrn(1),d.iushrn(1);do{for(;c.isEven();)c.iushrn(1);for(;d.isEven();)d.iushrn(1);var w=c.cmp(d);if(w<0){var A=c;c=d,d=A}else if(w===0||d.cmpn(1)===0)break;c.isub(d)}while(!0);return d.iushln(p)},i.prototype.invm=function(o){return this.egcd(o).a.umod(o)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(o){return this.words[0]&o},i.prototype.bincn=function(o){n(typeof o=="number");var c=o%26,d=(o-c)/26,p=1<<c;if(this.length<=d)return this._expand(d+1),this.words[d]|=p,this;for(var w=p,A=d;w!==0&&A<this.length;A++){var $=this.words[A]|0;$+=w,w=$>>>26,$&=67108863,this.words[A]=$}return w!==0&&(this.words[A]=w,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(o){var c=o<0;if(this.negative!==0&&!c)return-1;if(this.negative===0&&c)return 1;this.strip();var d;if(this.length>1)d=1;else{c&&(o=-o),n(o<=67108863,"Number is too big");var p=this.words[0]|0;d=p===o?0:p<o?-1:1}return this.negative!==0?-d|0:d},i.prototype.cmp=function(o){if(this.negative!==0&&o.negative===0)return-1;if(this.negative===0&&o.negative!==0)return 1;var c=this.ucmp(o);return this.negative!==0?-c|0:c},i.prototype.ucmp=function(o){if(this.length>o.length)return 1;if(this.length<o.length)return-1;for(var c=0,d=this.length-1;d>=0;d--){var p=this.words[d]|0,w=o.words[d]|0;if(p!==w){p<w?c=-1:p>w&&(c=1);break}}return c},i.prototype.gtn=function(o){return this.cmpn(o)===1},i.prototype.gt=function(o){return this.cmp(o)===1},i.prototype.gten=function(o){return this.cmpn(o)>=0},i.prototype.gte=function(o){return this.cmp(o)>=0},i.prototype.ltn=function(o){return this.cmpn(o)===-1},i.prototype.lt=function(o){return this.cmp(o)===-1},i.prototype.lten=function(o){return this.cmpn(o)<=0},i.prototype.lte=function(o){return this.cmp(o)<=0},i.prototype.eqn=function(o){return this.cmpn(o)===0},i.prototype.eq=function(o){return this.cmp(o)===0},i.red=function(o){return new se(o)},i.prototype.toRed=function(o){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),o.convertTo(this)._forceRed(o)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(o){return this.red=o,this},i.prototype.forceRed=function(o){return n(!this.red,"Already a number in reduction context"),this._forceRed(o)},i.prototype.redAdd=function(o){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,o)},i.prototype.redIAdd=function(o){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,o)},i.prototype.redSub=function(o){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,o)},i.prototype.redISub=function(o){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,o)},i.prototype.redShl=function(o){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,o)},i.prototype.redMul=function(o){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.mul(this,o)},i.prototype.redIMul=function(o){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.imul(this,o)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(o){return n(this.red&&!o.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,o)};var pe={k256:null,p224:null,p192:null,p25519:null};function ce(E,o){this.name=E,this.p=new i(o,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}ce.prototype._tmp=function(){var o=new i(null);return o.words=new Array(Math.ceil(this.n/13)),o},ce.prototype.ireduce=function(o){var c=o,d;do this.split(c,this.tmp),c=this.imulK(c),c=c.iadd(this.tmp),d=c.bitLength();while(d>this.n);var p=d<this.n?-1:c.ucmp(this.p);return p===0?(c.words[0]=0,c.length=1):p>0?c.isub(this.p):c.strip!==void 0?c.strip():c._strip(),c},ce.prototype.split=function(o,c){o.iushrn(this.n,0,c)},ce.prototype.imulK=function(o){return o.imul(this.k)};function oe(){ce.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(oe,ce),oe.prototype.split=function(o,c){for(var d=4194303,p=Math.min(o.length,9),w=0;w<p;w++)c.words[w]=o.words[w];if(c.length=p,o.length<=9){o.words[0]=0,o.length=1;return}var A=o.words[9];for(c.words[c.length++]=A&d,w=10;w<o.length;w++){var $=o.words[w]|0;o.words[w-10]=($&d)<<4|A>>>22,A=$}A>>>=22,o.words[w-10]=A,A===0&&o.length>10?o.length-=10:o.length-=9},oe.prototype.imulK=function(o){o.words[o.length]=0,o.words[o.length+1]=0,o.length+=2;for(var c=0,d=0;d<o.length;d++){var p=o.words[d]|0;c+=p*977,o.words[d]=c&67108863,c=p*64+(c/67108864|0)}return o.words[o.length-1]===0&&(o.length--,o.words[o.length-1]===0&&o.length--),o};function V(){ce.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(V,ce);function K(){ce.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(K,ce);function ae(){ce.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(ae,ce),ae.prototype.imulK=function(o){for(var c=0,d=0;d<o.length;d++){var p=(o.words[d]|0)*19+c,w=p&67108863;p>>>=26,o.words[d]=w,c=p}return c!==0&&(o.words[o.length++]=c),o},i._prime=function(o){if(pe[o])return pe[o];var c;if(o==="k256")c=new oe;else if(o==="p224")c=new V;else if(o==="p192")c=new K;else if(o==="p25519")c=new ae;else throw new Error("Unknown prime "+o);return pe[o]=c,c};function se(E){if(typeof E=="string"){var o=i._prime(E);this.m=o.p,this.prime=o}else n(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}se.prototype._verify1=function(o){n(o.negative===0,"red works only with positives"),n(o.red,"red works only with red numbers")},se.prototype._verify2=function(o,c){n((o.negative|c.negative)===0,"red works only with positives"),n(o.red&&o.red===c.red,"red works only with red numbers")},se.prototype.imod=function(o){return this.prime?this.prime.ireduce(o)._forceRed(this):o.umod(this.m)._forceRed(this)},se.prototype.neg=function(o){return o.isZero()?o.clone():this.m.sub(o)._forceRed(this)},se.prototype.add=function(o,c){this._verify2(o,c);var d=o.add(c);return d.cmp(this.m)>=0&&d.isub(this.m),d._forceRed(this)},se.prototype.iadd=function(o,c){this._verify2(o,c);var d=o.iadd(c);return d.cmp(this.m)>=0&&d.isub(this.m),d},se.prototype.sub=function(o,c){this._verify2(o,c);var d=o.sub(c);return d.cmpn(0)<0&&d.iadd(this.m),d._forceRed(this)},se.prototype.isub=function(o,c){this._verify2(o,c);var d=o.isub(c);return d.cmpn(0)<0&&d.iadd(this.m),d},se.prototype.shl=function(o,c){return this._verify1(o),this.imod(o.ushln(c))},se.prototype.imul=function(o,c){return this._verify2(o,c),this.imod(o.imul(c))},se.prototype.mul=function(o,c){return this._verify2(o,c),this.imod(o.mul(c))},se.prototype.isqr=function(o){return this.imul(o,o.clone())},se.prototype.sqr=function(o){return this.mul(o,o)},se.prototype.sqrt=function(o){if(o.isZero())return o.clone();var c=this.m.andln(3);if(n(c%2===1),c===3){var d=this.m.add(new i(1)).iushrn(2);return this.pow(o,d)}for(var p=this.m.subn(1),w=0;!p.isZero()&&p.andln(1)===0;)w++,p.iushrn(1);n(!p.isZero());var A=new i(1).toRed(this),$=A.redNeg(),b=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new i(2*u*u).toRed(this);this.pow(u,b).cmp($)!==0;)u.redIAdd($);for(var _=this.pow(u,p),ee=this.pow(o,p.addn(1).iushrn(1)),te=this.pow(o,p),L=w;te.cmp(A)!==0;){for(var ie=te,ye=0;ie.cmp(A)!==0;ye++)ie=ie.redSqr();n(ye<L);var be=this.pow(_,new i(1).iushln(L-ye-1));ee=ee.redMul(be),_=be.redSqr(),te=te.redMul(_),L=ye}return ee},se.prototype.invm=function(o){var c=o._invmp(this.m);return c.negative!==0?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},se.prototype.pow=function(o,c){if(c.isZero())return new i(1).toRed(this);if(c.cmpn(1)===0)return o.clone();var d=4,p=new Array(1<<d);p[0]=new i(1).toRed(this),p[1]=o;for(var w=2;w<p.length;w++)p[w]=this.mul(p[w-1],o);var A=p[0],$=0,b=0,u=c.bitLength()%26;for(u===0&&(u=26),w=c.length-1;w>=0;w--){for(var _=c.words[w],ee=u-1;ee>=0;ee--){var te=_>>ee&1;if(A!==p[0]&&(A=this.sqr(A)),te===0&&$===0){b=0;continue}$<<=1,$|=te,b++,!(b!==d&&(w!==0||ee!==0))&&(A=this.mul(A,p[$]),b=0,$=0)}u=26}return A},se.prototype.convertTo=function(o){var c=o.umod(this.m);return c===o?c.clone():c},se.prototype.convertFrom=function(o){var c=o.clone();return c.red=null,c},i.mont=function(o){return new Y(o)};function Y(E){se.call(this,E),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(Y,se),Y.prototype.convertTo=function(o){return this.imod(o.ushln(this.shift))},Y.prototype.convertFrom=function(o){var c=this.imod(o.mul(this.rinv));return c.red=null,c},Y.prototype.imul=function(o,c){if(o.isZero()||c.isZero())return o.words[0]=0,o.length=1,o;var d=o.imul(c),p=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=d.isub(p).iushrn(this.shift),A=w;return w.cmp(this.m)>=0?A=w.isub(this.m):w.cmpn(0)<0&&(A=w.iadd(this.m)),A._forceRed(this)},Y.prototype.mul=function(o,c){if(o.isZero()||c.isZero())return new i(0)._forceRed(this);var d=o.mul(c),p=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=d.isub(p).iushrn(this.shift),A=w;return w.cmp(this.m)>=0?A=w.isub(this.m):w.cmpn(0)<0&&(A=w.iadd(this.m)),A._forceRed(this)},Y.prototype.invm=function(o){var c=this.imod(o._invmp(this.m).mul(this.r2));return c._forceRed(this)}})(e,gs)})(Ji);var Iv=Ji.exports;function Z1(e,t){return Xr(e,t)}const Nv=Object.freeze(Object.defineProperty({__proto__:null,default:Z1},Symbol.toStringTag,{value:"Module"}));function J1(e,t){return Ks(e,t,function(r,n){return Js(e,n)})}var V1=da(function(e,t){return e==null?{}:J1(e,t)});const Pv=Object.freeze(Object.defineProperty({__proto__:null,default:V1},Symbol.toStringTag,{value:"Module"}));function vu(e,t){for(var r=e.length;r--&&rn(t,e[r],0)>-1;);return r}function Lv(e,t,r){if(e=tt(e),e&&t===void 0)return e.slice(0,Fs(e)+1);if(!e||!(t=yr(t)))return e;var n=Jt(e),a=vu(n,Jt(t))+1;return Wr(n,0,a).join("")}var K1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof $t<"u"?$t:typeof self<"u"?self:{};function Y1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
12
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
13
|
-
*
|
|
14
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
16
|
-
* in the Software without restriction, including without limitation the rights
|
|
17
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
18
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
19
|
-
* furnished to do so, subject to the following conditions:
|
|
20
|
-
*
|
|
21
|
-
* The above copyright notice and this permission notice shall be included in
|
|
22
|
-
* all copies or substantial portions of the Software.
|
|
23
|
-
*
|
|
24
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
29
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
30
|
-
* SOFTWARE.
|
|
31
|
-
*/var Zn,os;function X1(){return os||(os=1,Zn={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){let t=e%10;return~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),Zn}/*!
|
|
32
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
33
|
-
*
|
|
34
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
35
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
36
|
-
* in the Software without restriction, including without limitation the rights
|
|
37
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
38
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
39
|
-
* furnished to do so, subject to the following conditions:
|
|
40
|
-
*
|
|
41
|
-
* The above copyright notice and this permission notice shall be included in
|
|
42
|
-
* all copies or substantial portions of the Software.
|
|
43
|
-
*
|
|
44
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
45
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
46
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
47
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
48
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
49
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
50
|
-
* SOFTWARE.
|
|
51
|
-
*/var Jn,ss;function bu(){if(ss)return Jn;ss=1;const e=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function t(x){return x.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function r(x,m,h,S,B,z,G){if(!isNaN(+x))return+x;let Z="",q=x.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(q!==x)return-1*r(q,m,h,S,B,z);for(let V=0;V<e.length;V++){let K=e[V];if(Z=x.replace(RegExp(`([0-9 ])(${K.key})$`),"$1"),Z!==x)return r(Z,m,h,S,B,z)*K.factor}if(Z=x.replace("%",""),Z!==x)return r(Z,m,h,S,B,z)/100;let Q=parseFloat(x);if(isNaN(Q))return;let X=S(Q);if(X&&X!=="."&&(Z=x.replace(new RegExp(`${t(X)}$`),""),Z!==x))return r(Z,m,h,S,B,z);let pe={};Object.keys(z).forEach(V=>{pe[z[V]]=V});let ce=Object.keys(pe).sort().reverse(),oe=ce.length;for(let V=0;V<oe;V++){let K=ce[V],ae=pe[K];if(Z=x.replace(K,""),Z!==x){let se;switch(ae){case"thousand":se=Math.pow(10,3);break;case"million":se=Math.pow(10,6);break;case"billion":se=Math.pow(10,9);break;case"trillion":se=Math.pow(10,12);break}return r(Z,m,h,S,B,z)*se}}}function n(x,m,h){let S=x.replace(h,"");return S=S.replace(new RegExp(`([0-9])${t(m.thousands)}([0-9])`,"g"),"$1$2"),S=S.replace(m.decimal,"."),S}function a(x,m,h="",S,B,z,G){if(x==="")return;if(x===B)return 0;let Z=n(x,m,h);return r(Z,m,h,S,B,z)}function i(x,m){if(!(x.indexOf(":")&&m.thousands!==":"))return!1;let S=x.split(":");if(S.length!==3)return!1;let B=+S[0],z=+S[1],G=+S[2];return!isNaN(B)&&!isNaN(z)&&!isNaN(G)}function l(x){let m=x.split(":"),h=+m[0],S=+m[1];return+m[2]+60*S+3600*h}function v(x,m){const h=Yi();let S=h.currentDelimiters(),B=h.currentCurrency().symbol,z=h.currentOrdinal(),G=h.getZeroFormat(),Z=h.currentAbbreviations(),q;if(typeof x=="string")i(x,S)?q=l(x):q=a(x,S,B,z,G,Z);else if(typeof x=="number")q=x;else return;if(q!==void 0)return q}return Jn={unformat:v},Jn}/*!
|
|
52
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
53
|
-
*
|
|
54
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
55
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
56
|
-
* in the Software without restriction, including without limitation the rights
|
|
57
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
58
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
59
|
-
* furnished to do so, subject to the following conditions:
|
|
60
|
-
*
|
|
61
|
-
* The above copyright notice and this permission notice shall be included in
|
|
62
|
-
* all copies or substantial portions of the Software.
|
|
63
|
-
*
|
|
64
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
65
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
66
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
67
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
68
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
69
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
70
|
-
* SOFTWARE.
|
|
71
|
-
*/var Vn,as;function Vi(){if(as)return Vn;as=1;let e=bu();const t=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r=["currency","percent","byte","time","ordinal","number"],n=["trillion","billion","million","thousand"],a=["prefix","infix","postfix"],i=["sign","parenthesis"],l={type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},m={output:{type:"string",validValues:r},base:{type:"string",validValues:["decimal","binary","general"],restriction:(q,Q)=>Q.output==="byte",message:"`base` must be provided only when the output is `byte`",mandatory:q=>q.output==="byte"},characteristic:{type:"number",restriction:q=>q>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:n},average:"boolean",lowPrecision:{type:"boolean",restriction:(q,Q)=>Q.average===!0,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:a},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:q=>q>=0,message:"value must be positive"},{restriction:(q,Q)=>!Q.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:q=>q>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:i},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(q,Q)=>Q.output==="percent",message:"`prefixSymbol` can be provided only when the output is `percent`"}},h={languageTag:{type:"string",mandatory:!0,restriction:q=>q.match(t),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:l,spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function S(q,Q){let X=B(q),pe=G(Q);return X&&pe}function B(q){return e.unformat(q)!==void 0}function z(q,Q,X,pe=!1){let ce=Object.keys(q).map(oe=>{if(!Q[oe])return console.error(`${X} Invalid key: ${oe}`),!1;let V=q[oe],K=Q[oe];if(typeof K=="string"&&(K={type:K}),K.type==="format"){if(!z(V,m,`[Validate ${oe}]`,!0))return!1}else if(typeof V!==K.type)return console.error(`${X} ${oe} type mismatched: "${K.type}" expected, "${typeof V}" provided`),!1;if(K.restrictions&&K.restrictions.length){let ae=K.restrictions.length;for(let se=0;se<ae;se++){let{restriction:Y,message:E}=K.restrictions[se];if(!Y(V,q))return console.error(`${X} ${oe} invalid value: ${E}`),!1}}return K.restriction&&!K.restriction(V,q)?(console.error(`${X} ${oe} invalid value: ${K.message}`),!1):K.validValues&&K.validValues.indexOf(V)===-1?(console.error(`${X} ${oe} invalid value: must be among ${JSON.stringify(K.validValues)}, "${V}" provided`),!1):!(K.children&&!z(V,K.children,`[Validate ${oe}]`))});return pe||ce.push(...Object.keys(Q).map(oe=>{let V=Q[oe];if(typeof V=="string"&&(V={type:V}),V.mandatory){let K=V.mandatory;if(typeof K=="function"&&(K=K(q)),K&&q[oe]===void 0)return console.error(`${X} Missing mandatory key "${oe}"`),!1}return!0})),ce.reduce((oe,V)=>oe&&V,!0)}function G(q){return z(q,m,"[Validate format]")}function Z(q){return z(q,h,"[Validate language]")}return Vn={validate:S,validateFormat:G,validateInput:B,validateLanguage:Z},Vn}/*!
|
|
72
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
73
|
-
*
|
|
74
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
75
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
76
|
-
* in the Software without restriction, including without limitation the rights
|
|
77
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
78
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
79
|
-
* furnished to do so, subject to the following conditions:
|
|
80
|
-
*
|
|
81
|
-
* The above copyright notice and this permission notice shall be included in
|
|
82
|
-
* all copies or substantial portions of the Software.
|
|
83
|
-
*
|
|
84
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
85
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
86
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
87
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
88
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
89
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
90
|
-
* SOFTWARE.
|
|
91
|
-
*/function Q1(e,t){let r=e.match(/^{([^}]*)}/);return r?(t.prefix=r[1],e.slice(r[0].length)):e}function ey(e,t){let r=e.match(/{([^}]*)}$/);return r?(t.postfix=r[1],e.slice(0,-r[0].length)):e}function ty(e,t){if(e.indexOf("$")!==-1){t.output="currency";return}if(e.indexOf("%")!==-1){t.output="percent";return}if(e.indexOf("bd")!==-1){t.output="byte",t.base="general";return}if(e.indexOf("b")!==-1){t.output="byte",t.base="binary";return}if(e.indexOf("d")!==-1){t.output="byte",t.base="decimal";return}if(e.indexOf(":")!==-1){t.output="time";return}e.indexOf("o")!==-1&&(t.output="ordinal")}function ry(e,t){e.indexOf(",")!==-1&&(t.thousandSeparated=!0)}function ny(e,t){e.indexOf(" ")!==-1&&(t.spaceSeparated=!0,t.spaceSeparatedCurrency=!0,(t.average||t.forceAverage)&&(t.spaceSeparatedAbbreviation=!0))}function iy(e,t){let r=e.match(/[1-9]+[0-9]*/);r&&(t.totalLength=+r[0])}function oy(e,t){let n=e.split(".")[0].match(/0+/);n&&(t.characteristic=n[0].length)}function sy(e,t){let r=e.split(".")[1];if(r){let n=r.match(/0+/);n&&(t.mantissa=n[0].length)}}function ay(e,t){const r=e.split(".")[1];r&&(t.trimMantissa=r.indexOf("[")!==-1)}function uy(e,t){e.indexOf("a")!==-1&&(t.average=!0)}function fy(e,t){e.indexOf("K")!==-1?t.forceAverage="thousand":e.indexOf("M")!==-1?t.forceAverage="million":e.indexOf("B")!==-1?t.forceAverage="billion":e.indexOf("T")!==-1&&(t.forceAverage="trillion")}function ly(e,t){e.match(/\[\.]/)?t.optionalMantissa=!0:e.match(/\./)&&(t.optionalMantissa=!1)}function cy(e,t){if(e.indexOf(".")!==-1){let r=e.split(".")[0];t.optionalCharacteristic=r.indexOf("0")===-1}}function hy(e,t){e.match(/^\+?\([^)]*\)$/)&&(t.negative="parenthesis"),e.match(/^\+?-/)&&(t.negative="sign")}function dy(e,t){e.match(/^\+/)&&(t.forceSign=!0)}function py(e,t={}){return typeof e!="string"?e:(e=Q1(e,t),e=ey(e,t),ty(e,t),iy(e,t),oy(e,t),cy(e,t),uy(e,t),fy(e,t),sy(e,t),ly(e,t),ay(e,t),ry(e,t),ny(e,t),hy(e,t),dy(e,t),t)}var Ki={parseFormat:py};/*!
|
|
92
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
93
|
-
*
|
|
94
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
95
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
96
|
-
* in the Software without restriction, including without limitation the rights
|
|
97
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
98
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
99
|
-
* furnished to do so, subject to the following conditions:
|
|
100
|
-
*
|
|
101
|
-
* The above copyright notice and this permission notice shall be included in
|
|
102
|
-
* all copies or substantial portions of the Software.
|
|
103
|
-
*
|
|
104
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
105
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
106
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
107
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
108
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
109
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
110
|
-
* SOFTWARE.
|
|
111
|
-
*/var Kn,us;function Yi(){if(us)return Kn;us=1;const e=X1(),t=Vi(),r=Ki;let n={},a,i={},l=null,v={};function x(h){a=h}function m(){return i[a]}return n.languages=()=>Object.assign({},i),n.currentLanguage=()=>a,n.currentBytes=()=>m().bytes||{},n.currentCurrency=()=>m().currency,n.currentAbbreviations=()=>m().abbreviations,n.currentDelimiters=()=>m().delimiters,n.currentOrdinal=()=>m().ordinal,n.currentDefaults=()=>Object.assign({},m().defaults,v),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),m().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),m().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),m().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),m().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),m().timeFormat),n.setDefaults=h=>{h=r.parseFormat(h),t.validateFormat(h)&&(v=h)},n.getZeroFormat=()=>l,n.setZeroFormat=h=>l=typeof h=="string"?h:null,n.hasZeroFormat=()=>l!==null,n.languageData=h=>{if(h){if(i[h])return i[h];throw new Error(`Unknown tag "${h}"`)}return m()},n.registerLanguage=(h,S=!1)=>{if(!t.validateLanguage(h))throw new Error("Invalid language data");i[h.languageTag]=h,S&&x(h.languageTag)},n.setLanguage=(h,S=e.languageTag)=>{if(!i[h]){let B=h.split("-")[0],z=Object.keys(i).find(G=>G.split("-")[0]===B);if(!i[z]){x(S);return}x(z);return}x(h)},n.registerLanguage(e),a=e.languageTag,Kn=n,Kn}function gy(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}/*!
|
|
112
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
113
|
-
*
|
|
114
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
115
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
116
|
-
* in the Software without restriction, including without limitation the rights
|
|
117
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
118
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
119
|
-
* furnished to do so, subject to the following conditions:
|
|
120
|
-
*
|
|
121
|
-
* The above copyright notice and this permission notice shall be included in
|
|
122
|
-
* all copies or substantial portions of the Software.
|
|
123
|
-
*
|
|
124
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
125
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
126
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
127
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
128
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
129
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
130
|
-
* SOFTWARE.
|
|
131
|
-
*/function my(e,t){e.forEach(r=>{let n;try{n=gy(`../languages/${r}`)}catch{console.error(`Unable to load "${r}". No matching language file found.`)}n&&t.registerLanguage(n)})}var yy=e=>({loadLanguagesInNode:t=>my(t,e)}),xu={exports:{}};(function(e){(function(t){var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,a=Math.ceil,i=Math.floor,l="[BigNumber Error] ",v=l+"Number primitive has more than 15 significant digits: ",x=1e14,m=14,h=9007199254740991,S=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],B=1e7,z=1e9;function G(V){var K,ae,se,Y=L.prototype={constructor:L,toString:null,valueOf:null},E=new L(1),o=20,c=4,d=-7,p=21,w=-1e7,A=1e7,$=!1,b=1,u=0,_={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},ee="0123456789abcdefghijklmnopqrstuvwxyz",te=!0;function L(y,O){var T,P,N,I,D,R,F,U,k=this;if(!(k instanceof L))return new L(y,O);if(O==null){if(y&&y._isBigNumber===!0){k.s=y.s,!y.c||y.e>A?k.c=k.e=null:y.e<w?k.c=[k.e=0]:(k.e=y.e,k.c=y.c.slice());return}if((R=typeof y=="number")&&y*0==0){if(k.s=1/y<0?(y=-y,-1):1,y===~~y){for(I=0,D=y;D>=10;D/=10,I++);I>A?k.c=k.e=null:(k.e=I,k.c=[y]);return}U=String(y)}else{if(!n.test(U=String(y)))return se(k,U,R);k.s=U.charCodeAt(0)==45?(U=U.slice(1),-1):1}(I=U.indexOf("."))>-1&&(U=U.replace(".","")),(D=U.search(/e/i))>0?(I<0&&(I=D),I+=+U.slice(D+1),U=U.substring(0,D)):I<0&&(I=U.length)}else{if(X(O,2,ee.length,"Base"),O==10&&te)return k=new L(y),xe(k,o+k.e+1,c);if(U=String(y),R=typeof y=="number"){if(y*0!=0)return se(k,U,R,O);if(k.s=1/y<0?(U=U.slice(1),-1):1,L.DEBUG&&U.replace(/^0\.0*|\./,"").length>15)throw Error(v+y)}else k.s=U.charCodeAt(0)===45?(U=U.slice(1),-1):1;for(T=ee.slice(0,O),I=D=0,F=U.length;D<F;D++)if(T.indexOf(P=U.charAt(D))<0){if(P=="."){if(D>I){I=F;continue}}else if(!N&&(U==U.toUpperCase()&&(U=U.toLowerCase())||U==U.toLowerCase()&&(U=U.toUpperCase()))){N=!0,D=-1,I=0;continue}return se(k,String(y),R,O)}R=!1,U=ae(U,O,10,k.s),(I=U.indexOf("."))>-1?U=U.replace(".",""):I=U.length}for(D=0;U.charCodeAt(D)===48;D++);for(F=U.length;U.charCodeAt(--F)===48;);if(U=U.slice(D,++F)){if(F-=D,R&&L.DEBUG&&F>15&&(y>h||y!==i(y)))throw Error(v+k.s*y);if((I=I-D-1)>A)k.c=k.e=null;else if(I<w)k.c=[k.e=0];else{if(k.e=I,k.c=[],D=(I+1)%m,I<0&&(D+=m),D<F){for(D&&k.c.push(+U.slice(0,D)),F-=m;D<F;)k.c.push(+U.slice(D,D+=m));D=m-(U=U.slice(D)).length}else D-=F;for(;D--;U+="0");k.c.push(+U)}}else k.c=[k.e=0]}L.clone=G,L.ROUND_UP=0,L.ROUND_DOWN=1,L.ROUND_CEIL=2,L.ROUND_FLOOR=3,L.ROUND_HALF_UP=4,L.ROUND_HALF_DOWN=5,L.ROUND_HALF_EVEN=6,L.ROUND_HALF_CEIL=7,L.ROUND_HALF_FLOOR=8,L.EUCLID=9,L.config=L.set=function(y){var O,T;if(y!=null)if(typeof y=="object"){if(y.hasOwnProperty(O="DECIMAL_PLACES")&&(T=y[O],X(T,0,z,O),o=T),y.hasOwnProperty(O="ROUNDING_MODE")&&(T=y[O],X(T,0,8,O),c=T),y.hasOwnProperty(O="EXPONENTIAL_AT")&&(T=y[O],T&&T.pop?(X(T[0],-z,0,O),X(T[1],0,z,O),d=T[0],p=T[1]):(X(T,-z,z,O),d=-(p=T<0?-T:T))),y.hasOwnProperty(O="RANGE"))if(T=y[O],T&&T.pop)X(T[0],-z,-1,O),X(T[1],1,z,O),w=T[0],A=T[1];else if(X(T,-z,z,O),T)w=-(A=T<0?-T:T);else throw Error(l+O+" cannot be zero: "+T);if(y.hasOwnProperty(O="CRYPTO"))if(T=y[O],T===!!T)if(T)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))$=T;else throw $=!T,Error(l+"crypto unavailable");else $=T;else throw Error(l+O+" not true or false: "+T);if(y.hasOwnProperty(O="MODULO_MODE")&&(T=y[O],X(T,0,9,O),b=T),y.hasOwnProperty(O="POW_PRECISION")&&(T=y[O],X(T,0,z,O),u=T),y.hasOwnProperty(O="FORMAT"))if(T=y[O],typeof T=="object")_=T;else throw Error(l+O+" not an object: "+T);if(y.hasOwnProperty(O="ALPHABET"))if(T=y[O],typeof T=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(T))te=T.slice(0,10)=="0123456789",ee=T;else throw Error(l+O+" invalid: "+T)}else throw Error(l+"Object expected: "+y);return{DECIMAL_PLACES:o,ROUNDING_MODE:c,EXPONENTIAL_AT:[d,p],RANGE:[w,A],CRYPTO:$,MODULO_MODE:b,POW_PRECISION:u,FORMAT:_,ALPHABET:ee}},L.isBigNumber=function(y){if(!y||y._isBigNumber!==!0)return!1;if(!L.DEBUG)return!0;var O,T,P=y.c,N=y.e,I=y.s;e:if({}.toString.call(P)=="[object Array]"){if((I===1||I===-1)&&N>=-z&&N<=z&&N===i(N)){if(P[0]===0){if(N===0&&P.length===1)return!0;break e}if(O=(N+1)%m,O<1&&(O+=m),String(P[0]).length==O){for(O=0;O<P.length;O++)if(T=P[O],T<0||T>=x||T!==i(T))break e;if(T!==0)return!0}}}else if(P===null&&N===null&&(I===null||I===1||I===-1))return!0;throw Error(l+"Invalid BigNumber: "+y)},L.maximum=L.max=function(){return ye(arguments,-1)},L.minimum=L.min=function(){return ye(arguments,1)},L.random=function(){var y=9007199254740992,O=Math.random()*y&2097151?function(){return i(Math.random()*y)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(T){var P,N,I,D,R,F=0,U=[],k=new L(E);if(T==null?T=o:X(T,0,z),D=a(T/m),$)if(crypto.getRandomValues){for(P=crypto.getRandomValues(new Uint32Array(D*=2));F<D;)R=P[F]*131072+(P[F+1]>>>11),R>=9e15?(N=crypto.getRandomValues(new Uint32Array(2)),P[F]=N[0],P[F+1]=N[1]):(U.push(R%1e14),F+=2);F=D/2}else if(crypto.randomBytes){for(P=crypto.randomBytes(D*=7);F<D;)R=(P[F]&31)*281474976710656+P[F+1]*1099511627776+P[F+2]*4294967296+P[F+3]*16777216+(P[F+4]<<16)+(P[F+5]<<8)+P[F+6],R>=9e15?crypto.randomBytes(7).copy(P,F):(U.push(R%1e14),F+=7);F=D/7}else throw $=!1,Error(l+"crypto unavailable");if(!$)for(;F<D;)R=O(),R<9e15&&(U[F++]=R%1e14);for(D=U[--F],T%=m,D&&T&&(R=S[m-T],U[F]=i(D/R)*R);U[F]===0;U.pop(),F--);if(F<0)U=[I=0];else{for(I=-1;U[0]===0;U.splice(0,1),I-=m);for(F=1,R=U[0];R>=10;R/=10,F++);F<m&&(I-=m-F)}return k.e=I,k.c=U,k}}(),L.sum=function(){for(var y=1,O=arguments,T=new L(O[0]);y<O.length;)T=T.plus(O[y++]);return T},ae=function(){var y="0123456789";function O(T,P,N,I){for(var D,R=[0],F,U=0,k=T.length;U<k;){for(F=R.length;F--;R[F]*=P);for(R[0]+=I.indexOf(T.charAt(U++)),D=0;D<R.length;D++)R[D]>N-1&&(R[D+1]==null&&(R[D+1]=0),R[D+1]+=R[D]/N|0,R[D]%=N)}return R.reverse()}return function(T,P,N,I,D){var R,F,U,k,J,ne,ue,fe,de=T.indexOf("."),_e=o,he=c;for(de>=0&&(k=u,u=0,T=T.replace(".",""),fe=new L(P),ne=fe.pow(T.length-de),u=k,fe.c=O(oe(q(ne.c),ne.e,"0"),10,N,y),fe.e=fe.c.length),ue=O(T,P,N,D?(R=ee,y):(R=y,ee)),U=k=ue.length;ue[--k]==0;ue.pop());if(!ue[0])return R.charAt(0);if(de<0?--U:(ne.c=ue,ne.e=U,ne.s=I,ne=K(ne,fe,_e,he,N),ue=ne.c,J=ne.r,U=ne.e),F=U+_e+1,de=ue[F],k=N/2,J=J||F<0||ue[F+1]!=null,J=he<4?(de!=null||J)&&(he==0||he==(ne.s<0?3:2)):de>k||de==k&&(he==4||J||he==6&&ue[F-1]&1||he==(ne.s<0?8:7)),F<1||!ue[0])T=J?oe(R.charAt(1),-_e,R.charAt(0)):R.charAt(0);else{if(ue.length=F,J)for(--N;++ue[--F]>N;)ue[F]=0,F||(++U,ue=[1].concat(ue));for(k=ue.length;!ue[--k];);for(de=0,T="";de<=k;T+=R.charAt(ue[de++]));T=oe(T,U,R.charAt(0))}return T}}(),K=function(){function y(P,N,I){var D,R,F,U,k=0,J=P.length,ne=N%B,ue=N/B|0;for(P=P.slice();J--;)F=P[J]%B,U=P[J]/B|0,D=ue*F+U*ne,R=ne*F+D%B*B+k,k=(R/I|0)+(D/B|0)+ue*U,P[J]=R%I;return k&&(P=[k].concat(P)),P}function O(P,N,I,D){var R,F;if(I!=D)F=I>D?1:-1;else for(R=F=0;R<I;R++)if(P[R]!=N[R]){F=P[R]>N[R]?1:-1;break}return F}function T(P,N,I,D){for(var R=0;I--;)P[I]-=R,R=P[I]<N[I]?1:0,P[I]=R*D+P[I]-N[I];for(;!P[0]&&P.length>1;P.splice(0,1));}return function(P,N,I,D,R){var F,U,k,J,ne,ue,fe,de,_e,he,le,Te,g,s,f,M,C,j=P.s==N.s?1:-1,H=P.c,re=N.c;if(!H||!H[0]||!re||!re[0])return new L(!P.s||!N.s||(H?re&&H[0]==re[0]:!re)?NaN:H&&H[0]==0||!re?j*0:j/0);for(de=new L(j),_e=de.c=[],U=P.e-N.e,j=I+U+1,R||(R=x,U=Z(P.e/m)-Z(N.e/m),j=j/m|0),k=0;re[k]==(H[k]||0);k++);if(re[k]>(H[k]||0)&&U--,j<0)_e.push(1),J=!0;else{for(s=H.length,M=re.length,k=0,j+=2,ne=i(R/(re[0]+1)),ne>1&&(re=y(re,ne,R),H=y(H,ne,R),M=re.length,s=H.length),g=M,he=H.slice(0,M),le=he.length;le<M;he[le++]=0);C=re.slice(),C=[0].concat(C),f=re[0],re[1]>=R/2&&f++;do{if(ne=0,F=O(re,he,M,le),F<0){if(Te=he[0],M!=le&&(Te=Te*R+(he[1]||0)),ne=i(Te/f),ne>1)for(ne>=R&&(ne=R-1),ue=y(re,ne,R),fe=ue.length,le=he.length;O(ue,he,fe,le)==1;)ne--,T(ue,M<fe?C:re,fe,R),fe=ue.length,F=1;else ne==0&&(F=ne=1),ue=re.slice(),fe=ue.length;if(fe<le&&(ue=[0].concat(ue)),T(he,ue,le,R),le=he.length,F==-1)for(;O(re,he,M,le)<1;)ne++,T(he,M<le?C:re,le,R),le=he.length}else F===0&&(ne++,he=[0]);_e[k++]=ne,he[0]?he[le++]=H[g]||0:(he=[H[g]],le=1)}while((g++<s||he[0]!=null)&&j--);J=he[0]!=null,_e[0]||_e.splice(0,1)}if(R==x){for(k=1,j=_e[0];j>=10;j/=10,k++);xe(de,I+(de.e=k+U*m-1)+1,D,J)}else de.e=U,de.r=+J;return de}}();function ie(y,O,T,P){var N,I,D,R,F;if(T==null?T=c:X(T,0,8),!y.c)return y.toString();if(N=y.c[0],D=y.e,O==null)F=q(y.c),F=P==1||P==2&&(D<=d||D>=p)?ce(F,D):oe(F,D,"0");else if(y=xe(new L(y),O,T),I=y.e,F=q(y.c),R=F.length,P==1||P==2&&(O<=I||I<=d)){for(;R<O;F+="0",R++);F=ce(F,I)}else if(O-=D,F=oe(F,I,"0"),I+1>R){if(--O>0)for(F+=".";O--;F+="0");}else if(O+=I-R,O>0)for(I+1==R&&(F+=".");O--;F+="0");return y.s<0&&N?"-"+F:F}function ye(y,O){for(var T,P,N=1,I=new L(y[0]);N<y.length;N++)P=new L(y[N]),(!P.s||(T=Q(I,P))===O||T===0&&I.s===O)&&(I=P);return I}function be(y,O,T){for(var P=1,N=O.length;!O[--N];O.pop());for(N=O[0];N>=10;N/=10,P++);return(T=P+T*m-1)>A?y.c=y.e=null:T<w?y.c=[y.e=0]:(y.e=T,y.c=O),y}se=function(){var y=/^(-?)0([xbo])(?=\w[\w.]*$)/i,O=/^([^.]+)\.$/,T=/^\.([^.]+)$/,P=/^-?(Infinity|NaN)$/,N=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(I,D,R,F){var U,k=R?D:D.replace(N,"");if(P.test(k))I.s=isNaN(k)?null:k<0?-1:1;else{if(!R&&(k=k.replace(y,function(J,ne,ue){return U=(ue=ue.toLowerCase())=="x"?16:ue=="b"?2:8,!F||F==U?ne:J}),F&&(U=F,k=k.replace(O,"$1").replace(T,"0.$1")),D!=k))return new L(k,U);if(L.DEBUG)throw Error(l+"Not a"+(F?" base "+F:"")+" number: "+D);I.s=null}I.c=I.e=null}}();function xe(y,O,T,P){var N,I,D,R,F,U,k,J=y.c,ne=S;if(J){e:{for(N=1,R=J[0];R>=10;R/=10,N++);if(I=O-N,I<0)I+=m,D=O,F=J[U=0],k=i(F/ne[N-D-1]%10);else if(U=a((I+1)/m),U>=J.length)if(P){for(;J.length<=U;J.push(0));F=k=0,N=1,I%=m,D=I-m+1}else break e;else{for(F=R=J[U],N=1;R>=10;R/=10,N++);I%=m,D=I-m+N,k=D<0?0:i(F/ne[N-D-1]%10)}if(P=P||O<0||J[U+1]!=null||(D<0?F:F%ne[N-D-1]),P=T<4?(k||P)&&(T==0||T==(y.s<0?3:2)):k>5||k==5&&(T==4||P||T==6&&(I>0?D>0?F/ne[N-D]:0:J[U-1])%10&1||T==(y.s<0?8:7)),O<1||!J[0])return J.length=0,P?(O-=y.e+1,J[0]=ne[(m-O%m)%m],y.e=-O||0):J[0]=y.e=0,y;if(I==0?(J.length=U,R=1,U--):(J.length=U+1,R=ne[m-I],J[U]=D>0?i(F/ne[N-D]%ne[D])*R:0),P)for(;;)if(U==0){for(I=1,D=J[0];D>=10;D/=10,I++);for(D=J[0]+=R,R=1;D>=10;D/=10,R++);I!=R&&(y.e++,J[0]==x&&(J[0]=1));break}else{if(J[U]+=R,J[U]!=x)break;J[U--]=0,R=1}for(I=J.length;J[--I]===0;J.pop());}y.e>A?y.c=y.e=null:y.e<w&&(y.c=[y.e=0])}return y}function ge(y){var O,T=y.e;return T===null?y.toString():(O=q(y.c),O=T<=d||T>=p?ce(O,T):oe(O,T,"0"),y.s<0?"-"+O:O)}return Y.absoluteValue=Y.abs=function(){var y=new L(this);return y.s<0&&(y.s=1),y},Y.comparedTo=function(y,O){return Q(this,new L(y,O))},Y.decimalPlaces=Y.dp=function(y,O){var T,P,N,I=this;if(y!=null)return X(y,0,z),O==null?O=c:X(O,0,8),xe(new L(I),y+I.e+1,O);if(!(T=I.c))return null;if(P=((N=T.length-1)-Z(this.e/m))*m,N=T[N])for(;N%10==0;N/=10,P--);return P<0&&(P=0),P},Y.dividedBy=Y.div=function(y,O){return K(this,new L(y,O),o,c)},Y.dividedToIntegerBy=Y.idiv=function(y,O){return K(this,new L(y,O),0,1)},Y.exponentiatedBy=Y.pow=function(y,O){var T,P,N,I,D,R,F,U,k,J=this;if(y=new L(y),y.c&&!y.isInteger())throw Error(l+"Exponent not an integer: "+ge(y));if(O!=null&&(O=new L(O)),R=y.e>14,!J.c||!J.c[0]||J.c[0]==1&&!J.e&&J.c.length==1||!y.c||!y.c[0])return k=new L(Math.pow(+ge(J),R?y.s*(2-pe(y)):+ge(y))),O?k.mod(O):k;if(F=y.s<0,O){if(O.c?!O.c[0]:!O.s)return new L(NaN);P=!F&&J.isInteger()&&O.isInteger(),P&&(J=J.mod(O))}else{if(y.e>9&&(J.e>0||J.e<-1||(J.e==0?J.c[0]>1||R&&J.c[1]>=24e7:J.c[0]<8e13||R&&J.c[0]<=9999975e7)))return I=J.s<0&&pe(y)?-0:0,J.e>-1&&(I=1/I),new L(F?1/I:I);u&&(I=a(u/m+2))}for(R?(T=new L(.5),F&&(y.s=1),U=pe(y)):(N=Math.abs(+ge(y)),U=N%2),k=new L(E);;){if(U){if(k=k.times(J),!k.c)break;I?k.c.length>I&&(k.c.length=I):P&&(k=k.mod(O))}if(N){if(N=i(N/2),N===0)break;U=N%2}else if(y=y.times(T),xe(y,y.e+1,1),y.e>14)U=pe(y);else{if(N=+ge(y),N===0)break;U=N%2}J=J.times(J),I?J.c&&J.c.length>I&&(J.c.length=I):P&&(J=J.mod(O))}return P?k:(F&&(k=E.div(k)),O?k.mod(O):I?xe(k,u,c,D):k)},Y.integerValue=function(y){var O=new L(this);return y==null?y=c:X(y,0,8),xe(O,O.e+1,y)},Y.isEqualTo=Y.eq=function(y,O){return Q(this,new L(y,O))===0},Y.isFinite=function(){return!!this.c},Y.isGreaterThan=Y.gt=function(y,O){return Q(this,new L(y,O))>0},Y.isGreaterThanOrEqualTo=Y.gte=function(y,O){return(O=Q(this,new L(y,O)))===1||O===0},Y.isInteger=function(){return!!this.c&&Z(this.e/m)>this.c.length-2},Y.isLessThan=Y.lt=function(y,O){return Q(this,new L(y,O))<0},Y.isLessThanOrEqualTo=Y.lte=function(y,O){return(O=Q(this,new L(y,O)))===-1||O===0},Y.isNaN=function(){return!this.s},Y.isNegative=function(){return this.s<0},Y.isPositive=function(){return this.s>0},Y.isZero=function(){return!!this.c&&this.c[0]==0},Y.minus=function(y,O){var T,P,N,I,D=this,R=D.s;if(y=new L(y,O),O=y.s,!R||!O)return new L(NaN);if(R!=O)return y.s=-O,D.plus(y);var F=D.e/m,U=y.e/m,k=D.c,J=y.c;if(!F||!U){if(!k||!J)return k?(y.s=-O,y):new L(J?D:NaN);if(!k[0]||!J[0])return J[0]?(y.s=-O,y):new L(k[0]?D:c==3?-0:0)}if(F=Z(F),U=Z(U),k=k.slice(),R=F-U){for((I=R<0)?(R=-R,N=k):(U=F,N=J),N.reverse(),O=R;O--;N.push(0));N.reverse()}else for(P=(I=(R=k.length)<(O=J.length))?R:O,R=O=0;O<P;O++)if(k[O]!=J[O]){I=k[O]<J[O];break}if(I&&(N=k,k=J,J=N,y.s=-y.s),O=(P=J.length)-(T=k.length),O>0)for(;O--;k[T++]=0);for(O=x-1;P>R;){if(k[--P]<J[P]){for(T=P;T&&!k[--T];k[T]=O);--k[T],k[P]+=x}k[P]-=J[P]}for(;k[0]==0;k.splice(0,1),--U);return k[0]?be(y,k,U):(y.s=c==3?-1:1,y.c=[y.e=0],y)},Y.modulo=Y.mod=function(y,O){var T,P,N=this;return y=new L(y,O),!N.c||!y.s||y.c&&!y.c[0]?new L(NaN):!y.c||N.c&&!N.c[0]?new L(N):(b==9?(P=y.s,y.s=1,T=K(N,y,0,3),y.s=P,T.s*=P):T=K(N,y,0,b),y=N.minus(T.times(y)),!y.c[0]&&b==1&&(y.s=N.s),y)},Y.multipliedBy=Y.times=function(y,O){var T,P,N,I,D,R,F,U,k,J,ne,ue,fe,de,_e,he=this,le=he.c,Te=(y=new L(y,O)).c;if(!le||!Te||!le[0]||!Te[0])return!he.s||!y.s||le&&!le[0]&&!Te||Te&&!Te[0]&&!le?y.c=y.e=y.s=null:(y.s*=he.s,!le||!Te?y.c=y.e=null:(y.c=[0],y.e=0)),y;for(P=Z(he.e/m)+Z(y.e/m),y.s*=he.s,F=le.length,J=Te.length,F<J&&(fe=le,le=Te,Te=fe,N=F,F=J,J=N),N=F+J,fe=[];N--;fe.push(0));for(de=x,_e=B,N=J;--N>=0;){for(T=0,ne=Te[N]%_e,ue=Te[N]/_e|0,D=F,I=N+D;I>N;)U=le[--D]%_e,k=le[D]/_e|0,R=ue*U+k*ne,U=ne*U+R%_e*_e+fe[I]+T,T=(U/de|0)+(R/_e|0)+ue*k,fe[I--]=U%de;fe[I]=T}return T?++P:fe.splice(0,1),be(y,fe,P)},Y.negated=function(){var y=new L(this);return y.s=-y.s||null,y},Y.plus=function(y,O){var T,P=this,N=P.s;if(y=new L(y,O),O=y.s,!N||!O)return new L(NaN);if(N!=O)return y.s=-O,P.minus(y);var I=P.e/m,D=y.e/m,R=P.c,F=y.c;if(!I||!D){if(!R||!F)return new L(N/0);if(!R[0]||!F[0])return F[0]?y:new L(R[0]?P:N*0)}if(I=Z(I),D=Z(D),R=R.slice(),N=I-D){for(N>0?(D=I,T=F):(N=-N,T=R),T.reverse();N--;T.push(0));T.reverse()}for(N=R.length,O=F.length,N-O<0&&(T=F,F=R,R=T,O=N),N=0;O;)N=(R[--O]=R[O]+F[O]+N)/x|0,R[O]=x===R[O]?0:R[O]%x;return N&&(R=[N].concat(R),++D),be(y,R,D)},Y.precision=Y.sd=function(y,O){var T,P,N,I=this;if(y!=null&&y!==!!y)return X(y,1,z),O==null?O=c:X(O,0,8),xe(new L(I),y,O);if(!(T=I.c))return null;if(N=T.length-1,P=N*m+1,N=T[N]){for(;N%10==0;N/=10,P--);for(N=T[0];N>=10;N/=10,P++);}return y&&I.e+1>P&&(P=I.e+1),P},Y.shiftedBy=function(y){return X(y,-h,h),this.times("1e"+y)},Y.squareRoot=Y.sqrt=function(){var y,O,T,P,N,I=this,D=I.c,R=I.s,F=I.e,U=o+4,k=new L("0.5");if(R!==1||!D||!D[0])return new L(!R||R<0&&(!D||D[0])?NaN:D?I:1/0);if(R=Math.sqrt(+ge(I)),R==0||R==1/0?(O=q(D),(O.length+F)%2==0&&(O+="0"),R=Math.sqrt(+O),F=Z((F+1)/2)-(F<0||F%2),R==1/0?O="5e"+F:(O=R.toExponential(),O=O.slice(0,O.indexOf("e")+1)+F),T=new L(O)):T=new L(R+""),T.c[0]){for(F=T.e,R=F+U,R<3&&(R=0);;)if(N=T,T=k.times(N.plus(K(I,N,U,1))),q(N.c).slice(0,R)===(O=q(T.c)).slice(0,R))if(T.e<F&&--R,O=O.slice(R-3,R+1),O=="9999"||!P&&O=="4999"){if(!P&&(xe(N,N.e+o+2,0),N.times(N).eq(I))){T=N;break}U+=4,R+=4,P=1}else{(!+O||!+O.slice(1)&&O.charAt(0)=="5")&&(xe(T,T.e+o+2,1),y=!T.times(T).eq(I));break}}return xe(T,T.e+o+1,c,y)},Y.toExponential=function(y,O){return y!=null&&(X(y,0,z),y++),ie(this,y,O,1)},Y.toFixed=function(y,O){return y!=null&&(X(y,0,z),y=y+this.e+1),ie(this,y,O)},Y.toFormat=function(y,O,T){var P,N=this;if(T==null)y!=null&&O&&typeof O=="object"?(T=O,O=null):y&&typeof y=="object"?(T=y,y=O=null):T=_;else if(typeof T!="object")throw Error(l+"Argument not an object: "+T);if(P=N.toFixed(y,O),N.c){var I,D=P.split("."),R=+T.groupSize,F=+T.secondaryGroupSize,U=T.groupSeparator||"",k=D[0],J=D[1],ne=N.s<0,ue=ne?k.slice(1):k,fe=ue.length;if(F&&(I=R,R=F,F=I,fe-=I),R>0&&fe>0){for(I=fe%R||R,k=ue.substr(0,I);I<fe;I+=R)k+=U+ue.substr(I,R);F>0&&(k+=U+ue.slice(I)),ne&&(k="-"+k)}P=J?k+(T.decimalSeparator||"")+((F=+T.fractionGroupSize)?J.replace(new RegExp("\\d{"+F+"}\\B","g"),"$&"+(T.fractionGroupSeparator||"")):J):k}return(T.prefix||"")+P+(T.suffix||"")},Y.toFraction=function(y){var O,T,P,N,I,D,R,F,U,k,J,ne,ue=this,fe=ue.c;if(y!=null&&(R=new L(y),!R.isInteger()&&(R.c||R.s!==1)||R.lt(E)))throw Error(l+"Argument "+(R.isInteger()?"out of range: ":"not an integer: ")+ge(R));if(!fe)return new L(ue);for(O=new L(E),U=T=new L(E),P=F=new L(E),ne=q(fe),I=O.e=ne.length-ue.e-1,O.c[0]=S[(D=I%m)<0?m+D:D],y=!y||R.comparedTo(O)>0?I>0?O:U:R,D=A,A=1/0,R=new L(ne),F.c[0]=0;k=K(R,O,0,1),N=T.plus(k.times(P)),N.comparedTo(y)!=1;)T=P,P=N,U=F.plus(k.times(N=U)),F=N,O=R.minus(k.times(N=O)),R=N;return N=K(y.minus(T),P,0,1),F=F.plus(N.times(U)),T=T.plus(N.times(P)),F.s=U.s=ue.s,I=I*2,J=K(U,P,I,c).minus(ue).abs().comparedTo(K(F,T,I,c).minus(ue).abs())<1?[U,P]:[F,T],A=D,J},Y.toNumber=function(){return+ge(this)},Y.toPrecision=function(y,O){return y!=null&&X(y,1,z),ie(this,y,O,2)},Y.toString=function(y){var O,T=this,P=T.s,N=T.e;return N===null?P?(O="Infinity",P<0&&(O="-"+O)):O="NaN":(y==null?O=N<=d||N>=p?ce(q(T.c),N):oe(q(T.c),N,"0"):y===10&&te?(T=xe(new L(T),o+N+1,c),O=oe(q(T.c),T.e,"0")):(X(y,2,ee.length,"Base"),O=ae(oe(q(T.c),N,"0"),10,y,P,!0)),P<0&&T.c[0]&&(O="-"+O)),O},Y.valueOf=Y.toJSON=function(){return ge(this)},Y._isBigNumber=!0,V!=null&&L.set(V),L}function Z(V){var K=V|0;return V>0||V===K?K:K-1}function q(V){for(var K,ae,se=1,Y=V.length,E=V[0]+"";se<Y;){for(K=V[se++]+"",ae=m-K.length;ae--;K="0"+K);E+=K}for(Y=E.length;E.charCodeAt(--Y)===48;);return E.slice(0,Y+1||1)}function Q(V,K){var ae,se,Y=V.c,E=K.c,o=V.s,c=K.s,d=V.e,p=K.e;if(!o||!c)return null;if(ae=Y&&!Y[0],se=E&&!E[0],ae||se)return ae?se?0:-c:o;if(o!=c)return o;if(ae=o<0,se=d==p,!Y||!E)return se?0:!Y^ae?1:-1;if(!se)return d>p^ae?1:-1;for(c=(d=Y.length)<(p=E.length)?d:p,o=0;o<c;o++)if(Y[o]!=E[o])return Y[o]>E[o]^ae?1:-1;return d==p?0:d>p^ae?1:-1}function X(V,K,ae,se){if(V<K||V>ae||V!==i(V))throw Error(l+(se||"Argument")+(typeof V=="number"?V<K||V>ae?" out of range: ":" not an integer: ":" not a primitive number: ")+String(V))}function pe(V){var K=V.c.length-1;return Z(V.e/m)==K&&V.c[K]%2!=0}function ce(V,K){return(V.length>1?V.charAt(0)+"."+V.slice(1):V)+(K<0?"e":"e+")+K}function oe(V,K,ae){var se,Y;if(K<0){for(Y=ae+".";++K;Y+=ae);V=Y+V}else if(se=V.length,++K>se){for(Y=ae,K-=se;--K;Y+=ae);V+=Y}else K<se&&(V=V.slice(0,K)+"."+V.slice(K));return V}r=G(),r.default=r.BigNumber=r,e.exports?e.exports=r:(t||(t=typeof self<"u"&&self?self:window),t.BigNumber=r)})(K1)})(xu);var Mu=xu.exports;/*!
|
|
132
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
133
|
-
*
|
|
134
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
135
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
136
|
-
* in the Software without restriction, including without limitation the rights
|
|
137
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
138
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
139
|
-
* furnished to do so, subject to the following conditions:
|
|
140
|
-
*
|
|
141
|
-
* The above copyright notice and this permission notice shall be included in
|
|
142
|
-
* all copies or substantial portions of the Software.
|
|
143
|
-
*
|
|
144
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
145
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
146
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
147
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
148
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
149
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
150
|
-
* SOFTWARE.
|
|
151
|
-
*/const st=Yi(),wy=Vi(),vy=Ki,by=Mu,Je={trillion:Math.pow(10,12),billion:Math.pow(10,9),million:Math.pow(10,6),thousand:Math.pow(10,3)},Or={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:_u,decimalSuffixes:Gr}=st.currentBytes(),Xi={general:{scale:1024,suffixes:Gr,marker:"bd"},binary:{scale:1024,suffixes:_u,marker:"b"},decimal:{scale:1e3,suffixes:Gr,marker:"d"}};function xy(e,t={},r){if(typeof t=="string"&&(t=vy.parseFormat(t)),!wy.validateFormat(t))return"ERROR: invalid format";let a=t.prefix||"",i=t.postfix||"",l=My(e,t,r);return l=ky(l,a),l=qy(l,i),l}function My(e,t,r){switch(t.output){case"currency":return t=zt(t,st.currentCurrencyDefaultFormat()),Cy(e,t,st);case"percent":return t=zt(t,st.currentPercentageDefaultFormat()),$y(e,t,st,r);case"byte":return t=zt(t,st.currentByteDefaultFormat()),Oy(e,t,st,r);case"time":return t=zt(t,st.currentTimeDefaultFormat()),Ty(e);case"ordinal":return t=zt(t,st.currentOrdinalDefaultFormat()),Ay(e,t,st);case"number":default:return Ar({instance:e,providedFormat:t,numbro:r})}}function _y(e){let t=Xi.decimal;return wn(e._value,t.suffixes,t.scale).suffix}function Ey(e){let t=Xi.binary;return wn(e._value,t.suffixes,t.scale).suffix}function Sy(e){let t=Xi.general;return wn(e._value,t.suffixes,t.scale).suffix}function wn(e,t,r){let n=t[0],a=Math.abs(e);if(a>=r){for(let i=1;i<t.length;++i){let l=Math.pow(r,i),v=Math.pow(r,i+1);if(a>=l&&a<v){n=t[i],e=e/l;break}}n===t[0]&&(e=e/Math.pow(r,t.length-1),n=t[t.length-1])}return{value:e,suffix:n}}function Oy(e,t,r,n){let a=t.base||"binary",i=Object.assign({},Or,t);const{binarySuffixes:l,decimalSuffixes:v}=r.currentBytes();let m={general:{scale:1024,suffixes:v||Gr,marker:"bd"},binary:{scale:1024,suffixes:l||_u,marker:"b"},decimal:{scale:1e3,suffixes:v||Gr,marker:"d"}}[a],{value:h,suffix:S}=wn(e._value,m.suffixes,m.scale);return`${Ar({instance:n(h),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()})}${i.spaceSeparated?" ":""}${S}`}function Ay(e,t,r){let n=r.currentOrdinal(),a=Object.assign({},Or,t),i=Ar({instance:e,providedFormat:t,state:r}),l=n(e._value);return`${i}${a.spaceSeparated?" ":""}${l}`}function Ty(e){let t=Math.floor(e._value/60/60),r=Math.floor((e._value-t*60*60)/60),n=Math.round(e._value-t*60*60-r*60);return`${t}:${r<10?"0":""}${r}:${n<10?"0":""}${n}`}function $y(e,t,r,n){let a=t.prefixSymbol,i=Ar({instance:n(e._value*100),providedFormat:t,state:r}),l=Object.assign({},Or,t);return a?`%${l.spaceSeparated?" ":""}${i}`:`${i}${l.spaceSeparated?" ":""}%`}function Cy(e,t,r){const n=r.currentCurrency();let a=Object.assign({},t),i=Object.assign({},Or,a),l,v="",x=!!i.totalLength||!!i.forceAverage||i.average,m=a.currencyPosition||n.position,h=a.currencySymbol||n.symbol;const S=i.spaceSeparatedCurrency!==void 0?i.spaceSeparatedCurrency:i.spaceSeparated;a.lowPrecision===void 0&&(a.lowPrecision=!1),S&&(v=" "),m==="infix"&&(l=v+h+v);let B=Ar({instance:e,providedFormat:a,state:r,decimalSeparator:l});return m==="prefix"&&(e._value<0&&i.negative==="sign"?B=`-${v}${h}${B.slice(1)}`:e._value>0&&i.forceSign?B=`+${v}${h}${B.slice(1)}`:B=h+v+B),(!m||m==="postfix")&&(v=!i.spaceSeparatedAbbreviation&&x?"":v,B=B+v+h),B}function Ry({value:e,forceAverage:t,lowPrecision:r=!0,abbreviations:n,spaceSeparated:a=!1,totalLength:i=0,roundingFunction:l=Math.round}){let v="",x=Math.abs(e),m=-1;if(t&&n[t]&&Je[t]?(v=n[t],e=e/Je[t]):x>=Je.trillion||r&&l(x/Je.trillion)===1?(v=n.trillion,e=e/Je.trillion):x<Je.trillion&&x>=Je.billion||r&&l(x/Je.billion)===1?(v=n.billion,e=e/Je.billion):x<Je.billion&&x>=Je.million||r&&l(x/Je.million)===1?(v=n.million,e=e/Je.million):(x<Je.million&&x>=Je.thousand||r&&l(x/Je.thousand)===1)&&(v=n.thousand,e=e/Je.thousand),v&&(v=(a?" ":"")+v),i){let S=e<0,B=e.toString().split(".")[0],z=S?B.length-1:B.length;m=Math.max(i-z,0)}return{value:e,abbreviation:v,mantissaPrecision:m}}function By({value:e,characteristicPrecision:t}){let[r,n]=e.toExponential().split("e"),a=+r;if(!t)return{value:a,abbreviation:`e${n}`};let i=1;return i<t&&(a=a*Math.pow(10,t-i),n=+n-(t-i),n=n>=0?`+${n}`:n),{value:a,abbreviation:`e${n}`}}function $r(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function Fy(e,t){let r=e.toString(),[n,a]=r.split("e"),[i,l=""]=n.split(".");if(+a>0)r=i+l+$r(a-l.length);else{let v=".";+i<0?v=`-0${v}`:v=`0${v}`;let x=($r(-a-1)+Math.abs(i)+l).substr(0,t);x.length<t&&(x+=$r(t-x.length)),r=v+x}return+a>0&&t>0&&(r+=`.${$r(t)}`),r}function Iy(e,t,r=Math.round){return e.toString().indexOf("e")!==-1?Fy(e,t):new by(r(+`${e}e+${t}`)/Math.pow(10,t)).toFixed(t)}function Ny(e,t,r,n,a,i){if(n===-1)return e;let l=Iy(t,n,i),[v,x=""]=l.toString().split(".");if(x.match(/^0+$/)&&(r||a))return v;let m=x.match(/0+$/);return a&&m?`${v}.${x.toString().slice(0,m.index)}`:l.toString()}function Py(e,t,r,n){let a=e,[i,l]=a.toString().split(".");if(i.match(/^-?0$/)&&r)return l?`${i.replace("0","")}.${l}`:i.replace("0","");const v=t<0&&i.indexOf("-")===0;if(v&&(i=i.slice(1),a=a.slice(1)),i.length<n){let x=n-i.length;for(let m=0;m<x;m++)a=`0${a}`}return v&&(a=`-${a}`),a.toString()}function Ly(e,t){let r=[],n=0;for(let a=e;a>0;a--)n===t&&(r.unshift(a),n=0),n++;return r}function Uy(e,t,r,n,a){let i=n.currentDelimiters(),l=i.thousands;a=a||i.decimal;let v=i.thousandsSize||3,x=e.toString(),m=x.split(".")[0],h=x.split(".")[1];const S=t<0&&m.indexOf("-")===0;return r&&(S&&(m=m.slice(1)),Ly(m.length,v).forEach((z,G)=>{m=m.slice(0,z+G)+l+m.slice(z+G)}),S&&(m=`-${m}`)),h?x=m+a+h:x=m,x}function Dy(e,t){return e+t}function jy(e,t,r){return t===0?e:+e==0?e.replace("-",""):t>0?`+${e}`:r==="sign"?e:`(${e.replace("-","")})`}function ky(e,t){return t+e}function qy(e,t){return e+t}function Ar({instance:e,providedFormat:t,state:r=st,decimalSeparator:n,defaults:a=r.currentDefaults()}){let i=e._value;if(i===0&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(i))return i.toString();let l=Object.assign({},Or,a,t),v=l.totalLength,x=v?0:l.characteristic,m=l.optionalCharacteristic,h=l.forceAverage,S=l.lowPrecision,B=!!v||!!h||l.average,z=v?-1:B&&t.mantissa===void 0?0:l.mantissa,G=v?!1:t.optionalMantissa===void 0?z===-1:l.optionalMantissa,Z=l.trimMantissa,q=l.thousandSeparated,Q=l.spaceSeparated,X=l.negative,pe=l.forceSign,ce=l.exponential,oe=l.roundingFunction,V="";if(B){let ae=Ry({value:i,forceAverage:h,lowPrecision:S,abbreviations:r.currentAbbreviations(),spaceSeparated:Q,roundingFunction:oe,totalLength:v});i=ae.value,V+=ae.abbreviation,v&&(z=ae.mantissaPrecision)}if(ce){let ae=By({value:i,characteristicPrecision:x});i=ae.value,V=ae.abbreviation+V}let K=Ny(i.toString(),i,G,z,Z,oe);return K=Py(K,i,m,x),K=Uy(K,i,q,r,n),(B||ce)&&(K=Dy(K,V)),(pe||i<0)&&(K=jy(K,i,X)),K}function zt(e,t){if(!e)return t;let r=Object.keys(e);return r.length===1&&r[0]==="output"?t:e}var zy=e=>({format:(...t)=>xy(...t,e),getByteUnit:(...t)=>Sy(...t,e),getBinaryByteUnit:(...t)=>Ey(...t,e),getDecimalByteUnit:(...t)=>_y(...t,e),formatOrDefault:zt});/*!
|
|
152
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
153
|
-
*
|
|
154
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
155
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
156
|
-
* in the Software without restriction, including without limitation the rights
|
|
157
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
158
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
159
|
-
* furnished to do so, subject to the following conditions:
|
|
160
|
-
*
|
|
161
|
-
* The above copyright notice and this permission notice shall be included in
|
|
162
|
-
* all copies or substantial portions of the Software.
|
|
163
|
-
*
|
|
164
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
165
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
166
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
167
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
168
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
169
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
170
|
-
* SOFTWARE.
|
|
171
|
-
*/const vt=Mu;function Hy(e,t,r){let n=new vt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new vt(a),e._value=n.plus(a).toNumber(),e}function Eu(e,t,r){let n=new vt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new vt(a),e._value=n.minus(a).toNumber(),e}function Gy(e,t,r){let n=new vt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new vt(a),e._value=n.times(a).toNumber(),e}function Wy(e,t,r){let n=new vt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new vt(a),e._value=n.dividedBy(a).toNumber(),e}function Zy(e,t,r){let n=t;return r.isNumbro(t)&&(n=t._value),e._value=n,e}function Jy(e,t,r){let n=r(e._value);return Eu(n,t,r),Math.abs(n._value)}var Vy=e=>({add:(t,r)=>Hy(t,r,e),subtract:(t,r)=>Eu(t,r,e),multiply:(t,r)=>Gy(t,r,e),divide:(t,r)=>Wy(t,r,e),set:(t,r)=>Zy(t,r,e),difference:(t,r)=>Jy(t,r,e),BigNumber:vt});/*!
|
|
172
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
173
|
-
*
|
|
174
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
175
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
176
|
-
* in the Software without restriction, including without limitation the rights
|
|
177
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
178
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
179
|
-
* furnished to do so, subject to the following conditions:
|
|
180
|
-
*
|
|
181
|
-
* The above copyright notice and this permission notice shall be included in
|
|
182
|
-
* all copies or substantial portions of the Software.
|
|
183
|
-
*
|
|
184
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
185
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
186
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
187
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
188
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
189
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
190
|
-
* SOFTWARE.
|
|
191
|
-
*/const Ky="2.5.0",yt=Yi(),Yy=Vi(),Xy=yy(Ae),Qy=bu();let At=zy(Ae),Tt=Vy(Ae);const ew=Ki;class Su{constructor(t){this._value=t}clone(){return Ae(this._value)}format(t={}){return At.format(this,t)}formatCurrency(t){return typeof t=="string"&&(t=ew.parseFormat(t)),t=At.formatOrDefault(t,yt.currentCurrencyDefaultFormat()),t.output="currency",At.format(this,t)}formatTime(t={}){return t.output="time",At.format(this,t)}binaryByteUnits(){return At.getBinaryByteUnit(this)}decimalByteUnits(){return At.getDecimalByteUnit(this)}byteUnits(){return At.getByteUnit(this)}difference(t){return Tt.difference(this,t)}add(t){return Tt.add(this,t)}subtract(t){return Tt.subtract(this,t)}multiply(t){return Tt.multiply(this,t)}divide(t){return Tt.divide(this,t)}set(t){return Tt.set(this,Ou(t))}value(){return this._value}valueOf(){return this._value}}function Ou(e){let t=e;return Ae.isNumbro(e)?t=e._value:typeof e=="string"?t=Ae.unformat(e):isNaN(e)&&(t=NaN),t}function Ae(e){return new Su(Ou(e))}Ae.version=Ky;Ae.isNumbro=function(e){return e instanceof Su};Ae.language=yt.currentLanguage;Ae.registerLanguage=yt.registerLanguage;Ae.setLanguage=yt.setLanguage;Ae.languages=yt.languages;Ae.languageData=yt.languageData;Ae.zeroFormat=yt.setZeroFormat;Ae.defaultFormat=yt.currentDefaults;Ae.setDefaults=yt.setDefaults;Ae.defaultCurrencyFormat=yt.currentCurrencyDefaultFormat;Ae.validate=Yy.validate;Ae.loadLanguagesInNode=Xy.loadLanguagesInNode;Ae.unformat=Qy.unformat;Ae.BigNumber=Tt.BigNumber;var tw=Ae,Uv=Y1(tw),fs=Li(function(e,t,r,n){Dt(t,ir(t),e,n)}),rw="[object DOMException]",nw="[object Error]";function Au(e){if(!Qe(e))return!1;var t=ut(e);return t==nw||t==rw||typeof e.message=="string"&&typeof e.name=="string"&&!Qr(e)}var iw=ft(function(e,t){try{return Pi(e,void 0,t)}catch(r){return Au(r)?r:new Error(r)}});function Tu(e,t){return gt(t,function(r){return e[r]})}var $u=Object.prototype,ow=$u.hasOwnProperty;function ls(e,t,r,n){return e===void 0||tr(e,$u[r])&&!ow.call(n,r)?t:e}var sw={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function aw(e){return"\\"+sw[e]}var Cu=/<%=([\s\S]+?)%>/g,uw={"&":"&","<":"<",">":">",'"':""","'":"'"},fw=ou(uw),Ru=/[&<>"']/g,lw=RegExp(Ru.source);function cw(e){return e=tt(e),e&&lw.test(e)?e.replace(Ru,fw):e}var hw=/<%-([\s\S]+?)%>/g,dw=/<%([\s\S]+?)%>/g,cs={escape:hw,evaluate:dw,interpolate:Cu,variable:"",imports:{_:{escape:cw}}},pw="Invalid `variable` option passed into `_.template`",gw=/\b__p \+= '';/g,mw=/\b(__p \+=) '' \+/g,yw=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ww=/[()=,{}\[\]\/\s]/,vw=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Cr=/($^)/,bw=/['\n\r\u2028\u2029\\]/g,xw=Object.prototype,hs=xw.hasOwnProperty;function Dv(e,t,r){var n=cs.imports._.templateSettings||cs;e=tt(e),t=fs({},t,n,ls);var a=fs({},t.imports,n.imports,ls),i=St(a),l=Tu(a,i),v,x,m=0,h=t.interpolate||Cr,S="__p += '",B=RegExp((t.escape||Cr).source+"|"+h.source+"|"+(h===Cu?vw:Cr).source+"|"+(t.evaluate||Cr).source+"|$","g"),z=hs.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
|
|
192
|
-
`:"";e.replace(B,function(q,Q,X,pe,ce,oe){return X||(X=pe),S+=e.slice(m,oe).replace(bw,aw),Q&&(v=!0,S+=`' +
|
|
193
|
-
__e(`+Q+`) +
|
|
194
|
-
'`),ce&&(x=!0,S+=`';
|
|
195
|
-
`+ce+`;
|
|
196
|
-
__p += '`),X&&(S+=`' +
|
|
197
|
-
((__t = (`+X+`)) == null ? '' : __t) +
|
|
198
|
-
'`),m=oe+q.length,q}),S+=`';
|
|
199
|
-
`;var G=hs.call(t,"variable")&&t.variable;if(!G)S=`with (obj) {
|
|
200
|
-
`+S+`
|
|
201
|
-
}
|
|
202
|
-
`;else if(ww.test(G))throw new Error(pw);S=(x?S.replace(gw,""):S).replace(mw,"$1").replace(yw,"$1;"),S="function("+(G||"obj")+`) {
|
|
203
|
-
`+(G?"":`obj || (obj = {});
|
|
204
|
-
`)+"var __t, __p = ''"+(v?", __e = _.escape":"")+(x?`, __j = Array.prototype.join;
|
|
205
|
-
function print() { __p += __j.call(arguments, '') }
|
|
206
|
-
`:`;
|
|
207
|
-
`)+S+`return __p
|
|
208
|
-
}`;var Z=iw(function(){return Function(i,z+"return "+S).apply(void 0,l)});if(Z.source=S,Au(Z))throw Z;return Z}var Mw=ot.isFinite;function jv(e){return typeof e=="number"&&Mw(e)}var _w=1,Ew=4;function Sw(e){return cr(e,_w|Ew)}const kv=Object.freeze(Object.defineProperty({__proto__:null,default:Sw},Symbol.toStringTag,{value:"Module"}));function qv(e){return e===void 0}function Bu(e,t,r,n,a,i){return Ze(e)&&Ze(t)&&(i.set(t,e),en(e,t,void 0,Bu,i),i.delete(t)),e}var Ow=Li(function(e,t,r,n){en(e,t,r,n)}),zv=ft(function(e){return e.push(void 0,Bu),Pi(Ow,void 0,e)}),xi={exports:{}},Yn,ds;function Aw(){if(ds)return Yn;ds=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,i=n*365.25;Yn=function(h,S){S=S||{};var B=typeof h;if(B==="string"&&h.length>0)return l(h);if(B==="number"&&isFinite(h))return S.long?x(h):v(h);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(h))};function l(h){if(h=String(h),!(h.length>100)){var S=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(h);if(S){var B=parseFloat(S[1]),z=(S[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return B*i;case"weeks":case"week":case"w":return B*a;case"days":case"day":case"d":return B*n;case"hours":case"hour":case"hrs":case"hr":case"h":return B*r;case"minutes":case"minute":case"mins":case"min":case"m":return B*t;case"seconds":case"second":case"secs":case"sec":case"s":return B*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return B;default:return}}}}function v(h){var S=Math.abs(h);return S>=n?Math.round(h/n)+"d":S>=r?Math.round(h/r)+"h":S>=t?Math.round(h/t)+"m":S>=e?Math.round(h/e)+"s":h+"ms"}function x(h){var S=Math.abs(h);return S>=n?m(h,S,n,"day"):S>=r?m(h,S,r,"hour"):S>=t?m(h,S,t,"minute"):S>=e?m(h,S,e,"second"):h+" ms"}function m(h,S,B,z){var G=S>=B*1.5;return Math.round(h/B)+" "+z+(G?"s":"")}return Yn}function Tw(e){r.debug=r,r.default=r,r.coerce=x,r.disable=l,r.enable=a,r.enabled=v,r.humanize=Aw(),r.destroy=m,Object.keys(e).forEach(h=>{r[h]=e[h]}),r.names=[],r.skips=[],r.formatters={};function t(h){let S=0;for(let B=0;B<h.length;B++)S=(S<<5)-S+h.charCodeAt(B),S|=0;return r.colors[Math.abs(S)%r.colors.length]}r.selectColor=t;function r(h){let S,B=null,z,G;function Z(...q){if(!Z.enabled)return;const Q=Z,X=Number(new Date),pe=X-(S||X);Q.diff=pe,Q.prev=S,Q.curr=X,S=X,q[0]=r.coerce(q[0]),typeof q[0]!="string"&&q.unshift("%O");let ce=0;q[0]=q[0].replace(/%([a-zA-Z%])/g,(V,K)=>{if(V==="%%")return"%";ce++;const ae=r.formatters[K];if(typeof ae=="function"){const se=q[ce];V=ae.call(Q,se),q.splice(ce,1),ce--}return V}),r.formatArgs.call(Q,q),(Q.log||r.log).apply(Q,q)}return Z.namespace=h,Z.useColors=r.useColors(),Z.color=r.selectColor(h),Z.extend=n,Z.destroy=r.destroy,Object.defineProperty(Z,"enabled",{enumerable:!0,configurable:!1,get:()=>B!==null?B:(z!==r.namespaces&&(z=r.namespaces,G=r.enabled(h)),G),set:q=>{B=q}}),typeof r.init=="function"&&r.init(Z),Z}function n(h,S){const B=r(this.namespace+(typeof S>"u"?":":S)+h);return B.log=this.log,B}function a(h){r.save(h),r.namespaces=h,r.names=[],r.skips=[];const S=(typeof h=="string"?h:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const B of S)B[0]==="-"?r.skips.push(B.slice(1)):r.names.push(B)}function i(h,S){let B=0,z=0,G=-1,Z=0;for(;B<h.length;)if(z<S.length&&(S[z]===h[B]||S[z]==="*"))S[z]==="*"?(G=z,Z=B,z++):(B++,z++);else if(G!==-1)z=G+1,Z++,B=Z;else return!1;for(;z<S.length&&S[z]==="*";)z++;return z===S.length}function l(){const h=[...r.names,...r.skips.map(S=>"-"+S)].join(",");return r.enable(""),h}function v(h){for(const S of r.skips)if(i(h,S))return!1;for(const S of r.names)if(i(h,S))return!0;return!1}function x(h){return h instanceof Error?h.stack||h.message:h}function m(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}var $w=Tw;(function(e,t){var r={};t.formatArgs=a,t.save=i,t.load=l,t.useColors=n,t.storage=v(),t.destroy=(()=>{let m=!1;return()=>{m||(m=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let m;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(m=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(m[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function a(m){if(m[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+m[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const h="color: "+this.color;m.splice(1,0,h,"color: inherit");let S=0,B=0;m[0].replace(/%[a-zA-Z%]/g,z=>{z!=="%%"&&(S++,z==="%c"&&(B=S))}),m.splice(B,0,h)}t.log=console.debug||console.log||(()=>{});function i(m){try{m?t.storage.setItem("debug",m):t.storage.removeItem("debug")}catch{}}function l(){let m;try{m=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!m&&typeof qr<"u"&&"env"in qr&&(m=r.DEBUG),m}function v(){try{return localStorage}catch{}}e.exports=$w(t);const{formatters:x}=e.exports;x.j=function(m){try{return JSON.stringify(m)}catch(h){return"[UnexpectedJSONParseError]: "+h.message}}})(xi,xi.exports);var Cw=xi.exports;const Hv=ms(Cw);function Rw(e,t){for(var r=-1,n=e.length;++r<n&&rn(t,e[r],0)>-1;);return r}function Bw(e,t,r){if(e=tt(e),e&&(r||t===void 0))return Is(e);if(!e||!(t=yr(t)))return e;var n=Jt(e),a=Jt(t),i=Rw(n,a),l=vu(n,a)+1;return Wr(n,i,l).join("")}const Gv=Object.freeze(Object.defineProperty({__proto__:null,default:Bw},Symbol.toStringTag,{value:"Module"}));var Fw=Math.min;function Iw(e,t,r){for(var n=Ui,a=e[0].length,i=e.length,l=i,v=Array(i),x=1/0,m=[];l--;){var h=e[l];l&&t&&(h=gt(h,vr(t))),x=Fw(h.length,x),v[l]=a>=120&&h.length>=120?new It(l&&h):void 0}h=e[0];var S=-1,B=v[0];e:for(;++S<a&&m.length<x;){var z=h[S],G=z;if(z=z!==0?z:0,!(B?pr(B,G):n(m,G))){for(l=i;--l;){var Z=v[l];if(!(Z?pr(Z,G):n(e[l],G)))continue e}B&&B.push(G),m.push(z)}}return m}function Nw(e){return Nt(e)?e:[]}var Wv=ft(function(e){var t=gt(e,Nw);return t.length&&t[0]===e[0]?Iw(t):[]}),Zv=ft(function(e){var t=tn(e);return Nt(t)&&(t=void 0),Xt(_r(e,1,Nt,!0),mt(t))});function Qi(e,t){return e&&ea(e,t,St)}function Pw(e,t){return function(r,n){if(r==null)return r;if(!Et(r))return e(r,n);for(var a=r.length,i=-1,l=Object(r);++i<a&&n(l[i],i,l)!==!1;);return r}}var eo=Pw(Qi);function Fu(e,t){var r=-1,n=Et(e)?Array(e.length):[];return eo(e,function(a,i,l){n[++r]=t(a,i,l)}),n}function Lw(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}function Uw(e,t){if(e!==t){var r=e!==void 0,n=e===null,a=e===e,i=Zt(e),l=t!==void 0,v=t===null,x=t===t,m=Zt(t);if(!v&&!m&&!i&&e>t||i&&l&&x&&!v&&!m||n&&l&&x||!r&&x||!a)return 1;if(!n&&!i&&!m&&e<t||m&&r&&a&&!n&&!i||v&&r&&a||!l&&a||!x)return-1}return 0}function Dw(e,t,r){for(var n=-1,a=e.criteria,i=t.criteria,l=a.length,v=r.length;++n<l;){var x=Uw(a[n],i[n]);if(x){if(n>=v)return x;var m=r[n];return x*(m=="desc"?-1:1)}}return e.index-t.index}function Iu(e,t,r){t.length?t=gt(t,function(i){return $e(i)?function(l){return br(l,i.length===1?i[0]:i)}:i}):t=[xr];var n=-1;t=gt(t,vr(mt));var a=Fu(e,function(i,l,v){var x=gt(t,function(m){return m(i)});return{criteria:x,index:++n,value:i}});return Lw(a,function(i,l){return Dw(i,l,r)})}var Jv=ft(function(e,t){if(e==null)return[];var r=t.length;return r>1&&fi(e,t[0],t[1])?t=[]:r>2&&fi(t[0],t[1],t[2])&&(t=[t[0]]),Iu(e,_r(t),[])});function jw(e){return function(t,r,n){var a=Object(t);if(!Et(t)){var i=mt(r);t=St(t),r=function(v){return i(a[v],v,a)}}var l=e(t,r,n);return l>-1?a[i?t[l]:l]:void 0}}var kw=Math.max;function qw(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var a=r==null?0:er(r);return a<0&&(a=kw(n+a,0)),pa(e,mt(t),a)}var Vv=jw(qw);function zw(e){return e&&e.length?Xt(e):[]}const Kv=Object.freeze(Object.defineProperty({__proto__:null,default:zw},Symbol.toStringTag,{value:"Module"}));var Hw=Math.ceil,Gw=Math.max;function Yv(e,t,r){t===void 0?t=1:t=Gw(er(t),0);var n=e==null?0:e.length;if(!n||t<1)return[];for(var a=0,i=0,l=Array(Hw(n/t));a<n;)l[i++]=Mi(e,a,a+=t);return l}function Ww(e,t,r,n){for(var a=-1,i=e==null?0:e.length;++a<i;){var l=e[a];t(n,l,r(l),e)}return n}function Zw(e,t,r,n){return eo(e,function(a,i,l){t(n,a,r(a),l)}),n}function Nu(e,t){return function(r,n){var a=$e(r)?Ww:Zw,i=t?t():{};return a(r,e,mt(n),i)}}var Jw=200;function Pu(e,t,r,n){var a=-1,i=Ui,l=!0,v=e.length,x=[],m=t.length;if(!v)return x;n?(i=ga,l=!1):t.length>=Jw&&(i=pr,l=!1,t=new It(t));e:for(;++a<v;){var h=e[a],S=h;if(h=n||h!==0?h:0,l&&S===S){for(var B=m;B--;)if(t[B]===S)continue e;x.push(h)}else i(t,S,n)||x.push(h)}return x}function Lu(e){return typeof e=="function"?e:xr}function Xv(e,t){var r=$e(e)?fa:eo;return r(e,Lu(t))}function Vw(e,t){var r=$e(e)?gt:Fu;return r(e,mt(t))}const Qv=Object.freeze(Object.defineProperty({__proto__:null,default:Vw},Symbol.toStringTag,{value:"Module"}));function Kw(e,t){return e&&Qi(e,Lu(t))}const eb=Object.freeze(Object.defineProperty({__proto__:null,default:Kw},Symbol.toStringTag,{value:"Module"}));function tb(e){return e==null?[]:Tu(e,St(e))}function rb(e){return typeof e=="number"&&e==er(e)}var nb=Nu(function(e,t,r){Mr(e,r,t)});function ib(e,t){var r={};return t=mt(t),Qi(e,function(n,a,i){Mr(r,a,t(n,a,i))}),r}function Yw(e,t){var r=e.length;if(r)return t+=t<0?r:0,wr(t,r)?e[t]:void 0}function ob(e){return e=er(e),ft(function(t){return Yw(t,e)})}function sb(e,t,r,n){return e==null?[]:($e(t)||(t=t==null?[]:[t]),r=r,$e(r)||(r=r==null?[]:[r]),Iu(e,t,r))}var Xw=Nu(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const ab=Object.freeze(Object.defineProperty({__proto__:null,default:Xw},Symbol.toStringTag,{value:"Module"}));var Qw=Array.prototype,ps=Qw.splice;function ev(e,t,r,n){var a=rn,i=-1,l=t.length,v=e;for(e===t&&(t=Ni(t));++i<l;)for(var x=0,m=t[i],h=m;(x=a(v,h,x))>-1;)v!==e&&ps.call(v,x,1),ps.call(e,x,1);return e}function tv(e,t){return e&&e.length&&t&&t.length?ev(e,t):e}var ub=ft(tv);function rv(e){return tt(e).toLowerCase()}const fb=Object.freeze(Object.defineProperty({__proto__:null,default:rv},Symbol.toStringTag,{value:"Module"}));function lb(e){return tt(e).toUpperCase()}var nv=ft(function(e){var t=tn(e);return t=typeof t=="function"?t:void 0,Xt(_r(e,1,Nt,!0),void 0,t)});const cb=Object.freeze(Object.defineProperty({__proto__:null,default:nv},Symbol.toStringTag,{value:"Module"}));var hb=ft(function(e,t){return Nt(e)?Pu(e,t):[]});function iv(e,t,r){var n=e.length;if(n<2)return n?Xt(e[0]):[];for(var a=-1,i=Array(n);++a<n;)for(var l=e[a],v=-1;++v<n;)v!=a&&(i[a]=Pu(i[a]||l,e[v],t,r));return Xt(_r(i),t,r)}var db=ft(function(e){var t=tn(e);return t=typeof t=="function"?t:void 0,iv(Ls(e,Nt),void 0,t)});export{et as $,Ea as A,ja as B,Ze as C,$d as D,Ce as E,Hv as F,Eg as G,Km as H,qv as I,V1 as J,Bw as K,G0 as L,$e as M,dp as N,Cw as O,Sw as P,Wv as Q,Ei as R,Jv as S,Zv as T,zv as U,Vv as V,Mv as W,hv as X,jv as Y,mm as Z,rb as _,pv as a,iu as a0,Nd as a1,Bm as a2,fp as a3,gr as a4,Dv as a5,Uv as a6,Lv as a7,H1 as a8,yv as a9,Aw as aA,Z1 as aB,ob as aC,cb as aD,fv as aE,ab as aF,hb as aG,ki as aH,tb as aI,ub as aJ,Qt as aK,zw as aL,Xm as aM,ib as aN,lb as aO,nb as aP,Ov as aa,hp as ab,lv as ac,Kv as ad,Ci as ae,cp as af,db as ag,Yv as ah,sb as ai,_t as aj,_p as ak,jt as al,Sd as am,z1 as an,eb as ao,mv as ap,Qv as aq,Xv as ar,Vw as as,kv as at,fb as au,Gv as av,wv as aw,gv as ax,xv as ay,bv as az,H0 as b,Wf as c,ua as d,Zs as e,Av as f,$t as g,Tv as h,Qr as i,$v as j,av as k,Rv as l,Bv as m,Qs as n,cv as o,Fv as p,uv as q,W1 as r,dv as s,vv as t,Cv as u,qr as v,Iv as w,Nv as x,Pv as y,ap as z};
|