@acedatacloud/nexior 3.167.0 → 3.168.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-BYDwGwaF.js → Auth-BDyXSjIe.js} +1 -1
- package/dist/assets/{BotPlaceholder-BqeR06y3.js → BotPlaceholder-BEomWKuP.js} +1 -1
- package/dist/assets/{Callback--SyBMjm7.js → Callback-DoJBHDRi.js} +1 -1
- package/dist/assets/{Console-WixW6BSu.js → Console-B85hzCWD.js} +1 -1
- package/dist/assets/{Consumption-CL3WRYVN.js → Consumption-Vrs9Ym-e.js} +1 -1
- package/dist/assets/{Conversation-Brvaxxml.js → Conversation-yBAeOfTL.js} +1 -1
- package/dist/assets/{CopyToClipboard-TC6O9s7V.js → CopyToClipboard-BKPPPZex.js} +1 -1
- package/dist/assets/{Detail-oRAPiSXy.js → Detail-IqUP_8Rf.js} +2 -2
- package/dist/assets/{EditArray-Cr1IK11e.js → EditArray-c0xJ35n-.js} +1 -1
- package/dist/assets/{Extra-9TZNXkOm.js → Extra-B0rcl4cC.js} +1 -1
- package/dist/assets/{FilePreview-BHbzMFA3.js → FilePreview-B83vVjmo.js} +1 -1
- package/dist/assets/{History-DArAVdnl.js → History-CLZkfWJ_.js} +1 -1
- package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-VGkf-8vn.js → IconPark.vue_vue_type_script_setup_true_lang-ksQMUIfc.js} +1 -1
- package/dist/assets/{ImagePreview-CATcaSwT.js → ImagePreview-B0AGcjB1.js} +1 -1
- package/dist/assets/{ImageWrapper-C-2wIJYB.js → ImageWrapper-_iiM_a6H.js} +1 -1
- package/dist/assets/{Index-ip063XOA.js → Index-B672ipBS.js} +1 -1
- package/dist/assets/{Index-6O25pgqo.js → Index-B7N_ZM2U.js} +1 -1
- package/dist/assets/{Index-Ba9ChGUK.js → Index-BKjB-9Oe.js} +2 -2
- package/dist/assets/{Index-CofV8BK0.js → Index-By3xsmxj.js} +1 -1
- package/dist/assets/{Index-BKgJVlqc.js → Index-CSuhKEjt.js} +1 -1
- package/dist/assets/{Index-DbBMgNaM.js → Index-CezD43xH.js} +1 -1
- package/dist/assets/{Index-BmLW9xeN.js → Index-CxsRl-11.js} +1 -1
- package/dist/assets/{Index-Cl3Lz1dF.js → Index-D-qTlC3Z.js} +1 -1
- package/dist/assets/{Index-Bvrq7JLb.js → Index-D1tmlbyD.js} +1 -1
- package/dist/assets/Index-DC676h74.js +1 -0
- package/dist/assets/{Index-C01475yx.js → Index-DHx4p08s.js} +1 -1
- package/dist/assets/{Index-eTNf6k_N.js → Index-DZ47oisV.js} +1 -1
- package/dist/assets/{Index-BZkdecyf.js → Index-DbKTdta8.js} +1 -1
- package/dist/assets/{Index-Dh9rUBhI.js → Index-Dc2nFTk1.js} +1 -1
- package/dist/assets/{Index-DBlvbTmY.js → Index-Did7kzpk.js} +1 -1
- package/dist/assets/{Index-DZl1YUel.js → Index-DpHIGaEz.js} +1 -1
- package/dist/assets/{Index-C3f-qhzZ.js → Index-F42-VQFW.js} +1 -1
- package/dist/assets/{Index-BQQpmfdB.js → Index-NTKMlpsi.js} +1 -1
- package/dist/assets/{Index-C5HV03FO.js → Index-T9ebwI8G.js} +1 -1
- package/dist/assets/Index-YCV8wVla.css +1 -0
- package/dist/assets/{Index-BQL51iA5.js → Index-ah7mFp7z.js} +1 -1
- package/dist/assets/{Index-BGjqeGFj.js → Index-mAdg-qFC.js} +1 -1
- package/dist/assets/{Index-ogoTClu0.js → Index-mfKfVj3g.js} +1 -1
- package/dist/assets/{Index-DIF8W8Uc.js → Index-pNqGPmBt.js} +1 -1
- package/dist/assets/{Index-BUxrI5H9.js → Index-vu_JhkJW.js} +1 -1
- package/dist/assets/{Invitees-Cc3NpC2g.js → Invitees-B_jQ5kVN.js} +1 -1
- package/dist/assets/{List-DvSsX3Z0.js → List-7Wl_Izc4.js} +1 -1
- package/dist/assets/{List-D7DfvKQy.js → List-BCkL1DtJ.js} +1 -1
- package/dist/assets/{List-B4p4ZhQE.js → List-CvW8rP13.js} +1 -1
- package/dist/assets/{Main-BVKGaNZg.js → Main-QbmvnnMG.js} +1 -1
- package/dist/assets/{Navigator-9ddEoj7J.js → Navigator-C-p3RzVC.js} +1 -1
- package/dist/assets/{NoTasks-C3t8bmtA.js → NoTasks-DTEzeszL.js} +1 -1
- package/dist/assets/{NotFound-Hnpwk4F4.js → NotFound-CVtQTglJ.js} +1 -1
- package/dist/assets/{OAuthCallback-COGnrcdn.js → OAuthCallback-CpR2-nmg.js} +1 -1
- package/dist/assets/{Pagination-wNLMuHeO.js → Pagination-DmumC74j.js} +1 -1
- package/dist/assets/{Status-CIYhFNcJ.js → Status-Bf9lfqL1.js} +1 -1
- package/dist/assets/{Subscribe-lEko0pof.js → Subscribe-Db51l7te.js} +1 -1
- package/dist/assets/{VideoPlayer-c9dt-3yZ.js → VideoPlayer-DLqpJWFk.js} +1 -1
- package/dist/assets/_Uint8Array-BXWVuq2q.js +1 -0
- package/dist/assets/{_baseClone-Bmu_sg3j.js → _baseClone-CdH871Qw.js} +1 -1
- package/dist/assets/{_baseIteratee-lG75D4iw.js → _baseIteratee-BD8B7GME.js} +1 -1
- package/dist/assets/{_initCloneObject-C-Q8oqTt.js → _initCloneObject-BBeThwBy.js} +1 -1
- package/dist/assets/{add-6LL9G5Z5.js → add-UrLMzye7.js} +1 -1
- package/dist/assets/{all-wallets-aEppbPWX.js → all-wallets-opGrYoFq.js} +1 -1
- package/dist/assets/{app-store-DID464Wp.js → app-store-eRITh79T.js} +1 -1
- package/dist/assets/{apple-DORiIW02.js → apple-BJrlVv7w.js} +1 -1
- package/dist/assets/{arrow-bottom-CmCVBSrV.js → arrow-bottom-Bjnbevqv.js} +1 -1
- package/dist/assets/{arrow-bottom-circle-dyY9qLpT.js → arrow-bottom-circle-B3cg2xpo.js} +1 -1
- package/dist/assets/{arrow-left-BaoMx2wj.js → arrow-left-BIRR85uZ.js} +1 -1
- package/dist/assets/{arrow-right-6ZIR8uWG.js → arrow-right-CMkhN4--.js} +1 -1
- package/dist/assets/{arrow-top-DV5TBwIJ.js → arrow-top-D-ULF3EB.js} +1 -1
- package/dist/assets/{avatar-CZpCU7-m.js → avatar-D0aH2OKD.js} +1 -1
- package/dist/assets/{bank-DYz2uXPn.js → bank-B9xrTyFs.js} +1 -1
- package/dist/assets/{basic-CH4UgvMg.js → basic-LOPbFEDH.js} +60 -60
- package/dist/assets/{browser-CKmIG2h_.js → browser-Da5KzxtX.js} +1 -1
- package/dist/assets/{byokCredential-BdY2oFpq.js → byokCredential-Pee77Xtw.js} +1 -1
- package/dist/assets/{card-3UfZE5zt.js → card-Cmds_I_j.js} +1 -1
- package/dist/assets/{castArray-YvIMFTc9.js → castArray-CUDnQsIK.js} +1 -1
- package/dist/assets/{chat-CpxTF3jE.js → chat-E_RwqKGz.js} +1 -1
- package/dist/assets/{checkmark-BWZoFv2_.js → checkmark-D5qigt51.js} +1 -1
- package/dist/assets/{checkmark-bold-CEX8QndR.js → checkmark-bold-LvKhYYxu.js} +1 -1
- package/dist/assets/{chevron-bottom-BI142s1X.js → chevron-bottom-CCJifxR0.js} +1 -1
- package/dist/assets/{chevron-left-tLzTrSXr.js → chevron-left-DoFRVtBs.js} +1 -1
- package/dist/assets/{chevron-right-Dyf_ffQQ.js → chevron-right-7VzYWBD3.js} +1 -1
- package/dist/assets/{chevron-top-DPDBxfl4.js → chevron-top-Cr09TF1o.js} +1 -1
- package/dist/assets/{chrome-store-D5SW-iy-.js → chrome-store-tZ5X31Ib.js} +1 -1
- package/dist/assets/{clock-CKF6goQf.js → clock-DhSlFX8L.js} +1 -1
- package/dist/assets/{close-De8y1RWE.js → close-8NNhk5MQ.js} +1 -1
- package/dist/assets/{coinPlaceholder-Dkkrmbg7.js → coinPlaceholder-CGqCWk_o.js} +1 -1
- package/dist/assets/{compass-cqEFwAme.js → compass-DcyOP90T.js} +1 -1
- package/dist/assets/{copy-Es56qz4c.js → copy-D1WNYxGL.js} +1 -1
- package/dist/assets/{createTaskActions-BXbGVAyn.js → createTaskActions-DAYGdsVq.js} +1 -1
- package/dist/assets/{cursor-Cq5X5f50.js → cursor-cMwhnIk5.js} +1 -1
- package/dist/assets/{cursor-transparent-xlWXmwGt.js → cursor-transparent-CrQv8Onm.js} +1 -1
- package/dist/assets/{debounce-BpWk7nuI.js → debounce-DCSodorO.js} +1 -1
- package/dist/assets/{desktop-D1J2Uie2.js → desktop-B93vdfc0.js} +1 -1
- package/dist/assets/{disconnect-Cks823Of.js → disconnect-CTOrg89I.js} +1 -1
- package/dist/assets/{discord-zkmftcBQ.js → discord-B928iac1.js} +1 -1
- package/dist/assets/{distribution-o7xqSpRT.js → distribution-CnJXY8oi.js} +1 -1
- package/dist/assets/{dropdown-Bvb4dRSD.js → dropdown-BDLqMJ6c.js} +1 -1
- package/dist/assets/{etherscan-I41foa4d.js → etherscan-C7rdhh_l.js} +1 -1
- package/dist/assets/{exclamation-triangle-DoIkNHiW.js → exclamation-triangle-TLEW8o_8.js} +1 -1
- package/dist/assets/{extension-C2DGwOS2.js → extension-BCPc05eE.js} +1 -1
- package/dist/assets/{external-link-B2ZBFNNw.js → external-link-BVSFanSk.js} +1 -1
- package/dist/assets/{facebook-CO7UwlKf.js → facebook-yWzRWreo.js} +1 -1
- package/dist/assets/{farcaster-DFerNXVJ.js → farcaster-ObXhKU7L.js} +1 -1
- package/dist/assets/{filters-Cq5-UFL3.js → filters-D65QChWv.js} +1 -1
- package/dist/assets/{github-BOpdRs3D.js → github-CfpVGN4l.js} +1 -1
- package/dist/assets/{google-B1iBXSb_.js → google-DgM2THGc.js} +1 -1
- package/dist/assets/{help-circle-FMe2_GKk.js → help-circle-BuTaWLeN.js} +1 -1
- package/dist/assets/{id-B8JtAbxm.js → id-BDpIvgHc.js} +1 -1
- package/dist/assets/{image-B7X95LW6.js → image-BPV6AkRv.js} +1 -1
- package/dist/assets/{index-DqHEB8wJ.js → index--_ruvatY.js} +1 -1
- package/dist/assets/{index-5PCSoafl.js → index-50IhPevG.js} +2 -2
- package/dist/assets/{index-HTtxGNNR.js → index-B0_GI7q2.js} +1 -1
- package/dist/assets/{index-BD55w4j0.js → index-B6H89xyY.js} +1 -1
- package/dist/assets/{index-C8WbvFlX.js → index-BEB0_UvQ.js} +1 -1
- package/dist/assets/{index-0u_G2kSj.js → index-BFQ7oRfU.js} +1 -1
- package/dist/assets/{index-DC9KLk-Y.js → index-BJD6-2dA.js} +1 -1
- package/dist/assets/{index-DSRawDTE.js → index-BKkACFcM.js} +1 -1
- package/dist/assets/{index-CmMnj3Xx.js → index-BNn6E6CM.js} +1 -1
- package/dist/assets/{index-BbcE4PaG.js → index-BP0i0DI0.js} +1 -1
- package/dist/assets/{index-Cjg_OuWc.js → index-BS0e3mH-.js} +1 -1
- package/dist/assets/{index-BVZShYNY.js → index-BT6khhJu.js} +1 -1
- package/dist/assets/{index-CniEO1Oz.js → index-BX7sWEUw.js} +1 -1
- package/dist/assets/{index-XpcsQaS3.js → index-BZ0LCluE.js} +1 -1
- package/dist/assets/{index-BMe4XQdI.js → index-BfTKfSn5.js} +1 -1
- package/dist/assets/{index-yXdj_vJc.js → index-BgIT6hC5.js} +1 -1
- package/dist/assets/{index-Df86EZ4H.js → index-BmuW8LII.js} +1 -1
- package/dist/assets/{index-CbnoagxV.js → index-Bo_W4_wC.js} +1 -1
- package/dist/assets/{index--MBG5Bxw.js → index-C2Ix0O_U.js} +1 -1
- package/dist/assets/{index-DZXPcke9.js → index-CAjrQ30c.js} +1 -1
- package/dist/assets/{index-BiXpC_cY.js → index-CAk112Jj.js} +1 -1
- package/dist/assets/{index-gQH-ITVc.js → index-CNiheU_Y.js} +1 -1
- package/dist/assets/{index-DtaZfQsb.js → index-COHCLZDM.js} +1 -1
- package/dist/assets/{index-BPRTWZ0b.js → index-CajQSidV.js} +1 -1
- package/dist/assets/{index-qJmkBTaB.js → index-CeewlRvZ.js} +1 -1
- package/dist/assets/{index-CP6lS__f.js → index-CfNLp6F4.js} +1 -1
- package/dist/assets/{index-DzqsLvLw.js → index-CfmUVjcp.js} +1 -1
- package/dist/assets/{index-DTq8xdm6.js → index-CjU5cdO7.js} +1 -1
- package/dist/assets/{index-8jmQ7jsv.js → index-ClmF6hRq.js} +1 -1
- package/dist/assets/{index-CTspmpeX.js → index-Cncx8-l_.js} +1 -1
- package/dist/assets/{index-B05MCcWV.js → index-CnleZlCG.js} +1 -1
- package/dist/assets/{index-DWkcw7l1.js → index-CoVdVq1Z.js} +1 -1
- package/dist/assets/{index--FfOeMhK.js → index-D6Kzs1Nw.js} +1 -1
- package/dist/assets/{index-CVzcynKu.js → index-D9DK1isc.js} +1 -1
- package/dist/assets/{index-COPlSq-K.js → index-DCbpcMpj.js} +1 -1
- package/dist/assets/{index-DvJO3nj9.js → index-DHULlsKQ.js} +1 -1
- package/dist/assets/{index-cnvaHQUI.js → index-DHnWz_8g.js} +1 -1
- package/dist/assets/{index-ruJel4IC.js → index-DHoQZLtm.js} +1 -1
- package/dist/assets/{index-CD8qf4tY.js → index-DLUXCsx1.js} +1 -1
- package/dist/assets/{index-BXuYZoDz.js → index-DMucU6uG.js} +1 -1
- package/dist/assets/{index-BzRVav2J.js → index-DXwCOxQx.js} +14 -14
- package/dist/assets/{index-DLlZmkfC.js → index-DZM-NR6G.js} +1 -1
- package/dist/assets/{index-karJESpY.js → index-DcjROC1z.js} +1 -1
- package/dist/assets/{index-SAsUj7Pk.js → index-DcjdVEoX.js} +1 -1
- package/dist/assets/{index-DTbz6TSn.js → index-DdSlwtcL.js} +1 -1
- package/dist/assets/{index-DEcBa7gX.js → index-Df15q-se.js} +1 -1
- package/dist/assets/{index-De-wy4Tc.js → index-DfM49-13.js} +1 -1
- package/dist/assets/{index-ZhVk9kkG.js → index-DgEnLOYy.js} +5 -5
- package/dist/assets/{index-BkvfyPBC.js → index-Dttr4JHi.js} +1 -1
- package/dist/assets/{index-D5ReSuuO.js → index-Gby8YUdT.js} +1 -1
- package/dist/assets/{index-CMexzqoP.js → index-OKrnShZm.js} +1 -1
- package/dist/assets/{index-D7b8OrcI.js → index-Pf9Yjl5V.js} +1 -1
- package/dist/assets/{index-C3GoyrG4.js → index-RCOqdLUs.js} +1 -1
- package/dist/assets/{index-CIdZDW4_.js → index-TEpyQgfK.js} +3 -3
- package/dist/assets/{index-Dt0xHpag.js → index-jU7GB09F.js} +1 -1
- package/dist/assets/{index-F7u9olkI.js → index-tZ_Ise3S.js} +1 -1
- package/dist/assets/{index--UH2lqMs.js → index-uHPJAWOO.js} +1 -1
- package/dist/assets/{index-CMTPLs4z.js → index-uvAG1r2M.js} +1 -1
- package/dist/assets/{index-DYXoPIXH.js → index-wIXuMScl.js} +1 -1
- package/dist/assets/{index-bUBBPa9N.js → index-y4M9HGmQ.js} +1 -1
- package/dist/assets/{index.browser.esm-DkzdYcbc.js → index.browser.esm-D7d8Rln2.js} +1 -1
- package/dist/assets/{index.es-C_WLtS18.js → index.es-CGNqC7gi.js} +1 -1
- package/dist/assets/{info-CWQKBayg.js → info-DM9rskjg.js} +1 -1
- package/dist/assets/{info-circle-xZWu29E_.js → info-circle-DlTmoyc5.js} +1 -1
- package/dist/assets/{isEqual-yYS0dh2f.js → isEqual-DBKyqIIt.js} +1 -1
- package/dist/assets/{isPlainObject-CRl4nmqU.js → isPlainObject-BEU12YqN.js} +1 -1
- package/dist/assets/{lightbulb-DDxET3cE.js → lightbulb-DHpQkifU.js} +1 -1
- package/dist/assets/{mail-CFH0lanX.js → mail-RQ1QwebF.js} +1 -1
- package/dist/assets/{midjourney-DRsfJ6XL.js → midjourney-DtyT0jZS.js} +1 -1
- package/dist/assets/{mobile-ikIUiDOY.js → mobile-VdDXMKEH.js} +1 -1
- package/dist/assets/{more-BOWsr6fH.js → more-BE6J6IIj.js} +1 -1
- package/dist/assets/{network-placeholder-WAP_pG5W.js → network-placeholder-Mx5SY88G.js} +1 -1
- package/dist/assets/{nftPlaceholder-mS2qsTTR.js → nftPlaceholder-C7cAVXAB.js} +1 -1
- package/dist/assets/{off-DgdEkHnP.js → off-D5KoU2IH.js} +1 -1
- package/dist/assets/{order-Cb2RT6uu.js → order-BscwC2FZ.js} +1 -1
- package/dist/assets/{pagination-mZXKDVMd.js → pagination-ttqKdzba.js} +1 -1
- package/dist/assets/{play-store-8C4ifU8u.js → play-store-NLHYHAzn.js} +1 -1
- package/dist/assets/{plus-FPrDhto7.js → plus-B4X29bak.js} +1 -1
- package/dist/assets/{price-Cr67gCty.js → price-DpiQB5Yf.js} +1 -1
- package/dist/assets/{producer-Q-cOb_Ne.js → producer-CvNMCVkQ.js} +1 -1
- package/dist/assets/{qr-code-DRShCRVn.js → qr-code-DeoPDarM.js} +1 -1
- package/dist/assets/{recycle-horizontal-C8dBoRZt.js → recycle-horizontal-C8vaKTfu.js} +1 -1
- package/dist/assets/{refresh-CImlMCgq.js → refresh-BTBS0EUI.js} +1 -1
- package/dist/assets/{reown-logo-4ZKneMrf.js → reown-logo-D682jtgT.js} +1 -1
- package/dist/assets/{search-CGNtTO4W.js → search-CLA1DAiY.js} +1 -1
- package/dist/assets/{secp256k1-BWP6UeVl.js → secp256k1-C0KaaotE.js} +1 -1
- package/dist/assets/{secp256k1-C2CXj9YW.js → secp256k1-UQxLo_3_.js} +1 -1
- package/dist/assets/{seedream-DpE59ZMf.js → seedream-D8o6AzwQ.js} +1 -1
- package/dist/assets/seedream-DcTLW5r2.js +1 -0
- package/dist/assets/seedream-rLJUDb-d.js +1 -0
- package/dist/assets/{send-DCL9Yk32.js → send-aX_GxPEK.js} +1 -1
- package/dist/assets/{service-BJ-ypgj8.js → service-Bl8gGQ55.js} +1 -1
- package/dist/assets/{solana-wallets-yxjVsaPt.js → solana-wallets-DplP8WdI.js} +2 -2
- package/dist/assets/{solana-wallets-vue-C8Fkxc_p.js → solana-wallets-vue-Ci7B_C6i.js} +1 -1
- package/dist/assets/{suno-BZWrSxwO.js → suno-Cx2k0nCv.js} +1 -1
- package/dist/assets/{swapHorizontal-Bfn7eZ90.js → swapHorizontal-C0y88R1i.js} +1 -1
- package/dist/assets/{swapHorizontalBold-DGPhnPkP.js → swapHorizontalBold-ChU04fWb.js} +1 -1
- package/dist/assets/{swapHorizontalMedium-DqzPWlW6.js → swapHorizontalMedium-DJDVePDM.js} +1 -1
- package/dist/assets/{swapHorizontalRoundedBold-DPpuDpww.js → swapHorizontalRoundedBold-DX-bndMU.js} +1 -1
- package/dist/assets/{swapVertical--7_aleOl.js → swapVertical-AcQg_Wvo.js} +1 -1
- package/dist/assets/{telegram-DkMIuO8p.js → telegram-Lgnv9Ozw.js} +1 -1
- package/dist/assets/{three-dots-DIIrfSEt.js → three-dots-BWmtbAZ_.js} +1 -1
- package/dist/assets/{twitch-CiiHF84Y.js → twitch-DOUAsbJl.js} +1 -1
- package/dist/assets/{twitterIcon-ocXCXtXI.js → twitterIcon-CbBbPa9k.js} +1 -1
- package/dist/assets/{typescript-D6sat8h_.js → typescript-BS0psKoU.js} +1 -1
- package/dist/assets/{use-form-item-B5rZE33a.js → use-form-item-BCHl5hOu.js} +1 -1
- package/dist/assets/validator-CmY_SPNn.js +1 -0
- package/dist/assets/{verify-BNbMn2WA.js → verify-D8_6usMb.js} +1 -1
- package/dist/assets/{verify-filled-BYrl9ds5.js → verify-filled-YSomKc90.js} +1 -1
- package/dist/assets/{w3m-modal-1D4qbzJa.js → w3m-modal-CjCjnI4-.js} +1 -1
- package/dist/assets/{wallet-FOzEXpqB.js → wallet-CQ4eeF60.js} +1 -1
- package/dist/assets/{wallet-placeholder-B68god-e.js → wallet-placeholder-BWHCAd0e.js} +1 -1
- package/dist/assets/{walletconnect-BgAZqbXg.js → walletconnect-CCdGO7JL.js} +1 -1
- package/dist/assets/{warning-circle-OFLJWcAI.js → warning-circle-gDsO_gdI.js} +1 -1
- package/dist/assets/{web-DWdZiDY7.js → web-BIxDucrP.js} +1 -1
- package/dist/assets/{web-MzbMqkc3.js → web-VeP6mq4A.js} +1 -1
- package/dist/assets/{x-CIb6zO-n.js → x-DgWe3wGg.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/Index-CwVq3Ycf.js +0 -1
- package/dist/assets/Index-D_5VDtZe.css +0 -1
- package/dist/assets/_Uint8Array-BP4C5DZm.js +0 -1
- package/dist/assets/seedream-CBaTJXUS.js +0 -1
- package/dist/assets/seedream-CXCUm_0w.js +0 -1
- package/dist/assets/validator-DGv8iqeP.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R as U,a1 as Je,I as K,L as D,a2 as dt,Y as vi,a3 as on,J as bn,V as Qt,T as Qe,N as ni,a4 as Oe,w as je,G as mn,$ as vn,F as yi}from"./index-
|
|
1
|
+
import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R as U,a1 as Je,I as K,L as D,a2 as dt,Y as vi,a3 as on,J as bn,V as Qt,T as Qe,N as ni,a4 as Oe,w as je,G as mn,$ as vn,F as yi}from"./index-DgEnLOYy.js";import{n as u,c as S,o as E,r as P,U as de,e as xi,f as Ci,a as Ri}from"./index-TEpyQgfK.js";import{g as $i}from"./vendor-dayjs-v0j1UNZp.js";import{eM as Ii}from"./index-DXwCOxQx.js";import"./index.browser.esm-D7d8Rln2.js";import"./index-9HGDSJTR.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const Ei=k`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
background-color: var(--wui-color-gray-glass-002);
|
|
@@ -91,7 +91,7 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
91
91
|
size="inherit"
|
|
92
92
|
color="inherit"
|
|
93
93
|
name="walletPlaceholder"
|
|
94
|
-
></wui-icon>`}};he.styles=[G,q,
|
|
94
|
+
></wui-icon>`}};he.styles=[G,q,Ei];Re([u()],he.prototype,"size",void 0);Re([u()],he.prototype,"name",void 0);Re([u()],he.prototype,"imageSrc",void 0);Re([u()],he.prototype,"walletIcon",void 0);Re([u({type:Boolean})],he.prototype,"installed",void 0);Re([u()],he.prototype,"badgeSize",void 0);he=Re([S("wui-wallet-image")],he);const Wi=k`
|
|
95
95
|
:host {
|
|
96
96
|
position: relative;
|
|
97
97
|
border-radius: var(--wui-border-radius-xxs);
|
|
@@ -136,14 +136,14 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
136
136
|
z-index: 2;
|
|
137
137
|
display: flex;
|
|
138
138
|
}
|
|
139
|
-
`;var ii=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};const
|
|
139
|
+
`;var ii=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};const It=4;let Xe=class extends O{constructor(){super(...arguments),this.walletImages=[]}render(){const e=this.walletImages.length<It;return c`${this.walletImages.slice(0,It).map(({src:n,walletName:i})=>c`
|
|
140
140
|
<wui-wallet-image
|
|
141
141
|
size="inherit"
|
|
142
142
|
imageSrc=${n}
|
|
143
|
-
name=${
|
|
143
|
+
name=${E(i)}
|
|
144
144
|
></wui-wallet-image>
|
|
145
145
|
`)}
|
|
146
|
-
${e?[...Array(
|
|
146
|
+
${e?[...Array(It-this.walletImages.length)].map(()=>c` <wui-wallet-image size="inherit" name=""></wui-wallet-image>`):null}
|
|
147
147
|
<wui-flex>
|
|
148
148
|
<wui-icon-box
|
|
149
149
|
size="xxs"
|
|
@@ -182,7 +182,7 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
182
182
|
color: var(--wui-color-fg-200) !important;
|
|
183
183
|
}
|
|
184
184
|
`;var Y=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let V=class extends O{constructor(){super(...arguments),this.walletImages=[],this.imageSrc="",this.name="",this.tabIdx=void 0,this.installed=!1,this.disabled=!1,this.showAllWallets=!1,this.loading=!1,this.loadingSpinnerColor="accent-100"}render(){return c`
|
|
185
|
-
<button ?disabled=${this.disabled} tabindex=${
|
|
185
|
+
<button ?disabled=${this.disabled} tabindex=${E(this.tabIdx)}>
|
|
186
186
|
${this.templateAllWallets()} ${this.templateWalletImage()}
|
|
187
187
|
<wui-text variant="paragraph-500" color="inherit">${this.name}</wui-text>
|
|
188
188
|
${this.templateStatus()}
|
|
@@ -204,7 +204,7 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
204
204
|
tagLabel=${a}
|
|
205
205
|
tagVariant="shade"
|
|
206
206
|
data-testid="all-wallets"
|
|
207
|
-
tabIdx=${
|
|
207
|
+
tabIdx=${E(this.tabIdx)}
|
|
208
208
|
.loading=${this.isFetchingRecommendedWallets}
|
|
209
209
|
loadingSpinnerColor=${this.isFetchingRecommendedWallets?"fg-300":"accent-100"}
|
|
210
210
|
></wui-list-wallet>
|
|
@@ -212,14 +212,14 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
212
212
|
<wui-flex flexDirection="column" gap="xs">
|
|
213
213
|
${e.filter(Je.showConnector).map(n=>c`
|
|
214
214
|
<wui-list-wallet
|
|
215
|
-
imageSrc=${
|
|
215
|
+
imageSrc=${E(K.getConnectorImage(n))}
|
|
216
216
|
name=${n.name??"Unknown"}
|
|
217
217
|
@click=${()=>this.onConnector(n)}
|
|
218
218
|
tagVariant="success"
|
|
219
219
|
tagLabel="installed"
|
|
220
220
|
data-testid=${`wallet-selector-${n.id}`}
|
|
221
221
|
.installed=${!0}
|
|
222
|
-
tabIdx=${
|
|
222
|
+
tabIdx=${E(this.tabIdx)}
|
|
223
223
|
>
|
|
224
224
|
</wui-list-wallet>
|
|
225
225
|
`)}
|
|
@@ -227,11 +227,11 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
227
227
|
`:(this.style.cssText="display: none",null)}onConnector(e){e.id==="walletConnect"?A.isMobile()?U.push("AllWallets"):U.push("ConnectingWalletConnect"):U.push("ConnectingExternal",{connector:e})}};rn([u()],Ze.prototype,"tabIdx",void 0);rn([P()],Ze.prototype,"connectors",void 0);Ze=rn([S("w3m-connect-announced-widget")],Ze);var ht=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let De=class extends O{constructor(){super(),this.unsubscribe=[],this.tabIdx=void 0,this.connectors=N.state.connectors,this.loading=!1,this.unsubscribe.push(N.subscribeKey("connectors",e=>this.connectors=e)),A.isTelegram()&&A.isIos()&&(this.loading=!D.state.wcUri,this.unsubscribe.push(D.subscribeKey("wcUri",e=>this.loading=!e)))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){const{customWallets:e}=me.state;if(!e?.length)return this.style.cssText="display: none",null;const n=this.filterOutDuplicateWallets(e);return c`<wui-flex flexDirection="column" gap="xs">
|
|
228
228
|
${n.map(i=>c`
|
|
229
229
|
<wui-list-wallet
|
|
230
|
-
imageSrc=${
|
|
230
|
+
imageSrc=${E(K.getWalletImage(i))}
|
|
231
231
|
name=${i.name??"Unknown"}
|
|
232
232
|
@click=${()=>this.onConnectWallet(i)}
|
|
233
233
|
data-testid=${`wallet-selector-${i.id}`}
|
|
234
|
-
tabIdx=${
|
|
234
|
+
tabIdx=${E(this.tabIdx)}
|
|
235
235
|
?loading=${this.loading}
|
|
236
236
|
>
|
|
237
237
|
</wui-list-wallet>
|
|
@@ -240,12 +240,12 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
240
240
|
<wui-flex flexDirection="column" gap="xs">
|
|
241
241
|
${n.map(i=>c`
|
|
242
242
|
<wui-list-wallet
|
|
243
|
-
imageSrc=${
|
|
243
|
+
imageSrc=${E(K.getConnectorImage(i))}
|
|
244
244
|
.installed=${!0}
|
|
245
245
|
name=${i.name??"Unknown"}
|
|
246
246
|
data-testid=${`wallet-selector-external-${i.id}`}
|
|
247
247
|
@click=${()=>this.onConnector(i)}
|
|
248
|
-
tabIdx=${
|
|
248
|
+
tabIdx=${E(this.tabIdx)}
|
|
249
249
|
>
|
|
250
250
|
</wui-list-wallet>
|
|
251
251
|
`)}
|
|
@@ -255,10 +255,10 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
255
255
|
${this.wallets.map(e=>c`
|
|
256
256
|
<wui-list-wallet
|
|
257
257
|
data-testid=${`wallet-selector-featured-${e.id}`}
|
|
258
|
-
imageSrc=${
|
|
258
|
+
imageSrc=${E(K.getWalletImage(e))}
|
|
259
259
|
name=${e.name??"Unknown"}
|
|
260
260
|
@click=${()=>this.onConnectWallet(e)}
|
|
261
|
-
tabIdx=${
|
|
261
|
+
tabIdx=${E(this.tabIdx)}
|
|
262
262
|
>
|
|
263
263
|
</wui-list-wallet>
|
|
264
264
|
`)}
|
|
@@ -267,14 +267,14 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
267
267
|
<wui-flex flexDirection="column" gap="xs">
|
|
268
268
|
${e.map(n=>{const i=n.info?.rdns;return!A.isMobile()&&n.name==="Browser Wallet"?null:!i&&!D.checkInstalled()?(this.style.cssText="display: none",null):Je.showConnector(n)?c`
|
|
269
269
|
<wui-list-wallet
|
|
270
|
-
imageSrc=${
|
|
270
|
+
imageSrc=${E(K.getConnectorImage(n))}
|
|
271
271
|
.installed=${!0}
|
|
272
272
|
name=${n.name??"Unknown"}
|
|
273
273
|
tagVariant="success"
|
|
274
274
|
tagLabel="installed"
|
|
275
275
|
data-testid=${`wallet-selector-${n.id}`}
|
|
276
276
|
@click=${()=>this.onConnector(n)}
|
|
277
|
-
tabIdx=${
|
|
277
|
+
tabIdx=${E(this.tabIdx)}
|
|
278
278
|
>
|
|
279
279
|
</wui-list-wallet>
|
|
280
280
|
`:null})}
|
|
@@ -283,14 +283,14 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
283
283
|
<wui-flex flexDirection="column" gap="xs">
|
|
284
284
|
${e.map(n=>c`
|
|
285
285
|
<wui-list-wallet
|
|
286
|
-
imageSrc=${
|
|
286
|
+
imageSrc=${E(K.getConnectorImage(n))}
|
|
287
287
|
.installed=${!0}
|
|
288
288
|
name=${n.name??"Unknown"}
|
|
289
289
|
tagVariant="shade"
|
|
290
290
|
tagLabel="multichain"
|
|
291
291
|
data-testid=${`wallet-selector-${n.id}`}
|
|
292
292
|
@click=${()=>this.onConnector(n)}
|
|
293
|
-
tabIdx=${
|
|
293
|
+
tabIdx=${E(this.tabIdx)}
|
|
294
294
|
>
|
|
295
295
|
</wui-list-wallet>
|
|
296
296
|
`)}
|
|
@@ -299,12 +299,12 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
299
299
|
<wui-flex flexDirection="column" gap="xs">
|
|
300
300
|
${n.map(i=>c`
|
|
301
301
|
<wui-list-wallet
|
|
302
|
-
imageSrc=${
|
|
302
|
+
imageSrc=${E(K.getWalletImage(i))}
|
|
303
303
|
name=${i.name??"Unknown"}
|
|
304
304
|
@click=${()=>this.onConnectWallet(i)}
|
|
305
305
|
tagLabel="recent"
|
|
306
306
|
tagVariant="shade"
|
|
307
|
-
tabIdx=${
|
|
307
|
+
tabIdx=${E(this.tabIdx)}
|
|
308
308
|
?loading=${this.loading}
|
|
309
309
|
>
|
|
310
310
|
</wui-list-wallet>
|
|
@@ -314,10 +314,10 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
314
314
|
<wui-flex flexDirection="column" gap="xs">
|
|
315
315
|
${p.map(w=>c`
|
|
316
316
|
<wui-list-wallet
|
|
317
|
-
imageSrc=${
|
|
317
|
+
imageSrc=${E(K.getWalletImage(w))}
|
|
318
318
|
name=${w?.name??"Unknown"}
|
|
319
319
|
@click=${()=>this.onConnectWallet(w)}
|
|
320
|
-
tabIdx=${
|
|
320
|
+
tabIdx=${E(this.tabIdx)}
|
|
321
321
|
?loading=${this.loading}
|
|
322
322
|
>
|
|
323
323
|
</wui-list-wallet>
|
|
@@ -325,12 +325,12 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
325
325
|
</wui-flex>
|
|
326
326
|
`:(this.style.cssText="display: none",null)}onConnectWallet(e){if(this.loading)return;const n=N.getConnector(e.id,e.rdns);n?U.push("ConnectingExternal",{connector:n}):U.push("ConnectingWalletConnect",{wallet:e})}};pt([u()],ke.prototype,"tabIdx",void 0);pt([u()],ke.prototype,"wallets",void 0);pt([P()],ke.prototype,"loading",void 0);ke=pt([S("w3m-connect-recommended-widget")],ke);var gt=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let Ne=class extends O{constructor(){super(),this.unsubscribe=[],this.tabIdx=void 0,this.connectors=N.state.connectors,this.connectorImages=bn.state.connectorImages,this.unsubscribe.push(N.subscribeKey("connectors",e=>this.connectors=e),bn.subscribeKey("connectorImages",e=>this.connectorImages=e))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){if(A.isMobile())return this.style.cssText="display: none",null;const e=this.connectors.find(i=>i.id==="walletConnect");if(!e)return this.style.cssText="display: none",null;const n=e.imageUrl||this.connectorImages[e?.imageId??""];return c`
|
|
327
327
|
<wui-list-wallet
|
|
328
|
-
imageSrc=${
|
|
328
|
+
imageSrc=${E(n)}
|
|
329
329
|
name=${e.name??"Unknown"}
|
|
330
330
|
@click=${()=>this.onConnector(e)}
|
|
331
331
|
tagLabel="qr code"
|
|
332
332
|
tagVariant="main"
|
|
333
|
-
tabIdx=${
|
|
333
|
+
tabIdx=${E(this.tabIdx)}
|
|
334
334
|
data-testid="wallet-selector-walletconnect"
|
|
335
335
|
>
|
|
336
336
|
</wui-list-wallet>
|
|
@@ -347,29 +347,29 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
347
347
|
<wui-flex flexDirection="column" gap="xs"> ${this.connectorListTemplate()} </wui-flex>
|
|
348
348
|
`}connectorListTemplate(){const{custom:e,recent:n,announced:i,injected:o,multiChain:t,recommended:a,featured:s,external:l}=Je.getConnectorsByType(this.connectors,this.recommended,this.featured);return Je.getConnectorTypeOrder({custom:e,recent:n,announced:i,injected:o,multiChain:t,recommended:a,featured:s,external:l}).map(p=>{switch(p){case"injected":return c`
|
|
349
349
|
${t.length?c`<w3m-connect-multi-chain-widget
|
|
350
|
-
tabIdx=${
|
|
350
|
+
tabIdx=${E(this.tabIdx)}
|
|
351
351
|
></w3m-connect-multi-chain-widget>`:null}
|
|
352
352
|
${i.length?c`<w3m-connect-announced-widget
|
|
353
|
-
tabIdx=${
|
|
353
|
+
tabIdx=${E(this.tabIdx)}
|
|
354
354
|
></w3m-connect-announced-widget>`:null}
|
|
355
355
|
${o.length?c`<w3m-connect-injected-widget
|
|
356
356
|
.connectors=${o}
|
|
357
|
-
tabIdx=${
|
|
357
|
+
tabIdx=${E(this.tabIdx)}
|
|
358
358
|
></w3m-connect-injected-widget>`:null}
|
|
359
359
|
`;case"walletConnect":return c`<w3m-connect-walletconnect-widget
|
|
360
|
-
tabIdx=${
|
|
360
|
+
tabIdx=${E(this.tabIdx)}
|
|
361
361
|
></w3m-connect-walletconnect-widget>`;case"recent":return c`<w3m-connect-recent-widget
|
|
362
|
-
tabIdx=${
|
|
362
|
+
tabIdx=${E(this.tabIdx)}
|
|
363
363
|
></w3m-connect-recent-widget>`;case"featured":return c`<w3m-connect-featured-widget
|
|
364
364
|
.wallets=${s}
|
|
365
|
-
tabIdx=${
|
|
365
|
+
tabIdx=${E(this.tabIdx)}
|
|
366
366
|
></w3m-connect-featured-widget>`;case"custom":return c`<w3m-connect-custom-widget
|
|
367
|
-
tabIdx=${
|
|
367
|
+
tabIdx=${E(this.tabIdx)}
|
|
368
368
|
></w3m-connect-custom-widget>`;case"external":return c`<w3m-connect-external-widget
|
|
369
|
-
tabIdx=${
|
|
369
|
+
tabIdx=${E(this.tabIdx)}
|
|
370
370
|
></w3m-connect-external-widget>`;case"recommended":return c`<w3m-connect-recommended-widget
|
|
371
371
|
.wallets=${a}
|
|
372
|
-
tabIdx=${
|
|
372
|
+
tabIdx=${E(this.tabIdx)}
|
|
373
373
|
></w3m-connect-recommended-widget>`;default:return console.warn(`Unknown connector type: ${p}`),null}})}};ve.styles=Si;Fe([u()],ve.prototype,"tabIdx",void 0);Fe([P()],ve.prototype,"connectors",void 0);Fe([P()],ve.prototype,"recommended",void 0);Fe([P()],ve.prototype,"featured",void 0);ve=Fe([S("w3m-connector-list")],ve);const Ti=k`
|
|
374
374
|
:host {
|
|
375
375
|
display: inline-flex;
|
|
@@ -734,7 +734,7 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
734
734
|
background-color: var(--wui-color-gray-glass-005);
|
|
735
735
|
}
|
|
736
736
|
`;var bt=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let Te=class extends O{constructor(){super(...arguments),this.tabIdx=void 0,this.disabled=!1,this.color="inherit"}render(){return c`
|
|
737
|
-
<button ?disabled=${this.disabled} tabindex=${
|
|
737
|
+
<button ?disabled=${this.disabled} tabindex=${E(this.tabIdx)}>
|
|
738
738
|
<slot name="iconLeft"></slot>
|
|
739
739
|
<wui-text variant="small-600" color=${this.color}>
|
|
740
740
|
<slot></slot>
|
|
@@ -1015,7 +1015,7 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
1015
1015
|
}
|
|
1016
1016
|
`;var ne=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};class F extends O{constructor(){super(),this.wallet=U.state.data?.wallet,this.connector=U.state.data?.connector,this.timeout=void 0,this.secondaryBtnIcon="refresh",this.onConnect=void 0,this.onRender=void 0,this.onAutoConnect=void 0,this.isWalletConnect=!0,this.unsubscribe=[],this.imageSrc=K.getWalletImage(this.wallet)??K.getConnectorImage(this.connector),this.name=this.wallet?.name??this.connector?.name??"Wallet",this.isRetrying=!1,this.uri=D.state.wcUri,this.error=D.state.wcError,this.ready=!1,this.showRetry=!1,this.secondaryBtnLabel="Try again",this.secondaryLabel="Accept connection request in the wallet",this.buffering=!1,this.isLoading=!1,this.isMobile=!1,this.onRetry=void 0,this.unsubscribe.push(D.subscribeKey("wcUri",e=>{this.uri=e,this.isRetrying&&this.onRetry&&(this.isRetrying=!1,this.onConnect?.())}),D.subscribeKey("wcError",e=>this.error=e),D.subscribeKey("buffering",e=>this.buffering=e)),(A.isTelegram()||A.isSafari())&&A.isIos()&&D.state.wcUri&&this.onConnect?.()}firstUpdated(){this.onAutoConnect?.(),this.showRetry=!this.onAutoConnect}disconnectedCallback(){this.unsubscribe.forEach(e=>e()),clearTimeout(this.timeout)}render(){this.onRender?.(),this.onShowRetry();const e=this.error?"Connection can be declined if a previous request is still active":this.secondaryLabel;let n=`Continue in ${this.name}`;return this.buffering&&(n="Connecting..."),this.error&&(n="Connection declined"),c`
|
|
1017
1017
|
<wui-flex
|
|
1018
|
-
data-error=${
|
|
1018
|
+
data-error=${E(this.error)}
|
|
1019
1019
|
data-retry=${this.showRetry}
|
|
1020
1020
|
flexDirection="column"
|
|
1021
1021
|
alignItems="center"
|
|
@@ -1023,7 +1023,7 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
1023
1023
|
gap="xl"
|
|
1024
1024
|
>
|
|
1025
1025
|
<wui-flex justifyContent="center" alignItems="center">
|
|
1026
|
-
<wui-wallet-image size="lg" imageSrc=${
|
|
1026
|
+
<wui-wallet-image size="lg" imageSrc=${E(this.imageSrc)}></wui-wallet-image>
|
|
1027
1027
|
|
|
1028
1028
|
${this.error?null:this.loaderTemplate()}
|
|
1029
1029
|
|
|
@@ -1069,13 +1069,13 @@ import{z as k,E as G,A as q,B as O,C as c,P as N,U as M,O as me,X as A,M as ee,R
|
|
|
1069
1069
|
`:null}
|
|
1070
1070
|
|
|
1071
1071
|
<w3m-mobile-download-links .wallet=${this.wallet}></w3m-mobile-download-links>
|
|
1072
|
-
`}onShowRetry(){this.error&&!this.showRetry&&(this.showRetry=!0,this.shadowRoot?.querySelector("wui-button")?.animate([{opacity:0},{opacity:1}],{fill:"forwards",easing:"ease"}))}onTryAgain(){this.buffering||(D.setWcError(!1),this.onRetry?(this.isRetrying=!0,this.onRetry?.()):this.onConnect?.())}loaderTemplate(){const e=Qt.state.themeVariables["--w3m-border-radius-master"],n=e?parseInt(e.replace("px",""),10):4;return c`<wui-loading-thumbnail radius=${n*9}></wui-loading-thumbnail>`}onCopyUri(){try{this.uri&&(A.copyToClopboard(this.uri),Qe.showSuccess("Link copied"))}catch{Qe.showError("Failed to copy")}}}F.styles=ki;ne([P()],F.prototype,"isRetrying",void 0);ne([P()],F.prototype,"uri",void 0);ne([P()],F.prototype,"error",void 0);ne([P()],F.prototype,"ready",void 0);ne([P()],F.prototype,"showRetry",void 0);ne([P()],F.prototype,"secondaryBtnLabel",void 0);ne([P()],F.prototype,"secondaryLabel",void 0);ne([P()],F.prototype,"buffering",void 0);ne([P()],F.prototype,"isLoading",void 0);ne([u({type:Boolean})],F.prototype,"isMobile",void 0);ne([u()],F.prototype,"onRetry",void 0);var Ni=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let xn=class extends F{constructor(){if(super(),!this.wallet)throw new Error("w3m-connecting-wc-browser: No wallet provided");this.onConnect=this.onConnectProxy.bind(this),this.onAutoConnect=this.onConnectProxy.bind(this),ee.sendEvent({type:"track",event:"SELECT_WALLET",properties:{name:this.wallet.name,platform:"browser"}})}async onConnectProxy(){try{this.error=!1;const{connectors:e}=N.state,n=e.find(i=>i.type==="ANNOUNCED"&&i.info?.rdns===this.wallet?.rdns||i.type==="INJECTED"||i.name===this.wallet?.name);if(n)await D.connectExternal(n,n.chain);else throw new Error("w3m-connecting-wc-browser: No connector found");ni.close(),ee.sendEvent({type:"track",event:"CONNECT_SUCCESS",properties:{method:"browser",name:this.wallet?.name||"Unknown"}})}catch(e){ee.sendEvent({type:"track",event:"CONNECT_ERROR",properties:{message:e?.message??"Unknown"}}),this.error=!0}}};xn=Ni([S("w3m-connecting-wc-browser")],xn);var Mi=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let Cn=class extends F{constructor(){if(super(),!this.wallet)throw new Error("w3m-connecting-wc-desktop: No wallet provided");this.onConnect=this.onConnectProxy.bind(this),this.onRender=this.onRenderProxy.bind(this),ee.sendEvent({type:"track",event:"SELECT_WALLET",properties:{name:this.wallet.name,platform:"desktop"}})}onRenderProxy(){!this.ready&&this.uri&&(this.ready=!0,this.onConnect?.())}onConnectProxy(){if(this.wallet?.desktop_link&&this.uri)try{this.error=!1;const{desktop_link:e,name:n}=this.wallet,{redirect:i,href:o}=A.formatNativeUrl(e,this.uri);D.setWcLinking({name:n,href:o}),D.setRecentWallet(this.wallet),A.openHref(i,"_blank")}catch{this.error=!0}}};Cn=Mi([S("w3m-connecting-wc-desktop")],Cn);var Ui=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let Rn=class extends F{constructor(){if(super(),this.btnLabelTimeout=void 0,this.labelTimeout=void 0,this.onRender=()=>{!this.ready&&this.uri&&(this.ready=!0,this.onConnect?.())},this.onConnect=()=>{if(this.wallet?.mobile_link&&this.uri)try{this.error=!1;const{mobile_link:e,name:n}=this.wallet,{redirect:i,href:o}=A.formatNativeUrl(e,this.uri);D.setWcLinking({name:n,href:o}),D.setRecentWallet(this.wallet);const t=A.isIframe()?"_top":"_self";A.openHref(i,t),clearTimeout(this.labelTimeout),this.secondaryLabel=Oe.CONNECT_LABELS.MOBILE}catch(e){ee.sendEvent({type:"track",event:"CONNECT_PROXY_ERROR",properties:{message:e instanceof Error?e.message:"Error parsing the deeplink",uri:this.uri,mobile_link:this.wallet.mobile_link,name:this.wallet.name}}),this.error=!0}},!this.wallet)throw new Error("w3m-connecting-wc-mobile: No wallet provided");this.secondaryBtnLabel=void 0,this.secondaryLabel=Oe.CONNECT_LABELS.MOBILE,document.addEventListener("visibilitychange",this.onBuffering.bind(this)),ee.sendEvent({type:"track",event:"SELECT_WALLET",properties:{name:this.wallet.name,platform:"mobile"}}),this.btnLabelTimeout=setTimeout(()=>{this.secondaryBtnLabel="Try again",this.secondaryLabel=Oe.CONNECT_LABELS.MOBILE},Oe.FIVE_SEC_MS),this.labelTimeout=setTimeout(()=>{this.secondaryLabel="Hold tight... it's taking longer than expected"},Oe.THREE_SEC_MS)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("visibilitychange",this.onBuffering.bind(this)),clearTimeout(this.btnLabelTimeout),clearTimeout(this.labelTimeout)}onBuffering(){const e=A.isIos();document?.visibilityState==="visible"&&!this.error&&e&&(D.setBuffering(!0),setTimeout(()=>{D.setBuffering(!1)},5e3))}onTryAgain(){this.buffering||(D.setWcError(!1),this.onConnect())}};Rn=Ui([S("w3m-connecting-wc-mobile")],Rn);var _e={},It,$n;function qi(){return $n||($n=1,It=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),It}var Wt={},we={},En;function Ee(){if(En)return we;En=1;let r;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return we.getSymbolSize=function(i){if(!i)throw new Error('"version" cannot be null or undefined');if(i<1||i>40)throw new Error('"version" should be in range from 1 to 40');return i*4+17},we.getSymbolTotalCodewords=function(i){return e[i]},we.getBCHDigit=function(n){let i=0;for(;n!==0;)i++,n>>>=1;return i},we.setToSJISFunction=function(i){if(typeof i!="function")throw new Error('"toSJISFunc" is not a valid function.');r=i},we.isKanjiModeEnabled=function(){return typeof r<"u"},we.toSJIS=function(i){return r(i)},we}var _t={},In;function un(){return In||(In=1,(function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function e(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+n)}}r.isValid=function(i){return i&&typeof i.bit<"u"&&i.bit>=0&&i.bit<4},r.from=function(i,o){if(r.isValid(i))return i;try{return e(i)}catch{return o}}})(_t)),_t}var St,Wn;function Fi(){if(Wn)return St;Wn=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(e){const n=Math.floor(e/8);return(this.buffer[n]>>>7-e%8&1)===1},put:function(e,n){for(let i=0;i<n;i++)this.putBit((e>>>n-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),e&&(this.buffer[n]|=128>>>this.length%8),this.length++}},St=r,St}var Tt,_n;function Vi(){if(_n)return Tt;_n=1;function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return r.prototype.set=function(e,n,i,o){const t=e*this.size+n;this.data[t]=i,o&&(this.reservedBit[t]=!0)},r.prototype.get=function(e,n){return this.data[e*this.size+n]},r.prototype.xor=function(e,n,i){this.data[e*this.size+n]^=i},r.prototype.isReserved=function(e,n){return this.reservedBit[e*this.size+n]},Tt=r,Tt}var Bt={},Sn;function Ki(){return Sn||(Sn=1,(function(r){const e=Ee().getSymbolSize;r.getRowColCoords=function(i){if(i===1)return[];const o=Math.floor(i/7)+2,t=e(i),a=t===145?26:Math.ceil((t-13)/(2*o-2))*2,s=[t-7];for(let l=1;l<o-1;l++)s[l]=s[l-1]-a;return s.push(6),s.reverse()},r.getPositions=function(i){const o=[],t=r.getRowColCoords(i),a=t.length;for(let s=0;s<a;s++)for(let l=0;l<a;l++)s===0&&l===0||s===0&&l===a-1||s===a-1&&l===0||o.push([t[s],t[l]]);return o}})(Bt)),Bt}var Pt={},Tn;function Hi(){if(Tn)return Pt;Tn=1;const r=Ee().getSymbolSize,e=7;return Pt.getPositions=function(i){const o=r(i);return[[0,0],[o-e,0],[0,o-e]]},Pt}var Lt={},Bn;function Gi(){return Bn||(Bn=1,(function(r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};r.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},r.from=function(o){return r.isValid(o)?parseInt(o,10):void 0},r.getPenaltyN1=function(o){const t=o.size;let a=0,s=0,l=0,d=null,p=null;for(let w=0;w<t;w++){s=l=0,d=p=null;for(let C=0;C<t;C++){let g=o.get(w,C);g===d?s++:(s>=5&&(a+=e.N1+(s-5)),d=g,s=1),g=o.get(C,w),g===p?l++:(l>=5&&(a+=e.N1+(l-5)),p=g,l=1)}s>=5&&(a+=e.N1+(s-5)),l>=5&&(a+=e.N1+(l-5))}return a},r.getPenaltyN2=function(o){const t=o.size;let a=0;for(let s=0;s<t-1;s++)for(let l=0;l<t-1;l++){const d=o.get(s,l)+o.get(s,l+1)+o.get(s+1,l)+o.get(s+1,l+1);(d===4||d===0)&&a++}return a*e.N2},r.getPenaltyN3=function(o){const t=o.size;let a=0,s=0,l=0;for(let d=0;d<t;d++){s=l=0;for(let p=0;p<t;p++)s=s<<1&2047|o.get(d,p),p>=10&&(s===1488||s===93)&&a++,l=l<<1&2047|o.get(p,d),p>=10&&(l===1488||l===93)&&a++}return a*e.N3},r.getPenaltyN4=function(o){let t=0;const a=o.data.length;for(let l=0;l<a;l++)t+=o.data[l];return Math.abs(Math.ceil(t*100/a/5)-10)*e.N4};function n(i,o,t){switch(i){case r.Patterns.PATTERN000:return(o+t)%2===0;case r.Patterns.PATTERN001:return o%2===0;case r.Patterns.PATTERN010:return t%3===0;case r.Patterns.PATTERN011:return(o+t)%3===0;case r.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(t/3))%2===0;case r.Patterns.PATTERN101:return o*t%2+o*t%3===0;case r.Patterns.PATTERN110:return(o*t%2+o*t%3)%2===0;case r.Patterns.PATTERN111:return(o*t%3+(o+t)%2)%2===0;default:throw new Error("bad maskPattern:"+i)}}r.applyMask=function(o,t){const a=t.size;for(let s=0;s<a;s++)for(let l=0;l<a;l++)t.isReserved(l,s)||t.xor(l,s,n(o,l,s))},r.getBestMask=function(o,t){const a=Object.keys(r.Patterns).length;let s=0,l=1/0;for(let d=0;d<a;d++){t(d),r.applyMask(d,o);const p=r.getPenaltyN1(o)+r.getPenaltyN2(o)+r.getPenaltyN3(o)+r.getPenaltyN4(o);r.applyMask(d,o),p<l&&(l=p,s=d)}return s}})(Lt)),Lt}var Ye={},Pn;function ai(){if(Pn)return Ye;Pn=1;const r=un(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Ye.getBlocksCount=function(o,t){switch(t){case r.L:return e[(o-1)*4+0];case r.M:return e[(o-1)*4+1];case r.Q:return e[(o-1)*4+2];case r.H:return e[(o-1)*4+3];default:return}},Ye.getTotalCodewordsCount=function(o,t){switch(t){case r.L:return n[(o-1)*4+0];case r.M:return n[(o-1)*4+1];case r.Q:return n[(o-1)*4+2];case r.H:return n[(o-1)*4+3];default:return}},Ye}var Ot={},Ae={},Ln;function Yi(){if(Ln)return Ae;Ln=1;const r=new Uint8Array(512),e=new Uint8Array(256);return(function(){let i=1;for(let o=0;o<255;o++)r[o]=i,e[i]=o,i<<=1,i&256&&(i^=285);for(let o=255;o<512;o++)r[o]=r[o-255]})(),Ae.log=function(i){if(i<1)throw new Error("log("+i+")");return e[i]},Ae.exp=function(i){return r[i]},Ae.mul=function(i,o){return i===0||o===0?0:r[e[i]+e[o]]},Ae}var On;function Ji(){return On||(On=1,(function(r){const e=Yi();r.mul=function(i,o){const t=new Uint8Array(i.length+o.length-1);for(let a=0;a<i.length;a++)for(let s=0;s<o.length;s++)t[a+s]^=e.mul(i[a],o[s]);return t},r.mod=function(i,o){let t=new Uint8Array(i);for(;t.length-o.length>=0;){const a=t[0];for(let l=0;l<o.length;l++)t[l]^=e.mul(o[l],a);let s=0;for(;s<t.length&&t[s]===0;)s++;t=t.slice(s)}return t},r.generateECPolynomial=function(i){let o=new Uint8Array([1]);for(let t=0;t<i;t++)o=r.mul(o,new Uint8Array([1,e.exp(t)]));return o}})(Ot)),Ot}var At,An;function Qi(){if(An)return At;An=1;const r=Ji();function e(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(i){this.degree=i,this.genPoly=r.generateECPolynomial(this.degree)},e.prototype.encode=function(i){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(i.length+this.degree);o.set(i);const t=r.mod(o,this.genPoly),a=this.degree-t.length;if(a>0){const s=new Uint8Array(this.degree);return s.set(t,a),s}return t},At=e,At}var jt={},Dt={},zt={},jn;function si(){return jn||(jn=1,zt.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),zt}var oe={},Dn;function li(){if(Dn)return oe;Dn=1;const r="[0-9]+",e="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
1073
|
-
]))+`;oe.KANJI=new RegExp(n,"g"),oe.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),oe.BYTE=new RegExp(i,"g"),oe.NUMERIC=new RegExp(r,"g"),oe.ALPHANUMERIC=new RegExp(e,"g");const o=new RegExp("^"+n+"$"),t=new RegExp("^"+r+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return oe.testKanji=function(l){return o.test(l)},oe.testNumeric=function(l){return t.test(l)},oe.testAlphanumeric=function(l){return a.test(l)},oe}var zn;function
|
|
1074
|
-
Make sure your charset is UTF-8`);t=(t>>>8&255)*192+(t&255),i.put(t,13)}},Vt=n,Vt}var Kn;function ro(){return Kn||(Kn=1,(function(r){const e=
|
|
1075
|
-
Suggested mode is: `+e.toString(h));switch(b===e.KANJI&&!s.isKanjiModeEnabled()&&(b=e.BYTE),b){case e.NUMERIC:return new n(m);case e.ALPHANUMERIC:return new i(m);case e.KANJI:return new t(m);case e.BYTE:return new o(m)}}r.fromArray=function(f){return f.reduce(function(b,h){return typeof h=="string"?b.push(T(h,null)):h.data&&b.push(T(h.data,h.mode)),b},[])},r.fromString=function(f,b){const h=w(f,s.isKanjiModeEnabled()),z=L(h),x=y(z,b),W=l.find_path(x.map,"start","end"),
|
|
1072
|
+
`}onShowRetry(){this.error&&!this.showRetry&&(this.showRetry=!0,this.shadowRoot?.querySelector("wui-button")?.animate([{opacity:0},{opacity:1}],{fill:"forwards",easing:"ease"}))}onTryAgain(){this.buffering||(D.setWcError(!1),this.onRetry?(this.isRetrying=!0,this.onRetry?.()):this.onConnect?.())}loaderTemplate(){const e=Qt.state.themeVariables["--w3m-border-radius-master"],n=e?parseInt(e.replace("px",""),10):4;return c`<wui-loading-thumbnail radius=${n*9}></wui-loading-thumbnail>`}onCopyUri(){try{this.uri&&(A.copyToClopboard(this.uri),Qe.showSuccess("Link copied"))}catch{Qe.showError("Failed to copy")}}}F.styles=ki;ne([P()],F.prototype,"isRetrying",void 0);ne([P()],F.prototype,"uri",void 0);ne([P()],F.prototype,"error",void 0);ne([P()],F.prototype,"ready",void 0);ne([P()],F.prototype,"showRetry",void 0);ne([P()],F.prototype,"secondaryBtnLabel",void 0);ne([P()],F.prototype,"secondaryLabel",void 0);ne([P()],F.prototype,"buffering",void 0);ne([P()],F.prototype,"isLoading",void 0);ne([u({type:Boolean})],F.prototype,"isMobile",void 0);ne([u()],F.prototype,"onRetry",void 0);var Ni=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let xn=class extends F{constructor(){if(super(),!this.wallet)throw new Error("w3m-connecting-wc-browser: No wallet provided");this.onConnect=this.onConnectProxy.bind(this),this.onAutoConnect=this.onConnectProxy.bind(this),ee.sendEvent({type:"track",event:"SELECT_WALLET",properties:{name:this.wallet.name,platform:"browser"}})}async onConnectProxy(){try{this.error=!1;const{connectors:e}=N.state,n=e.find(i=>i.type==="ANNOUNCED"&&i.info?.rdns===this.wallet?.rdns||i.type==="INJECTED"||i.name===this.wallet?.name);if(n)await D.connectExternal(n,n.chain);else throw new Error("w3m-connecting-wc-browser: No connector found");ni.close(),ee.sendEvent({type:"track",event:"CONNECT_SUCCESS",properties:{method:"browser",name:this.wallet?.name||"Unknown"}})}catch(e){ee.sendEvent({type:"track",event:"CONNECT_ERROR",properties:{message:e?.message??"Unknown"}}),this.error=!0}}};xn=Ni([S("w3m-connecting-wc-browser")],xn);var Mi=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let Cn=class extends F{constructor(){if(super(),!this.wallet)throw new Error("w3m-connecting-wc-desktop: No wallet provided");this.onConnect=this.onConnectProxy.bind(this),this.onRender=this.onRenderProxy.bind(this),ee.sendEvent({type:"track",event:"SELECT_WALLET",properties:{name:this.wallet.name,platform:"desktop"}})}onRenderProxy(){!this.ready&&this.uri&&(this.ready=!0,this.onConnect?.())}onConnectProxy(){if(this.wallet?.desktop_link&&this.uri)try{this.error=!1;const{desktop_link:e,name:n}=this.wallet,{redirect:i,href:o}=A.formatNativeUrl(e,this.uri);D.setWcLinking({name:n,href:o}),D.setRecentWallet(this.wallet),A.openHref(i,"_blank")}catch{this.error=!0}}};Cn=Mi([S("w3m-connecting-wc-desktop")],Cn);var Ui=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let Rn=class extends F{constructor(){if(super(),this.btnLabelTimeout=void 0,this.labelTimeout=void 0,this.onRender=()=>{!this.ready&&this.uri&&(this.ready=!0,this.onConnect?.())},this.onConnect=()=>{if(this.wallet?.mobile_link&&this.uri)try{this.error=!1;const{mobile_link:e,name:n}=this.wallet,{redirect:i,href:o}=A.formatNativeUrl(e,this.uri);D.setWcLinking({name:n,href:o}),D.setRecentWallet(this.wallet);const t=A.isIframe()?"_top":"_self";A.openHref(i,t),clearTimeout(this.labelTimeout),this.secondaryLabel=Oe.CONNECT_LABELS.MOBILE}catch(e){ee.sendEvent({type:"track",event:"CONNECT_PROXY_ERROR",properties:{message:e instanceof Error?e.message:"Error parsing the deeplink",uri:this.uri,mobile_link:this.wallet.mobile_link,name:this.wallet.name}}),this.error=!0}},!this.wallet)throw new Error("w3m-connecting-wc-mobile: No wallet provided");this.secondaryBtnLabel=void 0,this.secondaryLabel=Oe.CONNECT_LABELS.MOBILE,document.addEventListener("visibilitychange",this.onBuffering.bind(this)),ee.sendEvent({type:"track",event:"SELECT_WALLET",properties:{name:this.wallet.name,platform:"mobile"}}),this.btnLabelTimeout=setTimeout(()=>{this.secondaryBtnLabel="Try again",this.secondaryLabel=Oe.CONNECT_LABELS.MOBILE},Oe.FIVE_SEC_MS),this.labelTimeout=setTimeout(()=>{this.secondaryLabel="Hold tight... it's taking longer than expected"},Oe.THREE_SEC_MS)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("visibilitychange",this.onBuffering.bind(this)),clearTimeout(this.btnLabelTimeout),clearTimeout(this.labelTimeout)}onBuffering(){const e=A.isIos();document?.visibilityState==="visible"&&!this.error&&e&&(D.setBuffering(!0),setTimeout(()=>{D.setBuffering(!1)},5e3))}onTryAgain(){this.buffering||(D.setWcError(!1),this.onConnect())}};Rn=Ui([S("w3m-connecting-wc-mobile")],Rn);var _e={},Et,$n;function qi(){return $n||($n=1,Et=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Et}var Wt={},we={},In;function Ie(){if(In)return we;In=1;let r;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return we.getSymbolSize=function(i){if(!i)throw new Error('"version" cannot be null or undefined');if(i<1||i>40)throw new Error('"version" should be in range from 1 to 40');return i*4+17},we.getSymbolTotalCodewords=function(i){return e[i]},we.getBCHDigit=function(n){let i=0;for(;n!==0;)i++,n>>>=1;return i},we.setToSJISFunction=function(i){if(typeof i!="function")throw new Error('"toSJISFunc" is not a valid function.');r=i},we.isKanjiModeEnabled=function(){return typeof r<"u"},we.toSJIS=function(i){return r(i)},we}var _t={},En;function un(){return En||(En=1,(function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function e(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+n)}}r.isValid=function(i){return i&&typeof i.bit<"u"&&i.bit>=0&&i.bit<4},r.from=function(i,o){if(r.isValid(i))return i;try{return e(i)}catch{return o}}})(_t)),_t}var St,Wn;function Fi(){if(Wn)return St;Wn=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(e){const n=Math.floor(e/8);return(this.buffer[n]>>>7-e%8&1)===1},put:function(e,n){for(let i=0;i<n;i++)this.putBit((e>>>n-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),e&&(this.buffer[n]|=128>>>this.length%8),this.length++}},St=r,St}var Tt,_n;function Vi(){if(_n)return Tt;_n=1;function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return r.prototype.set=function(e,n,i,o){const t=e*this.size+n;this.data[t]=i,o&&(this.reservedBit[t]=!0)},r.prototype.get=function(e,n){return this.data[e*this.size+n]},r.prototype.xor=function(e,n,i){this.data[e*this.size+n]^=i},r.prototype.isReserved=function(e,n){return this.reservedBit[e*this.size+n]},Tt=r,Tt}var Bt={},Sn;function Ki(){return Sn||(Sn=1,(function(r){const e=Ie().getSymbolSize;r.getRowColCoords=function(i){if(i===1)return[];const o=Math.floor(i/7)+2,t=e(i),a=t===145?26:Math.ceil((t-13)/(2*o-2))*2,s=[t-7];for(let l=1;l<o-1;l++)s[l]=s[l-1]-a;return s.push(6),s.reverse()},r.getPositions=function(i){const o=[],t=r.getRowColCoords(i),a=t.length;for(let s=0;s<a;s++)for(let l=0;l<a;l++)s===0&&l===0||s===0&&l===a-1||s===a-1&&l===0||o.push([t[s],t[l]]);return o}})(Bt)),Bt}var Pt={},Tn;function Hi(){if(Tn)return Pt;Tn=1;const r=Ie().getSymbolSize,e=7;return Pt.getPositions=function(i){const o=r(i);return[[0,0],[o-e,0],[0,o-e]]},Pt}var Lt={},Bn;function Gi(){return Bn||(Bn=1,(function(r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};r.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},r.from=function(o){return r.isValid(o)?parseInt(o,10):void 0},r.getPenaltyN1=function(o){const t=o.size;let a=0,s=0,l=0,d=null,p=null;for(let w=0;w<t;w++){s=l=0,d=p=null;for(let C=0;C<t;C++){let g=o.get(w,C);g===d?s++:(s>=5&&(a+=e.N1+(s-5)),d=g,s=1),g=o.get(C,w),g===p?l++:(l>=5&&(a+=e.N1+(l-5)),p=g,l=1)}s>=5&&(a+=e.N1+(s-5)),l>=5&&(a+=e.N1+(l-5))}return a},r.getPenaltyN2=function(o){const t=o.size;let a=0;for(let s=0;s<t-1;s++)for(let l=0;l<t-1;l++){const d=o.get(s,l)+o.get(s,l+1)+o.get(s+1,l)+o.get(s+1,l+1);(d===4||d===0)&&a++}return a*e.N2},r.getPenaltyN3=function(o){const t=o.size;let a=0,s=0,l=0;for(let d=0;d<t;d++){s=l=0;for(let p=0;p<t;p++)s=s<<1&2047|o.get(d,p),p>=10&&(s===1488||s===93)&&a++,l=l<<1&2047|o.get(p,d),p>=10&&(l===1488||l===93)&&a++}return a*e.N3},r.getPenaltyN4=function(o){let t=0;const a=o.data.length;for(let l=0;l<a;l++)t+=o.data[l];return Math.abs(Math.ceil(t*100/a/5)-10)*e.N4};function n(i,o,t){switch(i){case r.Patterns.PATTERN000:return(o+t)%2===0;case r.Patterns.PATTERN001:return o%2===0;case r.Patterns.PATTERN010:return t%3===0;case r.Patterns.PATTERN011:return(o+t)%3===0;case r.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(t/3))%2===0;case r.Patterns.PATTERN101:return o*t%2+o*t%3===0;case r.Patterns.PATTERN110:return(o*t%2+o*t%3)%2===0;case r.Patterns.PATTERN111:return(o*t%3+(o+t)%2)%2===0;default:throw new Error("bad maskPattern:"+i)}}r.applyMask=function(o,t){const a=t.size;for(let s=0;s<a;s++)for(let l=0;l<a;l++)t.isReserved(l,s)||t.xor(l,s,n(o,l,s))},r.getBestMask=function(o,t){const a=Object.keys(r.Patterns).length;let s=0,l=1/0;for(let d=0;d<a;d++){t(d),r.applyMask(d,o);const p=r.getPenaltyN1(o)+r.getPenaltyN2(o)+r.getPenaltyN3(o)+r.getPenaltyN4(o);r.applyMask(d,o),p<l&&(l=p,s=d)}return s}})(Lt)),Lt}var Ye={},Pn;function ai(){if(Pn)return Ye;Pn=1;const r=un(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Ye.getBlocksCount=function(o,t){switch(t){case r.L:return e[(o-1)*4+0];case r.M:return e[(o-1)*4+1];case r.Q:return e[(o-1)*4+2];case r.H:return e[(o-1)*4+3];default:return}},Ye.getTotalCodewordsCount=function(o,t){switch(t){case r.L:return n[(o-1)*4+0];case r.M:return n[(o-1)*4+1];case r.Q:return n[(o-1)*4+2];case r.H:return n[(o-1)*4+3];default:return}},Ye}var Ot={},Ae={},Ln;function Yi(){if(Ln)return Ae;Ln=1;const r=new Uint8Array(512),e=new Uint8Array(256);return(function(){let i=1;for(let o=0;o<255;o++)r[o]=i,e[i]=o,i<<=1,i&256&&(i^=285);for(let o=255;o<512;o++)r[o]=r[o-255]})(),Ae.log=function(i){if(i<1)throw new Error("log("+i+")");return e[i]},Ae.exp=function(i){return r[i]},Ae.mul=function(i,o){return i===0||o===0?0:r[e[i]+e[o]]},Ae}var On;function Ji(){return On||(On=1,(function(r){const e=Yi();r.mul=function(i,o){const t=new Uint8Array(i.length+o.length-1);for(let a=0;a<i.length;a++)for(let s=0;s<o.length;s++)t[a+s]^=e.mul(i[a],o[s]);return t},r.mod=function(i,o){let t=new Uint8Array(i);for(;t.length-o.length>=0;){const a=t[0];for(let l=0;l<o.length;l++)t[l]^=e.mul(o[l],a);let s=0;for(;s<t.length&&t[s]===0;)s++;t=t.slice(s)}return t},r.generateECPolynomial=function(i){let o=new Uint8Array([1]);for(let t=0;t<i;t++)o=r.mul(o,new Uint8Array([1,e.exp(t)]));return o}})(Ot)),Ot}var At,An;function Qi(){if(An)return At;An=1;const r=Ji();function e(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(i){this.degree=i,this.genPoly=r.generateECPolynomial(this.degree)},e.prototype.encode=function(i){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(i.length+this.degree);o.set(i);const t=r.mod(o,this.genPoly),a=this.degree-t.length;if(a>0){const s=new Uint8Array(this.degree);return s.set(t,a),s}return t},At=e,At}var jt={},Dt={},zt={},jn;function si(){return jn||(jn=1,zt.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),zt}var oe={},Dn;function li(){if(Dn)return oe;Dn=1;const r="[0-9]+",e="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
1073
|
+
]))+`;oe.KANJI=new RegExp(n,"g"),oe.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),oe.BYTE=new RegExp(i,"g"),oe.NUMERIC=new RegExp(r,"g"),oe.ALPHANUMERIC=new RegExp(e,"g");const o=new RegExp("^"+n+"$"),t=new RegExp("^"+r+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return oe.testKanji=function(l){return o.test(l)},oe.testNumeric=function(l){return t.test(l)},oe.testAlphanumeric=function(l){return a.test(l)},oe}var zn;function Ee(){return zn||(zn=1,(function(r){const e=si(),n=li();r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(t,a){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!e.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?t.ccBits[0]:a<27?t.ccBits[1]:t.ccBits[2]},r.getBestModeForData=function(t){return n.testNumeric(t)?r.NUMERIC:n.testAlphanumeric(t)?r.ALPHANUMERIC:n.testKanji(t)?r.KANJI:r.BYTE},r.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},r.isValid=function(t){return t&&t.bit&&t.ccBits};function i(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+o)}}r.from=function(t,a){if(r.isValid(t))return t;try{return i(t)}catch{return a}}})(Dt)),Dt}var kn;function Xi(){return kn||(kn=1,(function(r){const e=Ie(),n=ai(),i=un(),o=Ee(),t=si(),a=7973,s=e.getBCHDigit(a);function l(C,g,L){for(let y=1;y<=40;y++)if(g<=r.getCapacity(y,L,C))return y}function d(C,g){return o.getCharCountIndicator(C,g)+4}function p(C,g){let L=0;return C.forEach(function(y){const T=d(y.mode,g);L+=T+y.getBitsLength()}),L}function w(C,g){for(let L=1;L<=40;L++)if(p(C,L)<=r.getCapacity(L,g,o.MIXED))return L}r.from=function(g,L){return t.isValid(g)?parseInt(g,10):L},r.getCapacity=function(g,L,y){if(!t.isValid(g))throw new Error("Invalid QR Code version");typeof y>"u"&&(y=o.BYTE);const T=e.getSymbolTotalCodewords(g),m=n.getTotalCodewordsCount(g,L),f=(T-m)*8;if(y===o.MIXED)return f;const b=f-d(y,g);switch(y){case o.NUMERIC:return Math.floor(b/10*3);case o.ALPHANUMERIC:return Math.floor(b/11*2);case o.KANJI:return Math.floor(b/13);case o.BYTE:default:return Math.floor(b/8)}},r.getBestVersionForData=function(g,L){let y;const T=i.from(L,i.M);if(Array.isArray(g)){if(g.length>1)return w(g,T);if(g.length===0)return 1;y=g[0]}else y=g;return l(y.mode,y.getLength(),T)},r.getEncodedBits=function(g){if(!t.isValid(g)||g<7)throw new Error("Invalid QR Code version");let L=g<<12;for(;e.getBCHDigit(L)-s>=0;)L^=a<<e.getBCHDigit(L)-s;return g<<12|L}})(jt)),jt}var kt={},Nn;function Zi(){if(Nn)return kt;Nn=1;const r=Ie(),e=1335,n=21522,i=r.getBCHDigit(e);return kt.getEncodedBits=function(t,a){const s=t.bit<<3|a;let l=s<<10;for(;r.getBCHDigit(l)-i>=0;)l^=e<<r.getBCHDigit(l)-i;return(s<<10|l)^n},kt}var Nt={},Mt,Mn;function eo(){if(Mn)return Mt;Mn=1;const r=Ee();function e(n){this.mode=r.NUMERIC,this.data=n.toString()}return e.getBitsLength=function(i){return 10*Math.floor(i/3)+(i%3?i%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(i){let o,t,a;for(o=0;o+3<=this.data.length;o+=3)t=this.data.substr(o,3),a=parseInt(t,10),i.put(a,10);const s=this.data.length-o;s>0&&(t=this.data.substr(o),a=parseInt(t,10),i.put(a,s*3+1))},Mt=e,Mt}var Ut,Un;function to(){if(Un)return Ut;Un=1;const r=Ee(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(i){this.mode=r.ALPHANUMERIC,this.data=i}return n.getBitsLength=function(o){return 11*Math.floor(o/2)+6*(o%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(o){let t;for(t=0;t+2<=this.data.length;t+=2){let a=e.indexOf(this.data[t])*45;a+=e.indexOf(this.data[t+1]),o.put(a,11)}this.data.length%2&&o.put(e.indexOf(this.data[t]),6)},Ut=n,Ut}var qt,qn;function no(){return qn||(qn=1,qt=function(e){for(var n=[],i=e.length,o=0;o<i;o++){var t=e.charCodeAt(o);if(t>=55296&&t<=56319&&i>o+1){var a=e.charCodeAt(o+1);a>=56320&&a<=57343&&(t=(t-55296)*1024+a-56320+65536,o+=1)}if(t<128){n.push(t);continue}if(t<2048){n.push(t>>6|192),n.push(t&63|128);continue}if(t<55296||t>=57344&&t<65536){n.push(t>>12|224),n.push(t>>6&63|128),n.push(t&63|128);continue}if(t>=65536&&t<=1114111){n.push(t>>18|240),n.push(t>>12&63|128),n.push(t>>6&63|128),n.push(t&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer}),qt}var Ft,Fn;function io(){if(Fn)return Ft;Fn=1;const r=no(),e=Ee();function n(i){this.mode=e.BYTE,typeof i=="string"&&(i=r(i)),this.data=new Uint8Array(i)}return n.getBitsLength=function(o){return o*8},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(i){for(let o=0,t=this.data.length;o<t;o++)i.put(this.data[o],8)},Ft=n,Ft}var Vt,Vn;function oo(){if(Vn)return Vt;Vn=1;const r=Ee(),e=Ie();function n(i){this.mode=r.KANJI,this.data=i}return n.getBitsLength=function(o){return o*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(i){let o;for(o=0;o<this.data.length;o++){let t=e.toSJIS(this.data[o]);if(t>=33088&&t<=40956)t-=33088;else if(t>=57408&&t<=60351)t-=49472;else throw new Error("Invalid SJIS character: "+this.data[o]+`
|
|
1074
|
+
Make sure your charset is UTF-8`);t=(t>>>8&255)*192+(t&255),i.put(t,13)}},Vt=n,Vt}var Kn;function ro(){return Kn||(Kn=1,(function(r){const e=Ee(),n=eo(),i=to(),o=io(),t=oo(),a=li(),s=Ie(),l=Ii();function d(m){return unescape(encodeURIComponent(m)).length}function p(m,f,b){const h=[];let z;for(;(z=m.exec(b))!==null;)h.push({data:z[0],index:z.index,mode:f,length:z[0].length});return h}function w(m){const f=p(a.NUMERIC,e.NUMERIC,m),b=p(a.ALPHANUMERIC,e.ALPHANUMERIC,m);let h,z;return s.isKanjiModeEnabled()?(h=p(a.BYTE,e.BYTE,m),z=p(a.KANJI,e.KANJI,m)):(h=p(a.BYTE_KANJI,e.BYTE,m),z=[]),f.concat(b,h,z).sort(function(W,I){return W.index-I.index}).map(function(W){return{data:W.data,mode:W.mode,length:W.length}})}function C(m,f){switch(f){case e.NUMERIC:return n.getBitsLength(m);case e.ALPHANUMERIC:return i.getBitsLength(m);case e.KANJI:return t.getBitsLength(m);case e.BYTE:return o.getBitsLength(m)}}function g(m){return m.reduce(function(f,b){const h=f.length-1>=0?f[f.length-1]:null;return h&&h.mode===b.mode?(f[f.length-1].data+=b.data,f):(f.push(b),f)},[])}function L(m){const f=[];for(let b=0;b<m.length;b++){const h=m[b];switch(h.mode){case e.NUMERIC:f.push([h,{data:h.data,mode:e.ALPHANUMERIC,length:h.length},{data:h.data,mode:e.BYTE,length:h.length}]);break;case e.ALPHANUMERIC:f.push([h,{data:h.data,mode:e.BYTE,length:h.length}]);break;case e.KANJI:f.push([h,{data:h.data,mode:e.BYTE,length:d(h.data)}]);break;case e.BYTE:f.push([{data:h.data,mode:e.BYTE,length:d(h.data)}])}}return f}function y(m,f){const b={},h={start:{}};let z=["start"];for(let x=0;x<m.length;x++){const W=m[x],I=[];for(let v=0;v<W.length;v++){const B=W[v],R=""+x+v;I.push(R),b[R]={node:B,lastCount:0},h[R]={};for(let _=0;_<z.length;_++){const $=z[_];b[$]&&b[$].node.mode===B.mode?(h[$][R]=C(b[$].lastCount+B.length,B.mode)-C(b[$].lastCount,B.mode),b[$].lastCount+=B.length):(b[$]&&(b[$].lastCount=B.length),h[$][R]=C(B.length,B.mode)+4+e.getCharCountIndicator(B.mode,f))}}z=I}for(let x=0;x<z.length;x++)h[z[x]].end=0;return{map:h,table:b}}function T(m,f){let b;const h=e.getBestModeForData(m);if(b=e.from(f,h),b!==e.BYTE&&b.bit<h.bit)throw new Error('"'+m+'" cannot be encoded with mode '+e.toString(b)+`.
|
|
1075
|
+
Suggested mode is: `+e.toString(h));switch(b===e.KANJI&&!s.isKanjiModeEnabled()&&(b=e.BYTE),b){case e.NUMERIC:return new n(m);case e.ALPHANUMERIC:return new i(m);case e.KANJI:return new t(m);case e.BYTE:return new o(m)}}r.fromArray=function(f){return f.reduce(function(b,h){return typeof h=="string"?b.push(T(h,null)):h.data&&b.push(T(h.data,h.mode)),b},[])},r.fromString=function(f,b){const h=w(f,s.isKanjiModeEnabled()),z=L(h),x=y(z,b),W=l.find_path(x.map,"start","end"),I=[];for(let v=1;v<W.length-1;v++)I.push(x.table[W[v]].node);return r.fromArray(g(I))},r.rawSplit=function(f){return r.fromArray(w(f,s.isKanjiModeEnabled()))}})(Nt)),Nt}var Hn;function ao(){if(Hn)return Wt;Hn=1;const r=Ie(),e=un(),n=Fi(),i=Vi(),o=Ki(),t=Hi(),a=Gi(),s=ai(),l=Qi(),d=Xi(),p=Zi(),w=Ee(),C=ro();function g(x,W){const I=x.size,v=t.getPositions(W);for(let B=0;B<v.length;B++){const R=v[B][0],_=v[B][1];for(let $=-1;$<=7;$++)if(!(R+$<=-1||I<=R+$))for(let j=-1;j<=7;j++)_+j<=-1||I<=_+j||($>=0&&$<=6&&(j===0||j===6)||j>=0&&j<=6&&($===0||$===6)||$>=2&&$<=4&&j>=2&&j<=4?x.set(R+$,_+j,!0,!0):x.set(R+$,_+j,!1,!0))}}function L(x){const W=x.size;for(let I=8;I<W-8;I++){const v=I%2===0;x.set(I,6,v,!0),x.set(6,I,v,!0)}}function y(x,W){const I=o.getPositions(W);for(let v=0;v<I.length;v++){const B=I[v][0],R=I[v][1];for(let _=-2;_<=2;_++)for(let $=-2;$<=2;$++)_===-2||_===2||$===-2||$===2||_===0&&$===0?x.set(B+_,R+$,!0,!0):x.set(B+_,R+$,!1,!0)}}function T(x,W){const I=x.size,v=d.getEncodedBits(W);let B,R,_;for(let $=0;$<18;$++)B=Math.floor($/3),R=$%3+I-8-3,_=(v>>$&1)===1,x.set(B,R,_,!0),x.set(R,B,_,!0)}function m(x,W,I){const v=x.size,B=p.getEncodedBits(W,I);let R,_;for(R=0;R<15;R++)_=(B>>R&1)===1,R<6?x.set(R,8,_,!0):R<8?x.set(R+1,8,_,!0):x.set(v-15+R,8,_,!0),R<8?x.set(8,v-R-1,_,!0):R<9?x.set(8,15-R-1+1,_,!0):x.set(8,15-R-1,_,!0);x.set(v-8,8,1,!0)}function f(x,W){const I=x.size;let v=-1,B=I-1,R=7,_=0;for(let $=I-1;$>0;$-=2)for($===6&&$--;;){for(let j=0;j<2;j++)if(!x.isReserved(B,$-j)){let ge=!1;_<W.length&&(ge=(W[_]>>>R&1)===1),x.set(B,$-j,ge),R--,R===-1&&(_++,R=7)}if(B+=v,B<0||I<=B){B-=v,v=-v;break}}}function b(x,W,I){const v=new n;I.forEach(function(j){v.put(j.mode.bit,4),v.put(j.getLength(),w.getCharCountIndicator(j.mode,x)),j.write(v)});const B=r.getSymbolTotalCodewords(x),R=s.getTotalCodewordsCount(x,W),_=(B-R)*8;for(v.getLengthInBits()+4<=_&&v.put(0,4);v.getLengthInBits()%8!==0;)v.putBit(0);const $=(_-v.getLengthInBits())/8;for(let j=0;j<$;j++)v.put(j%2?17:236,8);return h(v,x,W)}function h(x,W,I){const v=r.getSymbolTotalCodewords(W),B=s.getTotalCodewordsCount(W,I),R=v-B,_=s.getBlocksCount(W,I),$=v%_,j=_-$,ge=Math.floor(v/_),Le=Math.floor(R/_),wi=Le+1,pn=ge-Le,bi=new l(pn);let xt=0;const Ge=new Array(_),gn=new Array(_);let Ct=0;const mi=new Uint8Array(x.buffer);for(let We=0;We<_;We++){const $t=We<j?Le:wi;Ge[We]=mi.slice(xt,xt+$t),gn[We]=bi.encode(Ge[We]),xt+=$t,Ct=Math.max(Ct,$t)}const Rt=new Uint8Array(v);let wn=0,le,ce;for(le=0;le<Ct;le++)for(ce=0;ce<_;ce++)le<Ge[ce].length&&(Rt[wn++]=Ge[ce][le]);for(le=0;le<pn;le++)for(ce=0;ce<_;ce++)Rt[wn++]=gn[ce][le];return Rt}function z(x,W,I,v){let B;if(Array.isArray(x))B=C.fromArray(x);else if(typeof x=="string"){let ge=W;if(!ge){const Le=C.rawSplit(x);ge=d.getBestVersionForData(Le,I)}B=C.fromString(x,ge||40)}else throw new Error("Invalid data");const R=d.getBestVersionForData(B,I);if(!R)throw new Error("The amount of data is too big to be stored in a QR Code");if(!W)W=R;else if(W<R)throw new Error(`
|
|
1076
1076
|
The chosen QR Code version cannot contain this amount of data.
|
|
1077
1077
|
Minimum version required to store current data is: `+R+`.
|
|
1078
|
-
`);const _=b(W,
|
|
1078
|
+
`);const _=b(W,I,B),$=r.getSymbolSize(W),j=new i($);return g(j,W),L(j),y(j,W),m(j,I,0),W>=7&&T(j,W),f(j,_),isNaN(v)&&(v=a.getBestMask(j,m.bind(null,j,I))),a.applyMask(v,j),m(j,I,v),{modules:j,version:W,errorCorrectionLevel:I,maskPattern:v,segments:B}}return Wt.create=function(W,I){if(typeof W>"u"||W==="")throw new Error("No input text");let v=e.M,B,R;return typeof I<"u"&&(v=e.from(I.errorCorrectionLevel,e.M),B=d.from(I.version),R=a.from(I.maskPattern),I.toSJISFunc&&r.setToSJISFunction(I.toSJISFunc)),z(W,B,v,R)},Wt}var Kt={},Ht={},Gn;function ci(){return Gn||(Gn=1,(function(r){function e(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let i=n.slice().replace("#","").split("");if(i.length<3||i.length===5||i.length>8)throw new Error("Invalid hex color: "+n);(i.length===3||i.length===4)&&(i=Array.prototype.concat.apply([],i.map(function(t){return[t,t]}))),i.length===6&&i.push("F","F");const o=parseInt(i.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+i.slice(0,6).join("")}}r.getOptions=function(i){i||(i={}),i.color||(i.color={});const o=typeof i.margin>"u"||i.margin===null||i.margin<0?4:i.margin,t=i.width&&i.width>=21?i.width:void 0,a=i.scale||4;return{width:t,scale:t?4:a,margin:o,color:{dark:e(i.color.dark||"#000000ff"),light:e(i.color.light||"#ffffffff")},type:i.type,rendererOpts:i.rendererOpts||{}}},r.getScale=function(i,o){return o.width&&o.width>=i+o.margin*2?o.width/(i+o.margin*2):o.scale},r.getImageWidth=function(i,o){const t=r.getScale(i,o);return Math.floor((i+o.margin*2)*t)},r.qrToImageData=function(i,o,t){const a=o.modules.size,s=o.modules.data,l=r.getScale(a,t),d=Math.floor((a+t.margin*2)*l),p=t.margin*l,w=[t.color.light,t.color.dark];for(let C=0;C<d;C++)for(let g=0;g<d;g++){let L=(C*d+g)*4,y=t.color.light;if(C>=p&&g>=p&&C<d-p&&g<d-p){const T=Math.floor((C-p)/l),m=Math.floor((g-p)/l);y=w[s[T*a+m]?1:0]}i[L++]=y.r,i[L++]=y.g,i[L++]=y.b,i[L]=y.a}}})(Ht)),Ht}var Yn;function so(){return Yn||(Yn=1,(function(r){const e=ci();function n(o,t,a){o.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=a,t.width=a,t.style.height=a+"px",t.style.width=a+"px"}function i(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}r.render=function(t,a,s){let l=s,d=a;typeof l>"u"&&(!a||!a.getContext)&&(l=a,a=void 0),a||(d=i()),l=e.getOptions(l);const p=e.getImageWidth(t.modules.size,l),w=d.getContext("2d"),C=w.createImageData(p,p);return e.qrToImageData(C.data,t,l),n(w,d,p),w.putImageData(C,0,0),d},r.renderToDataURL=function(t,a,s){let l=s;typeof l>"u"&&(!a||!a.getContext)&&(l=a,a=void 0),l||(l={});const d=r.render(t,a,l),p=l.type||"image/png",w=l.rendererOpts||{};return d.toDataURL(p,w.quality)}})(Kt)),Kt}var Gt={},Jn;function lo(){if(Jn)return Gt;Jn=1;const r=ci();function e(o,t){const a=o.a/255,s=t+'="'+o.hex+'"';return a<1?s+" "+t+'-opacity="'+a.toFixed(2).slice(1)+'"':s}function n(o,t,a){let s=o+t;return typeof a<"u"&&(s+=" "+a),s}function i(o,t,a){let s="",l=0,d=!1,p=0;for(let w=0;w<o.length;w++){const C=Math.floor(w%t),g=Math.floor(w/t);!C&&!d&&(d=!0),o[w]?(p++,w>0&&C>0&&o[w-1]||(s+=d?n("M",C+a,.5+g+a):n("m",l,0),l=0,d=!1),C+1<t&&o[w+1]||(s+=n("h",p),p=0)):l++}return s}return Gt.render=function(t,a,s){const l=r.getOptions(a),d=t.modules.size,p=t.modules.data,w=d+l.margin*2,C=l.color.light.a?"<path "+e(l.color.light,"fill")+' d="M0 0h'+w+"v"+w+'H0z"/>':"",g="<path "+e(l.color.dark,"stroke")+' d="'+i(p,d,l.margin)+'"/>',L='viewBox="0 0 '+w+" "+w+'"',T='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+L+' shape-rendering="crispEdges">'+C+g+`</svg>
|
|
1079
1079
|
`;return typeof s=="function"&&s(null,T),T},Gt}var Qn;function co(){if(Qn)return _e;Qn=1;const r=qi(),e=ao(),n=so(),i=lo();function o(t,a,s,l,d){const p=[].slice.call(arguments,1),w=p.length,C=typeof p[w-1]=="function";if(!C&&!r())throw new Error("Callback required as last argument");if(C){if(w<2)throw new Error("Too few arguments provided");w===2?(d=s,s=a,a=l=void 0):w===3&&(a.getContext&&typeof d>"u"?(d=l,l=void 0):(d=l,l=s,s=a,a=void 0))}else{if(w<1)throw new Error("Too few arguments provided");return w===1?(s=a,a=l=void 0):w===2&&!a.getContext&&(l=s,s=a,a=void 0),new Promise(function(g,L){try{const y=e.create(s,l);g(t(y,a,l))}catch(y){L(y)}})}try{const g=e.create(s,l);d(null,t(g,a,l))}catch(g){d(g)}}return _e.create=e.create,_e.toCanvas=o.bind(null,n.render),_e.toDataURL=o.bind(null,n.renderToDataURL),_e.toString=o.bind(null,function(t,a,s){return i.render(t,s)}),_e}var uo=co();const ho=$i(uo),fo=.1,Xn=2.5,ue=7;function Yt(r,e,n){return r===e?!1:(r-e<0?e-r:r-e)<=n+fo}function po(r,e){const n=Array.prototype.slice.call(ho.create(r,{errorCorrectionLevel:e}).modules.data,0),i=Math.sqrt(n.length);return n.reduce((o,t,a)=>(a%i===0?o.push([t]):o[o.length-1].push(t))&&o,[])}const go={generate({uri:r,size:e,logoSize:n,dotColor:i="#141414"}){const o="transparent",a=[],s=po(r,"Q"),l=e/s.length,d=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];d.forEach(({x:y,y:T})=>{const m=(s.length-ue)*l*y,f=(s.length-ue)*l*T,b=.45;for(let h=0;h<d.length;h+=1){const z=l*(ue-h*2);a.push(je`
|
|
1080
1080
|
<rect
|
|
1081
1081
|
fill=${h===2?i:o}
|
|
@@ -1256,9 +1256,9 @@ Minimum version required to store current data is: `+R+`.
|
|
|
1256
1256
|
size=${e}
|
|
1257
1257
|
theme=${Qt.state.themeMode}
|
|
1258
1258
|
uri=${this.uri}
|
|
1259
|
-
imageSrc=${
|
|
1260
|
-
color=${
|
|
1261
|
-
alt=${
|
|
1259
|
+
imageSrc=${E(K.getWalletImage(this.wallet))}
|
|
1260
|
+
color=${E(Qt.state.themeVariables["--w3m-qr-color"])}
|
|
1261
|
+
alt=${E(n)}
|
|
1262
1262
|
data-testid="wui-qr-code"
|
|
1263
1263
|
></wui-qr-code>`}copyTemplate(){const e=!this.uri||!this.ready;return c`<wui-link
|
|
1264
1264
|
.disabled=${e}
|
|
@@ -1277,7 +1277,7 @@ Minimum version required to store current data is: `+R+`.
|
|
|
1277
1277
|
>
|
|
1278
1278
|
<wui-wallet-image
|
|
1279
1279
|
size="lg"
|
|
1280
|
-
imageSrc=${
|
|
1280
|
+
imageSrc=${E(K.getWalletImage(this.wallet))}
|
|
1281
1281
|
></wui-wallet-image>
|
|
1282
1282
|
|
|
1283
1283
|
<wui-text variant="paragraph-500" color="fg-100">Not Detected</wui-text>
|
|
@@ -1311,7 +1311,7 @@ Minimum version required to store current data is: `+R+`.
|
|
|
1311
1311
|
<w3m-connecting-wc-view></w3m-connecting-wc-view>
|
|
1312
1312
|
<wui-flex flexDirection="column" .padding=${["0","m","0","m"]}>
|
|
1313
1313
|
<w3m-all-wallets-widget></w3m-all-wallets-widget> </wui-flex
|
|
1314
|
-
></wui-flex>`}};di([P()],tn.prototype,"isMobile",void 0);tn=di([S("w3m-connecting-wc-basic-view")],tn);const dn=()=>new $o;class $o{}const Jt=new WeakMap,hn=xi(class extends Ci{render(r){return vn}update(r,[e]){const n=e!==this.G;return n&&this.G!==void 0&&this.rt(void 0),(n||this.lt!==this.ct)&&(this.G=e,this.ht=r.options?.host,this.rt(this.ct=r.element)),vn}rt(r){if(this.isConnected||(r=void 0),typeof this.G=="function"){const e=this.ht??globalThis;let n=Jt.get(e);n===void 0&&(n=new WeakMap,Jt.set(e,n)),n.get(this.G)!==void 0&&this.G.call(this.ht,void 0),n.set(this.G,r),r!==void 0&&this.G.call(this.ht,r)}else this.G.value=r}get lt(){return typeof this.G=="function"?Jt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}}),
|
|
1314
|
+
></wui-flex>`}};di([P()],tn.prototype,"isMobile",void 0);tn=di([S("w3m-connecting-wc-basic-view")],tn);const dn=()=>new $o;class $o{}const Jt=new WeakMap,hn=xi(class extends Ci{render(r){return vn}update(r,[e]){const n=e!==this.G;return n&&this.G!==void 0&&this.rt(void 0),(n||this.lt!==this.ct)&&(this.G=e,this.ht=r.options?.host,this.rt(this.ct=r.element)),vn}rt(r){if(this.isConnected||(r=void 0),typeof this.G=="function"){const e=this.ht??globalThis;let n=Jt.get(e);n===void 0&&(n=new WeakMap,Jt.set(e,n)),n.get(this.G)!==void 0&&this.G.call(this.ht,void 0),n.set(this.G,r),r!==void 0&&this.G.call(this.ht,r)}else this.G.value=r}get lt(){return typeof this.G=="function"?Jt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}}),Io=k`
|
|
1315
1315
|
:host {
|
|
1316
1316
|
display: flex;
|
|
1317
1317
|
align-items: center;
|
|
@@ -1379,12 +1379,12 @@ Minimum version required to store current data is: `+R+`.
|
|
|
1379
1379
|
<input
|
|
1380
1380
|
${hn(this.inputElementRef)}
|
|
1381
1381
|
type="checkbox"
|
|
1382
|
-
?checked=${
|
|
1382
|
+
?checked=${E(this.checked)}
|
|
1383
1383
|
@change=${this.dispatchChangeEvent.bind(this)}
|
|
1384
1384
|
/>
|
|
1385
1385
|
<span></span>
|
|
1386
1386
|
</label>
|
|
1387
|
-
`}dispatchChangeEvent(){this.dispatchEvent(new CustomEvent("switchChange",{detail:this.inputElementRef.value?.checked,bubbles:!0,composed:!0}))}};at.styles=[q,G,yi,
|
|
1387
|
+
`}dispatchChangeEvent(){this.dispatchEvent(new CustomEvent("switchChange",{detail:this.inputElementRef.value?.checked,bubbles:!0,composed:!0}))}};at.styles=[q,G,yi,Io];hi([u({type:Boolean})],at.prototype,"checked",void 0);at=hi([S("wui-switch")],at);const Eo=k`
|
|
1388
1388
|
:host {
|
|
1389
1389
|
height: 100%;
|
|
1390
1390
|
}
|
|
@@ -1409,9 +1409,9 @@ Minimum version required to store current data is: `+R+`.
|
|
|
1409
1409
|
`;var fi=function(r,e,n,i){var o=arguments.length,t=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,n,i);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(t=(o<3?a(t):o>3?a(e,n,t):a(e,n))||t);return o>3&&t&&Object.defineProperty(e,n,t),t};let st=class extends O{constructor(){super(...arguments),this.checked=void 0}render(){return c`
|
|
1410
1410
|
<button>
|
|
1411
1411
|
<wui-icon size="xl" name="walletConnectBrown"></wui-icon>
|
|
1412
|
-
<wui-switch ?checked=${
|
|
1412
|
+
<wui-switch ?checked=${E(this.checked)}></wui-switch>
|
|
1413
1413
|
</button>
|
|
1414
|
-
`}};st.styles=[q,G,
|
|
1414
|
+
`}};st.styles=[q,G,Eo];fi([u({type:Boolean})],st.prototype,"checked",void 0);st=fi([S("wui-certified-switch")],st);const Wo=k`
|
|
1415
1415
|
button {
|
|
1416
1416
|
background-color: var(--wui-color-fg-300);
|
|
1417
1417
|
border-radius: var(--wui-border-radius-4xs);
|
|
@@ -1634,12 +1634,12 @@ Minimum version required to store current data is: `+R+`.
|
|
|
1634
1634
|
${hn(this.inputElementRef)}
|
|
1635
1635
|
class=${Ri(i)}
|
|
1636
1636
|
type=${this.type}
|
|
1637
|
-
enterkeyhint=${
|
|
1637
|
+
enterkeyhint=${E(this.enterKeyHint)}
|
|
1638
1638
|
?disabled=${this.disabled}
|
|
1639
1639
|
placeholder=${this.placeholder}
|
|
1640
1640
|
@input=${this.dispatchInputChangeEvent.bind(this)}
|
|
1641
1641
|
.value=${this.value||""}
|
|
1642
|
-
tabindex=${
|
|
1642
|
+
tabindex=${E(this.tabIdx)}
|
|
1643
1643
|
/>
|
|
1644
1644
|
<slot></slot>`}templateIcon(){return this.icon?c`<wui-icon
|
|
1645
1645
|
data-input=${this.size}
|
|
@@ -1804,7 +1804,7 @@ Minimum version required to store current data is: `+R+`.
|
|
|
1804
1804
|
<wui-text
|
|
1805
1805
|
variant="tiny-500"
|
|
1806
1806
|
color="inherit"
|
|
1807
|
-
class=${
|
|
1807
|
+
class=${E(e?"certified":void 0)}
|
|
1808
1808
|
>${this.wallet?.name}</wui-text
|
|
1809
1809
|
>
|
|
1810
1810
|
${e?c`<wui-icon size="sm" name="walletConnectBrown"></wui-icon>`:null}
|
|
@@ -1813,7 +1813,7 @@ Minimum version required to store current data is: `+R+`.
|
|
|
1813
1813
|
`}imageTemplate(){return!this.visible&&!this.imageSrc||this.imageLoading?this.shimmerTemplate():c`
|
|
1814
1814
|
<wui-wallet-image
|
|
1815
1815
|
size="md"
|
|
1816
|
-
imageSrc=${
|
|
1816
|
+
imageSrc=${E(this.imageSrc)}
|
|
1817
1817
|
name=${this.wallet?.name}
|
|
1818
1818
|
.installed=${this.wallet?.installed}
|
|
1819
1819
|
badgeSize="sm"
|
|
@@ -1860,7 +1860,7 @@ Minimum version required to store current data is: `+R+`.
|
|
|
1860
1860
|
${this.paginationLoaderTemplate()}
|
|
1861
1861
|
</wui-grid>
|
|
1862
1862
|
`}async initialFetch(){this.loading=!0;const e=this.shadowRoot?.querySelector("wui-grid");e&&(await M.fetchWallets({page:1}),await e.animate([{opacity:1},{opacity:0}],{duration:200,fill:"forwards",easing:"ease"}).finished,this.loading=!1,e.animate([{opacity:0},{opacity:1}],{duration:200,fill:"forwards",easing:"ease"}))}shimmerTemplate(e,n){return[...Array(e)].map(()=>c`
|
|
1863
|
-
<wui-card-select-loader type="wallet" id=${
|
|
1863
|
+
<wui-card-select-loader type="wallet" id=${E(n)}></wui-card-select-loader>
|
|
1864
1864
|
`)}walletsTemplate(){const e=A.uniqueBy([...this.featured,...this.recommended,...this.wallets],"id");return on.markWalletsAsInstalled(e).map(i=>c`
|
|
1865
1865
|
<w3m-all-wallets-list-item
|
|
1866
1866
|
@click=${()=>this.onConnectWallet(i)}
|
|
@@ -1945,8 +1945,8 @@ Minimum version required to store current data is: `+R+`.
|
|
|
1945
1945
|
</wui-flex>
|
|
1946
1946
|
${e||this.badge?c`<w3m-all-wallets-search
|
|
1947
1947
|
query=${this.search}
|
|
1948
|
-
badge=${
|
|
1949
|
-
></w3m-all-wallets-search>`:c`<w3m-all-wallets-list badge=${
|
|
1948
|
+
badge=${E(this.badge)}
|
|
1949
|
+
></w3m-all-wallets-search>`:c`<w3m-all-wallets-list badge=${E(this.badge)}></w3m-all-wallets-list>`}
|
|
1950
1950
|
`}onInputChange(e){this.onDebouncedSearch(e.detail)}onClick(){if(this.badge==="certified"){this.badge=void 0;return}this.badge="certified",Qe.showSvg("Only WalletConnect certified",{icon:"walletConnectBrown",iconColor:"accent-100"})}qrButtonTemplate(){return A.isMobile()?c`
|
|
1951
1951
|
<wui-icon-box
|
|
1952
1952
|
size="lg"
|
|
@@ -2047,8 +2047,8 @@ Minimum version required to store current data is: `+R+`.
|
|
|
2047
2047
|
<button
|
|
2048
2048
|
?disabled=${this.loading?!0:!!this.disabled}
|
|
2049
2049
|
data-loading=${this.loading}
|
|
2050
|
-
data-iconvariant=${
|
|
2051
|
-
tabindex=${
|
|
2050
|
+
data-iconvariant=${E(this.iconVariant)}
|
|
2051
|
+
tabindex=${E(this.tabIdx)}
|
|
2052
2052
|
>
|
|
2053
2053
|
${this.loadingTemplate()} ${this.visualTemplate()}
|
|
2054
2054
|
<wui-flex gap="3xs">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DgEnLOYy.js";import"./index.browser.esm-D7d8Rln2.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-DXwCOxQx.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const n=o`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./vendor-axios-B8_nURbH.js";import{B as r,g as c}from"./index-
|
|
1
|
+
import{a}from"./vendor-axios-B8_nURbH.js";import{B as r,g as c}from"./index-DXwCOxQx.js";const s="/aichat2/credentials";function n(o){const e={"content-type":"application/json",authorization:`Bearer ${o}`,"x-record-exempt":"true"},t=c();return t&&(e["x-site-origin"]=t),e}class p{async providers(e){return await a.post(s,{action:"providers"},{headers:n(e.token),baseURL:r})}async list(e){return await a.post(s,{action:"list"},{headers:n(e.token),baseURL:r})}async create(e,t){return await a.post(s,{action:"create",...e},{headers:n(t.token),baseURL:r})}async update(e,t,i){return await a.post(s,{action:"update",id:e,...t},{headers:n(i.token),baseURL:r})}async delete(e,t){return await a.post(s,{action:"delete",id:e},{headers:n(t.token),baseURL:r})}async test(e,t){return await a.post(s,{action:"test",...e},{headers:n(t.token),baseURL:r})}}const h=new p;export{h as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as C}from"./index-
|
|
1
|
+
import{w as C}from"./index-DgEnLOYy.js";import"./index.browser.esm-D7d8Rln2.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-DXwCOxQx.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const v=C`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="12"
|
|
4
4
|
height="13"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a}from"./index-
|
|
1
|
+
import{c as a}from"./index-DXwCOxQx.js";function e(){if(!arguments.length)return[];var r=arguments[0];return a(r)?r:[r]}export{e as c};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as E}from"./vendor-axios-B8_nURbH.js";import{E as R}from"./errorCode-Cqj9Td_Z.js";import{B as c,g as v}from"./index-
|
|
1
|
+
import{a as E}from"./vendor-axios-B8_nURbH.js";import{E as R}from"./errorCode-Cqj9Td_Z.js";import{B as c,g as v}from"./index-DXwCOxQx.js";const O=500;var b=(t=>(t.PENDING="pending",t.ANSWERING="answering",t.FINISHED="finished",t.FAILED="failed",t))(b||{}),d=(t=>(t.CHAT="chat",t.RETRIEVE="retrieve",t.UPDATE="update",t.DELETE="delete",t.RETRIEVE_BATCH="retrieve_batch",t))(d||{});class w extends Error{status;code;detail;extraData;constructor(e,a,p,n){super(),this.status=e,this.code=a,this.detail=p,this.extraData=n}get message(){return`${this.code} - ${this.detail}`}}class A extends w{constructor(e,a){super(O,R,e,a)}}function D(){const t=v();return t?{"x-site-origin":t}:{}}class B{async chatConversation(e,a){return new Promise(async(p,n)=>{try{const o=await fetch(`${c}/aichat2/conversations`,{method:"POST",headers:{authorization:`Bearer ${a.token}`,"Content-Type":"application/json",Accept:"text/event-stream",...D()},signal:a.signal,body:JSON.stringify(e)});if(!o.ok){const l=await o.text(),h=o.status,i=l?JSON.parse(l):{},m=i?.error?.message||"An error occurred",s=i?.error?.code||R;console.error("Error message:",m,"Error code:",s),n(new w(h,s,m));return}if(!o.body)throw new A("ReadableStream not supported.");const g=o.body.getReader(),x=new TextDecoder;let u="",y,_="";for(;;){const{done:l,value:h}=await g.read();if(l)break;_+=x.decode(h,{stream:!0});const i=_.split(`
|
|
2
2
|
`);_=i.pop()||"";for(const m of i){const s=m.trim();if(s&&s.startsWith("data: ")){const f=s.substring(6).trim();if(f==="[DONE]"){p({answer:u,delta_answer:""});return}try{const r=JSON.parse(f);if(r.delta_answer&&(u+=r.delta_answer),r.id&&(y=r.id),r.type==="error"){const T=typeof r.message=="string"&&r.message.trim()?r.message.trim():"An error occurred";await g.cancel().catch(()=>{}),n(new w(500,R,T));return}a?.stream&&a.stream({answer:u,delta_answer:r.delta_answer||"",id:y,type:r.type,message:r.message,tool_id:r.tool_id,tool_name:r.tool_name,tool_display_name:r.tool_display_name,input:r.input,output:r.output,is_error:r.is_error,duration_ms:r.duration_ms,content:r.content,artifact:r.artifact,card:r.card,citation:r.citation,payload:r.payload})}catch(r){console.error("JSON parse error:",r)}}}}p({answer:u,delta_answer:""})}catch(o){console.error("Error:",o),n(o)}})}async getConversations(e,a){return await E.post("/aichat2/conversations",{action:d.RETRIEVE_BATCH,...e.ids?{ids:e.ids}:{},...e.applicationId?{application_id:e.applicationId}:{},...e.userId?{user_id:e.userId}:{},...e.modelGroup?{model_group:e.modelGroup}:{},...e.model?{model:e.model}:{},...e.offset!==void 0?{offset:e.offset}:{},...e.limit!==void 0?{limit:e.limit}:{}},{headers:{"content-type":"application/json",authorization:`Bearer ${a.token}`,"x-record-exempt":"true"},baseURL:c})}async getConversation(e,a){return await E.post("/aichat2/conversations",{action:d.RETRIEVE,id:e},{headers:{"content-type":"application/json",authorization:`Bearer ${a.token}`,"x-record-exempt":"true"},baseURL:c})}async deleteConversation(e,a){return await E.post("/aichat2/conversations",{action:d.DELETE,id:e},{headers:{"content-type":"application/json",authorization:`Bearer ${a.token}`,"x-record-exempt":"true"},baseURL:c})}async updateConversation(e,a){return await E.post("/aichat2/conversations",{action:d.UPDATE,...e},{headers:{"content-type":"application/json",authorization:`Bearer ${a.token}`,"x-record-exempt":"true"},baseURL:c,signal:a.signal})}}const S=new B;export{w as B,b as I,S as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-DgEnLOYy.js";import"./index.browser.esm-D7d8Rln2.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-DXwCOxQx.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const C=o`<svg
|
|
2
2
|
width="28"
|
|
3
3
|
height="28"
|
|
4
4
|
viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|