@acedatacloud/nexior 3.171.0 → 3.173.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{Auth-Cp59Wmiw.js → Auth-jh0ZZN92.js} +1 -1
- package/dist/assets/{BotPlaceholder-CHhKWD1w.js → BotPlaceholder-BAmeiaSg.js} +1 -1
- package/dist/assets/{Callback-D-pAHK0a.js → Callback-B2MT5zta.js} +1 -1
- package/dist/assets/{Console-DW7kaGZ1.js → Console-bYf7elP-.js} +1 -1
- package/dist/assets/{Consumption-OATlAFxr.js → Consumption-Drv6bteX.js} +1 -1
- package/dist/assets/{Conversation-C9VA4Oot.js → Conversation-Bc3Iscg4.js} +1 -1
- package/dist/assets/{CopyToClipboard-sLoZUATy.js → CopyToClipboard-V1NyMTNY.js} +1 -1
- package/dist/assets/{Detail-eVeHu_WS.js → Detail-COdCrEbg.js} +2 -2
- package/dist/assets/{EditArray-B27tsiSg.js → EditArray-WIQOZ9tH.js} +1 -1
- package/dist/assets/{Extra-Br1Uwoy5.js → Extra-BsOW_-z3.js} +1 -1
- package/dist/assets/{FilePreview-Cg8uaQBS.js → FilePreview-DhQe3S4b.js} +1 -1
- package/dist/assets/{History-CBQ_hVQf.js → History-BitaQ4LP.js} +1 -1
- package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-BIxg9fKB.js → IconPark.vue_vue_type_script_setup_true_lang-B32A5X5p.js} +1 -1
- package/dist/assets/{ImagePreview-DC1yGIv-.js → ImagePreview-D70qHxw2.js} +1 -1
- package/dist/assets/{ImageWrapper-CswqCFR0.js → ImageWrapper-OFQD2AFe.js} +1 -1
- package/dist/assets/{Index-CDIjoON9.js → Index-0ZUeVeGS.js} +1 -1
- package/dist/assets/{Index-C_SzW-BL.js → Index-0uxkH-NV.js} +1 -1
- package/dist/assets/{Index-DS4ARgBN.js → Index-1mSTtLMx.js} +1 -1
- package/dist/assets/{Index-eV8wZGk3.js → Index-62ys5ura.js} +1 -1
- package/dist/assets/{Index-C4qPkHis.js → Index-B1F63pUG.js} +1 -1
- package/dist/assets/{Index-Dl-j5EOx.js → Index-BEotZHau.js} +1 -1
- package/dist/assets/{Index-Clv-VOQb.js → Index-BLgDn1EJ.js} +1 -1
- package/dist/assets/{Index-DfKUONze.js → Index-BNSyJPyQ.js} +1 -1
- package/dist/assets/{Index-CDR0VSQM.js → Index-B_R_0Wo2.js} +1 -1
- package/dist/assets/{Index-cokSPW0v.js → Index-B_e4OS3Q.js} +1 -1
- package/dist/assets/{Index-CBUg6wCN.js → Index-BvZ8mGeV.js} +1 -1
- package/dist/assets/{Index-BzAv59ut.js → Index-Bwl5zgSO.js} +1 -1
- package/dist/assets/{Index-WONzpkZJ.js → Index-C-YU9cWT.js} +1 -1
- package/dist/assets/{Index-xOFtArC_.js → Index-CII7X45H.js} +1 -1
- package/dist/assets/{Index-B9fmenqE.js → Index-COKLWnzo.js} +1 -1
- package/dist/assets/{Index-CUONfmH9.js → Index-CV30HhXO.js} +1 -1
- package/dist/assets/{Index-C7YvGQJC.js → Index-D7vhsrdU.js} +1 -1
- package/dist/assets/{Index-BPqsGpO0.js → Index-DFBjOxTF.js} +1 -1
- package/dist/assets/Index-DSWBy0b_.js +1 -0
- package/dist/assets/{Index-DOl1cqK8.js → Index-DUnVdocC.js} +1 -1
- package/dist/assets/{Index-tJ5hZV8b.js → Index-KNE1prbH.js} +1 -1
- package/dist/assets/{Index-CxTmjtm_.js → Index-Q6VfbCsL.js} +1 -1
- package/dist/assets/{Index-Dydp55OO.js → Index-dhL15K-P.js} +1 -1
- package/dist/assets/{Index-BHbj4W7M.js → Index-ho5XcmqR.js} +1 -1
- package/dist/assets/{Invitees-BFwjiXfB.js → Invitees-BE81KcFA.js} +1 -1
- package/dist/assets/{List-BRENyz3G.js → List-B5ZJHIBJ.js} +1 -1
- package/dist/assets/{List-BEWQEZdd.js → List-DGAci87B.js} +1 -1
- package/dist/assets/{List-BlYqWg6d.js → List-DZ6MAQQn.js} +1 -1
- package/dist/assets/{Main-C1osywOl.js → Main-Q5FG1Ply.js} +1 -1
- package/dist/assets/{Navigator-ChMOflz9.js → Navigator-Cdd33m2q.js} +1 -1
- package/dist/assets/{Navigator-CU4Rw7wm.css → Navigator-DOpj6N4Y.css} +1 -1
- package/dist/assets/{NoTasks-mDpomjBm.js → NoTasks-eP2VR8V5.js} +1 -1
- package/dist/assets/{NotFound-CU6zBHhS.js → NotFound-OSG4qZGJ.js} +1 -1
- package/dist/assets/{OAuthCallback-sdBMaJXv.js → OAuthCallback-ChdHkUML.js} +1 -1
- package/dist/assets/{Pagination-BHOE4lao.js → Pagination-DCIdMZ5j.js} +1 -1
- package/dist/assets/{Status-juoLMEFE.js → Status-bcDCwayp.js} +1 -1
- package/dist/assets/{Subscribe-DM1cJnbq.js → Subscribe-m8GoNSB-.js} +1 -1
- package/dist/assets/{VideoPlayer-CSsRwO-p.js → VideoPlayer-CA4OnHA9.js} +1 -1
- package/dist/assets/{_Uint8Array-DBwyuLEd.js → _Uint8Array-CyfPF6VW.js} +1 -1
- package/dist/assets/{_baseClone-BEzNjaw5.js → _baseClone-BeEiURE3.js} +1 -1
- package/dist/assets/{_baseIteratee-BZtBRHel.js → _baseIteratee-C31ouPtM.js} +1 -1
- package/dist/assets/{_initCloneObject-COIbuV6v.js → _initCloneObject-Bw5nVgq5.js} +1 -1
- package/dist/assets/{add-BdUJ3wHj.js → add-BhsGL9Ji.js} +1 -1
- package/dist/assets/{all-wallets-C_x9B-Gn.js → all-wallets-Jz8UmDWW.js} +1 -1
- package/dist/assets/{app-store-Bvbi9Keo.js → app-store-DLUXIq_b.js} +1 -1
- package/dist/assets/{apple-BSpivjSX.js → apple-ChSm0UA-.js} +1 -1
- package/dist/assets/{arrow-bottom-CtMjWci3.js → arrow-bottom-D7CJiAZi.js} +1 -1
- package/dist/assets/{arrow-bottom-circle-jRPoFXTe.js → arrow-bottom-circle-D4RS5gPy.js} +1 -1
- package/dist/assets/{arrow-left-CDIngzM3.js → arrow-left-BppTA86y.js} +1 -1
- package/dist/assets/{arrow-right-DNt0CrXL.js → arrow-right-BJ-9l7ZM.js} +1 -1
- package/dist/assets/{arrow-top-DpWRN4ds.js → arrow-top-yV-2l968.js} +1 -1
- package/dist/assets/{avatar-DEn8zDAt.js → avatar-Dn5o4vA2.js} +1 -1
- package/dist/assets/{bank-Ds0Mv6fO.js → bank-D4UBMwXG.js} +1 -1
- package/dist/assets/{basic-B3L5zJVW.js → basic-DqFVqCkP.js} +1 -1
- package/dist/assets/{browser-ClGRbn88.js → browser-2QwQGdoG.js} +1 -1
- package/dist/assets/{byokCredential-DSN7bvuK.js → byokCredential-lkbtTUq-.js} +1 -1
- package/dist/assets/{card-DCrI0ckk.js → card-Yz7rmto0.js} +1 -1
- package/dist/assets/{castArray-BqBjQ3IM.js → castArray-Der68lr9.js} +1 -1
- package/dist/assets/{chat-B77mMXqy.js → chat-DxHXcRKH.js} +1 -1
- package/dist/assets/{checkmark-DUINAXzV.js → checkmark-DQPoSM9x.js} +1 -1
- package/dist/assets/{checkmark-bold-BeCEH6bm.js → checkmark-bold-BMaZNALY.js} +1 -1
- package/dist/assets/{chevron-bottom--eB86go9.js → chevron-bottom-B8OkcVWQ.js} +1 -1
- package/dist/assets/{chevron-left-jccada1g.js → chevron-left-DhtLskoU.js} +1 -1
- package/dist/assets/{chevron-right-DxnFPAmK.js → chevron-right-BzByNQZh.js} +1 -1
- package/dist/assets/{chevron-top-BOap2-EL.js → chevron-top-D1ut1Dw5.js} +1 -1
- package/dist/assets/{chrome-store-pXqUg25C.js → chrome-store-C1Gh_jEu.js} +1 -1
- package/dist/assets/{clock-C3KtFo2s.js → clock-CApkyJ0U.js} +1 -1
- package/dist/assets/{close-wP7uSyzp.js → close-D_bmaFMw.js} +1 -1
- package/dist/assets/{coinPlaceholder-CKM-NDj7.js → coinPlaceholder-Boj3fFPa.js} +1 -1
- package/dist/assets/{compass-CnLEacK-.js → compass-wtwctDjN.js} +1 -1
- package/dist/assets/{copy-DpIOSXG-.js → copy-C4SGSXMb.js} +1 -1
- package/dist/assets/{createTaskActions-CjIzgOrW.js → createTaskActions-CbcoQE4b.js} +1 -1
- package/dist/assets/{cursor-BZjkGw34.js → cursor-C4LrIfoI.js} +1 -1
- package/dist/assets/{cursor-transparent-B6rk-oov.js → cursor-transparent-nvW9ugc7.js} +1 -1
- package/dist/assets/{debounce-DqdXAlzO.js → debounce-BVJOHzH1.js} +1 -1
- package/dist/assets/{desktop-OzBV6O9W.js → desktop-BT9exxTb.js} +1 -1
- package/dist/assets/{disconnect-hhXZW3oo.js → disconnect-8BO5UJvt.js} +1 -1
- package/dist/assets/{discord-CGo_weTU.js → discord-CsFFUnZY.js} +1 -1
- package/dist/assets/{distribution-BZ-vu4Zu.js → distribution-C3Xf2FRJ.js} +1 -1
- package/dist/assets/{dropdown-Be4EMcgs.js → dropdown-CrlGJEmS.js} +1 -1
- package/dist/assets/{etherscan-BmDJCVuW.js → etherscan-DLnajzUb.js} +1 -1
- package/dist/assets/{exclamation-triangle-BObUFRsR.js → exclamation-triangle-CCFV0DlT.js} +1 -1
- package/dist/assets/{extension-DjUpTHX0.js → extension-DYNYWRco.js} +1 -1
- package/dist/assets/{external-link-CIQENuk6.js → external-link-BBl8tJof.js} +1 -1
- package/dist/assets/{facebook-MZbVBFn7.js → facebook-D_aoC9fB.js} +1 -1
- package/dist/assets/{farcaster-BW7M1uEo.js → farcaster-9j28UFs-.js} +1 -1
- package/dist/assets/{filters-SZoPMvjt.js → filters-CGiUmHln.js} +1 -1
- package/dist/assets/{github-CKDJo6G9.js → github-CPl3spZM.js} +1 -1
- package/dist/assets/{google-Z9QeqFy2.js → google-F2-b_8Ly.js} +1 -1
- package/dist/assets/{help-circle-nJaA46Zo.js → help-circle-BH-l8-l_.js} +1 -1
- package/dist/assets/{id-DW5QpCie.js → id-BUyXOU46.js} +1 -1
- package/dist/assets/{image-BOzNVZK1.js → image-CG9Ug-XU.js} +1 -1
- package/dist/assets/{index-CHKn5drI.js → index-5Hnr9rrG.js} +1 -1
- package/dist/assets/{index-2IltcxdV.js → index-5N7cRyo9.js} +1 -1
- package/dist/assets/{index-CSSTzBy_.js → index-6JI8uNOP.js} +1 -1
- package/dist/assets/{index-CPap2_rB.js → index-B3p10ZSI.js} +1 -1
- package/dist/assets/{index-C0kBCkCE.js → index-B6gpKO8q.js} +1 -1
- package/dist/assets/{index-DESC9Ac7.js → index-B7xK5S9H.js} +1 -1
- package/dist/assets/{index-Dyf4PAPu.js → index-B8fR9JeQ.js} +1 -1
- package/dist/assets/{index-CGOcFGGs.js → index-BDpjLq7I.js} +1 -1
- package/dist/assets/{index-DBGXBiyP.js → index-BHT7fAHG.js} +1 -1
- package/dist/assets/{index-DjAf4cK0.js → index-BKdIG1A_.js} +1 -1
- package/dist/assets/{index-CMSzPY-s.js → index-BPkczI0W.js} +1 -1
- package/dist/assets/{index-DxFlUCW5.js → index-BSPulHhS.js} +1 -1
- package/dist/assets/{index-SuuTvQVk.js → index-BVMZpdQK.js} +1 -1
- package/dist/assets/{index-BVvciCEL.js → index-BXSRHbLY.js} +1 -1
- package/dist/assets/{index-D0kIg8mF.js → index-BZ19VRa3.js} +1 -1
- package/dist/assets/{index-B_oZZfCd.js → index-BaAsYCwb.js} +1 -1
- package/dist/assets/{index-DGNjQsCL.js → index-Bb8yGks3.js} +1 -1
- package/dist/assets/{index-BPHPEDCf.js → index-Bd4oS1aW.js} +1 -1
- package/dist/assets/{index-Ditn8hXX.js → index-Bhrh6cJ-.js} +1 -1
- package/dist/assets/{index-9SVyxGs4.js → index-Bl3vDw7B.js} +1 -1
- package/dist/assets/{index-CUdBsDKP.js → index-BodwVba4.js} +1 -1
- package/dist/assets/{index-EGQh8Uo0.js → index-BqYgySVZ.js} +1 -1
- package/dist/assets/{index-B_7gJYj4.js → index-BqkTkxY5.js} +1 -1
- package/dist/assets/{index-anfLrdJD.js → index-ByvZJuWo.js} +2 -2
- package/dist/assets/{index-nB1Hi1wd.js → index-C1QOoZV_.js} +1 -1
- package/dist/assets/{index-CiNYjplf.js → index-C5mwexM9.js} +1 -1
- package/dist/assets/{index-BV6KEj8Z.js → index-C6NUEF6s.js} +1 -1
- package/dist/assets/{index-Df7smySz.js → index-C9NtGaCP.js} +1 -1
- package/dist/assets/{index-a6K_-36R.js → index-CNhecB0s.js} +3 -3
- package/dist/assets/{index-Vb7d-TR4.js → index-CTh1yAsI.js} +1 -1
- package/dist/assets/{index-gFWKK1nV.js → index-Ce5es3P8.js} +1 -1
- package/dist/assets/{index-Oeeo1N3Z.js → index-Cq7FN3c_.js} +1 -1
- package/dist/assets/{index-CdnrDrdJ.js → index-Cw-Yg8TM.js} +1 -1
- package/dist/assets/{index-bGmow-wY.js → index-D4QsmmfZ.js} +1 -1
- package/dist/assets/{index-DAtRHLgV.js → index-D5m77nwk.js} +1 -1
- package/dist/assets/{index-BToUH2_-.js → index-DA-DM9ZK.js} +1 -1
- package/dist/assets/{index-Y1vaziNK.js → index-DF4O1Fsf.js} +1 -1
- package/dist/assets/{index-CDhTQzgu.js → index-DKIyW-3t.js} +1 -1
- package/dist/assets/{index-Cl4AEdy5.js → index-DW94oSR6.js} +1 -1
- package/dist/assets/{index-CcO8iFag.js → index-DffF7j9e.js} +1 -1
- package/dist/assets/{index-D-Y1QMKw.js → index-DgjLWvEx.js} +1 -1
- package/dist/assets/{index-jPBfz-k0.js → index-DhTaZwWl.js} +1 -1
- package/dist/assets/{index-BN1Wo4YM.js → index-DlIa-p-K.js} +1 -1
- package/dist/assets/{index-6--OU9dU.js → index-Dpqu7-cy.js} +5 -5
- package/dist/assets/{index-kQqkhSg_.js → index-DqfTiFCR.js} +1 -1
- package/dist/assets/{index-D7bbYc46.js → index-DqufircO.js} +1 -1
- package/dist/assets/{index-Wr0vJjz2.js → index-DsB7RMYf.js} +1 -1
- package/dist/assets/{index-B_Ep3UCH.js → index-DtklIptd.js} +1 -1
- package/dist/assets/{index-DJYawjBl.js → index-E0ZRPsBw.js} +1 -1
- package/dist/assets/{index-Ga-XBVnv.js → index-E6uB1Elp.js} +1 -1
- package/dist/assets/{index-2wizd-FP.js → index-FK1k4Ija.js} +1 -1
- package/dist/assets/{index-C2GiZHGJ.js → index-QbLLbfPW.js} +1 -1
- package/dist/assets/{index-BXTNQlkh.js → index-Z8rSd-BS.js} +1 -1
- package/dist/assets/{index-86jD_Yp2.js → index-ZkmVysx6.js} +1 -1
- package/dist/assets/{index-DbPP8z5i.js → index-bSbIYA2j.js} +1 -1
- package/dist/assets/{index-qkHjER5H.js → index-eCphWsDS.js} +1 -1
- package/dist/assets/{index-DuBBgV2_.js → index-l_y8BmtI.js} +1 -1
- package/dist/assets/{index-B3bb1pl6.js → index-miQqEqXs.js} +1 -1
- package/dist/assets/{index-qFuAMDbZ.js → index-nPnFMLZb.js} +4 -4
- package/dist/assets/{index-DeaZoUiy.js → index-ynqo7OsA.js} +1 -1
- package/dist/assets/{index.browser.esm-CHzGq_oX.js → index.browser.esm-C9AI1tBm.js} +1 -1
- package/dist/assets/{index.es-CDPFvyel.js → index.es-BH4uN91Z.js} +1 -1
- package/dist/assets/{info-Eg3fbiPk.js → info-DiXTGFNt.js} +1 -1
- package/dist/assets/{info-circle-C3LagQyA.js → info-circle-DHaP2CFa.js} +1 -1
- package/dist/assets/{isEqual-ayKYUYxb.js → isEqual-DM3XTNsV.js} +1 -1
- package/dist/assets/{isPlainObject-BYPrvrem.js → isPlainObject-BXsz2z6D.js} +1 -1
- package/dist/assets/{lightbulb-B6SzmbQO.js → lightbulb-BZC-DHrA.js} +1 -1
- package/dist/assets/{mail-B1Eml30J.js → mail-RNyfuN-W.js} +1 -1
- package/dist/assets/{midjourney-CDkQkRqS.js → midjourney-Dmcoxlab.js} +1 -1
- package/dist/assets/{mobile-B_iQjw-h.js → mobile-dIa8Qlo8.js} +1 -1
- package/dist/assets/{more-CTRdXLaD.js → more-C3y8VEpT.js} +1 -1
- package/dist/assets/{network-placeholder-BFLhtUUo.js → network-placeholder-Di8Ir-YV.js} +1 -1
- package/dist/assets/{nftPlaceholder-BBMaZ4hw.js → nftPlaceholder-BwIJM3Fk.js} +1 -1
- package/dist/assets/{off-By2HNoax.js → off-C8VtaNGj.js} +1 -1
- package/dist/assets/{order-DUxBZAEp.js → order-C7FqxnI6.js} +1 -1
- package/dist/assets/{pagination-DAmKU21e.js → pagination-DhYqDUB_.js} +1 -1
- package/dist/assets/{play-store-DzkRw43u.js → play-store-CnNjsEh2.js} +1 -1
- package/dist/assets/{plus-CQmiMkOJ.js → plus-KA5aPCv5.js} +1 -1
- package/dist/assets/{price-CEZBAo0j.js → price-CYvAK59l.js} +1 -1
- package/dist/assets/{producer-BSFpTi9T.js → producer-CI0Tie2I.js} +1 -1
- package/dist/assets/{qr-code-BXb784jA.js → qr-code-CaX7abO9.js} +1 -1
- package/dist/assets/{recycle-horizontal-_C06yNpt.js → recycle-horizontal-BYBb6Iqx.js} +1 -1
- package/dist/assets/{refresh-CaWZyO0y.js → refresh-D5oAQl8a.js} +1 -1
- package/dist/assets/{reown-logo-DdXKPgSg.js → reown-logo-A08e-oFo.js} +1 -1
- package/dist/assets/{search-BS7DDpDw.js → search-tjP0AdaT.js} +1 -1
- package/dist/assets/{secp256k1-dm_GN4L5.js → secp256k1-B4sgj4Kf.js} +1 -1
- package/dist/assets/{secp256k1-MN-CP4RI.js → secp256k1-ud6CEqBP.js} +1 -1
- package/dist/assets/{seedream-ClGo-4XM.js → seedream-DN-mm6B6.js} +1 -1
- package/dist/assets/{send-DY9yG81Z.js → send-CKDRul6U.js} +1 -1
- package/dist/assets/{service-CGpPIbUL.js → service-Kxoq07IF.js} +1 -1
- package/dist/assets/{solana-wallets-CA-u5IJj.js → solana-wallets-Dccw05_h.js} +2 -2
- package/dist/assets/{solana-wallets-vue-DXMu3w_o.js → solana-wallets-vue-RZQ3Iw_r.js} +1 -1
- package/dist/assets/subsite-C2zsAM3_.js +1 -0
- package/dist/assets/subsite-DfqmJ9Fe.js +1 -0
- package/dist/assets/{suno-BGr9-l7M.js → suno-gbwRhicD.js} +1 -1
- package/dist/assets/{swapHorizontal-MWKzwm2n.js → swapHorizontal-B2vywvfp.js} +1 -1
- package/dist/assets/{swapHorizontalBold-Be3nord6.js → swapHorizontalBold-BH7PVj_N.js} +1 -1
- package/dist/assets/{swapHorizontalMedium-CTssgpMe.js → swapHorizontalMedium-CGPXZA4N.js} +1 -1
- package/dist/assets/{swapHorizontalRoundedBold-BaruK0X1.js → swapHorizontalRoundedBold-B9xNJ8fh.js} +1 -1
- package/dist/assets/{swapVertical-BrZ1r-kq.js → swapVertical-7s6PYlD7.js} +1 -1
- package/dist/assets/{telegram-DM1VR1gI.js → telegram-Sg93eiKl.js} +1 -1
- package/dist/assets/{three-dots-DA5MuQEx.js → three-dots-Bt2IqAre.js} +1 -1
- package/dist/assets/{twitch-D5pOnDY8.js → twitch-C1HvydcU.js} +1 -1
- package/dist/assets/{twitterIcon-CEv0pY_a.js → twitterIcon-DvtWKC2X.js} +1 -1
- package/dist/assets/{typescript-BMlz9EKI.js → typescript-DqUKgTtA.js} +1 -1
- package/dist/assets/{use-form-item-B1DR4GI-.js → use-form-item-qu77DoJy.js} +1 -1
- package/dist/assets/validator-CSjhXEMt.js +1 -0
- package/dist/assets/{verify-B4b9yqXd.js → verify-BQvoYwb7.js} +1 -1
- package/dist/assets/{verify-filled-D6NqpQQx.js → verify-filled-JbI17CY9.js} +1 -1
- package/dist/assets/{w3m-modal-Dgq4o2rj.js → w3m-modal-B3ya3fe8.js} +1 -1
- package/dist/assets/{wallet-DKLXWflU.js → wallet-DyXzeNoa.js} +1 -1
- package/dist/assets/{wallet-placeholder-DSTu2Sah.js → wallet-placeholder-CpS5JZbv.js} +1 -1
- package/dist/assets/{walletconnect-CUxsbe9C.js → walletconnect-n35YZdSk.js} +1 -1
- package/dist/assets/{warning-circle-DdpwMcxp.js → warning-circle-DqOYkoiO.js} +1 -1
- package/dist/assets/{web-C9SgJhAX.js → web-DZYdlR5s.js} +1 -1
- package/dist/assets/{web-el1WqWXx.js → web-I0MPDssr.js} +1 -1
- package/dist/assets/{x-BFS0q9Yv.js → x-DvliV1No.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/Index-C8whg1xy.js +0 -1
- package/dist/assets/subsite-BQp7yNtO.js +0 -1
- package/dist/assets/subsite-CdILBSzS.js +0 -1
- package/dist/assets/validator-dv6q1tDx.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{H as Xt,c as St,a as xt,t as Qt,b as de,d as he,r as P,e as ge,f as we,g as pe,h as be}from"./index-6--OU9dU.js";import"./index.browser.esm-CHzGq_oX.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-qFuAMDbZ.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";function ye(n,e,t,r){if(typeof n.setBigUint64=="function")return n.setBigUint64(e,t,r);const o=BigInt(32),s=BigInt(4294967295),c=Number(t>>o&s),f=Number(t&s),i=r?4:0,u=r?0:4;n.setUint32(e+i,c,r),n.setUint32(e+u,f,r)}function me(n,e,t){return n&e^~n&t}function xe(n,e,t){return n&e^n&t^e&t}class Ee extends Xt{constructor(e,t,r,o){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=St(this.buffer)}update(e){xt(this);const{view:t,buffer:r,blockLen:o}=this;e=Qt(e);const s=e.length;for(let c=0;c<s;){const f=Math.min(o-this.pos,s-c);if(f===o){const i=St(e);for(;o<=s-c;c+=o)this.process(i,c);continue}r.set(e.subarray(c,c+f),this.pos),this.pos+=f,c+=f,this.pos===o&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){xt(this),de(e,this),this.finished=!0;const{buffer:t,view:r,blockLen:o,isLE:s}=this;let{pos:c}=this;t[c++]=128,this.buffer.subarray(c).fill(0),this.padOffset>o-c&&(this.process(r,0),c=0);for(let h=c;h<o;h++)t[h]=0;ye(r,o-8,BigInt(this.length*8),s),this.process(r,0);const f=St(e),i=this.outputLen;if(i%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=i/4,y=this.get();if(u>y.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<u;h++)f.setUint32(4*h,y[h],s)}digest(){const{buffer:e,outputLen:t}=this;this.digestInto(e);const r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:t,buffer:r,length:o,finished:s,destroyed:c,pos:f}=this;return e.length=o,e.pos=f,e.finished=s,e.destroyed=c,o%t&&e.buffer.set(r),e}}const Be=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Q=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),J=new Uint32Array(64);class ve extends Ee{constructor(){super(64,32,8,!1),this.A=Q[0]|0,this.B=Q[1]|0,this.C=Q[2]|0,this.D=Q[3]|0,this.E=Q[4]|0,this.F=Q[5]|0,this.G=Q[6]|0,this.H=Q[7]|0}get(){const{A:e,B:t,C:r,D:o,E:s,F:c,G:f,H:i}=this;return[e,t,r,o,s,c,f,i]}set(e,t,r,o,s,c,f,i){this.A=e|0,this.B=t|0,this.C=r|0,this.D=o|0,this.E=s|0,this.F=c|0,this.G=f|0,this.H=i|0}process(e,t){for(let h=0;h<16;h++,t+=4)J[h]=e.getUint32(t,!1);for(let h=16;h<64;h++){const l=J[h-15],m=J[h-2],N=P(l,7)^P(l,18)^l>>>3,b=P(m,17)^P(m,19)^m>>>10;J[h]=b+J[h-7]+N+J[h-16]|0}let{A:r,B:o,C:s,D:c,E:f,F:i,G:u,H:y}=this;for(let h=0;h<64;h++){const l=P(f,6)^P(f,11)^P(f,25),m=y+l+me(f,i,u)+Be[h]+J[h]|0,b=(P(r,2)^P(r,13)^P(r,22))+xe(r,o,s)|0;y=u,u=i,i=f,f=c+m|0,c=s,s=o,o=r,r=m+b|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,f=f+this.E|0,i=i+this.F|0,u=u+this.G|0,y=y+this.H|0,this.set(r,o,s,c,f,i,u,y)}roundClean(){J.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Se=he(()=>new ve);const zt=BigInt(0),Jt=BigInt(1),Ae=BigInt(2);function it(n){return n instanceof Uint8Array||ArrayBuffer.isView(n)&&n.constructor.name==="Uint8Array"}function bt(n){if(!it(n))throw new Error("Uint8Array expected")}function at(n,e){if(typeof e!="boolean")throw new Error(n+" boolean expected, got "+e)}const Ie=Array.from({length:256},(n,e)=>e.toString(16).padStart(2,"0"));function ut(n){bt(n);let e="";for(let t=0;t<n.length;t++)e+=Ie[n[t]];return e}function gt(n){const e=n.toString(16);return e.length&1?"0"+e:e}function Ct(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);return n===""?zt:BigInt("0x"+n)}const D={_0:48,_9:57,A:65,F:70,a:97,f:102};function jt(n){if(n>=D._0&&n<=D._9)return n-D._0;if(n>=D.A&&n<=D.F)return n-(D.A-10);if(n>=D.a&&n<=D.f)return n-(D.a-10)}function wt(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);const e=n.length,t=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(t);for(let o=0,s=0;o<t;o++,s+=2){const c=jt(n.charCodeAt(s)),f=jt(n.charCodeAt(s+1));if(c===void 0||f===void 0){const i=n[s]+n[s+1];throw new Error('hex string expected, got non-hex character "'+i+'" at index '+s)}r[o]=c*16+f}return r}function rt(n){return Ct(ut(n))}function Zt(n){return bt(n),Ct(ut(Uint8Array.from(n).reverse()))}function lt(n,e){return wt(n.toString(16).padStart(e*2,"0"))}function Rt(n,e){return lt(n,e).reverse()}function K(n,e,t){let r;if(typeof e=="string")try{r=wt(e)}catch(s){throw new Error(n+" must be hex string or Uint8Array, cause: "+s)}else if(it(e))r=Uint8Array.from(e);else throw new Error(n+" must be hex string or Uint8Array");const o=r.length;if(typeof t=="number"&&o!==t)throw new Error(n+" of length "+t+" expected, got "+o);return r}function pt(...n){let e=0;for(let r=0;r<n.length;r++){const o=n[r];bt(o),e+=o.length}const t=new Uint8Array(e);for(let r=0,o=0;r<n.length;r++){const s=n[r];t.set(s,o),o+=s.length}return t}const At=n=>typeof n=="bigint"&&zt<=n;function Et(n,e,t){return At(n)&&At(e)&&At(t)&&e<=n&&n<t}function ot(n,e,t,r){if(!Et(e,t,r))throw new Error("expected valid "+n+": "+t+" <= n < "+r+", got "+e)}function te(n){let e;for(e=0;n>zt;n>>=Jt,e+=1);return e}const Mt=n=>(Ae<<BigInt(n-1))-Jt,It=n=>new Uint8Array(n),Yt=n=>Uint8Array.from(n);function ee(n,e,t){if(typeof n!="number"||n<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof t!="function")throw new Error("hmacFn must be a function");let r=It(n),o=It(n),s=0;const c=()=>{r.fill(1),o.fill(0),s=0},f=(...h)=>t(o,r,...h),i=(h=It())=>{o=f(Yt([0]),h),r=f(),h.length!==0&&(o=f(Yt([1]),h),r=f())},u=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let h=0;const l=[];for(;h<e;){r=f();const m=r.slice();l.push(m),h+=r.length}return pt(...l)};return(h,l)=>{c(),i(h);let m;for(;!(m=l(u()));)i();return c(),m}}const Ne={bigint:n=>typeof n=="bigint",function:n=>typeof n=="function",boolean:n=>typeof n=="boolean",string:n=>typeof n=="string",stringOrUint8Array:n=>typeof n=="string"||it(n),isSafeInteger:n=>Number.isSafeInteger(n),array:n=>Array.isArray(n),field:(n,e)=>e.Fp.isValid(n),hash:n=>typeof n=="function"&&Number.isSafeInteger(n.outputLen)};function yt(n,e,t={}){const r=(o,s,c)=>{const f=Ne[s];if(typeof f!="function")throw new Error("invalid validator function");const i=n[o];if(!(c&&i===void 0)&&!f(i,n))throw new Error("param "+String(o)+" is invalid. Expected "+s+", got "+i)};for(const[o,s]of Object.entries(e))r(o,s,!1);for(const[o,s]of Object.entries(t))r(o,s,!0);return n}function Ht(n){const e=new WeakMap;return(t,...r)=>{const o=e.get(t);if(o!==void 0)return o;const s=n(t,...r);return e.set(t,s),s}}const qe=Object.freeze(Object.defineProperty({__proto__:null,aInRange:ot,abool:at,abytes:bt,bitLen:te,bitMask:Mt,bytesToHex:ut,bytesToNumberBE:rt,bytesToNumberLE:Zt,concatBytes:pt,createHmacDrbg:ee,ensureBytes:K,hexToBytes:wt,hexToNumber:Ct,inRange:Et,isBytes:it,memoized:Ht,numberToBytesBE:lt,numberToBytesLE:Rt,numberToHexUnpadded:gt,validateObject:yt},Symbol.toStringTag,{value:"Module"}));class ne extends Xt{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,ge(e);const r=Qt(t);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?e.create().update(r).digest():r);for(let c=0;c<s.length;c++)s[c]^=54;this.iHash.update(s),this.oHash=e.create();for(let c=0;c<s.length;c++)s[c]^=106;this.oHash.update(s),s.fill(0)}update(e){return xt(this),this.iHash.update(e),this}digestInto(e){xt(this),we(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:t,iHash:r,finished:o,destroyed:s,blockLen:c,outputLen:f}=this;return e=e,e.finished=o,e.destroyed=s,e.blockLen=c,e.outputLen=f,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const re=(n,e,t)=>new ne(n,e).update(t).digest();re.create=(n,e)=>new ne(n,e);const z=BigInt(0),_=BigInt(1),nt=BigInt(2),Oe=BigInt(3),Ut=BigInt(4),Ft=BigInt(5),Kt=BigInt(8);function V(n,e){const t=n%e;return t>=z?t:e+t}function Le(n,e,t){if(e<z)throw new Error("invalid exponent, negatives unsupported");if(t<=z)throw new Error("invalid modulus");if(t===_)return z;let r=_;for(;e>z;)e&_&&(r=r*n%t),n=n*n%t,e>>=_;return r}function Y(n,e,t){let r=n;for(;e-- >z;)r*=r,r%=t;return r}function _t(n,e){if(n===z)throw new Error("invert: expected non-zero number");if(e<=z)throw new Error("invert: expected positive modulus, got "+e);let t=V(n,e),r=e,o=z,s=_;for(;t!==z;){const f=r/t,i=r%t,u=o-s*f;r=t,t=i,o=s,s=u}if(r!==_)throw new Error("invert: does not exist");return V(o,e)}function He(n){const e=(n-_)/nt;let t,r,o;for(t=n-_,r=0;t%nt===z;t/=nt,r++);for(o=nt;o<n&&Le(o,e,n)!==n-_;o++)if(o>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const c=(n+_)/Ut;return function(i,u){const y=i.pow(u,c);if(!i.eql(i.sqr(y),u))throw new Error("Cannot find square root");return y}}const s=(t+_)/nt;return function(f,i){if(f.pow(i,e)===f.neg(f.ONE))throw new Error("Cannot find square root");let u=r,y=f.pow(f.mul(f.ONE,o),t),h=f.pow(i,s),l=f.pow(i,t);for(;!f.eql(l,f.ONE);){if(f.eql(l,f.ZERO))return f.ZERO;let m=1;for(let b=f.sqr(l);m<u&&!f.eql(b,f.ONE);m++)b=f.sqr(b);const N=f.pow(y,_<<BigInt(u-m-1));y=f.sqr(N),h=f.mul(h,N),l=f.mul(l,y),u=m}return h}}function Ue(n){if(n%Ut===Oe){const e=(n+_)/Ut;return function(r,o){const s=r.pow(o,e);if(!r.eql(r.sqr(s),o))throw new Error("Cannot find square root");return s}}if(n%Kt===Ft){const e=(n-Ft)/Kt;return function(r,o){const s=r.mul(o,nt),c=r.pow(s,e),f=r.mul(o,c),i=r.mul(r.mul(f,nt),c),u=r.mul(f,r.sub(i,r.ONE));if(!r.eql(r.sqr(u),o))throw new Error("Cannot find square root");return u}}return He(n)}const _e=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Te(n){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},t=_e.reduce((r,o)=>(r[o]="function",r),e);return yt(n,t)}function ke(n,e,t){if(t<z)throw new Error("invalid exponent, negatives unsupported");if(t===z)return n.ONE;if(t===_)return e;let r=n.ONE,o=e;for(;t>z;)t&_&&(r=n.mul(r,o)),o=n.sqr(o),t>>=_;return r}function ze(n,e){const t=new Array(e.length),r=e.reduce((s,c,f)=>n.is0(c)?s:(t[f]=s,n.mul(s,c)),n.ONE),o=n.inv(r);return e.reduceRight((s,c,f)=>n.is0(c)?s:(t[f]=n.mul(s,t[f]),n.mul(s,c)),o),t}function oe(n,e){const t=e!==void 0?e:n.toString(2).length,r=Math.ceil(t/8);return{nBitLength:t,nByteLength:r}}function ie(n,e,t=!1,r={}){if(n<=z)throw new Error("invalid field: expected ORDER > 0, got "+n);const{nBitLength:o,nByteLength:s}=oe(n,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let c;const f=Object.freeze({ORDER:n,isLE:t,BITS:o,BYTES:s,MASK:Mt(o),ZERO:z,ONE:_,create:i=>V(i,n),isValid:i=>{if(typeof i!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof i);return z<=i&&i<n},is0:i=>i===z,isOdd:i=>(i&_)===_,neg:i=>V(-i,n),eql:(i,u)=>i===u,sqr:i=>V(i*i,n),add:(i,u)=>V(i+u,n),sub:(i,u)=>V(i-u,n),mul:(i,u)=>V(i*u,n),pow:(i,u)=>ke(f,i,u),div:(i,u)=>V(i*_t(u,n),n),sqrN:i=>i*i,addN:(i,u)=>i+u,subN:(i,u)=>i-u,mulN:(i,u)=>i*u,inv:i=>_t(i,n),sqrt:r.sqrt||(i=>(c||(c=Ue(n)),c(f,i))),invertBatch:i=>ze(f,i),cmov:(i,u,y)=>y?u:i,toBytes:i=>t?Rt(i,s):lt(i,s),fromBytes:i=>{if(i.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+i.length);return t?Zt(i):rt(i)}});return Object.freeze(f)}function se(n){if(typeof n!="bigint")throw new Error("field order must be bigint");const e=n.toString(2).length;return Math.ceil(e/8)}function ce(n){const e=se(n);return e+Math.ceil(e/2)}function Ce(n,e,t=!1){const r=n.length,o=se(e),s=ce(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const c=t?Zt(n):rt(n),f=V(c,e-_)+_;return t?Rt(f,o):lt(f,o)}const Pt=BigInt(0),mt=BigInt(1);function Nt(n,e){const t=e.negate();return n?t:e}function fe(n,e){if(!Number.isSafeInteger(n)||n<=0||n>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+n)}function qt(n,e){fe(n,e);const t=Math.ceil(e/n)+1,r=2**(n-1);return{windows:t,windowSize:r}}function Ze(n,e){if(!Array.isArray(n))throw new Error("array expected");n.forEach((t,r)=>{if(!(t instanceof e))throw new Error("invalid point at index "+r)})}function Re(n,e){if(!Array.isArray(n))throw new Error("array of scalars expected");n.forEach((t,r)=>{if(!e.isValid(t))throw new Error("invalid scalar at index "+r)})}const Ot=new WeakMap,ae=new WeakMap;function Lt(n){return ae.get(n)||1}function Me(n,e){return{constTimeNegate:Nt,hasPrecomputes(t){return Lt(t)!==1},unsafeLadder(t,r,o=n.ZERO){let s=t;for(;r>Pt;)r&mt&&(o=o.add(s)),s=s.double(),r>>=mt;return o},precomputeWindow(t,r){const{windows:o,windowSize:s}=qt(r,e),c=[];let f=t,i=f;for(let u=0;u<o;u++){i=f,c.push(i);for(let y=1;y<s;y++)i=i.add(f),c.push(i);f=i.double()}return c},wNAF(t,r,o){const{windows:s,windowSize:c}=qt(t,e);let f=n.ZERO,i=n.BASE;const u=BigInt(2**t-1),y=2**t,h=BigInt(t);for(let l=0;l<s;l++){const m=l*c;let N=Number(o&u);o>>=h,N>c&&(N-=y,o+=mt);const b=m,a=m+Math.abs(N)-1,g=l%2!==0,x=N<0;N===0?i=i.add(Nt(g,r[b])):f=f.add(Nt(x,r[a]))}return{p:f,f:i}},wNAFUnsafe(t,r,o,s=n.ZERO){const{windows:c,windowSize:f}=qt(t,e),i=BigInt(2**t-1),u=2**t,y=BigInt(t);for(let h=0;h<c;h++){const l=h*f;if(o===Pt)break;let m=Number(o&i);if(o>>=y,m>f&&(m-=u,o+=mt),m===0)continue;let N=r[l+Math.abs(m)-1];m<0&&(N=N.negate()),s=s.add(N)}return s},getPrecomputes(t,r,o){let s=Ot.get(r);return s||(s=this.precomputeWindow(r,t),t!==1&&Ot.set(r,o(s))),s},wNAFCached(t,r,o){const s=Lt(t);return this.wNAF(s,this.getPrecomputes(s,t,o),r)},wNAFCachedUnsafe(t,r,o,s){const c=Lt(t);return c===1?this.unsafeLadder(t,r,s):this.wNAFUnsafe(c,this.getPrecomputes(c,t,o),r,s)},setWindowSize(t,r){fe(r,e),ae.set(t,r),Ot.delete(t)}}}function Ve(n,e,t,r){if(Ze(t,n),Re(r,e),t.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const o=n.ZERO,s=te(BigInt(t.length)),c=s>12?s-3:s>4?s-2:s?2:1,f=(1<<c)-1,i=new Array(f+1).fill(o),u=Math.floor((e.BITS-1)/c)*c;let y=o;for(let h=u;h>=0;h-=c){i.fill(o);for(let m=0;m<r.length;m++){const N=r[m],b=Number(N>>BigInt(h)&BigInt(f));i[b]=i[b].add(t[m])}let l=o;for(let m=i.length-1,N=o;m>0;m--)N=N.add(i[m]),l=l.add(N);if(y=y.add(l),h!==0)for(let m=0;m<c;m++)y=y.double()}return y}function ue(n){return Te(n.Fp),yt(n,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...oe(n.n,n.nBitLength),...n,p:n.Fp.ORDER})}function Gt(n){n.lowS!==void 0&&at("lowS",n.lowS),n.prehash!==void 0&&at("prehash",n.prehash)}function je(n){const e=ue(n);yt(e,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:t,Fp:r,a:o}=e;if(t){if(!r.eql(o,r.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if(typeof t!="object"||typeof t.beta!="bigint"||typeof t.splitScalar!="function")throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...e})}const{bytesToNumberBE:Ye,hexToBytes:Fe}=qe;class Ke extends Error{constructor(e=""){super(e)}}const $={Err:Ke,_tlv:{encode:(n,e)=>{const{Err:t}=$;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length&1)throw new t("tlv.encode: unpadded data");const r=e.length/2,o=gt(r);if(o.length/2&128)throw new t("tlv.encode: long form length too big");const s=r>127?gt(o.length/2|128):"";return gt(n)+s+o+e},decode(n,e){const{Err:t}=$;let r=0;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length<2||e[r++]!==n)throw new t("tlv.decode: wrong tlv");const o=e[r++],s=!!(o&128);let c=0;if(!s)c=o;else{const i=o&127;if(!i)throw new t("tlv.decode(long): indefinite length not supported");if(i>4)throw new t("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+i);if(u.length!==i)throw new t("tlv.decode: length bytes not complete");if(u[0]===0)throw new t("tlv.decode(long): zero leftmost byte");for(const y of u)c=c<<8|y;if(r+=i,c<128)throw new t("tlv.decode(long): not minimal encoding")}const f=e.subarray(r,r+c);if(f.length!==c)throw new t("tlv.decode: wrong value length");return{v:f,l:e.subarray(r+c)}}},_int:{encode(n){const{Err:e}=$;if(n<W)throw new e("integer: negative integers are not allowed");let t=gt(n);if(Number.parseInt(t[0],16)&8&&(t="00"+t),t.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return t},decode(n){const{Err:e}=$;if(n[0]&128)throw new e("invalid signature integer: negative");if(n[0]===0&&!(n[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return Ye(n)}},toSig(n){const{Err:e,_int:t,_tlv:r}=$,o=typeof n=="string"?Fe(n):n;bt(o);const{v:s,l:c}=r.decode(48,o);if(c.length)throw new e("invalid signature: left bytes after parsing");const{v:f,l:i}=r.decode(2,s),{v:u,l:y}=r.decode(2,i);if(y.length)throw new e("invalid signature: left bytes after parsing");return{r:t.decode(f),s:t.decode(u)}},hexFromSig(n){const{_tlv:e,_int:t}=$,r=e.encode(2,t.encode(n.r)),o=e.encode(2,t.encode(n.s)),s=r+o;return e.encode(48,s)}},W=BigInt(0),k=BigInt(1);BigInt(2);const Dt=BigInt(3);BigInt(4);function Pe(n){const e=je(n),{Fp:t}=e,r=ie(e.n,e.nBitLength),o=e.toBytes||((b,a,g)=>{const x=a.toAffine();return pt(Uint8Array.from([4]),t.toBytes(x.x),t.toBytes(x.y))}),s=e.fromBytes||(b=>{const a=b.subarray(1),g=t.fromBytes(a.subarray(0,t.BYTES)),x=t.fromBytes(a.subarray(t.BYTES,2*t.BYTES));return{x:g,y:x}});function c(b){const{a,b:g}=e,x=t.sqr(b),E=t.mul(x,b);return t.add(t.add(E,t.mul(b,a)),g)}if(!t.eql(t.sqr(e.Gy),c(e.Gx)))throw new Error("bad generator point: equation left != right");function f(b){return Et(b,k,e.n)}function i(b){const{allowedPrivateKeyLengths:a,nByteLength:g,wrapPrivateKey:x,n:E}=e;if(a&&typeof b!="bigint"){if(it(b)&&(b=ut(b)),typeof b!="string"||!a.includes(b.length))throw new Error("invalid private key");b=b.padStart(g*2,"0")}let q;try{q=typeof b=="bigint"?b:rt(K("private key",b,g))}catch{throw new Error("invalid private key, expected hex or "+g+" bytes, got "+typeof b)}return x&&(q=V(q,E)),ot("private key",q,k,E),q}function u(b){if(!(b instanceof l))throw new Error("ProjectivePoint expected")}const y=Ht((b,a)=>{const{px:g,py:x,pz:E}=b;if(t.eql(E,t.ONE))return{x:g,y:x};const q=b.is0();a==null&&(a=q?t.ONE:t.inv(E));const L=t.mul(g,a),I=t.mul(x,a),B=t.mul(E,a);if(q)return{x:t.ZERO,y:t.ZERO};if(!t.eql(B,t.ONE))throw new Error("invZ was invalid");return{x:L,y:I}}),h=Ht(b=>{if(b.is0()){if(e.allowInfinityPoint&&!t.is0(b.py))return;throw new Error("bad point: ZERO")}const{x:a,y:g}=b.toAffine();if(!t.isValid(a)||!t.isValid(g))throw new Error("bad point: x or y not FE");const x=t.sqr(g),E=c(a);if(!t.eql(x,E))throw new Error("bad point: equation left != right");if(!b.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class l{constructor(a,g,x){if(this.px=a,this.py=g,this.pz=x,a==null||!t.isValid(a))throw new Error("x required");if(g==null||!t.isValid(g))throw new Error("y required");if(x==null||!t.isValid(x))throw new Error("z required");Object.freeze(this)}static fromAffine(a){const{x:g,y:x}=a||{};if(!a||!t.isValid(g)||!t.isValid(x))throw new Error("invalid affine point");if(a instanceof l)throw new Error("projective point not allowed");const E=q=>t.eql(q,t.ZERO);return E(g)&&E(x)?l.ZERO:new l(g,x,t.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(a){const g=t.invertBatch(a.map(x=>x.pz));return a.map((x,E)=>x.toAffine(g[E])).map(l.fromAffine)}static fromHex(a){const g=l.fromAffine(s(K("pointHex",a)));return g.assertValidity(),g}static fromPrivateKey(a){return l.BASE.multiply(i(a))}static msm(a,g){return Ve(l,r,a,g)}_setWindowSize(a){N.setWindowSize(this,a)}assertValidity(){h(this)}hasEvenY(){const{y:a}=this.toAffine();if(t.isOdd)return!t.isOdd(a);throw new Error("Field doesn't support isOdd")}equals(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a,B=t.eql(t.mul(g,I),t.mul(q,E)),A=t.eql(t.mul(x,I),t.mul(L,E));return B&&A}negate(){return new l(this.px,t.neg(this.py),this.pz)}double(){const{a,b:g}=e,x=t.mul(g,Dt),{px:E,py:q,pz:L}=this;let I=t.ZERO,B=t.ZERO,A=t.ZERO,v=t.mul(E,E),C=t.mul(q,q),U=t.mul(L,L),H=t.mul(E,q);return H=t.add(H,H),A=t.mul(E,L),A=t.add(A,A),I=t.mul(a,A),B=t.mul(x,U),B=t.add(I,B),I=t.sub(C,B),B=t.add(C,B),B=t.mul(I,B),I=t.mul(H,I),A=t.mul(x,A),U=t.mul(a,U),H=t.sub(v,U),H=t.mul(a,H),H=t.add(H,A),A=t.add(v,v),v=t.add(A,v),v=t.add(v,U),v=t.mul(v,H),B=t.add(B,v),U=t.mul(q,L),U=t.add(U,U),v=t.mul(U,H),I=t.sub(I,v),A=t.mul(U,C),A=t.add(A,A),A=t.add(A,A),new l(I,B,A)}add(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a;let B=t.ZERO,A=t.ZERO,v=t.ZERO;const C=e.a,U=t.mul(e.b,Dt);let H=t.mul(g,q),j=t.mul(x,L),d=t.mul(E,I),w=t.add(g,x),p=t.add(q,L);w=t.mul(w,p),p=t.add(H,j),w=t.sub(w,p),p=t.add(g,E);let S=t.add(q,I);return p=t.mul(p,S),S=t.add(H,d),p=t.sub(p,S),S=t.add(x,E),B=t.add(L,I),S=t.mul(S,B),B=t.add(j,d),S=t.sub(S,B),v=t.mul(C,p),B=t.mul(U,d),v=t.add(B,v),B=t.sub(j,v),v=t.add(j,v),A=t.mul(B,v),j=t.add(H,H),j=t.add(j,H),d=t.mul(C,d),p=t.mul(U,p),j=t.add(j,d),d=t.sub(H,d),d=t.mul(C,d),p=t.add(p,d),H=t.mul(j,p),A=t.add(A,H),H=t.mul(S,p),B=t.mul(w,B),B=t.sub(B,H),H=t.mul(w,j),v=t.mul(S,v),v=t.add(v,H),new l(B,A,v)}subtract(a){return this.add(a.negate())}is0(){return this.equals(l.ZERO)}wNAF(a){return N.wNAFCached(this,a,l.normalizeZ)}multiplyUnsafe(a){const{endo:g,n:x}=e;ot("scalar",a,W,x);const E=l.ZERO;if(a===W)return E;if(this.is0()||a===k)return this;if(!g||N.hasPrecomputes(this))return N.wNAFCachedUnsafe(this,a,l.normalizeZ);let{k1neg:q,k1:L,k2neg:I,k2:B}=g.splitScalar(a),A=E,v=E,C=this;for(;L>W||B>W;)L&k&&(A=A.add(C)),B&k&&(v=v.add(C)),C=C.double(),L>>=k,B>>=k;return q&&(A=A.negate()),I&&(v=v.negate()),v=new l(t.mul(v.px,g.beta),v.py,v.pz),A.add(v)}multiply(a){const{endo:g,n:x}=e;ot("scalar",a,k,x);let E,q;if(g){const{k1neg:L,k1:I,k2neg:B,k2:A}=g.splitScalar(a);let{p:v,f:C}=this.wNAF(I),{p:U,f:H}=this.wNAF(A);v=N.constTimeNegate(L,v),U=N.constTimeNegate(B,U),U=new l(t.mul(U.px,g.beta),U.py,U.pz),E=v.add(U),q=C.add(H)}else{const{p:L,f:I}=this.wNAF(a);E=L,q=I}return l.normalizeZ([E,q])[0]}multiplyAndAddUnsafe(a,g,x){const E=l.BASE,q=(I,B)=>B===W||B===k||!I.equals(E)?I.multiplyUnsafe(B):I.multiply(B),L=q(this,g).add(q(a,x));return L.is0()?void 0:L}toAffine(a){return y(this,a)}isTorsionFree(){const{h:a,isTorsionFree:g}=e;if(a===k)return!0;if(g)return g(l,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:a,clearCofactor:g}=e;return a===k?this:g?g(l,this):this.multiplyUnsafe(e.h)}toRawBytes(a=!0){return at("isCompressed",a),this.assertValidity(),o(l,this,a)}toHex(a=!0){return at("isCompressed",a),ut(this.toRawBytes(a))}}l.BASE=new l(e.Gx,e.Gy,t.ONE),l.ZERO=new l(t.ZERO,t.ONE,t.ZERO);const m=e.nBitLength,N=Me(l,e.endo?Math.ceil(m/2):m);return{CURVE:e,ProjectivePoint:l,normPrivateKeyToScalar:i,weierstrassEquation:c,isWithinCurveOrder:f}}function Ge(n){const e=ue(n);return yt(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}function De(n){const e=Ge(n),{Fp:t,n:r}=e,o=t.BYTES+1,s=2*t.BYTES+1;function c(d){return V(d,r)}function f(d){return _t(d,r)}const{ProjectivePoint:i,normPrivateKeyToScalar:u,weierstrassEquation:y,isWithinCurveOrder:h}=Pe({...e,toBytes(d,w,p){const S=w.toAffine(),O=t.toBytes(S.x),T=pt;return at("isCompressed",p),p?T(Uint8Array.from([w.hasEvenY()?2:3]),O):T(Uint8Array.from([4]),O,t.toBytes(S.y))},fromBytes(d){const w=d.length,p=d[0],S=d.subarray(1);if(w===o&&(p===2||p===3)){const O=rt(S);if(!Et(O,k,t.ORDER))throw new Error("Point is not on curve");const T=y(O);let R;try{R=t.sqrt(T)}catch(F){const M=F instanceof Error?": "+F.message:"";throw new Error("Point is not on curve"+M)}const Z=(R&k)===k;return(p&1)===1!==Z&&(R=t.neg(R)),{x:O,y:R}}else if(w===s&&p===4){const O=t.fromBytes(S.subarray(0,t.BYTES)),T=t.fromBytes(S.subarray(t.BYTES,2*t.BYTES));return{x:O,y:T}}else{const O=o,T=s;throw new Error("invalid Point, expected length of "+O+", or uncompressed "+T+", got "+w)}}}),l=d=>ut(lt(d,e.nByteLength));function m(d){const w=r>>k;return d>w}function N(d){return m(d)?c(-d):d}const b=(d,w,p)=>rt(d.slice(w,p));class a{constructor(w,p,S){this.r=w,this.s=p,this.recovery=S,this.assertValidity()}static fromCompact(w){const p=e.nByteLength;return w=K("compactSignature",w,p*2),new a(b(w,0,p),b(w,p,2*p))}static fromDER(w){const{r:p,s:S}=$.toSig(K("DER",w));return new a(p,S)}assertValidity(){ot("r",this.r,k,r),ot("s",this.s,k,r)}addRecoveryBit(w){return new a(this.r,this.s,w)}recoverPublicKey(w){const{r:p,s:S,recovery:O}=this,T=I(K("msgHash",w));if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");const R=O===2||O===3?p+e.n:p;if(R>=t.ORDER)throw new Error("recovery id 2 or 3 invalid");const Z=(O&1)===0?"02":"03",G=i.fromHex(Z+l(R)),F=f(R),M=c(-T*F),st=c(S*F),X=i.BASE.multiplyAndAddUnsafe(G,M,st);if(!X)throw new Error("point at infinify");return X.assertValidity(),X}hasHighS(){return m(this.s)}normalizeS(){return this.hasHighS()?new a(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return wt(this.toDERHex())}toDERHex(){return $.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return wt(this.toCompactHex())}toCompactHex(){return l(this.r)+l(this.s)}}const g={isValidPrivateKey(d){try{return u(d),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{const d=ce(e.n);return Ce(e.randomBytes(d),e.n)},precompute(d=8,w=i.BASE){return w._setWindowSize(d),w.multiply(BigInt(3)),w}};function x(d,w=!0){return i.fromPrivateKey(d).toRawBytes(w)}function E(d){const w=it(d),p=typeof d=="string",S=(w||p)&&d.length;return w?S===o||S===s:p?S===2*o||S===2*s:d instanceof i}function q(d,w,p=!0){if(E(d))throw new Error("first arg must be private key");if(!E(w))throw new Error("second arg must be public key");return i.fromHex(w).multiply(u(d)).toRawBytes(p)}const L=e.bits2int||function(d){if(d.length>8192)throw new Error("input is too large");const w=rt(d),p=d.length*8-e.nBitLength;return p>0?w>>BigInt(p):w},I=e.bits2int_modN||function(d){return c(L(d))},B=Mt(e.nBitLength);function A(d){return ot("num < 2^"+e.nBitLength,d,W,B),lt(d,e.nByteLength)}function v(d,w,p=C){if(["recovered","canonical"].some(tt=>tt in p))throw new Error("sign() legacy options not supported");const{hash:S,randomBytes:O}=e;let{lowS:T,prehash:R,extraEntropy:Z}=p;T==null&&(T=!0),d=K("msgHash",d),Gt(p),R&&(d=K("prehashed msgHash",S(d)));const G=I(d),F=u(w),M=[A(F),A(G)];if(Z!=null&&Z!==!1){const tt=Z===!0?O(t.BYTES):Z;M.push(K("extraEntropy",tt))}const st=pt(...M),X=G;function Bt(tt){const ct=L(tt);if(!h(ct))return;const vt=f(ct),dt=i.BASE.multiply(ct).toAffine(),et=c(dt.x);if(et===W)return;const ht=c(vt*c(X+et*F));if(ht===W)return;let ft=(dt.x===et?0:2)|Number(dt.y&k),Vt=ht;return T&&m(ht)&&(Vt=N(ht),ft^=1),new a(et,Vt,ft)}return{seed:st,k2sig:Bt}}const C={lowS:e.lowS,prehash:!1},U={lowS:e.lowS,prehash:!1};function H(d,w,p=C){const{seed:S,k2sig:O}=v(d,w,p),T=e;return ee(T.hash.outputLen,T.nByteLength,T.hmac)(S,O)}i.BASE._setWindowSize(8);function j(d,w,p,S=U){const O=d;w=K("msgHash",w),p=K("publicKey",p);const{lowS:T,prehash:R,format:Z}=S;if(Gt(S),"strict"in S)throw new Error("options.strict was renamed to lowS");if(Z!==void 0&&Z!=="compact"&&Z!=="der")throw new Error("format must be compact or der");const G=typeof O=="string"||it(O),F=!G&&!Z&&typeof O=="object"&&O!==null&&typeof O.r=="bigint"&&typeof O.s=="bigint";if(!G&&!F)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let M,st;try{if(F&&(M=new a(O.r,O.s)),G){try{Z!=="compact"&&(M=a.fromDER(O))}catch(ft){if(!(ft instanceof $.Err))throw ft}!M&&Z!=="der"&&(M=a.fromCompact(O))}st=i.fromHex(p)}catch{return!1}if(!M||T&&M.hasHighS())return!1;R&&(w=e.hash(w));const{r:X,s:Bt}=M,tt=I(w),ct=f(Bt),vt=c(tt*ct),dt=c(X*ct),et=i.BASE.multiplyAndAddUnsafe(st,vt,dt)?.toAffine();return et?c(et.x)===X:!1}return{CURVE:e,getPublicKey:x,getSharedSecret:q,sign:H,verify:j,ProjectivePoint:i,Signature:a,utils:g}}function $e(n){return{hash:n,hmac:(e,...t)=>re(n,e,be(...t)),randomBytes:pe}}function We(n,e){const t=r=>De({...n,...$e(r)});return{...t(e),create:t}}const le=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),$t=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Xe=BigInt(1),Tt=BigInt(2),Wt=(n,e)=>(n+e/Tt)/e;function Qe(n){const e=le,t=BigInt(3),r=BigInt(6),o=BigInt(11),s=BigInt(22),c=BigInt(23),f=BigInt(44),i=BigInt(88),u=n*n*n%e,y=u*u*n%e,h=Y(y,t,e)*y%e,l=Y(h,t,e)*y%e,m=Y(l,Tt,e)*u%e,N=Y(m,o,e)*m%e,b=Y(N,s,e)*N%e,a=Y(b,f,e)*b%e,g=Y(a,i,e)*a%e,x=Y(g,f,e)*b%e,E=Y(x,t,e)*y%e,q=Y(E,c,e)*N%e,L=Y(q,r,e)*u%e,I=Y(L,Tt,e);if(!kt.eql(kt.sqr(I),n))throw new Error("Cannot find square root");return I}const kt=ie(le,void 0,void 0,{sqrt:Qe}),Je=We({a:BigInt(0),b:BigInt(7),Fp:kt,n:$t,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:n=>{const e=$t,t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-Xe*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=t,c=BigInt("0x100000000000000000000000000000000"),f=Wt(s*n,e),i=Wt(-r*n,e);let u=V(n-f*t-i*o,e),y=V(-f*r-i*s,e);const h=u>c,l=y>c;if(h&&(u=e-u),l&&(y=e-y),u>c||y>c)throw new Error("splitScalar: Endomorphism failed, k="+n);return{k1neg:h,k1:u,k2neg:l,k2:y}}}},Se);BigInt(0);Je.ProjectivePoint;export{Je as secp256k1};
|
|
1
|
+
import{H as Xt,c as St,a as xt,t as Qt,b as de,d as he,r as P,e as ge,f as we,g as pe,h as be}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";function ye(n,e,t,r){if(typeof n.setBigUint64=="function")return n.setBigUint64(e,t,r);const o=BigInt(32),s=BigInt(4294967295),c=Number(t>>o&s),f=Number(t&s),i=r?4:0,u=r?0:4;n.setUint32(e+i,c,r),n.setUint32(e+u,f,r)}function me(n,e,t){return n&e^~n&t}function xe(n,e,t){return n&e^n&t^e&t}class Ee extends Xt{constructor(e,t,r,o){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=St(this.buffer)}update(e){xt(this);const{view:t,buffer:r,blockLen:o}=this;e=Qt(e);const s=e.length;for(let c=0;c<s;){const f=Math.min(o-this.pos,s-c);if(f===o){const i=St(e);for(;o<=s-c;c+=o)this.process(i,c);continue}r.set(e.subarray(c,c+f),this.pos),this.pos+=f,c+=f,this.pos===o&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){xt(this),de(e,this),this.finished=!0;const{buffer:t,view:r,blockLen:o,isLE:s}=this;let{pos:c}=this;t[c++]=128,this.buffer.subarray(c).fill(0),this.padOffset>o-c&&(this.process(r,0),c=0);for(let h=c;h<o;h++)t[h]=0;ye(r,o-8,BigInt(this.length*8),s),this.process(r,0);const f=St(e),i=this.outputLen;if(i%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=i/4,y=this.get();if(u>y.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<u;h++)f.setUint32(4*h,y[h],s)}digest(){const{buffer:e,outputLen:t}=this;this.digestInto(e);const r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:t,buffer:r,length:o,finished:s,destroyed:c,pos:f}=this;return e.length=o,e.pos=f,e.finished=s,e.destroyed=c,o%t&&e.buffer.set(r),e}}const Be=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Q=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),J=new Uint32Array(64);class ve extends Ee{constructor(){super(64,32,8,!1),this.A=Q[0]|0,this.B=Q[1]|0,this.C=Q[2]|0,this.D=Q[3]|0,this.E=Q[4]|0,this.F=Q[5]|0,this.G=Q[6]|0,this.H=Q[7]|0}get(){const{A:e,B:t,C:r,D:o,E:s,F:c,G:f,H:i}=this;return[e,t,r,o,s,c,f,i]}set(e,t,r,o,s,c,f,i){this.A=e|0,this.B=t|0,this.C=r|0,this.D=o|0,this.E=s|0,this.F=c|0,this.G=f|0,this.H=i|0}process(e,t){for(let h=0;h<16;h++,t+=4)J[h]=e.getUint32(t,!1);for(let h=16;h<64;h++){const l=J[h-15],m=J[h-2],N=P(l,7)^P(l,18)^l>>>3,b=P(m,17)^P(m,19)^m>>>10;J[h]=b+J[h-7]+N+J[h-16]|0}let{A:r,B:o,C:s,D:c,E:f,F:i,G:u,H:y}=this;for(let h=0;h<64;h++){const l=P(f,6)^P(f,11)^P(f,25),m=y+l+me(f,i,u)+Be[h]+J[h]|0,b=(P(r,2)^P(r,13)^P(r,22))+xe(r,o,s)|0;y=u,u=i,i=f,f=c+m|0,c=s,s=o,o=r,r=m+b|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,f=f+this.E|0,i=i+this.F|0,u=u+this.G|0,y=y+this.H|0,this.set(r,o,s,c,f,i,u,y)}roundClean(){J.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Se=he(()=>new ve);const zt=BigInt(0),Jt=BigInt(1),Ae=BigInt(2);function it(n){return n instanceof Uint8Array||ArrayBuffer.isView(n)&&n.constructor.name==="Uint8Array"}function bt(n){if(!it(n))throw new Error("Uint8Array expected")}function at(n,e){if(typeof e!="boolean")throw new Error(n+" boolean expected, got "+e)}const Ie=Array.from({length:256},(n,e)=>e.toString(16).padStart(2,"0"));function ut(n){bt(n);let e="";for(let t=0;t<n.length;t++)e+=Ie[n[t]];return e}function gt(n){const e=n.toString(16);return e.length&1?"0"+e:e}function Ct(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);return n===""?zt:BigInt("0x"+n)}const D={_0:48,_9:57,A:65,F:70,a:97,f:102};function jt(n){if(n>=D._0&&n<=D._9)return n-D._0;if(n>=D.A&&n<=D.F)return n-(D.A-10);if(n>=D.a&&n<=D.f)return n-(D.a-10)}function wt(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);const e=n.length,t=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(t);for(let o=0,s=0;o<t;o++,s+=2){const c=jt(n.charCodeAt(s)),f=jt(n.charCodeAt(s+1));if(c===void 0||f===void 0){const i=n[s]+n[s+1];throw new Error('hex string expected, got non-hex character "'+i+'" at index '+s)}r[o]=c*16+f}return r}function rt(n){return Ct(ut(n))}function Zt(n){return bt(n),Ct(ut(Uint8Array.from(n).reverse()))}function lt(n,e){return wt(n.toString(16).padStart(e*2,"0"))}function Rt(n,e){return lt(n,e).reverse()}function K(n,e,t){let r;if(typeof e=="string")try{r=wt(e)}catch(s){throw new Error(n+" must be hex string or Uint8Array, cause: "+s)}else if(it(e))r=Uint8Array.from(e);else throw new Error(n+" must be hex string or Uint8Array");const o=r.length;if(typeof t=="number"&&o!==t)throw new Error(n+" of length "+t+" expected, got "+o);return r}function pt(...n){let e=0;for(let r=0;r<n.length;r++){const o=n[r];bt(o),e+=o.length}const t=new Uint8Array(e);for(let r=0,o=0;r<n.length;r++){const s=n[r];t.set(s,o),o+=s.length}return t}const At=n=>typeof n=="bigint"&&zt<=n;function Et(n,e,t){return At(n)&&At(e)&&At(t)&&e<=n&&n<t}function ot(n,e,t,r){if(!Et(e,t,r))throw new Error("expected valid "+n+": "+t+" <= n < "+r+", got "+e)}function te(n){let e;for(e=0;n>zt;n>>=Jt,e+=1);return e}const Mt=n=>(Ae<<BigInt(n-1))-Jt,It=n=>new Uint8Array(n),Yt=n=>Uint8Array.from(n);function ee(n,e,t){if(typeof n!="number"||n<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof t!="function")throw new Error("hmacFn must be a function");let r=It(n),o=It(n),s=0;const c=()=>{r.fill(1),o.fill(0),s=0},f=(...h)=>t(o,r,...h),i=(h=It())=>{o=f(Yt([0]),h),r=f(),h.length!==0&&(o=f(Yt([1]),h),r=f())},u=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let h=0;const l=[];for(;h<e;){r=f();const m=r.slice();l.push(m),h+=r.length}return pt(...l)};return(h,l)=>{c(),i(h);let m;for(;!(m=l(u()));)i();return c(),m}}const Ne={bigint:n=>typeof n=="bigint",function:n=>typeof n=="function",boolean:n=>typeof n=="boolean",string:n=>typeof n=="string",stringOrUint8Array:n=>typeof n=="string"||it(n),isSafeInteger:n=>Number.isSafeInteger(n),array:n=>Array.isArray(n),field:(n,e)=>e.Fp.isValid(n),hash:n=>typeof n=="function"&&Number.isSafeInteger(n.outputLen)};function yt(n,e,t={}){const r=(o,s,c)=>{const f=Ne[s];if(typeof f!="function")throw new Error("invalid validator function");const i=n[o];if(!(c&&i===void 0)&&!f(i,n))throw new Error("param "+String(o)+" is invalid. Expected "+s+", got "+i)};for(const[o,s]of Object.entries(e))r(o,s,!1);for(const[o,s]of Object.entries(t))r(o,s,!0);return n}function Ht(n){const e=new WeakMap;return(t,...r)=>{const o=e.get(t);if(o!==void 0)return o;const s=n(t,...r);return e.set(t,s),s}}const qe=Object.freeze(Object.defineProperty({__proto__:null,aInRange:ot,abool:at,abytes:bt,bitLen:te,bitMask:Mt,bytesToHex:ut,bytesToNumberBE:rt,bytesToNumberLE:Zt,concatBytes:pt,createHmacDrbg:ee,ensureBytes:K,hexToBytes:wt,hexToNumber:Ct,inRange:Et,isBytes:it,memoized:Ht,numberToBytesBE:lt,numberToBytesLE:Rt,numberToHexUnpadded:gt,validateObject:yt},Symbol.toStringTag,{value:"Module"}));class ne extends Xt{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,ge(e);const r=Qt(t);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?e.create().update(r).digest():r);for(let c=0;c<s.length;c++)s[c]^=54;this.iHash.update(s),this.oHash=e.create();for(let c=0;c<s.length;c++)s[c]^=106;this.oHash.update(s),s.fill(0)}update(e){return xt(this),this.iHash.update(e),this}digestInto(e){xt(this),we(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:t,iHash:r,finished:o,destroyed:s,blockLen:c,outputLen:f}=this;return e=e,e.finished=o,e.destroyed=s,e.blockLen=c,e.outputLen=f,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const re=(n,e,t)=>new ne(n,e).update(t).digest();re.create=(n,e)=>new ne(n,e);const z=BigInt(0),_=BigInt(1),nt=BigInt(2),Oe=BigInt(3),Ut=BigInt(4),Ft=BigInt(5),Kt=BigInt(8);function V(n,e){const t=n%e;return t>=z?t:e+t}function Le(n,e,t){if(e<z)throw new Error("invalid exponent, negatives unsupported");if(t<=z)throw new Error("invalid modulus");if(t===_)return z;let r=_;for(;e>z;)e&_&&(r=r*n%t),n=n*n%t,e>>=_;return r}function Y(n,e,t){let r=n;for(;e-- >z;)r*=r,r%=t;return r}function _t(n,e){if(n===z)throw new Error("invert: expected non-zero number");if(e<=z)throw new Error("invert: expected positive modulus, got "+e);let t=V(n,e),r=e,o=z,s=_;for(;t!==z;){const f=r/t,i=r%t,u=o-s*f;r=t,t=i,o=s,s=u}if(r!==_)throw new Error("invert: does not exist");return V(o,e)}function He(n){const e=(n-_)/nt;let t,r,o;for(t=n-_,r=0;t%nt===z;t/=nt,r++);for(o=nt;o<n&&Le(o,e,n)!==n-_;o++)if(o>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const c=(n+_)/Ut;return function(i,u){const y=i.pow(u,c);if(!i.eql(i.sqr(y),u))throw new Error("Cannot find square root");return y}}const s=(t+_)/nt;return function(f,i){if(f.pow(i,e)===f.neg(f.ONE))throw new Error("Cannot find square root");let u=r,y=f.pow(f.mul(f.ONE,o),t),h=f.pow(i,s),l=f.pow(i,t);for(;!f.eql(l,f.ONE);){if(f.eql(l,f.ZERO))return f.ZERO;let m=1;for(let b=f.sqr(l);m<u&&!f.eql(b,f.ONE);m++)b=f.sqr(b);const N=f.pow(y,_<<BigInt(u-m-1));y=f.sqr(N),h=f.mul(h,N),l=f.mul(l,y),u=m}return h}}function Ue(n){if(n%Ut===Oe){const e=(n+_)/Ut;return function(r,o){const s=r.pow(o,e);if(!r.eql(r.sqr(s),o))throw new Error("Cannot find square root");return s}}if(n%Kt===Ft){const e=(n-Ft)/Kt;return function(r,o){const s=r.mul(o,nt),c=r.pow(s,e),f=r.mul(o,c),i=r.mul(r.mul(f,nt),c),u=r.mul(f,r.sub(i,r.ONE));if(!r.eql(r.sqr(u),o))throw new Error("Cannot find square root");return u}}return He(n)}const _e=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Te(n){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},t=_e.reduce((r,o)=>(r[o]="function",r),e);return yt(n,t)}function ke(n,e,t){if(t<z)throw new Error("invalid exponent, negatives unsupported");if(t===z)return n.ONE;if(t===_)return e;let r=n.ONE,o=e;for(;t>z;)t&_&&(r=n.mul(r,o)),o=n.sqr(o),t>>=_;return r}function ze(n,e){const t=new Array(e.length),r=e.reduce((s,c,f)=>n.is0(c)?s:(t[f]=s,n.mul(s,c)),n.ONE),o=n.inv(r);return e.reduceRight((s,c,f)=>n.is0(c)?s:(t[f]=n.mul(s,t[f]),n.mul(s,c)),o),t}function oe(n,e){const t=e!==void 0?e:n.toString(2).length,r=Math.ceil(t/8);return{nBitLength:t,nByteLength:r}}function ie(n,e,t=!1,r={}){if(n<=z)throw new Error("invalid field: expected ORDER > 0, got "+n);const{nBitLength:o,nByteLength:s}=oe(n,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let c;const f=Object.freeze({ORDER:n,isLE:t,BITS:o,BYTES:s,MASK:Mt(o),ZERO:z,ONE:_,create:i=>V(i,n),isValid:i=>{if(typeof i!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof i);return z<=i&&i<n},is0:i=>i===z,isOdd:i=>(i&_)===_,neg:i=>V(-i,n),eql:(i,u)=>i===u,sqr:i=>V(i*i,n),add:(i,u)=>V(i+u,n),sub:(i,u)=>V(i-u,n),mul:(i,u)=>V(i*u,n),pow:(i,u)=>ke(f,i,u),div:(i,u)=>V(i*_t(u,n),n),sqrN:i=>i*i,addN:(i,u)=>i+u,subN:(i,u)=>i-u,mulN:(i,u)=>i*u,inv:i=>_t(i,n),sqrt:r.sqrt||(i=>(c||(c=Ue(n)),c(f,i))),invertBatch:i=>ze(f,i),cmov:(i,u,y)=>y?u:i,toBytes:i=>t?Rt(i,s):lt(i,s),fromBytes:i=>{if(i.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+i.length);return t?Zt(i):rt(i)}});return Object.freeze(f)}function se(n){if(typeof n!="bigint")throw new Error("field order must be bigint");const e=n.toString(2).length;return Math.ceil(e/8)}function ce(n){const e=se(n);return e+Math.ceil(e/2)}function Ce(n,e,t=!1){const r=n.length,o=se(e),s=ce(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const c=t?Zt(n):rt(n),f=V(c,e-_)+_;return t?Rt(f,o):lt(f,o)}const Pt=BigInt(0),mt=BigInt(1);function Nt(n,e){const t=e.negate();return n?t:e}function fe(n,e){if(!Number.isSafeInteger(n)||n<=0||n>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+n)}function qt(n,e){fe(n,e);const t=Math.ceil(e/n)+1,r=2**(n-1);return{windows:t,windowSize:r}}function Ze(n,e){if(!Array.isArray(n))throw new Error("array expected");n.forEach((t,r)=>{if(!(t instanceof e))throw new Error("invalid point at index "+r)})}function Re(n,e){if(!Array.isArray(n))throw new Error("array of scalars expected");n.forEach((t,r)=>{if(!e.isValid(t))throw new Error("invalid scalar at index "+r)})}const Ot=new WeakMap,ae=new WeakMap;function Lt(n){return ae.get(n)||1}function Me(n,e){return{constTimeNegate:Nt,hasPrecomputes(t){return Lt(t)!==1},unsafeLadder(t,r,o=n.ZERO){let s=t;for(;r>Pt;)r&mt&&(o=o.add(s)),s=s.double(),r>>=mt;return o},precomputeWindow(t,r){const{windows:o,windowSize:s}=qt(r,e),c=[];let f=t,i=f;for(let u=0;u<o;u++){i=f,c.push(i);for(let y=1;y<s;y++)i=i.add(f),c.push(i);f=i.double()}return c},wNAF(t,r,o){const{windows:s,windowSize:c}=qt(t,e);let f=n.ZERO,i=n.BASE;const u=BigInt(2**t-1),y=2**t,h=BigInt(t);for(let l=0;l<s;l++){const m=l*c;let N=Number(o&u);o>>=h,N>c&&(N-=y,o+=mt);const b=m,a=m+Math.abs(N)-1,g=l%2!==0,x=N<0;N===0?i=i.add(Nt(g,r[b])):f=f.add(Nt(x,r[a]))}return{p:f,f:i}},wNAFUnsafe(t,r,o,s=n.ZERO){const{windows:c,windowSize:f}=qt(t,e),i=BigInt(2**t-1),u=2**t,y=BigInt(t);for(let h=0;h<c;h++){const l=h*f;if(o===Pt)break;let m=Number(o&i);if(o>>=y,m>f&&(m-=u,o+=mt),m===0)continue;let N=r[l+Math.abs(m)-1];m<0&&(N=N.negate()),s=s.add(N)}return s},getPrecomputes(t,r,o){let s=Ot.get(r);return s||(s=this.precomputeWindow(r,t),t!==1&&Ot.set(r,o(s))),s},wNAFCached(t,r,o){const s=Lt(t);return this.wNAF(s,this.getPrecomputes(s,t,o),r)},wNAFCachedUnsafe(t,r,o,s){const c=Lt(t);return c===1?this.unsafeLadder(t,r,s):this.wNAFUnsafe(c,this.getPrecomputes(c,t,o),r,s)},setWindowSize(t,r){fe(r,e),ae.set(t,r),Ot.delete(t)}}}function Ve(n,e,t,r){if(Ze(t,n),Re(r,e),t.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const o=n.ZERO,s=te(BigInt(t.length)),c=s>12?s-3:s>4?s-2:s?2:1,f=(1<<c)-1,i=new Array(f+1).fill(o),u=Math.floor((e.BITS-1)/c)*c;let y=o;for(let h=u;h>=0;h-=c){i.fill(o);for(let m=0;m<r.length;m++){const N=r[m],b=Number(N>>BigInt(h)&BigInt(f));i[b]=i[b].add(t[m])}let l=o;for(let m=i.length-1,N=o;m>0;m--)N=N.add(i[m]),l=l.add(N);if(y=y.add(l),h!==0)for(let m=0;m<c;m++)y=y.double()}return y}function ue(n){return Te(n.Fp),yt(n,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...oe(n.n,n.nBitLength),...n,p:n.Fp.ORDER})}function Gt(n){n.lowS!==void 0&&at("lowS",n.lowS),n.prehash!==void 0&&at("prehash",n.prehash)}function je(n){const e=ue(n);yt(e,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:t,Fp:r,a:o}=e;if(t){if(!r.eql(o,r.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if(typeof t!="object"||typeof t.beta!="bigint"||typeof t.splitScalar!="function")throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...e})}const{bytesToNumberBE:Ye,hexToBytes:Fe}=qe;class Ke extends Error{constructor(e=""){super(e)}}const $={Err:Ke,_tlv:{encode:(n,e)=>{const{Err:t}=$;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length&1)throw new t("tlv.encode: unpadded data");const r=e.length/2,o=gt(r);if(o.length/2&128)throw new t("tlv.encode: long form length too big");const s=r>127?gt(o.length/2|128):"";return gt(n)+s+o+e},decode(n,e){const{Err:t}=$;let r=0;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length<2||e[r++]!==n)throw new t("tlv.decode: wrong tlv");const o=e[r++],s=!!(o&128);let c=0;if(!s)c=o;else{const i=o&127;if(!i)throw new t("tlv.decode(long): indefinite length not supported");if(i>4)throw new t("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+i);if(u.length!==i)throw new t("tlv.decode: length bytes not complete");if(u[0]===0)throw new t("tlv.decode(long): zero leftmost byte");for(const y of u)c=c<<8|y;if(r+=i,c<128)throw new t("tlv.decode(long): not minimal encoding")}const f=e.subarray(r,r+c);if(f.length!==c)throw new t("tlv.decode: wrong value length");return{v:f,l:e.subarray(r+c)}}},_int:{encode(n){const{Err:e}=$;if(n<W)throw new e("integer: negative integers are not allowed");let t=gt(n);if(Number.parseInt(t[0],16)&8&&(t="00"+t),t.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return t},decode(n){const{Err:e}=$;if(n[0]&128)throw new e("invalid signature integer: negative");if(n[0]===0&&!(n[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return Ye(n)}},toSig(n){const{Err:e,_int:t,_tlv:r}=$,o=typeof n=="string"?Fe(n):n;bt(o);const{v:s,l:c}=r.decode(48,o);if(c.length)throw new e("invalid signature: left bytes after parsing");const{v:f,l:i}=r.decode(2,s),{v:u,l:y}=r.decode(2,i);if(y.length)throw new e("invalid signature: left bytes after parsing");return{r:t.decode(f),s:t.decode(u)}},hexFromSig(n){const{_tlv:e,_int:t}=$,r=e.encode(2,t.encode(n.r)),o=e.encode(2,t.encode(n.s)),s=r+o;return e.encode(48,s)}},W=BigInt(0),k=BigInt(1);BigInt(2);const Dt=BigInt(3);BigInt(4);function Pe(n){const e=je(n),{Fp:t}=e,r=ie(e.n,e.nBitLength),o=e.toBytes||((b,a,g)=>{const x=a.toAffine();return pt(Uint8Array.from([4]),t.toBytes(x.x),t.toBytes(x.y))}),s=e.fromBytes||(b=>{const a=b.subarray(1),g=t.fromBytes(a.subarray(0,t.BYTES)),x=t.fromBytes(a.subarray(t.BYTES,2*t.BYTES));return{x:g,y:x}});function c(b){const{a,b:g}=e,x=t.sqr(b),E=t.mul(x,b);return t.add(t.add(E,t.mul(b,a)),g)}if(!t.eql(t.sqr(e.Gy),c(e.Gx)))throw new Error("bad generator point: equation left != right");function f(b){return Et(b,k,e.n)}function i(b){const{allowedPrivateKeyLengths:a,nByteLength:g,wrapPrivateKey:x,n:E}=e;if(a&&typeof b!="bigint"){if(it(b)&&(b=ut(b)),typeof b!="string"||!a.includes(b.length))throw new Error("invalid private key");b=b.padStart(g*2,"0")}let q;try{q=typeof b=="bigint"?b:rt(K("private key",b,g))}catch{throw new Error("invalid private key, expected hex or "+g+" bytes, got "+typeof b)}return x&&(q=V(q,E)),ot("private key",q,k,E),q}function u(b){if(!(b instanceof l))throw new Error("ProjectivePoint expected")}const y=Ht((b,a)=>{const{px:g,py:x,pz:E}=b;if(t.eql(E,t.ONE))return{x:g,y:x};const q=b.is0();a==null&&(a=q?t.ONE:t.inv(E));const L=t.mul(g,a),I=t.mul(x,a),B=t.mul(E,a);if(q)return{x:t.ZERO,y:t.ZERO};if(!t.eql(B,t.ONE))throw new Error("invZ was invalid");return{x:L,y:I}}),h=Ht(b=>{if(b.is0()){if(e.allowInfinityPoint&&!t.is0(b.py))return;throw new Error("bad point: ZERO")}const{x:a,y:g}=b.toAffine();if(!t.isValid(a)||!t.isValid(g))throw new Error("bad point: x or y not FE");const x=t.sqr(g),E=c(a);if(!t.eql(x,E))throw new Error("bad point: equation left != right");if(!b.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class l{constructor(a,g,x){if(this.px=a,this.py=g,this.pz=x,a==null||!t.isValid(a))throw new Error("x required");if(g==null||!t.isValid(g))throw new Error("y required");if(x==null||!t.isValid(x))throw new Error("z required");Object.freeze(this)}static fromAffine(a){const{x:g,y:x}=a||{};if(!a||!t.isValid(g)||!t.isValid(x))throw new Error("invalid affine point");if(a instanceof l)throw new Error("projective point not allowed");const E=q=>t.eql(q,t.ZERO);return E(g)&&E(x)?l.ZERO:new l(g,x,t.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(a){const g=t.invertBatch(a.map(x=>x.pz));return a.map((x,E)=>x.toAffine(g[E])).map(l.fromAffine)}static fromHex(a){const g=l.fromAffine(s(K("pointHex",a)));return g.assertValidity(),g}static fromPrivateKey(a){return l.BASE.multiply(i(a))}static msm(a,g){return Ve(l,r,a,g)}_setWindowSize(a){N.setWindowSize(this,a)}assertValidity(){h(this)}hasEvenY(){const{y:a}=this.toAffine();if(t.isOdd)return!t.isOdd(a);throw new Error("Field doesn't support isOdd")}equals(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a,B=t.eql(t.mul(g,I),t.mul(q,E)),A=t.eql(t.mul(x,I),t.mul(L,E));return B&&A}negate(){return new l(this.px,t.neg(this.py),this.pz)}double(){const{a,b:g}=e,x=t.mul(g,Dt),{px:E,py:q,pz:L}=this;let I=t.ZERO,B=t.ZERO,A=t.ZERO,v=t.mul(E,E),C=t.mul(q,q),U=t.mul(L,L),H=t.mul(E,q);return H=t.add(H,H),A=t.mul(E,L),A=t.add(A,A),I=t.mul(a,A),B=t.mul(x,U),B=t.add(I,B),I=t.sub(C,B),B=t.add(C,B),B=t.mul(I,B),I=t.mul(H,I),A=t.mul(x,A),U=t.mul(a,U),H=t.sub(v,U),H=t.mul(a,H),H=t.add(H,A),A=t.add(v,v),v=t.add(A,v),v=t.add(v,U),v=t.mul(v,H),B=t.add(B,v),U=t.mul(q,L),U=t.add(U,U),v=t.mul(U,H),I=t.sub(I,v),A=t.mul(U,C),A=t.add(A,A),A=t.add(A,A),new l(I,B,A)}add(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a;let B=t.ZERO,A=t.ZERO,v=t.ZERO;const C=e.a,U=t.mul(e.b,Dt);let H=t.mul(g,q),j=t.mul(x,L),d=t.mul(E,I),w=t.add(g,x),p=t.add(q,L);w=t.mul(w,p),p=t.add(H,j),w=t.sub(w,p),p=t.add(g,E);let S=t.add(q,I);return p=t.mul(p,S),S=t.add(H,d),p=t.sub(p,S),S=t.add(x,E),B=t.add(L,I),S=t.mul(S,B),B=t.add(j,d),S=t.sub(S,B),v=t.mul(C,p),B=t.mul(U,d),v=t.add(B,v),B=t.sub(j,v),v=t.add(j,v),A=t.mul(B,v),j=t.add(H,H),j=t.add(j,H),d=t.mul(C,d),p=t.mul(U,p),j=t.add(j,d),d=t.sub(H,d),d=t.mul(C,d),p=t.add(p,d),H=t.mul(j,p),A=t.add(A,H),H=t.mul(S,p),B=t.mul(w,B),B=t.sub(B,H),H=t.mul(w,j),v=t.mul(S,v),v=t.add(v,H),new l(B,A,v)}subtract(a){return this.add(a.negate())}is0(){return this.equals(l.ZERO)}wNAF(a){return N.wNAFCached(this,a,l.normalizeZ)}multiplyUnsafe(a){const{endo:g,n:x}=e;ot("scalar",a,W,x);const E=l.ZERO;if(a===W)return E;if(this.is0()||a===k)return this;if(!g||N.hasPrecomputes(this))return N.wNAFCachedUnsafe(this,a,l.normalizeZ);let{k1neg:q,k1:L,k2neg:I,k2:B}=g.splitScalar(a),A=E,v=E,C=this;for(;L>W||B>W;)L&k&&(A=A.add(C)),B&k&&(v=v.add(C)),C=C.double(),L>>=k,B>>=k;return q&&(A=A.negate()),I&&(v=v.negate()),v=new l(t.mul(v.px,g.beta),v.py,v.pz),A.add(v)}multiply(a){const{endo:g,n:x}=e;ot("scalar",a,k,x);let E,q;if(g){const{k1neg:L,k1:I,k2neg:B,k2:A}=g.splitScalar(a);let{p:v,f:C}=this.wNAF(I),{p:U,f:H}=this.wNAF(A);v=N.constTimeNegate(L,v),U=N.constTimeNegate(B,U),U=new l(t.mul(U.px,g.beta),U.py,U.pz),E=v.add(U),q=C.add(H)}else{const{p:L,f:I}=this.wNAF(a);E=L,q=I}return l.normalizeZ([E,q])[0]}multiplyAndAddUnsafe(a,g,x){const E=l.BASE,q=(I,B)=>B===W||B===k||!I.equals(E)?I.multiplyUnsafe(B):I.multiply(B),L=q(this,g).add(q(a,x));return L.is0()?void 0:L}toAffine(a){return y(this,a)}isTorsionFree(){const{h:a,isTorsionFree:g}=e;if(a===k)return!0;if(g)return g(l,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:a,clearCofactor:g}=e;return a===k?this:g?g(l,this):this.multiplyUnsafe(e.h)}toRawBytes(a=!0){return at("isCompressed",a),this.assertValidity(),o(l,this,a)}toHex(a=!0){return at("isCompressed",a),ut(this.toRawBytes(a))}}l.BASE=new l(e.Gx,e.Gy,t.ONE),l.ZERO=new l(t.ZERO,t.ONE,t.ZERO);const m=e.nBitLength,N=Me(l,e.endo?Math.ceil(m/2):m);return{CURVE:e,ProjectivePoint:l,normPrivateKeyToScalar:i,weierstrassEquation:c,isWithinCurveOrder:f}}function Ge(n){const e=ue(n);return yt(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}function De(n){const e=Ge(n),{Fp:t,n:r}=e,o=t.BYTES+1,s=2*t.BYTES+1;function c(d){return V(d,r)}function f(d){return _t(d,r)}const{ProjectivePoint:i,normPrivateKeyToScalar:u,weierstrassEquation:y,isWithinCurveOrder:h}=Pe({...e,toBytes(d,w,p){const S=w.toAffine(),O=t.toBytes(S.x),T=pt;return at("isCompressed",p),p?T(Uint8Array.from([w.hasEvenY()?2:3]),O):T(Uint8Array.from([4]),O,t.toBytes(S.y))},fromBytes(d){const w=d.length,p=d[0],S=d.subarray(1);if(w===o&&(p===2||p===3)){const O=rt(S);if(!Et(O,k,t.ORDER))throw new Error("Point is not on curve");const T=y(O);let R;try{R=t.sqrt(T)}catch(F){const M=F instanceof Error?": "+F.message:"";throw new Error("Point is not on curve"+M)}const Z=(R&k)===k;return(p&1)===1!==Z&&(R=t.neg(R)),{x:O,y:R}}else if(w===s&&p===4){const O=t.fromBytes(S.subarray(0,t.BYTES)),T=t.fromBytes(S.subarray(t.BYTES,2*t.BYTES));return{x:O,y:T}}else{const O=o,T=s;throw new Error("invalid Point, expected length of "+O+", or uncompressed "+T+", got "+w)}}}),l=d=>ut(lt(d,e.nByteLength));function m(d){const w=r>>k;return d>w}function N(d){return m(d)?c(-d):d}const b=(d,w,p)=>rt(d.slice(w,p));class a{constructor(w,p,S){this.r=w,this.s=p,this.recovery=S,this.assertValidity()}static fromCompact(w){const p=e.nByteLength;return w=K("compactSignature",w,p*2),new a(b(w,0,p),b(w,p,2*p))}static fromDER(w){const{r:p,s:S}=$.toSig(K("DER",w));return new a(p,S)}assertValidity(){ot("r",this.r,k,r),ot("s",this.s,k,r)}addRecoveryBit(w){return new a(this.r,this.s,w)}recoverPublicKey(w){const{r:p,s:S,recovery:O}=this,T=I(K("msgHash",w));if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");const R=O===2||O===3?p+e.n:p;if(R>=t.ORDER)throw new Error("recovery id 2 or 3 invalid");const Z=(O&1)===0?"02":"03",G=i.fromHex(Z+l(R)),F=f(R),M=c(-T*F),st=c(S*F),X=i.BASE.multiplyAndAddUnsafe(G,M,st);if(!X)throw new Error("point at infinify");return X.assertValidity(),X}hasHighS(){return m(this.s)}normalizeS(){return this.hasHighS()?new a(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return wt(this.toDERHex())}toDERHex(){return $.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return wt(this.toCompactHex())}toCompactHex(){return l(this.r)+l(this.s)}}const g={isValidPrivateKey(d){try{return u(d),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{const d=ce(e.n);return Ce(e.randomBytes(d),e.n)},precompute(d=8,w=i.BASE){return w._setWindowSize(d),w.multiply(BigInt(3)),w}};function x(d,w=!0){return i.fromPrivateKey(d).toRawBytes(w)}function E(d){const w=it(d),p=typeof d=="string",S=(w||p)&&d.length;return w?S===o||S===s:p?S===2*o||S===2*s:d instanceof i}function q(d,w,p=!0){if(E(d))throw new Error("first arg must be private key");if(!E(w))throw new Error("second arg must be public key");return i.fromHex(w).multiply(u(d)).toRawBytes(p)}const L=e.bits2int||function(d){if(d.length>8192)throw new Error("input is too large");const w=rt(d),p=d.length*8-e.nBitLength;return p>0?w>>BigInt(p):w},I=e.bits2int_modN||function(d){return c(L(d))},B=Mt(e.nBitLength);function A(d){return ot("num < 2^"+e.nBitLength,d,W,B),lt(d,e.nByteLength)}function v(d,w,p=C){if(["recovered","canonical"].some(tt=>tt in p))throw new Error("sign() legacy options not supported");const{hash:S,randomBytes:O}=e;let{lowS:T,prehash:R,extraEntropy:Z}=p;T==null&&(T=!0),d=K("msgHash",d),Gt(p),R&&(d=K("prehashed msgHash",S(d)));const G=I(d),F=u(w),M=[A(F),A(G)];if(Z!=null&&Z!==!1){const tt=Z===!0?O(t.BYTES):Z;M.push(K("extraEntropy",tt))}const st=pt(...M),X=G;function Bt(tt){const ct=L(tt);if(!h(ct))return;const vt=f(ct),dt=i.BASE.multiply(ct).toAffine(),et=c(dt.x);if(et===W)return;const ht=c(vt*c(X+et*F));if(ht===W)return;let ft=(dt.x===et?0:2)|Number(dt.y&k),Vt=ht;return T&&m(ht)&&(Vt=N(ht),ft^=1),new a(et,Vt,ft)}return{seed:st,k2sig:Bt}}const C={lowS:e.lowS,prehash:!1},U={lowS:e.lowS,prehash:!1};function H(d,w,p=C){const{seed:S,k2sig:O}=v(d,w,p),T=e;return ee(T.hash.outputLen,T.nByteLength,T.hmac)(S,O)}i.BASE._setWindowSize(8);function j(d,w,p,S=U){const O=d;w=K("msgHash",w),p=K("publicKey",p);const{lowS:T,prehash:R,format:Z}=S;if(Gt(S),"strict"in S)throw new Error("options.strict was renamed to lowS");if(Z!==void 0&&Z!=="compact"&&Z!=="der")throw new Error("format must be compact or der");const G=typeof O=="string"||it(O),F=!G&&!Z&&typeof O=="object"&&O!==null&&typeof O.r=="bigint"&&typeof O.s=="bigint";if(!G&&!F)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let M,st;try{if(F&&(M=new a(O.r,O.s)),G){try{Z!=="compact"&&(M=a.fromDER(O))}catch(ft){if(!(ft instanceof $.Err))throw ft}!M&&Z!=="der"&&(M=a.fromCompact(O))}st=i.fromHex(p)}catch{return!1}if(!M||T&&M.hasHighS())return!1;R&&(w=e.hash(w));const{r:X,s:Bt}=M,tt=I(w),ct=f(Bt),vt=c(tt*ct),dt=c(X*ct),et=i.BASE.multiplyAndAddUnsafe(st,vt,dt)?.toAffine();return et?c(et.x)===X:!1}return{CURVE:e,getPublicKey:x,getSharedSecret:q,sign:H,verify:j,ProjectivePoint:i,Signature:a,utils:g}}function $e(n){return{hash:n,hmac:(e,...t)=>re(n,e,be(...t)),randomBytes:pe}}function We(n,e){const t=r=>De({...n,...$e(r)});return{...t(e),create:t}}const le=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),$t=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Xe=BigInt(1),Tt=BigInt(2),Wt=(n,e)=>(n+e/Tt)/e;function Qe(n){const e=le,t=BigInt(3),r=BigInt(6),o=BigInt(11),s=BigInt(22),c=BigInt(23),f=BigInt(44),i=BigInt(88),u=n*n*n%e,y=u*u*n%e,h=Y(y,t,e)*y%e,l=Y(h,t,e)*y%e,m=Y(l,Tt,e)*u%e,N=Y(m,o,e)*m%e,b=Y(N,s,e)*N%e,a=Y(b,f,e)*b%e,g=Y(a,i,e)*a%e,x=Y(g,f,e)*b%e,E=Y(x,t,e)*y%e,q=Y(E,c,e)*N%e,L=Y(q,r,e)*u%e,I=Y(L,Tt,e);if(!kt.eql(kt.sqr(I),n))throw new Error("Cannot find square root");return I}const kt=ie(le,void 0,void 0,{sqrt:Qe}),Je=We({a:BigInt(0),b:BigInt(7),Fp:kt,n:$t,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:n=>{const e=$t,t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-Xe*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=t,c=BigInt("0x100000000000000000000000000000000"),f=Wt(s*n,e),i=Wt(-r*n,e);let u=V(n-f*t-i*o,e),y=V(-f*r-i*s,e);const h=u>c,l=y>c;if(h&&(u=e-u),l&&(y=e-y),u>c||y>c)throw new Error("splitScalar: Endomorphism failed, k="+n);return{k1neg:h,k1:u,k2neg:l,k2:y}}}},Se);BigInt(0);Je.ProjectivePoint;export{Je as secp256k1};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-
|
|
1
|
+
import{a as t}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-nPnFMLZb.js";class s{async task(a,e){return await t.post("/seedream/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,e){return await t.post("/seedream/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,e){return await t.post("/seedream/images",a,{headers:{authorization:`Bearer ${e.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const r=new s;export{r as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as C}from"./index-
|
|
1
|
+
import{w as C}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const g=C`<svg fill="none" viewBox="0 0 21 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as t}from"./index-
|
|
1
|
+
import{l as t}from"./index-nPnFMLZb.js";class r{key="services";async getAll(e){return await t.get(`/${this.key}/`,{params:e})}async get(e){return await t.get(`/${this.key}/${e}`)}async create(e){return await t.post(`/${this.key}/`,e)}async update(e,a){return await t.put(`/${this.key}/${e}`,a)}async delete(e){return await t.delete(`/${this.key}/${e}`)}}const n=new r;export{n as s};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/solana-wallets-vue-
|
|
2
|
-
import{_ as t}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/solana-wallets-vue-RZQ3Iw_r.js","assets/vendor-vue-NSDaktjZ.js","assets/index.browser.esm-C9AI1tBm.js","assets/vendor-dayjs-v0j1UNZp.js","assets/index-nPnFMLZb.js","assets/vendor-axios-B8_nURbH.js","assets/vendor-vue-router-Kg6s1a65.js","assets/index-CyoihLmI.css","assets/index-9HGDSJTR.js","assets/signer-VxQoXw0x.js","assets/standard-BSrJCQ5C.js","assets/index-60y9JL--.js","assets/types-Cvj5H4DH.js","assets/index-BVMZpdQK.js","assets/index-ByvZJuWo.js","assets/index-B3p10ZSI.js","assets/index-Dpqu7-cy.js","assets/styles-Bce9hoao.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as t}from"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";async function E(e){const[{default:o},{WalletAdapterNetwork:a},{PhantomWalletAdapter:l},{SolflareWalletAdapter:_},{NightlyWalletAdapter:i},{WalletConnectWalletAdapter:r}]=await Promise.all([t(()=>import("./solana-wallets-vue-RZQ3Iw_r.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])),t(()=>import("./index-60y9JL--.js"),__vite__mapDeps([11,9,8,3,10,12])),t(()=>import("./index-BVMZpdQK.js"),__vite__mapDeps([13,2,3,4,1,5,6,7,8,9])),t(()=>import("./index-ByvZJuWo.js"),__vite__mapDeps([14,4,1,5,3,6,7,2,8,9])),t(()=>import("./index-B3p10ZSI.js"),__vite__mapDeps([15,2,3,4,1,5,6,7,8,9])),t(()=>import("./index-Dpqu7-cy.js").then(p=>p.a5),__vite__mapDeps([16,2,3,4,1,5,6,7,8,9,12]))]);await t(()=>Promise.resolve({}),__vite__mapDeps([17]));const n="8442ba82a50e5d4a993fc9d82ba15c59",d={wallets:[new l,new _({network:a.Mainnet}),new i,new r({network:a.Mainnet,options:{projectId:n,metadata:{name:"AceData",description:"AceData WalletConnect",url:window.location.origin,icons:["https://cdn.acedata.cloud/acedata.jpg"]}}})]};e.use(o,d)}export{E as installSolanaWallets};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o as jr,n as On,_ as kn,w as Be,j as _i,$ as Si,b as re,k as Vr,a0 as Ci,a1 as Ii,a as fe,a2 as ie,c as j,u as Bi,t as Ri,a3 as Pe,q as ne,H as pe,J as Ie,d as ht,a4 as pt,D as Ve,z as le,E as V,x as ft,F as He,a5 as ce,a6 as de,Q as it,M as Ti,O as qn,N as Mi,C as $r,I as Hr,a7 as Ni,y as kt,R as Ui}from"./vendor-vue-NSDaktjZ.js";import{PublicKey as Gr,VersionedTransaction as Sn,Transaction as Cn,VersionedMessage as Li,SIGNATURE_LENGTH_IN_BYTES as Pi}from"./index.browser.esm-CHzGq_oX.js";import{h as Mt,n as x,l as $e,c as Oi,f as Yr,g as ki,k as be,W as Ke,d as ot,o as In,w as st,e as at,m as xr,r as Bn,q as Jr,p as Kn,a as Wi}from"./signer-VxQoXw0x.js";import{i as Di}from"./standard-BSrJCQ5C.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-qFuAMDbZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";function Wn(e){return Ci()?(Ii(e),!0):!1}const Nt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zi=Object.prototype.toString,Fi=e=>zi.call(e)==="[object Object]",Re=()=>{},Rn=qi();function qi(){var e,t;return Nt&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Ki(e,t){function i(...r){return new Promise((a,l)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(l)})}return i}const Qr=e=>e();function ji(e=Qr,t={}){const{initialState:i="active"}=t,r=Zr(i==="active");function a(){r.value=!1}function l(){r.value=!0}const c=(...s)=>{r.value&&e(...s)};return{isActive:kn(r),pause:a,resume:l,eventFilter:c}}function Vi(e){let t;function i(){return t||(t=e()),t}return i.reset=async()=>{const r=t;t=void 0,r&&await r},i}function $i(e){return Vr()}function Wt(e){return Array.isArray(e)?e:[e]}function Zr(...e){if(e.length!==1)return _i(...e);const t=e[0];return typeof t=="function"?kn(Si(()=>({get:t,set:Re}))):re(t)}function Hi(e,t,i={}){const{eventFilter:r=Qr,...a}=i;return Be(e,Ki(r,t),a)}function Gi(e,t,i={}){const{eventFilter:r,initialState:a="active",...l}=i,{eventFilter:c,pause:s,resume:d,isActive:h}=ji(r,{initialState:a});return{stop:Hi(e,t,{...l,eventFilter:c}),pause:s,resume:d,isActive:h}}function Yi(e,t=!0,i){$i()?jr(e,i):t?e():On(e)}function xi(e,t,i={}){const{immediate:r=!0,immediateCallback:a=!1}=i,l=fe(!1);let c=null;function s(){c&&(clearTimeout(c),c=null)}function d(){l.value=!1,s()}function h(...g){a&&e(),s(),l.value=!0,c=setTimeout(()=>{l.value=!1,c=null,e(...g)},ie(t))}return r&&(l.value=!0,Nt&&h()),Wn(d),{isPending:kn(l),start:h,stop:d}}function Ji(e,t,i){return Be(e,t,{...i,immediate:!0})}const Ge=Nt?window:void 0,Xr=Nt?window.navigator:void 0;function lt(e){var t;const i=ie(e);return(t=i?.$el)!=null?t:i}function ge(...e){const t=[],i=()=>{t.forEach(s=>s()),t.length=0},r=(s,d,h,g)=>(s.addEventListener(d,h,g),()=>s.removeEventListener(d,h,g)),a=j(()=>{const s=Wt(ie(e[0])).filter(d=>d!=null);return s.every(d=>typeof d!="string")?s:void 0}),l=Ji(()=>{var s,d;return[(d=(s=a.value)==null?void 0:s.map(h=>lt(h)))!=null?d:[Ge].filter(h=>h!=null),Wt(ie(a.value?e[1]:e[0])),Wt(Bi(a.value?e[2]:e[1])),ie(a.value?e[3]:e[2])]},([s,d,h,g])=>{if(i(),!s?.length||!d?.length||!h?.length)return;const m=Fi(g)?{...g}:g;t.push(...s.flatMap(_=>d.flatMap(y=>h.map(A=>r(_,y,A,m)))))},{flush:"post"}),c=()=>{l(),i()};return Wn(i),c}let jn=!1;function ei(e,t,i={}){const{window:r=Ge,ignore:a=[],capture:l=!0,detectIframe:c=!1,controls:s=!1}=i;if(!r)return s?{stop:Re,cancel:Re,trigger:Re}:Re;if(Rn&&!jn){jn=!0;const C={passive:!0};Array.from(r.document.body.children).forEach(E=>ge(E,"click",Re,C)),ge(r.document.documentElement,"click",Re,C)}let d=!0;const h=C=>ie(a).some(E=>{if(typeof E=="string")return Array.from(r.document.querySelectorAll(E)).some(v=>v===C.target||C.composedPath().includes(v));{const v=lt(E);return v&&(C.target===v||C.composedPath().includes(v))}});function g(C){const E=ie(C);return E&&E.$.subTree.shapeFlag===16}function m(C,E){const v=ie(C),S=v.$.subTree&&v.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(R=>R.el===E.target||E.composedPath().includes(R.el))}const _=C=>{const E=lt(e);if(C.target!=null&&!(!(E instanceof Element)&&g(e)&&m(e,C))&&!(!E||E===C.target||C.composedPath().includes(E))){if("detail"in C&&C.detail===0&&(d=!h(C)),!d){d=!0;return}t(C)}};let y=!1;const A=[ge(r,"click",C=>{y||(y=!0,setTimeout(()=>{y=!1},0),_(C))},{passive:!0,capture:l}),ge(r,"pointerdown",C=>{const E=lt(e);d=!h(C)&&!!(E&&!C.composedPath().includes(E))},{passive:!0}),c&&ge(r,"blur",C=>{setTimeout(()=>{var E;const v=lt(e);((E=r.document.activeElement)==null?void 0:E.tagName)==="IFRAME"&&!v?.contains(r.document.activeElement)&&t(C)},0)},{passive:!0})].filter(Boolean),b=()=>A.forEach(C=>C());return s?{stop:b,cancel:()=>{d=!1},trigger:C=>{d=!0,_(C),d=!1}}:b}function Qi(){const e=fe(!1),t=Vr();return t&&jr(()=>{e.value=!0},t),e}function ti(e){const t=Qi();return j(()=>(t.value,!!e()))}function Zi(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Vn(...e){let t,i,r={};e.length===3?(t=e[0],i=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,i=e[0],r=e[1]):(t=e[0],i=e[1]):(t=!0,i=e[0]);const{target:a=Ge,eventName:l="keydown",passive:c=!1,dedupe:s=!1}=r,d=Zi(t);return ge(a,l,g=>{g.repeat&&ie(s)||d(g)&&i(g)},c)}function $n(e,t={}){const{controls:i=!1,navigator:r=Xr}=t,a=ti(()=>r&&"permissions"in r),l=fe(),c=typeof e=="string"?{name:e}:e,s=fe(),d=()=>{var g,m;s.value=(m=(g=l.value)==null?void 0:g.state)!=null?m:"prompt"};ge(l,"change",d,{passive:!0});const h=Vi(async()=>{if(a.value){if(!l.value)try{l.value=await r.permissions.query(c)}catch{l.value=void 0}finally{d()}if(i)return Ri(l.value)}});return h(),i?{state:s,isSupported:a,query:h}:s}function Xi(e={}){const{navigator:t=Xr,read:i=!1,source:r,copiedDuring:a=1500,legacy:l=!1}=e,c=ti(()=>t&&"clipboard"in t),s=$n("clipboard-read"),d=$n("clipboard-write"),h=j(()=>c.value||l),g=fe(""),m=fe(!1),_=xi(()=>m.value=!1,a,{immediate:!1});async function y(){let v=!(c.value&&E(s.value));if(!v)try{g.value=await t.clipboard.readText()}catch{v=!0}v&&(g.value=C())}h.value&&i&&ge(["copy","cut"],y,{passive:!0});async function A(v=ie(r)){if(h.value&&v!=null){let S=!(c.value&&E(d.value));if(!S)try{await t.clipboard.writeText(v)}catch{S=!0}S&&b(v),g.value=v,m.value=!0,_.start()}}function b(v){const S=document.createElement("textarea");S.value=v??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function C(){var v,S,R;return(R=(S=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:S.toString())!=null?R:""}function E(v){return v==="granted"||v==="prompt"}return{isSupported:h,text:g,copied:m,copy:A}}const mt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vt="__vueuse_ssr_handlers__",eo=to();function to(){return vt in mt||(mt[vt]=mt[vt]||{}),mt[vt]}function no(e,t){return eo[e]||t}function ro(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const io={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Hn="vueuse-storage";function oo(e,t,i,r={}){var a;const{flush:l="pre",deep:c=!0,listenToStorageChanges:s=!0,writeDefaults:d=!0,mergeDefaults:h=!1,shallow:g,window:m=Ge,eventFilter:_,onError:y=L=>{console.error(L)},initOnMounted:A}=r,b=(g?fe:re)(typeof t=="function"?t():t),C=j(()=>ie(e));if(!i)try{i=no("getDefaultStorage",()=>{var L;return(L=Ge)==null?void 0:L.localStorage})()}catch(L){y(L)}if(!i)return b;const E=ie(t),v=ro(E),S=(a=r.serializer)!=null?a:io[v],{pause:R,resume:U}=Gi(b,()=>T(b.value),{flush:l,deep:c,eventFilter:_});Be(C,()=>M(),{flush:l}),m&&s&&Yi(()=>{i instanceof Storage?ge(m,"storage",M,{passive:!0}):ge(m,Hn,k),A&&M()}),A||M();function B(L,P){if(m){const O={key:C.value,oldValue:L,newValue:P,storageArea:i};m.dispatchEvent(i instanceof Storage?new StorageEvent("storage",O):new CustomEvent(Hn,{detail:O}))}}function T(L){try{const P=i.getItem(C.value);if(L==null)B(P,null),i.removeItem(C.value);else{const O=S.write(L);P!==O&&(i.setItem(C.value,O),B(P,O))}}catch(P){y(P)}}function N(L){const P=L?L.newValue:i.getItem(C.value);if(P==null)return d&&E!=null&&i.setItem(C.value,S.write(E)),E;if(!L&&h){const O=S.read(P);return typeof h=="function"?h(O,E):v==="object"&&!Array.isArray(O)?{...E,...O}:O}else return typeof P!="string"?P:S.read(P)}function M(L){if(!(L&&L.storageArea!==i)){if(L&&L.key==null){b.value=E;return}if(!(L&&L.key!==C.value)){R();try{L?.newValue!==S.write(b.value)&&(b.value=N(L))}catch(P){y(P)}finally{L?On(U):U()}}}}function k(L){M(L.detail)}return b}function Dt(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function so(e,t,i={}){const{window:r=Ge}=i;return oo(e,t,r?.localStorage,i)}function ni(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const i=e.parentNode;return!i||i.tagName==="BODY"?!1:ni(i)}}function ao(e){const t=e||window.event,i=t.target;return ni(i)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const zt=new WeakMap;function lo(e,t=!1){const i=fe(t);let r=null,a="";Be(Zr(e),s=>{const d=Dt(ie(s));if(d){const h=d;if(zt.get(h)||zt.set(h,h.style.overflow),h.style.overflow!=="hidden"&&(a=h.style.overflow),h.style.overflow==="hidden")return i.value=!0;if(i.value)return h.style.overflow="hidden"}},{immediate:!0});const l=()=>{const s=Dt(ie(e));!s||i.value||(Rn&&(r=ge(s,"touchmove",d=>{ao(d)},{passive:!1})),s.style.overflow="hidden",i.value=!0)},c=()=>{const s=Dt(ie(e));!s||!i.value||(Rn&&r?.(),s.style.overflow=a,zt.delete(s),i.value=!1)};return Wn(c),j({get(){return i.value},set(s){s?l():c()}})}var uo=Object.defineProperty,co=(e,t,i)=>t in e?uo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ri=(e,t,i)=>co(e,t+"",i);class ii extends Mt{constructor(){super(...arguments),ri(this,"name","WalletNotSelectedError")}}class fo extends Mt{constructor(){super(...arguments),ri(this,"name","WalletNotSelectedError")}}function Ft(e){switch(e){case"processed":case"confirmed":case"finalized":case void 0:return e;case"recent":return"processed";case"single":case"singleGossip":return"confirmed";case"max":case"root":return"finalized";default:return}}const Gn="solana:mainnet",ho="solana:devnet",po="solana:testnet",go="solana:localnet",wo="https://api.mainnet-beta.solana.com";function yo(e){return e.includes(wo)?Gn:/\bdevnet\b/i.test(e)?ho:/\btestnet\b/i.test(e)?po:/\blocalhost\b/i.test(e)||/\b127\.0\.0\.1\b/.test(e)?go:Gn}function mo(e){let t=`${e.domain} wants you to sign in with your Solana account:
|
|
1
|
+
import{o as jr,n as On,_ as kn,w as Be,j as _i,$ as Si,b as re,k as Vr,a0 as Ci,a1 as Ii,a as fe,a2 as ie,c as j,u as Bi,t as Ri,a3 as Pe,q as ne,H as pe,J as Ie,d as ht,a4 as pt,D as Ve,z as le,E as V,x as ft,F as He,a5 as ce,a6 as de,Q as it,M as Ti,O as qn,N as Mi,C as $r,I as Hr,a7 as Ni,y as kt,R as Ui}from"./vendor-vue-NSDaktjZ.js";import{PublicKey as Gr,VersionedTransaction as Sn,Transaction as Cn,VersionedMessage as Li,SIGNATURE_LENGTH_IN_BYTES as Pi}from"./index.browser.esm-C9AI1tBm.js";import{h as Mt,n as x,l as $e,c as Oi,f as Yr,g as ki,k as be,W as Ke,d as ot,o as In,w as st,e as at,m as xr,r as Bn,q as Jr,p as Kn,a as Wi}from"./signer-VxQoXw0x.js";import{i as Di}from"./standard-BSrJCQ5C.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";function Wn(e){return Ci()?(Ii(e),!0):!1}const Nt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zi=Object.prototype.toString,Fi=e=>zi.call(e)==="[object Object]",Re=()=>{},Rn=qi();function qi(){var e,t;return Nt&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Ki(e,t){function i(...r){return new Promise((a,l)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(l)})}return i}const Qr=e=>e();function ji(e=Qr,t={}){const{initialState:i="active"}=t,r=Zr(i==="active");function a(){r.value=!1}function l(){r.value=!0}const c=(...s)=>{r.value&&e(...s)};return{isActive:kn(r),pause:a,resume:l,eventFilter:c}}function Vi(e){let t;function i(){return t||(t=e()),t}return i.reset=async()=>{const r=t;t=void 0,r&&await r},i}function $i(e){return Vr()}function Wt(e){return Array.isArray(e)?e:[e]}function Zr(...e){if(e.length!==1)return _i(...e);const t=e[0];return typeof t=="function"?kn(Si(()=>({get:t,set:Re}))):re(t)}function Hi(e,t,i={}){const{eventFilter:r=Qr,...a}=i;return Be(e,Ki(r,t),a)}function Gi(e,t,i={}){const{eventFilter:r,initialState:a="active",...l}=i,{eventFilter:c,pause:s,resume:d,isActive:h}=ji(r,{initialState:a});return{stop:Hi(e,t,{...l,eventFilter:c}),pause:s,resume:d,isActive:h}}function Yi(e,t=!0,i){$i()?jr(e,i):t?e():On(e)}function xi(e,t,i={}){const{immediate:r=!0,immediateCallback:a=!1}=i,l=fe(!1);let c=null;function s(){c&&(clearTimeout(c),c=null)}function d(){l.value=!1,s()}function h(...g){a&&e(),s(),l.value=!0,c=setTimeout(()=>{l.value=!1,c=null,e(...g)},ie(t))}return r&&(l.value=!0,Nt&&h()),Wn(d),{isPending:kn(l),start:h,stop:d}}function Ji(e,t,i){return Be(e,t,{...i,immediate:!0})}const Ge=Nt?window:void 0,Xr=Nt?window.navigator:void 0;function lt(e){var t;const i=ie(e);return(t=i?.$el)!=null?t:i}function ge(...e){const t=[],i=()=>{t.forEach(s=>s()),t.length=0},r=(s,d,h,g)=>(s.addEventListener(d,h,g),()=>s.removeEventListener(d,h,g)),a=j(()=>{const s=Wt(ie(e[0])).filter(d=>d!=null);return s.every(d=>typeof d!="string")?s:void 0}),l=Ji(()=>{var s,d;return[(d=(s=a.value)==null?void 0:s.map(h=>lt(h)))!=null?d:[Ge].filter(h=>h!=null),Wt(ie(a.value?e[1]:e[0])),Wt(Bi(a.value?e[2]:e[1])),ie(a.value?e[3]:e[2])]},([s,d,h,g])=>{if(i(),!s?.length||!d?.length||!h?.length)return;const m=Fi(g)?{...g}:g;t.push(...s.flatMap(_=>d.flatMap(y=>h.map(A=>r(_,y,A,m)))))},{flush:"post"}),c=()=>{l(),i()};return Wn(i),c}let jn=!1;function ei(e,t,i={}){const{window:r=Ge,ignore:a=[],capture:l=!0,detectIframe:c=!1,controls:s=!1}=i;if(!r)return s?{stop:Re,cancel:Re,trigger:Re}:Re;if(Rn&&!jn){jn=!0;const C={passive:!0};Array.from(r.document.body.children).forEach(E=>ge(E,"click",Re,C)),ge(r.document.documentElement,"click",Re,C)}let d=!0;const h=C=>ie(a).some(E=>{if(typeof E=="string")return Array.from(r.document.querySelectorAll(E)).some(v=>v===C.target||C.composedPath().includes(v));{const v=lt(E);return v&&(C.target===v||C.composedPath().includes(v))}});function g(C){const E=ie(C);return E&&E.$.subTree.shapeFlag===16}function m(C,E){const v=ie(C),S=v.$.subTree&&v.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(R=>R.el===E.target||E.composedPath().includes(R.el))}const _=C=>{const E=lt(e);if(C.target!=null&&!(!(E instanceof Element)&&g(e)&&m(e,C))&&!(!E||E===C.target||C.composedPath().includes(E))){if("detail"in C&&C.detail===0&&(d=!h(C)),!d){d=!0;return}t(C)}};let y=!1;const A=[ge(r,"click",C=>{y||(y=!0,setTimeout(()=>{y=!1},0),_(C))},{passive:!0,capture:l}),ge(r,"pointerdown",C=>{const E=lt(e);d=!h(C)&&!!(E&&!C.composedPath().includes(E))},{passive:!0}),c&&ge(r,"blur",C=>{setTimeout(()=>{var E;const v=lt(e);((E=r.document.activeElement)==null?void 0:E.tagName)==="IFRAME"&&!v?.contains(r.document.activeElement)&&t(C)},0)},{passive:!0})].filter(Boolean),b=()=>A.forEach(C=>C());return s?{stop:b,cancel:()=>{d=!1},trigger:C=>{d=!0,_(C),d=!1}}:b}function Qi(){const e=fe(!1),t=Vr();return t&&jr(()=>{e.value=!0},t),e}function ti(e){const t=Qi();return j(()=>(t.value,!!e()))}function Zi(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Vn(...e){let t,i,r={};e.length===3?(t=e[0],i=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,i=e[0],r=e[1]):(t=e[0],i=e[1]):(t=!0,i=e[0]);const{target:a=Ge,eventName:l="keydown",passive:c=!1,dedupe:s=!1}=r,d=Zi(t);return ge(a,l,g=>{g.repeat&&ie(s)||d(g)&&i(g)},c)}function $n(e,t={}){const{controls:i=!1,navigator:r=Xr}=t,a=ti(()=>r&&"permissions"in r),l=fe(),c=typeof e=="string"?{name:e}:e,s=fe(),d=()=>{var g,m;s.value=(m=(g=l.value)==null?void 0:g.state)!=null?m:"prompt"};ge(l,"change",d,{passive:!0});const h=Vi(async()=>{if(a.value){if(!l.value)try{l.value=await r.permissions.query(c)}catch{l.value=void 0}finally{d()}if(i)return Ri(l.value)}});return h(),i?{state:s,isSupported:a,query:h}:s}function Xi(e={}){const{navigator:t=Xr,read:i=!1,source:r,copiedDuring:a=1500,legacy:l=!1}=e,c=ti(()=>t&&"clipboard"in t),s=$n("clipboard-read"),d=$n("clipboard-write"),h=j(()=>c.value||l),g=fe(""),m=fe(!1),_=xi(()=>m.value=!1,a,{immediate:!1});async function y(){let v=!(c.value&&E(s.value));if(!v)try{g.value=await t.clipboard.readText()}catch{v=!0}v&&(g.value=C())}h.value&&i&&ge(["copy","cut"],y,{passive:!0});async function A(v=ie(r)){if(h.value&&v!=null){let S=!(c.value&&E(d.value));if(!S)try{await t.clipboard.writeText(v)}catch{S=!0}S&&b(v),g.value=v,m.value=!0,_.start()}}function b(v){const S=document.createElement("textarea");S.value=v??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function C(){var v,S,R;return(R=(S=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:S.toString())!=null?R:""}function E(v){return v==="granted"||v==="prompt"}return{isSupported:h,text:g,copied:m,copy:A}}const mt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vt="__vueuse_ssr_handlers__",eo=to();function to(){return vt in mt||(mt[vt]=mt[vt]||{}),mt[vt]}function no(e,t){return eo[e]||t}function ro(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const io={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Hn="vueuse-storage";function oo(e,t,i,r={}){var a;const{flush:l="pre",deep:c=!0,listenToStorageChanges:s=!0,writeDefaults:d=!0,mergeDefaults:h=!1,shallow:g,window:m=Ge,eventFilter:_,onError:y=L=>{console.error(L)},initOnMounted:A}=r,b=(g?fe:re)(typeof t=="function"?t():t),C=j(()=>ie(e));if(!i)try{i=no("getDefaultStorage",()=>{var L;return(L=Ge)==null?void 0:L.localStorage})()}catch(L){y(L)}if(!i)return b;const E=ie(t),v=ro(E),S=(a=r.serializer)!=null?a:io[v],{pause:R,resume:U}=Gi(b,()=>T(b.value),{flush:l,deep:c,eventFilter:_});Be(C,()=>M(),{flush:l}),m&&s&&Yi(()=>{i instanceof Storage?ge(m,"storage",M,{passive:!0}):ge(m,Hn,k),A&&M()}),A||M();function B(L,P){if(m){const O={key:C.value,oldValue:L,newValue:P,storageArea:i};m.dispatchEvent(i instanceof Storage?new StorageEvent("storage",O):new CustomEvent(Hn,{detail:O}))}}function T(L){try{const P=i.getItem(C.value);if(L==null)B(P,null),i.removeItem(C.value);else{const O=S.write(L);P!==O&&(i.setItem(C.value,O),B(P,O))}}catch(P){y(P)}}function N(L){const P=L?L.newValue:i.getItem(C.value);if(P==null)return d&&E!=null&&i.setItem(C.value,S.write(E)),E;if(!L&&h){const O=S.read(P);return typeof h=="function"?h(O,E):v==="object"&&!Array.isArray(O)?{...E,...O}:O}else return typeof P!="string"?P:S.read(P)}function M(L){if(!(L&&L.storageArea!==i)){if(L&&L.key==null){b.value=E;return}if(!(L&&L.key!==C.value)){R();try{L?.newValue!==S.write(b.value)&&(b.value=N(L))}catch(P){y(P)}finally{L?On(U):U()}}}}function k(L){M(L.detail)}return b}function Dt(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function so(e,t,i={}){const{window:r=Ge}=i;return oo(e,t,r?.localStorage,i)}function ni(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const i=e.parentNode;return!i||i.tagName==="BODY"?!1:ni(i)}}function ao(e){const t=e||window.event,i=t.target;return ni(i)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const zt=new WeakMap;function lo(e,t=!1){const i=fe(t);let r=null,a="";Be(Zr(e),s=>{const d=Dt(ie(s));if(d){const h=d;if(zt.get(h)||zt.set(h,h.style.overflow),h.style.overflow!=="hidden"&&(a=h.style.overflow),h.style.overflow==="hidden")return i.value=!0;if(i.value)return h.style.overflow="hidden"}},{immediate:!0});const l=()=>{const s=Dt(ie(e));!s||i.value||(Rn&&(r=ge(s,"touchmove",d=>{ao(d)},{passive:!1})),s.style.overflow="hidden",i.value=!0)},c=()=>{const s=Dt(ie(e));!s||!i.value||(Rn&&r?.(),s.style.overflow=a,zt.delete(s),i.value=!1)};return Wn(c),j({get(){return i.value},set(s){s?l():c()}})}var uo=Object.defineProperty,co=(e,t,i)=>t in e?uo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ri=(e,t,i)=>co(e,t+"",i);class ii extends Mt{constructor(){super(...arguments),ri(this,"name","WalletNotSelectedError")}}class fo extends Mt{constructor(){super(...arguments),ri(this,"name","WalletNotSelectedError")}}function Ft(e){switch(e){case"processed":case"confirmed":case"finalized":case void 0:return e;case"recent":return"processed";case"single":case"singleGossip":return"confirmed";case"max":case"root":return"finalized";default:return}}const Gn="solana:mainnet",ho="solana:devnet",po="solana:testnet",go="solana:localnet",wo="https://api.mainnet-beta.solana.com";function yo(e){return e.includes(wo)?Gn:/\bdevnet\b/i.test(e)?ho:/\btestnet\b/i.test(e)?po:/\blocalhost\b/i.test(e)||/\b127\.0\.0\.1\b/.test(e)?go:Gn}function mo(e){let t=`${e.domain} wants you to sign in with your Solana account:
|
|
2
2
|
`;t+=`${e.address}`,e.statement&&(t+=`
|
|
3
3
|
|
|
4
4
|
${e.statement}`);const i=[];if(e.uri&&i.push(`URI: ${e.uri}`),e.version&&i.push(`Version: ${e.version}`),e.chainId&&i.push(`Chain ID: ${e.chainId}`),e.nonce&&i.push(`Nonce: ${e.nonce}`),e.issuedAt&&i.push(`Issued At: ${e.issuedAt}`),e.expirationTime&&i.push(`Expiration Time: ${e.expirationTime}`),e.notBefore&&i.push(`Not Before: ${e.notBefore}`),e.requestId&&i.push(`Request ID: ${e.requestId}`),e.resources){i.push("Resources:");for(const r of e.resources)i.push(`- ${r}`)}return i.length&&(t+=`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"title.index":{message:"My Subsite",description:"Main title for the subsite management homepage"},"title.create":{message:"Create Subsite",description:"Title for the new subsite dialog"},"title.openNow":{message:"Visit Subsite Now",description:"Title for the dialog asking if the user wants to redirect after successful creation"},"field.slug":{message:"Subdomain Prefix",description:"Title for the subsite slug input field"},"field.origin":{message:"Subsite Domain",description:"Domain column in the subsite list"},"field.title":{message:"Subsite Title",description:"Field for the subsite title"},"field.createdAt":{message:"Creation Time",description:"Column for the subsite creation time"},"field.actions":{message:"Actions",description:"Column for actions in the subsite list"},"placeholder.slug":{message:"e.g. my-brand",description:"Placeholder for the slug input field"},"placeholder.title":{message:"Displayed in the subsite browser tab and site header",description:"Placeholder for the title input field"},"button.create":{message:"Create Subsite",description:"Button to create a subsite"},"button.open":{message:"Open",description:"Button to open the subsite"},"button.manage":{message:"Manage",description:"Button to enter subsite settings"},"message.indexTip":{message:"Create independent brand subsites under the main site, each subsite can have its own logo, title, and feature set without needing to build separate source code.",description:"Description text for the subsite management homepage"},"message.empty":{message:"You haven't created any subsites yet. Click 'Create Subsite' in the top right to get started.",description:"Empty list prompt"},"message.slugTip":{message:"3-32 lowercase letters, numbers, or hyphens; cannot start or end with a hyphen, and cannot contain consecutive hyphens.",description:"Description for the slug field"},"message.slugInvalid":{message:"Invalid subdomain prefix format, please check the rules and try again.",description:"Slug validation failure"},"message.zoneMissing":{message:"The current main site is not configured with a subdomain zone, please contact the site administrator.",description:"Missing subdomain_zone"},"message.created":{message:"Subsite created successfully!",description:"Success message for creation"},"message.createFailed":{message:"Failed to create subsite, please try again later.",description:"Failure message for creation"},"message.slugTaken":{message:"The subdomain {origin} is already taken. Please choose a different one.",description:"Shown when the chosen slug collides with an existing subsite (backend returns code=duplication)."},"message.loadFailed":{message:"Failed to load the subsite list.",description:"Failure message for loading the list"},"message.openNowConfirm":{message:"Subsite {origin} has been created. Would you like to open it now to continue configuration?",description:"Prompt to open immediately after creation"},"title.domains":{message:"Custom Domain for {origin}",description:"Title for the custom domain dialog"},"title.bindDomain":{message:"Bind New Domain",description:"Title for the binding form"},"button.domains":{message:"Domains",description:"Button to open the domain management dialog"},"button.bindDomain":{message:"Bind Domain",description:"Button to submit binding a new domain"},"button.verify":{message:"Verify Now",description:"Check if the domain can be resolved and a certificate issued through our reverse proxy"},"button.refresh":{message:"Refresh",description:"Re-fetch the status of the domain"},"field.hostname":{message:"Your Domain",description:"Input your owned domain or subdomain"},"field.recordType":{message:"Record Type",description:"Column for DNS record type"},"field.recordName":{message:"Record Name",description:"Column for DNS record name"},"field.recordValue":{message:"Record Value",description:"Column for DNS record value"},"placeholder.hostname":{message:"e.g. studio.mybrand.com",description:"Placeholder for the hostname input field"},"message.domainsIntro":{message:"Bind your owned domain to this subsite. You need to be able to modify the DNS of that domain. Follow the prompts below to add a CNAME record and then click 'Verify Now', we will automatically issue and renew an HTTPS certificate for you for free through Let's Encrypt.",description:"Top description for the dialog"},"message.domainsEmpty":{message:"No custom domains bound yet. Fill in the complete domain in the form below and click 'Bind' to get started.",description:"Empty list prompt"},"message.hostnameTip":{message:"Must be a public domain name that you can control the DNS for.",description:"Input tip for hostname"},"message.hostnameInvalid":{message:"Invalid domain format. Must be a publicly resolvable domain, IP addresses are not allowed.",description:"Local validation failure for hostname"},"message.domainCreated":{message:"Domain has been submitted, please follow the prompts to add a CNAME record.",description:"Success message for POST /site-domains/"},"message.domainCreateFailed":{message:"Failed to create domain, please try again later.",description:"Failure message for domain creation"},"message.domainsLoadFailed":{message:"Failed to load the domain list.",description:"Failure message for loading the domain list"},"message.domainActive":{message:"Domain is live! You can now access the substation via your custom HTTPS address.",description:"Indicates that the domain has entered the Active state"},"message.domainFailed":{message:"Domain verification or launch failed.",description:"Failed status message"},"message.domainVerifyFailed":{message:"Verification failed, please check if the CNAME record points to our reverse proxy and DNS propagation is complete.",description:"Verify interface 4xx"},"message.domainDeleteConfirm":{message:"Are you sure you want to unbind {hostname}? After unbinding, users will not be able to access your substation from this domain.",description:"Delete confirmation"},"message.domainDeleteFailed":{message:"Failed to delete the domain.",description:"DELETE interface 5xx"},"status.pending":{message:"Pending",description:"Pending status label: waiting for user to add CNAME and click 'Verify Now'"},"status.active":{message:"Active",description:"Active status label"},"status.failed":{message:"Failed",description:"Failed status label"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"title.index":{message:"我的分站",description:"分站管理首页大标题"},"title.create":{message:"创建分站",description:"新建分站对话框标题"},"title.openNow":{message:"立即访问分站",description:"新建成功后询问是否立即跳转的对话框标题"},"field.slug":{message:"子域名前缀",description:"分站 slug 输入框标题"},"field.origin":{message:"分站域名",description:"分站列表的域名列"},"field.title":{message:"分站标题",description:"分站标题字段"},"field.createdAt":{message:"创建时间",description:"分站创建时间列"},"field.actions":{message:"操作",description:"分站列表操作列"},"placeholder.slug":{message:"例如 my-brand",description:"slug 输入框占位符"},"placeholder.title":{message:"用于显示在分站浏览器标签和站点头部",description:"标题输入框占位符"},"button.create":{message:"创建分站",description:"创建分站按钮"},"button.open":{message:"打开",description:"打开分站按钮"},"button.manage":{message:"管理",description:"进入分站设置按钮"},"message.indexTip":{message:"在主站之下创建独立品牌的分站,每个分站可以拥有自己的 Logo、标题和功能集,不需要单独搭建源代码。",description:"分站管理首页说明文字"},"message.empty":{message:"你还没有创建任何分站。点击右上角“创建分站”开始。",description:"空列表提示"},"message.slugTip":{message:"3-32 位小写字母、数字或短横线;不能以短横线开头或结尾,也不能包含连续短横线。",description:"slug 字段说明"},"message.slugInvalid":{message:"子域名前缀格式不正确,请检查规则后重试。",description:"slug 校验失败"},"message.zoneMissing":{message:"当前主站未配置分站域名区,请联系站点管理员。",description:"subdomain_zone 缺失"},"message.created":{message:"分站创建成功!",description:"创建成功"},"message.createFailed":{message:"创建分站失败,请稍后重试。",description:"创建失败"},"message.slugTaken":{message:"子域名 {origin} 已被使用,请换一个再试。",description:"创建分站时,slug 已被占用(后端返回 code=duplication)"},"message.loadFailed":{message:"加载分站列表失败。",description:"拉列表失败"},"message.openNowConfirm":{message:"分站 {origin} 已创建。是否现在打开它继续配置?",description:"创建后是否立即打开"},"title.domains":{message:"{origin} 的自定义域名",description:"自定义域名对话框标题"},"title.bindDomain":{message:"绑定新域名",description:"绑定表单标题"},"button.domains":{message:"域名",description:"打开域名管理对话框的按钮"},"button.bindDomain":{message:"绑定域名",description:"提交绑定新域名"},"button.verify":{message:"立即验证",description:"通过我们的反向代理探测该域名是否已能正常解析并签发证书"},"button.refresh":{message:"刷新",description:"重新拉取该域名的状态"},"field.hostname":{message:"你的域名",description:"输入你拥有的域名或子域名"},"field.recordType":{message:"记录类型",description:"DNS 记录类型列"},"field.recordName":{message:"记录名称",description:"DNS 记录名称列"},"field.recordValue":{message:"记录值",description:"DNS 记录值列"},"placeholder.hostname":{message:"例如 studio.mybrand.com",description:"hostname 输入框占位符"},"message.domainsIntro":{message:"将你拥有的域名绑定到该分站。你需要能修改该域名的 DNS。按照下方提示添加一条 CNAME 后点击“立即验证”即可,我们会自动通过 Let's Encrypt 为你免费签发并续期 HTTPS 证书。",description:"对话框顶部说明"},"message.domainsEmpty":{message:"暂未绑定任何自定义域名。在下方表单中填写完整域名并点击“绑定”即可开始。",description:"空列表提示"},"message.hostnameTip":{message:"需是你能控制 DNS 的公网域名。",description:"hostname 输入提示"},"message.hostnameInvalid":{message:"域名格式不正确。必须是公网可解析的域名,不允许 IP 地址。",description:"hostname 本地校验失败"},"message.domainCreated":{message:"域名已提交,请按提示添加 CNAME 记录。",description:"POST /site-domains/ 成功"},"message.domainCreateFailed":{message:"创建域名失败,请稍后重试。",description:"创建失败兑底"},"message.domainsLoadFailed":{message:"加载域名列表失败。",description:"拉域名列表失败"},"message.domainActive":{message:"域名已上线!现在可以通过你的自定义 HTTPS 地址访问分站。",description:"进入 Active 状态"},"message.domainFailed":{message:"域名验证或上线失败。",description:"Failed 状态兑底文案"},"message.domainVerifyFailed":{message:"验证失败,请检查 CNAME 记录是否已指向我们的反向代理并完成 DNS 传播。",description:"verify 接口 4xx"},"message.domainDeleteConfirm":{message:"确定要解绑 {hostname} 吗?解绑后用户将无法从该域名访问你的分站。",description:"删除确认"},"message.domainDeleteFailed":{message:"删除域名失败。",description:"DELETE 接口 5xx"},"status.pending":{message:"待验证",description:"Pending 状态标签:等待用户加 CNAME 并点击“立即验证”"},"status.active":{message:"已上线",description:"Active 状态标签"},"status.failed":{message:"失败",description:"Failed 状态标签"}};export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-
|
|
1
|
+
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-nPnFMLZb.js";class n{async task(a,t){return await e.post("/suno/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/suno/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async audio(a,t){return await e.post("/suno/audios",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async lyric(a,t){return await e.post("/suno/lyrics",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async upload(a,t){return await e.post("/suno/upload",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async mp4(a,t){return await e.post("/suno/mp4",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async style(a,t){return await e.post("/suno/style",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async wav(a,t){return await e.post("/suno/wav",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async midi(a,t){return await e.post("/suno/midi",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async persona(a,t){return await e.post("/suno/persona",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async vox(a,t){return await e.post("/suno/vox",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async timing(a,t){return await e.post("/suno/timing",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async voices(a,t){return await e.post("/suno/voices",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async mashupLyrics(a,t){return await e.post("/suno/mashup-lyrics",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async personasList(a,t){return await e.get("/suno/persona",{params:a,headers:{authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async personasDelete(a,t){return await e.delete("/suno/persona",{params:a,headers:{authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}}const p=new n;export{p as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const v=o`<svg width="10" height="10" viewBox="0 0 10 10">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const w=o`<svg
|
|
2
2
|
width="14"
|
|
3
3
|
height="14"
|
|
4
4
|
viewBox="0 0 14 14"
|
package/dist/assets/{swapHorizontalRoundedBold-BaruK0X1.js → swapHorizontalRoundedBold-B9xNJ8fh.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const n=o`<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./index-
|
|
1
|
+
import{w as l}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=l`<svg fill="none" viewBox="0 0 14 14">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as t}from"./index-
|
|
1
|
+
import{w as t}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const m=t`<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<path fill="url(#b)" d="M0 0h32v32H0z"/>
|
|
4
4
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.034 15.252c4.975-2.167 8.293-3.596 9.953-4.287 4.74-1.971 5.725-2.314 6.366-2.325.142-.002.457.033.662.198.172.14.22.33.243.463.022.132.05.435.028.671-.257 2.7-1.368 9.248-1.933 12.27-.24 1.28-.71 1.708-1.167 1.75-.99.091-1.743-.655-2.703-1.284-1.502-.985-2.351-1.598-3.81-2.558-1.684-1.11-.592-1.721.368-2.718.252-.261 4.619-4.233 4.703-4.594.01-.045.02-.213-.08-.301-.1-.09-.246-.059-.353-.035-.15.034-2.55 1.62-7.198 4.758-.682.468-1.298.696-1.851.684-.61-.013-1.782-.344-2.653-.628-1.069-.347-1.918-.53-1.845-1.12.039-.308.462-.623 1.27-.944Z" fill="#fff"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as t}from"./index-
|
|
1
|
+
import{w as t}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const g=t`<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path d="M7 3.71875C6.0335 3.71875 5.25 2.93525 5.25 1.96875C5.25 1.00225 6.0335 0.21875 7 0.21875C7.9665 0.21875 8.75 1.00225 8.75 1.96875C8.75 2.93525 7.9665 3.71875 7 3.71875Z" fill="#949E9E"/>
|
|
3
3
|
<path d="M7 8.96875C6.0335 8.96875 5.25 8.18525 5.25 7.21875C5.25 6.25225 6.0335 5.46875 7 5.46875C7.9665 5.46875 8.75 6.25225 8.75 7.21875C8.75 8.18525 7.9665 8.96875 7 8.96875Z" fill="#949E9E"/>
|
|
4
4
|
<path d="M5.25 12.4688C5.25 13.4352 6.0335 14.2187 7 14.2187C7.9665 14.2187 8.75 13.4352 8.75 12.4688C8.75 11.5023 7.9665 10.7188 7 10.7188C6.0335 10.7188 5.25 11.5023 5.25 12.4688Z" fill="#949E9E"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as i}from"./index-
|
|
1
|
+
import{w as i}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<g clip-path="url(#b)">
|
|
4
4
|
<circle cx="20" cy="19.89" r="20" fill="#5A3E85" />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const A=o`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as h,q as M,r as F,b as R,v as T,w as V,x as W,y as B,z,A as D}from"./index-
|
|
1
|
+
import{t as h,q as M,r as F,b as R,v as T,w as V,x as W,y as B,z,A as D}from"./index-nPnFMLZb.js";import{b as y,w as _,c as J,k as U}from"./vendor-vue-NSDaktjZ.js";function m(e){var t;const r=W(e);return(t=r?.$el)!=null?t:r}const w=R?window:void 0,k=R?window.document:void 0;function b(...e){let t,r,n,u;if(T(e[0])||Array.isArray(e[0])?([r,n,u]=e,t=w):[t,r,n,u]=e,!t)return F;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const d=[],a=()=>{d.forEach(i=>i()),d.length=0},l=(i,f,s,o)=>(i.addEventListener(f,s,o),()=>i.removeEventListener(f,s,o)),p=_(()=>[m(t),W(u)],([i,f])=>{a(),i&&d.push(...r.flatMap(s=>n.map(o=>l(i,s,o,f))))},{immediate:!0,flush:"post"}),v=()=>{p(),a()};return h(v),v}let S=!1;function ie(e,t,r={}){const{window:n=w,ignore:u=[],capture:d=!0,detectIframe:a=!1}=r;if(!n)return;M&&!S&&(S=!0,Array.from(n.document.body.children).forEach(s=>s.addEventListener("click",F)));let l=!0;const p=s=>u.some(o=>{if(typeof o=="string")return Array.from(n.document.querySelectorAll(o)).some(c=>c===s.target||s.composedPath().includes(c));{const c=m(o);return c&&(s.target===c||s.composedPath().includes(c))}}),i=[b(n,"click",s=>{const o=m(e);if(!(!o||o===s.target||s.composedPath().includes(o))){if(s.detail===0&&(l=!p(s)),!l){l=!0;return}t(s)}},{passive:!0,capture:d}),b(n,"pointerdown",s=>{const o=m(e);o&&(l=!s.composedPath().includes(o)&&!p(s))},{passive:!0}),a&&b(n,"blur",s=>{var o;const c=m(e);((o=n.document.activeElement)==null?void 0:o.tagName)==="IFRAME"&&!c?.contains(n.document.activeElement)&&t(s)})].filter(Boolean);return()=>i.forEach(s=>s())}function L(e,t=!1){const r=y(),n=()=>r.value=!!e();return n(),V(n,t),r}function q(e){return JSON.parse(JSON.stringify(e))}const N=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},$="__vueuse_ssr_handlers__";N[$]=N[$]||{};function ue({document:e=k}={}){if(!e)return y("visible");const t=y(e.visibilityState);return b(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var A=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,K=(e,t)=>{var r={};for(var n in e)G.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&A)for(var n of A(e))t.indexOf(n)<0&&H.call(e,n)&&(r[n]=e[n]);return r};function le(e,t,r={}){const n=r,{window:u=w}=n,d=K(n,["window"]);let a;const l=L(()=>u&&"ResizeObserver"in u),p=()=>{a&&(a.disconnect(),a=void 0)},v=_(()=>m(e),f=>{p(),l.value&&u&&f&&(a=new ResizeObserver(t),a.observe(f,d))},{immediate:!0,flush:"post"}),i=()=>{p(),v()};return h(i),{isSupported:l,stop:i}}var j=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,Z=(e,t)=>{var r={};for(var n in e)X.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&j)for(var n of j(e))t.indexOf(n)<0&&Y.call(e,n)&&(r[n]=e[n]);return r};function ce(e,t,r={}){const n=r,{window:u=w}=n,d=Z(n,["window"]);let a;const l=L(()=>u&&"MutationObserver"in u),p=()=>{a&&(a.disconnect(),a=void 0)},v=_(()=>m(e),f=>{p(),l.value&&u&&f&&(a=new MutationObserver(t),a.observe(f,d))},{immediate:!0}),i=()=>{p(),v()};return h(i),{isSupported:l,stop:i}}var x;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(x||(x={}));var ee=Object.defineProperty,C=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,Q=(e,t,r)=>t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,re=(e,t)=>{for(var r in t||(t={}))te.call(t,r)&&Q(e,r,t[r]);if(C)for(var r of C(t))ne.call(t,r)&&Q(e,r,t[r]);return e};const se={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};re({linear:D},se);function fe(e,t,r,n={}){var u,d,a;const{clone:l=!1,passive:p=!1,eventName:v,deep:i=!1,defaultValue:f}=n,s=U(),o=s?.emit||((u=s?.$emit)==null?void 0:u.bind(s))||((a=(d=s?.proxy)==null?void 0:d.$emit)==null?void 0:a.bind(s?.proxy));let c=v;c=v||c||`update:${t.toString()}`;const E=O=>l?z(l)?l(O):q(O):O,P=()=>B(e[t])?E(e[t]):f;if(p){const O=P(),g=y(O);return _(()=>e[t],I=>g.value=E(I)),_(g,I=>{(I!==e[t]||i)&&o(c,I)},{deep:i}),g}else return J({get(){return P()},set(O){o(c,O)}})}function de({window:e=w}={}){if(!e)return y(!1);const t=y(e.document.hasFocus());return b(e,"blur",()=>{t.value=!1}),b(e,"focus",()=>{t.value=!0}),t}const pe=e=>e;export{le as a,fe as b,ce as c,ue as d,de as e,m as f,pe as m,ie as o,b as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as p,d as t,u as f}from"./index-
|
|
1
|
+
import{f as p,d as t,u as f}from"./index-nPnFMLZb.js";import{i as c,o as I,w,j as h,e as m,b as e,c as y}from"./vendor-vue-NSDaktjZ.js";const K=()=>{const l=c(p,void 0),u=c(t,void 0);return{form:l,formItem:u}},L=(l,{formItemContext:u,disableIdGeneration:o,disableIdManagement:s})=>{o||(o=e(!1)),s||(s=e(!1));const v=e();let d;const r=y(()=>{var a;return!!(!(l.label||l.ariaLabel)&&u&&u.inputIds&&((a=u.inputIds)==null?void 0:a.length)<=1)});return I(()=>{d=w([h(l,"id"),o],([a,n])=>{const i=a??(n?void 0:f().value);i!==v.value&&(u?.removeInputId&&(v.value&&u.removeInputId(v.value),!s?.value&&!n&&i&&u.addInputId(i)),v.value=i)},{immediate:!0})}),m(()=>{d&&d(),u?.removeInputId&&v.value&&u.removeInputId(v.value)}),{isLabeledByFormItem:r,inputId:v}};export{L as a,K as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as i}from"./index-nPnFMLZb.js";const n=o=>["",...i].includes(o);export{n as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./index-
|
|
1
|
+
import{w as l}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const n=l`<svg fill="none" viewBox="0 0 28 28">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./index-
|
|
1
|
+
import{w as l}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=l`<svg fill="none" viewBox="0 0 14 14">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{v as ae,x as ne,y as se,z as f,A as E,B as g,C as r,D,E as Q,F as Z,R as l,G as v,I as H,J as ce,K as C,L as le,M as q,S as V,N as h,O as A,P as M,Q as F,T as $,U as B,V as we,W as de,X as ue,Y as pe}from"./index-
|
|
1
|
+
import{v as ae,x as ne,y as se,z as f,A as E,B as g,C as r,D,E as Q,F as Z,R as l,G as v,I as H,J as ce,K as C,L as le,M as q,S as V,N as h,O as A,P as M,Q as F,T as $,U as B,V as we,W as de,X as ue,Y as pe}from"./index-Dpqu7-cy.js";import{c as u,n as d,r as w,o as X,U as me}from"./index-CNhecB0s.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const m=se({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),T={state:m,subscribe(n){return ne(m,()=>n(m))},subscribeKey(n,e){return ae(m,n,e)},showTooltip({message:n,triggerRect:e,variant:t}){m.open=!0,m.message=n,m.triggerRect=e,m.variant=t},hide(){m.open=!1,m.message="",m.triggerRect={width:0,height:0,top:0,left:0}}},he=f`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
border-radius: clamp(0px, var(--wui-border-radius-l), 44px);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as a}from"./index-
|
|
1
|
+
import{w as a}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const h=a`
|
|
2
2
|
<svg fill="none" viewBox="0 0 48 44">
|
|
3
3
|
<path
|
|
4
4
|
style="fill: var(--wui-color-bg-300);"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./index-
|
|
1
|
+
import{w as l}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const n=l`<svg fill="none" viewBox="0 0 96 67">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="M25.32 18.8a32.56 32.56 0 0 1 45.36 0l1.5 1.47c.63.62.63 1.61 0 2.22l-5.15 5.05c-.31.3-.82.3-1.14 0l-2.07-2.03a22.71 22.71 0 0 0-31.64 0l-2.22 2.18c-.31.3-.82.3-1.14 0l-5.15-5.05a1.55 1.55 0 0 1 0-2.22l1.65-1.62Zm56.02 10.44 4.59 4.5c.63.6.63 1.6 0 2.21l-20.7 20.26c-.62.61-1.63.61-2.26 0L48.28 41.83a.4.4 0 0 0-.56 0L33.03 56.21c-.63.61-1.64.61-2.27 0L10.07 35.95a1.55 1.55 0 0 1 0-2.22l4.59-4.5a1.63 1.63 0 0 1 2.27 0L31.6 43.63a.4.4 0 0 0 .57 0l14.69-14.38a1.63 1.63 0 0 1 2.26 0l14.69 14.38a.4.4 0 0 0 .57 0l14.68-14.38a1.63 1.63 0 0 1 2.27 0Z"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as r}from"./index-
|
|
1
|
+
import{w as r}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=r`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="M11 6.67a1 1 0 1 0-2 0v2.66a1 1 0 0 0 2 0V6.67ZM10 14.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as n}from"./index-
|
|
1
|
+
import{W as n}from"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";class t extends n{constructor(){super(),this._lastWindow=null}async open(o){this._lastWindow=window.open(o.url,o.windowName||"_blank")}async close(){return new Promise((o,s)=>{this._lastWindow!=null?(this._lastWindow.close(),this._lastWindow=null,o()):s("No active window to close!")})}}const c=new t;export{c as Browser,t as BrowserWeb};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as t}from"./index-
|
|
1
|
+
import{W as t}from"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";class m extends t{constructor(){super(),this.handleVisibilityChange=()=>{const e={isActive:document.hidden!==!0};this.notifyListeners("appStateChange",e),document.hidden?this.notifyListeners("pause",null):this.notifyListeners("resume",null)},document.addEventListener("visibilitychange",this.handleVisibilityChange,!1)}exitApp(){throw this.unimplemented("Not implemented on web.")}async getInfo(){throw this.unimplemented("Not implemented on web.")}async getLaunchUrl(){return{url:""}}async getState(){return{isActive:document.hidden!==!0}}async minimizeApp(){throw this.unimplemented("Not implemented on web.")}async toggleBackButtonHandler(){throw this.unimplemented("Not implemented on web.")}async getAppLanguage(){return{value:navigator.language.split("-")[0].toLowerCase()}}}export{m as AppWeb};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as i}from"./index-
|
|
1
|
+
import{w as i}from"./index-Dpqu7-cy.js";import"./index.browser.esm-C9AI1tBm.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-nPnFMLZb.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const e=i`<svg fill="none" viewBox="0 0 41 40">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<path fill="#000" d="M.8 0h40v40H.8z" />
|
|
4
4
|
<path
|
package/dist/index.html
CHANGED
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
</style>
|
|
256
|
-
<script type="module" crossorigin src="/assets/index-
|
|
256
|
+
<script type="module" crossorigin src="/assets/index-nPnFMLZb.js"></script>
|
|
257
257
|
<link rel="modulepreload" crossorigin href="/assets/vendor-vue-NSDaktjZ.js">
|
|
258
258
|
<link rel="modulepreload" crossorigin href="/assets/vendor-axios-B8_nURbH.js">
|
|
259
259
|
<link rel="modulepreload" crossorigin href="/assets/vendor-dayjs-v0j1UNZp.js">
|