@acedatacloud/nexior 3.72.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-BdkuzIHM.js → Auth-DXb7JbvM.js} +1 -1
- package/dist/assets/{BotPlaceholder-DwjA2X5o.js → BotPlaceholder-DxNfSpAj.js} +1 -1
- package/dist/assets/{Callback-CVuzeeJC.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-ClDpG-vO.js → Consumption-BhtOulkD.js} +1 -1
- package/dist/assets/{Conversation-BXWsR8yK.css → Conversation-BH0JNtVt.css} +1 -1
- package/dist/assets/{Conversation-CDQp3dwl.js → Conversation-D2FglBjy.js} +11 -11
- package/dist/assets/{CopyToClipboard-ukgGSz9P.js → CopyToClipboard-B8fD1MOY.js} +1 -1
- package/dist/assets/{Detail-C56tmkrN.js → Detail-cmmQHonZ.js} +2 -2
- package/dist/assets/{EditArray-CQPRQB13.js → EditArray-0WTvdiOn.js} +1 -1
- package/dist/assets/{Extra-DHIyvRP3.js → Extra-YvpVYtrs.js} +1 -1
- package/dist/assets/{FilePreview-C5lhvsQ_.js → FilePreview-BfSKchDA.js} +1 -1
- package/dist/assets/{History-BP2HZXDb.js → History-BrUbtfBB.js} +1 -1
- package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-cuGZPyOZ.js → IconPark.vue_vue_type_script_setup_true_lang-ByG746jv.js} +1 -1
- package/dist/assets/{ImagePreview-Cb8JiRgS.js → ImagePreview-1Uv8U161.js} +1 -1
- package/dist/assets/{ImageWrapper-u3FDGD1p.js → ImageWrapper-DiCmcoV5.js} +1 -1
- package/dist/assets/{Index-BWZxfjxV.js → Index-5VtzMeim.js} +1 -1
- package/dist/assets/{Index-DBfquiJV.js → Index-5XM49P0r.js} +1 -1
- package/dist/assets/{Index-C4SnOMFi.js → Index-B1Jhd8EX.js} +1 -1
- package/dist/assets/{Index-DSudVw-1.js → Index-B2dhl3tJ.js} +1 -1
- package/dist/assets/{Index-C41aXiSU.js → Index-B80K_et3.js} +1 -1
- package/dist/assets/{Index-D6qCjiTO.js → Index-B9-EfF8Y.js} +1 -1
- package/dist/assets/{Index-DvG__cXk.js → Index-BI-6kASG.js} +1 -1
- package/dist/assets/{Index-D-LmBQN6.js → Index-BcMHaHf3.js} +1 -1
- package/dist/assets/{Index-BsUGgsg3.js → Index-BdGTgVpP.js} +1 -1
- package/dist/assets/{Index-Bo6yREGq.js → Index-CKM37J9L.js} +1 -1
- package/dist/assets/{Index-C5VeG1Lp.js → Index-CMhKHlAt.js} +1 -1
- package/dist/assets/{Index-DFxQPHqB.js → Index-CN3uuFMX.js} +1 -1
- package/dist/assets/{Index-WBU0sclR.js → Index-CPJAVcqj.js} +1 -1
- package/dist/assets/Index-CegIxmi4.js +1 -0
- package/dist/assets/{Index-BMCQk8x6.js → Index-D98iycxc.js} +1 -1
- package/dist/assets/{Index-CWo6CkmS.js → Index-DXQgCXQC.js} +1 -1
- package/dist/assets/Index-DhyJ_fn0.js +1 -0
- package/dist/assets/{Index-DIISZQnx.js → Index-DqLi0o16.js} +1 -1
- package/dist/assets/{Index-BSDwM_Lb.js → Index-DxM0XyWP.js} +1 -1
- package/dist/assets/{Index-MGLFaXUD.js → Index-L3cPT95P.js} +1 -1
- package/dist/assets/{Index-CY8jQkM8.js → Index-VcdV800i.js} +1 -1
- package/dist/assets/{Index-Dilo1kvb.js → Index-cygunJ4I.js} +1 -1
- package/dist/assets/{Index-NkxbEAhL.js → Index-m3eDrs89.js} +1 -1
- package/dist/assets/{Index-D0je4Hb5.css → Index-ponrwc8W.css} +1 -1
- package/dist/assets/{Index-CmHIvwFw.js → Index-qLx5hZvP.js} +1 -1
- package/dist/assets/{Index-B57yWxkX.js → Index-uByP6m1A.js} +1 -1
- package/dist/assets/{Invitees-kfgj1230.js → Invitees-NgwzSow-.js} +1 -1
- package/dist/assets/{List-BxxIfwc7.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-Bx2TWIon.js → List-DH82K9Cl.js} +1 -1
- package/dist/assets/{List-B_HERD7h.js → List-DbcK-y-t.js} +1 -1
- package/dist/assets/{Main-CJHeAyfJ.js → Main-EFI4_WpY.js} +1 -1
- package/dist/assets/Navigator-BVD52E9t.js +1 -0
- package/dist/assets/{NoTasks-E8exbJKH.js → NoTasks-BlK3V8G5.js} +1 -1
- package/dist/assets/{NotFound-CBxboMya.js → NotFound-wt9jluKI.js} +1 -1
- package/dist/assets/{OAuthCallback-CTV89-EI.js → OAuthCallback-Cc2ZpW3o.js} +1 -1
- package/dist/assets/{Pagination-dKuJ_hFh.js → Pagination-BQBQ3NzG.js} +1 -1
- package/dist/assets/{ScrollList-C-Srq-7J.js → ScrollList-BOdmvFnt.js} +1 -1
- package/dist/assets/{Status-n5fqYT5p.js → Status-BK0cZidI.js} +1 -1
- package/dist/assets/{Subscribe-CMdOTK41.js → Subscribe-RJi23fjC.js} +1 -1
- package/dist/assets/{TransportWebHID-D3JlLBn7.js → TransportWebHID-CwxHJVqm.js} +1 -1
- package/dist/assets/{VideoPlayer-CXOBuLlR.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-E3XAajxL.js → add-BmCJ5AHn.js} +1 -1
- package/dist/assets/{all-wallets-BOCyNito.js → all-wallets-BMaggAVu.js} +1 -1
- package/dist/assets/{app-store-BL0PVhW4.js → app-store-BNe2QdS-.js} +1 -1
- package/dist/assets/{apple-BeIodUwt.js → apple-GSBOpXCW.js} +1 -1
- package/dist/assets/{arrow-bottom-BiHDOITa.js → arrow-bottom-DQgBaf38.js} +1 -1
- package/dist/assets/{arrow-bottom-circle-CLV4Jgl2.js → arrow-bottom-circle-Co-Cc4eP.js} +1 -1
- package/dist/assets/{arrow-left-Cv255v3T.js → arrow-left-yJhYPJiF.js} +1 -1
- package/dist/assets/{arrow-right-B4VEmn53.js → arrow-right-Bxe4K9CT.js} +1 -1
- package/dist/assets/{arrow-top-CpXTTIry.js → arrow-top-DTfjrPUA.js} +1 -1
- package/dist/assets/{avatar-Bfm4A7TY.js → avatar-BEtk-MBk.js} +1 -1
- package/dist/assets/{bank-Dn2VmTu-.js → bank-IrDNH4Wv.js} +1 -1
- package/dist/assets/{basic-BcMWR9ru.js → basic-DTuXQa-m.js} +1 -1
- package/dist/assets/{browser-CMNjfuAC.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-gqlojh6g.js → card-jXGC8YLC.js} +1 -1
- package/dist/assets/{castArray-DOHoOdv9.js → castArray-TZ33WRsR.js} +1 -1
- package/dist/assets/{chat-CxwtDN97.js → chat-CyrtdlX6.js} +1 -1
- package/dist/assets/{checkmark-YBTLqHBW.js → checkmark-BmdSZKG_.js} +1 -1
- package/dist/assets/{checkmark-bold-rxEvnEUd.js → checkmark-bold-CUGEUhjP.js} +1 -1
- package/dist/assets/{chevron-bottom-B7NZWz_1.js → chevron-bottom-BpetabXJ.js} +1 -1
- package/dist/assets/{chevron-left-DrNiPYiA.js → chevron-left-pIFYUyj2.js} +1 -1
- package/dist/assets/{chevron-right-B9g1oAQY.js → chevron-right-BoIuZKwL.js} +1 -1
- package/dist/assets/{chevron-top-DXRZpktS.js → chevron-top-BMCi4wbV.js} +1 -1
- package/dist/assets/{chrome-store-C8ULyJRG.js → chrome-store-C05bjDs6.js} +1 -1
- package/dist/assets/{clock-B-_qwBYA.js → clock-Hmcd3BlP.js} +1 -1
- package/dist/assets/{close-8bpoj0Jp.js → close-DvxRBNWj.js} +1 -1
- package/dist/assets/{coinPlaceholder-Cuedw1Op.js → coinPlaceholder-BkD_Felt.js} +1 -1
- package/dist/assets/{common-BmsHDc4c.js → common-5-TisaAy.js} +1 -1
- package/dist/assets/common-B8nLKF52.js +1 -0
- package/dist/assets/common-BBeThY0n.js +1 -0
- package/dist/assets/common-BwGKX-bt.js +1 -0
- package/dist/assets/common-C8rejBbq.js +1 -0
- package/dist/assets/common-C95EFp0H.js +1 -0
- package/dist/assets/common-CWPAasGX.js +1 -0
- package/dist/assets/common-Cs3t9bXM.js +1 -0
- package/dist/assets/common-D2N9NzIX.js +1 -0
- package/dist/assets/common-DLJ1gbwx.js +1 -0
- package/dist/assets/common-DXqQ-SQf.js +1 -0
- package/dist/assets/common-D_5n6EDp.js +1 -0
- package/dist/assets/common-DqBjV2U4.js +1 -0
- package/dist/assets/common-NMEom0DD.js +1 -0
- package/dist/assets/common-g46ow-e0.js +1 -0
- package/dist/assets/common-qDl3ASQO.js +1 -0
- package/dist/assets/common-xwxDzVLO.js +1 -0
- package/dist/assets/{compass-CyaL9O3q.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-CSAx1ijo.js → copy-CxcFJpLy.js} +1 -1
- package/dist/assets/{cursor-UtbUZZ2_.js → cursor-D_EWenm6.js} +1 -1
- package/dist/assets/{cursor-transparent-BBh5EBmc.js → cursor-transparent-CawHHO7v.js} +1 -1
- package/dist/assets/{debounce-BUsIETU9.js → debounce-BoQ8giFp.js} +1 -1
- package/dist/assets/{desktop-QNx37hFp.js → desktop-CN1hqahl.js} +1 -1
- package/dist/assets/{disconnect-C9bb7De0.js → disconnect-ByXeDEcO.js} +1 -1
- package/dist/assets/{discord-wan8GbbE.js → discord-CxFfALNx.js} +1 -1
- package/dist/assets/{distribution-lEp5Gch8.js → distribution-fie-dLT7.js} +1 -1
- package/dist/assets/{dropdown-OsM0Nuqn.js → dropdown-DGJBMTF2.js} +1 -1
- package/dist/assets/{etherscan-8_DU791Y.js → etherscan-C6-upWeC.js} +1 -1
- package/dist/assets/{exclamation-triangle-DSBEaMG1.js → exclamation-triangle-CrtAEWxS.js} +1 -1
- package/dist/assets/{extension-Zb14XSCh.js → extension-b9nXYdIG.js} +1 -1
- package/dist/assets/{external-link-DN4ybhO_.js → external-link-Clo4A5LX.js} +1 -1
- package/dist/assets/{facebook-ZT9RSgiQ.js → facebook-D7yy160o.js} +1 -1
- package/dist/assets/{farcaster-Chv7Mgpk.js → farcaster-CiBddthx.js} +1 -1
- package/dist/assets/{filters-BdwaCHQL.js → filters-BxzUxZtp.js} +1 -1
- package/dist/assets/{flux-PcsGcOlv.js → flux-DWxe5u7p.js} +1 -1
- package/dist/assets/{github-Dj3FfdHs.js → github-CGB4btsg.js} +1 -1
- package/dist/assets/{google-DDjNMclN.js → google-oncCjLcw.js} +1 -1
- package/dist/assets/{hailuo-BQqd93QT.js → hailuo-BskLrKef.js} +1 -1
- package/dist/assets/{headshots-U93jQ-rK.js → headshots-BhqzyB6i.js} +1 -1
- package/dist/assets/{help-circle-CAUMwEi0.js → help-circle-LZmjh0Gd.js} +1 -1
- package/dist/assets/{id-CXidlkKo.js → id-4SKRV957.js} +1 -1
- package/dist/assets/{image-CJasdWpe.js → image-CNjRF2jE.js} +1 -1
- package/dist/assets/{index-BzEesNbY.js → index-2_x9nXmz.js} +1 -1
- package/dist/assets/{index-CvZ0WBct.js → index-5Z-2Lig9.js} +1 -1
- package/dist/assets/{index-CyKEfMms.js → index-6uHdLaGe.js} +1 -1
- package/dist/assets/{index-BZbLpolE.js → index-B6Y0SQpt.js} +1 -1
- package/dist/assets/{index-PjJyX4LY.js → index-BDSn_6IF.js} +1 -1
- package/dist/assets/{index-BNJXtkMy.js → index-BE2t5XJ3.js} +1 -1
- package/dist/assets/{index-D0YGMLaa.js → index-BMeAE24J.js} +3 -3
- package/dist/assets/{index-EkXmx7jl.js → index-BTWEiU3z.js} +1 -1
- package/dist/assets/{index-Du8c8Lti.js → index-B_rVcvK-.js} +1 -1
- package/dist/assets/{index-C9plo9FA.js → index-BcCQp_c3.js} +1 -1
- package/dist/assets/{index-CT81WBJC.js → index-BhBthUc5.js} +1 -1
- package/dist/assets/{index-YfhrB5oC.js → index-C1Ozn3PM.js} +1 -1
- package/dist/assets/{index-9jNdh_L_.js → index-C5kqqCCT.js} +1 -1
- package/dist/assets/{index-DS1cpklm.js → index-C7yII_0D.js} +1 -1
- package/dist/assets/{index-D1zEyLS1.js → index-CAdvClb7.js} +1 -1
- package/dist/assets/{index-CWB7Mic0.js → index-CEd7Pib2.js} +1 -1
- package/dist/assets/{index-Ckkdjl4o.js → index-CFIovmns.js} +1 -1
- package/dist/assets/{index-Cfzcj396.js → index-CFb8SN9I.js} +1 -1
- package/dist/assets/{index-CKOU1IRF.js → index-CN-ebvOL.js} +1 -1
- package/dist/assets/{index-TU25xuBO.js → index-CPHCcW8_.js} +1 -1
- package/dist/assets/{index-BNeGq9PP.js → index-CQn0Y58v.js} +1 -1
- package/dist/assets/{index-Dkj_pbgy.js → index-CZFv6ihm.js} +1 -1
- package/dist/assets/{index-CdUDrz-0.js → index-CZPOGXm_.js} +1 -1
- package/dist/assets/{index-Be4k0eOz.js → index-CaFKS5U_.js} +1 -1
- package/dist/assets/{index-CxaRJ5N9.js → index-ClBZflee.js} +2 -2
- package/dist/assets/{index-ByqbLZqy.js → index-Clo7m7_9.js} +1 -1
- package/dist/assets/{index-pkXhSlco.js → index-Cn4zrk5d.js} +1 -1
- package/dist/assets/{index-1l_4Xky1.js → index-CqG7Krgt.js} +1 -1
- package/dist/assets/{index-BMp2gttm.js → index-CsFqZQ2K.js} +1 -1
- package/dist/assets/{index-BXk15Vhu.js → index-D1aezVOA.js} +1 -1
- package/dist/assets/{index-CYfhW27u.js → index-D5WX4zHQ.js} +1 -1
- package/dist/assets/{index-1hPDOqjR.js → index-DAxGqvuJ.js} +6 -6
- package/dist/assets/{index-CMxtuA2x.js → index-DB2UiVI-.js} +1 -1
- package/dist/assets/{index-DBtC5OKc.css → index-DEVAP8QN.css} +1 -1
- package/dist/assets/{index-C0242lZ2.js → index-DIE1ivW7.js} +1 -1
- package/dist/assets/{index-lqoFqELT.js → index-DK1FH5Yw.js} +1 -1
- package/dist/assets/{index-LXJ-lEG9.js → index-DRtEmACc.js} +1 -1
- package/dist/assets/{index-D2EIjiEw.js → index-DVA_w_4k.js} +1 -1
- package/dist/assets/{index-BcUxzWdb.js → index-DWy-gMk1.js} +1 -1
- package/dist/assets/{index-BSwdI6da.js → index-Ddq_rUF-.js} +1 -1
- package/dist/assets/{index-B2Qsts5i.js → index-DgVCWKRA.js} +1 -1
- package/dist/assets/{index-qW0zbSTP.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-B-V2U0Bv.js → index-DsEvRN70.js} +1 -1
- package/dist/assets/{index-DrscMfSA.js → index-DuTCoQaq.js} +1 -1
- package/dist/assets/{index-DMpm5n3O.js → index-Dy1HS0SX.js} +1 -1
- package/dist/assets/{index-CRKINsfk.js → index-E-pTxr2w.js} +1 -1
- package/dist/assets/{index-apXsdKD7.js → index-GRkPjsov.js} +1 -1
- package/dist/assets/index-K-A1x_Lb.js +569 -0
- package/dist/assets/{index-Mbnml_gj.js → index-LpK1B2b8.js} +1 -1
- package/dist/assets/{index-Cqt9uEFx.js → index-T-eH6jtW.js} +1 -1
- package/dist/assets/{index-DZMxtLlk.js → index-a0lFEc5-.js} +1 -1
- package/dist/assets/{index-BbigSgk6.js → index-cozX41Iv.js} +1 -1
- package/dist/assets/{index-DaMl81Go.js → index-i-jBnQaf.js} +1 -1
- package/dist/assets/{index-BdS5qOyQ.js → index-i_lwvGy0.js} +1 -1
- package/dist/assets/{index-C8fxfvRG.js → index-jBL3EQhc.js} +1 -1
- package/dist/assets/{index-D-SG8-o4.js → index-kYTygPjY.js} +1 -1
- package/dist/assets/{index-Fkw9jC5h.js → index-nE07xhon.js} +1 -1
- package/dist/assets/{index-r9l_zsnl.js → index-pvvyioHi.js} +1 -1
- package/dist/assets/{index-BMv64ViG.js → index-rhRl-U8z.js} +1 -1
- package/dist/assets/{index-BC-Ir3YT.js → index-s9dWwz6p.js} +1 -1
- package/dist/assets/{index.browser.esm-B8sZzfvA.js → index.browser.esm-Bpaw2clE.js} +1 -1
- package/dist/assets/{index.es-B4XrJ6Ck.js → index.es-C0kXnOm7.js} +1 -1
- package/dist/assets/{info-D0QfpcGE.js → info-CMes9e-8.js} +1 -1
- package/dist/assets/{info-circle-D-tuP-BH.js → info-circle-DV-M0-Ya.js} +1 -1
- package/dist/assets/{isEqual-C9TwAWsI.js → isEqual-BGDCZ_eB.js} +1 -1
- package/dist/assets/{isPlainObject-OPz3IU4I.js → isPlainObject-Dt9Ed1u0.js} +1 -1
- package/dist/assets/{kling-CvicUQt9.js → kling-yF08dkZ7.js} +1 -1
- package/dist/assets/{lightbulb-BHOX-ww8.js → lightbulb-BffVjjz9.js} +1 -1
- package/dist/assets/{luma-BofZMmXm.js → luma-DJ4nvDEj.js} +1 -1
- package/dist/assets/{mail-CKNVOcOG.js → mail-BZhL4xNw.js} +1 -1
- package/dist/assets/{midjourney-Daydxxax.js → midjourney-DewB0iLH.js} +1 -1
- package/dist/assets/{mobile-4iz15Q7n.js → mobile-DrS-zzTT.js} +1 -1
- package/dist/assets/{more-jLE7owF4.js → more-CTfxV_BP.js} +1 -1
- package/dist/assets/{nanobanana-RAJH5Bki.js → nanobanana-CgfIDyfU.js} +1 -1
- package/dist/assets/{network-placeholder-DPv8tMFN.js → network-placeholder-CzL1Rzdq.js} +1 -1
- package/dist/assets/{nftPlaceholder-DweCvDHy.js → nftPlaceholder-KtW0WUUl.js} +1 -1
- package/dist/assets/{off-CWmAJ_Bh.js → off-CMgdqz9A.js} +1 -1
- package/dist/assets/{openaiimage-BIYM8aTR.js → openaiimage-DYXoisUt.js} +1 -1
- package/dist/assets/{order-CB5rrsbd.js → order-Brksls1w.js} +1 -1
- package/dist/assets/{pika-B_MGEpGC.js → pika-C4eudUPH.js} +1 -1
- package/dist/assets/{pixverse-CktQiTnV.js → pixverse-BsRvoD3G.js} +1 -1
- package/dist/assets/{play-store-DJmJlrvD.js → play-store-BetLVqXI.js} +1 -1
- package/dist/assets/{plus-CfrxKz2z.js → plus-h51o-TYa.js} +1 -1
- package/dist/assets/{price-BbA-vCnj.js → price-FDYmLMb0.js} +1 -1
- package/dist/assets/{producer-BdU4yFQY.js → producer-Cap-WKOP.js} +1 -1
- package/dist/assets/{qr-code-D7yhiwWt.js → qr-code-Cv6GYLnY.js} +1 -1
- package/dist/assets/{qrart-BKb1AuHl.js → qrart-BMpfvrCE.js} +1 -1
- package/dist/assets/{recycle-horizontal-DtPDb72h.js → recycle-horizontal-N8Ba7Lga.js} +1 -1
- package/dist/assets/{refresh--_0EwAxr.js → refresh-CX_tbKi2.js} +1 -1
- package/dist/assets/{reown-logo-C37QZC73.js → reown-logo-owsGFkz6.js} +1 -1
- package/dist/assets/{search-DCvamvkJ.js → search-XEa0GHTr.js} +1 -1
- package/dist/assets/{secp256k1-DqPr1lCO.js → secp256k1-BtcoReqQ.js} +1 -1
- package/dist/assets/{secp256k1-ClnamsoT.js → secp256k1-CLrBZvjf.js} +1 -1
- package/dist/assets/{seedance-BsJB4E-e.js → seedance-HnBeU2KD.js} +1 -1
- package/dist/assets/{seedream-85MCS8No.js → seedream-Cf0AQdb6.js} +1 -1
- package/dist/assets/{send-DnVI9fa_.js → send-D4lsn-4k.js} +1 -1
- package/dist/assets/{service-Dw0Kg7uB.js → service-CElsavN1.js} +1 -1
- package/dist/assets/{solana-wallets-CUEQ9T8b.js → solana-wallets-CCeduR-e.js} +2 -2
- package/dist/assets/{solana-wallets-vue-BUCglD0v.js → solana-wallets-vue-BeoPkhek.js} +1 -1
- package/dist/assets/{solanaEmbed.esm-CIXgQqxL.js → solanaEmbed.esm-DO77ZzCH.js} +1 -1
- package/dist/assets/{sora-CITs83tx.js → sora-CowQfXh2.js} +1 -1
- package/dist/assets/{string_decoder-BQ1X-_GY.js → string_decoder-DpNonnXi.js} +1 -1
- package/dist/assets/subsite-B_rsxdbH.js +1 -0
- package/dist/assets/subsite-Bg34jKwH.js +1 -0
- package/dist/assets/subsite-BqQAdffL.js +1 -0
- package/dist/assets/subsite-BqvjhUWC.js +1 -0
- package/dist/assets/subsite-BrZzjP0L.js +1 -0
- package/dist/assets/subsite-CEmCNdr3.js +1 -0
- package/dist/assets/subsite-ClztDtip.js +1 -0
- package/dist/assets/subsite-CtoUwXuU.js +1 -0
- package/dist/assets/subsite-D1uLL9Z-.js +1 -0
- package/dist/assets/subsite-DCFrW9d3.js +1 -0
- package/dist/assets/subsite-DDmNxlCY.js +1 -0
- package/dist/assets/subsite-DHN4PCGP.js +1 -0
- package/dist/assets/subsite-DMsootoC.js +1 -0
- package/dist/assets/subsite-DYO6t5gV.js +1 -0
- package/dist/assets/subsite-DZbeE4G0.js +1 -0
- package/dist/assets/subsite-a1Voxkw4.js +1 -0
- package/dist/assets/subsite-a5yzcXHF.js +1 -0
- package/dist/assets/{suno-D8KCD8AJ.js → suno-CyiWYrWc.js} +1 -1
- package/dist/assets/{swapHorizontal-CmC3DPkd.js → swapHorizontal-CSzRXSQt.js} +1 -1
- package/dist/assets/{swapHorizontalBold-C8S_lp1L.js → swapHorizontalBold-D3EkbKsA.js} +1 -1
- package/dist/assets/{swapHorizontalMedium-rSlgXXj7.js → swapHorizontalMedium-Dkt9CPnM.js} +1 -1
- package/dist/assets/{swapHorizontalRoundedBold-BqDTlWwx.js → swapHorizontalRoundedBold-Cn318a3F.js} +1 -1
- package/dist/assets/{swapVertical-doMIyRGx.js → swapVertical-D6LdiLOT.js} +1 -1
- package/dist/assets/{telegram-B_vA_I9M.js → telegram-nGwvLBrP.js} +1 -1
- package/dist/assets/{three-dots-Dd_EJ2Ms.js → three-dots-CtNqWC3S.js} +1 -1
- package/dist/assets/{twitch-Pcx2WO3G.js → twitch-BW7B_ZZj.js} +1 -1
- package/dist/assets/{twitterIcon-zRw84JwO.js → twitterIcon-DtBlCqIp.js} +1 -1
- package/dist/assets/{typescript-D5Znjm8Y.js → typescript-BNlpYnfV.js} +1 -1
- package/dist/assets/{use-form-item-Z5soaKHo.js → use-form-item-DD9zRA7f.js} +1 -1
- package/dist/assets/validator-C3cLF2Ca.js +1 -0
- package/dist/assets/{veo-CmvfIRv-.js → veo-CUb_kjJP.js} +1 -1
- package/dist/assets/{verify-C05wHG59.js → verify-CE9qreJi.js} +1 -1
- package/dist/assets/{verify-filled-CaaZnOtk.js → verify-filled-CJk81dtg.js} +1 -1
- package/dist/assets/{w3m-modal-D1gQSCaS.js → w3m-modal-DJ3jVfIb.js} +1 -1
- package/dist/assets/{wallet-DtVsgmf5.js → wallet-CdP10wfj.js} +1 -1
- package/dist/assets/{wallet-placeholder-CRhCMpO5.js → wallet-placeholder-4KSF2qxu.js} +1 -1
- package/dist/assets/{walletconnect-C7IGwOsd.js → walletconnect-W__jCknZ.js} +1 -1
- package/dist/assets/{wan-DFnSTm2j.js → wan-D_OsnfOs.js} +1 -1
- package/dist/assets/{warning-circle-Bher3OiN.js → warning-circle-BsHgwnar.js} +1 -1
- package/dist/assets/{web-vbINopKb.js → web-Bjdieo1L.js} +1 -1
- package/dist/assets/{web-Clrev4CH.js → web-CdxNM2v5.js} +1 -1
- package/dist/assets/{x-D659JFhP.js → x-JbCikOce.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/Console-BBzqNjLR.js +0 -1
- package/dist/assets/Index-6KbY8XR0.js +0 -1
- package/dist/assets/Index-B3hOKjnj.js +0 -1
- package/dist/assets/Navigator-BheWA4Me.js +0 -1
- package/dist/assets/_Uint8Array-B48uXja2.js +0 -1
- package/dist/assets/_baseClone-Bo4uXFE7.js +0 -1
- package/dist/assets/_baseIteratee-CBVcPA7j.js +0 -1
- package/dist/assets/_initCloneObject-N_RdILDo.js +0 -1
- package/dist/assets/common--RaOF5sz.js +0 -1
- package/dist/assets/common-1tfSgZ_q.js +0 -1
- package/dist/assets/common-2IRiMF8p.js +0 -1
- package/dist/assets/common-7C1ADEmA.js +0 -1
- package/dist/assets/common-B0OACs6O.js +0 -1
- package/dist/assets/common-B1H_PGdE.js +0 -1
- package/dist/assets/common-B3eyaj7u.js +0 -1
- package/dist/assets/common-BhkVEwa_.js +0 -1
- package/dist/assets/common-CevZliS_.js +0 -1
- package/dist/assets/common-CmBFQOf0.js +0 -1
- package/dist/assets/common-DL3jLGGl.js +0 -1
- package/dist/assets/common-DTrRNquo.js +0 -1
- package/dist/assets/common-DX37NrhH.js +0 -1
- package/dist/assets/common-ZdQQ3WRT.js +0 -1
- package/dist/assets/common-hrBuI_p8.js +0 -1
- package/dist/assets/common-pLeizlat.js +0 -1
- package/dist/assets/console-B3eP-WO_.js +0 -1
- package/dist/assets/console-DMTF96hK.js +0 -1
- package/dist/assets/index-CiL5zS_Y.js +0 -569
- package/dist/assets/index-T9ReFIbu.js +0 -1
- package/dist/assets/index-V-0NaV8M.js +0 -1
- package/dist/assets/subsite-BJjgnvmA.js +0 -1
- package/dist/assets/validator-C2dHpJyD.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as it,a as dt,g as ya}from"./vendor-dayjs-Cvgzdobq.js";import{r as s2,a as Fc}from"./bignumber-C3amavAD.js";import{r as Ne,c as St,d as c2,f as u2,i as f2}from"./index.browser.esm-B8sZzfvA.js";import{ai as we,ad as ma}from"./index-1hPDOqjR.js";import{e4 as on,el as an,em as sn,en as va,eo as l2,ep as qc,eq as d2,er as h2,es as p2,et as g2,eu as Hc,ev as Kc,ew as ht,ex as y2,ey as m2}from"./index-CiL5zS_Y.js";import{r as v2}from"./string_decoder-BQ1X-_GY.js";import{r as Et}from"./index-CxUeIbEw.js";function b2(e,n){for(var t=0;t<n.length;t++){const r=n[t];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var bn={exports:{}},At={},xn={exports:{}},Cn={},_n={},wn={},Mt={},Bn={},zr={exports:{}},Ut={},La;function ba(){if(La)return Ut;La=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.DataItem=void 0;class e{constructor(t,r){this.setTag=i=>{this.tag=i},this.clearTag=()=>{this.tag=void 0},this.getTag=()=>this.tag,this.getData=()=>this.data,this.data=t,this.tag=r}}return Ut.DataItem=e,Ut}var x2=zr.exports,ja;function C2(){return ja||(ja=1,(function(e){(function(n,t){e.exports?e.exports=t():n.CBOR=t()})(x2,function(){const{DataItem:n}=ba();var t=(function(){function r(p){this.$hex=p}r.prototype={length:function(){return this.$hex.length/2},toString:function(p){if(!p||p==="hex"||p===16)return this.$hex;if(p==="utf-8"){for(var C="",S=0;S<this.$hex.length;S+=2)C+="%"+this.$hex.substring(S,S+2);return decodeURIComponent(C)}if(p==="latin"){for(var C=[],S=0;S<this.$hex.length;S+=2)C.push(parseInt(this.$hex.substring(S,S+2),16));return String.fromCharCode.apply(String,C)}throw new Error("Unrecognised format: "+p)}},r.fromLatinString=function(p){for(var C="",S=0;S<p.length;S++){var O=p.charCodeAt(S).toString(16);O.length===1&&(O="0"+O),C+=O}return new r(C)},r.fromUtf8String=function(p){for(var C=encodeURIComponent(p),S="",O=0;O<C.length;O++)if(C.charAt(O)==="%")S+=C.substring(O+1,O+3),O+=2;else{var j=C.charCodeAt(O).toString(16);j.length<2&&(j="0"+j),S+=j}return new r(S)};var i=[],s={},u=function(p){return function(){throw new Error(p+" not implemented")}};function a(){}a.prototype={peekByte:u("peekByte"),readByte:u("readByte"),readChunk:u("readChunk"),readFloat16:function(){var p=this.readUint16(),C=(p&32767)>>10,S=p&1023,O=p&32768;if(C===31)return S===0?O?-1/0:1/0:NaN;var j=C?Math.pow(2,C-25)*(1024+S):Math.pow(2,-24)*S;return O?-j:j},readFloat32:function(){var p=this.readUint32(),C=(p&2147483647)>>23,S=p&8388607,O=p&2147483648;if(C===255)return S===0?O?-1/0:1/0:NaN;var j=C?Math.pow(2,C-23-127)*(8388608+S):Math.pow(2,-149)*S;return O?-j:j},readFloat64:function(){var p=this.readUint32(),C=this.readUint32(),S=p>>20&2047,O=(p&1048575)*4294967296+C,j=p&2147483648;if(S===2047)return O===0?j?-1/0:1/0:NaN;var Y=S?Math.pow(2,S-52-1023)*(4503599627370496+O):Math.pow(2,-1074)*O;return j?-Y:Y},readUint16:function(){return this.readByte()*256+this.readByte()},readUint32:function(){return this.readUint16()*65536+this.readUint16()},readUint64:function(){return this.readUint32()*4294967296+this.readUint32()}};function f(){}f.prototype={writeByte:u("writeByte"),result:u("result"),writeFloat16:u("writeFloat16"),writeFloat32:u("writeFloat32"),writeFloat64:u("writeFloat64"),writeUint16:function(p){this.writeByte(p>>8&255),this.writeByte(p&255)},writeUint32:function(p){this.writeUint16(p>>16&65535),this.writeUint16(p&65535)},writeUint64:function(p){if(p>=9007199254740992||p<=-9007199254740992)throw new Error("Cannot encode Uint64 of: "+p+" magnitude to big (floating point errors)");this.writeUint32(Math.floor(p/4294967296)),this.writeUint32(p%4294967296)},writeString:u("writeString"),canWriteBinary:function(p){return!1},writeBinary:u("writeChunk")};function o(p){var C=p.readByte(),S=C>>5,O=C&31;return{type:S,value:O}}function c(p,C){var S=p.value;if(S<24)return S;if(S==24)return C.readByte();if(S==25)return C.readUint16();if(S==26)return C.readUint32();if(S==27)return C.readUint64();if(S==31)return null;u("Additional info: "+S)()}function l(p,C,S){S.writeByte(p<<5|C)}function d(p,C,S){var O=p<<5;C<24?S.writeByte(O|C):C<256?(S.writeByte(O|24),S.writeByte(C)):C<65536?(S.writeByte(O|25),S.writeUint16(C)):C<4294967296?(S.writeByte(O|26),S.writeUint32(C)):(S.writeByte(O|27),S.writeUint64(C))}var h=new Error;function m(p){var C=o(p);switch(C.type){case 0:return c(C,p);case 1:return-1-c(C,p);case 2:return p.readChunk(c(C,p));case 3:var S=p.readChunk(c(C,p));return S.toString("utf-8");case 4:case 5:var O=c(C,p),V=[];if(O!==null){C.type===5&&(O*=2);for(var j=0;j<O;j++)V[j]=m(p)}else for(var Y;(Y=m(p))!==h;)V.push(Y);if(C.type===5){for(var G={},j=0;j<V.length;j+=2)G[V[j]]=V[j+1];return G}else return V;case 6:var L=c(C,p),F=s[L],V=m(p);return F?F(V):V;case 7:if(C.value===25)return p.readFloat16();if(C.value===26)return p.readFloat32();if(C.value===27)return p.readFloat64();switch(c(C,p)){case 20:return!1;case 21:return!0;case 22:return null;case 23:return;case null:return h;default:throw new Error("Unknown fixed value: "+C.value)}default:throw new Error("Unsupported header: "+JSON.stringify(C))}throw new Error("not implemented yet")}function v(p,C){for(var S=0;S<i.length;S++){var O=i[S].fn(p);if(O!==void 0)return d(6,i[S].tag,C),v(O,C)}if(p&&typeof p.toCBOR=="function"&&(p=p.toCBOR()),p===!1)d(7,20,C);else if(p===!0)d(7,21,C);else if(p===null)d(7,22,C);else if(p===void 0)d(7,23,C);else if(typeof p=="number")Math.floor(p)===p&&p<9007199254740992&&p>-9007199254740992?p<0?d(1,-1-p,C):d(0,p,C):(l(7,27,C),C.writeFloat64(p));else if(typeof p=="string")C.writeString(p,function(Y){d(3,Y,C)});else if(C.canWriteBinary(p))C.writeBinary(p,function(Y){d(2,Y,C)});else if(typeof p=="object")if(b.config.useToJSON&&typeof p.toJSON=="function"&&(p=p.toJSON()),Array.isArray(p)){d(4,p.length,C);for(var S=0;S<p.length;S++)v(p[S],C)}else{var j=Object.keys(p);d(5,j.length,C);for(var S=0;S<j.length;S++){const G=parseInt(j[S]);isNaN(G)?(v(j[S],C),v(p[j[S]],C)):(v(G,C),v(p[j[S]],C))}}else throw new Error("CBOR encoding not supported: "+p)}var y=[],g=[],b={config:{useToJSON:!0},addWriter:function(p,C){typeof p=="string"?g.push(function(S){if(p===S)return C(S)}):g.push(p)},addReader:function(p,C){typeof p=="string"?y.push(function(S,O){if(p===O)return C(S,O)}):y.push(p)},encode:function(p,C){for(var S=0;S<g.length;S++){var O=g[S],j=O(C);if(j)return v(p,j),j.result()}throw new Error("Unsupported output format: "+C)},encodeDataItem:function(p,C){for(var S=0;S<g.length;S++){var O=g[S],j=O(C);if(j)return p.getTag()!==void 0?(v(p,j),j.result()):(v(p.getData(),j),j.result())}throw new Error("Unsupported output format: "+C)},decode:function(p,C){for(var S=0;S<y.length;S++){var O=y[S],j=O(p,C);if(j)return m(j)}throw new Error("Unsupported input format: "+C)},decodeToDataItem:function(p,C){for(var S=0;S<y.length;S++){var O=y[S],j=O(p,C);if(j){const Y=m(j);return Y instanceof n?Y:new n(Y)}}throw new Error("Unsupported input format: "+C)},addSemanticEncode:function(p,C){if(typeof p!="number"||p%1!==0||p<0)throw new Error("Tag must be a positive integer");return i.push({tag:p,fn:C}),this},addSemanticDecode:function(p,C){if(typeof p!="number"||p%1!==0||p<0)throw new Error("Tag must be a positive integer");return s[p]=C,this}};function x(p){this.buffer=p,this.pos=0}x.prototype=Object.create(a.prototype),x.prototype.peekByte=function(){return this.buffer[this.pos]},x.prototype.readByte=function(){return this.buffer[this.pos++]},x.prototype.readUint16=function(){var p=this.buffer.readUInt16BE(this.pos);return this.pos+=2,p},x.prototype.readUint32=function(){var p=this.buffer.readUInt32BE(this.pos);return this.pos+=4,p},x.prototype.readFloat32=function(){var p=this.buffer.readFloatBE(this.pos);return this.pos+=4,p},x.prototype.readFloat64=function(){var p=this.buffer.readDoubleBE(this.pos);return this.pos+=8,p},x.prototype.readChunk=function(p){var C=Buffer.alloc(p);return this.buffer.copy(C,0,this.pos,this.pos+=p),C};function E(p){this.byteLength=0,this.defaultBufferLength=16384,this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0,this.completeBuffers=[],this.stringFormat=p}E.prototype=Object.create(f.prototype),E.prototype.writeByte=function(p){this.latestBuffer[this.latestBufferOffset++]=p,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0),this.byteLength++},E.prototype.writeFloat32=function(p){var C=Buffer.alloc(4);C.writeFloatBE(p,0),this.writeBuffer(C)},E.prototype.writeFloat64=function(p){var C=Buffer.alloc(8);C.writeDoubleBE(p,0),this.writeBuffer(C)},E.prototype.writeString=function(p,C){var S=Buffer.from(p,"utf-8");C(S.length),this.writeBuffer(S)},E.prototype.canWriteBinary=function(p){return p instanceof Buffer},E.prototype.writeBinary=function(p,C){C(p.length),this.writeBuffer(p)},E.prototype.writeBuffer=function(p){if(!(p instanceof Buffer))throw new TypeError("BufferWriter only accepts Buffers");this.latestBufferOffset?this.latestBuffer.length-this.latestBufferOffset>=p.length?(p.copy(this.latestBuffer,this.latestBufferOffset),this.latestBufferOffset+=p.length,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0)):(this.completeBuffers.push(this.latestBuffer.slice(0,this.latestBufferOffset)),this.completeBuffers.push(p),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0):this.completeBuffers.push(p),this.byteLength+=p.length},E.prototype.result=function(){for(var p=Buffer.alloc(this.byteLength),C=0,S=0;S<this.completeBuffers.length;S++){var O=this.completeBuffers[S];O.copy(p,C,0,O.length),C+=O.length}return this.latestBufferOffset&&this.latestBuffer.copy(p,C,0,this.latestBufferOffset),this.stringFormat?p.toString(this.stringFormat):p},typeof Buffer=="function"&&(b.addReader(function(p,C){if(Buffer.isBuffer(p))return new x(p);if(C==="hex"||C==="base64"){var S=Buffer.from(p,C);return new x(S)}}),b.addWriter(function(p){if(!p||p==="buffer")return new E;if(p==="hex"||p==="base64")return new E(p)}));function I(p){this.hex=p,this.pos=0}I.prototype=Object.create(a.prototype),I.prototype.peekByte=function(){var p=this.hex.substring(this.pos,2);return parseInt(p,16)},I.prototype.readByte=function(){var p=this.hex.substring(this.pos,this.pos+2);return this.pos+=2,parseInt(p,16)},I.prototype.readChunk=function(p){var C=this.hex.substring(this.pos,this.pos+p*2);return this.pos+=p*2,typeof Buffer=="function"?Buffer.from(C,"hex"):new r(C)};function w(p){this.$hex="",this.finalFormat=p||"hex"}return w.prototype=Object.create(f.prototype),w.prototype.writeByte=function(p){if(p<0||p>255)throw new Error("Byte value out of range: "+p);var C=p.toString(16);C.length==1&&(C="0"+C),this.$hex+=C},w.prototype.canWriteBinary=function(p){return p instanceof r||typeof Buffer=="function"&&p instanceof Buffer},w.prototype.writeBinary=function(p,C){if(p instanceof r)C(p.length()),this.$hex+=p.$hex;else if(typeof Buffer=="function"&&p instanceof Buffer)C(p.length),this.$hex+=p.toString("hex");else throw new TypeError("HexWriter only accepts BinaryHex or Buffers")},w.prototype.result=function(){return this.finalFormat==="buffer"&&typeof Buffer=="function"?Buffer.from(this.$hex,"hex"):new r(this.$hex).toString(this.finalFormat)},w.prototype.writeString=function(p,C){var S=r.fromUtf8String(p);C(S.length()),this.$hex+=S.$hex},b.addReader(function(p,C){if(p instanceof r||p.$hex)return new I(p.$hex);if(C==="hex")return new I(p)}),b.addWriter(function(p){if(p==="hex")return new w}),b})();return t.addSemanticEncode(0,function(r){if(r instanceof Date)return r.toISOString()}).addSemanticDecode(0,function(r){return new Date(r)}).addSemanticDecode(1,function(r){return new Date(r)}),t})})(zr)),zr.exports}var Na;function Ce(){return Na||(Na=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DataItem=e.addWriter=e.addReader=e.addSemanticEncode=e.addSemanticDecode=e.decodeToDataItem=e.encodeDataItem=void 0;var n=C2();Object.defineProperty(e,"encodeDataItem",{enumerable:!0,get:function(){return n.encodeDataItem}}),Object.defineProperty(e,"decodeToDataItem",{enumerable:!0,get:function(){return n.decodeToDataItem}}),Object.defineProperty(e,"addSemanticDecode",{enumerable:!0,get:function(){return n.addSemanticDecode}}),Object.defineProperty(e,"addSemanticEncode",{enumerable:!0,get:function(){return n.addSemanticEncode}}),Object.defineProperty(e,"addReader",{enumerable:!0,get:function(){return n.addReader}}),Object.defineProperty(e,"addWriter",{enumerable:!0,get:function(){return n.addWriter}});var t=ba();Object.defineProperty(e,"DataItem",{enumerable:!0,get:function(){return t.DataItem}})})(Bn)),Bn}var Fa;function Fo(){if(Fa)return Mt;Fa=1,Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.patchTags=void 0;const e=Ce(),n=[],t=r=>{r.forEach(i=>{n.find(s=>s===i)||((0,e.addSemanticEncode)(i,s=>{if(s instanceof e.DataItem&&s.getTag()===i)return s.getData()}),(0,e.addSemanticDecode)(i,s=>new e.DataItem(s,i)),n.push(i))})};return Mt.patchTags=t,Mt}var ct={},qa;function _e(){if(qa)return ct;qa=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.RegistryTypes=ct.RegistryType=void 0;class e{constructor(t,r){this.type=t,this.tag=r,this.getTag=()=>this.tag,this.getType=()=>this.type}}return ct.RegistryType=e,ct.RegistryTypes={UUID:new e("uuid",37),BYTES:new e("bytes",void 0),CRYPTO_HDKEY:new e("crypto-hdkey",303),CRYPTO_KEYPATH:new e("crypto-keypath",304),CRYPTO_COIN_INFO:new e("crypto-coin-info",305),CRYPTO_ECKEY:new e("crypto-eckey",306),CRYPTO_OUTPUT:new e("crypto-output",308),CRYPTO_PSBT:new e("crypto-psbt",310),CRYPTO_PSBT_EXTEND:new e("crypto-psbt-extend",312),CRYPTO_ACCOUNT:new e("crypto-account",311),CRYPTO_MULTI_ACCOUNTS:new e("crypto-multi-accounts",1103),QR_HARDWARE_CALL:new e("qr-hardware-call",1201),KEY_DERIVATION_CALL:new e("key-derivation-call",1301),KEY_DERIVATION_SCHEMA:new e("key-derivation-schema",1302)},ct}var Sn={},Ha;function xa(){return Ha||(Ha=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ScriptExpressions=e.ScriptExpression=void 0;class n{constructor(r,i){this.tag=r,this.expression=i,this.getTag=()=>this.tag,this.getExpression=()=>this.expression}}e.ScriptExpression=n,n.fromTag=t=>Object.values(e.ScriptExpressions).find(i=>i.getTag()===t),e.ScriptExpressions={SCRIPT_HASH:new n(400,"sh"),WITNESS_SCRIPT_HASH:new n(401,"wsh"),PUBLIC_KEY:new n(402,"pk"),PUBLIC_KEY_HASH:new n(403,"pkh"),WITNESS_PUBLIC_KEY_HASH:new n(404,"wpkh"),COMBO:new n(405,"combo"),MULTISIG:new n(406,"multi"),SORTED_MULTISIG:new n(407,"sortedmulti"),ADDRESS:new n(307,"addr"),RAW_SCRIPT:new n(408,"raw")}})(Sn)),Sn}var Ka;function za(){if(Ka)return wn;Ka=1,Object.defineProperty(wn,"__esModule",{value:!0});const e=Fo(),n=_e(),t=xa(),r=Object.values(n.RegistryTypes).filter(s=>!!s.getTag()).map(s=>s.getTag()),i=Object.values(t.ScriptExpressions).map(s=>s.getTag());return(0,e.patchTags)(r.concat(i)),wn}var Lt={},En,Ga;function _2(){if(Ga)return En;Ga=1;var e=Ne().Buffer,n=on.Transform,t=we();function r(a){n.call(this),this._block=e.allocUnsafe(a),this._blockSize=a,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t(r,n),r.prototype._transform=function(a,f,o){var c=null;try{this.update(a,f)}catch(l){c=l}o(c)},r.prototype._flush=function(a){var f=null;try{this.push(this.digest())}catch(o){f=o}a(f)};var i=typeof Uint8Array<"u",s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);function u(a,f){if(a instanceof e)return a;if(typeof a=="string")return e.from(a,f);if(s&&ArrayBuffer.isView(a)){if(a.byteLength===0)return e.alloc(0);var o=e.from(a.buffer,a.byteOffset,a.byteLength);if(o.byteLength===a.byteLength)return o}if(i&&a instanceof Uint8Array||e.isBuffer(a)&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a))return e.from(a);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}return r.prototype.update=function(a,f){if(this._finalized)throw new Error("Digest already called");a=u(a,f);for(var o=this._block,c=0;this._blockOffset+a.length-c>=this._blockSize;){for(var l=this._blockOffset;l<this._blockSize;)o[l++]=a[c++];this._update(),this._blockOffset=0}for(;c<a.length;)o[this._blockOffset++]=a[c++];for(var d=0,h=a.length*8;h>0;++d)this._length[d]+=h,h=this._length[d]/4294967296|0,h>0&&(this._length[d]-=4294967296*h);return this},r.prototype._update=function(){throw new Error("_update is not implemented")},r.prototype.digest=function(a){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var f=this._digest();a!==void 0&&(f=f.toString(a)),this._block.fill(0),this._blockOffset=0;for(var o=0;o<4;++o)this._length[o]=0;return f},r.prototype._digest=function(){throw new Error("_digest is not implemented")},En=r,En}var Pn,Wa;function w2(){if(Wa)return Pn;Wa=1;var e=we(),n=_2(),t=Ne().Buffer,r=new Array(16);function i(){n.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}e(i,n),i.prototype._update=function(){for(var c=r,l=0;l<16;++l)c[l]=this._block.readInt32LE(l*4);var d=this._a,h=this._b,m=this._c,v=this._d;d=u(d,h,m,v,c[0],3614090360,7),v=u(v,d,h,m,c[1],3905402710,12),m=u(m,v,d,h,c[2],606105819,17),h=u(h,m,v,d,c[3],3250441966,22),d=u(d,h,m,v,c[4],4118548399,7),v=u(v,d,h,m,c[5],1200080426,12),m=u(m,v,d,h,c[6],2821735955,17),h=u(h,m,v,d,c[7],4249261313,22),d=u(d,h,m,v,c[8],1770035416,7),v=u(v,d,h,m,c[9],2336552879,12),m=u(m,v,d,h,c[10],4294925233,17),h=u(h,m,v,d,c[11],2304563134,22),d=u(d,h,m,v,c[12],1804603682,7),v=u(v,d,h,m,c[13],4254626195,12),m=u(m,v,d,h,c[14],2792965006,17),h=u(h,m,v,d,c[15],1236535329,22),d=a(d,h,m,v,c[1],4129170786,5),v=a(v,d,h,m,c[6],3225465664,9),m=a(m,v,d,h,c[11],643717713,14),h=a(h,m,v,d,c[0],3921069994,20),d=a(d,h,m,v,c[5],3593408605,5),v=a(v,d,h,m,c[10],38016083,9),m=a(m,v,d,h,c[15],3634488961,14),h=a(h,m,v,d,c[4],3889429448,20),d=a(d,h,m,v,c[9],568446438,5),v=a(v,d,h,m,c[14],3275163606,9),m=a(m,v,d,h,c[3],4107603335,14),h=a(h,m,v,d,c[8],1163531501,20),d=a(d,h,m,v,c[13],2850285829,5),v=a(v,d,h,m,c[2],4243563512,9),m=a(m,v,d,h,c[7],1735328473,14),h=a(h,m,v,d,c[12],2368359562,20),d=f(d,h,m,v,c[5],4294588738,4),v=f(v,d,h,m,c[8],2272392833,11),m=f(m,v,d,h,c[11],1839030562,16),h=f(h,m,v,d,c[14],4259657740,23),d=f(d,h,m,v,c[1],2763975236,4),v=f(v,d,h,m,c[4],1272893353,11),m=f(m,v,d,h,c[7],4139469664,16),h=f(h,m,v,d,c[10],3200236656,23),d=f(d,h,m,v,c[13],681279174,4),v=f(v,d,h,m,c[0],3936430074,11),m=f(m,v,d,h,c[3],3572445317,16),h=f(h,m,v,d,c[6],76029189,23),d=f(d,h,m,v,c[9],3654602809,4),v=f(v,d,h,m,c[12],3873151461,11),m=f(m,v,d,h,c[15],530742520,16),h=f(h,m,v,d,c[2],3299628645,23),d=o(d,h,m,v,c[0],4096336452,6),v=o(v,d,h,m,c[7],1126891415,10),m=o(m,v,d,h,c[14],2878612391,15),h=o(h,m,v,d,c[5],4237533241,21),d=o(d,h,m,v,c[12],1700485571,6),v=o(v,d,h,m,c[3],2399980690,10),m=o(m,v,d,h,c[10],4293915773,15),h=o(h,m,v,d,c[1],2240044497,21),d=o(d,h,m,v,c[8],1873313359,6),v=o(v,d,h,m,c[15],4264355552,10),m=o(m,v,d,h,c[6],2734768916,15),h=o(h,m,v,d,c[13],1309151649,21),d=o(d,h,m,v,c[4],4149444226,6),v=o(v,d,h,m,c[11],3174756917,10),m=o(m,v,d,h,c[2],718787259,15),h=o(h,m,v,d,c[9],3951481745,21),this._a=this._a+d|0,this._b=this._b+h|0,this._c=this._c+m|0,this._d=this._d+v|0},i.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var c=t.allocUnsafe(16);return c.writeInt32LE(this._a,0),c.writeInt32LE(this._b,4),c.writeInt32LE(this._c,8),c.writeInt32LE(this._d,12),c};function s(c,l){return c<<l|c>>>32-l}function u(c,l,d,h,m,v,y){return s(c+(l&d|~l&h)+m+v|0,y)+l|0}function a(c,l,d,h,m,v,y){return s(c+(l&h|d&~h)+m+v|0,y)+l|0}function f(c,l,d,h,m,v,y){return s(c+(l^d^h)+m+v|0,y)+l|0}function o(c,l,d,h,m,v,y){return s(c+(d^(l|~h))+m+v|0,y)+l|0}return Pn=i,Pn}var kn,Va;function B2(){if(Va)return kn;Va=1;var e={}.toString;return kn=Array.isArray||function(n){return e.call(n)=="[object Array]"},kn}var Tn,Ya;function S2(){if(Ya)return Tn;Ya=1;var e=Function.prototype.toString,n=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,t,r;if(typeof n=="function"&&typeof Object.defineProperty=="function")try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},n(function(){throw 42},null,t)}catch(b){b!==r&&(n=null)}else n=null;var i=/^\s*class\b/,s=function(x){try{var E=e.call(x);return i.test(E)}catch{return!1}},u=function(x){try{return s(x)?!1:(e.call(x),!0)}catch{return!1}},a=Object.prototype.toString,f="[object Object]",o="[object Function]",c="[object GeneratorFunction]",l="[object HTMLAllCollection]",d="[object HTML document.all class]",h="[object HTMLCollection]",m=typeof Symbol=="function"&&!!Symbol.toStringTag,v=!(0 in[,]),y=function(){return!1};if(typeof document=="object"){var g=document.all;a.call(g)===a.call(document.all)&&(y=function(x){if((v||!x)&&(typeof x>"u"||typeof x=="object"))try{var E=a.call(x);return(E===l||E===d||E===h||E===f)&&x("")==null}catch{}return!1})}return Tn=n?function(x){if(y(x))return!0;if(!x||typeof x!="function"&&typeof x!="object")return!1;try{n(x,null,t)}catch(E){if(E!==r)return!1}return!s(x)&&u(x)}:function(x){if(y(x))return!0;if(!x||typeof x!="function"&&typeof x!="object")return!1;if(m)return u(x);if(s(x))return!1;var E=a.call(x);return E!==o&&E!==c&&!/^\[object HTML/.test(E)?!1:u(x)},Tn}var Rn,$a;function E2(){if($a)return Rn;$a=1;var e=S2(),n=Object.prototype.toString,t=Object.prototype.hasOwnProperty,r=function(f,o,c){for(var l=0,d=f.length;l<d;l++)t.call(f,l)&&(c==null?o(f[l],l,f):o.call(c,f[l],l,f))},i=function(f,o,c){for(var l=0,d=f.length;l<d;l++)c==null?o(f.charAt(l),l,f):o.call(c,f.charAt(l),l,f)},s=function(f,o,c){for(var l in f)t.call(f,l)&&(c==null?o(f[l],l,f):o.call(c,f[l],l,f))};function u(a){return n.call(a)==="[object Array]"}return Rn=function(f,o,c){if(!e(o))throw new TypeError("iterator must be a function");var l;arguments.length>=3&&(l=c),u(f)?r(f,o,l):typeof f=="string"?i(f,o,l):s(f,o,l)},Rn}var In,Xa;function P2(){return Xa||(Xa=1,In=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),In}var Dn,Qa;function k2(){if(Qa)return Dn;Qa=1;var e=P2(),n=typeof globalThis>"u"?it:globalThis;return Dn=function(){for(var r=[],i=0;i<e.length;i++)typeof n[e[i]]=="function"&&(r[r.length]=e[i]);return r},Dn}var On={exports:{}},An,Ja;function zc(){if(Ja)return An;Ja=1;var e=va(),n=l2(),t=an(),r=sn();return An=function(s,u,a){if(!s||typeof s!="object"&&typeof s!="function")throw new t("`obj` must be an object or a function`");if(typeof u!="string"&&typeof u!="symbol")throw new t("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new t("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new t("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new t("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new t("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,d=!!r&&r(s,u);if(e)e(s,u,{configurable:c===null&&d?d.configurable:!c,enumerable:f===null&&d?d.enumerable:!f,value:a,writable:o===null&&d?d.writable:!o});else if(l||!f&&!o&&!c)s[u]=a;else throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},An}var Mn,Za;function Gc(){if(Za)return Mn;Za=1;var e=va(),n=function(){return!!e};return n.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},Mn=n,Mn}var Un,es;function T2(){if(es)return Un;es=1;var e=qc(),n=zc(),t=Gc()(),r=sn(),i=an(),s=e("%Math.floor%");return Un=function(a,f){if(typeof a!="function")throw new i("`fn` is not a function");if(typeof f!="number"||f<0||f>4294967295||s(f)!==f)throw new i("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],c=!0,l=!0;if("length"in a&&r){var d=r(a,"length");d&&!d.configurable&&(c=!1),d&&!d.writable&&(l=!1)}return(c||l||!o)&&(t?n(a,"length",f,!0,!0):n(a,"length",f)),a},Un}var Ln,ts;function R2(){if(ts)return Ln;ts=1;var e=h2(),n=p2(),t=d2();return Ln=function(){return t(e,n,arguments)},Ln}var rs;function cn(){return rs||(rs=1,(function(e){var n=T2(),t=va(),r=g2(),i=R2();e.exports=function(u){var a=r(arguments),f=1+u.length-(arguments.length-1);return n(a,f>0?f:0,!0)},t?t(e.exports,"apply",{value:i}):e.exports.apply=i})(On)),On.exports}var jn,ns;function un(){if(ns)return jn;ns=1;var e=Hc();return jn=function(){return e()&&!!Symbol.toStringTag},jn}var Nn,is;function Wc(){if(is)return Nn;is=1;var e=E2(),n=k2(),t=cn(),r=ht(),i=sn(),s=Kc(),u=r("Object.prototype.toString"),a=un()(),f=typeof globalThis>"u"?it:globalThis,o=n(),c=r("String.prototype.slice"),l=r("Array.prototype.indexOf",!0)||function(y,g){for(var b=0;b<y.length;b+=1)if(y[b]===g)return b;return-1},d={__proto__:null};a&&i&&s?e(o,function(v){var y=new f[v];if(Symbol.toStringTag in y&&s){var g=s(y),b=i(g,Symbol.toStringTag);if(!b&&g){var x=s(g);b=i(x,Symbol.toStringTag)}if(b&&b.get){var E=t(b.get);d["$"+v]=E}}}):e(o,function(v){var y=new f[v],g=y.slice||y.set;if(g){var b=t(g);d["$"+v]=b}});var h=function(y){var g=!1;return e(d,function(b,x){if(!g)try{"$"+b(y)===x&&(g=c(x,1))}catch{}}),g},m=function(y){var g=!1;return e(d,function(b,x){if(!g)try{b(y),g=c(x,1)}catch{}}),g};return Nn=function(y){if(!y||typeof y!="object")return!1;if(!a){var g=c(u(y),8,-1);return l(o,g)>-1?g:g!=="Object"?!1:m(y)}return i?h(y):null},Nn}var Fn,os;function Vc(){if(os)return Fn;os=1;var e=Wc();return Fn=function(t){return!!e(t)},Fn}var qn,as;function I2(){if(as)return qn;as=1;var e=an(),n=ht(),t=n("TypedArray.prototype.buffer",!0),r=Vc();return qn=t||function(s){if(!r(s))throw new e("Not a Typed Array");return s.buffer},qn}var Hn,ss;function Ca(){if(ss)return Hn;ss=1;var e=Ne().Buffer,n=B2(),t=I2(),r=ArrayBuffer.isView||function(f){try{return t(f),!0}catch{return!1}},i=typeof Uint8Array<"u",s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",u=s&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return Hn=function(f,o){if(e.isBuffer(f))return f.constructor&&!("isBuffer"in f)?e.from(f):f;if(typeof f=="string")return e.from(f,o);if(s&&r(f)){if(f.byteLength===0)return e.alloc(0);if(u){var c=e.from(f.buffer,f.byteOffset,f.byteLength);if(c.byteLength===f.byteLength)return c}var l=f instanceof Uint8Array?f:new Uint8Array(f.buffer,f.byteOffset,f.byteLength),d=e.from(l);if(d.length===f.byteLength)return d}if(i&&f instanceof Uint8Array)return e.from(f);var h=n(f);if(h)for(var m=0;m<f.length;m+=1){var v=f[m];if(typeof v!="number"||v<0||v>255||~~v!==v)throw new RangeError("Array items must be numbers in the range 0-255.")}if(h||e.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return e.from(f);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},Hn}var Kn,cs;function D2(){if(cs)return Kn;cs=1;var e=Ne().Buffer,n=Ca(),t=typeof Uint8Array<"u",r=t&&typeof ArrayBuffer<"u",i=r&&ArrayBuffer.isView;return Kn=function(s,u){if(typeof s=="string"||e.isBuffer(s)||t&&s instanceof Uint8Array||i&&i(s))return n(s,u);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')},Kn}var Dr={exports:{}},Or={exports:{}},us;function fn(){if(us)return Or.exports;us=1,typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?Or.exports={nextTick:e}:Or.exports=process;function e(n,t,r,i){if(typeof n!="function")throw new TypeError('"callback" argument must be a function');var s=arguments.length,u,a;switch(s){case 0:case 1:return process.nextTick(n);case 2:return process.nextTick(function(){n.call(null,t)});case 3:return process.nextTick(function(){n.call(null,t,r)});case 4:return process.nextTick(function(){n.call(null,t,r,i)});default:for(u=new Array(s-1),a=0;a<u.length;)u[a++]=arguments[a];return process.nextTick(function(){n.apply(null,u)})}}return Or.exports}var zn,fs;function O2(){if(fs)return zn;fs=1;var e={}.toString;return zn=Array.isArray||function(n){return e.call(n)=="[object Array]"},zn}var Gn,ls;function Yc(){return ls||(ls=1,Gn=ma().EventEmitter),Gn}var Ar={exports:{}},ds;function _a(){return ds||(ds=1,(function(e,n){var t=St(),r=t.Buffer;function i(u,a){for(var f in u)a[f]=u[f]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=t:(i(t,n),n.Buffer=s);function s(u,a,f){return r(u,a,f)}i(r,s),s.from=function(u,a,f){if(typeof u=="number")throw new TypeError("Argument must not be a number");return r(u,a,f)},s.alloc=function(u,a,f){if(typeof u!="number")throw new TypeError("Argument must be a number");var o=r(u);return a!==void 0?typeof f=="string"?o.fill(a,f):o.fill(a):o.fill(0),o},s.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return r(u)},s.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(u)}})(Ar,Ar.exports)),Ar.exports}var Be={},hs;function Sr(){if(hs)return Be;hs=1;function e(v){return Array.isArray?Array.isArray(v):m(v)==="[object Array]"}Be.isArray=e;function n(v){return typeof v=="boolean"}Be.isBoolean=n;function t(v){return v===null}Be.isNull=t;function r(v){return v==null}Be.isNullOrUndefined=r;function i(v){return typeof v=="number"}Be.isNumber=i;function s(v){return typeof v=="string"}Be.isString=s;function u(v){return typeof v=="symbol"}Be.isSymbol=u;function a(v){return v===void 0}Be.isUndefined=a;function f(v){return m(v)==="[object RegExp]"}Be.isRegExp=f;function o(v){return typeof v=="object"&&v!==null}Be.isObject=o;function c(v){return m(v)==="[object Date]"}Be.isDate=c;function l(v){return m(v)==="[object Error]"||v instanceof Error}Be.isError=l;function d(v){return typeof v=="function"}Be.isFunction=d;function h(v){return v===null||typeof v=="boolean"||typeof v=="number"||typeof v=="string"||typeof v=="symbol"||typeof v>"u"}Be.isPrimitive=h,Be.isBuffer=St().Buffer.isBuffer;function m(v){return Object.prototype.toString.call(v)}return Be}var Wn={exports:{}},ps;function A2(){return ps||(ps=1,(function(e){function n(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}var t=_a().Buffer,r=on;function i(s,u,a){s.copy(u,a)}e.exports=(function(){function s(){n(this,s),this.head=null,this.tail=null,this.length=0}return s.prototype.push=function(a){var f={data:a,next:null};this.length>0?this.tail.next=f:this.head=f,this.tail=f,++this.length},s.prototype.unshift=function(a){var f={data:a,next:this.head};this.length===0&&(this.tail=f),this.head=f,++this.length},s.prototype.shift=function(){if(this.length!==0){var a=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,a}},s.prototype.clear=function(){this.head=this.tail=null,this.length=0},s.prototype.join=function(a){if(this.length===0)return"";for(var f=this.head,o=""+f.data;f=f.next;)o+=a+f.data;return o},s.prototype.concat=function(a){if(this.length===0)return t.alloc(0);for(var f=t.allocUnsafe(a>>>0),o=this.head,c=0;o;)i(o.data,f,c),c+=o.data.length,o=o.next;return f},s})(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var s=r.inspect({length:this.length});return this.constructor.name+" "+s})})(Wn)),Wn.exports}var Vn,gs;function $c(){if(gs)return Vn;gs=1;var e=fn();function n(i,s){var u=this,a=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return a||f?(s?s(i):i&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(r,this,i)):e.nextTick(r,this,i)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(i||null,function(o){!s&&o?u._writableState?u._writableState.errorEmitted||(u._writableState.errorEmitted=!0,e.nextTick(r,u,o)):e.nextTick(r,u,o):s&&s(o)}),this)}function t(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function r(i,s){i.emit("error",s)}return Vn={destroy:n,undestroy:t},Vn}var Yn,ys;function M2(){if(ys)return Yn;ys=1,Yn=e;function e(t,r){if(n("noDeprecation"))return t;var i=!1;function s(){if(!i){if(n("throwDeprecation"))throw new Error(r);n("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return t.apply(this,arguments)}return s}function n(t){try{if(!it.localStorage)return!1}catch{return!1}var r=it.localStorage[t];return r==null?!1:String(r).toLowerCase()==="true"}return Yn}var $n,ms;function Xc(){if(ms)return $n;ms=1;var e=fn();$n=v;function n(R){var A=this;this.next=null,this.entry=null,this.finish=function(){V(A,R)}}var t=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:e.nextTick,r;v.WritableState=h;var i=Object.create(Sr());i.inherits=we();var s={deprecate:M2()},u=Yc(),a=_a().Buffer,f=(typeof it<"u"?it:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(R){return a.from(R)}function c(R){return a.isBuffer(R)||R instanceof f}var l=$c();i.inherits(v,u);function d(){}function h(R,A){r=r||wt(),R=R||{};var N=A instanceof r;this.objectMode=!!R.objectMode,N&&(this.objectMode=this.objectMode||!!R.writableObjectMode);var W=R.highWaterMark,J=R.writableHighWaterMark,Z=this.objectMode?16:16*1024;W||W===0?this.highWaterMark=W:N&&(J||J===0)?this.highWaterMark=J:this.highWaterMark=Z,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var H=R.decodeStrings===!1;this.decodeStrings=!H,this.defaultEncoding=R.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(M){p(A,M)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}h.prototype.getBuffer=function(){for(var A=this.bufferedRequest,N=[];A;)N.push(A),A=A.next;return N},(function(){try{Object.defineProperty(h.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var m;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(R){return m.call(this,R)?!0:this!==v?!1:R&&R._writableState instanceof h}})):m=function(R){return R instanceof this};function v(R){if(r=r||wt(),!m.call(v,this)&&!(this instanceof r))return new v(R);this._writableState=new h(R,this),this.writable=!0,R&&(typeof R.write=="function"&&(this._write=R.write),typeof R.writev=="function"&&(this._writev=R.writev),typeof R.destroy=="function"&&(this._destroy=R.destroy),typeof R.final=="function"&&(this._final=R.final)),u.call(this)}v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function y(R,A){var N=new Error("write after end");R.emit("error",N),e.nextTick(A,N)}function g(R,A,N,W){var J=!0,Z=!1;return N===null?Z=new TypeError("May not write null values to stream"):typeof N!="string"&&N!==void 0&&!A.objectMode&&(Z=new TypeError("Invalid non-string/buffer chunk")),Z&&(R.emit("error",Z),e.nextTick(W,Z),J=!1),J}v.prototype.write=function(R,A,N){var W=this._writableState,J=!1,Z=!W.objectMode&&c(R);return Z&&!a.isBuffer(R)&&(R=o(R)),typeof A=="function"&&(N=A,A=null),Z?A="buffer":A||(A=W.defaultEncoding),typeof N!="function"&&(N=d),W.ended?y(this,N):(Z||g(this,W,R,N))&&(W.pendingcb++,J=x(this,W,Z,R,A,N)),J},v.prototype.cork=function(){var R=this._writableState;R.corked++},v.prototype.uncork=function(){var R=this._writableState;R.corked&&(R.corked--,!R.writing&&!R.corked&&!R.bufferProcessing&&R.bufferedRequest&&O(this,R))},v.prototype.setDefaultEncoding=function(A){if(typeof A=="string"&&(A=A.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((A+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+A);return this._writableState.defaultEncoding=A,this};function b(R,A,N){return!R.objectMode&&R.decodeStrings!==!1&&typeof A=="string"&&(A=a.from(A,N)),A}Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function x(R,A,N,W,J,Z){if(!N){var H=b(A,W,J);W!==H&&(N=!0,J="buffer",W=H)}var M=A.objectMode?1:W.length;A.length+=M;var U=A.length<A.highWaterMark;if(U||(A.needDrain=!0),A.writing||A.corked){var q=A.lastBufferedRequest;A.lastBufferedRequest={chunk:W,encoding:J,isBuf:N,callback:Z,next:null},q?q.next=A.lastBufferedRequest:A.bufferedRequest=A.lastBufferedRequest,A.bufferedRequestCount+=1}else E(R,A,!1,M,W,J,Z);return U}function E(R,A,N,W,J,Z,H){A.writelen=W,A.writecb=H,A.writing=!0,A.sync=!0,N?R._writev(J,A.onwrite):R._write(J,Z,A.onwrite),A.sync=!1}function I(R,A,N,W,J){--A.pendingcb,N?(e.nextTick(J,W),e.nextTick(L,R,A),R._writableState.errorEmitted=!0,R.emit("error",W)):(J(W),R._writableState.errorEmitted=!0,R.emit("error",W),L(R,A))}function w(R){R.writing=!1,R.writecb=null,R.length-=R.writelen,R.writelen=0}function p(R,A){var N=R._writableState,W=N.sync,J=N.writecb;if(w(N),A)I(R,N,W,A,J);else{var Z=j(N);!Z&&!N.corked&&!N.bufferProcessing&&N.bufferedRequest&&O(R,N),W?t(C,R,N,Z,J):C(R,N,Z,J)}}function C(R,A,N,W){N||S(R,A),A.pendingcb--,W(),L(R,A)}function S(R,A){A.length===0&&A.needDrain&&(A.needDrain=!1,R.emit("drain"))}function O(R,A){A.bufferProcessing=!0;var N=A.bufferedRequest;if(R._writev&&N&&N.next){var W=A.bufferedRequestCount,J=new Array(W),Z=A.corkedRequestsFree;Z.entry=N;for(var H=0,M=!0;N;)J[H]=N,N.isBuf||(M=!1),N=N.next,H+=1;J.allBuffers=M,E(R,A,!0,A.length,J,"",Z.finish),A.pendingcb++,A.lastBufferedRequest=null,Z.next?(A.corkedRequestsFree=Z.next,Z.next=null):A.corkedRequestsFree=new n(A),A.bufferedRequestCount=0}else{for(;N;){var U=N.chunk,q=N.encoding,P=N.callback,k=A.objectMode?1:U.length;if(E(R,A,!1,k,U,q,P),N=N.next,A.bufferedRequestCount--,A.writing)break}N===null&&(A.lastBufferedRequest=null)}A.bufferedRequest=N,A.bufferProcessing=!1}v.prototype._write=function(R,A,N){N(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(R,A,N){var W=this._writableState;typeof R=="function"?(N=R,R=null,A=null):typeof A=="function"&&(N=A,A=null),R!=null&&this.write(R,A),W.corked&&(W.corked=1,this.uncork()),W.ending||F(this,W,N)};function j(R){return R.ending&&R.length===0&&R.bufferedRequest===null&&!R.finished&&!R.writing}function Y(R,A){R._final(function(N){A.pendingcb--,N&&R.emit("error",N),A.prefinished=!0,R.emit("prefinish"),L(R,A)})}function G(R,A){!A.prefinished&&!A.finalCalled&&(typeof R._final=="function"?(A.pendingcb++,A.finalCalled=!0,e.nextTick(Y,R,A)):(A.prefinished=!0,R.emit("prefinish")))}function L(R,A){var N=j(A);return N&&(G(R,A),A.pendingcb===0&&(A.finished=!0,R.emit("finish"))),N}function F(R,A,N){A.ending=!0,L(R,A),N&&(A.finished?e.nextTick(N):R.once("finish",N)),A.ended=!0,R.writable=!1}function V(R,A,N){var W=R.entry;for(R.entry=null;W;){var J=W.callback;A.pendingcb--,J(N),W=W.next}A.corkedRequestsFree.next=R}return Object.defineProperty(v.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(R){this._writableState&&(this._writableState.destroyed=R)}}),v.prototype.destroy=l.destroy,v.prototype._undestroy=l.undestroy,v.prototype._destroy=function(R,A){this.end(),A(R)},$n}var Xn,vs;function wt(){if(vs)return Xn;vs=1;var e=fn(),n=Object.keys||function(l){var d=[];for(var h in l)d.push(h);return d};Xn=f;var t=Object.create(Sr());t.inherits=we();var r=Qc(),i=Xc();t.inherits(f,r);for(var s=n(i.prototype),u=0;u<s.length;u++){var a=s[u];f.prototype[a]||(f.prototype[a]=i.prototype[a])}function f(l){if(!(this instanceof f))return new f(l);r.call(this,l),i.call(this,l),l&&l.readable===!1&&(this.readable=!1),l&&l.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,l&&l.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",o)}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function o(){this.allowHalfOpen||this._writableState.ended||e.nextTick(c,this)}function c(l){l.end()}return Object.defineProperty(f.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(l){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=l,this._writableState.destroyed=l)}}),f.prototype._destroy=function(l,d){this.push(null),this.end(),e.nextTick(d,l)},Xn}var Qn={},Mr={exports:{}},bs;function U2(){return bs||(bs=1,(function(e,n){var t=St(),r=t.Buffer;function i(u,a){for(var f in u)a[f]=u[f]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=t:(i(t,n),n.Buffer=s);function s(u,a,f){return r(u,a,f)}i(r,s),s.from=function(u,a,f){if(typeof u=="number")throw new TypeError("Argument must not be a number");return r(u,a,f)},s.alloc=function(u,a,f){if(typeof u!="number")throw new TypeError("Argument must be a number");var o=r(u);return a!==void 0?typeof f=="string"?o.fill(a,f):o.fill(a):o.fill(0),o},s.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return r(u)},s.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(u)}})(Mr,Mr.exports)),Mr.exports}var xs;function Cs(){if(xs)return Qn;xs=1;var e=U2().Buffer,n=e.isEncoding||function(g){switch(g=""+g,g&&g.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function t(g){if(!g)return"utf8";for(var b;;)switch(g){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return g;default:if(b)return;g=(""+g).toLowerCase(),b=!0}}function r(g){var b=t(g);if(typeof b!="string"&&(e.isEncoding===n||!n(g)))throw new Error("Unknown encoding: "+g);return b||g}Qn.StringDecoder=i;function i(g){this.encoding=r(g);var b;switch(this.encoding){case"utf16le":this.text=l,this.end=d,b=4;break;case"utf8":this.fillLast=f,b=4;break;case"base64":this.text=h,this.end=m,b=3;break;default:this.write=v,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(b)}i.prototype.write=function(g){if(g.length===0)return"";var b,x;if(this.lastNeed){if(b=this.fillLast(g),b===void 0)return"";x=this.lastNeed,this.lastNeed=0}else x=0;return x<g.length?b?b+this.text(g,x):this.text(g,x):b||""},i.prototype.end=c,i.prototype.text=o,i.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function s(g){return g<=127?0:g>>5===6?2:g>>4===14?3:g>>3===30?4:g>>6===2?-1:-2}function u(g,b,x){var E=b.length-1;if(E<x)return 0;var I=s(b[E]);return I>=0?(I>0&&(g.lastNeed=I-1),I):--E<x||I===-2?0:(I=s(b[E]),I>=0?(I>0&&(g.lastNeed=I-2),I):--E<x||I===-2?0:(I=s(b[E]),I>=0?(I>0&&(I===2?I=0:g.lastNeed=I-3),I):0))}function a(g,b,x){if((b[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&b.length>2&&(b[2]&192)!==128)return g.lastNeed=2,"�"}}function f(g){var b=this.lastTotal-this.lastNeed,x=a(this,g);if(x!==void 0)return x;if(this.lastNeed<=g.length)return g.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,b,0,g.length),this.lastNeed-=g.length}function o(g,b){var x=u(this,g,b);if(!this.lastNeed)return g.toString("utf8",b);this.lastTotal=x;var E=g.length-(x-this.lastNeed);return g.copy(this.lastChar,0,E),g.toString("utf8",b,E)}function c(g){var b=g&&g.length?this.write(g):"";return this.lastNeed?b+"�":b}function l(g,b){if((g.length-b)%2===0){var x=g.toString("utf16le",b);if(x){var E=x.charCodeAt(x.length-1);if(E>=55296&&E<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],x.slice(0,-1)}return x}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",b,g.length-1)}function d(g){var b=g&&g.length?this.write(g):"";if(this.lastNeed){var x=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,x)}return b}function h(g,b){var x=(g.length-b)%3;return x===0?g.toString("base64",b):(this.lastNeed=3-x,this.lastTotal=3,x===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString("base64",b,g.length-x))}function m(g){var b=g&&g.length?this.write(g):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function v(g){return g.toString(this.encoding)}function y(g){return g&&g.length?this.write(g):""}return Qn}var Jn,_s;function Qc(){if(_s)return Jn;_s=1;var e=fn();Jn=b;var n=O2(),t;b.ReadableState=g,ma().EventEmitter;var r=function(P,k){return P.listeners(k).length},i=Yc(),s=_a().Buffer,u=(typeof it<"u"?it:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(P){return s.from(P)}function f(P){return s.isBuffer(P)||P instanceof u}var o=Object.create(Sr());o.inherits=we();var c=on,l=void 0;c&&c.debuglog?l=c.debuglog("stream"):l=function(){};var d=A2(),h=$c(),m;o.inherits(b,i);var v=["error","close","destroy","pause","resume"];function y(P,k,K){if(typeof P.prependListener=="function")return P.prependListener(k,K);!P._events||!P._events[k]?P.on(k,K):n(P._events[k])?P._events[k].unshift(K):P._events[k]=[K,P._events[k]]}function g(P,k){t=t||wt(),P=P||{};var K=k instanceof t;this.objectMode=!!P.objectMode,K&&(this.objectMode=this.objectMode||!!P.readableObjectMode);var $=P.highWaterMark,ne=P.readableHighWaterMark,re=this.objectMode?16:16*1024;$||$===0?this.highWaterMark=$:K&&(ne||ne===0)?this.highWaterMark=ne:this.highWaterMark=re,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=P.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,P.encoding&&(m||(m=Cs().StringDecoder),this.decoder=new m(P.encoding),this.encoding=P.encoding)}function b(P){if(t=t||wt(),!(this instanceof b))return new b(P);this._readableState=new g(P,this),this.readable=!0,P&&(typeof P.read=="function"&&(this._read=P.read),typeof P.destroy=="function"&&(this._destroy=P.destroy)),i.call(this)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(P){this._readableState&&(this._readableState.destroyed=P)}}),b.prototype.destroy=h.destroy,b.prototype._undestroy=h.undestroy,b.prototype._destroy=function(P,k){this.push(null),k(P)},b.prototype.push=function(P,k){var K=this._readableState,$;return K.objectMode?$=!0:typeof P=="string"&&(k=k||K.defaultEncoding,k!==K.encoding&&(P=s.from(P,k),k=""),$=!0),x(this,P,k,!1,$)},b.prototype.unshift=function(P){return x(this,P,null,!0,!1)};function x(P,k,K,$,ne){var re=P._readableState;if(k===null)re.reading=!1,O(P,re);else{var oe;ne||(oe=I(re,k)),oe?P.emit("error",oe):re.objectMode||k&&k.length>0?(typeof k!="string"&&!re.objectMode&&Object.getPrototypeOf(k)!==s.prototype&&(k=a(k)),$?re.endEmitted?P.emit("error",new Error("stream.unshift() after end event")):E(P,re,k,!0):re.ended?P.emit("error",new Error("stream.push() after EOF")):(re.reading=!1,re.decoder&&!K?(k=re.decoder.write(k),re.objectMode||k.length!==0?E(P,re,k,!1):G(P,re)):E(P,re,k,!1))):$||(re.reading=!1)}return w(re)}function E(P,k,K,$){k.flowing&&k.length===0&&!k.sync?(P.emit("data",K),P.read(0)):(k.length+=k.objectMode?1:K.length,$?k.buffer.unshift(K):k.buffer.push(K),k.needReadable&&j(P)),G(P,k)}function I(P,k){var K;return!f(k)&&typeof k!="string"&&k!==void 0&&!P.objectMode&&(K=new TypeError("Invalid non-string/buffer chunk")),K}function w(P){return!P.ended&&(P.needReadable||P.length<P.highWaterMark||P.length===0)}b.prototype.isPaused=function(){return this._readableState.flowing===!1},b.prototype.setEncoding=function(P){return m||(m=Cs().StringDecoder),this._readableState.decoder=new m(P),this._readableState.encoding=P,this};var p=8388608;function C(P){return P>=p?P=p:(P--,P|=P>>>1,P|=P>>>2,P|=P>>>4,P|=P>>>8,P|=P>>>16,P++),P}function S(P,k){return P<=0||k.length===0&&k.ended?0:k.objectMode?1:P!==P?k.flowing&&k.length?k.buffer.head.data.length:k.length:(P>k.highWaterMark&&(k.highWaterMark=C(P)),P<=k.length?P:k.ended?k.length:(k.needReadable=!0,0))}b.prototype.read=function(P){l("read",P),P=parseInt(P,10);var k=this._readableState,K=P;if(P!==0&&(k.emittedReadable=!1),P===0&&k.needReadable&&(k.length>=k.highWaterMark||k.ended))return l("read: emitReadable",k.length,k.ended),k.length===0&&k.ended?M(this):j(this),null;if(P=S(P,k),P===0&&k.ended)return k.length===0&&M(this),null;var $=k.needReadable;l("need readable",$),(k.length===0||k.length-P<k.highWaterMark)&&($=!0,l("length less than watermark",$)),k.ended||k.reading?($=!1,l("reading or ended",$)):$&&(l("do read"),k.reading=!0,k.sync=!0,k.length===0&&(k.needReadable=!0),this._read(k.highWaterMark),k.sync=!1,k.reading||(P=S(K,k)));var ne;return P>0?ne=W(P,k):ne=null,ne===null?(k.needReadable=!0,P=0):k.length-=P,k.length===0&&(k.ended||(k.needReadable=!0),K!==P&&k.ended&&M(this)),ne!==null&&this.emit("data",ne),ne};function O(P,k){if(!k.ended){if(k.decoder){var K=k.decoder.end();K&&K.length&&(k.buffer.push(K),k.length+=k.objectMode?1:K.length)}k.ended=!0,j(P)}}function j(P){var k=P._readableState;k.needReadable=!1,k.emittedReadable||(l("emitReadable",k.flowing),k.emittedReadable=!0,k.sync?e.nextTick(Y,P):Y(P))}function Y(P){l("emit readable"),P.emit("readable"),N(P)}function G(P,k){k.readingMore||(k.readingMore=!0,e.nextTick(L,P,k))}function L(P,k){for(var K=k.length;!k.reading&&!k.flowing&&!k.ended&&k.length<k.highWaterMark&&(l("maybeReadMore read 0"),P.read(0),K!==k.length);)K=k.length;k.readingMore=!1}b.prototype._read=function(P){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(P,k){var K=this,$=this._readableState;switch($.pipesCount){case 0:$.pipes=P;break;case 1:$.pipes=[$.pipes,P];break;default:$.pipes.push(P);break}$.pipesCount+=1,l("pipe count=%d opts=%j",$.pipesCount,k);var ne=(!k||k.end!==!1)&&P!==process.stdout&&P!==process.stderr,re=ne?fe:ce;$.endEmitted?e.nextTick(re):K.once("end",re),P.on("unpipe",oe);function oe(z,Q){l("onunpipe"),z===K&&Q&&Q.hasUnpiped===!1&&(Q.hasUnpiped=!0,_())}function fe(){l("onend"),P.end()}var he=F(K);P.on("drain",he);var D=!1;function _(){l("cleanup"),P.removeListener("close",ee),P.removeListener("finish",te),P.removeListener("drain",he),P.removeListener("error",X),P.removeListener("unpipe",oe),K.removeListener("end",fe),K.removeListener("end",ce),K.removeListener("data",T),D=!0,$.awaitDrain&&(!P._writableState||P._writableState.needDrain)&&he()}var B=!1;K.on("data",T);function T(z){l("ondata"),B=!1;var Q=P.write(z);Q===!1&&!B&&(($.pipesCount===1&&$.pipes===P||$.pipesCount>1&&q($.pipes,P)!==-1)&&!D&&(l("false write response, pause",$.awaitDrain),$.awaitDrain++,B=!0),K.pause())}function X(z){l("onerror",z),ce(),P.removeListener("error",X),r(P,"error")===0&&P.emit("error",z)}y(P,"error",X);function ee(){P.removeListener("finish",te),ce()}P.once("close",ee);function te(){l("onfinish"),P.removeListener("close",ee),ce()}P.once("finish",te);function ce(){l("unpipe"),K.unpipe(P)}return P.emit("pipe",K),$.flowing||(l("pipe resume"),K.resume()),P};function F(P){return function(){var k=P._readableState;l("pipeOnDrain",k.awaitDrain),k.awaitDrain&&k.awaitDrain--,k.awaitDrain===0&&r(P,"data")&&(k.flowing=!0,N(P))}}b.prototype.unpipe=function(P){var k=this._readableState,K={hasUnpiped:!1};if(k.pipesCount===0)return this;if(k.pipesCount===1)return P&&P!==k.pipes?this:(P||(P=k.pipes),k.pipes=null,k.pipesCount=0,k.flowing=!1,P&&P.emit("unpipe",this,K),this);if(!P){var $=k.pipes,ne=k.pipesCount;k.pipes=null,k.pipesCount=0,k.flowing=!1;for(var re=0;re<ne;re++)$[re].emit("unpipe",this,{hasUnpiped:!1});return this}var oe=q(k.pipes,P);return oe===-1?this:(k.pipes.splice(oe,1),k.pipesCount-=1,k.pipesCount===1&&(k.pipes=k.pipes[0]),P.emit("unpipe",this,K),this)},b.prototype.on=function(P,k){var K=i.prototype.on.call(this,P,k);if(P==="data")this._readableState.flowing!==!1&&this.resume();else if(P==="readable"){var $=this._readableState;!$.endEmitted&&!$.readableListening&&($.readableListening=$.needReadable=!0,$.emittedReadable=!1,$.reading?$.length&&j(this):e.nextTick(V,this))}return K},b.prototype.addListener=b.prototype.on;function V(P){l("readable nexttick read 0"),P.read(0)}b.prototype.resume=function(){var P=this._readableState;return P.flowing||(l("resume"),P.flowing=!0,R(this,P)),this};function R(P,k){k.resumeScheduled||(k.resumeScheduled=!0,e.nextTick(A,P,k))}function A(P,k){k.reading||(l("resume read 0"),P.read(0)),k.resumeScheduled=!1,k.awaitDrain=0,P.emit("resume"),N(P),k.flowing&&!k.reading&&P.read(0)}b.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function N(P){var k=P._readableState;for(l("flow",k.flowing);k.flowing&&P.read()!==null;);}b.prototype.wrap=function(P){var k=this,K=this._readableState,$=!1;P.on("end",function(){if(l("wrapped end"),K.decoder&&!K.ended){var oe=K.decoder.end();oe&&oe.length&&k.push(oe)}k.push(null)}),P.on("data",function(oe){if(l("wrapped data"),K.decoder&&(oe=K.decoder.write(oe)),!(K.objectMode&&oe==null)&&!(!K.objectMode&&(!oe||!oe.length))){var fe=k.push(oe);fe||($=!0,P.pause())}});for(var ne in P)this[ne]===void 0&&typeof P[ne]=="function"&&(this[ne]=(function(oe){return function(){return P[oe].apply(P,arguments)}})(ne));for(var re=0;re<v.length;re++)P.on(v[re],this.emit.bind(this,v[re]));return this._read=function(oe){l("wrapped _read",oe),$&&($=!1,P.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=W;function W(P,k){if(k.length===0)return null;var K;return k.objectMode?K=k.buffer.shift():!P||P>=k.length?(k.decoder?K=k.buffer.join(""):k.buffer.length===1?K=k.buffer.head.data:K=k.buffer.concat(k.length),k.buffer.clear()):K=J(P,k.buffer,k.decoder),K}function J(P,k,K){var $;return P<k.head.data.length?($=k.head.data.slice(0,P),k.head.data=k.head.data.slice(P)):P===k.head.data.length?$=k.shift():$=K?Z(P,k):H(P,k),$}function Z(P,k){var K=k.head,$=1,ne=K.data;for(P-=ne.length;K=K.next;){var re=K.data,oe=P>re.length?re.length:P;if(oe===re.length?ne+=re:ne+=re.slice(0,P),P-=oe,P===0){oe===re.length?(++$,K.next?k.head=K.next:k.head=k.tail=null):(k.head=K,K.data=re.slice(oe));break}++$}return k.length-=$,ne}function H(P,k){var K=s.allocUnsafe(P),$=k.head,ne=1;for($.data.copy(K),P-=$.data.length;$=$.next;){var re=$.data,oe=P>re.length?re.length:P;if(re.copy(K,K.length-P,0,oe),P-=oe,P===0){oe===re.length?(++ne,$.next?k.head=$.next:k.head=k.tail=null):(k.head=$,$.data=re.slice(oe));break}++ne}return k.length-=ne,K}function M(P){var k=P._readableState;if(k.length>0)throw new Error('"endReadable()" called on non-empty stream');k.endEmitted||(k.ended=!0,e.nextTick(U,k,P))}function U(P,k){!P.endEmitted&&P.length===0&&(P.endEmitted=!0,k.readable=!1,k.emit("end"))}function q(P,k){for(var K=0,$=P.length;K<$;K++)if(P[K]===k)return K;return-1}return Jn}var Zn,ws;function Jc(){if(ws)return Zn;ws=1,Zn=r;var e=wt(),n=Object.create(Sr());n.inherits=we(),n.inherits(r,e);function t(u,a){var f=this._transformState;f.transforming=!1;var o=f.writecb;if(!o)return this.emit("error",new Error("write callback called multiple times"));f.writechunk=null,f.writecb=null,a!=null&&this.push(a),o(u);var c=this._readableState;c.reading=!1,(c.needReadable||c.length<c.highWaterMark)&&this._read(c.highWaterMark)}function r(u){if(!(this instanceof r))return new r(u);e.call(this,u),this._transformState={afterTransform:t.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,u&&(typeof u.transform=="function"&&(this._transform=u.transform),typeof u.flush=="function"&&(this._flush=u.flush)),this.on("prefinish",i)}function i(){var u=this;typeof this._flush=="function"?this._flush(function(a,f){s(u,a,f)}):s(this,null,null)}r.prototype.push=function(u,a){return this._transformState.needTransform=!1,e.prototype.push.call(this,u,a)},r.prototype._transform=function(u,a,f){throw new Error("_transform() is not implemented")},r.prototype._write=function(u,a,f){var o=this._transformState;if(o.writecb=f,o.writechunk=u,o.writeencoding=a,!o.transforming){var c=this._readableState;(o.needTransform||c.needReadable||c.length<c.highWaterMark)&&this._read(c.highWaterMark)}},r.prototype._read=function(u){var a=this._transformState;a.writechunk!==null&&a.writecb&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0},r.prototype._destroy=function(u,a){var f=this;e.prototype._destroy.call(this,u,function(o){a(o),f.emit("close")})};function s(u,a,f){if(a)return u.emit("error",a);if(f!=null&&u.push(f),u._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(u._transformState.transforming)throw new Error("Calling transform done when still transforming");return u.push(null)}return Zn}var ei,Bs;function L2(){if(Bs)return ei;Bs=1,ei=t;var e=Jc(),n=Object.create(Sr());n.inherits=we(),n.inherits(t,e);function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return t.prototype._transform=function(r,i,s){s(null,r)},ei}var Ss;function j2(){return Ss||(Ss=1,(function(e,n){n=e.exports=Qc(),n.Stream=n,n.Readable=n,n.Writable=Xc(),n.Duplex=wt(),n.Transform=Jc(),n.PassThrough=L2()})(Dr,Dr.exports)),Dr.exports}var ti,Es;function N2(){if(Es)return ti;Es=1;var e=Ne().Buffer,n=D2(),t=j2().Transform,r=we();function i(s){t.call(this),this._block=e.allocUnsafe(s),this._blockSize=s,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}return r(i,t),i.prototype._transform=function(s,u,a){var f=null;try{this.update(s,u)}catch(o){f=o}a(f)},i.prototype._flush=function(s){var u=null;try{this.push(this.digest())}catch(a){u=a}s(u)},i.prototype.update=function(s,u){if(this._finalized)throw new Error("Digest already called");for(var a=n(s,u),f=this._block,o=0;this._blockOffset+a.length-o>=this._blockSize;){for(var c=this._blockOffset;c<this._blockSize;)f[c]=a[o],c+=1,o+=1;this._update(),this._blockOffset=0}for(;o<a.length;)f[this._blockOffset]=a[o],this._blockOffset+=1,o+=1;for(var l=0,d=a.length*8;d>0;++l)this._length[l]+=d,d=this._length[l]/4294967296|0,d>0&&(this._length[l]-=4294967296*d);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(s){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var u=this._digest();s!==void 0&&(u=u.toString(s)),this._block.fill(0),this._blockOffset=0;for(var a=0;a<4;++a)this._length[a]=0;return u},i.prototype._digest=function(){throw new Error("_digest is not implemented")},ti=i,ti}var ri,Ps;function F2(){if(Ps)return ri;Ps=1;var e=St().Buffer,n=we(),t=N2(),r=new Array(16),i=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],s=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],a=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],o=[1352829926,1548603684,1836072691,2053994217,0];function c(g,b){return g<<b|g>>>32-b}function l(g,b,x,E,I,w,p,C){return c(g+(b^x^E)+w+p|0,C)+I|0}function d(g,b,x,E,I,w,p,C){return c(g+(b&x|~b&E)+w+p|0,C)+I|0}function h(g,b,x,E,I,w,p,C){return c(g+((b|~x)^E)+w+p|0,C)+I|0}function m(g,b,x,E,I,w,p,C){return c(g+(b&E|x&~E)+w+p|0,C)+I|0}function v(g,b,x,E,I,w,p,C){return c(g+(b^(x|~E))+w+p|0,C)+I|0}function y(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}return n(y,t),y.prototype._update=function(){for(var g=r,b=0;b<16;++b)g[b]=this._block.readInt32LE(b*4);for(var x=this._a|0,E=this._b|0,I=this._c|0,w=this._d|0,p=this._e|0,C=this._a|0,S=this._b|0,O=this._c|0,j=this._d|0,Y=this._e|0,G=0;G<80;G+=1){var L,F;G<16?(L=l(x,E,I,w,p,g[i[G]],f[0],u[G]),F=v(C,S,O,j,Y,g[s[G]],o[0],a[G])):G<32?(L=d(x,E,I,w,p,g[i[G]],f[1],u[G]),F=m(C,S,O,j,Y,g[s[G]],o[1],a[G])):G<48?(L=h(x,E,I,w,p,g[i[G]],f[2],u[G]),F=h(C,S,O,j,Y,g[s[G]],o[2],a[G])):G<64?(L=m(x,E,I,w,p,g[i[G]],f[3],u[G]),F=d(C,S,O,j,Y,g[s[G]],o[3],a[G])):(L=v(x,E,I,w,p,g[i[G]],f[4],u[G]),F=l(C,S,O,j,Y,g[s[G]],o[4],a[G])),x=p,p=w,w=c(I,10),I=E,E=L,C=Y,Y=j,j=c(O,10),O=S,S=F}var V=this._b+I+j|0;this._b=this._c+w+Y|0,this._c=this._d+p+C|0,this._d=this._e+x+S|0,this._e=this._a+E+O|0,this._a=V},y.prototype._digest=function(){this._block[this._blockOffset]=128,this._blockOffset+=1,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var g=e.alloc?e.alloc(20):new e(20);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g.writeInt32LE(this._e,16),g},ri=y,ri}var ni={exports:{}},ii,ks;function Pt(){if(ks)return ii;ks=1;var e=Ne().Buffer,n=Ca();function t(r,i){this._block=e.alloc(r),this._finalSize=i,this._blockSize=r,this._len=0}return t.prototype.update=function(r,i){r=n(r,i||"utf8");for(var s=this._block,u=this._blockSize,a=r.length,f=this._len,o=0;o<a;){for(var c=f%u,l=Math.min(a-o,u-c),d=0;d<l;d++)s[c+d]=r[o+d];f+=l,o+=l,f%u===0&&this._update(s)}return this._len+=a,this},t.prototype.digest=function(r){var i=this._len%this._blockSize;this._block[i]=128,this._block.fill(0,i+1),i>=this._finalSize&&(this._update(this._block),this._block.fill(0));var s=this._len*8;if(s<=4294967295)this._block.writeUInt32BE(s,this._blockSize-4);else{var u=(s&4294967295)>>>0,a=(s-u)/4294967296;this._block.writeUInt32BE(a,this._blockSize-8),this._block.writeUInt32BE(u,this._blockSize-4)}this._update(this._block);var f=this._hash();return r?f.toString(r):f},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},ii=t,ii}var oi,Ts;function q2(){if(Ts)return oi;Ts=1;var e=we(),n=Pt(),t=Ne().Buffer,r=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function s(){this.init(),this._w=i,n.call(this,64,56)}e(s,n),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function u(o){return o<<5|o>>>27}function a(o){return o<<30|o>>>2}function f(o,c,l,d){return o===0?c&l|~c&d:o===2?c&l|c&d|l&d:c^l^d}return s.prototype._update=function(o){for(var c=this._w,l=this._a|0,d=this._b|0,h=this._c|0,m=this._d|0,v=this._e|0,y=0;y<16;++y)c[y]=o.readInt32BE(y*4);for(;y<80;++y)c[y]=c[y-3]^c[y-8]^c[y-14]^c[y-16];for(var g=0;g<80;++g){var b=~~(g/20),x=u(l)+f(b,d,h,m)+v+c[g]+r[b]|0;v=m,m=h,h=a(d),d=l,l=x}this._a=l+this._a|0,this._b=d+this._b|0,this._c=h+this._c|0,this._d=m+this._d|0,this._e=v+this._e|0},s.prototype._hash=function(){var o=t.allocUnsafe(20);return o.writeInt32BE(this._a|0,0),o.writeInt32BE(this._b|0,4),o.writeInt32BE(this._c|0,8),o.writeInt32BE(this._d|0,12),o.writeInt32BE(this._e|0,16),o},oi=s,oi}var ai,Rs;function H2(){if(Rs)return ai;Rs=1;var e=we(),n=Pt(),t=Ne().Buffer,r=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function s(){this.init(),this._w=i,n.call(this,64,56)}e(s,n),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function u(c){return c<<1|c>>>31}function a(c){return c<<5|c>>>27}function f(c){return c<<30|c>>>2}function o(c,l,d,h){return c===0?l&d|~l&h:c===2?l&d|l&h|d&h:l^d^h}return s.prototype._update=function(c){for(var l=this._w,d=this._a|0,h=this._b|0,m=this._c|0,v=this._d|0,y=this._e|0,g=0;g<16;++g)l[g]=c.readInt32BE(g*4);for(;g<80;++g)l[g]=u(l[g-3]^l[g-8]^l[g-14]^l[g-16]);for(var b=0;b<80;++b){var x=~~(b/20),E=a(d)+o(x,h,m,v)+y+l[b]+r[x]|0;y=v,v=m,m=f(h),h=d,d=E}this._a=d+this._a|0,this._b=h+this._b|0,this._c=m+this._c|0,this._d=v+this._d|0,this._e=y+this._e|0},s.prototype._hash=function(){var c=t.allocUnsafe(20);return c.writeInt32BE(this._a|0,0),c.writeInt32BE(this._b|0,4),c.writeInt32BE(this._c|0,8),c.writeInt32BE(this._d|0,12),c.writeInt32BE(this._e|0,16),c},ai=s,ai}var si,Is;function Zc(){if(Is)return si;Is=1;var e=we(),n=Pt(),t=Ne().Buffer,r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=new Array(64);function s(){this.init(),this._w=i,n.call(this,64,56)}e(s,n),s.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function u(d,h,m){return m^d&(h^m)}function a(d,h,m){return d&h|m&(d|h)}function f(d){return(d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10)}function o(d){return(d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7)}function c(d){return(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3}function l(d){return(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10}return s.prototype._update=function(d){for(var h=this._w,m=this._a|0,v=this._b|0,y=this._c|0,g=this._d|0,b=this._e|0,x=this._f|0,E=this._g|0,I=this._h|0,w=0;w<16;++w)h[w]=d.readInt32BE(w*4);for(;w<64;++w)h[w]=l(h[w-2])+h[w-7]+c(h[w-15])+h[w-16]|0;for(var p=0;p<64;++p){var C=I+o(b)+u(b,x,E)+r[p]+h[p]|0,S=f(m)+a(m,v,y)|0;I=E,E=x,x=b,b=g+C|0,g=y,y=v,v=m,m=C+S|0}this._a=m+this._a|0,this._b=v+this._b|0,this._c=y+this._c|0,this._d=g+this._d|0,this._e=b+this._e|0,this._f=x+this._f|0,this._g=E+this._g|0,this._h=I+this._h|0},s.prototype._hash=function(){var d=t.allocUnsafe(32);return d.writeInt32BE(this._a,0),d.writeInt32BE(this._b,4),d.writeInt32BE(this._c,8),d.writeInt32BE(this._d,12),d.writeInt32BE(this._e,16),d.writeInt32BE(this._f,20),d.writeInt32BE(this._g,24),d.writeInt32BE(this._h,28),d},si=s,si}var ci,Ds;function K2(){if(Ds)return ci;Ds=1;var e=we(),n=Zc(),t=Pt(),r=Ne().Buffer,i=new Array(64);function s(){this.init(),this._w=i,t.call(this,64,56)}return e(s,n),s.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},s.prototype._hash=function(){var u=r.allocUnsafe(28);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u},ci=s,ci}var ui,Os;function eu(){if(Os)return ui;Os=1;var e=we(),n=Pt(),t=Ne().Buffer,r=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],i=new Array(160);function s(){this.init(),this._w=i,n.call(this,128,112)}e(s,n),s.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function u(v,y,g){return g^v&(y^g)}function a(v,y,g){return v&y|g&(v|y)}function f(v,y){return(v>>>28|y<<4)^(y>>>2|v<<30)^(y>>>7|v<<25)}function o(v,y){return(v>>>14|y<<18)^(v>>>18|y<<14)^(y>>>9|v<<23)}function c(v,y){return(v>>>1|y<<31)^(v>>>8|y<<24)^v>>>7}function l(v,y){return(v>>>1|y<<31)^(v>>>8|y<<24)^(v>>>7|y<<25)}function d(v,y){return(v>>>19|y<<13)^(y>>>29|v<<3)^v>>>6}function h(v,y){return(v>>>19|y<<13)^(y>>>29|v<<3)^(v>>>6|y<<26)}function m(v,y){return v>>>0<y>>>0?1:0}return s.prototype._update=function(v){for(var y=this._w,g=this._ah|0,b=this._bh|0,x=this._ch|0,E=this._dh|0,I=this._eh|0,w=this._fh|0,p=this._gh|0,C=this._hh|0,S=this._al|0,O=this._bl|0,j=this._cl|0,Y=this._dl|0,G=this._el|0,L=this._fl|0,F=this._gl|0,V=this._hl|0,R=0;R<32;R+=2)y[R]=v.readInt32BE(R*4),y[R+1]=v.readInt32BE(R*4+4);for(;R<160;R+=2){var A=y[R-30],N=y[R-30+1],W=c(A,N),J=l(N,A);A=y[R-4],N=y[R-4+1];var Z=d(A,N),H=h(N,A),M=y[R-14],U=y[R-14+1],q=y[R-32],P=y[R-32+1],k=J+U|0,K=W+M+m(k,J)|0;k=k+H|0,K=K+Z+m(k,H)|0,k=k+P|0,K=K+q+m(k,P)|0,y[R]=K,y[R+1]=k}for(var $=0;$<160;$+=2){K=y[$],k=y[$+1];var ne=a(g,b,x),re=a(S,O,j),oe=f(g,S),fe=f(S,g),he=o(I,G),D=o(G,I),_=r[$],B=r[$+1],T=u(I,w,p),X=u(G,L,F),ee=V+D|0,te=C+he+m(ee,V)|0;ee=ee+X|0,te=te+T+m(ee,X)|0,ee=ee+B|0,te=te+_+m(ee,B)|0,ee=ee+k|0,te=te+K+m(ee,k)|0;var ce=fe+re|0,z=oe+ne+m(ce,fe)|0;C=p,V=F,p=w,F=L,w=I,L=G,G=Y+ee|0,I=E+te+m(G,Y)|0,E=x,Y=j,x=b,j=O,b=g,O=S,S=ee+ce|0,g=te+z+m(S,ee)|0}this._al=this._al+S|0,this._bl=this._bl+O|0,this._cl=this._cl+j|0,this._dl=this._dl+Y|0,this._el=this._el+G|0,this._fl=this._fl+L|0,this._gl=this._gl+F|0,this._hl=this._hl+V|0,this._ah=this._ah+g+m(this._al,S)|0,this._bh=this._bh+b+m(this._bl,O)|0,this._ch=this._ch+x+m(this._cl,j)|0,this._dh=this._dh+E+m(this._dl,Y)|0,this._eh=this._eh+I+m(this._el,G)|0,this._fh=this._fh+w+m(this._fl,L)|0,this._gh=this._gh+p+m(this._gl,F)|0,this._hh=this._hh+C+m(this._hl,V)|0},s.prototype._hash=function(){var v=t.allocUnsafe(64);function y(g,b,x){v.writeInt32BE(g,x),v.writeInt32BE(b,x+4)}return y(this._ah,this._al,0),y(this._bh,this._bl,8),y(this._ch,this._cl,16),y(this._dh,this._dl,24),y(this._eh,this._el,32),y(this._fh,this._fl,40),y(this._gh,this._gl,48),y(this._hh,this._hl,56),v},ui=s,ui}var fi,As;function z2(){if(As)return fi;As=1;var e=we(),n=eu(),t=Pt(),r=Ne().Buffer,i=new Array(160);function s(){this.init(),this._w=i,t.call(this,128,112)}return e(s,n),s.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},s.prototype._hash=function(){var u=r.allocUnsafe(48);function a(f,o,c){u.writeInt32BE(f,c),u.writeInt32BE(o,c+4)}return a(this._ah,this._al,0),a(this._bh,this._bl,8),a(this._ch,this._cl,16),a(this._dh,this._dl,24),a(this._eh,this._el,32),a(this._fh,this._fl,40),u},fi=s,fi}var Ms;function tu(){return Ms||(Ms=1,(function(e){e.exports=function(t){var r=t.toLowerCase(),i=e.exports[r];if(!i)throw new Error(r+" is not supported (we accept pull requests)");return new i},e.exports.sha=q2(),e.exports.sha1=H2(),e.exports.sha224=K2(),e.exports.sha256=Zc(),e.exports.sha384=z2(),e.exports.sha512=eu()})(ni)),ni.exports}var li,Us;function G2(){if(Us)return li;Us=1;var e=Ne().Buffer,n=on.Transform,t=v2().StringDecoder,r=we(),i=Ca();function s(u){n.call(this),this.hashMode=typeof u=="string",this.hashMode?this[u]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}return r(s,n),s.prototype.update=function(u,a,f){var o=i(u,a),c=this._update(o);return this.hashMode?this:(f&&(c=this._toString(c,f)),c)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(u,a,f){var o;try{this.hashMode?this._update(u):this.push(this._update(u))}catch(c){o=c}finally{f(o)}},s.prototype._flush=function(u){var a;try{this.push(this.__final())}catch(f){a=f}u(a)},s.prototype._finalOrDigest=function(u){var a=this.__final()||e.alloc(0);return u&&(a=this._toString(a,u,!0)),a},s.prototype._toString=function(u,a,f){if(this._decoder||(this._decoder=new t(a),this._encoding=a),this._encoding!==a)throw new Error("can’t switch encodings");var o=this._decoder.write(u);return f&&(o+=this._decoder.end()),o},li=s,li}var di,Ls;function W2(){if(Ls)return di;Ls=1;var e=we(),n=w2(),t=F2(),r=tu(),i=G2();function s(u){i.call(this,"digest"),this._hash=u}return e(s,i),s.prototype._update=function(u){this._hash.update(u)},s.prototype._final=function(){return this._hash.digest()},di=function(a){return a=a.toLowerCase(),a==="md5"?new n:a==="rmd160"||a==="ripemd160"?new t:new s(r(a))},di}var hi,js;function V2(){if(js)return hi;js=1;var e=Ne().Buffer;function n(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),i=0;i<r.length;i++)r[i]=255;for(var s=0;s<t.length;s++){var u=t.charAt(s),a=u.charCodeAt(0);if(r[a]!==255)throw new TypeError(u+" is ambiguous");r[a]=s}var f=t.length,o=t.charAt(0),c=Math.log(f)/Math.log(256),l=Math.log(256)/Math.log(f);function d(v){if((Array.isArray(v)||v instanceof Uint8Array)&&(v=e.from(v)),!e.isBuffer(v))throw new TypeError("Expected Buffer");if(v.length===0)return"";for(var y=0,g=0,b=0,x=v.length;b!==x&&v[b]===0;)b++,y++;for(var E=(x-b)*l+1>>>0,I=new Uint8Array(E);b!==x;){for(var w=v[b],p=0,C=E-1;(w!==0||p<g)&&C!==-1;C--,p++)w+=256*I[C]>>>0,I[C]=w%f>>>0,w=w/f>>>0;if(w!==0)throw new Error("Non-zero carry");g=p,b++}for(var S=E-g;S!==E&&I[S]===0;)S++;for(var O=o.repeat(y);S<E;++S)O+=t.charAt(I[S]);return O}function h(v){if(typeof v!="string")throw new TypeError("Expected String");if(v.length===0)return e.alloc(0);for(var y=0,g=0,b=0;v[y]===o;)g++,y++;for(var x=(v.length-y)*c+1>>>0,E=new Uint8Array(x);y<v.length;){var I=v.charCodeAt(y);if(I>255)return;var w=r[I];if(w===255)return;for(var p=0,C=x-1;(w!==0||p<b)&&C!==-1;C--,p++)w+=f*E[C]>>>0,E[C]=w%256>>>0,w=w/256>>>0;if(w!==0)throw new Error("Non-zero carry");b=p,y++}for(var S=x-b;S!==x&&E[S]===0;)S++;var O=e.allocUnsafe(g+(x-S));O.fill(0,0,g);for(var j=g;S!==x;)O[j++]=E[S++];return O}function m(v){var y=h(v);if(y)return y;throw new Error("Non-base"+f+" character")}return{encode:d,decodeUnsafe:h,decode:m}}return hi=n,hi}var pi,Ns;function Y2(){if(Ns)return pi;Ns=1;var e=V2(),n="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";return pi=e(n),pi}var gi,Fs;function $2(){if(Fs)return gi;Fs=1;var e=Y2(),n=Ne().Buffer;return gi=function(t){function r(a){var f=t(a);return e.encode(n.concat([a,f],a.length+4))}function i(a){var f=a.slice(0,-4),o=a.slice(-4),c=t(f);if(!(o[0]^c[0]|o[1]^c[1]|o[2]^c[2]|o[3]^c[3]))return f}function s(a){var f=e.decodeUnsafe(a);if(f)return i(f)}function u(a){var f=e.decode(a),o=i(f);if(!o)throw new Error("Invalid checksum");return o}return{encode:r,decode:u,decodeUnsafe:s}},gi}var yi,qs;function ru(){if(qs)return yi;qs=1;var e=W2(),n=$2();function t(r){var i=e("sha256").update(r).digest();return e("sha256").update(i).digest()}return yi=n(t),yi}var mi={},jt={},Ve={},Ur={},He={},Hs;function wa(){if(Hs)return He;Hs=1,Object.defineProperty(He,"__esModule",{value:!0}),He.InvalidChecksumError=He.InvalidSequenceComponentError=He.InvalidTypeError=He.InvalidPathLengthError=He.InvalidSchemeError=void 0;class e extends Error{constructor(){super("Invalid Scheme"),this.name="InvalidSchemeError"}}He.InvalidSchemeError=e;class n extends Error{constructor(){super("Invalid Path"),this.name="InvalidPathLengthError"}}He.InvalidPathLengthError=n;class t extends Error{constructor(){super("Invalid Type"),this.name="InvalidTypeError"}}He.InvalidTypeError=t;class r extends Error{constructor(){super("Invalid Sequence Component"),this.name="InvalidSequenceComponentError"}}He.InvalidSequenceComponentError=r;class i extends Error{constructor(){super("Invalid Checksum"),this.name="InvalidChecksumError"}}return He.InvalidChecksumError=i,He}var ve={},vi={};var Ks;function X2(){return Ks||(Ks=1,(function(e){var n=c2(),t=u2(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50;var i=2147483647;e.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=s(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function s(){try{var D=new Uint8Array(1),_={foo:function(){return 42}};return Object.setPrototypeOf(_,Uint8Array.prototype),Object.setPrototypeOf(D,_),D.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function u(D){if(D>i)throw new RangeError('The value "'+D+'" is invalid for option "size"');var _=new Uint8Array(D);return Object.setPrototypeOf(_,a.prototype),_}function a(D,_,B){if(typeof D=="number"){if(typeof _=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return l(D)}return f(D,_,B)}a.poolSize=8192;function f(D,_,B){if(typeof D=="string")return d(D,_);if(ArrayBuffer.isView(D))return m(D);if(D==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof D);if(oe(D,ArrayBuffer)||D&&oe(D.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(oe(D,SharedArrayBuffer)||D&&oe(D.buffer,SharedArrayBuffer)))return v(D,_,B);if(typeof D=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var T=D.valueOf&&D.valueOf();if(T!=null&&T!==D)return a.from(T,_,B);var X=y(D);if(X)return X;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof D[Symbol.toPrimitive]=="function")return a.from(D[Symbol.toPrimitive]("string"),_,B);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof D)}a.from=function(D,_,B){return f(D,_,B)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function o(D){if(typeof D!="number")throw new TypeError('"size" argument must be of type number');if(D<0)throw new RangeError('The value "'+D+'" is invalid for option "size"')}function c(D,_,B){return o(D),D<=0?u(D):_!==void 0?typeof B=="string"?u(D).fill(_,B):u(D).fill(_):u(D)}a.alloc=function(D,_,B){return c(D,_,B)};function l(D){return o(D),u(D<0?0:g(D)|0)}a.allocUnsafe=function(D){return l(D)},a.allocUnsafeSlow=function(D){return l(D)};function d(D,_){if((typeof _!="string"||_==="")&&(_="utf8"),!a.isEncoding(_))throw new TypeError("Unknown encoding: "+_);var B=x(D,_)|0,T=u(B),X=T.write(D,_);return X!==B&&(T=T.slice(0,X)),T}function h(D){for(var _=D.length<0?0:g(D.length)|0,B=u(_),T=0;T<_;T+=1)B[T]=D[T]&255;return B}function m(D){if(oe(D,Uint8Array)){var _=new Uint8Array(D);return v(_.buffer,_.byteOffset,_.byteLength)}return h(D)}function v(D,_,B){if(_<0||D.byteLength<_)throw new RangeError('"offset" is outside of buffer bounds');if(D.byteLength<_+(B||0))throw new RangeError('"length" is outside of buffer bounds');var T;return _===void 0&&B===void 0?T=new Uint8Array(D):B===void 0?T=new Uint8Array(D,_):T=new Uint8Array(D,_,B),Object.setPrototypeOf(T,a.prototype),T}function y(D){if(a.isBuffer(D)){var _=g(D.length)|0,B=u(_);return B.length===0||D.copy(B,0,0,_),B}if(D.length!==void 0)return typeof D.length!="number"||fe(D.length)?u(0):h(D);if(D.type==="Buffer"&&Array.isArray(D.data))return h(D.data)}function g(D){if(D>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return D|0}function b(D){return+D!=D&&(D=0),a.alloc(+D)}a.isBuffer=function(_){return _!=null&&_._isBuffer===!0&&_!==a.prototype},a.compare=function(_,B){if(oe(_,Uint8Array)&&(_=a.from(_,_.offset,_.byteLength)),oe(B,Uint8Array)&&(B=a.from(B,B.offset,B.byteLength)),!a.isBuffer(_)||!a.isBuffer(B))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(_===B)return 0;for(var T=_.length,X=B.length,ee=0,te=Math.min(T,X);ee<te;++ee)if(_[ee]!==B[ee]){T=_[ee],X=B[ee];break}return T<X?-1:X<T?1:0},a.isEncoding=function(_){switch(String(_).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(_,B){if(!Array.isArray(_))throw new TypeError('"list" argument must be an Array of Buffers');if(_.length===0)return a.alloc(0);var T;if(B===void 0)for(B=0,T=0;T<_.length;++T)B+=_[T].length;var X=a.allocUnsafe(B),ee=0;for(T=0;T<_.length;++T){var te=_[T];if(oe(te,Uint8Array))ee+te.length>X.length?a.from(te).copy(X,ee):Uint8Array.prototype.set.call(X,te,ee);else if(a.isBuffer(te))te.copy(X,ee);else throw new TypeError('"list" argument must be an Array of Buffers');ee+=te.length}return X};function x(D,_){if(a.isBuffer(D))return D.length;if(ArrayBuffer.isView(D)||oe(D,ArrayBuffer))return D.byteLength;if(typeof D!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof D);var B=D.length,T=arguments.length>2&&arguments[2]===!0;if(!T&&B===0)return 0;for(var X=!1;;)switch(_){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":return k(D).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B*2;case"hex":return B>>>1;case"base64":return ne(D).length;default:if(X)return T?-1:k(D).length;_=(""+_).toLowerCase(),X=!0}}a.byteLength=x;function E(D,_,B){var T=!1;if((_===void 0||_<0)&&(_=0),_>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0,_>>>=0,B<=_))return"";for(D||(D="utf8");;)switch(D){case"hex":return N(this,_,B);case"utf8":case"utf-8":return L(this,_,B);case"ascii":return R(this,_,B);case"latin1":case"binary":return A(this,_,B);case"base64":return G(this,_,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,_,B);default:if(T)throw new TypeError("Unknown encoding: "+D);D=(D+"").toLowerCase(),T=!0}}a.prototype._isBuffer=!0;function I(D,_,B){var T=D[_];D[_]=D[B],D[B]=T}a.prototype.swap16=function(){var _=this.length;if(_%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var B=0;B<_;B+=2)I(this,B,B+1);return this},a.prototype.swap32=function(){var _=this.length;if(_%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var B=0;B<_;B+=4)I(this,B,B+3),I(this,B+1,B+2);return this},a.prototype.swap64=function(){var _=this.length;if(_%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var B=0;B<_;B+=8)I(this,B,B+7),I(this,B+1,B+6),I(this,B+2,B+5),I(this,B+3,B+4);return this},a.prototype.toString=function(){var _=this.length;return _===0?"":arguments.length===0?L(this,0,_):E.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(_){if(!a.isBuffer(_))throw new TypeError("Argument must be a Buffer");return this===_?!0:a.compare(this,_)===0},a.prototype.inspect=function(){var _="",B=e.INSPECT_MAX_BYTES;return _=this.toString("hex",0,B).replace(/(.{2})/g,"$1 ").trim(),this.length>B&&(_+=" ... "),"<Buffer "+_+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(_,B,T,X,ee){if(oe(_,Uint8Array)&&(_=a.from(_,_.offset,_.byteLength)),!a.isBuffer(_))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof _);if(B===void 0&&(B=0),T===void 0&&(T=_?_.length:0),X===void 0&&(X=0),ee===void 0&&(ee=this.length),B<0||T>_.length||X<0||ee>this.length)throw new RangeError("out of range index");if(X>=ee&&B>=T)return 0;if(X>=ee)return-1;if(B>=T)return 1;if(B>>>=0,T>>>=0,X>>>=0,ee>>>=0,this===_)return 0;for(var te=ee-X,ce=T-B,z=Math.min(te,ce),Q=this.slice(X,ee),ie=_.slice(B,T),ae=0;ae<z;++ae)if(Q[ae]!==ie[ae]){te=Q[ae],ce=ie[ae];break}return te<ce?-1:ce<te?1:0};function w(D,_,B,T,X){if(D.length===0)return-1;if(typeof B=="string"?(T=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,fe(B)&&(B=X?0:D.length-1),B<0&&(B=D.length+B),B>=D.length){if(X)return-1;B=D.length-1}else if(B<0)if(X)B=0;else return-1;if(typeof _=="string"&&(_=a.from(_,T)),a.isBuffer(_))return _.length===0?-1:p(D,_,B,T,X);if(typeof _=="number")return _=_&255,typeof Uint8Array.prototype.indexOf=="function"?X?Uint8Array.prototype.indexOf.call(D,_,B):Uint8Array.prototype.lastIndexOf.call(D,_,B):p(D,[_],B,T,X);throw new TypeError("val must be string, number or Buffer")}function p(D,_,B,T,X){var ee=1,te=D.length,ce=_.length;if(T!==void 0&&(T=String(T).toLowerCase(),T==="ucs2"||T==="ucs-2"||T==="utf16le"||T==="utf-16le")){if(D.length<2||_.length<2)return-1;ee=2,te/=2,ce/=2,B/=2}function z(le,ue){return ee===1?le[ue]:le.readUInt16BE(ue*ee)}var Q;if(X){var ie=-1;for(Q=B;Q<te;Q++)if(z(D,Q)===z(_,ie===-1?0:Q-ie)){if(ie===-1&&(ie=Q),Q-ie+1===ce)return ie*ee}else ie!==-1&&(Q-=Q-ie),ie=-1}else for(B+ce>te&&(B=te-ce),Q=B;Q>=0;Q--){for(var ae=!0,se=0;se<ce;se++)if(z(D,Q+se)!==z(_,se)){ae=!1;break}if(ae)return Q}return-1}a.prototype.includes=function(_,B,T){return this.indexOf(_,B,T)!==-1},a.prototype.indexOf=function(_,B,T){return w(this,_,B,T,!0)},a.prototype.lastIndexOf=function(_,B,T){return w(this,_,B,T,!1)};function C(D,_,B,T){B=Number(B)||0;var X=D.length-B;T?(T=Number(T),T>X&&(T=X)):T=X;var ee=_.length;T>ee/2&&(T=ee/2);for(var te=0;te<T;++te){var ce=parseInt(_.substr(te*2,2),16);if(fe(ce))return te;D[B+te]=ce}return te}function S(D,_,B,T){return re(k(_,D.length-B),D,B,T)}function O(D,_,B,T){return re(K(_),D,B,T)}function j(D,_,B,T){return re(ne(_),D,B,T)}function Y(D,_,B,T){return re($(_,D.length-B),D,B,T)}a.prototype.write=function(_,B,T,X){if(B===void 0)X="utf8",T=this.length,B=0;else if(T===void 0&&typeof B=="string")X=B,T=this.length,B=0;else if(isFinite(B))B=B>>>0,isFinite(T)?(T=T>>>0,X===void 0&&(X="utf8")):(X=T,T=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ee=this.length-B;if((T===void 0||T>ee)&&(T=ee),_.length>0&&(T<0||B<0)||B>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");for(var te=!1;;)switch(X){case"hex":return C(this,_,B,T);case"utf8":case"utf-8":return S(this,_,B,T);case"ascii":case"latin1":case"binary":return O(this,_,B,T);case"base64":return j(this,_,B,T);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,_,B,T);default:if(te)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),te=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function G(D,_,B){return _===0&&B===D.length?n.fromByteArray(D):n.fromByteArray(D.slice(_,B))}function L(D,_,B){B=Math.min(D.length,B);for(var T=[],X=_;X<B;){var ee=D[X],te=null,ce=ee>239?4:ee>223?3:ee>191?2:1;if(X+ce<=B){var z,Q,ie,ae;switch(ce){case 1:ee<128&&(te=ee);break;case 2:z=D[X+1],(z&192)===128&&(ae=(ee&31)<<6|z&63,ae>127&&(te=ae));break;case 3:z=D[X+1],Q=D[X+2],(z&192)===128&&(Q&192)===128&&(ae=(ee&15)<<12|(z&63)<<6|Q&63,ae>2047&&(ae<55296||ae>57343)&&(te=ae));break;case 4:z=D[X+1],Q=D[X+2],ie=D[X+3],(z&192)===128&&(Q&192)===128&&(ie&192)===128&&(ae=(ee&15)<<18|(z&63)<<12|(Q&63)<<6|ie&63,ae>65535&&ae<1114112&&(te=ae))}}te===null?(te=65533,ce=1):te>65535&&(te-=65536,T.push(te>>>10&1023|55296),te=56320|te&1023),T.push(te),X+=ce}return V(T)}var F=4096;function V(D){var _=D.length;if(_<=F)return String.fromCharCode.apply(String,D);for(var B="",T=0;T<_;)B+=String.fromCharCode.apply(String,D.slice(T,T+=F));return B}function R(D,_,B){var T="";B=Math.min(D.length,B);for(var X=_;X<B;++X)T+=String.fromCharCode(D[X]&127);return T}function A(D,_,B){var T="";B=Math.min(D.length,B);for(var X=_;X<B;++X)T+=String.fromCharCode(D[X]);return T}function N(D,_,B){var T=D.length;(!_||_<0)&&(_=0),(!B||B<0||B>T)&&(B=T);for(var X="",ee=_;ee<B;++ee)X+=he[D[ee]];return X}function W(D,_,B){for(var T=D.slice(_,B),X="",ee=0;ee<T.length-1;ee+=2)X+=String.fromCharCode(T[ee]+T[ee+1]*256);return X}a.prototype.slice=function(_,B){var T=this.length;_=~~_,B=B===void 0?T:~~B,_<0?(_+=T,_<0&&(_=0)):_>T&&(_=T),B<0?(B+=T,B<0&&(B=0)):B>T&&(B=T),B<_&&(B=_);var X=this.subarray(_,B);return Object.setPrototypeOf(X,a.prototype),X};function J(D,_,B){if(D%1!==0||D<0)throw new RangeError("offset is not uint");if(D+_>B)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(_,B,T){_=_>>>0,B=B>>>0,T||J(_,B,this.length);for(var X=this[_],ee=1,te=0;++te<B&&(ee*=256);)X+=this[_+te]*ee;return X},a.prototype.readUintBE=a.prototype.readUIntBE=function(_,B,T){_=_>>>0,B=B>>>0,T||J(_,B,this.length);for(var X=this[_+--B],ee=1;B>0&&(ee*=256);)X+=this[_+--B]*ee;return X},a.prototype.readUint8=a.prototype.readUInt8=function(_,B){return _=_>>>0,B||J(_,1,this.length),this[_]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(_,B){return _=_>>>0,B||J(_,2,this.length),this[_]|this[_+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(_,B){return _=_>>>0,B||J(_,2,this.length),this[_]<<8|this[_+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(_,B){return _=_>>>0,B||J(_,4,this.length),(this[_]|this[_+1]<<8|this[_+2]<<16)+this[_+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(_,B){return _=_>>>0,B||J(_,4,this.length),this[_]*16777216+(this[_+1]<<16|this[_+2]<<8|this[_+3])},a.prototype.readIntLE=function(_,B,T){_=_>>>0,B=B>>>0,T||J(_,B,this.length);for(var X=this[_],ee=1,te=0;++te<B&&(ee*=256);)X+=this[_+te]*ee;return ee*=128,X>=ee&&(X-=Math.pow(2,8*B)),X},a.prototype.readIntBE=function(_,B,T){_=_>>>0,B=B>>>0,T||J(_,B,this.length);for(var X=B,ee=1,te=this[_+--X];X>0&&(ee*=256);)te+=this[_+--X]*ee;return ee*=128,te>=ee&&(te-=Math.pow(2,8*B)),te},a.prototype.readInt8=function(_,B){return _=_>>>0,B||J(_,1,this.length),this[_]&128?(255-this[_]+1)*-1:this[_]},a.prototype.readInt16LE=function(_,B){_=_>>>0,B||J(_,2,this.length);var T=this[_]|this[_+1]<<8;return T&32768?T|4294901760:T},a.prototype.readInt16BE=function(_,B){_=_>>>0,B||J(_,2,this.length);var T=this[_+1]|this[_]<<8;return T&32768?T|4294901760:T},a.prototype.readInt32LE=function(_,B){return _=_>>>0,B||J(_,4,this.length),this[_]|this[_+1]<<8|this[_+2]<<16|this[_+3]<<24},a.prototype.readInt32BE=function(_,B){return _=_>>>0,B||J(_,4,this.length),this[_]<<24|this[_+1]<<16|this[_+2]<<8|this[_+3]},a.prototype.readFloatLE=function(_,B){return _=_>>>0,B||J(_,4,this.length),t.read(this,_,!0,23,4)},a.prototype.readFloatBE=function(_,B){return _=_>>>0,B||J(_,4,this.length),t.read(this,_,!1,23,4)},a.prototype.readDoubleLE=function(_,B){return _=_>>>0,B||J(_,8,this.length),t.read(this,_,!0,52,8)},a.prototype.readDoubleBE=function(_,B){return _=_>>>0,B||J(_,8,this.length),t.read(this,_,!1,52,8)};function Z(D,_,B,T,X,ee){if(!a.isBuffer(D))throw new TypeError('"buffer" argument must be a Buffer instance');if(_>X||_<ee)throw new RangeError('"value" argument is out of bounds');if(B+T>D.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(_,B,T,X){if(_=+_,B=B>>>0,T=T>>>0,!X){var ee=Math.pow(2,8*T)-1;Z(this,_,B,T,ee,0)}var te=1,ce=0;for(this[B]=_&255;++ce<T&&(te*=256);)this[B+ce]=_/te&255;return B+T},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(_,B,T,X){if(_=+_,B=B>>>0,T=T>>>0,!X){var ee=Math.pow(2,8*T)-1;Z(this,_,B,T,ee,0)}var te=T-1,ce=1;for(this[B+te]=_&255;--te>=0&&(ce*=256);)this[B+te]=_/ce&255;return B+T},a.prototype.writeUint8=a.prototype.writeUInt8=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,1,255,0),this[B]=_&255,B+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,2,65535,0),this[B]=_&255,this[B+1]=_>>>8,B+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,2,65535,0),this[B]=_>>>8,this[B+1]=_&255,B+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,4,4294967295,0),this[B+3]=_>>>24,this[B+2]=_>>>16,this[B+1]=_>>>8,this[B]=_&255,B+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,4,4294967295,0),this[B]=_>>>24,this[B+1]=_>>>16,this[B+2]=_>>>8,this[B+3]=_&255,B+4},a.prototype.writeIntLE=function(_,B,T,X){if(_=+_,B=B>>>0,!X){var ee=Math.pow(2,8*T-1);Z(this,_,B,T,ee-1,-ee)}var te=0,ce=1,z=0;for(this[B]=_&255;++te<T&&(ce*=256);)_<0&&z===0&&this[B+te-1]!==0&&(z=1),this[B+te]=(_/ce>>0)-z&255;return B+T},a.prototype.writeIntBE=function(_,B,T,X){if(_=+_,B=B>>>0,!X){var ee=Math.pow(2,8*T-1);Z(this,_,B,T,ee-1,-ee)}var te=T-1,ce=1,z=0;for(this[B+te]=_&255;--te>=0&&(ce*=256);)_<0&&z===0&&this[B+te+1]!==0&&(z=1),this[B+te]=(_/ce>>0)-z&255;return B+T},a.prototype.writeInt8=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,1,127,-128),_<0&&(_=255+_+1),this[B]=_&255,B+1},a.prototype.writeInt16LE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,2,32767,-32768),this[B]=_&255,this[B+1]=_>>>8,B+2},a.prototype.writeInt16BE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,2,32767,-32768),this[B]=_>>>8,this[B+1]=_&255,B+2},a.prototype.writeInt32LE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,4,2147483647,-2147483648),this[B]=_&255,this[B+1]=_>>>8,this[B+2]=_>>>16,this[B+3]=_>>>24,B+4},a.prototype.writeInt32BE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,4,2147483647,-2147483648),_<0&&(_=4294967295+_+1),this[B]=_>>>24,this[B+1]=_>>>16,this[B+2]=_>>>8,this[B+3]=_&255,B+4};function H(D,_,B,T,X,ee){if(B+T>D.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function M(D,_,B,T,X){return _=+_,B=B>>>0,X||H(D,_,B,4),t.write(D,_,B,T,23,4),B+4}a.prototype.writeFloatLE=function(_,B,T){return M(this,_,B,!0,T)},a.prototype.writeFloatBE=function(_,B,T){return M(this,_,B,!1,T)};function U(D,_,B,T,X){return _=+_,B=B>>>0,X||H(D,_,B,8),t.write(D,_,B,T,52,8),B+8}a.prototype.writeDoubleLE=function(_,B,T){return U(this,_,B,!0,T)},a.prototype.writeDoubleBE=function(_,B,T){return U(this,_,B,!1,T)},a.prototype.copy=function(_,B,T,X){if(!a.isBuffer(_))throw new TypeError("argument should be a Buffer");if(T||(T=0),!X&&X!==0&&(X=this.length),B>=_.length&&(B=_.length),B||(B=0),X>0&&X<T&&(X=T),X===T||_.length===0||this.length===0)return 0;if(B<0)throw new RangeError("targetStart out of bounds");if(T<0||T>=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),_.length-B<X-T&&(X=_.length-B+T);var ee=X-T;return this===_&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(B,T,X):Uint8Array.prototype.set.call(_,this.subarray(T,X),B),ee},a.prototype.fill=function(_,B,T,X){if(typeof _=="string"){if(typeof B=="string"?(X=B,B=0,T=this.length):typeof T=="string"&&(X=T,T=this.length),X!==void 0&&typeof X!="string")throw new TypeError("encoding must be a string");if(typeof X=="string"&&!a.isEncoding(X))throw new TypeError("Unknown encoding: "+X);if(_.length===1){var ee=_.charCodeAt(0);(X==="utf8"&&ee<128||X==="latin1")&&(_=ee)}}else typeof _=="number"?_=_&255:typeof _=="boolean"&&(_=Number(_));if(B<0||this.length<B||this.length<T)throw new RangeError("Out of range index");if(T<=B)return this;B=B>>>0,T=T===void 0?this.length:T>>>0,_||(_=0);var te;if(typeof _=="number")for(te=B;te<T;++te)this[te]=_;else{var ce=a.isBuffer(_)?_:a.from(_,X),z=ce.length;if(z===0)throw new TypeError('The value "'+_+'" is invalid for argument "value"');for(te=0;te<T-B;++te)this[te+B]=ce[te%z]}return this};var q=/[^+/0-9A-Za-z-_]/g;function P(D){if(D=D.split("=")[0],D=D.trim().replace(q,""),D.length<2)return"";for(;D.length%4!==0;)D=D+"=";return D}function k(D,_){_=_||1/0;for(var B,T=D.length,X=null,ee=[],te=0;te<T;++te){if(B=D.charCodeAt(te),B>55295&&B<57344){if(!X){if(B>56319){(_-=3)>-1&&ee.push(239,191,189);continue}else if(te+1===T){(_-=3)>-1&&ee.push(239,191,189);continue}X=B;continue}if(B<56320){(_-=3)>-1&&ee.push(239,191,189),X=B;continue}B=(X-55296<<10|B-56320)+65536}else X&&(_-=3)>-1&&ee.push(239,191,189);if(X=null,B<128){if((_-=1)<0)break;ee.push(B)}else if(B<2048){if((_-=2)<0)break;ee.push(B>>6|192,B&63|128)}else if(B<65536){if((_-=3)<0)break;ee.push(B>>12|224,B>>6&63|128,B&63|128)}else if(B<1114112){if((_-=4)<0)break;ee.push(B>>18|240,B>>12&63|128,B>>6&63|128,B&63|128)}else throw new Error("Invalid code point")}return ee}function K(D){for(var _=[],B=0;B<D.length;++B)_.push(D.charCodeAt(B)&255);return _}function $(D,_){for(var B,T,X,ee=[],te=0;te<D.length&&!((_-=2)<0);++te)B=D.charCodeAt(te),T=B>>8,X=B%256,ee.push(X),ee.push(T);return ee}function ne(D){return n.toByteArray(P(D))}function re(D,_,B,T){for(var X=0;X<T&&!(X+B>=_.length||X>=D.length);++X)_[X+B]=D[X];return X}function oe(D,_){return D instanceof _||D!=null&&D.constructor!=null&&D.constructor.name!=null&&D.constructor.name===_.name}function fe(D){return D!==D}var he=(function(){for(var D="0123456789abcdef",_=new Array(256),B=0;B<16;++B)for(var T=B*16,X=0;X<16;++X)_[T+X]=D[B]+D[X];return _})()})(vi)),vi}var Pe=X2();const $e=Pe.Buffer.from&&Pe.Buffer.alloc&&Pe.Buffer.allocUnsafe&&Pe.Buffer.allocUnsafeSlow?Pe.Buffer.from:e=>new Pe.Buffer(e);function Xe(e,n){const t=(r,i)=>n(r,i)>>>0;return t.signed=n,t.unsigned=t,t.model=e,t}const nu=Xe("crc1",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=~~n,r=0;for(let i=0;i<e.length;i++){const s=e[i];r+=s}return t+=r%256,t%256});let qo=[0,7,14,9,28,27,18,21,56,63,54,49,36,35,42,45,112,119,126,121,108,107,98,101,72,79,70,65,84,83,90,93,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144,151,158,153,140,139,130,133,168,175,166,161,180,179,186,189,199,192,201,206,219,220,213,210,255,248,241,246,227,228,237,234,183,176,185,190,171,172,165,162,143,136,129,134,147,148,157,154,39,32,41,46,59,60,53,50,31,24,17,22,3,4,13,10,87,80,89,94,75,76,69,66,111,104,97,102,115,116,125,122,137,142,135,128,149,146,155,156,177,182,191,184,173,170,163,164,249,254,247,240,229,226,235,236,193,198,207,200,221,218,211,212,105,110,103,96,117,114,123,124,81,86,95,88,77,74,67,68,25,30,23,16,5,2,11,12,33,38,47,40,61,58,51,52,78,73,64,71,82,85,92,91,118,113,120,127,106,109,100,99,62,57,48,55,34,37,44,43,6,1,8,15,26,29,20,19,174,169,160,167,178,181,188,187,150,145,152,159,138,141,132,131,222,217,208,215,194,197,204,203,230,225,232,239,250,253,244,243];typeof Int32Array<"u"&&(qo=new Int32Array(qo));const iu=Xe("crc-8",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=~~n;for(let r=0;r<e.length;r++){const i=e[r];t=qo[(t^i)&255]&255}return t});let Ho=[0,94,188,226,97,63,221,131,194,156,126,32,163,253,31,65,157,195,33,127,252,162,64,30,95,1,227,189,62,96,130,220,35,125,159,193,66,28,254,160,225,191,93,3,128,222,60,98,190,224,2,92,223,129,99,61,124,34,192,158,29,67,161,255,70,24,250,164,39,121,155,197,132,218,56,102,229,187,89,7,219,133,103,57,186,228,6,88,25,71,165,251,120,38,196,154,101,59,217,135,4,90,184,230,167,249,27,69,198,152,122,36,248,166,68,26,153,199,37,123,58,100,134,216,91,5,231,185,140,210,48,110,237,179,81,15,78,16,242,172,47,113,147,205,17,79,173,243,112,46,204,146,211,141,111,49,178,236,14,80,175,241,19,77,206,144,114,44,109,51,209,143,12,82,176,238,50,108,142,208,83,13,239,177,240,174,76,18,145,207,45,115,202,148,118,40,171,245,23,73,8,86,180,234,105,55,213,139,87,9,235,181,54,104,138,212,149,203,41,119,244,170,72,22,233,183,85,11,136,214,52,106,43,117,151,201,74,20,246,168,116,42,200,150,21,75,169,247,182,232,10,84,215,137,107,53];typeof Int32Array<"u"&&(Ho=new Int32Array(Ho));const ou=Xe("dallas-1-wire",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=~~n;for(let r=0;r<e.length;r++){const i=e[r];t=Ho[(t^i)&255]&255}return t});let Ko=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];typeof Int32Array<"u"&&(Ko=new Int32Array(Ko));const au=Xe("crc-16",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=~~n;for(let r=0;r<e.length;r++){const i=e[r];t=(Ko[(t^i)&255]^t>>8)&65535}return t});let zo=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];typeof Int32Array<"u"&&(zo=new Int32Array(zo));const su=Xe("ccitt",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=typeof n<"u"?~~n:65535;for(let r=0;r<e.length;r++){const i=e[r];t=(zo[(t>>8^i)&255]^t<<8)&65535}return t});let Go=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];typeof Int32Array<"u"&&(Go=new Int32Array(Go));const cu=Xe("crc-16-modbus",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=typeof n<"u"?~~n:65535;for(let r=0;r<e.length;r++){const i=e[r];t=(Go[(t^i)&255]^t>>8)&65535}return t}),uu=Xe("xmodem",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=typeof n<"u"?~~n:0;for(let r=0;r<e.length;r++){const i=e[r];let s=t>>>8&255;s^=i&255,s^=s>>>4,t=t<<8&65535,t^=s,s=s<<5&65535,t^=s,s=s<<7&65535,t^=s}return t});let Wo=[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960];typeof Int32Array<"u"&&(Wo=new Int32Array(Wo));const fu=Xe("kermit",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=typeof n<"u"?~~n:0;for(let r=0;r<e.length;r++){const i=e[r];t=(Wo[(t^i)&255]^t>>8)&65535}return t});let Vo=[0,8801531,9098509,825846,9692897,1419802,1651692,10452759,10584377,2608578,2839604,11344079,3303384,11807523,12104405,4128302,12930697,4391538,5217156,13227903,5679208,13690003,14450021,5910942,6606768,14844747,15604413,6837830,16197969,7431594,8256604,16494759,840169,9084178,8783076,18463,10434312,1670131,1434117,9678590,11358416,2825259,2590173,10602790,4109873,12122826,11821884,3289031,13213536,5231515,4409965,12912278,5929345,14431610,13675660,5693559,6823513,15618722,14863188,6588335,16513208,8238147,7417269,16212302,1680338,10481449,9664223,1391140,9061683,788936,36926,8838341,12067563,4091408,3340262,11844381,2868234,11372785,10555655,2579964,14478683,5939616,5650518,13661357,5180346,13190977,12967607,4428364,8219746,16457881,16234863,7468436,15633027,6866552,6578062,14816117,1405499,9649856,10463030,1698765,8819930,55329,803287,9047340,11858690,3325945,4072975,12086004,2561507,10574104,11387118,2853909,13647026,5664841,5958079,14460228,4446803,12949160,13176670,5194661,7454091,16249200,16476294,8201341,14834538,6559633,6852199,15647388,3360676,11864927,12161705,4185682,10527045,2551230,2782280,11286707,9619101,1346150,1577872,10379115,73852,8875143,9172337,899466,16124205,7357910,8182816,16421083,6680524,14918455,15678145,6911546,5736468,13747439,14507289,5968354,12873461,4334094,5159928,13170435,4167245,12180150,11879232,3346363,11301036,2767959,2532769,10545498,10360692,1596303,1360505,9604738,913813,9157998,8856728,92259,16439492,8164415,7343561,16138546,6897189,15692510,14936872,6662099,5986813,14488838,13733104,5750795,13156124,5174247,4352529,12855018,2810998,11315341,10498427,2522496,12124823,4148844,3397530,11901793,9135439,862644,110658,8912057,1606574,10407765,9590435,1317464,15706879,6940164,6651890,14889737,8145950,16384229,16161043,7394792,5123014,13133629,12910283,4370992,14535975,5997020,5707818,13718737,2504095,10516836,11329682,2796649,11916158,3383173,4130419,12143240,8893606,129117,876971,9121104,1331783,9576124,10389322,1625009,14908182,6633453,6925851,15721184,7380471,16175372,16402682,8127489,4389423,12891860,13119266,5137369,13704398,5722165,6015427,14517560];typeof Int32Array<"u"&&(Vo=new Int32Array(Vo));const lu=Xe("crc-24",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=typeof n<"u"?~~n:11994318;for(let r=0;r<e.length;r++){const i=e[r];t=(Vo[(t>>16^i)&255]^t<<8)&16777215}return t});let Yo=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(Yo=new Int32Array(Yo));const du=Xe("crc-32",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=n===0?0:~~n^-1;for(let r=0;r<e.length;r++){const i=e[r];t=Yo[(t^i)&255]^t>>>8}return t^-1});let $o=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&($o=new Int32Array($o));const hu=Xe("jam",function(e,n=-1){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=n===0?0:~~n;for(let r=0;r<e.length;r++){const i=e[r];t=$o[(t^i)&255]^t>>>8}return t}),Q2={crc1:nu,crc8:iu,crc81wire:ou,crc16:au,crc16ccitt:su,crc16modbus:cu,crc16xmodem:uu,crc16kermit:fu,crc24:lu,crc32:du,crcjam:hu},J2=Object.freeze(Object.defineProperty({__proto__:null,crc1:nu,crc16:au,crc16ccitt:su,crc16kermit:fu,crc16modbus:cu,crc16xmodem:uu,crc24:lu,crc32:du,crc8:iu,crc81wire:ou,crcjam:hu,default:Q2},Symbol.toStringTag,{value:"Module"})),Z2=dt(J2);var zs;function pt(){if(zs)return ve;zs=1;var e=ve&&ve.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.bufferXOR=ve.setDifference=ve.arrayContains=ve.arraysEqual=ve.hasPrefix=ve.isURType=ve.intToBytes=ve.toUint32=ve.getCRCHex=ve.getCRC=ve.split=ve.partition=ve.sha256Hash=void 0;const n=e(tu()),t=Z2,r=y=>n.default("sha256").update(y).digest();ve.sha256Hash=r;const i=(y,g)=>y.match(new RegExp(".{1,"+g+"}","g"))||[y];ve.partition=i;const s=(y,g)=>[y.slice(0,-g),y.slice(-g)];ve.split=s;const u=y=>t.crc32(y);ve.getCRC=u;const a=y=>t.crc32(y).toString(16).padStart(8,"0");ve.getCRCHex=a;const f=y=>y>>>0;ve.toUint32=f;const o=y=>{const g=new ArrayBuffer(4);return new DataView(g).setUint32(0,y,!1),Buffer.from(g)};ve.intToBytes=o;const c=y=>y.split("").every((g,b)=>{let x=y.charCodeAt(b);return 97<=x&&x<=122||48<=x&&x<=57||x===45});ve.isURType=c;const l=(y,g)=>y.indexOf(g)===0;ve.hasPrefix=l;const d=(y,g)=>y.length!==g.length?!1:y.every(b=>g.includes(b));ve.arraysEqual=d;const h=(y,g)=>g.every(b=>y.includes(b));ve.arrayContains=h;const m=(y,g)=>y.filter(b=>g.indexOf(b)<0);ve.setDifference=m;const v=(y,g)=>{const b=Math.max(y.length,g.length),x=Buffer.allocUnsafe(b);for(let E=0;E<b;++E)x[E]=y[E]^g[E];return x};return ve.bufferXOR=v,ve}var ut={},Gr={exports:{}},el=Gr.exports,Gs;function tl(){return Gs||(Gs=1,(function(e){(function(n,t){e.exports?e.exports=t():n.CBOR=t()})(el,function(){var n=(function(){function t(w){this.$hex=w}t.prototype={length:function(){return this.$hex.length/2},toString:function(w){if(!w||w==="hex"||w===16)return this.$hex;if(w==="utf-8"){for(var p="",C=0;C<this.$hex.length;C+=2)p+="%"+this.$hex.substring(C,C+2);return decodeURIComponent(p)}if(w==="latin"){for(var p=[],C=0;C<this.$hex.length;C+=2)p.push(parseInt(this.$hex.substring(C,C+2),16));return String.fromCharCode.apply(String,p)}throw new Error("Unrecognised format: "+w)}},t.fromLatinString=function(w){for(var p="",C=0;C<w.length;C++){var S=w.charCodeAt(C).toString(16);S.length===1&&(S="0"+S),p+=S}return new t(p)},t.fromUtf8String=function(w){for(var p=encodeURIComponent(w),C="",S=0;S<p.length;S++)if(p.charAt(S)==="%")C+=p.substring(S+1,S+3),S+=2;else{var O=p.charCodeAt(S).toString(16);O.length<2&&(O="0"+O),C+=O}return new t(C)};var r=[],i={},s=function(w){return function(){throw new Error(w+" not implemented")}};function u(){}u.prototype={peekByte:s("peekByte"),readByte:s("readByte"),readChunk:s("readChunk"),readFloat16:function(){var w=this.readUint16(),p=(w&32767)>>10,C=w&1023,S=w&32768;if(p===31)return C===0?S?-1/0:1/0:NaN;var O=p?Math.pow(2,p-25)*(1024+C):Math.pow(2,-24)*C;return S?-O:O},readFloat32:function(){var w=this.readUint32(),p=(w&2147483647)>>23,C=w&8388607,S=w&2147483648;if(p===255)return C===0?S?-1/0:1/0:NaN;var O=p?Math.pow(2,p-23-127)*(8388608+C):Math.pow(2,-149)*C;return S?-O:O},readFloat64:function(){var w=this.readUint32(),p=this.readUint32(),C=w>>20&2047,S=(w&1048575)*4294967296+p,O=w&2147483648;if(C===2047)return S===0?O?-1/0:1/0:NaN;var j=C?Math.pow(2,C-52-1023)*(4503599627370496+S):Math.pow(2,-1074)*S;return O?-j:j},readUint16:function(){return this.readByte()*256+this.readByte()},readUint32:function(){return this.readUint16()*65536+this.readUint16()},readUint64:function(){return this.readUint32()*4294967296+this.readUint32()}};function a(){}a.prototype={writeByte:s("writeByte"),result:s("result"),writeFloat16:s("writeFloat16"),writeFloat32:s("writeFloat32"),writeFloat64:s("writeFloat64"),writeUint16:function(w){this.writeByte(w>>8&255),this.writeByte(w&255)},writeUint32:function(w){this.writeUint16(w>>16&65535),this.writeUint16(w&65535)},writeUint64:function(w){if(w>=9007199254740992||w<=-9007199254740992)throw new Error("Cannot encode Uint64 of: "+w+" magnitude to big (floating point errors)");this.writeUint32(Math.floor(w/4294967296)),this.writeUint32(w%4294967296)},writeString:s("writeString"),canWriteBinary:function(w){return!1},writeBinary:s("writeChunk")};function f(w){var p=w.readByte(),C=p>>5,S=p&31;return{type:C,value:S}}function o(w,p){var C=w.value;if(C<24)return C;if(C==24)return p.readByte();if(C==25)return p.readUint16();if(C==26)return p.readUint32();if(C==27)return p.readUint64();if(C==31)return null;s("Additional info: "+C)()}function c(w,p,C){C.writeByte(w<<5|p)}function l(w,p,C){var S=w<<5;p<24?C.writeByte(S|p):p<256?(C.writeByte(S|24),C.writeByte(p)):p<65536?(C.writeByte(S|25),C.writeUint16(p)):p<4294967296?(C.writeByte(S|26),C.writeUint32(p)):(C.writeByte(S|27),C.writeUint64(p))}var d=new Error;function h(w){var p=f(w);switch(p.type){case 0:return o(p,w);case 1:return-1-o(p,w);case 2:return w.readChunk(o(p,w));case 3:var C=w.readChunk(o(p,w));return C.toString("utf-8");case 4:case 5:var S=o(p,w),F=[];if(S!==null){p.type===5&&(S*=2);for(var O=0;O<S;O++)F[O]=h(w)}else for(var j;(j=h(w))!==d;)F.push(j);if(p.type===5){for(var Y={},O=0;O<F.length;O+=2)Y[F[O]]=F[O+1];return Y}else return F;case 6:var G=o(p,w),L=i[G],F=h(w);return L?L(F):F;case 7:if(p.value===25)return w.readFloat16();if(p.value===26)return w.readFloat32();if(p.value===27)return w.readFloat64();switch(o(p,w)){case 20:return!1;case 21:return!0;case 22:return null;case 23:return;case null:return d;default:throw new Error("Unknown fixed value: "+p.value)}default:throw new Error("Unsupported header: "+JSON.stringify(p))}throw new Error("not implemented yet")}function m(w,p){for(var C=0;C<r.length;C++){var S=r[C].fn(w);if(S!==void 0)return l(6,r[C].tag,p),m(S,p)}if(w&&typeof w.toCBOR=="function"&&(w=w.toCBOR()),w===!1)l(7,20,p);else if(w===!0)l(7,21,p);else if(w===null)l(7,22,p);else if(w===void 0)l(7,23,p);else if(typeof w=="number")Math.floor(w)===w&&w<9007199254740992&&w>-9007199254740992?w<0?l(1,-1-w,p):l(0,w,p):(c(7,27,p),p.writeFloat64(w));else if(typeof w=="string")p.writeString(w,function(j){l(3,j,p)});else if(p.canWriteBinary(w))p.writeBinary(w,function(j){l(2,j,p)});else if(typeof w=="object")if(g.config.useToJSON&&typeof w.toJSON=="function"&&(w=w.toJSON()),Array.isArray(w)){l(4,w.length,p);for(var C=0;C<w.length;C++)m(w[C],p)}else{var O=Object.keys(w);l(5,O.length,p);for(var C=0;C<O.length;C++)m(O[C],p),m(w[O[C]],p)}else throw new Error("CBOR encoding not supported: "+w)}var v=[],y=[],g={config:{useToJSON:!0},addWriter:function(w,p){typeof w=="string"?y.push(function(C){if(w===C)return p(C)}):y.push(w)},addReader:function(w,p){typeof w=="string"?v.push(function(C,S){if(w===S)return p(C,S)}):v.push(w)},encode:function(w,p){for(var C=0;C<y.length;C++){var S=y[C],O=S(p);if(O)return m(w,O),O.result()}throw new Error("Unsupported output format: "+p)},decode:function(w,p){for(var C=0;C<v.length;C++){var S=v[C],O=S(w,p);if(O)return h(O)}throw new Error("Unsupported input format: "+p)},addSemanticEncode:function(w,p){if(typeof w!="number"||w%1!==0||w<0)throw new Error("Tag must be a positive integer");return r.push({tag:w,fn:p}),this},addSemanticDecode:function(w,p){if(typeof w!="number"||w%1!==0||w<0)throw new Error("Tag must be a positive integer");return i[w]=p,this},Reader:u,Writer:a};function b(w){this.buffer=w,this.pos=0}b.prototype=Object.create(u.prototype),b.prototype.peekByte=function(){return this.buffer[this.pos]},b.prototype.readByte=function(){return this.buffer[this.pos++]},b.prototype.readUint16=function(){var w=this.buffer.readUInt16BE(this.pos);return this.pos+=2,w},b.prototype.readUint32=function(){var w=this.buffer.readUInt32BE(this.pos);return this.pos+=4,w},b.prototype.readFloat32=function(){var w=this.buffer.readFloatBE(this.pos);return this.pos+=4,w},b.prototype.readFloat64=function(){var w=this.buffer.readDoubleBE(this.pos);return this.pos+=8,w},b.prototype.readChunk=function(w){var p=Buffer.alloc(w);return this.buffer.copy(p,0,this.pos,this.pos+=w),p};function x(w){this.byteLength=0,this.defaultBufferLength=16384,this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0,this.completeBuffers=[],this.stringFormat=w}x.prototype=Object.create(a.prototype),x.prototype.writeByte=function(w){this.latestBuffer[this.latestBufferOffset++]=w,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0),this.byteLength++},x.prototype.writeFloat32=function(w){var p=Buffer.alloc(4);p.writeFloatBE(w,0),this.writeBuffer(p)},x.prototype.writeFloat64=function(w){var p=Buffer.alloc(8);p.writeDoubleBE(w,0),this.writeBuffer(p)},x.prototype.writeString=function(w,p){var C=Buffer.from(w,"utf-8");p(C.length),this.writeBuffer(C)},x.prototype.canWriteBinary=function(w){return w instanceof Buffer},x.prototype.writeBinary=function(w,p){p(w.length),this.writeBuffer(w)},x.prototype.writeBuffer=function(w){if(!(w instanceof Buffer))throw new TypeError("BufferWriter only accepts Buffers");this.latestBufferOffset?this.latestBuffer.length-this.latestBufferOffset>=w.length?(w.copy(this.latestBuffer,this.latestBufferOffset),this.latestBufferOffset+=w.length,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0)):(this.completeBuffers.push(this.latestBuffer.slice(0,this.latestBufferOffset)),this.completeBuffers.push(w),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0):this.completeBuffers.push(w),this.byteLength+=w.length},x.prototype.result=function(){for(var w=Buffer.alloc(this.byteLength),p=0,C=0;C<this.completeBuffers.length;C++){var S=this.completeBuffers[C];S.copy(w,p,0,S.length),p+=S.length}return this.latestBufferOffset&&this.latestBuffer.copy(w,p,0,this.latestBufferOffset),this.stringFormat?w.toString(this.stringFormat):w},typeof Buffer=="function"&&(g.addReader(function(w,p){if(w instanceof Buffer)return new b(w);if(p==="hex"||p==="base64"){var C=Buffer.from(w,p);return new b(C)}}),g.addWriter(function(w){if(!w||w==="buffer")return new x;if(w==="hex"||w==="base64")return new x(w)}));function E(w){this.hex=w,this.pos=0}E.prototype=Object.create(u.prototype),E.prototype.peekByte=function(){var w=this.hex.substring(this.pos,2);return parseInt(w,16)},E.prototype.readByte=function(){var w=this.hex.substring(this.pos,this.pos+2);return this.pos+=2,parseInt(w,16)},E.prototype.readChunk=function(w){var p=this.hex.substring(this.pos,this.pos+w*2);return this.pos+=w*2,typeof Buffer=="function"?Buffer.from(p,"hex"):new t(p)};function I(w){this.$hex="",this.finalFormat=w||"hex"}return I.prototype=Object.create(a.prototype),I.prototype.writeByte=function(w){if(w<0||w>255)throw new Error("Byte value out of range: "+w);var p=w.toString(16);p.length==1&&(p="0"+p),this.$hex+=p},I.prototype.canWriteBinary=function(w){return w instanceof t||typeof Buffer=="function"&&w instanceof Buffer},I.prototype.writeBinary=function(w,p){if(w instanceof t)p(w.length()),this.$hex+=w.$hex;else if(typeof Buffer=="function"&&w instanceof Buffer)p(w.length),this.$hex+=w.toString("hex");else throw new TypeError("HexWriter only accepts BinaryHex or Buffers")},I.prototype.result=function(){return this.finalFormat==="buffer"&&typeof Buffer=="function"?Buffer.from(this.$hex,"hex"):new t(this.$hex).toString(this.finalFormat)},I.prototype.writeString=function(w,p){var C=t.fromUtf8String(w);p(C.length()),this.$hex+=C.$hex},g.addReader(function(w,p){if(w instanceof t||w.$hex)return new E(w.$hex);if(p==="hex")return new E(w)}),g.addWriter(function(w){if(w==="hex")return new I}),g})();return n.addSemanticEncode(0,function(t){if(t instanceof Date)return t.toISOString()}).addSemanticDecode(0,function(t){return new Date(t)}).addSemanticDecode(1,function(t){return new Date(t)}),n})})(Gr)),Gr.exports}var Ws;function pu(){if(Ws)return ut;Ws=1,Object.defineProperty(ut,"__esModule",{value:!0}),ut.cborDecode=ut.cborEncode=void 0;const e=tl(),n=r=>e.encode(r);ut.cborEncode=n;const t=r=>e.decode(Buffer.isBuffer(r)?r:Buffer.from(r,"hex"));return ut.cborDecode=t,ut}var Vs;function gu(){if(Vs)return Ur;Vs=1,Object.defineProperty(Ur,"__esModule",{value:!0});const e=wa(),n=pt(),t=pu();class r{constructor(s,u="bytes"){if(this._cborPayload=s,this._type=u,!n.isURType(this._type))throw new e.InvalidTypeError}static fromBuffer(s){return new r(t.cborEncode(s))}static from(s,u){return r.fromBuffer(Buffer.from(s,u))}decodeCBOR(){return t.cborDecode(this._cborPayload)}get type(){return this._type}get cbor(){return this._cborPayload}equals(s){return this.type===s.type&&this.cbor.equals(s.cbor)}}return Ur.default=r,Ur}var yt={},Ze={},bi={exports:{}},xi={},Ci={},_i={},wi,Ys;function rl(){if(Ys)return wi;Ys=1;var e=un()(),n=ht(),t=n("Object.prototype.toString"),r=function(a){return e&&a&&typeof a=="object"&&Symbol.toStringTag in a?!1:t(a)==="[object Arguments]"},i=function(a){return r(a)?!0:a!==null&&typeof a=="object"&&"length"in a&&typeof a.length=="number"&&a.length>=0&&t(a)!=="[object Array]"&&"callee"in a&&t(a.callee)==="[object Function]"},s=(function(){return r(arguments)})();return r.isLegacyArguments=i,wi=s?r:i,wi}var Bi,$s;function nl(){if($s)return Bi;$s=1;var e=ht(),n=un()(),t=y2(),r=sn(),i;if(n){var s=e("RegExp.prototype.exec"),u={},a=function(){throw u},f={toString:a,valueOf:a};typeof Symbol.toPrimitive=="symbol"&&(f[Symbol.toPrimitive]=a),i=function(d){if(!d||typeof d!="object")return!1;var h=r(d,"lastIndex"),m=h&&t(h,"value");if(!m)return!1;try{s(d,f)}catch(v){return v===u}}}else{var o=e("Object.prototype.toString"),c="[object RegExp]";i=function(d){return!d||typeof d!="object"&&typeof d!="function"?!1:o(d)===c}}return Bi=i,Bi}var Si,Xs;function il(){if(Xs)return Si;Xs=1;var e=ht(),n=nl(),t=e("RegExp.prototype.exec"),r=an();return Si=function(s){if(!n(s))throw new r("`regex` must be a RegExp");return function(a){return t(s,a)!==null}},Si}var Ei,Qs;function ol(){if(Qs)return Ei;Qs=1;const e=(function*(){}).constructor;return Ei=()=>e,Ei}var Pi,Js;function al(){if(Js)return Pi;Js=1;var e=ht(),n=il(),t=n(/^\s*(?:function)?\*/),r=un()(),i=Kc(),s=e("Object.prototype.toString"),u=e("Function.prototype.toString"),a=ol();return Pi=function(o){if(typeof o!="function")return!1;if(t(u(o)))return!0;if(!r){var c=s(o);return c==="[object GeneratorFunction]"}if(!i)return!1;var l=a();return l&&i(o)===l.prototype},Pi}var Zs;function sl(){return Zs||(Zs=1,(function(e){var n=rl(),t=al(),r=Wc(),i=Vc();function s(T){return T.call.bind(T)}var u=typeof BigInt<"u",a=typeof Symbol<"u",f=s(Object.prototype.toString),o=s(Number.prototype.valueOf),c=s(String.prototype.valueOf),l=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(a)var h=s(Symbol.prototype.valueOf);function m(T,X){if(typeof T!="object")return!1;try{return X(T),!0}catch{return!1}}e.isArgumentsObject=n,e.isGeneratorFunction=t,e.isTypedArray=i;function v(T){return typeof Promise<"u"&&T instanceof Promise||T!==null&&typeof T=="object"&&typeof T.then=="function"&&typeof T.catch=="function"}e.isPromise=v;function y(T){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(T):i(T)||H(T)}e.isArrayBufferView=y;function g(T){return r(T)==="Uint8Array"}e.isUint8Array=g;function b(T){return r(T)==="Uint8ClampedArray"}e.isUint8ClampedArray=b;function x(T){return r(T)==="Uint16Array"}e.isUint16Array=x;function E(T){return r(T)==="Uint32Array"}e.isUint32Array=E;function I(T){return r(T)==="Int8Array"}e.isInt8Array=I;function w(T){return r(T)==="Int16Array"}e.isInt16Array=w;function p(T){return r(T)==="Int32Array"}e.isInt32Array=p;function C(T){return r(T)==="Float32Array"}e.isFloat32Array=C;function S(T){return r(T)==="Float64Array"}e.isFloat64Array=S;function O(T){return r(T)==="BigInt64Array"}e.isBigInt64Array=O;function j(T){return r(T)==="BigUint64Array"}e.isBigUint64Array=j;function Y(T){return f(T)==="[object Map]"}Y.working=typeof Map<"u"&&Y(new Map);function G(T){return typeof Map>"u"?!1:Y.working?Y(T):T instanceof Map}e.isMap=G;function L(T){return f(T)==="[object Set]"}L.working=typeof Set<"u"&&L(new Set);function F(T){return typeof Set>"u"?!1:L.working?L(T):T instanceof Set}e.isSet=F;function V(T){return f(T)==="[object WeakMap]"}V.working=typeof WeakMap<"u"&&V(new WeakMap);function R(T){return typeof WeakMap>"u"?!1:V.working?V(T):T instanceof WeakMap}e.isWeakMap=R;function A(T){return f(T)==="[object WeakSet]"}A.working=typeof WeakSet<"u"&&A(new WeakSet);function N(T){return A(T)}e.isWeakSet=N;function W(T){return f(T)==="[object ArrayBuffer]"}W.working=typeof ArrayBuffer<"u"&&W(new ArrayBuffer);function J(T){return typeof ArrayBuffer>"u"?!1:W.working?W(T):T instanceof ArrayBuffer}e.isArrayBuffer=J;function Z(T){return f(T)==="[object DataView]"}Z.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Z(new DataView(new ArrayBuffer(1),0,1));function H(T){return typeof DataView>"u"?!1:Z.working?Z(T):T instanceof DataView}e.isDataView=H;var M=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function U(T){return f(T)==="[object SharedArrayBuffer]"}function q(T){return typeof M>"u"?!1:(typeof U.working>"u"&&(U.working=U(new M)),U.working?U(T):T instanceof M)}e.isSharedArrayBuffer=q;function P(T){return f(T)==="[object AsyncFunction]"}e.isAsyncFunction=P;function k(T){return f(T)==="[object Map Iterator]"}e.isMapIterator=k;function K(T){return f(T)==="[object Set Iterator]"}e.isSetIterator=K;function $(T){return f(T)==="[object Generator]"}e.isGeneratorObject=$;function ne(T){return f(T)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=ne;function re(T){return m(T,o)}e.isNumberObject=re;function oe(T){return m(T,c)}e.isStringObject=oe;function fe(T){return m(T,l)}e.isBooleanObject=fe;function he(T){return u&&m(T,d)}e.isBigIntObject=he;function D(T){return a&&m(T,h)}e.isSymbolObject=D;function _(T){return re(T)||oe(T)||fe(T)||he(T)||D(T)}e.isBoxedPrimitive=_;function B(T){return typeof Uint8Array<"u"&&(J(T)||q(T))}e.isAnyArrayBuffer=B,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(T){Object.defineProperty(e,T,{enumerable:!1,value:function(){throw new Error(T+" is not supported in userland")}})})})(_i)),_i}var ki,e3;function cl(){return e3||(e3=1,ki=function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"}),ki}var t3;function vr(){return t3||(t3=1,(function(e){var n={},t=Object.getOwnPropertyDescriptors||function(M){for(var U=Object.keys(M),q={},P=0;P<U.length;P++)q[U[P]]=Object.getOwnPropertyDescriptor(M,U[P]);return q},r=/%[sdj%]/g;e.format=function(H){if(!w(H)){for(var M=[],U=0;U<arguments.length;U++)M.push(a(arguments[U]));return M.join(" ")}for(var U=1,q=arguments,P=q.length,k=String(H).replace(r,function($){if($==="%%")return"%";if(U>=P)return $;switch($){case"%s":return String(q[U++]);case"%d":return Number(q[U++]);case"%j":try{return JSON.stringify(q[U++])}catch{return"[Circular]"}default:return $}}),K=q[U];U<P;K=q[++U])x(K)||!O(K)?k+=" "+K:k+=" "+a(K);return k},e.deprecate=function(H,M){if(typeof process<"u"&&process.noDeprecation===!0)return H;if(typeof process>"u")return function(){return e.deprecate(H,M).apply(this,arguments)};var U=!1;function q(){if(!U){if(process.throwDeprecation)throw new Error(M);process.traceDeprecation?console.trace(M):console.error(M),U=!0}return H.apply(this,arguments)}return q};var i={},s=/^$/;if(n.NODE_DEBUG){var u=n.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}e.debuglog=function(H){if(H=H.toUpperCase(),!i[H])if(s.test(H)){var M=process.pid;i[H]=function(){var U=e.format.apply(e,arguments);console.error("%s %d: %s",H,M,U)}}else i[H]=function(){};return i[H]};function a(H,M){var U={seen:[],stylize:o};return arguments.length>=3&&(U.depth=arguments[2]),arguments.length>=4&&(U.colors=arguments[3]),b(M)?U.showHidden=M:M&&e._extend(U,M),C(U.showHidden)&&(U.showHidden=!1),C(U.depth)&&(U.depth=2),C(U.colors)&&(U.colors=!1),C(U.customInspect)&&(U.customInspect=!0),U.colors&&(U.stylize=f),l(U,H,U.depth)}e.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function f(H,M){var U=a.styles[M];return U?"\x1B["+a.colors[U][0]+"m"+H+"\x1B["+a.colors[U][1]+"m":H}function o(H,M){return H}function c(H){var M={};return H.forEach(function(U,q){M[U]=!0}),M}function l(H,M,U){if(H.customInspect&&M&&G(M.inspect)&&M.inspect!==e.inspect&&!(M.constructor&&M.constructor.prototype===M)){var q=M.inspect(U,H);return w(q)||(q=l(H,q,U)),q}var P=d(H,M);if(P)return P;var k=Object.keys(M),K=c(k);if(H.showHidden&&(k=Object.getOwnPropertyNames(M)),Y(M)&&(k.indexOf("message")>=0||k.indexOf("description")>=0))return h(M);if(k.length===0){if(G(M)){var $=M.name?": "+M.name:"";return H.stylize("[Function"+$+"]","special")}if(S(M))return H.stylize(RegExp.prototype.toString.call(M),"regexp");if(j(M))return H.stylize(Date.prototype.toString.call(M),"date");if(Y(M))return h(M)}var ne="",re=!1,oe=["{","}"];if(g(M)&&(re=!0,oe=["[","]"]),G(M)){var fe=M.name?": "+M.name:"";ne=" [Function"+fe+"]"}if(S(M)&&(ne=" "+RegExp.prototype.toString.call(M)),j(M)&&(ne=" "+Date.prototype.toUTCString.call(M)),Y(M)&&(ne=" "+h(M)),k.length===0&&(!re||M.length==0))return oe[0]+ne+oe[1];if(U<0)return S(M)?H.stylize(RegExp.prototype.toString.call(M),"regexp"):H.stylize("[Object]","special");H.seen.push(M);var he;return re?he=m(H,M,U,K,k):he=k.map(function(D){return v(H,M,U,K,D,re)}),H.seen.pop(),y(he,ne,oe)}function d(H,M){if(C(M))return H.stylize("undefined","undefined");if(w(M)){var U="'"+JSON.stringify(M).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return H.stylize(U,"string")}if(I(M))return H.stylize(""+M,"number");if(b(M))return H.stylize(""+M,"boolean");if(x(M))return H.stylize("null","null")}function h(H){return"["+Error.prototype.toString.call(H)+"]"}function m(H,M,U,q,P){for(var k=[],K=0,$=M.length;K<$;++K)N(M,String(K))?k.push(v(H,M,U,q,String(K),!0)):k.push("");return P.forEach(function(ne){ne.match(/^\d+$/)||k.push(v(H,M,U,q,ne,!0))}),k}function v(H,M,U,q,P,k){var K,$,ne;if(ne=Object.getOwnPropertyDescriptor(M,P)||{value:M[P]},ne.get?ne.set?$=H.stylize("[Getter/Setter]","special"):$=H.stylize("[Getter]","special"):ne.set&&($=H.stylize("[Setter]","special")),N(q,P)||(K="["+P+"]"),$||(H.seen.indexOf(ne.value)<0?(x(U)?$=l(H,ne.value,null):$=l(H,ne.value,U-1),$.indexOf(`
|
|
1
|
+
import{c as it,a as dt,g as ya}from"./vendor-dayjs-Cvgzdobq.js";import{r as s2,a as Fc}from"./bignumber-C3amavAD.js";import{r as Ne,c as St,d as c2,f as u2,i as f2}from"./index.browser.esm-Bpaw2clE.js";import{ai as we,ad as ma}from"./index-DAxGqvuJ.js";import{e6 as on,en as an,eo as sn,ep as va,eq as l2,er as qc,es as d2,et as h2,eu as p2,ev as g2,ew as Hc,ex as Kc,ey as ht,ez as y2,eA as m2}from"./index-K-A1x_Lb.js";import{r as v2}from"./string_decoder-DpNonnXi.js";import{r as Et}from"./index-CxUeIbEw.js";function b2(e,n){for(var t=0;t<n.length;t++){const r=n[t];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var bn={exports:{}},At={},xn={exports:{}},Cn={},_n={},wn={},Mt={},Bn={},zr={exports:{}},Ut={},La;function ba(){if(La)return Ut;La=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.DataItem=void 0;class e{constructor(t,r){this.setTag=i=>{this.tag=i},this.clearTag=()=>{this.tag=void 0},this.getTag=()=>this.tag,this.getData=()=>this.data,this.data=t,this.tag=r}}return Ut.DataItem=e,Ut}var x2=zr.exports,ja;function C2(){return ja||(ja=1,(function(e){(function(n,t){e.exports?e.exports=t():n.CBOR=t()})(x2,function(){const{DataItem:n}=ba();var t=(function(){function r(p){this.$hex=p}r.prototype={length:function(){return this.$hex.length/2},toString:function(p){if(!p||p==="hex"||p===16)return this.$hex;if(p==="utf-8"){for(var C="",S=0;S<this.$hex.length;S+=2)C+="%"+this.$hex.substring(S,S+2);return decodeURIComponent(C)}if(p==="latin"){for(var C=[],S=0;S<this.$hex.length;S+=2)C.push(parseInt(this.$hex.substring(S,S+2),16));return String.fromCharCode.apply(String,C)}throw new Error("Unrecognised format: "+p)}},r.fromLatinString=function(p){for(var C="",S=0;S<p.length;S++){var O=p.charCodeAt(S).toString(16);O.length===1&&(O="0"+O),C+=O}return new r(C)},r.fromUtf8String=function(p){for(var C=encodeURIComponent(p),S="",O=0;O<C.length;O++)if(C.charAt(O)==="%")S+=C.substring(O+1,O+3),O+=2;else{var j=C.charCodeAt(O).toString(16);j.length<2&&(j="0"+j),S+=j}return new r(S)};var i=[],s={},u=function(p){return function(){throw new Error(p+" not implemented")}};function a(){}a.prototype={peekByte:u("peekByte"),readByte:u("readByte"),readChunk:u("readChunk"),readFloat16:function(){var p=this.readUint16(),C=(p&32767)>>10,S=p&1023,O=p&32768;if(C===31)return S===0?O?-1/0:1/0:NaN;var j=C?Math.pow(2,C-25)*(1024+S):Math.pow(2,-24)*S;return O?-j:j},readFloat32:function(){var p=this.readUint32(),C=(p&2147483647)>>23,S=p&8388607,O=p&2147483648;if(C===255)return S===0?O?-1/0:1/0:NaN;var j=C?Math.pow(2,C-23-127)*(8388608+S):Math.pow(2,-149)*S;return O?-j:j},readFloat64:function(){var p=this.readUint32(),C=this.readUint32(),S=p>>20&2047,O=(p&1048575)*4294967296+C,j=p&2147483648;if(S===2047)return O===0?j?-1/0:1/0:NaN;var Y=S?Math.pow(2,S-52-1023)*(4503599627370496+O):Math.pow(2,-1074)*O;return j?-Y:Y},readUint16:function(){return this.readByte()*256+this.readByte()},readUint32:function(){return this.readUint16()*65536+this.readUint16()},readUint64:function(){return this.readUint32()*4294967296+this.readUint32()}};function f(){}f.prototype={writeByte:u("writeByte"),result:u("result"),writeFloat16:u("writeFloat16"),writeFloat32:u("writeFloat32"),writeFloat64:u("writeFloat64"),writeUint16:function(p){this.writeByte(p>>8&255),this.writeByte(p&255)},writeUint32:function(p){this.writeUint16(p>>16&65535),this.writeUint16(p&65535)},writeUint64:function(p){if(p>=9007199254740992||p<=-9007199254740992)throw new Error("Cannot encode Uint64 of: "+p+" magnitude to big (floating point errors)");this.writeUint32(Math.floor(p/4294967296)),this.writeUint32(p%4294967296)},writeString:u("writeString"),canWriteBinary:function(p){return!1},writeBinary:u("writeChunk")};function o(p){var C=p.readByte(),S=C>>5,O=C&31;return{type:S,value:O}}function c(p,C){var S=p.value;if(S<24)return S;if(S==24)return C.readByte();if(S==25)return C.readUint16();if(S==26)return C.readUint32();if(S==27)return C.readUint64();if(S==31)return null;u("Additional info: "+S)()}function l(p,C,S){S.writeByte(p<<5|C)}function d(p,C,S){var O=p<<5;C<24?S.writeByte(O|C):C<256?(S.writeByte(O|24),S.writeByte(C)):C<65536?(S.writeByte(O|25),S.writeUint16(C)):C<4294967296?(S.writeByte(O|26),S.writeUint32(C)):(S.writeByte(O|27),S.writeUint64(C))}var h=new Error;function m(p){var C=o(p);switch(C.type){case 0:return c(C,p);case 1:return-1-c(C,p);case 2:return p.readChunk(c(C,p));case 3:var S=p.readChunk(c(C,p));return S.toString("utf-8");case 4:case 5:var O=c(C,p),V=[];if(O!==null){C.type===5&&(O*=2);for(var j=0;j<O;j++)V[j]=m(p)}else for(var Y;(Y=m(p))!==h;)V.push(Y);if(C.type===5){for(var G={},j=0;j<V.length;j+=2)G[V[j]]=V[j+1];return G}else return V;case 6:var L=c(C,p),F=s[L],V=m(p);return F?F(V):V;case 7:if(C.value===25)return p.readFloat16();if(C.value===26)return p.readFloat32();if(C.value===27)return p.readFloat64();switch(c(C,p)){case 20:return!1;case 21:return!0;case 22:return null;case 23:return;case null:return h;default:throw new Error("Unknown fixed value: "+C.value)}default:throw new Error("Unsupported header: "+JSON.stringify(C))}throw new Error("not implemented yet")}function v(p,C){for(var S=0;S<i.length;S++){var O=i[S].fn(p);if(O!==void 0)return d(6,i[S].tag,C),v(O,C)}if(p&&typeof p.toCBOR=="function"&&(p=p.toCBOR()),p===!1)d(7,20,C);else if(p===!0)d(7,21,C);else if(p===null)d(7,22,C);else if(p===void 0)d(7,23,C);else if(typeof p=="number")Math.floor(p)===p&&p<9007199254740992&&p>-9007199254740992?p<0?d(1,-1-p,C):d(0,p,C):(l(7,27,C),C.writeFloat64(p));else if(typeof p=="string")C.writeString(p,function(Y){d(3,Y,C)});else if(C.canWriteBinary(p))C.writeBinary(p,function(Y){d(2,Y,C)});else if(typeof p=="object")if(b.config.useToJSON&&typeof p.toJSON=="function"&&(p=p.toJSON()),Array.isArray(p)){d(4,p.length,C);for(var S=0;S<p.length;S++)v(p[S],C)}else{var j=Object.keys(p);d(5,j.length,C);for(var S=0;S<j.length;S++){const G=parseInt(j[S]);isNaN(G)?(v(j[S],C),v(p[j[S]],C)):(v(G,C),v(p[j[S]],C))}}else throw new Error("CBOR encoding not supported: "+p)}var y=[],g=[],b={config:{useToJSON:!0},addWriter:function(p,C){typeof p=="string"?g.push(function(S){if(p===S)return C(S)}):g.push(p)},addReader:function(p,C){typeof p=="string"?y.push(function(S,O){if(p===O)return C(S,O)}):y.push(p)},encode:function(p,C){for(var S=0;S<g.length;S++){var O=g[S],j=O(C);if(j)return v(p,j),j.result()}throw new Error("Unsupported output format: "+C)},encodeDataItem:function(p,C){for(var S=0;S<g.length;S++){var O=g[S],j=O(C);if(j)return p.getTag()!==void 0?(v(p,j),j.result()):(v(p.getData(),j),j.result())}throw new Error("Unsupported output format: "+C)},decode:function(p,C){for(var S=0;S<y.length;S++){var O=y[S],j=O(p,C);if(j)return m(j)}throw new Error("Unsupported input format: "+C)},decodeToDataItem:function(p,C){for(var S=0;S<y.length;S++){var O=y[S],j=O(p,C);if(j){const Y=m(j);return Y instanceof n?Y:new n(Y)}}throw new Error("Unsupported input format: "+C)},addSemanticEncode:function(p,C){if(typeof p!="number"||p%1!==0||p<0)throw new Error("Tag must be a positive integer");return i.push({tag:p,fn:C}),this},addSemanticDecode:function(p,C){if(typeof p!="number"||p%1!==0||p<0)throw new Error("Tag must be a positive integer");return s[p]=C,this}};function x(p){this.buffer=p,this.pos=0}x.prototype=Object.create(a.prototype),x.prototype.peekByte=function(){return this.buffer[this.pos]},x.prototype.readByte=function(){return this.buffer[this.pos++]},x.prototype.readUint16=function(){var p=this.buffer.readUInt16BE(this.pos);return this.pos+=2,p},x.prototype.readUint32=function(){var p=this.buffer.readUInt32BE(this.pos);return this.pos+=4,p},x.prototype.readFloat32=function(){var p=this.buffer.readFloatBE(this.pos);return this.pos+=4,p},x.prototype.readFloat64=function(){var p=this.buffer.readDoubleBE(this.pos);return this.pos+=8,p},x.prototype.readChunk=function(p){var C=Buffer.alloc(p);return this.buffer.copy(C,0,this.pos,this.pos+=p),C};function E(p){this.byteLength=0,this.defaultBufferLength=16384,this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0,this.completeBuffers=[],this.stringFormat=p}E.prototype=Object.create(f.prototype),E.prototype.writeByte=function(p){this.latestBuffer[this.latestBufferOffset++]=p,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0),this.byteLength++},E.prototype.writeFloat32=function(p){var C=Buffer.alloc(4);C.writeFloatBE(p,0),this.writeBuffer(C)},E.prototype.writeFloat64=function(p){var C=Buffer.alloc(8);C.writeDoubleBE(p,0),this.writeBuffer(C)},E.prototype.writeString=function(p,C){var S=Buffer.from(p,"utf-8");C(S.length),this.writeBuffer(S)},E.prototype.canWriteBinary=function(p){return p instanceof Buffer},E.prototype.writeBinary=function(p,C){C(p.length),this.writeBuffer(p)},E.prototype.writeBuffer=function(p){if(!(p instanceof Buffer))throw new TypeError("BufferWriter only accepts Buffers");this.latestBufferOffset?this.latestBuffer.length-this.latestBufferOffset>=p.length?(p.copy(this.latestBuffer,this.latestBufferOffset),this.latestBufferOffset+=p.length,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0)):(this.completeBuffers.push(this.latestBuffer.slice(0,this.latestBufferOffset)),this.completeBuffers.push(p),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0):this.completeBuffers.push(p),this.byteLength+=p.length},E.prototype.result=function(){for(var p=Buffer.alloc(this.byteLength),C=0,S=0;S<this.completeBuffers.length;S++){var O=this.completeBuffers[S];O.copy(p,C,0,O.length),C+=O.length}return this.latestBufferOffset&&this.latestBuffer.copy(p,C,0,this.latestBufferOffset),this.stringFormat?p.toString(this.stringFormat):p},typeof Buffer=="function"&&(b.addReader(function(p,C){if(Buffer.isBuffer(p))return new x(p);if(C==="hex"||C==="base64"){var S=Buffer.from(p,C);return new x(S)}}),b.addWriter(function(p){if(!p||p==="buffer")return new E;if(p==="hex"||p==="base64")return new E(p)}));function I(p){this.hex=p,this.pos=0}I.prototype=Object.create(a.prototype),I.prototype.peekByte=function(){var p=this.hex.substring(this.pos,2);return parseInt(p,16)},I.prototype.readByte=function(){var p=this.hex.substring(this.pos,this.pos+2);return this.pos+=2,parseInt(p,16)},I.prototype.readChunk=function(p){var C=this.hex.substring(this.pos,this.pos+p*2);return this.pos+=p*2,typeof Buffer=="function"?Buffer.from(C,"hex"):new r(C)};function w(p){this.$hex="",this.finalFormat=p||"hex"}return w.prototype=Object.create(f.prototype),w.prototype.writeByte=function(p){if(p<0||p>255)throw new Error("Byte value out of range: "+p);var C=p.toString(16);C.length==1&&(C="0"+C),this.$hex+=C},w.prototype.canWriteBinary=function(p){return p instanceof r||typeof Buffer=="function"&&p instanceof Buffer},w.prototype.writeBinary=function(p,C){if(p instanceof r)C(p.length()),this.$hex+=p.$hex;else if(typeof Buffer=="function"&&p instanceof Buffer)C(p.length),this.$hex+=p.toString("hex");else throw new TypeError("HexWriter only accepts BinaryHex or Buffers")},w.prototype.result=function(){return this.finalFormat==="buffer"&&typeof Buffer=="function"?Buffer.from(this.$hex,"hex"):new r(this.$hex).toString(this.finalFormat)},w.prototype.writeString=function(p,C){var S=r.fromUtf8String(p);C(S.length()),this.$hex+=S.$hex},b.addReader(function(p,C){if(p instanceof r||p.$hex)return new I(p.$hex);if(C==="hex")return new I(p)}),b.addWriter(function(p){if(p==="hex")return new w}),b})();return t.addSemanticEncode(0,function(r){if(r instanceof Date)return r.toISOString()}).addSemanticDecode(0,function(r){return new Date(r)}).addSemanticDecode(1,function(r){return new Date(r)}),t})})(zr)),zr.exports}var Na;function Ce(){return Na||(Na=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DataItem=e.addWriter=e.addReader=e.addSemanticEncode=e.addSemanticDecode=e.decodeToDataItem=e.encodeDataItem=void 0;var n=C2();Object.defineProperty(e,"encodeDataItem",{enumerable:!0,get:function(){return n.encodeDataItem}}),Object.defineProperty(e,"decodeToDataItem",{enumerable:!0,get:function(){return n.decodeToDataItem}}),Object.defineProperty(e,"addSemanticDecode",{enumerable:!0,get:function(){return n.addSemanticDecode}}),Object.defineProperty(e,"addSemanticEncode",{enumerable:!0,get:function(){return n.addSemanticEncode}}),Object.defineProperty(e,"addReader",{enumerable:!0,get:function(){return n.addReader}}),Object.defineProperty(e,"addWriter",{enumerable:!0,get:function(){return n.addWriter}});var t=ba();Object.defineProperty(e,"DataItem",{enumerable:!0,get:function(){return t.DataItem}})})(Bn)),Bn}var Fa;function Fo(){if(Fa)return Mt;Fa=1,Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.patchTags=void 0;const e=Ce(),n=[],t=r=>{r.forEach(i=>{n.find(s=>s===i)||((0,e.addSemanticEncode)(i,s=>{if(s instanceof e.DataItem&&s.getTag()===i)return s.getData()}),(0,e.addSemanticDecode)(i,s=>new e.DataItem(s,i)),n.push(i))})};return Mt.patchTags=t,Mt}var ct={},qa;function _e(){if(qa)return ct;qa=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.RegistryTypes=ct.RegistryType=void 0;class e{constructor(t,r){this.type=t,this.tag=r,this.getTag=()=>this.tag,this.getType=()=>this.type}}return ct.RegistryType=e,ct.RegistryTypes={UUID:new e("uuid",37),BYTES:new e("bytes",void 0),CRYPTO_HDKEY:new e("crypto-hdkey",303),CRYPTO_KEYPATH:new e("crypto-keypath",304),CRYPTO_COIN_INFO:new e("crypto-coin-info",305),CRYPTO_ECKEY:new e("crypto-eckey",306),CRYPTO_OUTPUT:new e("crypto-output",308),CRYPTO_PSBT:new e("crypto-psbt",310),CRYPTO_PSBT_EXTEND:new e("crypto-psbt-extend",312),CRYPTO_ACCOUNT:new e("crypto-account",311),CRYPTO_MULTI_ACCOUNTS:new e("crypto-multi-accounts",1103),QR_HARDWARE_CALL:new e("qr-hardware-call",1201),KEY_DERIVATION_CALL:new e("key-derivation-call",1301),KEY_DERIVATION_SCHEMA:new e("key-derivation-schema",1302)},ct}var Sn={},Ha;function xa(){return Ha||(Ha=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ScriptExpressions=e.ScriptExpression=void 0;class n{constructor(r,i){this.tag=r,this.expression=i,this.getTag=()=>this.tag,this.getExpression=()=>this.expression}}e.ScriptExpression=n,n.fromTag=t=>Object.values(e.ScriptExpressions).find(i=>i.getTag()===t),e.ScriptExpressions={SCRIPT_HASH:new n(400,"sh"),WITNESS_SCRIPT_HASH:new n(401,"wsh"),PUBLIC_KEY:new n(402,"pk"),PUBLIC_KEY_HASH:new n(403,"pkh"),WITNESS_PUBLIC_KEY_HASH:new n(404,"wpkh"),COMBO:new n(405,"combo"),MULTISIG:new n(406,"multi"),SORTED_MULTISIG:new n(407,"sortedmulti"),ADDRESS:new n(307,"addr"),RAW_SCRIPT:new n(408,"raw")}})(Sn)),Sn}var Ka;function za(){if(Ka)return wn;Ka=1,Object.defineProperty(wn,"__esModule",{value:!0});const e=Fo(),n=_e(),t=xa(),r=Object.values(n.RegistryTypes).filter(s=>!!s.getTag()).map(s=>s.getTag()),i=Object.values(t.ScriptExpressions).map(s=>s.getTag());return(0,e.patchTags)(r.concat(i)),wn}var Lt={},En,Ga;function _2(){if(Ga)return En;Ga=1;var e=Ne().Buffer,n=on.Transform,t=we();function r(a){n.call(this),this._block=e.allocUnsafe(a),this._blockSize=a,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t(r,n),r.prototype._transform=function(a,f,o){var c=null;try{this.update(a,f)}catch(l){c=l}o(c)},r.prototype._flush=function(a){var f=null;try{this.push(this.digest())}catch(o){f=o}a(f)};var i=typeof Uint8Array<"u",s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);function u(a,f){if(a instanceof e)return a;if(typeof a=="string")return e.from(a,f);if(s&&ArrayBuffer.isView(a)){if(a.byteLength===0)return e.alloc(0);var o=e.from(a.buffer,a.byteOffset,a.byteLength);if(o.byteLength===a.byteLength)return o}if(i&&a instanceof Uint8Array||e.isBuffer(a)&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a))return e.from(a);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}return r.prototype.update=function(a,f){if(this._finalized)throw new Error("Digest already called");a=u(a,f);for(var o=this._block,c=0;this._blockOffset+a.length-c>=this._blockSize;){for(var l=this._blockOffset;l<this._blockSize;)o[l++]=a[c++];this._update(),this._blockOffset=0}for(;c<a.length;)o[this._blockOffset++]=a[c++];for(var d=0,h=a.length*8;h>0;++d)this._length[d]+=h,h=this._length[d]/4294967296|0,h>0&&(this._length[d]-=4294967296*h);return this},r.prototype._update=function(){throw new Error("_update is not implemented")},r.prototype.digest=function(a){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var f=this._digest();a!==void 0&&(f=f.toString(a)),this._block.fill(0),this._blockOffset=0;for(var o=0;o<4;++o)this._length[o]=0;return f},r.prototype._digest=function(){throw new Error("_digest is not implemented")},En=r,En}var Pn,Wa;function w2(){if(Wa)return Pn;Wa=1;var e=we(),n=_2(),t=Ne().Buffer,r=new Array(16);function i(){n.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}e(i,n),i.prototype._update=function(){for(var c=r,l=0;l<16;++l)c[l]=this._block.readInt32LE(l*4);var d=this._a,h=this._b,m=this._c,v=this._d;d=u(d,h,m,v,c[0],3614090360,7),v=u(v,d,h,m,c[1],3905402710,12),m=u(m,v,d,h,c[2],606105819,17),h=u(h,m,v,d,c[3],3250441966,22),d=u(d,h,m,v,c[4],4118548399,7),v=u(v,d,h,m,c[5],1200080426,12),m=u(m,v,d,h,c[6],2821735955,17),h=u(h,m,v,d,c[7],4249261313,22),d=u(d,h,m,v,c[8],1770035416,7),v=u(v,d,h,m,c[9],2336552879,12),m=u(m,v,d,h,c[10],4294925233,17),h=u(h,m,v,d,c[11],2304563134,22),d=u(d,h,m,v,c[12],1804603682,7),v=u(v,d,h,m,c[13],4254626195,12),m=u(m,v,d,h,c[14],2792965006,17),h=u(h,m,v,d,c[15],1236535329,22),d=a(d,h,m,v,c[1],4129170786,5),v=a(v,d,h,m,c[6],3225465664,9),m=a(m,v,d,h,c[11],643717713,14),h=a(h,m,v,d,c[0],3921069994,20),d=a(d,h,m,v,c[5],3593408605,5),v=a(v,d,h,m,c[10],38016083,9),m=a(m,v,d,h,c[15],3634488961,14),h=a(h,m,v,d,c[4],3889429448,20),d=a(d,h,m,v,c[9],568446438,5),v=a(v,d,h,m,c[14],3275163606,9),m=a(m,v,d,h,c[3],4107603335,14),h=a(h,m,v,d,c[8],1163531501,20),d=a(d,h,m,v,c[13],2850285829,5),v=a(v,d,h,m,c[2],4243563512,9),m=a(m,v,d,h,c[7],1735328473,14),h=a(h,m,v,d,c[12],2368359562,20),d=f(d,h,m,v,c[5],4294588738,4),v=f(v,d,h,m,c[8],2272392833,11),m=f(m,v,d,h,c[11],1839030562,16),h=f(h,m,v,d,c[14],4259657740,23),d=f(d,h,m,v,c[1],2763975236,4),v=f(v,d,h,m,c[4],1272893353,11),m=f(m,v,d,h,c[7],4139469664,16),h=f(h,m,v,d,c[10],3200236656,23),d=f(d,h,m,v,c[13],681279174,4),v=f(v,d,h,m,c[0],3936430074,11),m=f(m,v,d,h,c[3],3572445317,16),h=f(h,m,v,d,c[6],76029189,23),d=f(d,h,m,v,c[9],3654602809,4),v=f(v,d,h,m,c[12],3873151461,11),m=f(m,v,d,h,c[15],530742520,16),h=f(h,m,v,d,c[2],3299628645,23),d=o(d,h,m,v,c[0],4096336452,6),v=o(v,d,h,m,c[7],1126891415,10),m=o(m,v,d,h,c[14],2878612391,15),h=o(h,m,v,d,c[5],4237533241,21),d=o(d,h,m,v,c[12],1700485571,6),v=o(v,d,h,m,c[3],2399980690,10),m=o(m,v,d,h,c[10],4293915773,15),h=o(h,m,v,d,c[1],2240044497,21),d=o(d,h,m,v,c[8],1873313359,6),v=o(v,d,h,m,c[15],4264355552,10),m=o(m,v,d,h,c[6],2734768916,15),h=o(h,m,v,d,c[13],1309151649,21),d=o(d,h,m,v,c[4],4149444226,6),v=o(v,d,h,m,c[11],3174756917,10),m=o(m,v,d,h,c[2],718787259,15),h=o(h,m,v,d,c[9],3951481745,21),this._a=this._a+d|0,this._b=this._b+h|0,this._c=this._c+m|0,this._d=this._d+v|0},i.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var c=t.allocUnsafe(16);return c.writeInt32LE(this._a,0),c.writeInt32LE(this._b,4),c.writeInt32LE(this._c,8),c.writeInt32LE(this._d,12),c};function s(c,l){return c<<l|c>>>32-l}function u(c,l,d,h,m,v,y){return s(c+(l&d|~l&h)+m+v|0,y)+l|0}function a(c,l,d,h,m,v,y){return s(c+(l&h|d&~h)+m+v|0,y)+l|0}function f(c,l,d,h,m,v,y){return s(c+(l^d^h)+m+v|0,y)+l|0}function o(c,l,d,h,m,v,y){return s(c+(d^(l|~h))+m+v|0,y)+l|0}return Pn=i,Pn}var kn,Va;function B2(){if(Va)return kn;Va=1;var e={}.toString;return kn=Array.isArray||function(n){return e.call(n)=="[object Array]"},kn}var Tn,Ya;function S2(){if(Ya)return Tn;Ya=1;var e=Function.prototype.toString,n=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,t,r;if(typeof n=="function"&&typeof Object.defineProperty=="function")try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},n(function(){throw 42},null,t)}catch(b){b!==r&&(n=null)}else n=null;var i=/^\s*class\b/,s=function(x){try{var E=e.call(x);return i.test(E)}catch{return!1}},u=function(x){try{return s(x)?!1:(e.call(x),!0)}catch{return!1}},a=Object.prototype.toString,f="[object Object]",o="[object Function]",c="[object GeneratorFunction]",l="[object HTMLAllCollection]",d="[object HTML document.all class]",h="[object HTMLCollection]",m=typeof Symbol=="function"&&!!Symbol.toStringTag,v=!(0 in[,]),y=function(){return!1};if(typeof document=="object"){var g=document.all;a.call(g)===a.call(document.all)&&(y=function(x){if((v||!x)&&(typeof x>"u"||typeof x=="object"))try{var E=a.call(x);return(E===l||E===d||E===h||E===f)&&x("")==null}catch{}return!1})}return Tn=n?function(x){if(y(x))return!0;if(!x||typeof x!="function"&&typeof x!="object")return!1;try{n(x,null,t)}catch(E){if(E!==r)return!1}return!s(x)&&u(x)}:function(x){if(y(x))return!0;if(!x||typeof x!="function"&&typeof x!="object")return!1;if(m)return u(x);if(s(x))return!1;var E=a.call(x);return E!==o&&E!==c&&!/^\[object HTML/.test(E)?!1:u(x)},Tn}var Rn,$a;function E2(){if($a)return Rn;$a=1;var e=S2(),n=Object.prototype.toString,t=Object.prototype.hasOwnProperty,r=function(f,o,c){for(var l=0,d=f.length;l<d;l++)t.call(f,l)&&(c==null?o(f[l],l,f):o.call(c,f[l],l,f))},i=function(f,o,c){for(var l=0,d=f.length;l<d;l++)c==null?o(f.charAt(l),l,f):o.call(c,f.charAt(l),l,f)},s=function(f,o,c){for(var l in f)t.call(f,l)&&(c==null?o(f[l],l,f):o.call(c,f[l],l,f))};function u(a){return n.call(a)==="[object Array]"}return Rn=function(f,o,c){if(!e(o))throw new TypeError("iterator must be a function");var l;arguments.length>=3&&(l=c),u(f)?r(f,o,l):typeof f=="string"?i(f,o,l):s(f,o,l)},Rn}var In,Xa;function P2(){return Xa||(Xa=1,In=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),In}var Dn,Qa;function k2(){if(Qa)return Dn;Qa=1;var e=P2(),n=typeof globalThis>"u"?it:globalThis;return Dn=function(){for(var r=[],i=0;i<e.length;i++)typeof n[e[i]]=="function"&&(r[r.length]=e[i]);return r},Dn}var On={exports:{}},An,Ja;function zc(){if(Ja)return An;Ja=1;var e=va(),n=l2(),t=an(),r=sn();return An=function(s,u,a){if(!s||typeof s!="object"&&typeof s!="function")throw new t("`obj` must be an object or a function`");if(typeof u!="string"&&typeof u!="symbol")throw new t("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new t("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new t("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new t("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new t("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,d=!!r&&r(s,u);if(e)e(s,u,{configurable:c===null&&d?d.configurable:!c,enumerable:f===null&&d?d.enumerable:!f,value:a,writable:o===null&&d?d.writable:!o});else if(l||!f&&!o&&!c)s[u]=a;else throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},An}var Mn,Za;function Gc(){if(Za)return Mn;Za=1;var e=va(),n=function(){return!!e};return n.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},Mn=n,Mn}var Un,es;function T2(){if(es)return Un;es=1;var e=qc(),n=zc(),t=Gc()(),r=sn(),i=an(),s=e("%Math.floor%");return Un=function(a,f){if(typeof a!="function")throw new i("`fn` is not a function");if(typeof f!="number"||f<0||f>4294967295||s(f)!==f)throw new i("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],c=!0,l=!0;if("length"in a&&r){var d=r(a,"length");d&&!d.configurable&&(c=!1),d&&!d.writable&&(l=!1)}return(c||l||!o)&&(t?n(a,"length",f,!0,!0):n(a,"length",f)),a},Un}var Ln,ts;function R2(){if(ts)return Ln;ts=1;var e=h2(),n=p2(),t=d2();return Ln=function(){return t(e,n,arguments)},Ln}var rs;function cn(){return rs||(rs=1,(function(e){var n=T2(),t=va(),r=g2(),i=R2();e.exports=function(u){var a=r(arguments),f=1+u.length-(arguments.length-1);return n(a,f>0?f:0,!0)},t?t(e.exports,"apply",{value:i}):e.exports.apply=i})(On)),On.exports}var jn,ns;function un(){if(ns)return jn;ns=1;var e=Hc();return jn=function(){return e()&&!!Symbol.toStringTag},jn}var Nn,is;function Wc(){if(is)return Nn;is=1;var e=E2(),n=k2(),t=cn(),r=ht(),i=sn(),s=Kc(),u=r("Object.prototype.toString"),a=un()(),f=typeof globalThis>"u"?it:globalThis,o=n(),c=r("String.prototype.slice"),l=r("Array.prototype.indexOf",!0)||function(y,g){for(var b=0;b<y.length;b+=1)if(y[b]===g)return b;return-1},d={__proto__:null};a&&i&&s?e(o,function(v){var y=new f[v];if(Symbol.toStringTag in y&&s){var g=s(y),b=i(g,Symbol.toStringTag);if(!b&&g){var x=s(g);b=i(x,Symbol.toStringTag)}if(b&&b.get){var E=t(b.get);d["$"+v]=E}}}):e(o,function(v){var y=new f[v],g=y.slice||y.set;if(g){var b=t(g);d["$"+v]=b}});var h=function(y){var g=!1;return e(d,function(b,x){if(!g)try{"$"+b(y)===x&&(g=c(x,1))}catch{}}),g},m=function(y){var g=!1;return e(d,function(b,x){if(!g)try{b(y),g=c(x,1)}catch{}}),g};return Nn=function(y){if(!y||typeof y!="object")return!1;if(!a){var g=c(u(y),8,-1);return l(o,g)>-1?g:g!=="Object"?!1:m(y)}return i?h(y):null},Nn}var Fn,os;function Vc(){if(os)return Fn;os=1;var e=Wc();return Fn=function(t){return!!e(t)},Fn}var qn,as;function I2(){if(as)return qn;as=1;var e=an(),n=ht(),t=n("TypedArray.prototype.buffer",!0),r=Vc();return qn=t||function(s){if(!r(s))throw new e("Not a Typed Array");return s.buffer},qn}var Hn,ss;function Ca(){if(ss)return Hn;ss=1;var e=Ne().Buffer,n=B2(),t=I2(),r=ArrayBuffer.isView||function(f){try{return t(f),!0}catch{return!1}},i=typeof Uint8Array<"u",s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",u=s&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return Hn=function(f,o){if(e.isBuffer(f))return f.constructor&&!("isBuffer"in f)?e.from(f):f;if(typeof f=="string")return e.from(f,o);if(s&&r(f)){if(f.byteLength===0)return e.alloc(0);if(u){var c=e.from(f.buffer,f.byteOffset,f.byteLength);if(c.byteLength===f.byteLength)return c}var l=f instanceof Uint8Array?f:new Uint8Array(f.buffer,f.byteOffset,f.byteLength),d=e.from(l);if(d.length===f.byteLength)return d}if(i&&f instanceof Uint8Array)return e.from(f);var h=n(f);if(h)for(var m=0;m<f.length;m+=1){var v=f[m];if(typeof v!="number"||v<0||v>255||~~v!==v)throw new RangeError("Array items must be numbers in the range 0-255.")}if(h||e.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return e.from(f);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},Hn}var Kn,cs;function D2(){if(cs)return Kn;cs=1;var e=Ne().Buffer,n=Ca(),t=typeof Uint8Array<"u",r=t&&typeof ArrayBuffer<"u",i=r&&ArrayBuffer.isView;return Kn=function(s,u){if(typeof s=="string"||e.isBuffer(s)||t&&s instanceof Uint8Array||i&&i(s))return n(s,u);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')},Kn}var Dr={exports:{}},Or={exports:{}},us;function fn(){if(us)return Or.exports;us=1,typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?Or.exports={nextTick:e}:Or.exports=process;function e(n,t,r,i){if(typeof n!="function")throw new TypeError('"callback" argument must be a function');var s=arguments.length,u,a;switch(s){case 0:case 1:return process.nextTick(n);case 2:return process.nextTick(function(){n.call(null,t)});case 3:return process.nextTick(function(){n.call(null,t,r)});case 4:return process.nextTick(function(){n.call(null,t,r,i)});default:for(u=new Array(s-1),a=0;a<u.length;)u[a++]=arguments[a];return process.nextTick(function(){n.apply(null,u)})}}return Or.exports}var zn,fs;function O2(){if(fs)return zn;fs=1;var e={}.toString;return zn=Array.isArray||function(n){return e.call(n)=="[object Array]"},zn}var Gn,ls;function Yc(){return ls||(ls=1,Gn=ma().EventEmitter),Gn}var Ar={exports:{}},ds;function _a(){return ds||(ds=1,(function(e,n){var t=St(),r=t.Buffer;function i(u,a){for(var f in u)a[f]=u[f]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=t:(i(t,n),n.Buffer=s);function s(u,a,f){return r(u,a,f)}i(r,s),s.from=function(u,a,f){if(typeof u=="number")throw new TypeError("Argument must not be a number");return r(u,a,f)},s.alloc=function(u,a,f){if(typeof u!="number")throw new TypeError("Argument must be a number");var o=r(u);return a!==void 0?typeof f=="string"?o.fill(a,f):o.fill(a):o.fill(0),o},s.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return r(u)},s.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(u)}})(Ar,Ar.exports)),Ar.exports}var Be={},hs;function Sr(){if(hs)return Be;hs=1;function e(v){return Array.isArray?Array.isArray(v):m(v)==="[object Array]"}Be.isArray=e;function n(v){return typeof v=="boolean"}Be.isBoolean=n;function t(v){return v===null}Be.isNull=t;function r(v){return v==null}Be.isNullOrUndefined=r;function i(v){return typeof v=="number"}Be.isNumber=i;function s(v){return typeof v=="string"}Be.isString=s;function u(v){return typeof v=="symbol"}Be.isSymbol=u;function a(v){return v===void 0}Be.isUndefined=a;function f(v){return m(v)==="[object RegExp]"}Be.isRegExp=f;function o(v){return typeof v=="object"&&v!==null}Be.isObject=o;function c(v){return m(v)==="[object Date]"}Be.isDate=c;function l(v){return m(v)==="[object Error]"||v instanceof Error}Be.isError=l;function d(v){return typeof v=="function"}Be.isFunction=d;function h(v){return v===null||typeof v=="boolean"||typeof v=="number"||typeof v=="string"||typeof v=="symbol"||typeof v>"u"}Be.isPrimitive=h,Be.isBuffer=St().Buffer.isBuffer;function m(v){return Object.prototype.toString.call(v)}return Be}var Wn={exports:{}},ps;function A2(){return ps||(ps=1,(function(e){function n(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}var t=_a().Buffer,r=on;function i(s,u,a){s.copy(u,a)}e.exports=(function(){function s(){n(this,s),this.head=null,this.tail=null,this.length=0}return s.prototype.push=function(a){var f={data:a,next:null};this.length>0?this.tail.next=f:this.head=f,this.tail=f,++this.length},s.prototype.unshift=function(a){var f={data:a,next:this.head};this.length===0&&(this.tail=f),this.head=f,++this.length},s.prototype.shift=function(){if(this.length!==0){var a=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,a}},s.prototype.clear=function(){this.head=this.tail=null,this.length=0},s.prototype.join=function(a){if(this.length===0)return"";for(var f=this.head,o=""+f.data;f=f.next;)o+=a+f.data;return o},s.prototype.concat=function(a){if(this.length===0)return t.alloc(0);for(var f=t.allocUnsafe(a>>>0),o=this.head,c=0;o;)i(o.data,f,c),c+=o.data.length,o=o.next;return f},s})(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var s=r.inspect({length:this.length});return this.constructor.name+" "+s})})(Wn)),Wn.exports}var Vn,gs;function $c(){if(gs)return Vn;gs=1;var e=fn();function n(i,s){var u=this,a=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return a||f?(s?s(i):i&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(r,this,i)):e.nextTick(r,this,i)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(i||null,function(o){!s&&o?u._writableState?u._writableState.errorEmitted||(u._writableState.errorEmitted=!0,e.nextTick(r,u,o)):e.nextTick(r,u,o):s&&s(o)}),this)}function t(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function r(i,s){i.emit("error",s)}return Vn={destroy:n,undestroy:t},Vn}var Yn,ys;function M2(){if(ys)return Yn;ys=1,Yn=e;function e(t,r){if(n("noDeprecation"))return t;var i=!1;function s(){if(!i){if(n("throwDeprecation"))throw new Error(r);n("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return t.apply(this,arguments)}return s}function n(t){try{if(!it.localStorage)return!1}catch{return!1}var r=it.localStorage[t];return r==null?!1:String(r).toLowerCase()==="true"}return Yn}var $n,ms;function Xc(){if(ms)return $n;ms=1;var e=fn();$n=v;function n(R){var A=this;this.next=null,this.entry=null,this.finish=function(){V(A,R)}}var t=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:e.nextTick,r;v.WritableState=h;var i=Object.create(Sr());i.inherits=we();var s={deprecate:M2()},u=Yc(),a=_a().Buffer,f=(typeof it<"u"?it:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(R){return a.from(R)}function c(R){return a.isBuffer(R)||R instanceof f}var l=$c();i.inherits(v,u);function d(){}function h(R,A){r=r||wt(),R=R||{};var N=A instanceof r;this.objectMode=!!R.objectMode,N&&(this.objectMode=this.objectMode||!!R.writableObjectMode);var W=R.highWaterMark,J=R.writableHighWaterMark,Z=this.objectMode?16:16*1024;W||W===0?this.highWaterMark=W:N&&(J||J===0)?this.highWaterMark=J:this.highWaterMark=Z,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var H=R.decodeStrings===!1;this.decodeStrings=!H,this.defaultEncoding=R.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(M){p(A,M)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}h.prototype.getBuffer=function(){for(var A=this.bufferedRequest,N=[];A;)N.push(A),A=A.next;return N},(function(){try{Object.defineProperty(h.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var m;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(R){return m.call(this,R)?!0:this!==v?!1:R&&R._writableState instanceof h}})):m=function(R){return R instanceof this};function v(R){if(r=r||wt(),!m.call(v,this)&&!(this instanceof r))return new v(R);this._writableState=new h(R,this),this.writable=!0,R&&(typeof R.write=="function"&&(this._write=R.write),typeof R.writev=="function"&&(this._writev=R.writev),typeof R.destroy=="function"&&(this._destroy=R.destroy),typeof R.final=="function"&&(this._final=R.final)),u.call(this)}v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function y(R,A){var N=new Error("write after end");R.emit("error",N),e.nextTick(A,N)}function g(R,A,N,W){var J=!0,Z=!1;return N===null?Z=new TypeError("May not write null values to stream"):typeof N!="string"&&N!==void 0&&!A.objectMode&&(Z=new TypeError("Invalid non-string/buffer chunk")),Z&&(R.emit("error",Z),e.nextTick(W,Z),J=!1),J}v.prototype.write=function(R,A,N){var W=this._writableState,J=!1,Z=!W.objectMode&&c(R);return Z&&!a.isBuffer(R)&&(R=o(R)),typeof A=="function"&&(N=A,A=null),Z?A="buffer":A||(A=W.defaultEncoding),typeof N!="function"&&(N=d),W.ended?y(this,N):(Z||g(this,W,R,N))&&(W.pendingcb++,J=x(this,W,Z,R,A,N)),J},v.prototype.cork=function(){var R=this._writableState;R.corked++},v.prototype.uncork=function(){var R=this._writableState;R.corked&&(R.corked--,!R.writing&&!R.corked&&!R.bufferProcessing&&R.bufferedRequest&&O(this,R))},v.prototype.setDefaultEncoding=function(A){if(typeof A=="string"&&(A=A.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((A+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+A);return this._writableState.defaultEncoding=A,this};function b(R,A,N){return!R.objectMode&&R.decodeStrings!==!1&&typeof A=="string"&&(A=a.from(A,N)),A}Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function x(R,A,N,W,J,Z){if(!N){var H=b(A,W,J);W!==H&&(N=!0,J="buffer",W=H)}var M=A.objectMode?1:W.length;A.length+=M;var U=A.length<A.highWaterMark;if(U||(A.needDrain=!0),A.writing||A.corked){var q=A.lastBufferedRequest;A.lastBufferedRequest={chunk:W,encoding:J,isBuf:N,callback:Z,next:null},q?q.next=A.lastBufferedRequest:A.bufferedRequest=A.lastBufferedRequest,A.bufferedRequestCount+=1}else E(R,A,!1,M,W,J,Z);return U}function E(R,A,N,W,J,Z,H){A.writelen=W,A.writecb=H,A.writing=!0,A.sync=!0,N?R._writev(J,A.onwrite):R._write(J,Z,A.onwrite),A.sync=!1}function I(R,A,N,W,J){--A.pendingcb,N?(e.nextTick(J,W),e.nextTick(L,R,A),R._writableState.errorEmitted=!0,R.emit("error",W)):(J(W),R._writableState.errorEmitted=!0,R.emit("error",W),L(R,A))}function w(R){R.writing=!1,R.writecb=null,R.length-=R.writelen,R.writelen=0}function p(R,A){var N=R._writableState,W=N.sync,J=N.writecb;if(w(N),A)I(R,N,W,A,J);else{var Z=j(N);!Z&&!N.corked&&!N.bufferProcessing&&N.bufferedRequest&&O(R,N),W?t(C,R,N,Z,J):C(R,N,Z,J)}}function C(R,A,N,W){N||S(R,A),A.pendingcb--,W(),L(R,A)}function S(R,A){A.length===0&&A.needDrain&&(A.needDrain=!1,R.emit("drain"))}function O(R,A){A.bufferProcessing=!0;var N=A.bufferedRequest;if(R._writev&&N&&N.next){var W=A.bufferedRequestCount,J=new Array(W),Z=A.corkedRequestsFree;Z.entry=N;for(var H=0,M=!0;N;)J[H]=N,N.isBuf||(M=!1),N=N.next,H+=1;J.allBuffers=M,E(R,A,!0,A.length,J,"",Z.finish),A.pendingcb++,A.lastBufferedRequest=null,Z.next?(A.corkedRequestsFree=Z.next,Z.next=null):A.corkedRequestsFree=new n(A),A.bufferedRequestCount=0}else{for(;N;){var U=N.chunk,q=N.encoding,P=N.callback,k=A.objectMode?1:U.length;if(E(R,A,!1,k,U,q,P),N=N.next,A.bufferedRequestCount--,A.writing)break}N===null&&(A.lastBufferedRequest=null)}A.bufferedRequest=N,A.bufferProcessing=!1}v.prototype._write=function(R,A,N){N(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(R,A,N){var W=this._writableState;typeof R=="function"?(N=R,R=null,A=null):typeof A=="function"&&(N=A,A=null),R!=null&&this.write(R,A),W.corked&&(W.corked=1,this.uncork()),W.ending||F(this,W,N)};function j(R){return R.ending&&R.length===0&&R.bufferedRequest===null&&!R.finished&&!R.writing}function Y(R,A){R._final(function(N){A.pendingcb--,N&&R.emit("error",N),A.prefinished=!0,R.emit("prefinish"),L(R,A)})}function G(R,A){!A.prefinished&&!A.finalCalled&&(typeof R._final=="function"?(A.pendingcb++,A.finalCalled=!0,e.nextTick(Y,R,A)):(A.prefinished=!0,R.emit("prefinish")))}function L(R,A){var N=j(A);return N&&(G(R,A),A.pendingcb===0&&(A.finished=!0,R.emit("finish"))),N}function F(R,A,N){A.ending=!0,L(R,A),N&&(A.finished?e.nextTick(N):R.once("finish",N)),A.ended=!0,R.writable=!1}function V(R,A,N){var W=R.entry;for(R.entry=null;W;){var J=W.callback;A.pendingcb--,J(N),W=W.next}A.corkedRequestsFree.next=R}return Object.defineProperty(v.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(R){this._writableState&&(this._writableState.destroyed=R)}}),v.prototype.destroy=l.destroy,v.prototype._undestroy=l.undestroy,v.prototype._destroy=function(R,A){this.end(),A(R)},$n}var Xn,vs;function wt(){if(vs)return Xn;vs=1;var e=fn(),n=Object.keys||function(l){var d=[];for(var h in l)d.push(h);return d};Xn=f;var t=Object.create(Sr());t.inherits=we();var r=Qc(),i=Xc();t.inherits(f,r);for(var s=n(i.prototype),u=0;u<s.length;u++){var a=s[u];f.prototype[a]||(f.prototype[a]=i.prototype[a])}function f(l){if(!(this instanceof f))return new f(l);r.call(this,l),i.call(this,l),l&&l.readable===!1&&(this.readable=!1),l&&l.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,l&&l.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",o)}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function o(){this.allowHalfOpen||this._writableState.ended||e.nextTick(c,this)}function c(l){l.end()}return Object.defineProperty(f.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(l){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=l,this._writableState.destroyed=l)}}),f.prototype._destroy=function(l,d){this.push(null),this.end(),e.nextTick(d,l)},Xn}var Qn={},Mr={exports:{}},bs;function U2(){return bs||(bs=1,(function(e,n){var t=St(),r=t.Buffer;function i(u,a){for(var f in u)a[f]=u[f]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=t:(i(t,n),n.Buffer=s);function s(u,a,f){return r(u,a,f)}i(r,s),s.from=function(u,a,f){if(typeof u=="number")throw new TypeError("Argument must not be a number");return r(u,a,f)},s.alloc=function(u,a,f){if(typeof u!="number")throw new TypeError("Argument must be a number");var o=r(u);return a!==void 0?typeof f=="string"?o.fill(a,f):o.fill(a):o.fill(0),o},s.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return r(u)},s.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(u)}})(Mr,Mr.exports)),Mr.exports}var xs;function Cs(){if(xs)return Qn;xs=1;var e=U2().Buffer,n=e.isEncoding||function(g){switch(g=""+g,g&&g.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function t(g){if(!g)return"utf8";for(var b;;)switch(g){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return g;default:if(b)return;g=(""+g).toLowerCase(),b=!0}}function r(g){var b=t(g);if(typeof b!="string"&&(e.isEncoding===n||!n(g)))throw new Error("Unknown encoding: "+g);return b||g}Qn.StringDecoder=i;function i(g){this.encoding=r(g);var b;switch(this.encoding){case"utf16le":this.text=l,this.end=d,b=4;break;case"utf8":this.fillLast=f,b=4;break;case"base64":this.text=h,this.end=m,b=3;break;default:this.write=v,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(b)}i.prototype.write=function(g){if(g.length===0)return"";var b,x;if(this.lastNeed){if(b=this.fillLast(g),b===void 0)return"";x=this.lastNeed,this.lastNeed=0}else x=0;return x<g.length?b?b+this.text(g,x):this.text(g,x):b||""},i.prototype.end=c,i.prototype.text=o,i.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function s(g){return g<=127?0:g>>5===6?2:g>>4===14?3:g>>3===30?4:g>>6===2?-1:-2}function u(g,b,x){var E=b.length-1;if(E<x)return 0;var I=s(b[E]);return I>=0?(I>0&&(g.lastNeed=I-1),I):--E<x||I===-2?0:(I=s(b[E]),I>=0?(I>0&&(g.lastNeed=I-2),I):--E<x||I===-2?0:(I=s(b[E]),I>=0?(I>0&&(I===2?I=0:g.lastNeed=I-3),I):0))}function a(g,b,x){if((b[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&b.length>2&&(b[2]&192)!==128)return g.lastNeed=2,"�"}}function f(g){var b=this.lastTotal-this.lastNeed,x=a(this,g);if(x!==void 0)return x;if(this.lastNeed<=g.length)return g.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,b,0,g.length),this.lastNeed-=g.length}function o(g,b){var x=u(this,g,b);if(!this.lastNeed)return g.toString("utf8",b);this.lastTotal=x;var E=g.length-(x-this.lastNeed);return g.copy(this.lastChar,0,E),g.toString("utf8",b,E)}function c(g){var b=g&&g.length?this.write(g):"";return this.lastNeed?b+"�":b}function l(g,b){if((g.length-b)%2===0){var x=g.toString("utf16le",b);if(x){var E=x.charCodeAt(x.length-1);if(E>=55296&&E<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],x.slice(0,-1)}return x}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",b,g.length-1)}function d(g){var b=g&&g.length?this.write(g):"";if(this.lastNeed){var x=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,x)}return b}function h(g,b){var x=(g.length-b)%3;return x===0?g.toString("base64",b):(this.lastNeed=3-x,this.lastTotal=3,x===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString("base64",b,g.length-x))}function m(g){var b=g&&g.length?this.write(g):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function v(g){return g.toString(this.encoding)}function y(g){return g&&g.length?this.write(g):""}return Qn}var Jn,_s;function Qc(){if(_s)return Jn;_s=1;var e=fn();Jn=b;var n=O2(),t;b.ReadableState=g,ma().EventEmitter;var r=function(P,k){return P.listeners(k).length},i=Yc(),s=_a().Buffer,u=(typeof it<"u"?it:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(P){return s.from(P)}function f(P){return s.isBuffer(P)||P instanceof u}var o=Object.create(Sr());o.inherits=we();var c=on,l=void 0;c&&c.debuglog?l=c.debuglog("stream"):l=function(){};var d=A2(),h=$c(),m;o.inherits(b,i);var v=["error","close","destroy","pause","resume"];function y(P,k,K){if(typeof P.prependListener=="function")return P.prependListener(k,K);!P._events||!P._events[k]?P.on(k,K):n(P._events[k])?P._events[k].unshift(K):P._events[k]=[K,P._events[k]]}function g(P,k){t=t||wt(),P=P||{};var K=k instanceof t;this.objectMode=!!P.objectMode,K&&(this.objectMode=this.objectMode||!!P.readableObjectMode);var $=P.highWaterMark,ne=P.readableHighWaterMark,re=this.objectMode?16:16*1024;$||$===0?this.highWaterMark=$:K&&(ne||ne===0)?this.highWaterMark=ne:this.highWaterMark=re,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=P.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,P.encoding&&(m||(m=Cs().StringDecoder),this.decoder=new m(P.encoding),this.encoding=P.encoding)}function b(P){if(t=t||wt(),!(this instanceof b))return new b(P);this._readableState=new g(P,this),this.readable=!0,P&&(typeof P.read=="function"&&(this._read=P.read),typeof P.destroy=="function"&&(this._destroy=P.destroy)),i.call(this)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(P){this._readableState&&(this._readableState.destroyed=P)}}),b.prototype.destroy=h.destroy,b.prototype._undestroy=h.undestroy,b.prototype._destroy=function(P,k){this.push(null),k(P)},b.prototype.push=function(P,k){var K=this._readableState,$;return K.objectMode?$=!0:typeof P=="string"&&(k=k||K.defaultEncoding,k!==K.encoding&&(P=s.from(P,k),k=""),$=!0),x(this,P,k,!1,$)},b.prototype.unshift=function(P){return x(this,P,null,!0,!1)};function x(P,k,K,$,ne){var re=P._readableState;if(k===null)re.reading=!1,O(P,re);else{var oe;ne||(oe=I(re,k)),oe?P.emit("error",oe):re.objectMode||k&&k.length>0?(typeof k!="string"&&!re.objectMode&&Object.getPrototypeOf(k)!==s.prototype&&(k=a(k)),$?re.endEmitted?P.emit("error",new Error("stream.unshift() after end event")):E(P,re,k,!0):re.ended?P.emit("error",new Error("stream.push() after EOF")):(re.reading=!1,re.decoder&&!K?(k=re.decoder.write(k),re.objectMode||k.length!==0?E(P,re,k,!1):G(P,re)):E(P,re,k,!1))):$||(re.reading=!1)}return w(re)}function E(P,k,K,$){k.flowing&&k.length===0&&!k.sync?(P.emit("data",K),P.read(0)):(k.length+=k.objectMode?1:K.length,$?k.buffer.unshift(K):k.buffer.push(K),k.needReadable&&j(P)),G(P,k)}function I(P,k){var K;return!f(k)&&typeof k!="string"&&k!==void 0&&!P.objectMode&&(K=new TypeError("Invalid non-string/buffer chunk")),K}function w(P){return!P.ended&&(P.needReadable||P.length<P.highWaterMark||P.length===0)}b.prototype.isPaused=function(){return this._readableState.flowing===!1},b.prototype.setEncoding=function(P){return m||(m=Cs().StringDecoder),this._readableState.decoder=new m(P),this._readableState.encoding=P,this};var p=8388608;function C(P){return P>=p?P=p:(P--,P|=P>>>1,P|=P>>>2,P|=P>>>4,P|=P>>>8,P|=P>>>16,P++),P}function S(P,k){return P<=0||k.length===0&&k.ended?0:k.objectMode?1:P!==P?k.flowing&&k.length?k.buffer.head.data.length:k.length:(P>k.highWaterMark&&(k.highWaterMark=C(P)),P<=k.length?P:k.ended?k.length:(k.needReadable=!0,0))}b.prototype.read=function(P){l("read",P),P=parseInt(P,10);var k=this._readableState,K=P;if(P!==0&&(k.emittedReadable=!1),P===0&&k.needReadable&&(k.length>=k.highWaterMark||k.ended))return l("read: emitReadable",k.length,k.ended),k.length===0&&k.ended?M(this):j(this),null;if(P=S(P,k),P===0&&k.ended)return k.length===0&&M(this),null;var $=k.needReadable;l("need readable",$),(k.length===0||k.length-P<k.highWaterMark)&&($=!0,l("length less than watermark",$)),k.ended||k.reading?($=!1,l("reading or ended",$)):$&&(l("do read"),k.reading=!0,k.sync=!0,k.length===0&&(k.needReadable=!0),this._read(k.highWaterMark),k.sync=!1,k.reading||(P=S(K,k)));var ne;return P>0?ne=W(P,k):ne=null,ne===null?(k.needReadable=!0,P=0):k.length-=P,k.length===0&&(k.ended||(k.needReadable=!0),K!==P&&k.ended&&M(this)),ne!==null&&this.emit("data",ne),ne};function O(P,k){if(!k.ended){if(k.decoder){var K=k.decoder.end();K&&K.length&&(k.buffer.push(K),k.length+=k.objectMode?1:K.length)}k.ended=!0,j(P)}}function j(P){var k=P._readableState;k.needReadable=!1,k.emittedReadable||(l("emitReadable",k.flowing),k.emittedReadable=!0,k.sync?e.nextTick(Y,P):Y(P))}function Y(P){l("emit readable"),P.emit("readable"),N(P)}function G(P,k){k.readingMore||(k.readingMore=!0,e.nextTick(L,P,k))}function L(P,k){for(var K=k.length;!k.reading&&!k.flowing&&!k.ended&&k.length<k.highWaterMark&&(l("maybeReadMore read 0"),P.read(0),K!==k.length);)K=k.length;k.readingMore=!1}b.prototype._read=function(P){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(P,k){var K=this,$=this._readableState;switch($.pipesCount){case 0:$.pipes=P;break;case 1:$.pipes=[$.pipes,P];break;default:$.pipes.push(P);break}$.pipesCount+=1,l("pipe count=%d opts=%j",$.pipesCount,k);var ne=(!k||k.end!==!1)&&P!==process.stdout&&P!==process.stderr,re=ne?fe:ce;$.endEmitted?e.nextTick(re):K.once("end",re),P.on("unpipe",oe);function oe(z,Q){l("onunpipe"),z===K&&Q&&Q.hasUnpiped===!1&&(Q.hasUnpiped=!0,_())}function fe(){l("onend"),P.end()}var he=F(K);P.on("drain",he);var D=!1;function _(){l("cleanup"),P.removeListener("close",ee),P.removeListener("finish",te),P.removeListener("drain",he),P.removeListener("error",X),P.removeListener("unpipe",oe),K.removeListener("end",fe),K.removeListener("end",ce),K.removeListener("data",T),D=!0,$.awaitDrain&&(!P._writableState||P._writableState.needDrain)&&he()}var B=!1;K.on("data",T);function T(z){l("ondata"),B=!1;var Q=P.write(z);Q===!1&&!B&&(($.pipesCount===1&&$.pipes===P||$.pipesCount>1&&q($.pipes,P)!==-1)&&!D&&(l("false write response, pause",$.awaitDrain),$.awaitDrain++,B=!0),K.pause())}function X(z){l("onerror",z),ce(),P.removeListener("error",X),r(P,"error")===0&&P.emit("error",z)}y(P,"error",X);function ee(){P.removeListener("finish",te),ce()}P.once("close",ee);function te(){l("onfinish"),P.removeListener("close",ee),ce()}P.once("finish",te);function ce(){l("unpipe"),K.unpipe(P)}return P.emit("pipe",K),$.flowing||(l("pipe resume"),K.resume()),P};function F(P){return function(){var k=P._readableState;l("pipeOnDrain",k.awaitDrain),k.awaitDrain&&k.awaitDrain--,k.awaitDrain===0&&r(P,"data")&&(k.flowing=!0,N(P))}}b.prototype.unpipe=function(P){var k=this._readableState,K={hasUnpiped:!1};if(k.pipesCount===0)return this;if(k.pipesCount===1)return P&&P!==k.pipes?this:(P||(P=k.pipes),k.pipes=null,k.pipesCount=0,k.flowing=!1,P&&P.emit("unpipe",this,K),this);if(!P){var $=k.pipes,ne=k.pipesCount;k.pipes=null,k.pipesCount=0,k.flowing=!1;for(var re=0;re<ne;re++)$[re].emit("unpipe",this,{hasUnpiped:!1});return this}var oe=q(k.pipes,P);return oe===-1?this:(k.pipes.splice(oe,1),k.pipesCount-=1,k.pipesCount===1&&(k.pipes=k.pipes[0]),P.emit("unpipe",this,K),this)},b.prototype.on=function(P,k){var K=i.prototype.on.call(this,P,k);if(P==="data")this._readableState.flowing!==!1&&this.resume();else if(P==="readable"){var $=this._readableState;!$.endEmitted&&!$.readableListening&&($.readableListening=$.needReadable=!0,$.emittedReadable=!1,$.reading?$.length&&j(this):e.nextTick(V,this))}return K},b.prototype.addListener=b.prototype.on;function V(P){l("readable nexttick read 0"),P.read(0)}b.prototype.resume=function(){var P=this._readableState;return P.flowing||(l("resume"),P.flowing=!0,R(this,P)),this};function R(P,k){k.resumeScheduled||(k.resumeScheduled=!0,e.nextTick(A,P,k))}function A(P,k){k.reading||(l("resume read 0"),P.read(0)),k.resumeScheduled=!1,k.awaitDrain=0,P.emit("resume"),N(P),k.flowing&&!k.reading&&P.read(0)}b.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function N(P){var k=P._readableState;for(l("flow",k.flowing);k.flowing&&P.read()!==null;);}b.prototype.wrap=function(P){var k=this,K=this._readableState,$=!1;P.on("end",function(){if(l("wrapped end"),K.decoder&&!K.ended){var oe=K.decoder.end();oe&&oe.length&&k.push(oe)}k.push(null)}),P.on("data",function(oe){if(l("wrapped data"),K.decoder&&(oe=K.decoder.write(oe)),!(K.objectMode&&oe==null)&&!(!K.objectMode&&(!oe||!oe.length))){var fe=k.push(oe);fe||($=!0,P.pause())}});for(var ne in P)this[ne]===void 0&&typeof P[ne]=="function"&&(this[ne]=(function(oe){return function(){return P[oe].apply(P,arguments)}})(ne));for(var re=0;re<v.length;re++)P.on(v[re],this.emit.bind(this,v[re]));return this._read=function(oe){l("wrapped _read",oe),$&&($=!1,P.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=W;function W(P,k){if(k.length===0)return null;var K;return k.objectMode?K=k.buffer.shift():!P||P>=k.length?(k.decoder?K=k.buffer.join(""):k.buffer.length===1?K=k.buffer.head.data:K=k.buffer.concat(k.length),k.buffer.clear()):K=J(P,k.buffer,k.decoder),K}function J(P,k,K){var $;return P<k.head.data.length?($=k.head.data.slice(0,P),k.head.data=k.head.data.slice(P)):P===k.head.data.length?$=k.shift():$=K?Z(P,k):H(P,k),$}function Z(P,k){var K=k.head,$=1,ne=K.data;for(P-=ne.length;K=K.next;){var re=K.data,oe=P>re.length?re.length:P;if(oe===re.length?ne+=re:ne+=re.slice(0,P),P-=oe,P===0){oe===re.length?(++$,K.next?k.head=K.next:k.head=k.tail=null):(k.head=K,K.data=re.slice(oe));break}++$}return k.length-=$,ne}function H(P,k){var K=s.allocUnsafe(P),$=k.head,ne=1;for($.data.copy(K),P-=$.data.length;$=$.next;){var re=$.data,oe=P>re.length?re.length:P;if(re.copy(K,K.length-P,0,oe),P-=oe,P===0){oe===re.length?(++ne,$.next?k.head=$.next:k.head=k.tail=null):(k.head=$,$.data=re.slice(oe));break}++ne}return k.length-=ne,K}function M(P){var k=P._readableState;if(k.length>0)throw new Error('"endReadable()" called on non-empty stream');k.endEmitted||(k.ended=!0,e.nextTick(U,k,P))}function U(P,k){!P.endEmitted&&P.length===0&&(P.endEmitted=!0,k.readable=!1,k.emit("end"))}function q(P,k){for(var K=0,$=P.length;K<$;K++)if(P[K]===k)return K;return-1}return Jn}var Zn,ws;function Jc(){if(ws)return Zn;ws=1,Zn=r;var e=wt(),n=Object.create(Sr());n.inherits=we(),n.inherits(r,e);function t(u,a){var f=this._transformState;f.transforming=!1;var o=f.writecb;if(!o)return this.emit("error",new Error("write callback called multiple times"));f.writechunk=null,f.writecb=null,a!=null&&this.push(a),o(u);var c=this._readableState;c.reading=!1,(c.needReadable||c.length<c.highWaterMark)&&this._read(c.highWaterMark)}function r(u){if(!(this instanceof r))return new r(u);e.call(this,u),this._transformState={afterTransform:t.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,u&&(typeof u.transform=="function"&&(this._transform=u.transform),typeof u.flush=="function"&&(this._flush=u.flush)),this.on("prefinish",i)}function i(){var u=this;typeof this._flush=="function"?this._flush(function(a,f){s(u,a,f)}):s(this,null,null)}r.prototype.push=function(u,a){return this._transformState.needTransform=!1,e.prototype.push.call(this,u,a)},r.prototype._transform=function(u,a,f){throw new Error("_transform() is not implemented")},r.prototype._write=function(u,a,f){var o=this._transformState;if(o.writecb=f,o.writechunk=u,o.writeencoding=a,!o.transforming){var c=this._readableState;(o.needTransform||c.needReadable||c.length<c.highWaterMark)&&this._read(c.highWaterMark)}},r.prototype._read=function(u){var a=this._transformState;a.writechunk!==null&&a.writecb&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0},r.prototype._destroy=function(u,a){var f=this;e.prototype._destroy.call(this,u,function(o){a(o),f.emit("close")})};function s(u,a,f){if(a)return u.emit("error",a);if(f!=null&&u.push(f),u._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(u._transformState.transforming)throw new Error("Calling transform done when still transforming");return u.push(null)}return Zn}var ei,Bs;function L2(){if(Bs)return ei;Bs=1,ei=t;var e=Jc(),n=Object.create(Sr());n.inherits=we(),n.inherits(t,e);function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return t.prototype._transform=function(r,i,s){s(null,r)},ei}var Ss;function j2(){return Ss||(Ss=1,(function(e,n){n=e.exports=Qc(),n.Stream=n,n.Readable=n,n.Writable=Xc(),n.Duplex=wt(),n.Transform=Jc(),n.PassThrough=L2()})(Dr,Dr.exports)),Dr.exports}var ti,Es;function N2(){if(Es)return ti;Es=1;var e=Ne().Buffer,n=D2(),t=j2().Transform,r=we();function i(s){t.call(this),this._block=e.allocUnsafe(s),this._blockSize=s,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}return r(i,t),i.prototype._transform=function(s,u,a){var f=null;try{this.update(s,u)}catch(o){f=o}a(f)},i.prototype._flush=function(s){var u=null;try{this.push(this.digest())}catch(a){u=a}s(u)},i.prototype.update=function(s,u){if(this._finalized)throw new Error("Digest already called");for(var a=n(s,u),f=this._block,o=0;this._blockOffset+a.length-o>=this._blockSize;){for(var c=this._blockOffset;c<this._blockSize;)f[c]=a[o],c+=1,o+=1;this._update(),this._blockOffset=0}for(;o<a.length;)f[this._blockOffset]=a[o],this._blockOffset+=1,o+=1;for(var l=0,d=a.length*8;d>0;++l)this._length[l]+=d,d=this._length[l]/4294967296|0,d>0&&(this._length[l]-=4294967296*d);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(s){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var u=this._digest();s!==void 0&&(u=u.toString(s)),this._block.fill(0),this._blockOffset=0;for(var a=0;a<4;++a)this._length[a]=0;return u},i.prototype._digest=function(){throw new Error("_digest is not implemented")},ti=i,ti}var ri,Ps;function F2(){if(Ps)return ri;Ps=1;var e=St().Buffer,n=we(),t=N2(),r=new Array(16),i=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],s=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],a=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],o=[1352829926,1548603684,1836072691,2053994217,0];function c(g,b){return g<<b|g>>>32-b}function l(g,b,x,E,I,w,p,C){return c(g+(b^x^E)+w+p|0,C)+I|0}function d(g,b,x,E,I,w,p,C){return c(g+(b&x|~b&E)+w+p|0,C)+I|0}function h(g,b,x,E,I,w,p,C){return c(g+((b|~x)^E)+w+p|0,C)+I|0}function m(g,b,x,E,I,w,p,C){return c(g+(b&E|x&~E)+w+p|0,C)+I|0}function v(g,b,x,E,I,w,p,C){return c(g+(b^(x|~E))+w+p|0,C)+I|0}function y(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}return n(y,t),y.prototype._update=function(){for(var g=r,b=0;b<16;++b)g[b]=this._block.readInt32LE(b*4);for(var x=this._a|0,E=this._b|0,I=this._c|0,w=this._d|0,p=this._e|0,C=this._a|0,S=this._b|0,O=this._c|0,j=this._d|0,Y=this._e|0,G=0;G<80;G+=1){var L,F;G<16?(L=l(x,E,I,w,p,g[i[G]],f[0],u[G]),F=v(C,S,O,j,Y,g[s[G]],o[0],a[G])):G<32?(L=d(x,E,I,w,p,g[i[G]],f[1],u[G]),F=m(C,S,O,j,Y,g[s[G]],o[1],a[G])):G<48?(L=h(x,E,I,w,p,g[i[G]],f[2],u[G]),F=h(C,S,O,j,Y,g[s[G]],o[2],a[G])):G<64?(L=m(x,E,I,w,p,g[i[G]],f[3],u[G]),F=d(C,S,O,j,Y,g[s[G]],o[3],a[G])):(L=v(x,E,I,w,p,g[i[G]],f[4],u[G]),F=l(C,S,O,j,Y,g[s[G]],o[4],a[G])),x=p,p=w,w=c(I,10),I=E,E=L,C=Y,Y=j,j=c(O,10),O=S,S=F}var V=this._b+I+j|0;this._b=this._c+w+Y|0,this._c=this._d+p+C|0,this._d=this._e+x+S|0,this._e=this._a+E+O|0,this._a=V},y.prototype._digest=function(){this._block[this._blockOffset]=128,this._blockOffset+=1,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var g=e.alloc?e.alloc(20):new e(20);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g.writeInt32LE(this._e,16),g},ri=y,ri}var ni={exports:{}},ii,ks;function Pt(){if(ks)return ii;ks=1;var e=Ne().Buffer,n=Ca();function t(r,i){this._block=e.alloc(r),this._finalSize=i,this._blockSize=r,this._len=0}return t.prototype.update=function(r,i){r=n(r,i||"utf8");for(var s=this._block,u=this._blockSize,a=r.length,f=this._len,o=0;o<a;){for(var c=f%u,l=Math.min(a-o,u-c),d=0;d<l;d++)s[c+d]=r[o+d];f+=l,o+=l,f%u===0&&this._update(s)}return this._len+=a,this},t.prototype.digest=function(r){var i=this._len%this._blockSize;this._block[i]=128,this._block.fill(0,i+1),i>=this._finalSize&&(this._update(this._block),this._block.fill(0));var s=this._len*8;if(s<=4294967295)this._block.writeUInt32BE(s,this._blockSize-4);else{var u=(s&4294967295)>>>0,a=(s-u)/4294967296;this._block.writeUInt32BE(a,this._blockSize-8),this._block.writeUInt32BE(u,this._blockSize-4)}this._update(this._block);var f=this._hash();return r?f.toString(r):f},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},ii=t,ii}var oi,Ts;function q2(){if(Ts)return oi;Ts=1;var e=we(),n=Pt(),t=Ne().Buffer,r=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function s(){this.init(),this._w=i,n.call(this,64,56)}e(s,n),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function u(o){return o<<5|o>>>27}function a(o){return o<<30|o>>>2}function f(o,c,l,d){return o===0?c&l|~c&d:o===2?c&l|c&d|l&d:c^l^d}return s.prototype._update=function(o){for(var c=this._w,l=this._a|0,d=this._b|0,h=this._c|0,m=this._d|0,v=this._e|0,y=0;y<16;++y)c[y]=o.readInt32BE(y*4);for(;y<80;++y)c[y]=c[y-3]^c[y-8]^c[y-14]^c[y-16];for(var g=0;g<80;++g){var b=~~(g/20),x=u(l)+f(b,d,h,m)+v+c[g]+r[b]|0;v=m,m=h,h=a(d),d=l,l=x}this._a=l+this._a|0,this._b=d+this._b|0,this._c=h+this._c|0,this._d=m+this._d|0,this._e=v+this._e|0},s.prototype._hash=function(){var o=t.allocUnsafe(20);return o.writeInt32BE(this._a|0,0),o.writeInt32BE(this._b|0,4),o.writeInt32BE(this._c|0,8),o.writeInt32BE(this._d|0,12),o.writeInt32BE(this._e|0,16),o},oi=s,oi}var ai,Rs;function H2(){if(Rs)return ai;Rs=1;var e=we(),n=Pt(),t=Ne().Buffer,r=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function s(){this.init(),this._w=i,n.call(this,64,56)}e(s,n),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function u(c){return c<<1|c>>>31}function a(c){return c<<5|c>>>27}function f(c){return c<<30|c>>>2}function o(c,l,d,h){return c===0?l&d|~l&h:c===2?l&d|l&h|d&h:l^d^h}return s.prototype._update=function(c){for(var l=this._w,d=this._a|0,h=this._b|0,m=this._c|0,v=this._d|0,y=this._e|0,g=0;g<16;++g)l[g]=c.readInt32BE(g*4);for(;g<80;++g)l[g]=u(l[g-3]^l[g-8]^l[g-14]^l[g-16]);for(var b=0;b<80;++b){var x=~~(b/20),E=a(d)+o(x,h,m,v)+y+l[b]+r[x]|0;y=v,v=m,m=f(h),h=d,d=E}this._a=d+this._a|0,this._b=h+this._b|0,this._c=m+this._c|0,this._d=v+this._d|0,this._e=y+this._e|0},s.prototype._hash=function(){var c=t.allocUnsafe(20);return c.writeInt32BE(this._a|0,0),c.writeInt32BE(this._b|0,4),c.writeInt32BE(this._c|0,8),c.writeInt32BE(this._d|0,12),c.writeInt32BE(this._e|0,16),c},ai=s,ai}var si,Is;function Zc(){if(Is)return si;Is=1;var e=we(),n=Pt(),t=Ne().Buffer,r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=new Array(64);function s(){this.init(),this._w=i,n.call(this,64,56)}e(s,n),s.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function u(d,h,m){return m^d&(h^m)}function a(d,h,m){return d&h|m&(d|h)}function f(d){return(d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10)}function o(d){return(d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7)}function c(d){return(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3}function l(d){return(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10}return s.prototype._update=function(d){for(var h=this._w,m=this._a|0,v=this._b|0,y=this._c|0,g=this._d|0,b=this._e|0,x=this._f|0,E=this._g|0,I=this._h|0,w=0;w<16;++w)h[w]=d.readInt32BE(w*4);for(;w<64;++w)h[w]=l(h[w-2])+h[w-7]+c(h[w-15])+h[w-16]|0;for(var p=0;p<64;++p){var C=I+o(b)+u(b,x,E)+r[p]+h[p]|0,S=f(m)+a(m,v,y)|0;I=E,E=x,x=b,b=g+C|0,g=y,y=v,v=m,m=C+S|0}this._a=m+this._a|0,this._b=v+this._b|0,this._c=y+this._c|0,this._d=g+this._d|0,this._e=b+this._e|0,this._f=x+this._f|0,this._g=E+this._g|0,this._h=I+this._h|0},s.prototype._hash=function(){var d=t.allocUnsafe(32);return d.writeInt32BE(this._a,0),d.writeInt32BE(this._b,4),d.writeInt32BE(this._c,8),d.writeInt32BE(this._d,12),d.writeInt32BE(this._e,16),d.writeInt32BE(this._f,20),d.writeInt32BE(this._g,24),d.writeInt32BE(this._h,28),d},si=s,si}var ci,Ds;function K2(){if(Ds)return ci;Ds=1;var e=we(),n=Zc(),t=Pt(),r=Ne().Buffer,i=new Array(64);function s(){this.init(),this._w=i,t.call(this,64,56)}return e(s,n),s.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},s.prototype._hash=function(){var u=r.allocUnsafe(28);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u},ci=s,ci}var ui,Os;function eu(){if(Os)return ui;Os=1;var e=we(),n=Pt(),t=Ne().Buffer,r=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],i=new Array(160);function s(){this.init(),this._w=i,n.call(this,128,112)}e(s,n),s.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function u(v,y,g){return g^v&(y^g)}function a(v,y,g){return v&y|g&(v|y)}function f(v,y){return(v>>>28|y<<4)^(y>>>2|v<<30)^(y>>>7|v<<25)}function o(v,y){return(v>>>14|y<<18)^(v>>>18|y<<14)^(y>>>9|v<<23)}function c(v,y){return(v>>>1|y<<31)^(v>>>8|y<<24)^v>>>7}function l(v,y){return(v>>>1|y<<31)^(v>>>8|y<<24)^(v>>>7|y<<25)}function d(v,y){return(v>>>19|y<<13)^(y>>>29|v<<3)^v>>>6}function h(v,y){return(v>>>19|y<<13)^(y>>>29|v<<3)^(v>>>6|y<<26)}function m(v,y){return v>>>0<y>>>0?1:0}return s.prototype._update=function(v){for(var y=this._w,g=this._ah|0,b=this._bh|0,x=this._ch|0,E=this._dh|0,I=this._eh|0,w=this._fh|0,p=this._gh|0,C=this._hh|0,S=this._al|0,O=this._bl|0,j=this._cl|0,Y=this._dl|0,G=this._el|0,L=this._fl|0,F=this._gl|0,V=this._hl|0,R=0;R<32;R+=2)y[R]=v.readInt32BE(R*4),y[R+1]=v.readInt32BE(R*4+4);for(;R<160;R+=2){var A=y[R-30],N=y[R-30+1],W=c(A,N),J=l(N,A);A=y[R-4],N=y[R-4+1];var Z=d(A,N),H=h(N,A),M=y[R-14],U=y[R-14+1],q=y[R-32],P=y[R-32+1],k=J+U|0,K=W+M+m(k,J)|0;k=k+H|0,K=K+Z+m(k,H)|0,k=k+P|0,K=K+q+m(k,P)|0,y[R]=K,y[R+1]=k}for(var $=0;$<160;$+=2){K=y[$],k=y[$+1];var ne=a(g,b,x),re=a(S,O,j),oe=f(g,S),fe=f(S,g),he=o(I,G),D=o(G,I),_=r[$],B=r[$+1],T=u(I,w,p),X=u(G,L,F),ee=V+D|0,te=C+he+m(ee,V)|0;ee=ee+X|0,te=te+T+m(ee,X)|0,ee=ee+B|0,te=te+_+m(ee,B)|0,ee=ee+k|0,te=te+K+m(ee,k)|0;var ce=fe+re|0,z=oe+ne+m(ce,fe)|0;C=p,V=F,p=w,F=L,w=I,L=G,G=Y+ee|0,I=E+te+m(G,Y)|0,E=x,Y=j,x=b,j=O,b=g,O=S,S=ee+ce|0,g=te+z+m(S,ee)|0}this._al=this._al+S|0,this._bl=this._bl+O|0,this._cl=this._cl+j|0,this._dl=this._dl+Y|0,this._el=this._el+G|0,this._fl=this._fl+L|0,this._gl=this._gl+F|0,this._hl=this._hl+V|0,this._ah=this._ah+g+m(this._al,S)|0,this._bh=this._bh+b+m(this._bl,O)|0,this._ch=this._ch+x+m(this._cl,j)|0,this._dh=this._dh+E+m(this._dl,Y)|0,this._eh=this._eh+I+m(this._el,G)|0,this._fh=this._fh+w+m(this._fl,L)|0,this._gh=this._gh+p+m(this._gl,F)|0,this._hh=this._hh+C+m(this._hl,V)|0},s.prototype._hash=function(){var v=t.allocUnsafe(64);function y(g,b,x){v.writeInt32BE(g,x),v.writeInt32BE(b,x+4)}return y(this._ah,this._al,0),y(this._bh,this._bl,8),y(this._ch,this._cl,16),y(this._dh,this._dl,24),y(this._eh,this._el,32),y(this._fh,this._fl,40),y(this._gh,this._gl,48),y(this._hh,this._hl,56),v},ui=s,ui}var fi,As;function z2(){if(As)return fi;As=1;var e=we(),n=eu(),t=Pt(),r=Ne().Buffer,i=new Array(160);function s(){this.init(),this._w=i,t.call(this,128,112)}return e(s,n),s.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},s.prototype._hash=function(){var u=r.allocUnsafe(48);function a(f,o,c){u.writeInt32BE(f,c),u.writeInt32BE(o,c+4)}return a(this._ah,this._al,0),a(this._bh,this._bl,8),a(this._ch,this._cl,16),a(this._dh,this._dl,24),a(this._eh,this._el,32),a(this._fh,this._fl,40),u},fi=s,fi}var Ms;function tu(){return Ms||(Ms=1,(function(e){e.exports=function(t){var r=t.toLowerCase(),i=e.exports[r];if(!i)throw new Error(r+" is not supported (we accept pull requests)");return new i},e.exports.sha=q2(),e.exports.sha1=H2(),e.exports.sha224=K2(),e.exports.sha256=Zc(),e.exports.sha384=z2(),e.exports.sha512=eu()})(ni)),ni.exports}var li,Us;function G2(){if(Us)return li;Us=1;var e=Ne().Buffer,n=on.Transform,t=v2().StringDecoder,r=we(),i=Ca();function s(u){n.call(this),this.hashMode=typeof u=="string",this.hashMode?this[u]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}return r(s,n),s.prototype.update=function(u,a,f){var o=i(u,a),c=this._update(o);return this.hashMode?this:(f&&(c=this._toString(c,f)),c)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(u,a,f){var o;try{this.hashMode?this._update(u):this.push(this._update(u))}catch(c){o=c}finally{f(o)}},s.prototype._flush=function(u){var a;try{this.push(this.__final())}catch(f){a=f}u(a)},s.prototype._finalOrDigest=function(u){var a=this.__final()||e.alloc(0);return u&&(a=this._toString(a,u,!0)),a},s.prototype._toString=function(u,a,f){if(this._decoder||(this._decoder=new t(a),this._encoding=a),this._encoding!==a)throw new Error("can’t switch encodings");var o=this._decoder.write(u);return f&&(o+=this._decoder.end()),o},li=s,li}var di,Ls;function W2(){if(Ls)return di;Ls=1;var e=we(),n=w2(),t=F2(),r=tu(),i=G2();function s(u){i.call(this,"digest"),this._hash=u}return e(s,i),s.prototype._update=function(u){this._hash.update(u)},s.prototype._final=function(){return this._hash.digest()},di=function(a){return a=a.toLowerCase(),a==="md5"?new n:a==="rmd160"||a==="ripemd160"?new t:new s(r(a))},di}var hi,js;function V2(){if(js)return hi;js=1;var e=Ne().Buffer;function n(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),i=0;i<r.length;i++)r[i]=255;for(var s=0;s<t.length;s++){var u=t.charAt(s),a=u.charCodeAt(0);if(r[a]!==255)throw new TypeError(u+" is ambiguous");r[a]=s}var f=t.length,o=t.charAt(0),c=Math.log(f)/Math.log(256),l=Math.log(256)/Math.log(f);function d(v){if((Array.isArray(v)||v instanceof Uint8Array)&&(v=e.from(v)),!e.isBuffer(v))throw new TypeError("Expected Buffer");if(v.length===0)return"";for(var y=0,g=0,b=0,x=v.length;b!==x&&v[b]===0;)b++,y++;for(var E=(x-b)*l+1>>>0,I=new Uint8Array(E);b!==x;){for(var w=v[b],p=0,C=E-1;(w!==0||p<g)&&C!==-1;C--,p++)w+=256*I[C]>>>0,I[C]=w%f>>>0,w=w/f>>>0;if(w!==0)throw new Error("Non-zero carry");g=p,b++}for(var S=E-g;S!==E&&I[S]===0;)S++;for(var O=o.repeat(y);S<E;++S)O+=t.charAt(I[S]);return O}function h(v){if(typeof v!="string")throw new TypeError("Expected String");if(v.length===0)return e.alloc(0);for(var y=0,g=0,b=0;v[y]===o;)g++,y++;for(var x=(v.length-y)*c+1>>>0,E=new Uint8Array(x);y<v.length;){var I=v.charCodeAt(y);if(I>255)return;var w=r[I];if(w===255)return;for(var p=0,C=x-1;(w!==0||p<b)&&C!==-1;C--,p++)w+=f*E[C]>>>0,E[C]=w%256>>>0,w=w/256>>>0;if(w!==0)throw new Error("Non-zero carry");b=p,y++}for(var S=x-b;S!==x&&E[S]===0;)S++;var O=e.allocUnsafe(g+(x-S));O.fill(0,0,g);for(var j=g;S!==x;)O[j++]=E[S++];return O}function m(v){var y=h(v);if(y)return y;throw new Error("Non-base"+f+" character")}return{encode:d,decodeUnsafe:h,decode:m}}return hi=n,hi}var pi,Ns;function Y2(){if(Ns)return pi;Ns=1;var e=V2(),n="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";return pi=e(n),pi}var gi,Fs;function $2(){if(Fs)return gi;Fs=1;var e=Y2(),n=Ne().Buffer;return gi=function(t){function r(a){var f=t(a);return e.encode(n.concat([a,f],a.length+4))}function i(a){var f=a.slice(0,-4),o=a.slice(-4),c=t(f);if(!(o[0]^c[0]|o[1]^c[1]|o[2]^c[2]|o[3]^c[3]))return f}function s(a){var f=e.decodeUnsafe(a);if(f)return i(f)}function u(a){var f=e.decode(a),o=i(f);if(!o)throw new Error("Invalid checksum");return o}return{encode:r,decode:u,decodeUnsafe:s}},gi}var yi,qs;function ru(){if(qs)return yi;qs=1;var e=W2(),n=$2();function t(r){var i=e("sha256").update(r).digest();return e("sha256").update(i).digest()}return yi=n(t),yi}var mi={},jt={},Ve={},Ur={},He={},Hs;function wa(){if(Hs)return He;Hs=1,Object.defineProperty(He,"__esModule",{value:!0}),He.InvalidChecksumError=He.InvalidSequenceComponentError=He.InvalidTypeError=He.InvalidPathLengthError=He.InvalidSchemeError=void 0;class e extends Error{constructor(){super("Invalid Scheme"),this.name="InvalidSchemeError"}}He.InvalidSchemeError=e;class n extends Error{constructor(){super("Invalid Path"),this.name="InvalidPathLengthError"}}He.InvalidPathLengthError=n;class t extends Error{constructor(){super("Invalid Type"),this.name="InvalidTypeError"}}He.InvalidTypeError=t;class r extends Error{constructor(){super("Invalid Sequence Component"),this.name="InvalidSequenceComponentError"}}He.InvalidSequenceComponentError=r;class i extends Error{constructor(){super("Invalid Checksum"),this.name="InvalidChecksumError"}}return He.InvalidChecksumError=i,He}var ve={},vi={};var Ks;function X2(){return Ks||(Ks=1,(function(e){var n=c2(),t=u2(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50;var i=2147483647;e.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=s(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function s(){try{var D=new Uint8Array(1),_={foo:function(){return 42}};return Object.setPrototypeOf(_,Uint8Array.prototype),Object.setPrototypeOf(D,_),D.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function u(D){if(D>i)throw new RangeError('The value "'+D+'" is invalid for option "size"');var _=new Uint8Array(D);return Object.setPrototypeOf(_,a.prototype),_}function a(D,_,B){if(typeof D=="number"){if(typeof _=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return l(D)}return f(D,_,B)}a.poolSize=8192;function f(D,_,B){if(typeof D=="string")return d(D,_);if(ArrayBuffer.isView(D))return m(D);if(D==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof D);if(oe(D,ArrayBuffer)||D&&oe(D.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(oe(D,SharedArrayBuffer)||D&&oe(D.buffer,SharedArrayBuffer)))return v(D,_,B);if(typeof D=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var T=D.valueOf&&D.valueOf();if(T!=null&&T!==D)return a.from(T,_,B);var X=y(D);if(X)return X;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof D[Symbol.toPrimitive]=="function")return a.from(D[Symbol.toPrimitive]("string"),_,B);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof D)}a.from=function(D,_,B){return f(D,_,B)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function o(D){if(typeof D!="number")throw new TypeError('"size" argument must be of type number');if(D<0)throw new RangeError('The value "'+D+'" is invalid for option "size"')}function c(D,_,B){return o(D),D<=0?u(D):_!==void 0?typeof B=="string"?u(D).fill(_,B):u(D).fill(_):u(D)}a.alloc=function(D,_,B){return c(D,_,B)};function l(D){return o(D),u(D<0?0:g(D)|0)}a.allocUnsafe=function(D){return l(D)},a.allocUnsafeSlow=function(D){return l(D)};function d(D,_){if((typeof _!="string"||_==="")&&(_="utf8"),!a.isEncoding(_))throw new TypeError("Unknown encoding: "+_);var B=x(D,_)|0,T=u(B),X=T.write(D,_);return X!==B&&(T=T.slice(0,X)),T}function h(D){for(var _=D.length<0?0:g(D.length)|0,B=u(_),T=0;T<_;T+=1)B[T]=D[T]&255;return B}function m(D){if(oe(D,Uint8Array)){var _=new Uint8Array(D);return v(_.buffer,_.byteOffset,_.byteLength)}return h(D)}function v(D,_,B){if(_<0||D.byteLength<_)throw new RangeError('"offset" is outside of buffer bounds');if(D.byteLength<_+(B||0))throw new RangeError('"length" is outside of buffer bounds');var T;return _===void 0&&B===void 0?T=new Uint8Array(D):B===void 0?T=new Uint8Array(D,_):T=new Uint8Array(D,_,B),Object.setPrototypeOf(T,a.prototype),T}function y(D){if(a.isBuffer(D)){var _=g(D.length)|0,B=u(_);return B.length===0||D.copy(B,0,0,_),B}if(D.length!==void 0)return typeof D.length!="number"||fe(D.length)?u(0):h(D);if(D.type==="Buffer"&&Array.isArray(D.data))return h(D.data)}function g(D){if(D>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return D|0}function b(D){return+D!=D&&(D=0),a.alloc(+D)}a.isBuffer=function(_){return _!=null&&_._isBuffer===!0&&_!==a.prototype},a.compare=function(_,B){if(oe(_,Uint8Array)&&(_=a.from(_,_.offset,_.byteLength)),oe(B,Uint8Array)&&(B=a.from(B,B.offset,B.byteLength)),!a.isBuffer(_)||!a.isBuffer(B))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(_===B)return 0;for(var T=_.length,X=B.length,ee=0,te=Math.min(T,X);ee<te;++ee)if(_[ee]!==B[ee]){T=_[ee],X=B[ee];break}return T<X?-1:X<T?1:0},a.isEncoding=function(_){switch(String(_).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(_,B){if(!Array.isArray(_))throw new TypeError('"list" argument must be an Array of Buffers');if(_.length===0)return a.alloc(0);var T;if(B===void 0)for(B=0,T=0;T<_.length;++T)B+=_[T].length;var X=a.allocUnsafe(B),ee=0;for(T=0;T<_.length;++T){var te=_[T];if(oe(te,Uint8Array))ee+te.length>X.length?a.from(te).copy(X,ee):Uint8Array.prototype.set.call(X,te,ee);else if(a.isBuffer(te))te.copy(X,ee);else throw new TypeError('"list" argument must be an Array of Buffers');ee+=te.length}return X};function x(D,_){if(a.isBuffer(D))return D.length;if(ArrayBuffer.isView(D)||oe(D,ArrayBuffer))return D.byteLength;if(typeof D!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof D);var B=D.length,T=arguments.length>2&&arguments[2]===!0;if(!T&&B===0)return 0;for(var X=!1;;)switch(_){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":return k(D).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B*2;case"hex":return B>>>1;case"base64":return ne(D).length;default:if(X)return T?-1:k(D).length;_=(""+_).toLowerCase(),X=!0}}a.byteLength=x;function E(D,_,B){var T=!1;if((_===void 0||_<0)&&(_=0),_>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0,_>>>=0,B<=_))return"";for(D||(D="utf8");;)switch(D){case"hex":return N(this,_,B);case"utf8":case"utf-8":return L(this,_,B);case"ascii":return R(this,_,B);case"latin1":case"binary":return A(this,_,B);case"base64":return G(this,_,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,_,B);default:if(T)throw new TypeError("Unknown encoding: "+D);D=(D+"").toLowerCase(),T=!0}}a.prototype._isBuffer=!0;function I(D,_,B){var T=D[_];D[_]=D[B],D[B]=T}a.prototype.swap16=function(){var _=this.length;if(_%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var B=0;B<_;B+=2)I(this,B,B+1);return this},a.prototype.swap32=function(){var _=this.length;if(_%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var B=0;B<_;B+=4)I(this,B,B+3),I(this,B+1,B+2);return this},a.prototype.swap64=function(){var _=this.length;if(_%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var B=0;B<_;B+=8)I(this,B,B+7),I(this,B+1,B+6),I(this,B+2,B+5),I(this,B+3,B+4);return this},a.prototype.toString=function(){var _=this.length;return _===0?"":arguments.length===0?L(this,0,_):E.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(_){if(!a.isBuffer(_))throw new TypeError("Argument must be a Buffer");return this===_?!0:a.compare(this,_)===0},a.prototype.inspect=function(){var _="",B=e.INSPECT_MAX_BYTES;return _=this.toString("hex",0,B).replace(/(.{2})/g,"$1 ").trim(),this.length>B&&(_+=" ... "),"<Buffer "+_+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(_,B,T,X,ee){if(oe(_,Uint8Array)&&(_=a.from(_,_.offset,_.byteLength)),!a.isBuffer(_))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof _);if(B===void 0&&(B=0),T===void 0&&(T=_?_.length:0),X===void 0&&(X=0),ee===void 0&&(ee=this.length),B<0||T>_.length||X<0||ee>this.length)throw new RangeError("out of range index");if(X>=ee&&B>=T)return 0;if(X>=ee)return-1;if(B>=T)return 1;if(B>>>=0,T>>>=0,X>>>=0,ee>>>=0,this===_)return 0;for(var te=ee-X,ce=T-B,z=Math.min(te,ce),Q=this.slice(X,ee),ie=_.slice(B,T),ae=0;ae<z;++ae)if(Q[ae]!==ie[ae]){te=Q[ae],ce=ie[ae];break}return te<ce?-1:ce<te?1:0};function w(D,_,B,T,X){if(D.length===0)return-1;if(typeof B=="string"?(T=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,fe(B)&&(B=X?0:D.length-1),B<0&&(B=D.length+B),B>=D.length){if(X)return-1;B=D.length-1}else if(B<0)if(X)B=0;else return-1;if(typeof _=="string"&&(_=a.from(_,T)),a.isBuffer(_))return _.length===0?-1:p(D,_,B,T,X);if(typeof _=="number")return _=_&255,typeof Uint8Array.prototype.indexOf=="function"?X?Uint8Array.prototype.indexOf.call(D,_,B):Uint8Array.prototype.lastIndexOf.call(D,_,B):p(D,[_],B,T,X);throw new TypeError("val must be string, number or Buffer")}function p(D,_,B,T,X){var ee=1,te=D.length,ce=_.length;if(T!==void 0&&(T=String(T).toLowerCase(),T==="ucs2"||T==="ucs-2"||T==="utf16le"||T==="utf-16le")){if(D.length<2||_.length<2)return-1;ee=2,te/=2,ce/=2,B/=2}function z(le,ue){return ee===1?le[ue]:le.readUInt16BE(ue*ee)}var Q;if(X){var ie=-1;for(Q=B;Q<te;Q++)if(z(D,Q)===z(_,ie===-1?0:Q-ie)){if(ie===-1&&(ie=Q),Q-ie+1===ce)return ie*ee}else ie!==-1&&(Q-=Q-ie),ie=-1}else for(B+ce>te&&(B=te-ce),Q=B;Q>=0;Q--){for(var ae=!0,se=0;se<ce;se++)if(z(D,Q+se)!==z(_,se)){ae=!1;break}if(ae)return Q}return-1}a.prototype.includes=function(_,B,T){return this.indexOf(_,B,T)!==-1},a.prototype.indexOf=function(_,B,T){return w(this,_,B,T,!0)},a.prototype.lastIndexOf=function(_,B,T){return w(this,_,B,T,!1)};function C(D,_,B,T){B=Number(B)||0;var X=D.length-B;T?(T=Number(T),T>X&&(T=X)):T=X;var ee=_.length;T>ee/2&&(T=ee/2);for(var te=0;te<T;++te){var ce=parseInt(_.substr(te*2,2),16);if(fe(ce))return te;D[B+te]=ce}return te}function S(D,_,B,T){return re(k(_,D.length-B),D,B,T)}function O(D,_,B,T){return re(K(_),D,B,T)}function j(D,_,B,T){return re(ne(_),D,B,T)}function Y(D,_,B,T){return re($(_,D.length-B),D,B,T)}a.prototype.write=function(_,B,T,X){if(B===void 0)X="utf8",T=this.length,B=0;else if(T===void 0&&typeof B=="string")X=B,T=this.length,B=0;else if(isFinite(B))B=B>>>0,isFinite(T)?(T=T>>>0,X===void 0&&(X="utf8")):(X=T,T=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ee=this.length-B;if((T===void 0||T>ee)&&(T=ee),_.length>0&&(T<0||B<0)||B>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");for(var te=!1;;)switch(X){case"hex":return C(this,_,B,T);case"utf8":case"utf-8":return S(this,_,B,T);case"ascii":case"latin1":case"binary":return O(this,_,B,T);case"base64":return j(this,_,B,T);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,_,B,T);default:if(te)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),te=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function G(D,_,B){return _===0&&B===D.length?n.fromByteArray(D):n.fromByteArray(D.slice(_,B))}function L(D,_,B){B=Math.min(D.length,B);for(var T=[],X=_;X<B;){var ee=D[X],te=null,ce=ee>239?4:ee>223?3:ee>191?2:1;if(X+ce<=B){var z,Q,ie,ae;switch(ce){case 1:ee<128&&(te=ee);break;case 2:z=D[X+1],(z&192)===128&&(ae=(ee&31)<<6|z&63,ae>127&&(te=ae));break;case 3:z=D[X+1],Q=D[X+2],(z&192)===128&&(Q&192)===128&&(ae=(ee&15)<<12|(z&63)<<6|Q&63,ae>2047&&(ae<55296||ae>57343)&&(te=ae));break;case 4:z=D[X+1],Q=D[X+2],ie=D[X+3],(z&192)===128&&(Q&192)===128&&(ie&192)===128&&(ae=(ee&15)<<18|(z&63)<<12|(Q&63)<<6|ie&63,ae>65535&&ae<1114112&&(te=ae))}}te===null?(te=65533,ce=1):te>65535&&(te-=65536,T.push(te>>>10&1023|55296),te=56320|te&1023),T.push(te),X+=ce}return V(T)}var F=4096;function V(D){var _=D.length;if(_<=F)return String.fromCharCode.apply(String,D);for(var B="",T=0;T<_;)B+=String.fromCharCode.apply(String,D.slice(T,T+=F));return B}function R(D,_,B){var T="";B=Math.min(D.length,B);for(var X=_;X<B;++X)T+=String.fromCharCode(D[X]&127);return T}function A(D,_,B){var T="";B=Math.min(D.length,B);for(var X=_;X<B;++X)T+=String.fromCharCode(D[X]);return T}function N(D,_,B){var T=D.length;(!_||_<0)&&(_=0),(!B||B<0||B>T)&&(B=T);for(var X="",ee=_;ee<B;++ee)X+=he[D[ee]];return X}function W(D,_,B){for(var T=D.slice(_,B),X="",ee=0;ee<T.length-1;ee+=2)X+=String.fromCharCode(T[ee]+T[ee+1]*256);return X}a.prototype.slice=function(_,B){var T=this.length;_=~~_,B=B===void 0?T:~~B,_<0?(_+=T,_<0&&(_=0)):_>T&&(_=T),B<0?(B+=T,B<0&&(B=0)):B>T&&(B=T),B<_&&(B=_);var X=this.subarray(_,B);return Object.setPrototypeOf(X,a.prototype),X};function J(D,_,B){if(D%1!==0||D<0)throw new RangeError("offset is not uint");if(D+_>B)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(_,B,T){_=_>>>0,B=B>>>0,T||J(_,B,this.length);for(var X=this[_],ee=1,te=0;++te<B&&(ee*=256);)X+=this[_+te]*ee;return X},a.prototype.readUintBE=a.prototype.readUIntBE=function(_,B,T){_=_>>>0,B=B>>>0,T||J(_,B,this.length);for(var X=this[_+--B],ee=1;B>0&&(ee*=256);)X+=this[_+--B]*ee;return X},a.prototype.readUint8=a.prototype.readUInt8=function(_,B){return _=_>>>0,B||J(_,1,this.length),this[_]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(_,B){return _=_>>>0,B||J(_,2,this.length),this[_]|this[_+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(_,B){return _=_>>>0,B||J(_,2,this.length),this[_]<<8|this[_+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(_,B){return _=_>>>0,B||J(_,4,this.length),(this[_]|this[_+1]<<8|this[_+2]<<16)+this[_+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(_,B){return _=_>>>0,B||J(_,4,this.length),this[_]*16777216+(this[_+1]<<16|this[_+2]<<8|this[_+3])},a.prototype.readIntLE=function(_,B,T){_=_>>>0,B=B>>>0,T||J(_,B,this.length);for(var X=this[_],ee=1,te=0;++te<B&&(ee*=256);)X+=this[_+te]*ee;return ee*=128,X>=ee&&(X-=Math.pow(2,8*B)),X},a.prototype.readIntBE=function(_,B,T){_=_>>>0,B=B>>>0,T||J(_,B,this.length);for(var X=B,ee=1,te=this[_+--X];X>0&&(ee*=256);)te+=this[_+--X]*ee;return ee*=128,te>=ee&&(te-=Math.pow(2,8*B)),te},a.prototype.readInt8=function(_,B){return _=_>>>0,B||J(_,1,this.length),this[_]&128?(255-this[_]+1)*-1:this[_]},a.prototype.readInt16LE=function(_,B){_=_>>>0,B||J(_,2,this.length);var T=this[_]|this[_+1]<<8;return T&32768?T|4294901760:T},a.prototype.readInt16BE=function(_,B){_=_>>>0,B||J(_,2,this.length);var T=this[_+1]|this[_]<<8;return T&32768?T|4294901760:T},a.prototype.readInt32LE=function(_,B){return _=_>>>0,B||J(_,4,this.length),this[_]|this[_+1]<<8|this[_+2]<<16|this[_+3]<<24},a.prototype.readInt32BE=function(_,B){return _=_>>>0,B||J(_,4,this.length),this[_]<<24|this[_+1]<<16|this[_+2]<<8|this[_+3]},a.prototype.readFloatLE=function(_,B){return _=_>>>0,B||J(_,4,this.length),t.read(this,_,!0,23,4)},a.prototype.readFloatBE=function(_,B){return _=_>>>0,B||J(_,4,this.length),t.read(this,_,!1,23,4)},a.prototype.readDoubleLE=function(_,B){return _=_>>>0,B||J(_,8,this.length),t.read(this,_,!0,52,8)},a.prototype.readDoubleBE=function(_,B){return _=_>>>0,B||J(_,8,this.length),t.read(this,_,!1,52,8)};function Z(D,_,B,T,X,ee){if(!a.isBuffer(D))throw new TypeError('"buffer" argument must be a Buffer instance');if(_>X||_<ee)throw new RangeError('"value" argument is out of bounds');if(B+T>D.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(_,B,T,X){if(_=+_,B=B>>>0,T=T>>>0,!X){var ee=Math.pow(2,8*T)-1;Z(this,_,B,T,ee,0)}var te=1,ce=0;for(this[B]=_&255;++ce<T&&(te*=256);)this[B+ce]=_/te&255;return B+T},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(_,B,T,X){if(_=+_,B=B>>>0,T=T>>>0,!X){var ee=Math.pow(2,8*T)-1;Z(this,_,B,T,ee,0)}var te=T-1,ce=1;for(this[B+te]=_&255;--te>=0&&(ce*=256);)this[B+te]=_/ce&255;return B+T},a.prototype.writeUint8=a.prototype.writeUInt8=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,1,255,0),this[B]=_&255,B+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,2,65535,0),this[B]=_&255,this[B+1]=_>>>8,B+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,2,65535,0),this[B]=_>>>8,this[B+1]=_&255,B+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,4,4294967295,0),this[B+3]=_>>>24,this[B+2]=_>>>16,this[B+1]=_>>>8,this[B]=_&255,B+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,4,4294967295,0),this[B]=_>>>24,this[B+1]=_>>>16,this[B+2]=_>>>8,this[B+3]=_&255,B+4},a.prototype.writeIntLE=function(_,B,T,X){if(_=+_,B=B>>>0,!X){var ee=Math.pow(2,8*T-1);Z(this,_,B,T,ee-1,-ee)}var te=0,ce=1,z=0;for(this[B]=_&255;++te<T&&(ce*=256);)_<0&&z===0&&this[B+te-1]!==0&&(z=1),this[B+te]=(_/ce>>0)-z&255;return B+T},a.prototype.writeIntBE=function(_,B,T,X){if(_=+_,B=B>>>0,!X){var ee=Math.pow(2,8*T-1);Z(this,_,B,T,ee-1,-ee)}var te=T-1,ce=1,z=0;for(this[B+te]=_&255;--te>=0&&(ce*=256);)_<0&&z===0&&this[B+te+1]!==0&&(z=1),this[B+te]=(_/ce>>0)-z&255;return B+T},a.prototype.writeInt8=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,1,127,-128),_<0&&(_=255+_+1),this[B]=_&255,B+1},a.prototype.writeInt16LE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,2,32767,-32768),this[B]=_&255,this[B+1]=_>>>8,B+2},a.prototype.writeInt16BE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,2,32767,-32768),this[B]=_>>>8,this[B+1]=_&255,B+2},a.prototype.writeInt32LE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,4,2147483647,-2147483648),this[B]=_&255,this[B+1]=_>>>8,this[B+2]=_>>>16,this[B+3]=_>>>24,B+4},a.prototype.writeInt32BE=function(_,B,T){return _=+_,B=B>>>0,T||Z(this,_,B,4,2147483647,-2147483648),_<0&&(_=4294967295+_+1),this[B]=_>>>24,this[B+1]=_>>>16,this[B+2]=_>>>8,this[B+3]=_&255,B+4};function H(D,_,B,T,X,ee){if(B+T>D.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function M(D,_,B,T,X){return _=+_,B=B>>>0,X||H(D,_,B,4),t.write(D,_,B,T,23,4),B+4}a.prototype.writeFloatLE=function(_,B,T){return M(this,_,B,!0,T)},a.prototype.writeFloatBE=function(_,B,T){return M(this,_,B,!1,T)};function U(D,_,B,T,X){return _=+_,B=B>>>0,X||H(D,_,B,8),t.write(D,_,B,T,52,8),B+8}a.prototype.writeDoubleLE=function(_,B,T){return U(this,_,B,!0,T)},a.prototype.writeDoubleBE=function(_,B,T){return U(this,_,B,!1,T)},a.prototype.copy=function(_,B,T,X){if(!a.isBuffer(_))throw new TypeError("argument should be a Buffer");if(T||(T=0),!X&&X!==0&&(X=this.length),B>=_.length&&(B=_.length),B||(B=0),X>0&&X<T&&(X=T),X===T||_.length===0||this.length===0)return 0;if(B<0)throw new RangeError("targetStart out of bounds");if(T<0||T>=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),_.length-B<X-T&&(X=_.length-B+T);var ee=X-T;return this===_&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(B,T,X):Uint8Array.prototype.set.call(_,this.subarray(T,X),B),ee},a.prototype.fill=function(_,B,T,X){if(typeof _=="string"){if(typeof B=="string"?(X=B,B=0,T=this.length):typeof T=="string"&&(X=T,T=this.length),X!==void 0&&typeof X!="string")throw new TypeError("encoding must be a string");if(typeof X=="string"&&!a.isEncoding(X))throw new TypeError("Unknown encoding: "+X);if(_.length===1){var ee=_.charCodeAt(0);(X==="utf8"&&ee<128||X==="latin1")&&(_=ee)}}else typeof _=="number"?_=_&255:typeof _=="boolean"&&(_=Number(_));if(B<0||this.length<B||this.length<T)throw new RangeError("Out of range index");if(T<=B)return this;B=B>>>0,T=T===void 0?this.length:T>>>0,_||(_=0);var te;if(typeof _=="number")for(te=B;te<T;++te)this[te]=_;else{var ce=a.isBuffer(_)?_:a.from(_,X),z=ce.length;if(z===0)throw new TypeError('The value "'+_+'" is invalid for argument "value"');for(te=0;te<T-B;++te)this[te+B]=ce[te%z]}return this};var q=/[^+/0-9A-Za-z-_]/g;function P(D){if(D=D.split("=")[0],D=D.trim().replace(q,""),D.length<2)return"";for(;D.length%4!==0;)D=D+"=";return D}function k(D,_){_=_||1/0;for(var B,T=D.length,X=null,ee=[],te=0;te<T;++te){if(B=D.charCodeAt(te),B>55295&&B<57344){if(!X){if(B>56319){(_-=3)>-1&&ee.push(239,191,189);continue}else if(te+1===T){(_-=3)>-1&&ee.push(239,191,189);continue}X=B;continue}if(B<56320){(_-=3)>-1&&ee.push(239,191,189),X=B;continue}B=(X-55296<<10|B-56320)+65536}else X&&(_-=3)>-1&&ee.push(239,191,189);if(X=null,B<128){if((_-=1)<0)break;ee.push(B)}else if(B<2048){if((_-=2)<0)break;ee.push(B>>6|192,B&63|128)}else if(B<65536){if((_-=3)<0)break;ee.push(B>>12|224,B>>6&63|128,B&63|128)}else if(B<1114112){if((_-=4)<0)break;ee.push(B>>18|240,B>>12&63|128,B>>6&63|128,B&63|128)}else throw new Error("Invalid code point")}return ee}function K(D){for(var _=[],B=0;B<D.length;++B)_.push(D.charCodeAt(B)&255);return _}function $(D,_){for(var B,T,X,ee=[],te=0;te<D.length&&!((_-=2)<0);++te)B=D.charCodeAt(te),T=B>>8,X=B%256,ee.push(X),ee.push(T);return ee}function ne(D){return n.toByteArray(P(D))}function re(D,_,B,T){for(var X=0;X<T&&!(X+B>=_.length||X>=D.length);++X)_[X+B]=D[X];return X}function oe(D,_){return D instanceof _||D!=null&&D.constructor!=null&&D.constructor.name!=null&&D.constructor.name===_.name}function fe(D){return D!==D}var he=(function(){for(var D="0123456789abcdef",_=new Array(256),B=0;B<16;++B)for(var T=B*16,X=0;X<16;++X)_[T+X]=D[B]+D[X];return _})()})(vi)),vi}var Pe=X2();const $e=Pe.Buffer.from&&Pe.Buffer.alloc&&Pe.Buffer.allocUnsafe&&Pe.Buffer.allocUnsafeSlow?Pe.Buffer.from:e=>new Pe.Buffer(e);function Xe(e,n){const t=(r,i)=>n(r,i)>>>0;return t.signed=n,t.unsigned=t,t.model=e,t}const nu=Xe("crc1",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=~~n,r=0;for(let i=0;i<e.length;i++){const s=e[i];r+=s}return t+=r%256,t%256});let qo=[0,7,14,9,28,27,18,21,56,63,54,49,36,35,42,45,112,119,126,121,108,107,98,101,72,79,70,65,84,83,90,93,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144,151,158,153,140,139,130,133,168,175,166,161,180,179,186,189,199,192,201,206,219,220,213,210,255,248,241,246,227,228,237,234,183,176,185,190,171,172,165,162,143,136,129,134,147,148,157,154,39,32,41,46,59,60,53,50,31,24,17,22,3,4,13,10,87,80,89,94,75,76,69,66,111,104,97,102,115,116,125,122,137,142,135,128,149,146,155,156,177,182,191,184,173,170,163,164,249,254,247,240,229,226,235,236,193,198,207,200,221,218,211,212,105,110,103,96,117,114,123,124,81,86,95,88,77,74,67,68,25,30,23,16,5,2,11,12,33,38,47,40,61,58,51,52,78,73,64,71,82,85,92,91,118,113,120,127,106,109,100,99,62,57,48,55,34,37,44,43,6,1,8,15,26,29,20,19,174,169,160,167,178,181,188,187,150,145,152,159,138,141,132,131,222,217,208,215,194,197,204,203,230,225,232,239,250,253,244,243];typeof Int32Array<"u"&&(qo=new Int32Array(qo));const iu=Xe("crc-8",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=~~n;for(let r=0;r<e.length;r++){const i=e[r];t=qo[(t^i)&255]&255}return t});let Ho=[0,94,188,226,97,63,221,131,194,156,126,32,163,253,31,65,157,195,33,127,252,162,64,30,95,1,227,189,62,96,130,220,35,125,159,193,66,28,254,160,225,191,93,3,128,222,60,98,190,224,2,92,223,129,99,61,124,34,192,158,29,67,161,255,70,24,250,164,39,121,155,197,132,218,56,102,229,187,89,7,219,133,103,57,186,228,6,88,25,71,165,251,120,38,196,154,101,59,217,135,4,90,184,230,167,249,27,69,198,152,122,36,248,166,68,26,153,199,37,123,58,100,134,216,91,5,231,185,140,210,48,110,237,179,81,15,78,16,242,172,47,113,147,205,17,79,173,243,112,46,204,146,211,141,111,49,178,236,14,80,175,241,19,77,206,144,114,44,109,51,209,143,12,82,176,238,50,108,142,208,83,13,239,177,240,174,76,18,145,207,45,115,202,148,118,40,171,245,23,73,8,86,180,234,105,55,213,139,87,9,235,181,54,104,138,212,149,203,41,119,244,170,72,22,233,183,85,11,136,214,52,106,43,117,151,201,74,20,246,168,116,42,200,150,21,75,169,247,182,232,10,84,215,137,107,53];typeof Int32Array<"u"&&(Ho=new Int32Array(Ho));const ou=Xe("dallas-1-wire",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=~~n;for(let r=0;r<e.length;r++){const i=e[r];t=Ho[(t^i)&255]&255}return t});let Ko=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];typeof Int32Array<"u"&&(Ko=new Int32Array(Ko));const au=Xe("crc-16",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=~~n;for(let r=0;r<e.length;r++){const i=e[r];t=(Ko[(t^i)&255]^t>>8)&65535}return t});let zo=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];typeof Int32Array<"u"&&(zo=new Int32Array(zo));const su=Xe("ccitt",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=typeof n<"u"?~~n:65535;for(let r=0;r<e.length;r++){const i=e[r];t=(zo[(t>>8^i)&255]^t<<8)&65535}return t});let Go=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];typeof Int32Array<"u"&&(Go=new Int32Array(Go));const cu=Xe("crc-16-modbus",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=typeof n<"u"?~~n:65535;for(let r=0;r<e.length;r++){const i=e[r];t=(Go[(t^i)&255]^t>>8)&65535}return t}),uu=Xe("xmodem",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=typeof n<"u"?~~n:0;for(let r=0;r<e.length;r++){const i=e[r];let s=t>>>8&255;s^=i&255,s^=s>>>4,t=t<<8&65535,t^=s,s=s<<5&65535,t^=s,s=s<<7&65535,t^=s}return t});let Wo=[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960];typeof Int32Array<"u"&&(Wo=new Int32Array(Wo));const fu=Xe("kermit",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=typeof n<"u"?~~n:0;for(let r=0;r<e.length;r++){const i=e[r];t=(Wo[(t^i)&255]^t>>8)&65535}return t});let Vo=[0,8801531,9098509,825846,9692897,1419802,1651692,10452759,10584377,2608578,2839604,11344079,3303384,11807523,12104405,4128302,12930697,4391538,5217156,13227903,5679208,13690003,14450021,5910942,6606768,14844747,15604413,6837830,16197969,7431594,8256604,16494759,840169,9084178,8783076,18463,10434312,1670131,1434117,9678590,11358416,2825259,2590173,10602790,4109873,12122826,11821884,3289031,13213536,5231515,4409965,12912278,5929345,14431610,13675660,5693559,6823513,15618722,14863188,6588335,16513208,8238147,7417269,16212302,1680338,10481449,9664223,1391140,9061683,788936,36926,8838341,12067563,4091408,3340262,11844381,2868234,11372785,10555655,2579964,14478683,5939616,5650518,13661357,5180346,13190977,12967607,4428364,8219746,16457881,16234863,7468436,15633027,6866552,6578062,14816117,1405499,9649856,10463030,1698765,8819930,55329,803287,9047340,11858690,3325945,4072975,12086004,2561507,10574104,11387118,2853909,13647026,5664841,5958079,14460228,4446803,12949160,13176670,5194661,7454091,16249200,16476294,8201341,14834538,6559633,6852199,15647388,3360676,11864927,12161705,4185682,10527045,2551230,2782280,11286707,9619101,1346150,1577872,10379115,73852,8875143,9172337,899466,16124205,7357910,8182816,16421083,6680524,14918455,15678145,6911546,5736468,13747439,14507289,5968354,12873461,4334094,5159928,13170435,4167245,12180150,11879232,3346363,11301036,2767959,2532769,10545498,10360692,1596303,1360505,9604738,913813,9157998,8856728,92259,16439492,8164415,7343561,16138546,6897189,15692510,14936872,6662099,5986813,14488838,13733104,5750795,13156124,5174247,4352529,12855018,2810998,11315341,10498427,2522496,12124823,4148844,3397530,11901793,9135439,862644,110658,8912057,1606574,10407765,9590435,1317464,15706879,6940164,6651890,14889737,8145950,16384229,16161043,7394792,5123014,13133629,12910283,4370992,14535975,5997020,5707818,13718737,2504095,10516836,11329682,2796649,11916158,3383173,4130419,12143240,8893606,129117,876971,9121104,1331783,9576124,10389322,1625009,14908182,6633453,6925851,15721184,7380471,16175372,16402682,8127489,4389423,12891860,13119266,5137369,13704398,5722165,6015427,14517560];typeof Int32Array<"u"&&(Vo=new Int32Array(Vo));const lu=Xe("crc-24",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=typeof n<"u"?~~n:11994318;for(let r=0;r<e.length;r++){const i=e[r];t=(Vo[(t>>16^i)&255]^t<<8)&16777215}return t});let Yo=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(Yo=new Int32Array(Yo));const du=Xe("crc-32",function(e,n){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=n===0?0:~~n^-1;for(let r=0;r<e.length;r++){const i=e[r];t=Yo[(t^i)&255]^t>>>8}return t^-1});let $o=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&($o=new Int32Array($o));const hu=Xe("jam",function(e,n=-1){Pe.Buffer.isBuffer(e)||(e=$e(e));let t=n===0?0:~~n;for(let r=0;r<e.length;r++){const i=e[r];t=$o[(t^i)&255]^t>>>8}return t}),Q2={crc1:nu,crc8:iu,crc81wire:ou,crc16:au,crc16ccitt:su,crc16modbus:cu,crc16xmodem:uu,crc16kermit:fu,crc24:lu,crc32:du,crcjam:hu},J2=Object.freeze(Object.defineProperty({__proto__:null,crc1:nu,crc16:au,crc16ccitt:su,crc16kermit:fu,crc16modbus:cu,crc16xmodem:uu,crc24:lu,crc32:du,crc8:iu,crc81wire:ou,crcjam:hu,default:Q2},Symbol.toStringTag,{value:"Module"})),Z2=dt(J2);var zs;function pt(){if(zs)return ve;zs=1;var e=ve&&ve.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.bufferXOR=ve.setDifference=ve.arrayContains=ve.arraysEqual=ve.hasPrefix=ve.isURType=ve.intToBytes=ve.toUint32=ve.getCRCHex=ve.getCRC=ve.split=ve.partition=ve.sha256Hash=void 0;const n=e(tu()),t=Z2,r=y=>n.default("sha256").update(y).digest();ve.sha256Hash=r;const i=(y,g)=>y.match(new RegExp(".{1,"+g+"}","g"))||[y];ve.partition=i;const s=(y,g)=>[y.slice(0,-g),y.slice(-g)];ve.split=s;const u=y=>t.crc32(y);ve.getCRC=u;const a=y=>t.crc32(y).toString(16).padStart(8,"0");ve.getCRCHex=a;const f=y=>y>>>0;ve.toUint32=f;const o=y=>{const g=new ArrayBuffer(4);return new DataView(g).setUint32(0,y,!1),Buffer.from(g)};ve.intToBytes=o;const c=y=>y.split("").every((g,b)=>{let x=y.charCodeAt(b);return 97<=x&&x<=122||48<=x&&x<=57||x===45});ve.isURType=c;const l=(y,g)=>y.indexOf(g)===0;ve.hasPrefix=l;const d=(y,g)=>y.length!==g.length?!1:y.every(b=>g.includes(b));ve.arraysEqual=d;const h=(y,g)=>g.every(b=>y.includes(b));ve.arrayContains=h;const m=(y,g)=>y.filter(b=>g.indexOf(b)<0);ve.setDifference=m;const v=(y,g)=>{const b=Math.max(y.length,g.length),x=Buffer.allocUnsafe(b);for(let E=0;E<b;++E)x[E]=y[E]^g[E];return x};return ve.bufferXOR=v,ve}var ut={},Gr={exports:{}},el=Gr.exports,Gs;function tl(){return Gs||(Gs=1,(function(e){(function(n,t){e.exports?e.exports=t():n.CBOR=t()})(el,function(){var n=(function(){function t(w){this.$hex=w}t.prototype={length:function(){return this.$hex.length/2},toString:function(w){if(!w||w==="hex"||w===16)return this.$hex;if(w==="utf-8"){for(var p="",C=0;C<this.$hex.length;C+=2)p+="%"+this.$hex.substring(C,C+2);return decodeURIComponent(p)}if(w==="latin"){for(var p=[],C=0;C<this.$hex.length;C+=2)p.push(parseInt(this.$hex.substring(C,C+2),16));return String.fromCharCode.apply(String,p)}throw new Error("Unrecognised format: "+w)}},t.fromLatinString=function(w){for(var p="",C=0;C<w.length;C++){var S=w.charCodeAt(C).toString(16);S.length===1&&(S="0"+S),p+=S}return new t(p)},t.fromUtf8String=function(w){for(var p=encodeURIComponent(w),C="",S=0;S<p.length;S++)if(p.charAt(S)==="%")C+=p.substring(S+1,S+3),S+=2;else{var O=p.charCodeAt(S).toString(16);O.length<2&&(O="0"+O),C+=O}return new t(C)};var r=[],i={},s=function(w){return function(){throw new Error(w+" not implemented")}};function u(){}u.prototype={peekByte:s("peekByte"),readByte:s("readByte"),readChunk:s("readChunk"),readFloat16:function(){var w=this.readUint16(),p=(w&32767)>>10,C=w&1023,S=w&32768;if(p===31)return C===0?S?-1/0:1/0:NaN;var O=p?Math.pow(2,p-25)*(1024+C):Math.pow(2,-24)*C;return S?-O:O},readFloat32:function(){var w=this.readUint32(),p=(w&2147483647)>>23,C=w&8388607,S=w&2147483648;if(p===255)return C===0?S?-1/0:1/0:NaN;var O=p?Math.pow(2,p-23-127)*(8388608+C):Math.pow(2,-149)*C;return S?-O:O},readFloat64:function(){var w=this.readUint32(),p=this.readUint32(),C=w>>20&2047,S=(w&1048575)*4294967296+p,O=w&2147483648;if(C===2047)return S===0?O?-1/0:1/0:NaN;var j=C?Math.pow(2,C-52-1023)*(4503599627370496+S):Math.pow(2,-1074)*S;return O?-j:j},readUint16:function(){return this.readByte()*256+this.readByte()},readUint32:function(){return this.readUint16()*65536+this.readUint16()},readUint64:function(){return this.readUint32()*4294967296+this.readUint32()}};function a(){}a.prototype={writeByte:s("writeByte"),result:s("result"),writeFloat16:s("writeFloat16"),writeFloat32:s("writeFloat32"),writeFloat64:s("writeFloat64"),writeUint16:function(w){this.writeByte(w>>8&255),this.writeByte(w&255)},writeUint32:function(w){this.writeUint16(w>>16&65535),this.writeUint16(w&65535)},writeUint64:function(w){if(w>=9007199254740992||w<=-9007199254740992)throw new Error("Cannot encode Uint64 of: "+w+" magnitude to big (floating point errors)");this.writeUint32(Math.floor(w/4294967296)),this.writeUint32(w%4294967296)},writeString:s("writeString"),canWriteBinary:function(w){return!1},writeBinary:s("writeChunk")};function f(w){var p=w.readByte(),C=p>>5,S=p&31;return{type:C,value:S}}function o(w,p){var C=w.value;if(C<24)return C;if(C==24)return p.readByte();if(C==25)return p.readUint16();if(C==26)return p.readUint32();if(C==27)return p.readUint64();if(C==31)return null;s("Additional info: "+C)()}function c(w,p,C){C.writeByte(w<<5|p)}function l(w,p,C){var S=w<<5;p<24?C.writeByte(S|p):p<256?(C.writeByte(S|24),C.writeByte(p)):p<65536?(C.writeByte(S|25),C.writeUint16(p)):p<4294967296?(C.writeByte(S|26),C.writeUint32(p)):(C.writeByte(S|27),C.writeUint64(p))}var d=new Error;function h(w){var p=f(w);switch(p.type){case 0:return o(p,w);case 1:return-1-o(p,w);case 2:return w.readChunk(o(p,w));case 3:var C=w.readChunk(o(p,w));return C.toString("utf-8");case 4:case 5:var S=o(p,w),F=[];if(S!==null){p.type===5&&(S*=2);for(var O=0;O<S;O++)F[O]=h(w)}else for(var j;(j=h(w))!==d;)F.push(j);if(p.type===5){for(var Y={},O=0;O<F.length;O+=2)Y[F[O]]=F[O+1];return Y}else return F;case 6:var G=o(p,w),L=i[G],F=h(w);return L?L(F):F;case 7:if(p.value===25)return w.readFloat16();if(p.value===26)return w.readFloat32();if(p.value===27)return w.readFloat64();switch(o(p,w)){case 20:return!1;case 21:return!0;case 22:return null;case 23:return;case null:return d;default:throw new Error("Unknown fixed value: "+p.value)}default:throw new Error("Unsupported header: "+JSON.stringify(p))}throw new Error("not implemented yet")}function m(w,p){for(var C=0;C<r.length;C++){var S=r[C].fn(w);if(S!==void 0)return l(6,r[C].tag,p),m(S,p)}if(w&&typeof w.toCBOR=="function"&&(w=w.toCBOR()),w===!1)l(7,20,p);else if(w===!0)l(7,21,p);else if(w===null)l(7,22,p);else if(w===void 0)l(7,23,p);else if(typeof w=="number")Math.floor(w)===w&&w<9007199254740992&&w>-9007199254740992?w<0?l(1,-1-w,p):l(0,w,p):(c(7,27,p),p.writeFloat64(w));else if(typeof w=="string")p.writeString(w,function(j){l(3,j,p)});else if(p.canWriteBinary(w))p.writeBinary(w,function(j){l(2,j,p)});else if(typeof w=="object")if(g.config.useToJSON&&typeof w.toJSON=="function"&&(w=w.toJSON()),Array.isArray(w)){l(4,w.length,p);for(var C=0;C<w.length;C++)m(w[C],p)}else{var O=Object.keys(w);l(5,O.length,p);for(var C=0;C<O.length;C++)m(O[C],p),m(w[O[C]],p)}else throw new Error("CBOR encoding not supported: "+w)}var v=[],y=[],g={config:{useToJSON:!0},addWriter:function(w,p){typeof w=="string"?y.push(function(C){if(w===C)return p(C)}):y.push(w)},addReader:function(w,p){typeof w=="string"?v.push(function(C,S){if(w===S)return p(C,S)}):v.push(w)},encode:function(w,p){for(var C=0;C<y.length;C++){var S=y[C],O=S(p);if(O)return m(w,O),O.result()}throw new Error("Unsupported output format: "+p)},decode:function(w,p){for(var C=0;C<v.length;C++){var S=v[C],O=S(w,p);if(O)return h(O)}throw new Error("Unsupported input format: "+p)},addSemanticEncode:function(w,p){if(typeof w!="number"||w%1!==0||w<0)throw new Error("Tag must be a positive integer");return r.push({tag:w,fn:p}),this},addSemanticDecode:function(w,p){if(typeof w!="number"||w%1!==0||w<0)throw new Error("Tag must be a positive integer");return i[w]=p,this},Reader:u,Writer:a};function b(w){this.buffer=w,this.pos=0}b.prototype=Object.create(u.prototype),b.prototype.peekByte=function(){return this.buffer[this.pos]},b.prototype.readByte=function(){return this.buffer[this.pos++]},b.prototype.readUint16=function(){var w=this.buffer.readUInt16BE(this.pos);return this.pos+=2,w},b.prototype.readUint32=function(){var w=this.buffer.readUInt32BE(this.pos);return this.pos+=4,w},b.prototype.readFloat32=function(){var w=this.buffer.readFloatBE(this.pos);return this.pos+=4,w},b.prototype.readFloat64=function(){var w=this.buffer.readDoubleBE(this.pos);return this.pos+=8,w},b.prototype.readChunk=function(w){var p=Buffer.alloc(w);return this.buffer.copy(p,0,this.pos,this.pos+=w),p};function x(w){this.byteLength=0,this.defaultBufferLength=16384,this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0,this.completeBuffers=[],this.stringFormat=w}x.prototype=Object.create(a.prototype),x.prototype.writeByte=function(w){this.latestBuffer[this.latestBufferOffset++]=w,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0),this.byteLength++},x.prototype.writeFloat32=function(w){var p=Buffer.alloc(4);p.writeFloatBE(w,0),this.writeBuffer(p)},x.prototype.writeFloat64=function(w){var p=Buffer.alloc(8);p.writeDoubleBE(w,0),this.writeBuffer(p)},x.prototype.writeString=function(w,p){var C=Buffer.from(w,"utf-8");p(C.length),this.writeBuffer(C)},x.prototype.canWriteBinary=function(w){return w instanceof Buffer},x.prototype.writeBinary=function(w,p){p(w.length),this.writeBuffer(w)},x.prototype.writeBuffer=function(w){if(!(w instanceof Buffer))throw new TypeError("BufferWriter only accepts Buffers");this.latestBufferOffset?this.latestBuffer.length-this.latestBufferOffset>=w.length?(w.copy(this.latestBuffer,this.latestBufferOffset),this.latestBufferOffset+=w.length,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0)):(this.completeBuffers.push(this.latestBuffer.slice(0,this.latestBufferOffset)),this.completeBuffers.push(w),this.latestBuffer=Buffer.alloc(this.defaultBufferLength),this.latestBufferOffset=0):this.completeBuffers.push(w),this.byteLength+=w.length},x.prototype.result=function(){for(var w=Buffer.alloc(this.byteLength),p=0,C=0;C<this.completeBuffers.length;C++){var S=this.completeBuffers[C];S.copy(w,p,0,S.length),p+=S.length}return this.latestBufferOffset&&this.latestBuffer.copy(w,p,0,this.latestBufferOffset),this.stringFormat?w.toString(this.stringFormat):w},typeof Buffer=="function"&&(g.addReader(function(w,p){if(w instanceof Buffer)return new b(w);if(p==="hex"||p==="base64"){var C=Buffer.from(w,p);return new b(C)}}),g.addWriter(function(w){if(!w||w==="buffer")return new x;if(w==="hex"||w==="base64")return new x(w)}));function E(w){this.hex=w,this.pos=0}E.prototype=Object.create(u.prototype),E.prototype.peekByte=function(){var w=this.hex.substring(this.pos,2);return parseInt(w,16)},E.prototype.readByte=function(){var w=this.hex.substring(this.pos,this.pos+2);return this.pos+=2,parseInt(w,16)},E.prototype.readChunk=function(w){var p=this.hex.substring(this.pos,this.pos+w*2);return this.pos+=w*2,typeof Buffer=="function"?Buffer.from(p,"hex"):new t(p)};function I(w){this.$hex="",this.finalFormat=w||"hex"}return I.prototype=Object.create(a.prototype),I.prototype.writeByte=function(w){if(w<0||w>255)throw new Error("Byte value out of range: "+w);var p=w.toString(16);p.length==1&&(p="0"+p),this.$hex+=p},I.prototype.canWriteBinary=function(w){return w instanceof t||typeof Buffer=="function"&&w instanceof Buffer},I.prototype.writeBinary=function(w,p){if(w instanceof t)p(w.length()),this.$hex+=w.$hex;else if(typeof Buffer=="function"&&w instanceof Buffer)p(w.length),this.$hex+=w.toString("hex");else throw new TypeError("HexWriter only accepts BinaryHex or Buffers")},I.prototype.result=function(){return this.finalFormat==="buffer"&&typeof Buffer=="function"?Buffer.from(this.$hex,"hex"):new t(this.$hex).toString(this.finalFormat)},I.prototype.writeString=function(w,p){var C=t.fromUtf8String(w);p(C.length()),this.$hex+=C.$hex},g.addReader(function(w,p){if(w instanceof t||w.$hex)return new E(w.$hex);if(p==="hex")return new E(w)}),g.addWriter(function(w){if(w==="hex")return new I}),g})();return n.addSemanticEncode(0,function(t){if(t instanceof Date)return t.toISOString()}).addSemanticDecode(0,function(t){return new Date(t)}).addSemanticDecode(1,function(t){return new Date(t)}),n})})(Gr)),Gr.exports}var Ws;function pu(){if(Ws)return ut;Ws=1,Object.defineProperty(ut,"__esModule",{value:!0}),ut.cborDecode=ut.cborEncode=void 0;const e=tl(),n=r=>e.encode(r);ut.cborEncode=n;const t=r=>e.decode(Buffer.isBuffer(r)?r:Buffer.from(r,"hex"));return ut.cborDecode=t,ut}var Vs;function gu(){if(Vs)return Ur;Vs=1,Object.defineProperty(Ur,"__esModule",{value:!0});const e=wa(),n=pt(),t=pu();class r{constructor(s,u="bytes"){if(this._cborPayload=s,this._type=u,!n.isURType(this._type))throw new e.InvalidTypeError}static fromBuffer(s){return new r(t.cborEncode(s))}static from(s,u){return r.fromBuffer(Buffer.from(s,u))}decodeCBOR(){return t.cborDecode(this._cborPayload)}get type(){return this._type}get cbor(){return this._cborPayload}equals(s){return this.type===s.type&&this.cbor.equals(s.cbor)}}return Ur.default=r,Ur}var yt={},Ze={},bi={exports:{}},xi={},Ci={},_i={},wi,Ys;function rl(){if(Ys)return wi;Ys=1;var e=un()(),n=ht(),t=n("Object.prototype.toString"),r=function(a){return e&&a&&typeof a=="object"&&Symbol.toStringTag in a?!1:t(a)==="[object Arguments]"},i=function(a){return r(a)?!0:a!==null&&typeof a=="object"&&"length"in a&&typeof a.length=="number"&&a.length>=0&&t(a)!=="[object Array]"&&"callee"in a&&t(a.callee)==="[object Function]"},s=(function(){return r(arguments)})();return r.isLegacyArguments=i,wi=s?r:i,wi}var Bi,$s;function nl(){if($s)return Bi;$s=1;var e=ht(),n=un()(),t=y2(),r=sn(),i;if(n){var s=e("RegExp.prototype.exec"),u={},a=function(){throw u},f={toString:a,valueOf:a};typeof Symbol.toPrimitive=="symbol"&&(f[Symbol.toPrimitive]=a),i=function(d){if(!d||typeof d!="object")return!1;var h=r(d,"lastIndex"),m=h&&t(h,"value");if(!m)return!1;try{s(d,f)}catch(v){return v===u}}}else{var o=e("Object.prototype.toString"),c="[object RegExp]";i=function(d){return!d||typeof d!="object"&&typeof d!="function"?!1:o(d)===c}}return Bi=i,Bi}var Si,Xs;function il(){if(Xs)return Si;Xs=1;var e=ht(),n=nl(),t=e("RegExp.prototype.exec"),r=an();return Si=function(s){if(!n(s))throw new r("`regex` must be a RegExp");return function(a){return t(s,a)!==null}},Si}var Ei,Qs;function ol(){if(Qs)return Ei;Qs=1;const e=(function*(){}).constructor;return Ei=()=>e,Ei}var Pi,Js;function al(){if(Js)return Pi;Js=1;var e=ht(),n=il(),t=n(/^\s*(?:function)?\*/),r=un()(),i=Kc(),s=e("Object.prototype.toString"),u=e("Function.prototype.toString"),a=ol();return Pi=function(o){if(typeof o!="function")return!1;if(t(u(o)))return!0;if(!r){var c=s(o);return c==="[object GeneratorFunction]"}if(!i)return!1;var l=a();return l&&i(o)===l.prototype},Pi}var Zs;function sl(){return Zs||(Zs=1,(function(e){var n=rl(),t=al(),r=Wc(),i=Vc();function s(T){return T.call.bind(T)}var u=typeof BigInt<"u",a=typeof Symbol<"u",f=s(Object.prototype.toString),o=s(Number.prototype.valueOf),c=s(String.prototype.valueOf),l=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(a)var h=s(Symbol.prototype.valueOf);function m(T,X){if(typeof T!="object")return!1;try{return X(T),!0}catch{return!1}}e.isArgumentsObject=n,e.isGeneratorFunction=t,e.isTypedArray=i;function v(T){return typeof Promise<"u"&&T instanceof Promise||T!==null&&typeof T=="object"&&typeof T.then=="function"&&typeof T.catch=="function"}e.isPromise=v;function y(T){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(T):i(T)||H(T)}e.isArrayBufferView=y;function g(T){return r(T)==="Uint8Array"}e.isUint8Array=g;function b(T){return r(T)==="Uint8ClampedArray"}e.isUint8ClampedArray=b;function x(T){return r(T)==="Uint16Array"}e.isUint16Array=x;function E(T){return r(T)==="Uint32Array"}e.isUint32Array=E;function I(T){return r(T)==="Int8Array"}e.isInt8Array=I;function w(T){return r(T)==="Int16Array"}e.isInt16Array=w;function p(T){return r(T)==="Int32Array"}e.isInt32Array=p;function C(T){return r(T)==="Float32Array"}e.isFloat32Array=C;function S(T){return r(T)==="Float64Array"}e.isFloat64Array=S;function O(T){return r(T)==="BigInt64Array"}e.isBigInt64Array=O;function j(T){return r(T)==="BigUint64Array"}e.isBigUint64Array=j;function Y(T){return f(T)==="[object Map]"}Y.working=typeof Map<"u"&&Y(new Map);function G(T){return typeof Map>"u"?!1:Y.working?Y(T):T instanceof Map}e.isMap=G;function L(T){return f(T)==="[object Set]"}L.working=typeof Set<"u"&&L(new Set);function F(T){return typeof Set>"u"?!1:L.working?L(T):T instanceof Set}e.isSet=F;function V(T){return f(T)==="[object WeakMap]"}V.working=typeof WeakMap<"u"&&V(new WeakMap);function R(T){return typeof WeakMap>"u"?!1:V.working?V(T):T instanceof WeakMap}e.isWeakMap=R;function A(T){return f(T)==="[object WeakSet]"}A.working=typeof WeakSet<"u"&&A(new WeakSet);function N(T){return A(T)}e.isWeakSet=N;function W(T){return f(T)==="[object ArrayBuffer]"}W.working=typeof ArrayBuffer<"u"&&W(new ArrayBuffer);function J(T){return typeof ArrayBuffer>"u"?!1:W.working?W(T):T instanceof ArrayBuffer}e.isArrayBuffer=J;function Z(T){return f(T)==="[object DataView]"}Z.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Z(new DataView(new ArrayBuffer(1),0,1));function H(T){return typeof DataView>"u"?!1:Z.working?Z(T):T instanceof DataView}e.isDataView=H;var M=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function U(T){return f(T)==="[object SharedArrayBuffer]"}function q(T){return typeof M>"u"?!1:(typeof U.working>"u"&&(U.working=U(new M)),U.working?U(T):T instanceof M)}e.isSharedArrayBuffer=q;function P(T){return f(T)==="[object AsyncFunction]"}e.isAsyncFunction=P;function k(T){return f(T)==="[object Map Iterator]"}e.isMapIterator=k;function K(T){return f(T)==="[object Set Iterator]"}e.isSetIterator=K;function $(T){return f(T)==="[object Generator]"}e.isGeneratorObject=$;function ne(T){return f(T)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=ne;function re(T){return m(T,o)}e.isNumberObject=re;function oe(T){return m(T,c)}e.isStringObject=oe;function fe(T){return m(T,l)}e.isBooleanObject=fe;function he(T){return u&&m(T,d)}e.isBigIntObject=he;function D(T){return a&&m(T,h)}e.isSymbolObject=D;function _(T){return re(T)||oe(T)||fe(T)||he(T)||D(T)}e.isBoxedPrimitive=_;function B(T){return typeof Uint8Array<"u"&&(J(T)||q(T))}e.isAnyArrayBuffer=B,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(T){Object.defineProperty(e,T,{enumerable:!1,value:function(){throw new Error(T+" is not supported in userland")}})})})(_i)),_i}var ki,e3;function cl(){return e3||(e3=1,ki=function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"}),ki}var t3;function vr(){return t3||(t3=1,(function(e){var n={},t=Object.getOwnPropertyDescriptors||function(M){for(var U=Object.keys(M),q={},P=0;P<U.length;P++)q[U[P]]=Object.getOwnPropertyDescriptor(M,U[P]);return q},r=/%[sdj%]/g;e.format=function(H){if(!w(H)){for(var M=[],U=0;U<arguments.length;U++)M.push(a(arguments[U]));return M.join(" ")}for(var U=1,q=arguments,P=q.length,k=String(H).replace(r,function($){if($==="%%")return"%";if(U>=P)return $;switch($){case"%s":return String(q[U++]);case"%d":return Number(q[U++]);case"%j":try{return JSON.stringify(q[U++])}catch{return"[Circular]"}default:return $}}),K=q[U];U<P;K=q[++U])x(K)||!O(K)?k+=" "+K:k+=" "+a(K);return k},e.deprecate=function(H,M){if(typeof process<"u"&&process.noDeprecation===!0)return H;if(typeof process>"u")return function(){return e.deprecate(H,M).apply(this,arguments)};var U=!1;function q(){if(!U){if(process.throwDeprecation)throw new Error(M);process.traceDeprecation?console.trace(M):console.error(M),U=!0}return H.apply(this,arguments)}return q};var i={},s=/^$/;if(n.NODE_DEBUG){var u=n.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}e.debuglog=function(H){if(H=H.toUpperCase(),!i[H])if(s.test(H)){var M=process.pid;i[H]=function(){var U=e.format.apply(e,arguments);console.error("%s %d: %s",H,M,U)}}else i[H]=function(){};return i[H]};function a(H,M){var U={seen:[],stylize:o};return arguments.length>=3&&(U.depth=arguments[2]),arguments.length>=4&&(U.colors=arguments[3]),b(M)?U.showHidden=M:M&&e._extend(U,M),C(U.showHidden)&&(U.showHidden=!1),C(U.depth)&&(U.depth=2),C(U.colors)&&(U.colors=!1),C(U.customInspect)&&(U.customInspect=!0),U.colors&&(U.stylize=f),l(U,H,U.depth)}e.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function f(H,M){var U=a.styles[M];return U?"\x1B["+a.colors[U][0]+"m"+H+"\x1B["+a.colors[U][1]+"m":H}function o(H,M){return H}function c(H){var M={};return H.forEach(function(U,q){M[U]=!0}),M}function l(H,M,U){if(H.customInspect&&M&&G(M.inspect)&&M.inspect!==e.inspect&&!(M.constructor&&M.constructor.prototype===M)){var q=M.inspect(U,H);return w(q)||(q=l(H,q,U)),q}var P=d(H,M);if(P)return P;var k=Object.keys(M),K=c(k);if(H.showHidden&&(k=Object.getOwnPropertyNames(M)),Y(M)&&(k.indexOf("message")>=0||k.indexOf("description")>=0))return h(M);if(k.length===0){if(G(M)){var $=M.name?": "+M.name:"";return H.stylize("[Function"+$+"]","special")}if(S(M))return H.stylize(RegExp.prototype.toString.call(M),"regexp");if(j(M))return H.stylize(Date.prototype.toString.call(M),"date");if(Y(M))return h(M)}var ne="",re=!1,oe=["{","}"];if(g(M)&&(re=!0,oe=["[","]"]),G(M)){var fe=M.name?": "+M.name:"";ne=" [Function"+fe+"]"}if(S(M)&&(ne=" "+RegExp.prototype.toString.call(M)),j(M)&&(ne=" "+Date.prototype.toUTCString.call(M)),Y(M)&&(ne=" "+h(M)),k.length===0&&(!re||M.length==0))return oe[0]+ne+oe[1];if(U<0)return S(M)?H.stylize(RegExp.prototype.toString.call(M),"regexp"):H.stylize("[Object]","special");H.seen.push(M);var he;return re?he=m(H,M,U,K,k):he=k.map(function(D){return v(H,M,U,K,D,re)}),H.seen.pop(),y(he,ne,oe)}function d(H,M){if(C(M))return H.stylize("undefined","undefined");if(w(M)){var U="'"+JSON.stringify(M).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return H.stylize(U,"string")}if(I(M))return H.stylize(""+M,"number");if(b(M))return H.stylize(""+M,"boolean");if(x(M))return H.stylize("null","null")}function h(H){return"["+Error.prototype.toString.call(H)+"]"}function m(H,M,U,q,P){for(var k=[],K=0,$=M.length;K<$;++K)N(M,String(K))?k.push(v(H,M,U,q,String(K),!0)):k.push("");return P.forEach(function(ne){ne.match(/^\d+$/)||k.push(v(H,M,U,q,ne,!0))}),k}function v(H,M,U,q,P,k){var K,$,ne;if(ne=Object.getOwnPropertyDescriptor(M,P)||{value:M[P]},ne.get?ne.set?$=H.stylize("[Getter/Setter]","special"):$=H.stylize("[Getter]","special"):ne.set&&($=H.stylize("[Setter]","special")),N(q,P)||(K="["+P+"]"),$||(H.seen.indexOf(ne.value)<0?(x(U)?$=l(H,ne.value,null):$=l(H,ne.value,U-1),$.indexOf(`
|
|
2
2
|
`)>-1&&(k?$=$.split(`
|
|
3
3
|
`).map(function(re){return" "+re}).join(`
|
|
4
4
|
`).slice(2):$=`
|