@acedatacloud/nexior 3.73.0 → 3.74.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-NoTc53hE.js → Auth-DXb7JbvM.js} +1 -1
- package/dist/assets/{BotPlaceholder-k4AeTKQv.js → BotPlaceholder-DxNfSpAj.js} +1 -1
- package/dist/assets/{Callback-DOycgWav.js → Callback-OOCIjlbp.js} +1 -1
- package/dist/assets/Console-CjFzbgqB.js +1 -0
- package/dist/assets/{Console-CMyBoRi3.css → Console-DTy4l1rJ.css} +1 -1
- package/dist/assets/{Consumption-ObjRS0rS.js → Consumption-BhtOulkD.js} +1 -1
- package/dist/assets/{Conversation-BXWsR8yK.css → Conversation-BH0JNtVt.css} +1 -1
- package/dist/assets/{Conversation-Sf2Ckrbc.js → Conversation-D2FglBjy.js} +11 -11
- package/dist/assets/{CopyToClipboard-BFGsFEZA.js → CopyToClipboard-B8fD1MOY.js} +1 -1
- package/dist/assets/{Detail-BoomGijw.js → Detail-cmmQHonZ.js} +2 -2
- package/dist/assets/{EditArray-C589NdeK.js → EditArray-0WTvdiOn.js} +1 -1
- package/dist/assets/{Extra-J2vBeRp_.js → Extra-YvpVYtrs.js} +1 -1
- package/dist/assets/{FilePreview-CdNlKu26.js → FilePreview-BfSKchDA.js} +1 -1
- package/dist/assets/{History-DDAEjZu4.js → History-BrUbtfBB.js} +1 -1
- package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-4LuzRoB1.js → IconPark.vue_vue_type_script_setup_true_lang-ByG746jv.js} +1 -1
- package/dist/assets/{ImagePreview-7HUOmAyV.js → ImagePreview-1Uv8U161.js} +1 -1
- package/dist/assets/{ImageWrapper-BdkNAzkK.js → ImageWrapper-DiCmcoV5.js} +1 -1
- package/dist/assets/{Index-DsFYtC1V.js → Index-5VtzMeim.js} +1 -1
- package/dist/assets/{Index-Ca5QMebM.js → Index-5XM49P0r.js} +1 -1
- package/dist/assets/{Index-Do093f6U.js → Index-B1Jhd8EX.js} +1 -1
- package/dist/assets/{Index-BFKNa0n9.js → Index-B2dhl3tJ.js} +1 -1
- package/dist/assets/{Index-DVZAGqA6.js → Index-B80K_et3.js} +1 -1
- package/dist/assets/{Index-yGS4sK22.js → Index-B9-EfF8Y.js} +1 -1
- package/dist/assets/{Index-BCcpC9vP.js → Index-BI-6kASG.js} +1 -1
- package/dist/assets/{Index-DWuY5lmE.js → Index-BcMHaHf3.js} +1 -1
- package/dist/assets/{Index-BR35KlgG.js → Index-BdGTgVpP.js} +1 -1
- package/dist/assets/{Index-yY6uaeGJ.js → Index-CKM37J9L.js} +1 -1
- package/dist/assets/{Index-DCcFMrKN.js → Index-CMhKHlAt.js} +1 -1
- package/dist/assets/{Index-DY3A5IUR.js → Index-CN3uuFMX.js} +1 -1
- package/dist/assets/{Index-CPIPpsBN.js → Index-CPJAVcqj.js} +1 -1
- package/dist/assets/Index-CegIxmi4.js +1 -0
- package/dist/assets/{Index-qR2xXFXz.js → Index-D98iycxc.js} +1 -1
- package/dist/assets/{Index-UbqLdZX9.js → Index-DXQgCXQC.js} +1 -1
- package/dist/assets/Index-DhyJ_fn0.js +1 -0
- package/dist/assets/{Index-BAuBysfO.js → Index-DqLi0o16.js} +1 -1
- package/dist/assets/{Index-BT20Sh5l.js → Index-DxM0XyWP.js} +1 -1
- package/dist/assets/{Index-D3wSX642.js → Index-L3cPT95P.js} +1 -1
- package/dist/assets/{Index-LFyw3q7j.js → Index-VcdV800i.js} +1 -1
- package/dist/assets/{Index-BjB6cHpK.js → Index-cygunJ4I.js} +1 -1
- package/dist/assets/{Index-DSupQ4kZ.js → Index-m3eDrs89.js} +1 -1
- package/dist/assets/{Index-D0je4Hb5.css → Index-ponrwc8W.css} +1 -1
- package/dist/assets/{Index-kiHI5-tV.js → Index-qLx5hZvP.js} +1 -1
- package/dist/assets/{Index-C6aQrN2T.js → Index-uByP6m1A.js} +1 -1
- package/dist/assets/{Invitees-CTmUqxWW.js → Invitees-NgwzSow-.js} +1 -1
- package/dist/assets/{List-2mL_Iyi_.js → List-CLrPT-kN.js} +1 -1
- package/dist/assets/List-Ct3dkNKG.js +1 -0
- package/dist/assets/List-D9ObvrS5.css +1 -0
- package/dist/assets/{List-BDcUSrkY.js → List-DH82K9Cl.js} +1 -1
- package/dist/assets/{List-DEahwqOo.js → List-DbcK-y-t.js} +1 -1
- package/dist/assets/{Main-BK3VTkIz.js → Main-EFI4_WpY.js} +1 -1
- package/dist/assets/Navigator-BVD52E9t.js +1 -0
- package/dist/assets/{NoTasks-DjrzkYOv.js → NoTasks-BlK3V8G5.js} +1 -1
- package/dist/assets/{NotFound-sOjmsYi3.js → NotFound-wt9jluKI.js} +1 -1
- package/dist/assets/{OAuthCallback-DwWLWZjv.js → OAuthCallback-Cc2ZpW3o.js} +1 -1
- package/dist/assets/{Pagination-Bsb_ujuK.js → Pagination-BQBQ3NzG.js} +1 -1
- package/dist/assets/{ScrollList-B3uJ1gSY.js → ScrollList-BOdmvFnt.js} +1 -1
- package/dist/assets/{Status-DTDJ8f9H.js → Status-BK0cZidI.js} +1 -1
- package/dist/assets/{Subscribe-BmsT6CVr.js → Subscribe-RJi23fjC.js} +1 -1
- package/dist/assets/{TransportWebHID-DxwdQFNV.js → TransportWebHID-CwxHJVqm.js} +1 -1
- package/dist/assets/{VideoPlayer-COOhs6r9.js → VideoPlayer-DSxv2U0y.js} +1 -1
- package/dist/assets/_Uint8Array-N0T_55nr.js +1 -0
- package/dist/assets/_baseClone-BwcB0PL4.js +1 -0
- package/dist/assets/_baseIteratee-XHAnGxNR.js +1 -0
- package/dist/assets/_initCloneObject-tDj2TPB_.js +1 -0
- package/dist/assets/{add-CEwzRu6L.js → add-BmCJ5AHn.js} +1 -1
- package/dist/assets/{all-wallets-njwOMixz.js → all-wallets-BMaggAVu.js} +1 -1
- package/dist/assets/{app-store-DXbpwukV.js → app-store-BNe2QdS-.js} +1 -1
- package/dist/assets/{apple-CsLR0q1_.js → apple-GSBOpXCW.js} +1 -1
- package/dist/assets/{arrow-bottom-qM4_w3S5.js → arrow-bottom-DQgBaf38.js} +1 -1
- package/dist/assets/{arrow-bottom-circle-CcPqse8v.js → arrow-bottom-circle-Co-Cc4eP.js} +1 -1
- package/dist/assets/{arrow-left-sh_391a2.js → arrow-left-yJhYPJiF.js} +1 -1
- package/dist/assets/{arrow-right-1oUfxSYC.js → arrow-right-Bxe4K9CT.js} +1 -1
- package/dist/assets/{arrow-top-EcRt6-Fn.js → arrow-top-DTfjrPUA.js} +1 -1
- package/dist/assets/{avatar-C5MmxEp3.js → avatar-BEtk-MBk.js} +1 -1
- package/dist/assets/{bank-d6PxCKSo.js → bank-IrDNH4Wv.js} +1 -1
- package/dist/assets/{basic-B4V1mlDt.js → basic-DTuXQa-m.js} +1 -1
- package/dist/assets/{browser-DOBpr_X-.js → browser-B3yfGOcx.js} +1 -1
- package/dist/assets/byok-B90wX2HN.js +1 -0
- package/dist/assets/byok-DYCL79f5.js +1 -0
- package/dist/assets/byokCredential-BZ2Y4dye.js +1 -0
- package/dist/assets/{card-CoRD5XNZ.js → card-jXGC8YLC.js} +1 -1
- package/dist/assets/{castArray-QGGZQJSb.js → castArray-TZ33WRsR.js} +1 -1
- package/dist/assets/{chat-Cj8C0rbW.js → chat-CyrtdlX6.js} +1 -1
- package/dist/assets/{checkmark-683lEqai.js → checkmark-BmdSZKG_.js} +1 -1
- package/dist/assets/{checkmark-bold-C1NWOdiX.js → checkmark-bold-CUGEUhjP.js} +1 -1
- package/dist/assets/{chevron-bottom-BqyeRO5G.js → chevron-bottom-BpetabXJ.js} +1 -1
- package/dist/assets/{chevron-left-D-o0lODs.js → chevron-left-pIFYUyj2.js} +1 -1
- package/dist/assets/{chevron-right-FXQiGguU.js → chevron-right-BoIuZKwL.js} +1 -1
- package/dist/assets/{chevron-top-CJ1naMMD.js → chevron-top-BMCi4wbV.js} +1 -1
- package/dist/assets/{chrome-store-NvGqM_Ui.js → chrome-store-C05bjDs6.js} +1 -1
- package/dist/assets/{clock-T7w73yzG.js → clock-Hmcd3BlP.js} +1 -1
- package/dist/assets/{close-BIS8Q4xl.js → close-DvxRBNWj.js} +1 -1
- package/dist/assets/{coinPlaceholder-D_y2Ezdz.js → coinPlaceholder-BkD_Felt.js} +1 -1
- package/dist/assets/{compass-DMMchAxm.js → compass-xm7qbm3A.js} +1 -1
- package/dist/assets/console-B-w1CIo5.js +1 -0
- package/dist/assets/console-BQ-YUvXy.js +1 -0
- package/dist/assets/{copy-jCAVZBDu.js → copy-CxcFJpLy.js} +1 -1
- package/dist/assets/{cursor-CbBmpE-t.js → cursor-D_EWenm6.js} +1 -1
- package/dist/assets/{cursor-transparent-CdZ8-lPZ.js → cursor-transparent-CawHHO7v.js} +1 -1
- package/dist/assets/{debounce-Cwy-8tIq.js → debounce-BoQ8giFp.js} +1 -1
- package/dist/assets/{desktop-D6035QEZ.js → desktop-CN1hqahl.js} +1 -1
- package/dist/assets/{disconnect-DWL9zPfb.js → disconnect-ByXeDEcO.js} +1 -1
- package/dist/assets/{discord-NA4mJa5n.js → discord-CxFfALNx.js} +1 -1
- package/dist/assets/{distribution-D3VAxO6Q.js → distribution-fie-dLT7.js} +1 -1
- package/dist/assets/{dropdown-Dxm3KexB.js → dropdown-DGJBMTF2.js} +1 -1
- package/dist/assets/{etherscan-WVUrKwQB.js → etherscan-C6-upWeC.js} +1 -1
- package/dist/assets/{exclamation-triangle-DexClW1o.js → exclamation-triangle-CrtAEWxS.js} +1 -1
- package/dist/assets/{extension-DoawrRUn.js → extension-b9nXYdIG.js} +1 -1
- package/dist/assets/{external-link-B-5fqhHo.js → external-link-Clo4A5LX.js} +1 -1
- package/dist/assets/{facebook-BoIB1lRR.js → facebook-D7yy160o.js} +1 -1
- package/dist/assets/{farcaster-CUoqwCJa.js → farcaster-CiBddthx.js} +1 -1
- package/dist/assets/{filters-Ene40HJu.js → filters-BxzUxZtp.js} +1 -1
- package/dist/assets/{flux-AUyGHZ0t.js → flux-DWxe5u7p.js} +1 -1
- package/dist/assets/{github-7LOduP1i.js → github-CGB4btsg.js} +1 -1
- package/dist/assets/{google-B1kp8x_y.js → google-oncCjLcw.js} +1 -1
- package/dist/assets/{hailuo-Qa5EnWTa.js → hailuo-BskLrKef.js} +1 -1
- package/dist/assets/{headshots-5O7Ibpo2.js → headshots-BhqzyB6i.js} +1 -1
- package/dist/assets/{help-circle-D3pzw-ef.js → help-circle-LZmjh0Gd.js} +1 -1
- package/dist/assets/{id-Mjvo-4_s.js → id-4SKRV957.js} +1 -1
- package/dist/assets/{image-D3u0zAfR.js → image-CNjRF2jE.js} +1 -1
- package/dist/assets/{index-BhfqOYjJ.js → index-2_x9nXmz.js} +1 -1
- package/dist/assets/{index-DsB_O52W.js → index-5Z-2Lig9.js} +1 -1
- package/dist/assets/{index-CaXzmXhq.js → index-6uHdLaGe.js} +1 -1
- package/dist/assets/{index-DolICJ8f.js → index-B6Y0SQpt.js} +1 -1
- package/dist/assets/{index-BKSXW3eM.js → index-BDSn_6IF.js} +1 -1
- package/dist/assets/{index-BHDum5pg.js → index-BE2t5XJ3.js} +1 -1
- package/dist/assets/{index-DJc-7ptp.js → index-BMeAE24J.js} +3 -3
- package/dist/assets/{index-I188IvRn.js → index-BTWEiU3z.js} +1 -1
- package/dist/assets/{index-9CvgySu9.js → index-B_rVcvK-.js} +1 -1
- package/dist/assets/{index-CM60TJbl.js → index-BcCQp_c3.js} +1 -1
- package/dist/assets/{index-Bwv8fI7m.js → index-BhBthUc5.js} +1 -1
- package/dist/assets/{index-Dn0U62sI.js → index-C1Ozn3PM.js} +1 -1
- package/dist/assets/{index-DUDhOLLa.js → index-C5kqqCCT.js} +1 -1
- package/dist/assets/{index-_UFAMZ9g.js → index-C7yII_0D.js} +1 -1
- package/dist/assets/{index-BomByufL.js → index-CAdvClb7.js} +1 -1
- package/dist/assets/{index-BZ-pSuzr.js → index-CEd7Pib2.js} +1 -1
- package/dist/assets/{index-q2YcfwZm.js → index-CFIovmns.js} +1 -1
- package/dist/assets/{index-FKCgLJVy.js → index-CFb8SN9I.js} +1 -1
- package/dist/assets/{index-_mFBTVtY.js → index-CN-ebvOL.js} +1 -1
- package/dist/assets/{index-BV1AfyXy.js → index-CPHCcW8_.js} +1 -1
- package/dist/assets/{index-oFgdNoVI.js → index-CQn0Y58v.js} +1 -1
- package/dist/assets/{index-CLDKJLd-.js → index-CZFv6ihm.js} +1 -1
- package/dist/assets/{index-EqGJdJeo.js → index-CZPOGXm_.js} +1 -1
- package/dist/assets/{index-DEYO5tcx.js → index-CaFKS5U_.js} +1 -1
- package/dist/assets/{index-BiJseCZf.js → index-ClBZflee.js} +2 -2
- package/dist/assets/{index-B-Kn5zUG.js → index-Clo7m7_9.js} +1 -1
- package/dist/assets/{index-CHzmF31S.js → index-Cn4zrk5d.js} +1 -1
- package/dist/assets/{index-zVGZpV5f.js → index-CqG7Krgt.js} +1 -1
- package/dist/assets/{index-Gb4iotU_.js → index-CsFqZQ2K.js} +1 -1
- package/dist/assets/{index-BwKkWex5.js → index-D1aezVOA.js} +1 -1
- package/dist/assets/{index-CTH83cwS.js → index-D5WX4zHQ.js} +1 -1
- package/dist/assets/{index-DIlYt77L.js → index-DAxGqvuJ.js} +6 -6
- package/dist/assets/{index-B3xCcB2U.js → index-DB2UiVI-.js} +1 -1
- package/dist/assets/{index-DBtC5OKc.css → index-DEVAP8QN.css} +1 -1
- package/dist/assets/{index-B9W4--y5.js → index-DIE1ivW7.js} +1 -1
- package/dist/assets/{index-BhC2wIUx.js → index-DK1FH5Yw.js} +1 -1
- package/dist/assets/{index-Dd8Lp2x7.js → index-DRtEmACc.js} +1 -1
- package/dist/assets/{index-D5DYPOng.js → index-DVA_w_4k.js} +1 -1
- package/dist/assets/{index-Dkwj8S_y.js → index-DWy-gMk1.js} +1 -1
- package/dist/assets/{index-C5R5qq7V.js → index-Ddq_rUF-.js} +1 -1
- package/dist/assets/{index-CfTVFzOT.js → index-DgVCWKRA.js} +1 -1
- package/dist/assets/{index-Cdj1vMia.js → index-DldaA7y3.js} +1 -1
- package/dist/assets/index-DnslJSug.js +1 -0
- package/dist/assets/index-DquOwAmU.js +1 -0
- package/dist/assets/{index-C-PMU3IW.js → index-DsEvRN70.js} +1 -1
- package/dist/assets/{index-DVVuxNlf.js → index-DuTCoQaq.js} +1 -1
- package/dist/assets/{index-B2QolkvC.js → index-Dy1HS0SX.js} +1 -1
- package/dist/assets/{index-CE3Va3r6.js → index-E-pTxr2w.js} +1 -1
- package/dist/assets/{index-CDH7Y8U1.js → index-GRkPjsov.js} +1 -1
- package/dist/assets/{index-dMPmKU6u.js → index-K-A1x_Lb.js} +8 -8
- package/dist/assets/{index-TQLzjaA8.js → index-LpK1B2b8.js} +1 -1
- package/dist/assets/{index-CzicsRE1.js → index-T-eH6jtW.js} +1 -1
- package/dist/assets/{index-Cbw6aa6T.js → index-a0lFEc5-.js} +1 -1
- package/dist/assets/{index-CA-B3YlS.js → index-cozX41Iv.js} +1 -1
- package/dist/assets/{index-BGkR-HKt.js → index-i-jBnQaf.js} +1 -1
- package/dist/assets/{index-DcUuZi4n.js → index-i_lwvGy0.js} +1 -1
- package/dist/assets/{index-WjhQxiNV.js → index-jBL3EQhc.js} +1 -1
- package/dist/assets/{index-VTpiJOTN.js → index-kYTygPjY.js} +1 -1
- package/dist/assets/{index-D79ehG62.js → index-nE07xhon.js} +1 -1
- package/dist/assets/{index-DL9fkylA.js → index-pvvyioHi.js} +1 -1
- package/dist/assets/{index-DJbYWAp1.js → index-rhRl-U8z.js} +1 -1
- package/dist/assets/{index-BV5ncGI3.js → index-s9dWwz6p.js} +1 -1
- package/dist/assets/{index.browser.esm-BEJTZOoQ.js → index.browser.esm-Bpaw2clE.js} +1 -1
- package/dist/assets/{index.es-XGGSPmjR.js → index.es-C0kXnOm7.js} +1 -1
- package/dist/assets/{info-irUW4Dwz.js → info-CMes9e-8.js} +1 -1
- package/dist/assets/{info-circle-DztsnBDb.js → info-circle-DV-M0-Ya.js} +1 -1
- package/dist/assets/{isEqual-DW2lLMge.js → isEqual-BGDCZ_eB.js} +1 -1
- package/dist/assets/{isPlainObject-ChwpXUZh.js → isPlainObject-Dt9Ed1u0.js} +1 -1
- package/dist/assets/{kling-2w8zx6TH.js → kling-yF08dkZ7.js} +1 -1
- package/dist/assets/{lightbulb-CKBdQtNM.js → lightbulb-BffVjjz9.js} +1 -1
- package/dist/assets/{luma-9dV_9SaX.js → luma-DJ4nvDEj.js} +1 -1
- package/dist/assets/{mail-CWztoxgv.js → mail-BZhL4xNw.js} +1 -1
- package/dist/assets/{midjourney-X1gn0e4W.js → midjourney-DewB0iLH.js} +1 -1
- package/dist/assets/{mobile-C783UnbI.js → mobile-DrS-zzTT.js} +1 -1
- package/dist/assets/{more-DrQHN7_0.js → more-CTfxV_BP.js} +1 -1
- package/dist/assets/{nanobanana-Ds61vVuj.js → nanobanana-CgfIDyfU.js} +1 -1
- package/dist/assets/{network-placeholder-VhEoR6gh.js → network-placeholder-CzL1Rzdq.js} +1 -1
- package/dist/assets/{nftPlaceholder-BllBIQiP.js → nftPlaceholder-KtW0WUUl.js} +1 -1
- package/dist/assets/{off-BqUdYNHO.js → off-CMgdqz9A.js} +1 -1
- package/dist/assets/{openaiimage-CyD0AL3s.js → openaiimage-DYXoisUt.js} +1 -1
- package/dist/assets/{order-DENITM42.js → order-Brksls1w.js} +1 -1
- package/dist/assets/{pika-DC0NiNAH.js → pika-C4eudUPH.js} +1 -1
- package/dist/assets/{pixverse-BRDF1zxs.js → pixverse-BsRvoD3G.js} +1 -1
- package/dist/assets/{play-store-BLtcEDMS.js → play-store-BetLVqXI.js} +1 -1
- package/dist/assets/{plus-CDKvlgg0.js → plus-h51o-TYa.js} +1 -1
- package/dist/assets/{price-Do7xTyQI.js → price-FDYmLMb0.js} +1 -1
- package/dist/assets/{producer-D74KMAXf.js → producer-Cap-WKOP.js} +1 -1
- package/dist/assets/{qr-code-D8GBBMpp.js → qr-code-Cv6GYLnY.js} +1 -1
- package/dist/assets/{qrart-C0MyLU58.js → qrart-BMpfvrCE.js} +1 -1
- package/dist/assets/{recycle-horizontal-Nwjr7rD7.js → recycle-horizontal-N8Ba7Lga.js} +1 -1
- package/dist/assets/{refresh-aQzvGTNm.js → refresh-CX_tbKi2.js} +1 -1
- package/dist/assets/{reown-logo-DtEaMZiy.js → reown-logo-owsGFkz6.js} +1 -1
- package/dist/assets/{search-BjjK1GFF.js → search-XEa0GHTr.js} +1 -1
- package/dist/assets/{secp256k1-BSCRoAmD.js → secp256k1-BtcoReqQ.js} +1 -1
- package/dist/assets/{secp256k1-DtB6bR8q.js → secp256k1-CLrBZvjf.js} +1 -1
- package/dist/assets/{seedance-ClveAe2e.js → seedance-HnBeU2KD.js} +1 -1
- package/dist/assets/{seedream-AadHUS4X.js → seedream-Cf0AQdb6.js} +1 -1
- package/dist/assets/{send-CypOcrvx.js → send-D4lsn-4k.js} +1 -1
- package/dist/assets/{service-DI9hiw5k.js → service-CElsavN1.js} +1 -1
- package/dist/assets/{solana-wallets-DVkLCl7u.js → solana-wallets-CCeduR-e.js} +2 -2
- package/dist/assets/{solana-wallets-vue-BGRzPInU.js → solana-wallets-vue-BeoPkhek.js} +1 -1
- package/dist/assets/{solanaEmbed.esm-Do6O6Srv.js → solanaEmbed.esm-DO77ZzCH.js} +1 -1
- package/dist/assets/{sora-CA_d19gb.js → sora-CowQfXh2.js} +1 -1
- package/dist/assets/{string_decoder-CIRc9AAN.js → string_decoder-DpNonnXi.js} +1 -1
- package/dist/assets/{suno-D8OpedhX.js → suno-CyiWYrWc.js} +1 -1
- package/dist/assets/{swapHorizontal-CLeT3k5W.js → swapHorizontal-CSzRXSQt.js} +1 -1
- package/dist/assets/{swapHorizontalBold-BleGpOiJ.js → swapHorizontalBold-D3EkbKsA.js} +1 -1
- package/dist/assets/{swapHorizontalMedium-BsAscWhc.js → swapHorizontalMedium-Dkt9CPnM.js} +1 -1
- package/dist/assets/{swapHorizontalRoundedBold-iUPoj3lF.js → swapHorizontalRoundedBold-Cn318a3F.js} +1 -1
- package/dist/assets/{swapVertical-DOIX1CHS.js → swapVertical-D6LdiLOT.js} +1 -1
- package/dist/assets/{telegram-DHmMOqGx.js → telegram-nGwvLBrP.js} +1 -1
- package/dist/assets/{three-dots-Bv_7Zym5.js → three-dots-CtNqWC3S.js} +1 -1
- package/dist/assets/{twitch-BSlZzmJh.js → twitch-BW7B_ZZj.js} +1 -1
- package/dist/assets/{twitterIcon-DUTcpvH5.js → twitterIcon-DtBlCqIp.js} +1 -1
- package/dist/assets/{typescript-H0JHBG5n.js → typescript-BNlpYnfV.js} +1 -1
- package/dist/assets/{use-form-item-Dxrg2wlU.js → use-form-item-DD9zRA7f.js} +1 -1
- package/dist/assets/validator-C3cLF2Ca.js +1 -0
- package/dist/assets/{veo-CAIT8ynX.js → veo-CUb_kjJP.js} +1 -1
- package/dist/assets/{verify-C_Q9uBRm.js → verify-CE9qreJi.js} +1 -1
- package/dist/assets/{verify-filled-C_fpoegy.js → verify-filled-CJk81dtg.js} +1 -1
- package/dist/assets/{w3m-modal-DhALPURi.js → w3m-modal-DJ3jVfIb.js} +1 -1
- package/dist/assets/{wallet-DfSryS3H.js → wallet-CdP10wfj.js} +1 -1
- package/dist/assets/{wallet-placeholder-OadSoskp.js → wallet-placeholder-4KSF2qxu.js} +1 -1
- package/dist/assets/{walletconnect-COYJTk1U.js → walletconnect-W__jCknZ.js} +1 -1
- package/dist/assets/{wan-DVp-nM8z.js → wan-D_OsnfOs.js} +1 -1
- package/dist/assets/{warning-circle-CmfsAoXg.js → warning-circle-BsHgwnar.js} +1 -1
- package/dist/assets/{web-t7YpvNIJ.js → web-Bjdieo1L.js} +1 -1
- package/dist/assets/{web-DBjfm8vn.js → web-CdxNM2v5.js} +1 -1
- package/dist/assets/{x-C_82IvcF.js → x-JbCikOce.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/Console-Dam4Lgoa.js +0 -1
- package/dist/assets/Index-D9k0J39B.js +0 -1
- package/dist/assets/Index-Di947Zkz.js +0 -1
- package/dist/assets/Navigator-Cs6pb5Mt.js +0 -1
- package/dist/assets/_Uint8Array-DZ0PVSry.js +0 -1
- package/dist/assets/_baseClone-6UfTLNRO.js +0 -1
- package/dist/assets/_baseIteratee-Dwi-MjVw.js +0 -1
- package/dist/assets/_initCloneObject-DgGkwNWc.js +0 -1
- package/dist/assets/console-B3eP-WO_.js +0 -1
- package/dist/assets/console-DMTF96hK.js +0 -1
- package/dist/assets/index-5UpwSI6_.js +0 -1
- package/dist/assets/index-DRFr4QkO.js +0 -1
- package/dist/assets/validator-BIiFrz53.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a1 as ct,a2 as ut,a3 as tr,a4 as j,a5 as sr,a6 as lt,a7 as nr,a8 as ir,a9 as ft,aa as ht}from"./index-DIlYt77L.js";import{g as dt}from"./vendor-dayjs-Cvgzdobq.js";import"./index.browser.esm-BEJTZOoQ.js";import"./index-dMPmKU6u.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const pt="transport";class Et{exchangeTimeout=3e4;unresponsiveTimeout=15e3;deviceModel=null;tracer;constructor({context:n,logType:t}={}){this.tracer=new ct(t??pt,n)}static isSupported;static list;static listen;static open;exchange(n,{abortTimeoutMs:t}={}){throw new Error("exchange not implemented")}exchangeBulk(n,t){let r=!1;const s=()=>{r=!0};return(async()=>{if(!r)for(const c of n){const u=await this.exchange(c);if(r)return;const o=u.readUInt16BE(u.length-2);if(o!==tr.OK)throw new sr(o);t.next(u)}})().then(()=>!r&&t.complete(),c=>!r&&t.error(c)),{unsubscribe:s}}setScrambleKey(n){}close(){return Promise.resolve()}_events=new ut;on(n,t){this._events.on(n,t)}off(n,t){this._events.removeListener(n,t)}emit(n,...t){this._events.emit(n,...t)}setDebugMode(){console.warn("setDebugMode is deprecated. use @ledgerhq/logs instead. No logs are emitted in this anymore.")}setExchangeTimeout(n){this.exchangeTimeout=n}setExchangeUnresponsiveTimeout(n){this.unresponsiveTimeout=n}send=async(n,t,r,s,l=Buffer.alloc(0),c=[tr.OK],{abortTimeoutMs:u}={})=>{const o=this.tracer.withUpdatedContext({function:"send"});if(l.length>=256)throw o.trace("data.length exceeded 256 bytes limit",{dataLength:l.length}),new j("data.length exceed 256 bytes limit. Got: "+l.length,"DataLengthTooBig");const a=await this.exchange(Buffer.concat([Buffer.from([n,t,r,s]),Buffer.from([l.length]),l]),{abortTimeoutMs:u}),e=a.readUInt16BE(a.length-2);if(!c.some(f=>f===e))throw new sr(e);return a};static create(n=3e3,t){return new Promise((r,s)=>{let l=!1;const c=this.listen({next:o=>{l=!0,c&&c.unsubscribe(),u&&clearTimeout(u),this.open(o.descriptor,n).then(r,s)},error:o=>{u&&clearTimeout(u),s(o)},complete:()=>{u&&clearTimeout(u),l||s(new j(this.ErrorMessage_NoDeviceFound,"NoDeviceFound"))}}),u=t?setTimeout(()=>{c.unsubscribe(),s(new j(this.ErrorMessage_ListenTimeout,"ListenTimeout"))},t):null})}exchangeBusyPromise;async exchangeAtomicImpl(n){const t=this.tracer.withUpdatedContext({function:"exchangeAtomicImpl",unresponsiveTimeout:this.unresponsiveTimeout});if(this.exchangeBusyPromise)throw t.trace("Atomic exchange is already busy"),new lt("An action was already pending on the Ledger device. Please deny or reconnect.");let r;const s=new Promise(u=>{r=u});this.exchangeBusyPromise=s;let l=!1;const c=setTimeout(()=>{t.trace('Timeout reached, emitting Transport event "unresponsive"',{unresponsiveTimeout:this.unresponsiveTimeout}),l=!0,this.emit("unresponsive")},this.unresponsiveTimeout);try{const u=await n();return l&&(t.trace("Device was unresponsive, emitting responsive"),this.emit("responsive")),u}finally{t.trace("Finalize, clearing busy guard"),clearTimeout(c),r&&r(),this.exchangeBusyPromise=null}}decorateAppAPIMethods(n,t,r){for(const s of t)n[s]=this.decorateAppAPIMethod(s,n[s],n,r)}_appAPIlock=null;decorateAppAPIMethod(n,t,r,s){return async(...l)=>{const{_appAPIlock:c}=this;if(c)return Promise.reject(new j("Ledger Device is busy (lock "+c+")","TransportLocked"));try{return this._appAPIlock=n,this.setScrambleKey(s),await t.apply(r,l)}finally{this._appAPIlock=null}}}setTraceContext(n){this.tracer=this.tracer.withContext(n)}updateTraceContext(n){this.tracer.updateContext(n)}getTraceContext(){return this.tracer.getContext()}static ErrorMessage_ListenTimeout="No Ledger device found (timeout)";static ErrorMessage_NoDeviceFound="No Ledger device found"}const ar=5;function mt(i){const n=Buffer.alloc(2);return n.writeUInt16BE(i,0),n}const Rt={data:Buffer.alloc(0),dataLength:0,sequence:0},vt=(i,n)=>({makeBlocks(t){let r=Buffer.concat([mt(t.length),t]);const s=n-5,l=Math.ceil(r.length/s);r=Buffer.concat([r,Buffer.alloc(l*s-r.length+1).fill(0)]);const c=[];for(let u=0;u<l;u++){const o=Buffer.alloc(5);o.writeUInt16BE(i,0),o.writeUInt8(ar,2),o.writeUInt16BE(u,3);const a=r.slice(u*s,(u+1)*s);c.push(new Uint8Array(Buffer.concat([o,a])))}return c},reduceResponse(t,r){let{data:s,dataLength:l,sequence:c}=t||Rt;if(r.readUInt16BE(0)!==i)throw new j("Invalid channel","InvalidChannel");if(r.readUInt8(2)!==ar)throw new j("Invalid tag","InvalidTag");if(r.readUInt16BE(3)!==c)throw new j("Invalid sequence","InvalidSequence");t||(l=r.readUInt16BE(5)),c++;const u=r.slice(t?5:7);return s=Buffer.concat([s,u]),s.length>l&&(s=s.slice(0,l)),{data:s,dataLength:l,sequence:c}},getReducedResult(t){if(t&&t.dataLength===t.data.length)return t.data}});var z={exports:{}},ne,or;function W(){if(or)return ne;or=1;const i="2.0.0",n=256,t=Number.MAX_SAFE_INTEGER||9007199254740991,r=16,s=n-6;return ne={MAX_LENGTH:n,MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:s,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:i,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},ne}var ie,cr;function K(){if(cr)return ie;cr=1;var i={};return ie=typeof process=="object"&&i&&i.NODE_DEBUG&&/\bsemver\b/i.test(i.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{},ie}var ur;function V(){return ur||(ur=1,(function(i,n){const{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:s}=W(),l=K();n=i.exports={};const c=n.re=[],u=n.safeRe=[],o=n.src=[],a=n.safeSrc=[],e=n.t={};let f=0;const h="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",s],[h,r]],N=w=>{for(const[O,D]of m)w=w.split(`${O}*`).join(`${O}{0,${D}}`).split(`${O}+`).join(`${O}{1,${D}}`);return w},p=(w,O,D)=>{const A=N(O),U=f++;l(w,U,O),e[w]=U,o[U]=O,a[U]=A,c[U]=new RegExp(O,D?"g":void 0),u[U]=new RegExp(A,D?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),p("MAINVERSION",`(${o[e.NUMERICIDENTIFIER]})\\.(${o[e.NUMERICIDENTIFIER]})\\.(${o[e.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${o[e.NUMERICIDENTIFIERLOOSE]})\\.(${o[e.NUMERICIDENTIFIERLOOSE]})\\.(${o[e.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${o[e.NONNUMERICIDENTIFIER]}|${o[e.NUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${o[e.NONNUMERICIDENTIFIER]}|${o[e.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASE",`(?:-(${o[e.PRERELEASEIDENTIFIER]}(?:\\.${o[e.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${o[e.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[e.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${h}+`),p("BUILD",`(?:\\+(${o[e.BUILDIDENTIFIER]}(?:\\.${o[e.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${o[e.MAINVERSION]}${o[e.PRERELEASE]}?${o[e.BUILD]}?`),p("FULL",`^${o[e.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${o[e.MAINVERSIONLOOSE]}${o[e.PRERELEASELOOSE]}?${o[e.BUILD]}?`),p("LOOSE",`^${o[e.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${o[e.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${o[e.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${o[e.XRANGEIDENTIFIER]})(?:\\.(${o[e.XRANGEIDENTIFIER]})(?:\\.(${o[e.XRANGEIDENTIFIER]})(?:${o[e.PRERELEASE]})?${o[e.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${o[e.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[e.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[e.XRANGEIDENTIFIERLOOSE]})(?:${o[e.PRERELEASELOOSE]})?${o[e.BUILD]}?)?)?`),p("XRANGE",`^${o[e.GTLT]}\\s*${o[e.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${o[e.GTLT]}\\s*${o[e.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`),p("COERCE",`${o[e.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",o[e.COERCEPLAIN]+`(?:${o[e.PRERELEASE]})?(?:${o[e.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",o[e.COERCE],!0),p("COERCERTLFULL",o[e.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${o[e.LONETILDE]}\\s+`,!0),n.tildeTrimReplace="$1~",p("TILDE",`^${o[e.LONETILDE]}${o[e.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${o[e.LONETILDE]}${o[e.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${o[e.LONECARET]}\\s+`,!0),n.caretTrimReplace="$1^",p("CARET",`^${o[e.LONECARET]}${o[e.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${o[e.LONECARET]}${o[e.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${o[e.GTLT]}\\s*(${o[e.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${o[e.GTLT]}\\s*(${o[e.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${o[e.GTLT]}\\s*(${o[e.LOOSEPLAIN]}|${o[e.XRANGEPLAIN]})`,!0),n.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${o[e.XRANGEPLAIN]})\\s+-\\s+(${o[e.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${o[e.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[e.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(z,z.exports)),z.exports}var ae,lr;function Ke(){if(lr)return ae;lr=1;const i=Object.freeze({loose:!0}),n=Object.freeze({});return ae=r=>r?typeof r!="object"?i:r:n,ae}var oe,fr;function tt(){if(fr)return oe;fr=1;const i=/^[0-9]+$/,n=(r,s)=>{if(typeof r=="number"&&typeof s=="number")return r===s?0:r<s?-1:1;const l=i.test(r),c=i.test(s);return l&&c&&(r=+r,s=+s),r===s?0:l&&!c?-1:c&&!l?1:r<s?-1:1};return oe={compareIdentifiers:n,rcompareIdentifiers:(r,s)=>n(s,r)},oe}var ce,hr;function _(){if(hr)return ce;hr=1;const i=K(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:t}=W(),{safeRe:r,t:s}=V(),l=Ke(),{compareIdentifiers:c}=tt();class u{constructor(a,e){if(e=l(e),a instanceof u){if(a.loose===!!e.loose&&a.includePrerelease===!!e.includePrerelease)return a;a=a.version}else if(typeof a!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof a}".`);if(a.length>n)throw new TypeError(`version is longer than ${n} characters`);i("SemVer",a,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const f=a.trim().match(e.loose?r[s.LOOSE]:r[s.FULL]);if(!f)throw new TypeError(`Invalid Version: ${a}`);if(this.raw=a,this.major=+f[1],this.minor=+f[2],this.patch=+f[3],this.major>t||this.major<0)throw new TypeError("Invalid major version");if(this.minor>t||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>t||this.patch<0)throw new TypeError("Invalid patch version");f[4]?this.prerelease=f[4].split(".").map(h=>{if(/^[0-9]+$/.test(h)){const m=+h;if(m>=0&&m<t)return m}return h}):this.prerelease=[],this.build=f[5]?f[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(a){if(i("SemVer.compare",this.version,this.options,a),!(a instanceof u)){if(typeof a=="string"&&a===this.version)return 0;a=new u(a,this.options)}return a.version===this.version?0:this.compareMain(a)||this.comparePre(a)}compareMain(a){return a instanceof u||(a=new u(a,this.options)),this.major<a.major?-1:this.major>a.major?1:this.minor<a.minor?-1:this.minor>a.minor?1:this.patch<a.patch?-1:this.patch>a.patch?1:0}comparePre(a){if(a instanceof u||(a=new u(a,this.options)),this.prerelease.length&&!a.prerelease.length)return-1;if(!this.prerelease.length&&a.prerelease.length)return 1;if(!this.prerelease.length&&!a.prerelease.length)return 0;let e=0;do{const f=this.prerelease[e],h=a.prerelease[e];if(i("prerelease compare",e,f,h),f===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(f===void 0)return-1;if(f===h)continue;return c(f,h)}while(++e)}compareBuild(a){a instanceof u||(a=new u(a,this.options));let e=0;do{const f=this.build[e],h=a.build[e];if(i("build compare",e,f,h),f===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(f===void 0)return-1;if(f===h)continue;return c(f,h)}while(++e)}inc(a,e,f){if(a.startsWith("pre")){if(!e&&f===!1)throw new Error("invalid increment argument: identifier is empty");if(e){const h=`-${e}`.match(this.options.loose?r[s.PRERELEASELOOSE]:r[s.PRERELEASE]);if(!h||h[1]!==e)throw new Error(`invalid identifier: ${e}`)}}switch(a){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,f);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,f);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,f),this.inc("pre",e,f);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",e,f),this.inc("pre",e,f);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const h=Number(f)?1:0;if(this.prerelease.length===0)this.prerelease=[h];else{let m=this.prerelease.length;for(;--m>=0;)typeof this.prerelease[m]=="number"&&(this.prerelease[m]++,m=-2);if(m===-1){if(e===this.prerelease.join(".")&&f===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(h)}}if(e){let m=[e,h];f===!1&&(m=[e]),c(this.prerelease[0],e)===0?isNaN(this.prerelease[1])&&(this.prerelease=m):this.prerelease=m}break}default:throw new Error(`invalid increment argument: ${a}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return ce=u,ce}var ue,dr;function M(){if(dr)return ue;dr=1;const i=_();return ue=(t,r,s=!1)=>{if(t instanceof i)return t;try{return new i(t,r)}catch(l){if(!s)return null;throw l}},ue}var le,pr;function It(){if(pr)return le;pr=1;const i=M();return le=(t,r)=>{const s=i(t,r);return s?s.version:null},le}var fe,Er;function gt(){if(Er)return fe;Er=1;const i=M();return fe=(t,r)=>{const s=i(t.trim().replace(/^[=v]+/,""),r);return s?s.version:null},fe}var he,mr;function $t(){if(mr)return he;mr=1;const i=_();return he=(t,r,s,l,c)=>{typeof s=="string"&&(c=l,l=s,s=void 0);try{return new i(t instanceof i?t.version:t,s).inc(r,l,c).version}catch{return null}},he}var de,Rr;function Lt(){if(Rr)return de;Rr=1;const i=M();return de=(t,r)=>{const s=i(t,null,!0),l=i(r,null,!0),c=s.compare(l);if(c===0)return null;const u=c>0,o=u?s:l,a=u?l:s,e=!!o.prerelease.length;if(!!a.prerelease.length&&!e){if(!a.patch&&!a.minor)return"major";if(a.compareMain(o)===0)return a.minor&&!a.patch?"minor":"patch"}const h=e?"pre":"";return s.major!==l.major?h+"major":s.minor!==l.minor?h+"minor":s.patch!==l.patch?h+"patch":"prerelease"},de}var pe,vr;function St(){if(vr)return pe;vr=1;const i=_();return pe=(t,r)=>new i(t,r).major,pe}var Ee,Ir;function wt(){if(Ir)return Ee;Ir=1;const i=_();return Ee=(t,r)=>new i(t,r).minor,Ee}var me,gr;function Nt(){if(gr)return me;gr=1;const i=_();return me=(t,r)=>new i(t,r).patch,me}var Re,$r;function Tt(){if($r)return Re;$r=1;const i=M();return Re=(t,r)=>{const s=i(t,r);return s&&s.prerelease.length?s.prerelease:null},Re}var ve,Lr;function F(){if(Lr)return ve;Lr=1;const i=_();return ve=(t,r,s)=>new i(t,s).compare(new i(r,s)),ve}var Ie,Sr;function Ot(){if(Sr)return Ie;Sr=1;const i=F();return Ie=(t,r,s)=>i(r,t,s),Ie}var ge,wr;function At(){if(wr)return ge;wr=1;const i=F();return ge=(t,r)=>i(t,r,!0),ge}var $e,Nr;function Ze(){if(Nr)return $e;Nr=1;const i=_();return $e=(t,r,s)=>{const l=new i(t,s),c=new i(r,s);return l.compare(c)||l.compareBuild(c)},$e}var Le,Tr;function yt(){if(Tr)return Le;Tr=1;const i=Ze();return Le=(t,r)=>t.sort((s,l)=>i(s,l,r)),Le}var Se,Or;function Pt(){if(Or)return Se;Or=1;const i=Ze();return Se=(t,r)=>t.sort((s,l)=>i(l,s,r)),Se}var we,Ar;function Z(){if(Ar)return we;Ar=1;const i=F();return we=(t,r,s)=>i(t,r,s)>0,we}var Ne,yr;function Je(){if(yr)return Ne;yr=1;const i=F();return Ne=(t,r,s)=>i(t,r,s)<0,Ne}var Te,Pr;function st(){if(Pr)return Te;Pr=1;const i=F();return Te=(t,r,s)=>i(t,r,s)===0,Te}var Oe,Cr;function nt(){if(Cr)return Oe;Cr=1;const i=F();return Oe=(t,r,s)=>i(t,r,s)!==0,Oe}var Ae,qr;function Qe(){if(qr)return Ae;qr=1;const i=F();return Ae=(t,r,s)=>i(t,r,s)>=0,Ae}var ye,xr;function er(){if(xr)return ye;xr=1;const i=F();return ye=(t,r,s)=>i(t,r,s)<=0,ye}var Pe,Dr;function it(){if(Dr)return Pe;Dr=1;const i=st(),n=nt(),t=Z(),r=Qe(),s=Je(),l=er();return Pe=(u,o,a,e)=>{switch(o){case"===":return typeof u=="object"&&(u=u.version),typeof a=="object"&&(a=a.version),u===a;case"!==":return typeof u=="object"&&(u=u.version),typeof a=="object"&&(a=a.version),u!==a;case"":case"=":case"==":return i(u,a,e);case"!=":return n(u,a,e);case">":return t(u,a,e);case">=":return r(u,a,e);case"<":return s(u,a,e);case"<=":return l(u,a,e);default:throw new TypeError(`Invalid operator: ${o}`)}},Pe}var Ce,Ur;function Ct(){if(Ur)return Ce;Ur=1;const i=_(),n=M(),{safeRe:t,t:r}=V();return Ce=(l,c)=>{if(l instanceof i)return l;if(typeof l=="number"&&(l=String(l)),typeof l!="string")return null;c=c||{};let u=null;if(!c.rtl)u=l.match(c.includePrerelease?t[r.COERCEFULL]:t[r.COERCE]);else{const m=c.includePrerelease?t[r.COERCERTLFULL]:t[r.COERCERTL];let N;for(;(N=m.exec(l))&&(!u||u.index+u[0].length!==l.length);)(!u||N.index+N[0].length!==u.index+u[0].length)&&(u=N),m.lastIndex=N.index+N[1].length+N[2].length;m.lastIndex=-1}if(u===null)return null;const o=u[2],a=u[3]||"0",e=u[4]||"0",f=c.includePrerelease&&u[5]?`-${u[5]}`:"",h=c.includePrerelease&&u[6]?`+${u[6]}`:"";return n(`${o}.${a}.${e}${f}${h}`,c)},Ce}var qe,br;function qt(){if(br)return qe;br=1;class i{constructor(){this.max=1e3,this.map=new Map}get(t){const r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){const l=this.map.keys().next().value;this.delete(l)}this.map.set(t,r)}return this}}return qe=i,qe}var xe,_r;function B(){if(_r)return xe;_r=1;const i=/\s+/g;class n{constructor(d,I){if(I=s(I),d instanceof n)return d.loose===!!I.loose&&d.includePrerelease===!!I.includePrerelease?d:new n(d.raw,I);if(d instanceof l)return this.raw=d.value,this.set=[[d]],this.formatted=void 0,this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=d.trim().replace(i," "),this.set=this.raw.split("||").map(R=>this.parseRange(R.trim())).filter(R=>R.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const R=this.set[0];if(this.set=this.set.filter(g=>!p(g[0])),this.set.length===0)this.set=[R];else if(this.set.length>1){for(const g of this.set)if(g.length===1&&w(g[0])){this.set=[g];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let d=0;d<this.set.length;d++){d>0&&(this.formatted+="||");const I=this.set[d];for(let R=0;R<I.length;R++)R>0&&(this.formatted+=" "),this.formatted+=I[R].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(d){const R=((this.options.includePrerelease&&m)|(this.options.loose&&N))+":"+d,g=r.get(R);if(g)return g;const v=this.options.loose,$=v?o[a.HYPHENRANGELOOSE]:o[a.HYPHENRANGE];d=d.replace($,te(this.options.includePrerelease)),c("hyphen replace",d),d=d.replace(o[a.COMPARATORTRIM],e),c("comparator trim",d),d=d.replace(o[a.TILDETRIM],f),c("tilde trim",d),d=d.replace(o[a.CARETTRIM],h),c("caret trim",d);let T=d.split(" ").map(q=>D(q,this.options)).join(" ").split(/\s+/).map(q=>re(q,this.options));v&&(T=T.filter(q=>(c("loose invalid filter",q,this.options),!!q.match(o[a.COMPARATORLOOSE])))),c("range list",T);const S=new Map,y=T.map(q=>new l(q,this.options));for(const q of y){if(p(q))return[q];S.set(q.value,q)}S.size>1&&S.has("")&&S.delete("");const b=[...S.values()];return r.set(R,b),b}intersects(d,I){if(!(d instanceof n))throw new TypeError("a Range is required");return this.set.some(R=>O(R,I)&&d.set.some(g=>O(g,I)&&R.every(v=>g.every($=>v.intersects($,I)))))}test(d){if(!d)return!1;if(typeof d=="string")try{d=new u(d,this.options)}catch{return!1}for(let I=0;I<this.set.length;I++)if(se(this.set[I],d,this.options))return!0;return!1}}xe=n;const t=qt(),r=new t,s=Ke(),l=J(),c=K(),u=_(),{safeRe:o,t:a,comparatorTrimReplace:e,tildeTrimReplace:f,caretTrimReplace:h}=V(),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:N}=W(),p=E=>E.value==="<0.0.0-0",w=E=>E.value==="",O=(E,d)=>{let I=!0;const R=E.slice();let g=R.pop();for(;I&&R.length;)I=R.every(v=>g.intersects(v,d)),g=R.pop();return I},D=(E,d)=>(E=E.replace(o[a.BUILD],""),c("comp",E,d),E=P(E,d),c("caret",E),E=U(E,d),c("tildes",E),E=L(E,d),c("xrange",E),E=ee(E,d),c("stars",E),E),A=E=>!E||E.toLowerCase()==="x"||E==="*",U=(E,d)=>E.trim().split(/\s+/).map(I=>G(I,d)).join(" "),G=(E,d)=>{const I=d.loose?o[a.TILDELOOSE]:o[a.TILDE];return E.replace(I,(R,g,v,$,T)=>{c("tilde",E,R,g,v,$,T);let S;return A(g)?S="":A(v)?S=`>=${g}.0.0 <${+g+1}.0.0-0`:A($)?S=`>=${g}.${v}.0 <${g}.${+v+1}.0-0`:T?(c("replaceTilde pr",T),S=`>=${g}.${v}.${$}-${T} <${g}.${+v+1}.0-0`):S=`>=${g}.${v}.${$} <${g}.${+v+1}.0-0`,c("tilde return",S),S})},P=(E,d)=>E.trim().split(/\s+/).map(I=>x(I,d)).join(" "),x=(E,d)=>{c("caret",E,d);const I=d.loose?o[a.CARETLOOSE]:o[a.CARET],R=d.includePrerelease?"-0":"";return E.replace(I,(g,v,$,T,S)=>{c("caret",E,g,v,$,T,S);let y;return A(v)?y="":A($)?y=`>=${v}.0.0${R} <${+v+1}.0.0-0`:A(T)?v==="0"?y=`>=${v}.${$}.0${R} <${v}.${+$+1}.0-0`:y=`>=${v}.${$}.0${R} <${+v+1}.0.0-0`:S?(c("replaceCaret pr",S),v==="0"?$==="0"?y=`>=${v}.${$}.${T}-${S} <${v}.${$}.${+T+1}-0`:y=`>=${v}.${$}.${T}-${S} <${v}.${+$+1}.0-0`:y=`>=${v}.${$}.${T}-${S} <${+v+1}.0.0-0`):(c("no pr"),v==="0"?$==="0"?y=`>=${v}.${$}.${T}${R} <${v}.${$}.${+T+1}-0`:y=`>=${v}.${$}.${T}${R} <${v}.${+$+1}.0-0`:y=`>=${v}.${$}.${T} <${+v+1}.0.0-0`),c("caret return",y),y})},L=(E,d)=>(c("replaceXRanges",E,d),E.split(/\s+/).map(I=>k(I,d)).join(" ")),k=(E,d)=>{E=E.trim();const I=d.loose?o[a.XRANGELOOSE]:o[a.XRANGE];return E.replace(I,(R,g,v,$,T,S)=>{c("xRange",E,R,g,v,$,T,S);const y=A(v),b=y||A($),q=b||A(T),X=q;return g==="="&&X&&(g=""),S=d.includePrerelease?"-0":"",y?g===">"||g==="<"?R="<0.0.0-0":R="*":g&&X?(b&&($=0),T=0,g===">"?(g=">=",b?(v=+v+1,$=0,T=0):($=+$+1,T=0)):g==="<="&&(g="<",b?v=+v+1:$=+$+1),g==="<"&&(S="-0"),R=`${g+v}.${$}.${T}${S}`):b?R=`>=${v}.0.0${S} <${+v+1}.0.0-0`:q&&(R=`>=${v}.${$}.0${S} <${v}.${+$+1}.0-0`),c("xRange return",R),R})},ee=(E,d)=>(c("replaceStars",E,d),E.trim().replace(o[a.STAR],"")),re=(E,d)=>(c("replaceGTE0",E,d),E.trim().replace(o[d.includePrerelease?a.GTE0PRE:a.GTE0],"")),te=E=>(d,I,R,g,v,$,T,S,y,b,q,X)=>(A(R)?I="":A(g)?I=`>=${R}.0.0${E?"-0":""}`:A(v)?I=`>=${R}.${g}.0${E?"-0":""}`:$?I=`>=${I}`:I=`>=${I}${E?"-0":""}`,A(y)?S="":A(b)?S=`<${+y+1}.0.0-0`:A(q)?S=`<${y}.${+b+1}.0-0`:X?S=`<=${y}.${b}.${q}-${X}`:E?S=`<${y}.${b}.${+q+1}-0`:S=`<=${S}`,`${I} ${S}`.trim()),se=(E,d,I)=>{for(let R=0;R<E.length;R++)if(!E[R].test(d))return!1;if(d.prerelease.length&&!I.includePrerelease){for(let R=0;R<E.length;R++)if(c(E[R].semver),E[R].semver!==l.ANY&&E[R].semver.prerelease.length>0){const g=E[R].semver;if(g.major===d.major&&g.minor===d.minor&&g.patch===d.patch)return!0}return!1}return!0};return xe}var De,Gr;function J(){if(Gr)return De;Gr=1;const i=Symbol("SemVer ANY");class n{static get ANY(){return i}constructor(e,f){if(f=t(f),e instanceof n){if(e.loose===!!f.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,f),this.options=f,this.loose=!!f.loose,this.parse(e),this.semver===i?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const f=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],h=e.match(f);if(!h)throw new TypeError(`Invalid comparator: ${e}`);this.operator=h[1]!==void 0?h[1]:"",this.operator==="="&&(this.operator=""),h[2]?this.semver=new u(h[2],this.options.loose):this.semver=i}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===i||e===i)return!0;if(typeof e=="string")try{e=new u(e,this.options)}catch{return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,f){if(!(e instanceof n))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new o(e.value,f).test(this.value):e.operator===""?e.value===""?!0:new o(this.value,f).test(e.semver):(f=t(f),f.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,f)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,f)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}De=n;const t=Ke(),{safeRe:r,t:s}=V(),l=it(),c=K(),u=_(),o=B();return De}var Ue,Fr;function Q(){if(Fr)return Ue;Fr=1;const i=B();return Ue=(t,r,s)=>{try{r=new i(r,s)}catch{return!1}return r.test(t)},Ue}var be,Br;function xt(){if(Br)return be;Br=1;const i=B();return be=(t,r)=>new i(t,r).set.map(s=>s.map(l=>l.value).join(" ").trim().split(" ")),be}var _e,jr;function Dt(){if(jr)return _e;jr=1;const i=_(),n=B();return _e=(r,s,l)=>{let c=null,u=null,o=null;try{o=new n(s,l)}catch{return null}return r.forEach(a=>{o.test(a)&&(!c||u.compare(a)===-1)&&(c=a,u=new i(c,l))}),c},_e}var Ge,Mr;function Ut(){if(Mr)return Ge;Mr=1;const i=_(),n=B();return Ge=(r,s,l)=>{let c=null,u=null,o=null;try{o=new n(s,l)}catch{return null}return r.forEach(a=>{o.test(a)&&(!c||u.compare(a)===1)&&(c=a,u=new i(c,l))}),c},Ge}var Fe,kr;function bt(){if(kr)return Fe;kr=1;const i=_(),n=B(),t=Z();return Fe=(s,l)=>{s=new n(s,l);let c=new i("0.0.0");if(s.test(c)||(c=new i("0.0.0-0"),s.test(c)))return c;c=null;for(let u=0;u<s.set.length;++u){const o=s.set[u];let a=null;o.forEach(e=>{const f=new i(e.semver.version);switch(e.operator){case">":f.prerelease.length===0?f.patch++:f.prerelease.push(0),f.raw=f.format();case"":case">=":(!a||t(f,a))&&(a=f);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),a&&(!c||t(c,a))&&(c=a)}return c&&s.test(c)?c:null},Fe}var Be,Xr;function _t(){if(Xr)return Be;Xr=1;const i=B();return Be=(t,r)=>{try{return new i(t,r).range||"*"}catch{return null}},Be}var je,Vr;function rr(){if(Vr)return je;Vr=1;const i=_(),n=J(),{ANY:t}=n,r=B(),s=Q(),l=Z(),c=Je(),u=er(),o=Qe();return je=(e,f,h,m)=>{e=new i(e,m),f=new r(f,m);let N,p,w,O,D;switch(h){case">":N=l,p=u,w=c,O=">",D=">=";break;case"<":N=c,p=o,w=l,O="<",D="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,f,m))return!1;for(let A=0;A<f.set.length;++A){const U=f.set[A];let G=null,P=null;if(U.forEach(x=>{x.semver===t&&(x=new n(">=0.0.0")),G=G||x,P=P||x,N(x.semver,G.semver,m)?G=x:w(x.semver,P.semver,m)&&(P=x)}),G.operator===O||G.operator===D||(!P.operator||P.operator===O)&&p(e,P.semver))return!1;if(P.operator===D&&w(e,P.semver))return!1}return!0},je}var Me,zr;function Gt(){if(zr)return Me;zr=1;const i=rr();return Me=(t,r,s)=>i(t,r,">",s),Me}var ke,Hr;function Ft(){if(Hr)return ke;Hr=1;const i=rr();return ke=(t,r,s)=>i(t,r,"<",s),ke}var Xe,Yr;function Bt(){if(Yr)return Xe;Yr=1;const i=B();return Xe=(t,r,s)=>(t=new i(t,s),r=new i(r,s),t.intersects(r,s)),Xe}var Ve,Wr;function jt(){if(Wr)return Ve;Wr=1;const i=Q(),n=F();return Ve=(t,r,s)=>{const l=[];let c=null,u=null;const o=t.sort((h,m)=>n(h,m,s));for(const h of o)i(h,r,s)?(u=h,c||(c=h)):(u&&l.push([c,u]),u=null,c=null);c&&l.push([c,null]);const a=[];for(const[h,m]of l)h===m?a.push(h):!m&&h===o[0]?a.push("*"):m?h===o[0]?a.push(`<=${m}`):a.push(`${h} - ${m}`):a.push(`>=${h}`);const e=a.join(" || "),f=typeof r.raw=="string"?r.raw:String(r);return e.length<f.length?e:r},Ve}var ze,Kr;function Mt(){if(Kr)return ze;Kr=1;const i=B(),n=J(),{ANY:t}=n,r=Q(),s=F(),l=(f,h,m={})=>{if(f===h)return!0;f=new i(f,m),h=new i(h,m);let N=!1;e:for(const p of f.set){for(const w of h.set){const O=o(p,w,m);if(N=N||O!==null,O)continue e}if(N)return!1}return!0},c=[new n(">=0.0.0-0")],u=[new n(">=0.0.0")],o=(f,h,m)=>{if(f===h)return!0;if(f.length===1&&f[0].semver===t){if(h.length===1&&h[0].semver===t)return!0;m.includePrerelease?f=c:f=u}if(h.length===1&&h[0].semver===t){if(m.includePrerelease)return!0;h=u}const N=new Set;let p,w;for(const L of f)L.operator===">"||L.operator===">="?p=a(p,L,m):L.operator==="<"||L.operator==="<="?w=e(w,L,m):N.add(L.semver);if(N.size>1)return null;let O;if(p&&w){if(O=s(p.semver,w.semver,m),O>0)return null;if(O===0&&(p.operator!==">="||w.operator!=="<="))return null}for(const L of N){if(p&&!r(L,String(p),m)||w&&!r(L,String(w),m))return null;for(const k of h)if(!r(L,String(k),m))return!1;return!0}let D,A,U,G,P=w&&!m.includePrerelease&&w.semver.prerelease.length?w.semver:!1,x=p&&!m.includePrerelease&&p.semver.prerelease.length?p.semver:!1;P&&P.prerelease.length===1&&w.operator==="<"&&P.prerelease[0]===0&&(P=!1);for(const L of h){if(G=G||L.operator===">"||L.operator===">=",U=U||L.operator==="<"||L.operator==="<=",p){if(x&&L.semver.prerelease&&L.semver.prerelease.length&&L.semver.major===x.major&&L.semver.minor===x.minor&&L.semver.patch===x.patch&&(x=!1),L.operator===">"||L.operator===">="){if(D=a(p,L,m),D===L&&D!==p)return!1}else if(p.operator===">="&&!r(p.semver,String(L),m))return!1}if(w){if(P&&L.semver.prerelease&&L.semver.prerelease.length&&L.semver.major===P.major&&L.semver.minor===P.minor&&L.semver.patch===P.patch&&(P=!1),L.operator==="<"||L.operator==="<="){if(A=e(w,L,m),A===L&&A!==w)return!1}else if(w.operator==="<="&&!r(w.semver,String(L),m))return!1}if(!L.operator&&(w||p)&&O!==0)return!1}return!(p&&U&&!w&&O!==0||w&&G&&!p&&O!==0||x||P)},a=(f,h,m)=>{if(!f)return h;const N=s(f.semver,h.semver,m);return N>0?f:N<0||h.operator===">"&&f.operator===">="?h:f},e=(f,h,m)=>{if(!f)return h;const N=s(f.semver,h.semver,m);return N<0?f:N>0||h.operator==="<"&&f.operator==="<="?h:f};return ze=l,ze}var He,Zr;function kt(){if(Zr)return He;Zr=1;const i=V(),n=W(),t=_(),r=tt(),s=M(),l=It(),c=gt(),u=$t(),o=Lt(),a=St(),e=wt(),f=Nt(),h=Tt(),m=F(),N=Ot(),p=At(),w=Ze(),O=yt(),D=Pt(),A=Z(),U=Je(),G=st(),P=nt(),x=Qe(),L=er(),k=it(),ee=Ct(),re=J(),te=B(),se=Q(),E=xt(),d=Dt(),I=Ut(),R=bt(),g=_t(),v=rr(),$=Gt(),T=Ft(),S=Bt(),y=jt(),b=Mt();return He={parse:s,valid:l,clean:c,inc:u,diff:o,major:a,minor:e,patch:f,prerelease:h,compare:m,rcompare:N,compareLoose:p,compareBuild:w,sort:O,rsort:D,gt:A,lt:U,eq:G,neq:P,gte:x,lte:L,cmp:k,coerce:ee,Comparator:re,Range:te,satisfies:se,toComparators:E,maxSatisfying:d,minSatisfying:I,minVersion:R,validRange:g,outside:v,gtr:$,ltr:T,intersects:S,simplifyRange:y,subset:b,SemVer:t,re:i.re,src:i.src,tokens:i.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:r.compareIdentifiers,rcompareIdentifiers:r.rcompareIdentifiers},He}var Xt=kt();const Jr=dt(Xt);var C;(function(i){i.blue="blue",i.nanoS="nanoS",i.nanoSP="nanoSP",i.nanoX="nanoX",i.stax="stax",i.europa="europa",i.apex="apex"})(C||(C={}));const Ye={[C.blue]:{id:C.blue,productName:"Ledger Blue",productIdMM:0,legacyUsbProductId:0,usbOnly:!0,memorySize:480*1024,masks:[822083584,822149120],getBlockSize:i=>4*1024},[C.nanoS]:{id:C.nanoS,productName:"Ledger Nano S",productIdMM:16,legacyUsbProductId:1,usbOnly:!0,memorySize:320*1024,masks:[823132160],getBlockSize:i=>Jr.lt(Jr.coerce(i)??"","2.0.0")?4*1024:2*1024},[C.nanoX]:{id:C.nanoX,productName:"Ledger Nano X",productIdMM:64,legacyUsbProductId:4,usbOnly:!1,memorySize:2*1024*1024,masks:[855638016],getBlockSize:i=>4*1024,bluetoothSpec:[{serviceUuid:"13d63400-2c97-0004-0000-4c6564676572",notifyUuid:"13d63400-2c97-0004-0001-4c6564676572",writeUuid:"13d63400-2c97-0004-0002-4c6564676572",writeCmdUuid:"13d63400-2c97-0004-0003-4c6564676572"}]},[C.nanoSP]:{id:C.nanoSP,productName:"Ledger Nano S Plus",productIdMM:80,legacyUsbProductId:5,usbOnly:!0,memorySize:1533*1024,masks:[856686592],getBlockSize:i=>32},[C.apex]:{id:C.apex,productName:"Ledger Nano Gen5",productIdMM:128,legacyUsbProductId:8,usbOnly:!1,memorySize:1533*1024,masks:[859832320],getBlockSize:i=>32,bluetoothSpec:[{serviceUuid:"13d63400-2c97-8004-0000-4c6564676572",notifyUuid:"13d63400-2c97-8004-0001-4c6564676572",writeUuid:"13d63400-2c97-8004-0002-4c6564676572",writeCmdUuid:"13d63400-2c97-8004-0003-4c6564676572"}]},[C.stax]:{id:C.stax,productName:"Ledger Stax",productIdMM:96,legacyUsbProductId:6,usbOnly:!1,memorySize:1533*1024,masks:[857735168],getBlockSize:i=>32,bluetoothSpec:[{serviceUuid:"13d63400-2c97-6004-0000-4c6564676572",notifyUuid:"13d63400-2c97-6004-0001-4c6564676572",writeUuid:"13d63400-2c97-6004-0002-4c6564676572",writeCmdUuid:"13d63400-2c97-6004-0003-4c6564676572"}]},[C.europa]:{id:C.europa,productName:"Ledger Flex",productIdMM:112,legacyUsbProductId:7,usbOnly:!1,memorySize:1533*1024,masks:[858783744],getBlockSize:i=>32,bluetoothSpec:[{serviceUuid:"13d63400-2c97-3004-0000-4c6564676572",notifyUuid:"13d63400-2c97-3004-0001-4c6564676572",writeUuid:"13d63400-2c97-3004-0002-4c6564676572",writeCmdUuid:"13d63400-2c97-3004-0003-4c6564676572"}]}};C.blue,C.nanoS,C.nanoSP,C.nanoX,C.stax,C.europa;const Qr=Object.values(Ye),at=11415,et=i=>{const n=Qr.find(s=>s.legacyUsbProductId===i);if(n)return n;const t=i>>8;return Qr.find(s=>s.productIdMM===t)},Vt=[],rt={};for(const i in Ye){const n=Ye[i],{bluetoothSpec:t}=n;if(t)for(let r=0;r<t.length;r++){const s=t[r];Vt.push(s.serviceUuid),rt[s.serviceUuid]=rt[s.serviceUuid.replace(/-/g,"")]={deviceModel:n,...s}}}const zt=[{vendorId:at}],Ht=()=>Promise.resolve(!!(window.navigator&&window.navigator.hid)),Y=()=>{const{hid:i}=navigator;if(!i)throw new j("navigator.hid is not supported","HIDNotSupported");return i};async function ot(){const i=await Y().requestDevice({filters:zt});return Array.isArray(i)?i:[i]}async function We(){return(await Y().getDevices()).filter(n=>n.vendorId===at)}async function Yt(){const i=await We();return i.length>0?i[0]:(await ot())[0]}class H extends Et{device;deviceModel;channel=Math.floor(Math.random()*65535);packetSize=64;constructor(n){super(),this.device=n,this.deviceModel=typeof n.productId=="number"?et(n.productId):void 0,n.addEventListener("inputreport",this.onInputReport)}inputs=[];inputCallback;read=()=>{if(this.inputs.length){const n=this.inputs.shift();if(n!==void 0)return Promise.resolve(n);throw new Error("Unreachable: non-empty inputs")}return new Promise(n=>{this.inputCallback=n})};onInputReport=n=>{const t=Buffer.from(n.data.buffer);this.inputCallback?(this.inputCallback(t),this.inputCallback=null):this.inputs.push(t)};static isSupported=Ht;static list=We;static listen=n=>{let t=!1;Yt().then(s=>{if(!s)n.error(new nr("Access denied to use Ledger device"));else if(!t){const l=typeof s.productId=="number"?et(s.productId):void 0;n.next({type:"add",descriptor:s,deviceModel:l}),n.complete()}},s=>{n.error(new nr(s.message))});function r(){t=!0}return{unsubscribe:r}};static async request(){const[n]=await ot();return H.open(n)}static async openConnected(){const n=await We();return n.length===0?null:H.open(n[0])}static async open(n){await n.open();const t=new H(n),r=s=>{n===s.device&&(Y().removeEventListener("disconnect",r),t._emitDisconnect(new ht))};return Y().addEventListener("disconnect",r),t}_disconnectEmitted=!1;_emitDisconnect=n=>{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",n))};async close(){await this.exchangeBusyPromise,this.device.removeEventListener("inputreport",this.onInputReport),await this.device.close()}exchange=async n=>await this.exchangeAtomicImpl(async()=>{const{channel:r,packetSize:s}=this;ir("apdu","=> "+n.toString("hex"));const l=vt(r,s),c=l.makeBlocks(n);for(let a=0;a<c.length;a++)await this.device.sendReport(0,c[a]);let u,o;for(;!(u=l.getReducedResult(o));)try{const a=await this.read();o=l.reduceResponse(o,a)}catch(a){if(a instanceof j&&a.id==="InvalidChannel")continue;throw a}return ir("apdu","<= "+u.toString("hex")),u}).catch(r=>{throw r&&r.message&&r.message.includes("write")?(this._emitDisconnect(r),new ft(r.message)):r});setScrambleKey(){}}export{H as default};
|
|
1
|
+
import{a1 as ct,a2 as ut,a3 as tr,a4 as j,a5 as sr,a6 as lt,a7 as nr,a8 as ir,a9 as ft,aa as ht}from"./index-DAxGqvuJ.js";import{g as dt}from"./vendor-dayjs-Cvgzdobq.js";import"./index.browser.esm-Bpaw2clE.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const pt="transport";class Et{exchangeTimeout=3e4;unresponsiveTimeout=15e3;deviceModel=null;tracer;constructor({context:n,logType:t}={}){this.tracer=new ct(t??pt,n)}static isSupported;static list;static listen;static open;exchange(n,{abortTimeoutMs:t}={}){throw new Error("exchange not implemented")}exchangeBulk(n,t){let r=!1;const s=()=>{r=!0};return(async()=>{if(!r)for(const c of n){const u=await this.exchange(c);if(r)return;const o=u.readUInt16BE(u.length-2);if(o!==tr.OK)throw new sr(o);t.next(u)}})().then(()=>!r&&t.complete(),c=>!r&&t.error(c)),{unsubscribe:s}}setScrambleKey(n){}close(){return Promise.resolve()}_events=new ut;on(n,t){this._events.on(n,t)}off(n,t){this._events.removeListener(n,t)}emit(n,...t){this._events.emit(n,...t)}setDebugMode(){console.warn("setDebugMode is deprecated. use @ledgerhq/logs instead. No logs are emitted in this anymore.")}setExchangeTimeout(n){this.exchangeTimeout=n}setExchangeUnresponsiveTimeout(n){this.unresponsiveTimeout=n}send=async(n,t,r,s,l=Buffer.alloc(0),c=[tr.OK],{abortTimeoutMs:u}={})=>{const o=this.tracer.withUpdatedContext({function:"send"});if(l.length>=256)throw o.trace("data.length exceeded 256 bytes limit",{dataLength:l.length}),new j("data.length exceed 256 bytes limit. Got: "+l.length,"DataLengthTooBig");const a=await this.exchange(Buffer.concat([Buffer.from([n,t,r,s]),Buffer.from([l.length]),l]),{abortTimeoutMs:u}),e=a.readUInt16BE(a.length-2);if(!c.some(f=>f===e))throw new sr(e);return a};static create(n=3e3,t){return new Promise((r,s)=>{let l=!1;const c=this.listen({next:o=>{l=!0,c&&c.unsubscribe(),u&&clearTimeout(u),this.open(o.descriptor,n).then(r,s)},error:o=>{u&&clearTimeout(u),s(o)},complete:()=>{u&&clearTimeout(u),l||s(new j(this.ErrorMessage_NoDeviceFound,"NoDeviceFound"))}}),u=t?setTimeout(()=>{c.unsubscribe(),s(new j(this.ErrorMessage_ListenTimeout,"ListenTimeout"))},t):null})}exchangeBusyPromise;async exchangeAtomicImpl(n){const t=this.tracer.withUpdatedContext({function:"exchangeAtomicImpl",unresponsiveTimeout:this.unresponsiveTimeout});if(this.exchangeBusyPromise)throw t.trace("Atomic exchange is already busy"),new lt("An action was already pending on the Ledger device. Please deny or reconnect.");let r;const s=new Promise(u=>{r=u});this.exchangeBusyPromise=s;let l=!1;const c=setTimeout(()=>{t.trace('Timeout reached, emitting Transport event "unresponsive"',{unresponsiveTimeout:this.unresponsiveTimeout}),l=!0,this.emit("unresponsive")},this.unresponsiveTimeout);try{const u=await n();return l&&(t.trace("Device was unresponsive, emitting responsive"),this.emit("responsive")),u}finally{t.trace("Finalize, clearing busy guard"),clearTimeout(c),r&&r(),this.exchangeBusyPromise=null}}decorateAppAPIMethods(n,t,r){for(const s of t)n[s]=this.decorateAppAPIMethod(s,n[s],n,r)}_appAPIlock=null;decorateAppAPIMethod(n,t,r,s){return async(...l)=>{const{_appAPIlock:c}=this;if(c)return Promise.reject(new j("Ledger Device is busy (lock "+c+")","TransportLocked"));try{return this._appAPIlock=n,this.setScrambleKey(s),await t.apply(r,l)}finally{this._appAPIlock=null}}}setTraceContext(n){this.tracer=this.tracer.withContext(n)}updateTraceContext(n){this.tracer.updateContext(n)}getTraceContext(){return this.tracer.getContext()}static ErrorMessage_ListenTimeout="No Ledger device found (timeout)";static ErrorMessage_NoDeviceFound="No Ledger device found"}const ar=5;function mt(i){const n=Buffer.alloc(2);return n.writeUInt16BE(i,0),n}const Rt={data:Buffer.alloc(0),dataLength:0,sequence:0},vt=(i,n)=>({makeBlocks(t){let r=Buffer.concat([mt(t.length),t]);const s=n-5,l=Math.ceil(r.length/s);r=Buffer.concat([r,Buffer.alloc(l*s-r.length+1).fill(0)]);const c=[];for(let u=0;u<l;u++){const o=Buffer.alloc(5);o.writeUInt16BE(i,0),o.writeUInt8(ar,2),o.writeUInt16BE(u,3);const a=r.slice(u*s,(u+1)*s);c.push(new Uint8Array(Buffer.concat([o,a])))}return c},reduceResponse(t,r){let{data:s,dataLength:l,sequence:c}=t||Rt;if(r.readUInt16BE(0)!==i)throw new j("Invalid channel","InvalidChannel");if(r.readUInt8(2)!==ar)throw new j("Invalid tag","InvalidTag");if(r.readUInt16BE(3)!==c)throw new j("Invalid sequence","InvalidSequence");t||(l=r.readUInt16BE(5)),c++;const u=r.slice(t?5:7);return s=Buffer.concat([s,u]),s.length>l&&(s=s.slice(0,l)),{data:s,dataLength:l,sequence:c}},getReducedResult(t){if(t&&t.dataLength===t.data.length)return t.data}});var z={exports:{}},ne,or;function W(){if(or)return ne;or=1;const i="2.0.0",n=256,t=Number.MAX_SAFE_INTEGER||9007199254740991,r=16,s=n-6;return ne={MAX_LENGTH:n,MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:s,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:i,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},ne}var ie,cr;function K(){if(cr)return ie;cr=1;var i={};return ie=typeof process=="object"&&i&&i.NODE_DEBUG&&/\bsemver\b/i.test(i.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{},ie}var ur;function V(){return ur||(ur=1,(function(i,n){const{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:s}=W(),l=K();n=i.exports={};const c=n.re=[],u=n.safeRe=[],o=n.src=[],a=n.safeSrc=[],e=n.t={};let f=0;const h="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",s],[h,r]],N=w=>{for(const[O,D]of m)w=w.split(`${O}*`).join(`${O}{0,${D}}`).split(`${O}+`).join(`${O}{1,${D}}`);return w},p=(w,O,D)=>{const A=N(O),U=f++;l(w,U,O),e[w]=U,o[U]=O,a[U]=A,c[U]=new RegExp(O,D?"g":void 0),u[U]=new RegExp(A,D?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),p("MAINVERSION",`(${o[e.NUMERICIDENTIFIER]})\\.(${o[e.NUMERICIDENTIFIER]})\\.(${o[e.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${o[e.NUMERICIDENTIFIERLOOSE]})\\.(${o[e.NUMERICIDENTIFIERLOOSE]})\\.(${o[e.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${o[e.NONNUMERICIDENTIFIER]}|${o[e.NUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${o[e.NONNUMERICIDENTIFIER]}|${o[e.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASE",`(?:-(${o[e.PRERELEASEIDENTIFIER]}(?:\\.${o[e.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${o[e.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[e.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${h}+`),p("BUILD",`(?:\\+(${o[e.BUILDIDENTIFIER]}(?:\\.${o[e.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${o[e.MAINVERSION]}${o[e.PRERELEASE]}?${o[e.BUILD]}?`),p("FULL",`^${o[e.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${o[e.MAINVERSIONLOOSE]}${o[e.PRERELEASELOOSE]}?${o[e.BUILD]}?`),p("LOOSE",`^${o[e.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${o[e.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${o[e.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${o[e.XRANGEIDENTIFIER]})(?:\\.(${o[e.XRANGEIDENTIFIER]})(?:\\.(${o[e.XRANGEIDENTIFIER]})(?:${o[e.PRERELEASE]})?${o[e.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${o[e.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[e.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[e.XRANGEIDENTIFIERLOOSE]})(?:${o[e.PRERELEASELOOSE]})?${o[e.BUILD]}?)?)?`),p("XRANGE",`^${o[e.GTLT]}\\s*${o[e.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${o[e.GTLT]}\\s*${o[e.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`),p("COERCE",`${o[e.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",o[e.COERCEPLAIN]+`(?:${o[e.PRERELEASE]})?(?:${o[e.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",o[e.COERCE],!0),p("COERCERTLFULL",o[e.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${o[e.LONETILDE]}\\s+`,!0),n.tildeTrimReplace="$1~",p("TILDE",`^${o[e.LONETILDE]}${o[e.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${o[e.LONETILDE]}${o[e.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${o[e.LONECARET]}\\s+`,!0),n.caretTrimReplace="$1^",p("CARET",`^${o[e.LONECARET]}${o[e.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${o[e.LONECARET]}${o[e.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${o[e.GTLT]}\\s*(${o[e.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${o[e.GTLT]}\\s*(${o[e.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${o[e.GTLT]}\\s*(${o[e.LOOSEPLAIN]}|${o[e.XRANGEPLAIN]})`,!0),n.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${o[e.XRANGEPLAIN]})\\s+-\\s+(${o[e.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${o[e.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[e.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(z,z.exports)),z.exports}var ae,lr;function Ke(){if(lr)return ae;lr=1;const i=Object.freeze({loose:!0}),n=Object.freeze({});return ae=r=>r?typeof r!="object"?i:r:n,ae}var oe,fr;function tt(){if(fr)return oe;fr=1;const i=/^[0-9]+$/,n=(r,s)=>{if(typeof r=="number"&&typeof s=="number")return r===s?0:r<s?-1:1;const l=i.test(r),c=i.test(s);return l&&c&&(r=+r,s=+s),r===s?0:l&&!c?-1:c&&!l?1:r<s?-1:1};return oe={compareIdentifiers:n,rcompareIdentifiers:(r,s)=>n(s,r)},oe}var ce,hr;function _(){if(hr)return ce;hr=1;const i=K(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:t}=W(),{safeRe:r,t:s}=V(),l=Ke(),{compareIdentifiers:c}=tt();class u{constructor(a,e){if(e=l(e),a instanceof u){if(a.loose===!!e.loose&&a.includePrerelease===!!e.includePrerelease)return a;a=a.version}else if(typeof a!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof a}".`);if(a.length>n)throw new TypeError(`version is longer than ${n} characters`);i("SemVer",a,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const f=a.trim().match(e.loose?r[s.LOOSE]:r[s.FULL]);if(!f)throw new TypeError(`Invalid Version: ${a}`);if(this.raw=a,this.major=+f[1],this.minor=+f[2],this.patch=+f[3],this.major>t||this.major<0)throw new TypeError("Invalid major version");if(this.minor>t||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>t||this.patch<0)throw new TypeError("Invalid patch version");f[4]?this.prerelease=f[4].split(".").map(h=>{if(/^[0-9]+$/.test(h)){const m=+h;if(m>=0&&m<t)return m}return h}):this.prerelease=[],this.build=f[5]?f[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(a){if(i("SemVer.compare",this.version,this.options,a),!(a instanceof u)){if(typeof a=="string"&&a===this.version)return 0;a=new u(a,this.options)}return a.version===this.version?0:this.compareMain(a)||this.comparePre(a)}compareMain(a){return a instanceof u||(a=new u(a,this.options)),this.major<a.major?-1:this.major>a.major?1:this.minor<a.minor?-1:this.minor>a.minor?1:this.patch<a.patch?-1:this.patch>a.patch?1:0}comparePre(a){if(a instanceof u||(a=new u(a,this.options)),this.prerelease.length&&!a.prerelease.length)return-1;if(!this.prerelease.length&&a.prerelease.length)return 1;if(!this.prerelease.length&&!a.prerelease.length)return 0;let e=0;do{const f=this.prerelease[e],h=a.prerelease[e];if(i("prerelease compare",e,f,h),f===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(f===void 0)return-1;if(f===h)continue;return c(f,h)}while(++e)}compareBuild(a){a instanceof u||(a=new u(a,this.options));let e=0;do{const f=this.build[e],h=a.build[e];if(i("build compare",e,f,h),f===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(f===void 0)return-1;if(f===h)continue;return c(f,h)}while(++e)}inc(a,e,f){if(a.startsWith("pre")){if(!e&&f===!1)throw new Error("invalid increment argument: identifier is empty");if(e){const h=`-${e}`.match(this.options.loose?r[s.PRERELEASELOOSE]:r[s.PRERELEASE]);if(!h||h[1]!==e)throw new Error(`invalid identifier: ${e}`)}}switch(a){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,f);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,f);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,f),this.inc("pre",e,f);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",e,f),this.inc("pre",e,f);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const h=Number(f)?1:0;if(this.prerelease.length===0)this.prerelease=[h];else{let m=this.prerelease.length;for(;--m>=0;)typeof this.prerelease[m]=="number"&&(this.prerelease[m]++,m=-2);if(m===-1){if(e===this.prerelease.join(".")&&f===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(h)}}if(e){let m=[e,h];f===!1&&(m=[e]),c(this.prerelease[0],e)===0?isNaN(this.prerelease[1])&&(this.prerelease=m):this.prerelease=m}break}default:throw new Error(`invalid increment argument: ${a}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return ce=u,ce}var ue,dr;function M(){if(dr)return ue;dr=1;const i=_();return ue=(t,r,s=!1)=>{if(t instanceof i)return t;try{return new i(t,r)}catch(l){if(!s)return null;throw l}},ue}var le,pr;function It(){if(pr)return le;pr=1;const i=M();return le=(t,r)=>{const s=i(t,r);return s?s.version:null},le}var fe,Er;function gt(){if(Er)return fe;Er=1;const i=M();return fe=(t,r)=>{const s=i(t.trim().replace(/^[=v]+/,""),r);return s?s.version:null},fe}var he,mr;function $t(){if(mr)return he;mr=1;const i=_();return he=(t,r,s,l,c)=>{typeof s=="string"&&(c=l,l=s,s=void 0);try{return new i(t instanceof i?t.version:t,s).inc(r,l,c).version}catch{return null}},he}var de,Rr;function Lt(){if(Rr)return de;Rr=1;const i=M();return de=(t,r)=>{const s=i(t,null,!0),l=i(r,null,!0),c=s.compare(l);if(c===0)return null;const u=c>0,o=u?s:l,a=u?l:s,e=!!o.prerelease.length;if(!!a.prerelease.length&&!e){if(!a.patch&&!a.minor)return"major";if(a.compareMain(o)===0)return a.minor&&!a.patch?"minor":"patch"}const h=e?"pre":"";return s.major!==l.major?h+"major":s.minor!==l.minor?h+"minor":s.patch!==l.patch?h+"patch":"prerelease"},de}var pe,vr;function St(){if(vr)return pe;vr=1;const i=_();return pe=(t,r)=>new i(t,r).major,pe}var Ee,Ir;function wt(){if(Ir)return Ee;Ir=1;const i=_();return Ee=(t,r)=>new i(t,r).minor,Ee}var me,gr;function Nt(){if(gr)return me;gr=1;const i=_();return me=(t,r)=>new i(t,r).patch,me}var Re,$r;function Tt(){if($r)return Re;$r=1;const i=M();return Re=(t,r)=>{const s=i(t,r);return s&&s.prerelease.length?s.prerelease:null},Re}var ve,Lr;function F(){if(Lr)return ve;Lr=1;const i=_();return ve=(t,r,s)=>new i(t,s).compare(new i(r,s)),ve}var Ie,Sr;function Ot(){if(Sr)return Ie;Sr=1;const i=F();return Ie=(t,r,s)=>i(r,t,s),Ie}var ge,wr;function At(){if(wr)return ge;wr=1;const i=F();return ge=(t,r)=>i(t,r,!0),ge}var $e,Nr;function Ze(){if(Nr)return $e;Nr=1;const i=_();return $e=(t,r,s)=>{const l=new i(t,s),c=new i(r,s);return l.compare(c)||l.compareBuild(c)},$e}var Le,Tr;function yt(){if(Tr)return Le;Tr=1;const i=Ze();return Le=(t,r)=>t.sort((s,l)=>i(s,l,r)),Le}var Se,Or;function Pt(){if(Or)return Se;Or=1;const i=Ze();return Se=(t,r)=>t.sort((s,l)=>i(l,s,r)),Se}var we,Ar;function Z(){if(Ar)return we;Ar=1;const i=F();return we=(t,r,s)=>i(t,r,s)>0,we}var Ne,yr;function Je(){if(yr)return Ne;yr=1;const i=F();return Ne=(t,r,s)=>i(t,r,s)<0,Ne}var Te,Pr;function st(){if(Pr)return Te;Pr=1;const i=F();return Te=(t,r,s)=>i(t,r,s)===0,Te}var Oe,Cr;function nt(){if(Cr)return Oe;Cr=1;const i=F();return Oe=(t,r,s)=>i(t,r,s)!==0,Oe}var Ae,qr;function Qe(){if(qr)return Ae;qr=1;const i=F();return Ae=(t,r,s)=>i(t,r,s)>=0,Ae}var ye,xr;function er(){if(xr)return ye;xr=1;const i=F();return ye=(t,r,s)=>i(t,r,s)<=0,ye}var Pe,Dr;function it(){if(Dr)return Pe;Dr=1;const i=st(),n=nt(),t=Z(),r=Qe(),s=Je(),l=er();return Pe=(u,o,a,e)=>{switch(o){case"===":return typeof u=="object"&&(u=u.version),typeof a=="object"&&(a=a.version),u===a;case"!==":return typeof u=="object"&&(u=u.version),typeof a=="object"&&(a=a.version),u!==a;case"":case"=":case"==":return i(u,a,e);case"!=":return n(u,a,e);case">":return t(u,a,e);case">=":return r(u,a,e);case"<":return s(u,a,e);case"<=":return l(u,a,e);default:throw new TypeError(`Invalid operator: ${o}`)}},Pe}var Ce,Ur;function Ct(){if(Ur)return Ce;Ur=1;const i=_(),n=M(),{safeRe:t,t:r}=V();return Ce=(l,c)=>{if(l instanceof i)return l;if(typeof l=="number"&&(l=String(l)),typeof l!="string")return null;c=c||{};let u=null;if(!c.rtl)u=l.match(c.includePrerelease?t[r.COERCEFULL]:t[r.COERCE]);else{const m=c.includePrerelease?t[r.COERCERTLFULL]:t[r.COERCERTL];let N;for(;(N=m.exec(l))&&(!u||u.index+u[0].length!==l.length);)(!u||N.index+N[0].length!==u.index+u[0].length)&&(u=N),m.lastIndex=N.index+N[1].length+N[2].length;m.lastIndex=-1}if(u===null)return null;const o=u[2],a=u[3]||"0",e=u[4]||"0",f=c.includePrerelease&&u[5]?`-${u[5]}`:"",h=c.includePrerelease&&u[6]?`+${u[6]}`:"";return n(`${o}.${a}.${e}${f}${h}`,c)},Ce}var qe,br;function qt(){if(br)return qe;br=1;class i{constructor(){this.max=1e3,this.map=new Map}get(t){const r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){const l=this.map.keys().next().value;this.delete(l)}this.map.set(t,r)}return this}}return qe=i,qe}var xe,_r;function B(){if(_r)return xe;_r=1;const i=/\s+/g;class n{constructor(d,I){if(I=s(I),d instanceof n)return d.loose===!!I.loose&&d.includePrerelease===!!I.includePrerelease?d:new n(d.raw,I);if(d instanceof l)return this.raw=d.value,this.set=[[d]],this.formatted=void 0,this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=d.trim().replace(i," "),this.set=this.raw.split("||").map(R=>this.parseRange(R.trim())).filter(R=>R.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const R=this.set[0];if(this.set=this.set.filter(g=>!p(g[0])),this.set.length===0)this.set=[R];else if(this.set.length>1){for(const g of this.set)if(g.length===1&&w(g[0])){this.set=[g];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let d=0;d<this.set.length;d++){d>0&&(this.formatted+="||");const I=this.set[d];for(let R=0;R<I.length;R++)R>0&&(this.formatted+=" "),this.formatted+=I[R].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(d){const R=((this.options.includePrerelease&&m)|(this.options.loose&&N))+":"+d,g=r.get(R);if(g)return g;const v=this.options.loose,$=v?o[a.HYPHENRANGELOOSE]:o[a.HYPHENRANGE];d=d.replace($,te(this.options.includePrerelease)),c("hyphen replace",d),d=d.replace(o[a.COMPARATORTRIM],e),c("comparator trim",d),d=d.replace(o[a.TILDETRIM],f),c("tilde trim",d),d=d.replace(o[a.CARETTRIM],h),c("caret trim",d);let T=d.split(" ").map(q=>D(q,this.options)).join(" ").split(/\s+/).map(q=>re(q,this.options));v&&(T=T.filter(q=>(c("loose invalid filter",q,this.options),!!q.match(o[a.COMPARATORLOOSE])))),c("range list",T);const S=new Map,y=T.map(q=>new l(q,this.options));for(const q of y){if(p(q))return[q];S.set(q.value,q)}S.size>1&&S.has("")&&S.delete("");const b=[...S.values()];return r.set(R,b),b}intersects(d,I){if(!(d instanceof n))throw new TypeError("a Range is required");return this.set.some(R=>O(R,I)&&d.set.some(g=>O(g,I)&&R.every(v=>g.every($=>v.intersects($,I)))))}test(d){if(!d)return!1;if(typeof d=="string")try{d=new u(d,this.options)}catch{return!1}for(let I=0;I<this.set.length;I++)if(se(this.set[I],d,this.options))return!0;return!1}}xe=n;const t=qt(),r=new t,s=Ke(),l=J(),c=K(),u=_(),{safeRe:o,t:a,comparatorTrimReplace:e,tildeTrimReplace:f,caretTrimReplace:h}=V(),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:N}=W(),p=E=>E.value==="<0.0.0-0",w=E=>E.value==="",O=(E,d)=>{let I=!0;const R=E.slice();let g=R.pop();for(;I&&R.length;)I=R.every(v=>g.intersects(v,d)),g=R.pop();return I},D=(E,d)=>(E=E.replace(o[a.BUILD],""),c("comp",E,d),E=P(E,d),c("caret",E),E=U(E,d),c("tildes",E),E=L(E,d),c("xrange",E),E=ee(E,d),c("stars",E),E),A=E=>!E||E.toLowerCase()==="x"||E==="*",U=(E,d)=>E.trim().split(/\s+/).map(I=>G(I,d)).join(" "),G=(E,d)=>{const I=d.loose?o[a.TILDELOOSE]:o[a.TILDE];return E.replace(I,(R,g,v,$,T)=>{c("tilde",E,R,g,v,$,T);let S;return A(g)?S="":A(v)?S=`>=${g}.0.0 <${+g+1}.0.0-0`:A($)?S=`>=${g}.${v}.0 <${g}.${+v+1}.0-0`:T?(c("replaceTilde pr",T),S=`>=${g}.${v}.${$}-${T} <${g}.${+v+1}.0-0`):S=`>=${g}.${v}.${$} <${g}.${+v+1}.0-0`,c("tilde return",S),S})},P=(E,d)=>E.trim().split(/\s+/).map(I=>x(I,d)).join(" "),x=(E,d)=>{c("caret",E,d);const I=d.loose?o[a.CARETLOOSE]:o[a.CARET],R=d.includePrerelease?"-0":"";return E.replace(I,(g,v,$,T,S)=>{c("caret",E,g,v,$,T,S);let y;return A(v)?y="":A($)?y=`>=${v}.0.0${R} <${+v+1}.0.0-0`:A(T)?v==="0"?y=`>=${v}.${$}.0${R} <${v}.${+$+1}.0-0`:y=`>=${v}.${$}.0${R} <${+v+1}.0.0-0`:S?(c("replaceCaret pr",S),v==="0"?$==="0"?y=`>=${v}.${$}.${T}-${S} <${v}.${$}.${+T+1}-0`:y=`>=${v}.${$}.${T}-${S} <${v}.${+$+1}.0-0`:y=`>=${v}.${$}.${T}-${S} <${+v+1}.0.0-0`):(c("no pr"),v==="0"?$==="0"?y=`>=${v}.${$}.${T}${R} <${v}.${$}.${+T+1}-0`:y=`>=${v}.${$}.${T}${R} <${v}.${+$+1}.0-0`:y=`>=${v}.${$}.${T} <${+v+1}.0.0-0`),c("caret return",y),y})},L=(E,d)=>(c("replaceXRanges",E,d),E.split(/\s+/).map(I=>k(I,d)).join(" ")),k=(E,d)=>{E=E.trim();const I=d.loose?o[a.XRANGELOOSE]:o[a.XRANGE];return E.replace(I,(R,g,v,$,T,S)=>{c("xRange",E,R,g,v,$,T,S);const y=A(v),b=y||A($),q=b||A(T),X=q;return g==="="&&X&&(g=""),S=d.includePrerelease?"-0":"",y?g===">"||g==="<"?R="<0.0.0-0":R="*":g&&X?(b&&($=0),T=0,g===">"?(g=">=",b?(v=+v+1,$=0,T=0):($=+$+1,T=0)):g==="<="&&(g="<",b?v=+v+1:$=+$+1),g==="<"&&(S="-0"),R=`${g+v}.${$}.${T}${S}`):b?R=`>=${v}.0.0${S} <${+v+1}.0.0-0`:q&&(R=`>=${v}.${$}.0${S} <${v}.${+$+1}.0-0`),c("xRange return",R),R})},ee=(E,d)=>(c("replaceStars",E,d),E.trim().replace(o[a.STAR],"")),re=(E,d)=>(c("replaceGTE0",E,d),E.trim().replace(o[d.includePrerelease?a.GTE0PRE:a.GTE0],"")),te=E=>(d,I,R,g,v,$,T,S,y,b,q,X)=>(A(R)?I="":A(g)?I=`>=${R}.0.0${E?"-0":""}`:A(v)?I=`>=${R}.${g}.0${E?"-0":""}`:$?I=`>=${I}`:I=`>=${I}${E?"-0":""}`,A(y)?S="":A(b)?S=`<${+y+1}.0.0-0`:A(q)?S=`<${y}.${+b+1}.0-0`:X?S=`<=${y}.${b}.${q}-${X}`:E?S=`<${y}.${b}.${+q+1}-0`:S=`<=${S}`,`${I} ${S}`.trim()),se=(E,d,I)=>{for(let R=0;R<E.length;R++)if(!E[R].test(d))return!1;if(d.prerelease.length&&!I.includePrerelease){for(let R=0;R<E.length;R++)if(c(E[R].semver),E[R].semver!==l.ANY&&E[R].semver.prerelease.length>0){const g=E[R].semver;if(g.major===d.major&&g.minor===d.minor&&g.patch===d.patch)return!0}return!1}return!0};return xe}var De,Gr;function J(){if(Gr)return De;Gr=1;const i=Symbol("SemVer ANY");class n{static get ANY(){return i}constructor(e,f){if(f=t(f),e instanceof n){if(e.loose===!!f.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,f),this.options=f,this.loose=!!f.loose,this.parse(e),this.semver===i?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const f=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],h=e.match(f);if(!h)throw new TypeError(`Invalid comparator: ${e}`);this.operator=h[1]!==void 0?h[1]:"",this.operator==="="&&(this.operator=""),h[2]?this.semver=new u(h[2],this.options.loose):this.semver=i}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===i||e===i)return!0;if(typeof e=="string")try{e=new u(e,this.options)}catch{return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,f){if(!(e instanceof n))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new o(e.value,f).test(this.value):e.operator===""?e.value===""?!0:new o(this.value,f).test(e.semver):(f=t(f),f.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,f)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,f)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}De=n;const t=Ke(),{safeRe:r,t:s}=V(),l=it(),c=K(),u=_(),o=B();return De}var Ue,Fr;function Q(){if(Fr)return Ue;Fr=1;const i=B();return Ue=(t,r,s)=>{try{r=new i(r,s)}catch{return!1}return r.test(t)},Ue}var be,Br;function xt(){if(Br)return be;Br=1;const i=B();return be=(t,r)=>new i(t,r).set.map(s=>s.map(l=>l.value).join(" ").trim().split(" ")),be}var _e,jr;function Dt(){if(jr)return _e;jr=1;const i=_(),n=B();return _e=(r,s,l)=>{let c=null,u=null,o=null;try{o=new n(s,l)}catch{return null}return r.forEach(a=>{o.test(a)&&(!c||u.compare(a)===-1)&&(c=a,u=new i(c,l))}),c},_e}var Ge,Mr;function Ut(){if(Mr)return Ge;Mr=1;const i=_(),n=B();return Ge=(r,s,l)=>{let c=null,u=null,o=null;try{o=new n(s,l)}catch{return null}return r.forEach(a=>{o.test(a)&&(!c||u.compare(a)===1)&&(c=a,u=new i(c,l))}),c},Ge}var Fe,kr;function bt(){if(kr)return Fe;kr=1;const i=_(),n=B(),t=Z();return Fe=(s,l)=>{s=new n(s,l);let c=new i("0.0.0");if(s.test(c)||(c=new i("0.0.0-0"),s.test(c)))return c;c=null;for(let u=0;u<s.set.length;++u){const o=s.set[u];let a=null;o.forEach(e=>{const f=new i(e.semver.version);switch(e.operator){case">":f.prerelease.length===0?f.patch++:f.prerelease.push(0),f.raw=f.format();case"":case">=":(!a||t(f,a))&&(a=f);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),a&&(!c||t(c,a))&&(c=a)}return c&&s.test(c)?c:null},Fe}var Be,Xr;function _t(){if(Xr)return Be;Xr=1;const i=B();return Be=(t,r)=>{try{return new i(t,r).range||"*"}catch{return null}},Be}var je,Vr;function rr(){if(Vr)return je;Vr=1;const i=_(),n=J(),{ANY:t}=n,r=B(),s=Q(),l=Z(),c=Je(),u=er(),o=Qe();return je=(e,f,h,m)=>{e=new i(e,m),f=new r(f,m);let N,p,w,O,D;switch(h){case">":N=l,p=u,w=c,O=">",D=">=";break;case"<":N=c,p=o,w=l,O="<",D="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,f,m))return!1;for(let A=0;A<f.set.length;++A){const U=f.set[A];let G=null,P=null;if(U.forEach(x=>{x.semver===t&&(x=new n(">=0.0.0")),G=G||x,P=P||x,N(x.semver,G.semver,m)?G=x:w(x.semver,P.semver,m)&&(P=x)}),G.operator===O||G.operator===D||(!P.operator||P.operator===O)&&p(e,P.semver))return!1;if(P.operator===D&&w(e,P.semver))return!1}return!0},je}var Me,zr;function Gt(){if(zr)return Me;zr=1;const i=rr();return Me=(t,r,s)=>i(t,r,">",s),Me}var ke,Hr;function Ft(){if(Hr)return ke;Hr=1;const i=rr();return ke=(t,r,s)=>i(t,r,"<",s),ke}var Xe,Yr;function Bt(){if(Yr)return Xe;Yr=1;const i=B();return Xe=(t,r,s)=>(t=new i(t,s),r=new i(r,s),t.intersects(r,s)),Xe}var Ve,Wr;function jt(){if(Wr)return Ve;Wr=1;const i=Q(),n=F();return Ve=(t,r,s)=>{const l=[];let c=null,u=null;const o=t.sort((h,m)=>n(h,m,s));for(const h of o)i(h,r,s)?(u=h,c||(c=h)):(u&&l.push([c,u]),u=null,c=null);c&&l.push([c,null]);const a=[];for(const[h,m]of l)h===m?a.push(h):!m&&h===o[0]?a.push("*"):m?h===o[0]?a.push(`<=${m}`):a.push(`${h} - ${m}`):a.push(`>=${h}`);const e=a.join(" || "),f=typeof r.raw=="string"?r.raw:String(r);return e.length<f.length?e:r},Ve}var ze,Kr;function Mt(){if(Kr)return ze;Kr=1;const i=B(),n=J(),{ANY:t}=n,r=Q(),s=F(),l=(f,h,m={})=>{if(f===h)return!0;f=new i(f,m),h=new i(h,m);let N=!1;e:for(const p of f.set){for(const w of h.set){const O=o(p,w,m);if(N=N||O!==null,O)continue e}if(N)return!1}return!0},c=[new n(">=0.0.0-0")],u=[new n(">=0.0.0")],o=(f,h,m)=>{if(f===h)return!0;if(f.length===1&&f[0].semver===t){if(h.length===1&&h[0].semver===t)return!0;m.includePrerelease?f=c:f=u}if(h.length===1&&h[0].semver===t){if(m.includePrerelease)return!0;h=u}const N=new Set;let p,w;for(const L of f)L.operator===">"||L.operator===">="?p=a(p,L,m):L.operator==="<"||L.operator==="<="?w=e(w,L,m):N.add(L.semver);if(N.size>1)return null;let O;if(p&&w){if(O=s(p.semver,w.semver,m),O>0)return null;if(O===0&&(p.operator!==">="||w.operator!=="<="))return null}for(const L of N){if(p&&!r(L,String(p),m)||w&&!r(L,String(w),m))return null;for(const k of h)if(!r(L,String(k),m))return!1;return!0}let D,A,U,G,P=w&&!m.includePrerelease&&w.semver.prerelease.length?w.semver:!1,x=p&&!m.includePrerelease&&p.semver.prerelease.length?p.semver:!1;P&&P.prerelease.length===1&&w.operator==="<"&&P.prerelease[0]===0&&(P=!1);for(const L of h){if(G=G||L.operator===">"||L.operator===">=",U=U||L.operator==="<"||L.operator==="<=",p){if(x&&L.semver.prerelease&&L.semver.prerelease.length&&L.semver.major===x.major&&L.semver.minor===x.minor&&L.semver.patch===x.patch&&(x=!1),L.operator===">"||L.operator===">="){if(D=a(p,L,m),D===L&&D!==p)return!1}else if(p.operator===">="&&!r(p.semver,String(L),m))return!1}if(w){if(P&&L.semver.prerelease&&L.semver.prerelease.length&&L.semver.major===P.major&&L.semver.minor===P.minor&&L.semver.patch===P.patch&&(P=!1),L.operator==="<"||L.operator==="<="){if(A=e(w,L,m),A===L&&A!==w)return!1}else if(w.operator==="<="&&!r(w.semver,String(L),m))return!1}if(!L.operator&&(w||p)&&O!==0)return!1}return!(p&&U&&!w&&O!==0||w&&G&&!p&&O!==0||x||P)},a=(f,h,m)=>{if(!f)return h;const N=s(f.semver,h.semver,m);return N>0?f:N<0||h.operator===">"&&f.operator===">="?h:f},e=(f,h,m)=>{if(!f)return h;const N=s(f.semver,h.semver,m);return N<0?f:N>0||h.operator==="<"&&f.operator==="<="?h:f};return ze=l,ze}var He,Zr;function kt(){if(Zr)return He;Zr=1;const i=V(),n=W(),t=_(),r=tt(),s=M(),l=It(),c=gt(),u=$t(),o=Lt(),a=St(),e=wt(),f=Nt(),h=Tt(),m=F(),N=Ot(),p=At(),w=Ze(),O=yt(),D=Pt(),A=Z(),U=Je(),G=st(),P=nt(),x=Qe(),L=er(),k=it(),ee=Ct(),re=J(),te=B(),se=Q(),E=xt(),d=Dt(),I=Ut(),R=bt(),g=_t(),v=rr(),$=Gt(),T=Ft(),S=Bt(),y=jt(),b=Mt();return He={parse:s,valid:l,clean:c,inc:u,diff:o,major:a,minor:e,patch:f,prerelease:h,compare:m,rcompare:N,compareLoose:p,compareBuild:w,sort:O,rsort:D,gt:A,lt:U,eq:G,neq:P,gte:x,lte:L,cmp:k,coerce:ee,Comparator:re,Range:te,satisfies:se,toComparators:E,maxSatisfying:d,minSatisfying:I,minVersion:R,validRange:g,outside:v,gtr:$,ltr:T,intersects:S,simplifyRange:y,subset:b,SemVer:t,re:i.re,src:i.src,tokens:i.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:r.compareIdentifiers,rcompareIdentifiers:r.rcompareIdentifiers},He}var Xt=kt();const Jr=dt(Xt);var C;(function(i){i.blue="blue",i.nanoS="nanoS",i.nanoSP="nanoSP",i.nanoX="nanoX",i.stax="stax",i.europa="europa",i.apex="apex"})(C||(C={}));const Ye={[C.blue]:{id:C.blue,productName:"Ledger Blue",productIdMM:0,legacyUsbProductId:0,usbOnly:!0,memorySize:480*1024,masks:[822083584,822149120],getBlockSize:i=>4*1024},[C.nanoS]:{id:C.nanoS,productName:"Ledger Nano S",productIdMM:16,legacyUsbProductId:1,usbOnly:!0,memorySize:320*1024,masks:[823132160],getBlockSize:i=>Jr.lt(Jr.coerce(i)??"","2.0.0")?4*1024:2*1024},[C.nanoX]:{id:C.nanoX,productName:"Ledger Nano X",productIdMM:64,legacyUsbProductId:4,usbOnly:!1,memorySize:2*1024*1024,masks:[855638016],getBlockSize:i=>4*1024,bluetoothSpec:[{serviceUuid:"13d63400-2c97-0004-0000-4c6564676572",notifyUuid:"13d63400-2c97-0004-0001-4c6564676572",writeUuid:"13d63400-2c97-0004-0002-4c6564676572",writeCmdUuid:"13d63400-2c97-0004-0003-4c6564676572"}]},[C.nanoSP]:{id:C.nanoSP,productName:"Ledger Nano S Plus",productIdMM:80,legacyUsbProductId:5,usbOnly:!0,memorySize:1533*1024,masks:[856686592],getBlockSize:i=>32},[C.apex]:{id:C.apex,productName:"Ledger Nano Gen5",productIdMM:128,legacyUsbProductId:8,usbOnly:!1,memorySize:1533*1024,masks:[859832320],getBlockSize:i=>32,bluetoothSpec:[{serviceUuid:"13d63400-2c97-8004-0000-4c6564676572",notifyUuid:"13d63400-2c97-8004-0001-4c6564676572",writeUuid:"13d63400-2c97-8004-0002-4c6564676572",writeCmdUuid:"13d63400-2c97-8004-0003-4c6564676572"}]},[C.stax]:{id:C.stax,productName:"Ledger Stax",productIdMM:96,legacyUsbProductId:6,usbOnly:!1,memorySize:1533*1024,masks:[857735168],getBlockSize:i=>32,bluetoothSpec:[{serviceUuid:"13d63400-2c97-6004-0000-4c6564676572",notifyUuid:"13d63400-2c97-6004-0001-4c6564676572",writeUuid:"13d63400-2c97-6004-0002-4c6564676572",writeCmdUuid:"13d63400-2c97-6004-0003-4c6564676572"}]},[C.europa]:{id:C.europa,productName:"Ledger Flex",productIdMM:112,legacyUsbProductId:7,usbOnly:!1,memorySize:1533*1024,masks:[858783744],getBlockSize:i=>32,bluetoothSpec:[{serviceUuid:"13d63400-2c97-3004-0000-4c6564676572",notifyUuid:"13d63400-2c97-3004-0001-4c6564676572",writeUuid:"13d63400-2c97-3004-0002-4c6564676572",writeCmdUuid:"13d63400-2c97-3004-0003-4c6564676572"}]}};C.blue,C.nanoS,C.nanoSP,C.nanoX,C.stax,C.europa;const Qr=Object.values(Ye),at=11415,et=i=>{const n=Qr.find(s=>s.legacyUsbProductId===i);if(n)return n;const t=i>>8;return Qr.find(s=>s.productIdMM===t)},Vt=[],rt={};for(const i in Ye){const n=Ye[i],{bluetoothSpec:t}=n;if(t)for(let r=0;r<t.length;r++){const s=t[r];Vt.push(s.serviceUuid),rt[s.serviceUuid]=rt[s.serviceUuid.replace(/-/g,"")]={deviceModel:n,...s}}}const zt=[{vendorId:at}],Ht=()=>Promise.resolve(!!(window.navigator&&window.navigator.hid)),Y=()=>{const{hid:i}=navigator;if(!i)throw new j("navigator.hid is not supported","HIDNotSupported");return i};async function ot(){const i=await Y().requestDevice({filters:zt});return Array.isArray(i)?i:[i]}async function We(){return(await Y().getDevices()).filter(n=>n.vendorId===at)}async function Yt(){const i=await We();return i.length>0?i[0]:(await ot())[0]}class H extends Et{device;deviceModel;channel=Math.floor(Math.random()*65535);packetSize=64;constructor(n){super(),this.device=n,this.deviceModel=typeof n.productId=="number"?et(n.productId):void 0,n.addEventListener("inputreport",this.onInputReport)}inputs=[];inputCallback;read=()=>{if(this.inputs.length){const n=this.inputs.shift();if(n!==void 0)return Promise.resolve(n);throw new Error("Unreachable: non-empty inputs")}return new Promise(n=>{this.inputCallback=n})};onInputReport=n=>{const t=Buffer.from(n.data.buffer);this.inputCallback?(this.inputCallback(t),this.inputCallback=null):this.inputs.push(t)};static isSupported=Ht;static list=We;static listen=n=>{let t=!1;Yt().then(s=>{if(!s)n.error(new nr("Access denied to use Ledger device"));else if(!t){const l=typeof s.productId=="number"?et(s.productId):void 0;n.next({type:"add",descriptor:s,deviceModel:l}),n.complete()}},s=>{n.error(new nr(s.message))});function r(){t=!0}return{unsubscribe:r}};static async request(){const[n]=await ot();return H.open(n)}static async openConnected(){const n=await We();return n.length===0?null:H.open(n[0])}static async open(n){await n.open();const t=new H(n),r=s=>{n===s.device&&(Y().removeEventListener("disconnect",r),t._emitDisconnect(new ht))};return Y().addEventListener("disconnect",r),t}_disconnectEmitted=!1;_emitDisconnect=n=>{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",n))};async close(){await this.exchangeBusyPromise,this.device.removeEventListener("inputreport",this.onInputReport),await this.device.close()}exchange=async n=>await this.exchangeAtomicImpl(async()=>{const{channel:r,packetSize:s}=this;ir("apdu","=> "+n.toString("hex"));const l=vt(r,s),c=l.makeBlocks(n);for(let a=0;a<c.length;a++)await this.device.sendReport(0,c[a]);let u,o;for(;!(u=l.getReducedResult(o));)try{const a=await this.read();o=l.reduceResponse(o,a)}catch(a){if(a instanceof j&&a.id==="InvalidChannel")continue;throw a}return ir("apdu","<= "+u.toString("hex")),u}).catch(r=>{throw r&&r.message&&r.message.includes("write")?(this._emitDisconnect(r),new ft(r.message)):r});setScrambleKey(){}}export{H as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as t}from"./vue-plyr-BO2nlN4c.js";import{d as r,H as n,C as a,y as i,E as o,D as p,q as c}from"./vendor-vue-C5BV5QrY.js";import{D as l}from"./index-
|
|
1
|
+
import{s as t}from"./vue-plyr-BO2nlN4c.js";import{d as r,H as n,C as a,y as i,E as o,D as p,q as c}from"./vendor-vue-C5BV5QrY.js";import{D as l}from"./index-K-A1x_Lb.js";const d=r({name:"VideoPlayer",components:{VuePlyr:t},props:{src:{type:String,required:!0},options:{type:Object,required:!1,default:()=>({})}},data(){return{mergedOptions:{controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","fullscreen"],iconUrl:"https://cdn.acedata.cloud/7jq4t0.svg",quality:{default:"1080p",...this.options.quality},...this.options}}}}),u={class:"video max-w-[800px] max-h-[450px] rounded-[15px] overflow-hidden"},m={controls:"",crossorigin:"anonymous",playsinline:"",class:"w-full h-full aspect-[16/9]"},f=["src"];function _(e,y,h,v,g,x){const s=p("vue-plyr");return c(),n("div",u,[a(s,{options:e.mergedOptions},{default:i(()=>[o("video",m,[o("source",{size:"1080",src:e.src,type:"video/mp4"},null,8,f)])]),_:1},8,["options"])])}const C=l(d,[["render",_]]);export{C as V};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cJ as l,aY as i,cK as V,k as D,l as _,cL as F,cf as G,c as B,cM as A,cN as y,bU as K,cO as c}from"./index-K-A1x_Lb.js";import{b as E,c as R,a as W}from"./index-DnslJSug.js";var h=l(i,"WeakMap");function N(t){return t!=null&&E(t.length)&&!V(t)}var q=Object.prototype;function Y(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||q;return t===r}function H(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o}function J(){return!1}var U=typeof exports=="object"&&exports&&!exports.nodeType&&exports,w=U&&typeof module=="object"&&module&&!module.nodeType&&module,Z=w&&w.exports===U,x=Z?i.Buffer:void 0,Q=x?x.isBuffer:void 0,X=Q||J,tt="[object Arguments]",rt="[object Array]",et="[object Boolean]",at="[object Date]",ot="[object Error]",nt="[object Function]",st="[object Map]",it="[object Number]",ct="[object Object]",ut="[object RegExp]",ft="[object Set]",pt="[object String]",gt="[object WeakMap]",bt="[object ArrayBuffer]",yt="[object DataView]",lt="[object Float32Array]",dt="[object Float64Array]",Tt="[object Int8Array]",ht="[object Int16Array]",jt="[object Int32Array]",vt="[object Uint8Array]",mt="[object Uint8ClampedArray]",_t="[object Uint16Array]",At="[object Uint32Array]",a={};a[lt]=a[dt]=a[Tt]=a[ht]=a[jt]=a[vt]=a[mt]=a[_t]=a[At]=!0;a[tt]=a[rt]=a[bt]=a[et]=a[yt]=a[at]=a[ot]=a[nt]=a[st]=a[it]=a[ct]=a[ut]=a[ft]=a[pt]=a[gt]=!1;function wt(t){return D(t)&&E(t.length)&&!!a[_(t)]}function xt(t){return function(e){return t(e)}}var z=typeof exports=="object"&&exports&&!exports.nodeType&&exports,g=z&&typeof module=="object"&&module&&!module.nodeType&&module,St=g&&g.exports===z,T=St&&F.process,S=(function(){try{var t=g&&g.require&&g.require("util").types;return t||T&&T.binding&&T.binding("util")}catch{}})(),O=S&&S.isTypedArray,Ot=O?xt(O):wt,Pt=Object.prototype,Mt=Pt.hasOwnProperty;function $t(t,e){var r=B(t),o=!r&&R(t),u=!r&&!o&&X(t),f=!r&&!o&&!u&&Ot(t),p=r||o||u||f,d=p?H(t.length,String):[],L=d.length;for(var n in t)(e||Mt.call(t,n))&&!(p&&(n=="length"||u&&(n=="offset"||n=="parent")||f&&(n=="buffer"||n=="byteLength"||n=="byteOffset")||G(n,L)))&&d.push(n);return d}function Ct(t,e){return function(r){return t(e(r))}}var It=Ct(Object.keys,Object),kt=Object.prototype,Bt=kt.hasOwnProperty;function Et(t){if(!Y(t))return It(t);var e=[];for(var r in Object(t))Bt.call(t,r)&&r!="constructor"&&e.push(r);return e}function Ut(t){return N(t)?$t(t):Et(t)}function zt(){this.__data__=new A,this.size=0}function Lt(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function Vt(t){return this.__data__.get(t)}function Dt(t){return this.__data__.has(t)}var Ft=200;function Gt(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!y||o.length<Ft-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new K(o)}return r.set(t,e),this.size=r.size,this}function b(t){var e=this.__data__=new A(t);this.size=e.size}b.prototype.clear=zt;b.prototype.delete=Lt;b.prototype.get=Vt;b.prototype.has=Dt;b.prototype.set=Gt;function Kt(t,e){for(var r=-1,o=t==null?0:t.length,u=0,f=[];++r<o;){var p=t[r];e(p,r,t)&&(f[u++]=p)}return f}function Rt(){return[]}var Wt=Object.prototype,Nt=Wt.propertyIsEnumerable,P=Object.getOwnPropertySymbols,qt=P?function(t){return t==null?[]:(t=Object(t),Kt(P(t),function(e){return Nt.call(t,e)}))}:Rt;function Yt(t,e,r){var o=e(t);return B(t)?o:W(o,r(t))}function ar(t){return Yt(t,Ut,qt)}var j=l(i,"DataView"),v=l(i,"Promise"),m=l(i,"Set"),M="[object Map]",Ht="[object Object]",$="[object Promise]",C="[object Set]",I="[object WeakMap]",k="[object DataView]",Jt=c(j),Zt=c(y),Qt=c(v),Xt=c(m),tr=c(h),s=_;(j&&s(new j(new ArrayBuffer(1)))!=k||y&&s(new y)!=M||v&&s(v.resolve())!=$||m&&s(new m)!=C||h&&s(new h)!=I)&&(s=function(t){var e=_(t),r=e==Ht?t.constructor:void 0,o=r?c(r):"";if(o)switch(o){case Jt:return k;case Zt:return M;case Qt:return $;case Xt:return C;case tr:return I}return e});var or=i.Uint8Array;export{b as S,or as U,N as a,$t as b,s as c,X as d,Ot as e,qt as f,ar as g,Yt as h,Y as i,xt as j,Ut as k,S as n,Ct as o,Rt as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{k as F,f as C,s as N,h as _,c as j,j as E,n as u,d as K,S as R,g as v}from"./_Uint8Array-N0T_55nr.js";import{bV as $,k as B,aX as V,c as W,bN as X}from"./index-K-A1x_Lb.js";import{c as T,k as p,g as Y,a as x,b as q,d as H,e as J,i as Q}from"./_initCloneObject-tDj2TPB_.js";import{a as Z}from"./index-DnslJSug.js";function k(r,e){for(var n=-1,o=r==null?0:r.length;++n<o&&e(r[n],n,r)!==!1;);return r}function z(r,e){return r&&T(e,F(e),r)}function rr(r,e){return r&&T(e,p(e),r)}function er(r,e){return T(r,C(r),e)}var tr=Object.getOwnPropertySymbols,L=tr?function(r){for(var e=[];r;)Z(e,C(r)),r=Y(r);return e}:N;function nr(r,e){return T(r,L(r),e)}function ar(r){return _(r,p,L)}var or=Object.prototype,sr=or.hasOwnProperty;function cr(r){var e=r.length,n=new r.constructor(e);return e&&typeof r[0]=="string"&&sr.call(r,"index")&&(n.index=r.index,n.input=r.input),n}function ir(r,e){var n=e?x(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.byteLength)}var fr=/\w*$/;function gr(r){var e=new r.constructor(r.source,fr.exec(r));return e.lastIndex=r.lastIndex,e}var O=$?$.prototype:void 0,w=O?O.valueOf:void 0;function br(r){return w?Object(w.call(r)):{}}var yr="[object Boolean]",ur="[object Date]",Tr="[object Map]",lr="[object Number]",jr="[object RegExp]",pr="[object Set]",Ar="[object String]",dr="[object Symbol]",mr="[object ArrayBuffer]",Sr="[object DataView]",$r="[object Float32Array]",Or="[object Float64Array]",wr="[object Int8Array]",Ir="[object Int16Array]",hr="[object Int32Array]",Fr="[object Uint8Array]",Cr="[object Uint8ClampedArray]",Er="[object Uint16Array]",Br="[object Uint32Array]";function xr(r,e,n){var o=r.constructor;switch(e){case mr:return x(r);case yr:case ur:return new o(+r);case Sr:return ir(r,n);case $r:case Or:case wr:case Ir:case hr:case Fr:case Cr:case Er:case Br:return q(r,n);case Tr:return new o;case lr:case Ar:return new o(r);case jr:return gr(r);case pr:return new o;case dr:return br(r)}}var Lr="[object Map]";function Mr(r){return B(r)&&j(r)==Lr}var I=u&&u.isMap,Ur=I?E(I):Mr,Pr="[object Set]";function Dr(r){return B(r)&&j(r)==Pr}var h=u&&u.isSet,Gr=h?E(h):Dr,Nr=1,_r=2,Kr=4,M="[object Arguments]",Rr="[object Array]",vr="[object Boolean]",Vr="[object Date]",Wr="[object Error]",U="[object Function]",Xr="[object GeneratorFunction]",Yr="[object Map]",qr="[object Number]",P="[object Object]",Hr="[object RegExp]",Jr="[object Set]",Qr="[object String]",Zr="[object Symbol]",kr="[object WeakMap]",zr="[object ArrayBuffer]",re="[object DataView]",ee="[object Float32Array]",te="[object Float64Array]",ne="[object Int8Array]",ae="[object Int16Array]",oe="[object Int32Array]",se="[object Uint8Array]",ce="[object Uint8ClampedArray]",ie="[object Uint16Array]",fe="[object Uint32Array]",t={};t[M]=t[Rr]=t[zr]=t[re]=t[vr]=t[Vr]=t[ee]=t[te]=t[ne]=t[ae]=t[oe]=t[Yr]=t[qr]=t[P]=t[Hr]=t[Jr]=t[Qr]=t[Zr]=t[se]=t[ce]=t[ie]=t[fe]=!0;t[Wr]=t[U]=t[kr]=!1;function l(r,e,n,o,g,s){var a,b=e&Nr,y=e&_r,D=e&Kr;if(n&&(a=g?n(r,o,g,s):n(r)),a!==void 0)return a;if(!V(r))return r;var A=W(r);if(A){if(a=cr(r),!b)return J(r,a)}else{var f=j(r),d=f==U||f==Xr;if(K(r))return H(r,b);if(f==P||f==M||d&&!g){if(a=y||d?{}:Q(r),!b)return y?nr(r,rr(a,r)):er(r,z(a,r))}else{if(!t[f])return g?r:{};a=xr(r,f,b)}}s||(s=new R);var m=s.get(r);if(m)return m;s.set(r,a),Gr(r)?r.forEach(function(c){a.add(l(c,e,n,c,r,s))}):Ur(r)&&r.forEach(function(c,i){a.set(i,l(c,e,n,i,r,s))});var G=D?y?ar:v:y?p:F,S=A?void 0:G(r);return k(S||r,function(c,i){S&&(i=c,c=r[i]),X(a,i,l(c,e,n,i,r,s))}),a}export{l as b,ar as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{S as E,k as O}from"./_Uint8Array-N0T_55nr.js";import{b as A}from"./isEqual-BGDCZ_eB.js";import{aX as P,bI as c,bJ as m,bK as b,bL as y,c as M}from"./index-K-A1x_Lb.js";import{h as _,i as g}from"./index-DnslJSug.js";var I=1,L=2;function C(n,r,e,t){var i=e.length,u=i;if(n==null)return!u;for(n=Object(n);i--;){var f=e[i];if(f[2]?f[1]!==n[f[0]]:!(f[0]in n))return!1}for(;++i<u;){f=e[i];var s=f[0],o=n[s],h=f[1];if(f[2]){if(o===void 0&&!(s in n))return!1}else{var l=new E,a;if(!(a===void 0?A(h,o,I|L,t,l):a))return!1}}return!0}function p(n){return n===n&&!P(n)}function d(n){for(var r=O(n),e=r.length;e--;){var t=r[e],i=n[t];r[e]=[t,i,p(i)]}return r}function R(n,r){return function(e){return e==null?!1:e[n]===r&&(r!==void 0||n in Object(e))}}function D(n){var r=d(n);return r.length==1&&r[0][2]?R(r[0][0],r[0][1]):function(e){return e===n||C(e,n,r)}}var G=1,w=2;function F(n,r){return c(n)&&p(r)?R(m(n),r):function(e){var t=b(e,n);return t===void 0&&t===r?_(e,n):A(r,t,G|w)}}function S(n){return function(r){return r?.[n]}}function K(n){return function(r){return y(r,n)}}function x(n){return c(n)?S(m(n)):K(n)}function q(n){return typeof n=="function"?n:n==null?g:typeof n=="object"?M(n)?F(n[0],n[1]):D(n):x(n)}export{q as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aX as p,bM as y,bN as O,aY as m}from"./index-K-A1x_Lb.js";import{i as v,a as x,b,o as w,U as a}from"./_Uint8Array-N0T_55nr.js";var i=Object.create,P=(function(){function e(){}return function(r){if(!p(r))return{};if(i)return i(r);e.prototype=r;var n=new e;return e.prototype=void 0,n}})();function M(e,r){var n=-1,t=e.length;for(r||(r=Array(t));++n<t;)r[n]=e[n];return r}function N(e,r,n,t){var g=!n;n||(n={});for(var u=-1,h=r.length;++u<h;){var s=r[u],o=void 0;o===void 0&&(o=e[s]),g?y(n,s,o):O(n,s,o)}return n}function A(e){var r=[];if(e!=null)for(var n in Object(e))r.push(n);return r}var U=Object.prototype,C=U.hasOwnProperty;function I(e){if(!p(e))return A(e);var r=v(e),n=[];for(var t in e)t=="constructor"&&(r||!C.call(e,t))||n.push(t);return n}function z(e){return x(e)?b(e,!0):I(e)}var K=w(Object.getPrototypeOf,Object),d=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f=d&&typeof module=="object"&&module&&!module.nodeType&&module,L=f&&f.exports===d,c=L?m.Buffer:void 0,l=c?c.allocUnsafe:void 0;function X(e,r){if(r)return e.slice();var n=e.length,t=l?l(n):new e.constructor(n);return e.copy(t),t}function T(e){var r=new e.constructor(e.byteLength);return new a(r).set(new a(e)),r}function Y(e,r){var n=r?T(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function k(e){return typeof e.constructor=="function"&&!v(e)?P(K(e)):{}}export{T as a,Y as b,N as c,X as d,M as e,K as g,k as i,z as k};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const n=o`<svg
|
|
2
2
|
width="14"
|
|
3
3
|
height="14"
|
|
4
4
|
viewBox="0 0 14 14"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const c=o`<svg fill="none" viewBox="0 0 24 24">
|
|
2
2
|
<path
|
|
3
3
|
style="fill: var(--wui-color-accent-100);"
|
|
4
4
|
d="M10.2 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM10.2 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0Z"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as t}from"./index-
|
|
1
|
+
import{w as t}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const f=t`
|
|
2
2
|
<svg width="36" height="36">
|
|
3
3
|
<path
|
|
4
4
|
d="M28.724 0H7.271A7.269 7.269 0 0 0 0 7.272v21.46A7.268 7.268 0 0 0 7.271 36H28.73A7.272 7.272 0 0 0 36 28.728V7.272A7.275 7.275 0 0 0 28.724 0Z"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as i}from"./index-
|
|
1
|
+
import{w as i}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const g=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="#000" />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 14 15">
|
|
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-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const L=o`<svg
|
|
2
2
|
fill="none"
|
|
3
3
|
viewBox="0 0 21 20"
|
|
4
4
|
>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 14 15">
|
|
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-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 14 15">
|
|
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-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 14 15">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as a,H as e,E as s,q as r}from"./vendor-vue-C5BV5QrY.js";import{D as i}from"./index-
|
|
1
|
+
import{d as a,H as e,E as s,q as r}from"./vendor-vue-C5BV5QrY.js";import{D as i}from"./index-K-A1x_Lb.js";const l=a({props:{collapsed:{type:Boolean,default:!1}},emits:["click"],computed:{siteTitle(){return this.$store.state.site?.title||"AceData"},url(){const t=this.$store.state.site,o="https://platform.acedata.cloud/favicon.ico";return this.collapsed?t?.favicon||t?.logo||o:t?.logo||t?.favicon||o}}}),A=["aria-label"],c=["src","alt"];function d(t,o,n,u,f,m){return r(),e("button",{type:"button",class:"brand-logo","aria-label":t.siteTitle,onClick:o[0]||(o[0]=V=>t.$emit("click"))},[s("img",{src:t.url,class:"brand-logo__image",alt:t.siteTitle},null,8,c)],8,A)}const p=i(l,[["render",d],["__scopeId","data-v-fefbbe27"]]),x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAMAAAAKE/YAAAAAMFBMVEX///+3t7f4+Pi8vLzAwMDExMTS0tLIyMjk5OTz8/PY2NjOzs7u7u7d3d3p6enh4eFVKkJDAAAIfUlEQVR4nNVd15akOAylyRRQ9f9/O02BZJtgBQszfR/2zPahsJCvguVUFJYop35ux66pq6r6+fn9T910bTv3U2najBXK9zw2PxE07fz+n0Qf+raOyetL3g9PS7vgzRUYULfvZyXuR5nAgLF/SuK3UuJN7gf0PbyErDiieuU1zKmLyFJ3Y9u+vmh//V9dXT/b5VN3f+HbFq82nGivHH6999Vv8rC7P+NFzfBlF56xvl/sEy1Xbc8mZ9m3R7bcrO0jl+vXJH7J0YY78UvYKNuDjpWNTQd9tzd5ks9ePUm92u877WMlp4dhR+Y2OYkYdh3XmKclc9iATVwoXyFLZouXIobuBpEXlK+QcYbK7gOF2NpMaN2Vmfdr71LGirAbW5N3lr4F1rckC0GQbQw6cqrM1XACvzOr5EjT+2q+L24Vk6/sRGL7no6t5un9eQE+7JG4r+wk3+e9iGfXwzyeZHLjzDGFt0fEBB564ymOeRwzCg8dHaZ9kx8NZGZ8+UyOv0bSW3o9q5Tac5+0luajjGfqpsT2krIuTeaKZGQf4UUIKpx6xFbo2nGD9HSlpJZAGfSQILVjV02Z4CQsJhD2UdbcJ/dwyRfpNvozwaLo4q/0nMhLIrMThJSZZ4EhiJd6Ugti43SvzCTlPKnZmUNZMV+u4cYKwp85XlfcTBi/s6Z+MZ2LxADhGZzUDU9m5zjIr0woQhLxasAHWS7E9TgZU/Z1EBEIjbzxQYYxOudOxu73qTBcUGEaIzqD1hi96W6JTgzRoDSI/UhmITP7yUPFSYqaagD1R4wJkP8VnT8nTwVQqnauN06QjvtCvYt2IL3Zm/Uk9jjDz0RmMLggwx3SOuIUSniGpJv3bAJo1SAFr9mKH8aI+LqkI0RFtoIh9/L76Cc8GLCDoxxSjyAHgxxFYSEzJ18Ggly4YHQHnCQ2LRoCGINXQirim0JYUJpDatf/p24PP4mVwSblSg6MEhDGuzNVg6J5o8nEvAPAGZiAfk5MDRXNqxcmx/AVHPMprx8G1TEHwOzqTByseTgoDRxYDT6akSh9YSMzr6aLidOeTGCj3EqDkdC8GU9Q9c6voYlyJzxy0sOxOnRs8C3sQpSR92DOO4EDCXkAzoA935bPTy8AIgTBCIIyvyZsExF/uM2Byfk9A7VafuksfdyygFmJcc35NZ7tT5xUYMNwJYcI/FouGP7xOyT1YBOh+aVcsCHHBWCHZHLTxOfxF6ZA8HP82P7ASv4BJj5PMNMO/g3+H9ghqrtnGm4hIJLAd7byVxg5asGCA+AH2N2meYHvKPxZmQRIGtyMaOMweC/ZXJJJdJE0CF27Bm0oK8kWLKSWHxeILB8s7xN8gmxFi0VIFAkNqd5KiI3S7JBqJ7Ssycb70vAL2LAofMiE9hkBrQvX4OTXNLS4eGpwA8KlaxaGKHOy4OWWcSVoXSZz9ohYYLaxpB8bv4V2aFGeFiYOvqTb74V2mHkQ8IXjBKhMuKrMJIoLOQlmVGIiIlyPmXdguwJ6d8J/CZ1H0m4iB1Gr4D569HjCZalPaNoxeWtd5jKf4TRkpy30syh3KbLXPVZsWdIIQUK6dO8Jl+dkbUB6GfRranwIWx3hUzeVi5fRmggtDA6b/dWO3ELkLiF4QldqoXOPxhe8QOjt57LUpXhguGUhtEUFUtq9EBzUQluQWrphIV1oA1JLm0R6VFqh0z21eH30XmjFdofbF14dgC5PG1zS0w9pjuYFF2UYL9KHiXJGYhhXJkwLEk1RvrEMZVWmpgvSVC1XtEtNlYOAL1JYrdESOg3lcGtFQsVGs+Nu++msHdiu0BNEQQ5vYKssIWxQx3JNc1AqnbTFmg3qSoKmYz0mb//S7QDU1k5Vdu+VSnUFyA3aBES1ca9zkqb4PPVQUUVG74OVRfUNSqencXh+UR1sUnfqgy6+qLrVn75QThRt0I26VG0FU4dbRNfE1ULpqVVBIZBTN/kJ0PBDxY6QEbpp5v27JFCxI5xm1k3oIxT+Q+Wowgl93dIJhHzqVrW5erd0QrdIxUE8wFXxcL9IBXSlSRcLuSnq3NR+OZBq4ZWD1FXr8sn9wivVEjcPwtVuKtd6XOKmWUzoQeY/dCczHBcTKpZtnr2QB104gN70ukm+QNaHzBJV7DhbIAt/040ERMMXnbUDAwOtgvZVsUo0KaCi9Omib/SCqleKhE7KSsNIIt7IkFXoi40MSBrNO28X+ooHOKxWqPpuoVHRh7FDo3+pyHsorOZyG5R0w5kPUZmJffYFIrLhTLi1DzFJT0X+aWaZ3JGtfcJNlCvesTOuIpAcLBrdRIms5g4s+jFlM0PFPYY6ul1VtDG4PJzwqQHnGGpKKlA1fVKN0VqxX31Tx1DjOTBXaRFvs3vaWdkniPIEF3hdGgEmxpev0VpeHNf8ZuiROMBhet0hMch9qkogR2wXbeSojHI22jd5ifp1cLbY9dHB8NWhJCbOgkYzBxpFzxH3wu74F++ro8ckWsM7a5l7/IuzVnAxJX1MojGQ3shHslKCPPimY+b+jYfmU0qONPIOj5rzK9lDi33OyQttVpEaglXXMFoabQVmqny3QxaBW4opM3o4CtwDJazWGZtAUMi12ONkAtGMrNGS/1QI5yb+CxciLmc8EwoDKEokefK6CBKPRf47Mj/MEIujvv+MzA/6kKQLCR7y18q5Y8AjiWryrR1T9uwp/RqJ3YUdGWBxYUeR2RzN7gThn6ifCrtLaA7X/dwG4xtusvg+24uVihzKtr/Cqrh7OFPdcVlYcXItmyHS7x67ROwyxxTceAHegqsLHVOQ4WLH00sdE5DhUsev2IbaznR95gKrCnDGi0oXDOmTRrmvhP3i712+u+LvXXO84u9dKL2Cf3V33X7+i6u7N/y5S9IdvOvoF0G/19GP9tfR/wPQ21eEI8clLwAAAABJRU5ErkJggg==";export{p as L,x as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const v=o`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="12"
|
|
4
4
|
height="13"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R as U,ae as Je,I as K,L as D,af as dt,Y as vi,ag as on,J as bn,V as Qt,T as Qe,N as ni,ah as Oe,w as je,G as mn,$ as vn,F as yi}from"./index-
|
|
1
|
+
import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R as U,ae as Je,I as K,L as D,af as dt,Y as vi,ag as on,J as bn,V as Qt,T as Qe,N as ni,ah as Oe,w as je,G as mn,$ as vn,F as yi}from"./index-DAxGqvuJ.js";import{n as u,c as S,o as E,r as P,U as de,e as xi,f as Ci,a as Ri}from"./index-BMeAE24J.js";import{g as $i}from"./vendor-dayjs-Cvgzdobq.js";import{e8 as Ii}from"./index-K-A1x_Lb.js";import"./index.browser.esm-Bpaw2clE.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";const Ei=k`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
background-color: var(--wui-color-gray-glass-002);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const n=o`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={list:"Custom API Keys",addCredential:"Add API Key",editCredential:"Edit API Key",deleteCredential:"Delete API Key"},t={list:"Use your own provider API keys (OpenAI, Anthropic, Google, xAI, DeepSeek, Moonshot, Zhipu) instead of the platform's pooled accounts. When configured, chat traffic for the matching model goes directly from this app to the provider with your key — no platform credit is consumed. Tools, references, artifacts, cloud history and other features keep working unchanged."},o={provider:"Provider",label:"Label",labelPlaceholder:'e.g. "My work account" (optional)',apiKey:"API Key",apiKeyPlaceholder:"sk-...",apiKeyEditPlaceholder:"Leave empty to keep the current key",baseUrl:"Custom Base URL",baseUrlPlaceholder:"Leave empty for the provider's default",isActive:"Active",lastUsedAt:"Last used",createdAt:"Created"},a={active:"Active",inactive:"Inactive",never:"Never",default:"Default"},s={add:"Add API Key",edit:"Edit",test:"Test",delete:"Delete",save:"Save",cancel:"Cancel"},r={deleteConfirm:"Delete this API key? Future chat requests for {provider} models will fall back to the platform's default upstream.",deleteSuccess:"API key deleted.",saveSuccess:"API key saved.",testSuccess:"Connection successful.",testFailed:"Test failed: {message}",loadFailed:"Failed to load credentials.",saveFailed:"Failed to save credential.",empty:'No custom API keys configured. Click "Add API Key" to use your own provider account for chat.',advancedToggle:"Show advanced options",baseUrlHelp:"Optional. Override the default endpoint to route through OpenRouter, a self-hosted proxy, or your own gateway. Must be HTTPS and not point at any private/loopback address."},d={active:"Using your {provider} key",tooltip:"This conversation uses your own {provider} API key. Cost is billed to your {provider} account, not your platform balance."},l={title:e,description:t,field:o,value:a,button:s,message:r,badge:d};export{d as badge,s as button,l as default,t as description,o as field,r as message,e as title,a as value};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={list:"自定义 API Key",addCredential:"添加 API Key",editCredential:"编辑 API Key",deleteCredential:"删除 API Key"},t={list:"使用你自己的服务商 API Key(OpenAI、Anthropic、Google、xAI、DeepSeek、Moonshot、智谱)代替平台账户池。配置后,对应模型的对话请求会直接以你的 Key 调用上游服务商,不消耗平台 Credit;工具调用、引用、工件、云端历史等其他功能照常工作。"},a={provider:"服务商",label:"备注",labelPlaceholder:'如 "我的工作号"(可选)',apiKey:"API Key",apiKeyPlaceholder:"sk-...",apiKeyEditPlaceholder:"留空表示保持当前 Key 不变",baseUrl:"自定义 Base URL",baseUrlPlaceholder:"留空使用服务商默认地址",isActive:"启用",lastUsedAt:"上次使用",createdAt:"添加时间"},l={active:"启用中",inactive:"未启用",never:"从未使用",default:"默认"},d={add:"添加 API Key",edit:"编辑",test:"测试",delete:"删除",save:"保存",cancel:"取消"},s={deleteConfirm:"确认删除这个 API Key?后续 {provider} 模型的对话将回落到平台默认上游。",deleteSuccess:"API Key 已删除。",saveSuccess:"API Key 已保存。",testSuccess:"连接正常。",testFailed:"测试失败:{message}",loadFailed:"凭据加载失败。",saveFailed:"保存凭据失败。",empty:'尚未配置自定义 API Key。点击"添加 API Key"以使用你自己的服务商账户。',advancedToggle:"显示高级选项",baseUrlHelp:"可选。自定义上游地址(用于 OpenRouter、自建反代、企业网关等)。仅允许 HTTPS,不能指向内网/回环地址。"},i={active:"使用你的 {provider} Key",tooltip:"本次对话使用你自己的 {provider} API Key,费用由 {provider} 账户结算,不扣减平台余额。"},o={title:e,description:t,field:a,value:l,button:d,message:s,badge:i};export{i as badge,d as button,o as default,t as description,a as field,s as message,e as title,l as value};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./vendor-axios-B8_nURbH.js";import{B as r}from"./index-K-A1x_Lb.js";const s="/aichat2/credentials";function n(o){return{"content-type":"application/json",authorization:`Bearer ${o}`,"x-record-exempt":"true"}}class c{async providers(e){return await a.post(s,{action:"providers"},{headers:n(e.token),baseURL:r})}async list(e){return await a.post(s,{action:"list"},{headers:n(e.token),baseURL:r})}async create(e,t){return await a.post(s,{action:"create",...e},{headers:n(t.token),baseURL:r})}async update(e,t,i){return await a.post(s,{action:"update",id:e,...t},{headers:n(i.token),baseURL:r})}async delete(e,t){return await a.post(s,{action:"delete",id:e},{headers:n(t.token),baseURL:r})}async test(e,t){return await a.post(s,{action:"test",id:e},{headers:n(t.token),baseURL:r})}}const u=new c;export{u as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as C}from"./index-
|
|
1
|
+
import{w as C}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const v=C`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="12"
|
|
4
4
|
height="13"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a}from"./index-
|
|
1
|
+
import{c as a}from"./index-K-A1x_Lb.js";function e(){if(!arguments.length)return[];var r=arguments[0];return a(r)?r:[r]}export{e as c};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as E}from"./vendor-axios-B8_nURbH.js";import{E as R}from"./errorCode-Cqj9Td_Z.js";import{B as c}from"./index-
|
|
1
|
+
import{a as E}from"./vendor-axios-B8_nURbH.js";import{E as R}from"./errorCode-Cqj9Td_Z.js";import{B as c}from"./index-K-A1x_Lb.js";const v=500;var b=(a=>(a.PENDING="pending",a.ANSWERING="answering",a.FINISHED="finished",a.FAILED="failed",a))(b||{}),d=(a=>(a.CHAT="chat",a.RETRIEVE="retrieve",a.UPDATE="update",a.DELETE="delete",a.RETRIEVE_BATCH="retrieve_batch",a))(d||{});class w extends Error{status;code;detail;extraData;constructor(e,t,p,n){super(),this.status=e,this.code=t,this.detail=p,this.extraData=n}get message(){return`${this.code} - ${this.detail}`}}class A extends w{constructor(e,t){super(v,R,e,t)}}class O{async chatConversation(e,t){return new Promise(async(p,n)=>{try{const o=await fetch(`${c}/aichat2/conversations`,{method:"POST",headers:{authorization:`Bearer ${t.token}`,"Content-Type":"application/json",Accept:"text/event-stream"},signal:t.signal,body:JSON.stringify(e)});if(!o.ok){const m=await o.text(),h=o.status,i=m?JSON.parse(m):{},l=i?.error?.message||"An error occurred",s=i?.error?.code||R;console.error("Error message:",l,"Error code:",s),n(new w(h,s,l));return}if(!o.body)throw new A("ReadableStream not supported.");const y=o.body.getReader(),x=new TextDecoder;let u="",g,_="";for(;;){const{done:m,value:h}=await y.read();if(m)break;_+=x.decode(h,{stream:!0});const i=_.split(`
|
|
2
2
|
`);_=i.pop()||"";for(const l of i){const s=l.trim();if(s&&s.startsWith("data: ")){const f=s.substring(6).trim();if(f==="[DONE]"){p({answer:u,delta_answer:""});return}try{const r=JSON.parse(f);if(r.delta_answer&&(u+=r.delta_answer),r.id&&(g=r.id),r.type==="error"){const T=typeof r.message=="string"&&r.message.trim()?r.message.trim():"An error occurred";await y.cancel().catch(()=>{}),n(new w(500,R,T));return}t?.stream&&t.stream({answer:u,delta_answer:r.delta_answer||"",id:g,type:r.type,message:r.message,tool_id:r.tool_id,tool_name:r.tool_name,tool_display_name:r.tool_display_name,input:r.input,output:r.output,is_error:r.is_error,duration_ms:r.duration_ms,content:r.content,artifact:r.artifact,card:r.card})}catch(r){console.error("JSON parse error:",r)}}}}p({answer:u,delta_answer:""})}catch(o){console.error("Error:",o),n(o)}})}async getConversations(e,t){return await E.post("/aichat2/conversations",{action:d.RETRIEVE_BATCH,...e.ids?{ids:e.ids}:{},...e.applicationId?{application_id:e.applicationId}:{},...e.userId?{user_id:e.userId}:{},...e.modelGroup?{model_group:e.modelGroup}:{},...e.model?{model:e.model}:{},...e.offset!==void 0?{offset:e.offset}:{},...e.limit!==void 0?{limit:e.limit}:{}},{headers:{"content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:c})}async getConversation(e,t){return await E.post("/aichat2/conversations",{action:d.RETRIEVE,id:e},{headers:{"content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:c})}async deleteConversation(e,t){return await E.post("/aichat2/conversations",{action:d.DELETE,id:e},{headers:{"content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:c})}async updateConversation(e,t){return await E.post("/aichat2/conversations",{action:d.UPDATE,...e},{headers:{"content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:c,signal:t.signal})}}const N=new O;export{w as B,b as I,N as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const C=o`<svg
|
|
2
2
|
width="28"
|
|
3
3
|
height="28"
|
|
4
4
|
viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const v=o`<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 o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
|
|
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-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
|
|
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-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
|
|
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-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
|
|
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-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const n=t`<svg width="36" height="36" fill="none">
|
|
2
2
|
<path
|
|
3
3
|
fill="#fff"
|
|
4
4
|
fill-opacity=".05"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const v=o`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
|
|
2
2
|
<path
|
|
3
3
|
fill-rule="evenodd"
|
|
4
4
|
clip-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
|
|
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-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const v=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-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"button.suggested":{message:"Suggested",description:"Button text indicating a suggested action"},"menu.orderList":{message:"Order List",description:"Text in the website menu referring to the list of orders for services purchased by the user"},"menu.applicationList":{message:"Application List",description:"Text in the website menu referring to the list of applications for services used by the user"},"menu.userProfile":{message:"User Profile",description:"Text in the website menu referring to the user's personal profile"},"menu.idVerify":{message:"Identity Verification",description:"Text in the website menu referring to the verification of the user's identity"},"menu.manageApplication":{message:"Application Management",description:"Text in the website menu referring to the management of user applications"},"menu.distributionIndex":{message:"Referral Earnings",description:"Text in the website menu referring to the earnings from user referrals"},"menu.developerPlatform":{message:"Developer Platform",description:"Text in the website menu referring to the platform for developers"},"menu.usageList":{message:"Usage History",description:"Text in the website menu referring to the history of API service usage by the user"},"menu.byokList":{message:"Custom API Keys",description:"Text in the website menu referring to the list of user-supplied upstream provider API keys (BYOK)"},"menu.credentialIndex":{message:"Credentials",description:"Text in the website menu referring to the credentials for accessing the API"},"menu.manageOrder":{message:"Order Management",description:"Text in the website menu referring to the management of user orders, which are the orders for services purchased by the user"},"menu.manageDistributionStatus":{message:"Distribution Management",description:"Text in the website menu referring to the management of user distribution status, involving earnings from user referrals"},"message.benefit1":{message:"Dedicated Customer Service Support",description:"Text on the homepage indicating that users can receive support from dedicated customer service"},"message.benefit2":{message:"Priority Access to New Features",description:"Text on the homepage indicating that users can have priority access to new features"},"message.buyExtra":{message:"Purchase Now",description:"Text on the homepage indicating that users can purchase additional credits"},"message.subscribe":{message:"Subscribe Now",description:"Text on the homepage indicating that users can subscribe to a membership"},"message.doNotWantSubscribe":{message:"Don't want to subscribe to a membership? You can also try purchasing credits separately.",description:"Text on the homepage indicating that users do not wish to subscribe to a membership"},"message.doNotWantExtra":{message:"Don't want to purchase credits? You can also try subscribing to a membership.",description:"Text on the homepage indicating that users do not wish to purchase credits"},"message.applicationNotFound":{message:"Application Not Found",description:"Message displayed to the user when the application does not exist."},"subscription.title":{message:"Subscribe to Membership for More Benefits",description:"Message displayed to the user when subscribing to the service."},"subscription.3days":{message:"3-Day Trial Membership",description:"Membership type indicating a 3-day trial membership"},"subscription.3days.description":{message:"Trial membership suitable for short-term use.",description:"Description of the membership type suitable for short-term use"},"subscription.weekly":{message:"Weekly Membership",description:"Membership type indicating that the user has purchased a weekly membership"},"subscription.monthly":{message:"Monthly Membership",description:"Membership type indicating that the user has purchased a monthly membership"},"subscription.yearly":{message:"Yearly Membership",description:"Membership type indicating that the user has purchased a yearly membership"},"subscription.weekly.description":{message:"Trial weekly membership suitable for short-term use.",description:"Description of the membership type indicating a weekly membership"},"subscription.monthly.description":{message:"Flexible monthly membership suitable for long-term use.",description:"Description of the membership type indicating a monthly membership"},"subscription.yearly.description":{message:"Value yearly membership, the most cost-effective choice.",description:"Description of the membership type indicating a yearly membership"},"subscription.introduction":{message:"Subscribe to unlock all AI services on the site.",description:"Introduction text for the membership"},"menu.coinIndex":{message:"Cryptocurrency Integration",description:"Text in the website menu referring to the integration of cryptocurrency"},"menu.platformTokenIndex":{message:"Platform Token",description:"Text in the website menu referring to the token used to access the Ace Data Cloud platform"},"menu.publishIndex":{message:"Publishing Center",description:"Text in the website menu, the publishing center refers to the center where users publish content."},"menu.platformRankIndex":{message:"Platform Ranking",description:"Text in the website menu, the platform ranking refers to the earnings leaderboard recommended by users."},"menu.manageOrderDiscount":{message:"Discount Management",description:"Text in the website menu, an order discount management entry visible only to administrators."},"menu.manageUser":{message:"User Management",description:"Text in the website menu, a user management entry visible only to administrators."},"menu.revenueAnalysis":{message:"Revenue Analysis",description:"Text in the website menu, a revenue analysis entry visible only to administrators."}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"button.suggested":{message:"推荐",description:"按钮文本,推荐表示推荐的按钮"},"menu.orderList":{message:"订单列表",description:"网站菜单中的文本,订单指的是用户购买服务的订单"},"menu.applicationList":{message:"申请列表",description:"网站菜单中的文本,申请指的是用户使用服务的申请"},"menu.userProfile":{message:"用户资料",description:"网站菜单中的文本,用户资料指的是用户的个人资料"},"menu.idVerify":{message:"身份验证",description:"网站菜单中的文本,身份验证指的是用户身份的验证"},"menu.manageApplication":{message:"申请管理",description:"网站菜单中的文本,申请管理指的是对用户申请的管理"},"menu.distributionIndex":{message:"推荐收益",description:"网站菜单中的文本,推荐收益指的是用户推荐的收益"},"menu.developerPlatform":{message:"开发者平台",description:"网站菜单中的文本,开发者平台表示开发者的平台"},"menu.byokList":{message:"自定义 API Key",description:"侧栏菜单项:用户自带的上游服务商 API Key(BYOK)列表"},"menu.usageList":{message:"使用历史",description:"网站菜单中的文本,使用历史指的是用户对API服务的使用历史"},"menu.credentialIndex":{message:"凭证",description:"网站菜单中的文本,凭证指的是访问API的凭证"},"menu.manageOrder":{message:"订单管理",description:"网站菜单中的文本,订单管理指的是对用户订单的管理,订单指的是用户购买服务的订单"},"menu.manageDistributionStatus":{message:"分发管理",description:"网站菜单中的文本,分发管理指的是对用户分发状态的管理,涉及用户推荐的收益"},"message.benefit1":{message:"专属客服答疑支持",description:"网站首页的文本,专属客服答疑支持表示用户可以获得专属客服的答疑支持"},"message.benefit2":{message:"优先体验新功能",description:"网站首页的文本,优先体验新功能表示用户可以优先体验新功能"},"message.buyExtra":{message:"去购买",description:"网站首页的文本,购买额度表示用户可以购买额度"},"message.subscribe":{message:"去订阅",description:"网站首页的文本,订阅会员表示用户可以订阅会员"},"message.doNotWantSubscribe":{message:"不想订阅周期会员?您也可以尝试单独购买额度。",description:"网站首页的文本,不想订阅表示用户不想订阅会员"},"message.doNotWantExtra":{message:"不想购买额度?您也可以尝试订阅周期会员。",description:"网站首页的文本,不想购买额度表示用户不想购买额度"},"message.applicationNotFound":{message:"申请不存在",description:"当申请不存在时向用户显示的消息。"},"subscription.title":{message:"订阅会员,享受更多权益",description:"当用户订阅服务时向用户显示的消息。"},"subscription.3days":{message:"3天体验会员",description:"会员类型,3天体验会员"},"subscription.3days.description":{message:"尝鲜会员,适合短期使用。",description:"会员类型,适合短期使用"},"subscription.weekly":{message:"周会员",description:"会员类型,周会员表示用户购买的会员类型为周会员"},"subscription.monthly":{message:"月会员",description:"会员类型,月会员表示用户购买的会员类型为月会员"},"subscription.yearly":{message:"年会员",description:"会员类型,年会员表示用户购买的会员类型为年会员"},"subscription.weekly.description":{message:"尝鲜周会员,适合短期使用。",description:"会员类型的描述,周会员表示用户购买的会员类型为周会员"},"subscription.monthly.description":{message:"灵活月会员,适合长期使用。",description:"会员类型的描述,月会员表示用户购买的会员类型为月会员"},"subscription.yearly.description":{message:"超值年会员,最划算的选择。",description:"会员类型的描述,年会员表示用户购买的会员类型为年会员"},"subscription.introduction":{message:"订阅会员,解锁全站所有 AI 服务。",description:"会员介绍表示会员的介绍"},"menu.coinIndex":{message:"加密货币集成",description:"网站菜单中的文本,指的是加密货币的集成"},"menu.platformTokenIndex":{message:"平台令牌",description:"网站菜单中的文本,平台令牌指的是用于访问Ace Data Cloud平台的令牌"},"menu.publishIndex":{message:"发布中心",description:"网站菜单中的文本,发布中心指的是用户发布内容的中心"},"menu.platformRankIndex":{message:"平台排行",description:"网站菜单中的文本,平台排行指的是用户推荐的收益排行榜"},"menu.manageOrderDiscount":{message:"折扣管理",description:"网站菜单中的文本,仅管理员可见的订单折扣管理入口"},"menu.manageUser":{message:"用户管理",description:"网站菜单中的文本,仅管理员可见的用户管理入口"},"menu.revenueAnalysis":{message:"收益分析",description:"网站菜单中的文本,仅管理员可见的收益分析入口"}};export{e as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as C}from"./index-
|
|
1
|
+
import{w as C}from"./index-DAxGqvuJ.js";import"./index.browser.esm-Bpaw2clE.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-K-A1x_Lb.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const w=C`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="16"
|
|
4
4
|
height="16"
|