@acedatacloud/nexior 3.379.0 → 3.380.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/{ApiCodeButton-BVdwvbqZ.js → ApiCodeButton-D1lki4F_.js} +1 -1
- package/dist/assets/{ApiCodeDialog-DnvWQSux.js → ApiCodeDialog-DOfgYEmc.js} +2 -2
- package/dist/assets/Artifacts-DtQ_fGVP.css +1 -0
- package/dist/assets/Artifacts-uBtRFFPC.js +1 -0
- package/dist/assets/{AskUserQuestionCard-BnGXxHXH.js → AskUserQuestionCard-CETMYX8R.js} +1 -1
- package/dist/assets/{AudioPreview-BW-v9N1F.js → AudioPreview-l0EbbuHD.js} +1 -1
- package/dist/assets/{Auth-2sHUtbN3.js → Auth-CeBzNFsR.js} +1 -1
- package/dist/assets/{Bare-MY2982fx.js → Bare-vhj6gyvi.js} +1 -1
- package/dist/assets/{BotPlaceholder-BMvZ2r7e.js → BotPlaceholder-9sRMAfGp.js} +1 -1
- package/dist/assets/{BottomFooter-BK8fSgo8.js → BottomFooter-Cs-D5cy1.js} +1 -1
- package/dist/assets/{BrowseConnectors-BynonX3o.js → BrowseConnectors-B-5SE7mG.js} +1 -1
- package/dist/assets/BrowseConnectors-C6nnJYLy.css +1 -0
- package/dist/assets/{BrowserPairingDialog-BpL_PLZ2.js → BrowserPairingDialog-Wv5nX_mI.js} +1 -1
- package/dist/assets/{Callback-CftlVK5U.js → Callback--ui2SI2r.js} +1 -1
- package/dist/assets/{CodeSnippet-CWKbGbqf.js → CodeSnippet-CRDQll3K.js} +1 -1
- package/dist/assets/Console-BiM696t3.css +1 -0
- package/dist/assets/Console-CwieVXV0.js +1 -0
- package/dist/assets/Conversation-CH_xbgvX.js +2 -0
- package/dist/assets/{Conversation-DyPJerS9.js → Conversation-CILeQvtB.js} +1 -1
- package/dist/assets/{CopyToClipboard-DwbsH1C3.js → CopyToClipboard-CnWeQakr.js} +1 -1
- package/dist/assets/{Detail-60SJz85a.js → Detail-60M_EAcz.js} +1 -1
- package/dist/assets/Extra-BKzAUHuT.js +1 -0
- package/dist/assets/{FilePreview-LQggJd0m.js → FilePreview-CEeMVJs0.js} +1 -1
- package/dist/assets/{Hailuo-wSOJTcJX.js → Hailuo-BxGPHs5P.js} +1 -1
- package/dist/assets/History-CXbnjB0O.css +1 -0
- package/dist/assets/History-DP2va2AE.js +1 -0
- package/dist/assets/{ImagePreview-BLcOkAKu.js → ImagePreview-DzG8rluG.js} +1 -1
- package/dist/assets/{ImageWrapper-CbWVwZRD.js → ImageWrapper-BHq01Ilv.js} +1 -1
- package/dist/assets/{Index-CVJaenIO.js → Index--E3wAp0q.js} +1 -1
- package/dist/assets/Index-1lUQ0p6e.js +1 -0
- package/dist/assets/Index-2FXyG_eF.js +1 -0
- package/dist/assets/{Index-Bi6tCc2m.js → Index-6qhvmL75.js} +1 -1
- package/dist/assets/{Index-D-Y3090O.js → Index-B5T1B0rn.js} +1 -1
- package/dist/assets/Index-BApQZrK1.js +1 -0
- package/dist/assets/Index-BBLK5tA4.js +1 -0
- package/dist/assets/Index-BdqL4tvM.css +1 -0
- package/dist/assets/{Index-HacBQi5S.js → Index-BpEUpB3A.js} +1 -1
- package/dist/assets/Index-BsxF7YJ7.js +1 -0
- package/dist/assets/Index-BucEDFrW.css +1 -0
- package/dist/assets/{Index-BiXFhCWk.js → Index-BzJyb5Xo.js} +1 -1
- package/dist/assets/Index-BzUrN2i4.css +1 -0
- package/dist/assets/{Index-LByTkG1R.js → Index-C8TcdUi5.js} +1 -1
- package/dist/assets/{Index-PWI4LACm.js → Index-C8sDARwT.js} +2 -2
- package/dist/assets/{Index-C4b0Sbyi.js → Index-CG_s3bD2.js} +1 -1
- package/dist/assets/{Index-CpvCmtSL.js → Index-CGfIJWQO.js} +1 -1
- package/dist/assets/{Index-BEXZOWNw.js → Index-CKW8vwJG.js} +1 -1
- package/dist/assets/Index-CSTwqFsu.js +1 -0
- package/dist/assets/Index-CWorVwXb.css +1 -0
- package/dist/assets/Index-CXjV-IcE.js +1 -0
- package/dist/assets/Index-CYAAZPDa.js +1 -0
- package/dist/assets/Index-CZLHsGUU.js +2 -0
- package/dist/assets/Index-CogPPD-N.css +1 -0
- package/dist/assets/Index-Cr2EP9kp.js +1 -0
- package/dist/assets/{Index-C7nNUO1i.js → Index-CugiM4u7.js} +2 -2
- package/dist/assets/Index-D8axMOjB.js +1 -0
- package/dist/assets/Index-DBGNC98g.js +1 -0
- package/dist/assets/{Index-f7b3Hnhj.js → Index-DCinbJRH.js} +2 -2
- package/dist/assets/Index-DDlUGofL2.js +1 -0
- package/dist/assets/Index-DZHGmLTh.js +1 -0
- package/dist/assets/{Index-C63AcaAz.js → Index-Dkbg4XSA.js} +1 -1
- package/dist/assets/Index-Dl5lsxVP.js +1 -0
- package/dist/assets/Index-DnS8VEpN.js +1 -0
- package/dist/assets/Index-DuM-OiDF.js +1 -0
- package/dist/assets/{Index-DHcNXOjD.js → Index-DyP8vfqs.js} +1 -1
- package/dist/assets/{Index-DNXXlgZI.js → Index-DyZcKa4T.js} +1 -1
- package/dist/assets/{Index-CYbuu0Uy.js → Index-UyM4pJLL.js} +1 -1
- package/dist/assets/Index-lh94eK8o.js +1 -0
- package/dist/assets/Index-pGo7ljza.js +1 -0
- package/dist/assets/Index-ujvHWtuM.js +1 -0
- package/dist/assets/{Invitees-BG-VxiML.js → Invitees-CZa15gnk.js} +1 -1
- package/dist/assets/List-BNYeLdKL.js +1 -0
- package/dist/assets/{List-C_5R7MsB.js → List-BUh5m93I.js} +1 -1
- package/dist/assets/List-DJDgPDG5.css +1 -0
- package/dist/assets/List-fgJcmTqj.js +1 -0
- package/dist/assets/List-hn11bxUq.css +1 -0
- package/dist/assets/List-yswj7BDV.css +1 -0
- package/dist/assets/LocalTools-3Yi1GHAY.css +1 -0
- package/dist/assets/{LocalTools-d_Cpvudx.js → LocalTools-DOQVy8gG.js} +1 -1
- package/dist/assets/LocalTools-FwMni0ml.js +5 -0
- package/dist/assets/{Logo-vsdlOXNx.js → Logo-mH6QiWkU.js} +1 -1
- package/dist/assets/{Main-z44znHEo.js → Main-B6-yG6PU.js} +1 -1
- package/dist/assets/Message-BB4Jq2tN.js +3 -0
- package/dist/assets/Message-DiN-4_V0.css +1 -0
- package/dist/assets/{Model-CS9NafTK.js → Model-j6vEfP4p.js} +1 -1
- package/dist/assets/Navigator-BwKl-gZi.js +8 -0
- package/dist/assets/Navigator-D6w9S8hu.css +1 -0
- package/dist/assets/{NotFound-B7O570we.js → NotFound-BZ4JA1rq.js} +1 -1
- package/dist/assets/{PageHeader-XQ2ZI5oi.js → PageHeader-B3WB8K81.js} +1 -1
- package/dist/assets/{Pay-CJMoRNwf.js → Pay-DvoqG3sq.js} +1 -1
- package/dist/assets/{Player-BjAhlM5i.js → Player-DKtF2LiP.js} +1 -1
- package/dist/assets/{Poivelle-gikHHTGX.js → Poivelle-C0U744It.js} +1 -1
- package/dist/assets/{RealtimeCall-BqLTAntp.js → RealtimeCall-jb_0uRGr.js} +3 -3
- package/dist/assets/{ReportButton-Bzz2CkcM.js → ReportButton-B7cDB8LW.js} +1 -1
- package/dist/assets/{ReportDialog-2njW70jE.js → ReportDialog-JGNMr7QD.js} +1 -1
- package/dist/assets/{ScenarioPaymentMode-BaLVOrFz.js → ScenarioPaymentMode-CxM3rfl_.js} +1 -1
- package/dist/assets/ScheduledTasks-C2tvSPlw.js +2 -0
- package/dist/assets/ScheduledTasks-q2I0mfE4.css +1 -0
- package/dist/assets/{ServicePricingSummary-CDYYBNdf.js → ServicePricingSummary-BI_c3bg7.js} +1 -1
- package/dist/assets/{SharedMarkdown-DgMJ5yS6.js → SharedMarkdown-BZ-t6rHr.js} +1 -1
- package/dist/assets/{ShowcaseGrid-_w8hiwu_.css → ShowcaseGrid-9vxJV458.css} +1 -1
- package/dist/assets/ShowcaseGrid-BI6yjON0.js +1 -0
- package/dist/assets/{ShowcaseResultTabs-BrMvxK_-.js → ShowcaseResultTabs-CHdyEJpt.js} +1 -1
- package/dist/assets/{SolanaWalletPickerDialog-ZEJq2-js.js → SolanaWalletPickerDialog-BXKfNGsx.js} +1 -1
- package/dist/assets/Status-CTBt9OJ5.js +1 -0
- package/dist/assets/{Subscribe-CHJXeMK_.js → Subscribe-BJfnDW6z.js} +1 -1
- package/dist/assets/Subscribe-PwC876Nj.css +1 -0
- package/dist/assets/{TabSwitcher-B68j0iog.js → TabSwitcher-C_BTrTXh.js} +1 -1
- package/dist/assets/{Tts-kUJ8t6Tj.js → Tts-CmDrhSSe.js} +1 -1
- package/dist/assets/{VideoPlayer-D5QyowLz.js → VideoPlayer-B1ohzmMz.js} +1 -1
- package/dist/assets/{VideoPreview-B3Ge1y5k.js → VideoPreview-NzdYWDEq.js} +1 -1
- package/dist/assets/{VueMarkdown-CnCNB7jR.js → VueMarkdown-C2ymEiAE.js} +2 -2
- package/dist/assets/WriteSkillDialog-CZ9kJuKG.css +1 -0
- package/dist/assets/WriteSkillDialog-D08WH6SA.js +1 -0
- package/dist/assets/{airwallexCheckout-Cxx1AabL.js → airwallexCheckout-C7yv_WB3.js} +1 -1
- package/dist/assets/arrow-down-BHUGpfMP.js +1 -0
- package/dist/assets/{arrow-down-wide-narrow-BlIlUIjt.js → arrow-down-wide-narrow-iAFgcIWq.js} +1 -1
- package/dist/assets/arrow-left-C_eF64-4.js +1 -0
- package/dist/assets/arrow-right-rteUvLQ3.js +1 -0
- package/dist/assets/arrow-up-BKbUjWHK.js +1 -0
- package/dist/assets/{authorizeFlow-BJdepJ3R.js → authorizeFlow-BS5vrsk4.js} +1 -1
- package/dist/assets/{avatar-CGtlW6zU.js → avatar-CkETARKn.js} +1 -1
- package/dist/assets/{back-navigation-BIrHIWJy.js → back-navigation-hIJmgci9.js} +1 -1
- package/dist/assets/{basic-DFEogfXq.js → basic-DasRiMtW.js} +1 -1
- package/dist/assets/{book-open-_guxQcoA.js → book-open-LXRfyjum.js} +1 -1
- package/dist/assets/{box-CYBPc1Rz.js → box-BELXS1Xk.js} +1 -1
- package/dist/assets/{boxes-Dczys5iR.js → boxes-CfEsIxhR.js} +1 -1
- package/dist/assets/{brain-C3F88E04.js → brain-DSPtYkVQ.js} +1 -1
- package/dist/assets/{chart-no-axes-combined-sr2W-cy-.js → chart-no-axes-combined-CBK7pfM4.js} +1 -1
- package/dist/assets/chat-B93qedYt.js +1 -0
- package/dist/assets/chat-BH0Bn4st.js +1 -0
- package/dist/assets/chat-BIMHcNJl.js +1 -0
- package/dist/assets/{chat-KmdJ9Xcn.js → chat-BO13M-mU.js} +1 -1
- package/dist/assets/chat-BmBpsJ7j.js +1 -0
- package/dist/assets/chat-C3ifI9F6.js +1 -0
- package/dist/assets/chat-CPD_Lonc.js +1 -0
- package/dist/assets/chat-CnVC2OCy.js +1 -0
- package/dist/assets/chat-CnsQm6eE.js +1 -0
- package/dist/assets/chat-DCeCHp-5.js +1 -0
- package/dist/assets/chat-DHBWDJxa.js +1 -0
- package/dist/assets/chat-DQhSx6RW.js +1 -0
- package/dist/assets/chat-DlRtNTzK.js +1 -0
- package/dist/assets/check-B7vVuom4.js +1 -0
- package/dist/assets/chevron-down-DXJm9C-R.js +1 -0
- package/dist/assets/chevron-right-Dn3_TU6r.js +1 -0
- package/dist/assets/{circle-alert-CMUvmX0p.js → circle-alert-CChOfA1T.js} +1 -1
- package/dist/assets/circle-check-Cb4rTFEe.js +1 -0
- package/dist/assets/{circle-question-mark-BXwYW3M_.js → circle-question-mark-1JVdFmtu.js} +1 -1
- package/dist/assets/{clipboard-list-D3Jcr1wW.js → clipboard-list-D2WXa_ar.js} +1 -1
- package/dist/assets/clock-D-MIHQUu.js +1 -0
- package/dist/assets/code-k_kSMWEL.js +1 -0
- package/dist/assets/{codingBridge-CMi6fCj5.js → codingBridge-6mz0Fzzc.js} +1 -1
- package/dist/assets/{codingBridgeNotify-Bwf5NQbl.js → codingBridgeNotify-BuMCCwp6.js} +2 -2
- package/dist/assets/{coins-BQ6zVtEX.js → coins-BbzvNpjh.js} +1 -1
- package/dist/assets/{collapse-B0Wi9F4l.js → collapse-D3mLm9pK.js} +1 -1
- package/dist/assets/{common-BJ-Az-vA.js → common-B2AoKgbo.js} +1 -1
- package/dist/assets/{common-DlE175vL.js → common-B3_-avWv.js} +1 -1
- package/dist/assets/{common-B0IDRASJ.js → common-BE0Xmr95.js} +1 -1
- package/dist/assets/common-CBVzbTrP.js +1 -0
- package/dist/assets/{common-DeqClFGz.js → common-CXswbOnv.js} +1 -1
- package/dist/assets/{common-kO_UBrO5.js → common-DbzUSWn7.js} +1 -1
- package/dist/assets/{common-CUZl0lkV.js → common-DqrrCjnH.js} +1 -1
- package/dist/assets/{common-BnGMhmEr.js → common-DrLKSG8e.js} +1 -1
- package/dist/assets/{common-MVvgvCjP.js → common-ZC7JtzuW.js} +1 -1
- package/dist/assets/{common-RzLnaRJN.js → common-dHkeewzM.js} +1 -1
- package/dist/assets/{common-DKecTXML.js → common-ipmBN2GB.js} +1 -1
- package/dist/assets/{common-D8s1fMEF.js → common-ooTeYm20.js} +1 -1
- package/dist/assets/constants-WMYSVfpe.js +3 -0
- package/dist/assets/{copy-VxF2BScc.js → copy-D79cGaAL.js} +1 -1
- package/dist/assets/{createTaskActions-DoijteH6.js → createTaskActions-BpAJh50M.js} +1 -1
- package/dist/assets/{date-picker-CCvbZlsC.js → date-picker-GSBLkZuj.js} +1 -1
- package/dist/assets/{digitalhuman-COquG9OT.js → digitalhuman-tAysywFN.js} +1 -1
- package/dist/assets/{distribution-D9OF7j8R.js → distribution-B7DZZh7d.js} +1 -1
- package/dist/assets/{distribution-D60ESr4w.js → distribution-BYrnDp0s.js} +1 -1
- package/dist/assets/{distribution-DYe_3hS7.js → distribution-CGqwK1cw.js} +1 -1
- package/dist/assets/{distribution-BuGlQh86.js → distribution-CNfWAQTU.js} +1 -1
- package/dist/assets/{distribution-B6rpEDSh.js → distribution-CPmrvfZ7.js} +1 -1
- package/dist/assets/{distribution-BD_UlcWf.js → distribution-CQG0Z5iE.js} +1 -1
- package/dist/assets/{distribution-CYbeU4Kx.js → distribution-Cy8JC7Pm.js} +1 -1
- package/dist/assets/{distribution-Dx7f4qch.js → distribution-JpZ39xJ9.js} +1 -1
- package/dist/assets/{distribution-ATagO31u.js → distribution-Zl9x3ZOh.js} +1 -1
- package/dist/assets/{distribution-D1tzKj8Z.js → distribution-cGGLxu6P.js} +1 -1
- package/dist/assets/{distribution-BUdflwwz.js → distribution-lqXSS4g8.js} +1 -1
- package/dist/assets/{distribution-ryO3eAPQ.js → distribution-xL28-fwX.js} +1 -1
- package/dist/assets/{dollar-sign-DUccWNag.js → dollar-sign-6gQn2E0o.js} +1 -1
- package/dist/assets/{download-e2JcTyyo.js → download-CAxzUu_u.js} +1 -1
- package/dist/assets/{drawer-BVEcNx1I.js → drawer-DkbSBBLh.js} +1 -1
- package/dist/assets/{dropdown-6Dhj8aGv.js → dropdown-C3gQJom4.js} +1 -1
- package/dist/assets/{dropdown-DVWMF6_3.js → dropdown-n067bA9H.js} +1 -1
- package/dist/assets/{ellipsis-BtC3IBcT.js → ellipsis-BnzW2SUZ.js} +1 -1
- package/dist/assets/{esm-BWUcVVKJ.js → esm-CNvzHsA6.js} +2 -2
- package/dist/assets/esm-Cv_X14Y5.js +1 -0
- package/dist/assets/{esm-BF1E2FMw.js → esm-Dt5Fl66W.js} +2 -2
- package/dist/assets/{external-link-DHAxzeng.js → external-link-Dmjio2ae.js} +1 -1
- package/dist/assets/{eye-D_qht_hF.js → eye-CiLZ5Q2y.js} +1 -1
- package/dist/assets/{file-DpjGg0Y_.js → file-C5sGq-in.js} +1 -1
- package/dist/assets/{file-output-Bi4vq7Ue.js → file-output-CfVEr-P9.js} +1 -1
- package/dist/assets/{file-text-Cy_bvnO7.js → file-text-mgrXd7Fc.js} +1 -1
- package/dist/assets/{fish-DnPwoPWE.js → fish-G6E0apAS.js} +1 -1
- package/dist/assets/{pixverse-CdoZ8UDF.js → flux-D3gm8Tem.js} +1 -1
- package/dist/assets/{folder-mtavbhFP.js → folder-C-kE9L8l.js} +1 -1
- package/dist/assets/gauge-CnI5ffDq.js +1 -0
- package/dist/assets/{generationInput-ClY8zxHb.js → generationInput-DCC9j_iS.js} +1 -1
- package/dist/assets/{globe-t_hc2uvW.js → globe-7jfAXQmq.js} +1 -1
- package/dist/assets/{grokvideo-wIrAkg60.js → grokvideo-DLi-N3-W.js} +1 -1
- package/dist/assets/{hailuo-CLFyD3vr.js → hailuo-AKPvPb3Q.js} +1 -1
- package/dist/assets/{hash-CGhR3E3W.js → hash-XGo8nwFc.js} +1 -1
- package/dist/assets/{headphones-BGX9rE2z.js → headphones-A3K1FVN_.js} +1 -1
- package/dist/assets/{history-BNoxEv4L.js → history-jiGKS_Y6.js} +1 -1
- package/dist/assets/{house-Cq29AjkF.js → house-BI0OsEXZ.js} +1 -1
- package/dist/assets/{image-D-Qn2R2s.js → image-BNpIV_kk.js} +1 -1
- package/dist/assets/{imageRequests-Dpxiq1GM.js → imageRequests-CEgD9YBi.js} +1 -1
- package/dist/assets/{index-B_mDD17T.js → index-DNgm0O4R.js} +15 -15
- package/dist/assets/index-DuRtbnbf.css +1 -0
- package/dist/assets/{index.es-DbG45pQU.js → index.es--QtP43qh.js} +1 -1
- package/dist/assets/{info-AarYb6UU.js → info-DiJCV4qJ.js} +1 -1
- package/dist/assets/{input-number-BweR5GSS.js → input-number-Z9VlgVmG.js} +1 -1
- package/dist/assets/{kling-Bu2NuHka.js → kling-fXkHiMRx.js} +1 -1
- package/dist/assets/{languages-q4pS3WIA.js → languages-cyvc2npG.js} +1 -1
- package/dist/assets/{laptop-D3ytrLBJ.js → laptop--8Zu6Vfi.js} +1 -1
- package/dist/assets/{lightbulb-C5S29mMv.js → lightbulb-CJFqSHO7.js} +1 -1
- package/dist/assets/{link-CwjIRcQu.js → link-DMihcn5u.js} +1 -1
- package/dist/assets/loader-circle-CxuVnfcI.js +1 -0
- package/dist/assets/{luma-DSTa_ctL.js → luma-SnGxaw5M.js} +1 -1
- package/dist/assets/{maestro-Cgi6iLeE.js → maestro-DF3jESmq.js} +1 -1
- package/dist/assets/{maestroLanguages-DwLnUjSV.js → maestroLanguages-Ybsvi9JQ.js} +1 -1
- package/dist/assets/{mail-VqGM1wzH.js → mail-CnDlEeWi.js} +1 -1
- package/dist/assets/{message-circle-BIELZnpU.js → message-circle-DuKW7reT.js} +1 -1
- package/dist/assets/{mic-DhjvDuzZ.js → mic-CTs0jfqq.js} +1 -1
- package/dist/assets/{midjourney-YlQQ7xGW.js → midjourney-CZv9cLly.js} +1 -1
- package/dist/assets/minimax-BT0nSB_a.js +1 -0
- package/dist/assets/{mobileLocalExec-BGEH-cVh.js → mobileLocalExec-BQ1kBGve.js} +2 -2
- package/dist/assets/{monitor-w2z0MlEY.js → monitor-C-Jerg7U.js} +1 -1
- package/dist/assets/{mouse-pointer-2-Dktit1x1.js → mouse-pointer-2-B-J1shs-.js} +1 -1
- package/dist/assets/music-2-C65WMr4S.js +1 -0
- package/dist/assets/{nanobanana-B5-IKS73.js → nanobanana-Bf6ZR2h8.js} +1 -1
- package/dist/assets/{omni-ROlnzeCN.js → omni-xNo4Fbqp.js} +1 -1
- package/dist/assets/{openaiimage-DoIMIVMy.js → openaiimage-DxutopRU.js} +1 -1
- package/dist/assets/{pagination-DkzSLsHS.js → pagination-19y2LGQl.js} +1 -1
- package/dist/assets/{pagination-CVG3qxWX.js → pagination-Cfo3CagM.js} +1 -1
- package/dist/assets/{pagination-7tCwz5Wb.js → pagination-DV8T-tqj.js} +1 -1
- package/dist/assets/{palette-B-I3eqTr.js → palette-CynhsCMe.js} +1 -1
- package/dist/assets/{paperclip-CiVURlUk.js → paperclip-CBL7RqTM.js} +1 -1
- package/dist/assets/{pause-hlQVsPkR.js → pause-DTHJdCRg.js} +1 -1
- package/dist/assets/{pencil-B83LjyZM.js → pencil-CVaC19gj.js} +1 -1
- package/dist/assets/{pika-CsJCe7Ud.js → pika-D1zbf-uS.js} +1 -1
- package/dist/assets/{qrart-ggf6-aqL.js → pixverse-B5r7NLUO.js} +1 -1
- package/dist/assets/play-nNwhAh75.js +1 -0
- package/dist/assets/{plug-BJ2TKjcm.js → plug-CFa0M51H.js} +1 -1
- package/dist/assets/plus-LeXJrpvP.js +1 -0
- package/dist/assets/{poivelle-B_KpomXv.js → poivelle-DoPLyFMb.js} +1 -1
- package/dist/assets/{popover-BNuza1no.js → popover-uQ8dK-N-.js} +1 -1
- package/dist/assets/{producer-Cftxullw.js → producer-f8Z5dCar.js} +1 -1
- package/dist/assets/{veo-DJ8zjGWr.js → qrart-BlkGVDXz.js} +1 -1
- package/dist/assets/{qwenimage-CbH5cDWi.js → qwenimage-D1JaKlci.js} +1 -1
- package/dist/assets/{realtime-C3GP19Ox.js → realtime-bhXNb6O5.js} +1 -1
- package/dist/assets/{refresh-cw-Bvqf2cXR.js → refresh-cw-DWhrdWmh.js} +1 -1
- package/dist/assets/rotate-ccw-BXF7BHR_.js +1 -0
- package/dist/assets/rotate-cw-DQwFlqL-.js +1 -0
- package/dist/assets/{row-CgEMxZUK.js → row-Ct3SHHKo.js} +1 -1
- package/dist/assets/{scroll-text-DNioxlF3.js → scroll-text-IW5F7Rzs.js} +1 -1
- package/dist/assets/search-jHt37O6Y.js +1 -0
- package/dist/assets/{seedance-vjO0LxfY.js → seedance-BAG2S-Sn.js} +1 -1
- package/dist/assets/{seedream-DDubAk0V.js → seedream-CSHXjRHt.js} +1 -1
- package/dist/assets/{select-BqzezbgS.js → select-DpCwbg2P.js} +1 -1
- package/dist/assets/{serp-B9uitIQK.js → serp-BjxFrKtx.js} +1 -1
- package/dist/assets/{shield-BidAVgcr.js → shield-CqzgUjRL.js} +1 -1
- package/dist/assets/{showcase-C-f0cCbc.js → showcase-BKwYXfaj.js} +1 -1
- package/dist/assets/{showcaseRecreateMixin-BWDEj-jO.js → showcaseRecreateMixin-CXfW6PxO.js} +1 -1
- package/dist/assets/{shuffle-C-ey6c0w.js → shuffle-Cb3EluSZ.js} +1 -1
- package/dist/assets/{siteHome-Cm4ERvnr.js → siteHome-_xdRaJDq.js} +1 -1
- package/dist/assets/{skill-0g_luo5R.js → skill-BlMbz87N.js} +1 -1
- package/dist/assets/{skill-DIEOWjK5.js → skill-C2K6cbrP.js} +1 -1
- package/dist/assets/{skill-Byo5cYNZ.js → skill-CKUPPxyb.js} +1 -1
- package/dist/assets/{skill-Dx9sM0VW.js → skill-CaNjUkgB.js} +1 -1
- package/dist/assets/{skill-CQGW8Q1T.js → skill-Cr-g7FwZ.js} +1 -1
- package/dist/assets/{skill-B07Ijn5i.js → skill-CsXnh9VR.js} +1 -1
- package/dist/assets/{skill-l_jxXvUb.js → skill-Cz3gbHCB.js} +1 -1
- package/dist/assets/{skill-iYzmeC7M.js → skill-D7ykoMRP.js} +1 -1
- package/dist/assets/{skill-BJgaq7OZ.js → skill-DSiB2L6V.js} +1 -1
- package/dist/assets/{skill-DH20CjXt.js → skill-HEAXadiu.js} +1 -1
- package/dist/assets/{skill-qbrFbNq8.js → skill-ruT0_gQC.js} +1 -1
- package/dist/assets/{skill-CpCuyQYr.js → skill-zkJF-Hre.js} +1 -1
- package/dist/assets/{slider-fnY2n6px.js → slider-D_5tNLXv.js} +1 -1
- package/dist/assets/{solana-wallets-BERlGY2O.js → solana-wallets-LBXCjIar.js} +2 -2
- package/dist/assets/{sora-BUctVwZa.js → sora-DxQB-JH3.js} +1 -1
- package/dist/assets/{sparkles-BvDv6ds2.js → sparkles-BJp3fwnS.js} +1 -1
- package/dist/assets/square-wbuKXONv.js +1 -0
- package/dist/assets/{suno-Be9UhEcX.js → suno-CMtc4n9z.js} +1 -1
- package/dist/assets/{switch-C6gnvMgV.js → switch-D3WZiAvp.js} +1 -1
- package/dist/assets/{table-dVwxM5TO.js → table-CUMQdD-Z.js} +1 -1
- package/dist/assets/{tabs-CwdrUb8P.js → tabs-DRQeG1Ya.js} +1 -1
- package/dist/assets/{tag-BOA3YC3-.js → tag-DxDJAghe.js} +1 -1
- package/dist/assets/{taskPolling-BRIyWeSm.js → taskPolling-CXL7oa51.js} +1 -1
- package/dist/assets/terminal-Cf2tnanz.js +1 -0
- package/dist/assets/{time-picker-B7Amze8v.js → time-picker-ug51pxrU.js} +1 -1
- package/dist/assets/{tooltip-BBrV3AZK.js → tooltip-CBYmo1Dy.js} +1 -1
- package/dist/assets/{trash-2-BPjzpfWl.js → trash-2-COs0p2Nt.js} +1 -1
- package/dist/assets/{triangle-alert-hVh_-DcV.js → triangle-alert-Bepd3LHY.js} +1 -1
- package/dist/assets/{upload-Cra0_3dJ.js → upload-3n-8FFny.js} +1 -1
- package/dist/assets/{upload-XUGlysu6.js → upload-DNSrVlZy.js} +1 -1
- package/dist/assets/user-C6lesopI.js +1 -0
- package/dist/assets/veo-DiQVfBj3.js +1 -0
- package/dist/assets/{video-DM7P7XL-.js → video-CI8Hz7NN.js} +1 -1
- package/dist/assets/{volume-2-DoGYvPKH.js → volume-2-Ydz_oaC9.js} +1 -1
- package/dist/assets/{vuex.esm-bundler-BxNPLO2l.js → vuex.esm-bundler-LBWCZBn7.js} +1 -1
- package/dist/assets/{wallet-DCbr1SCc.js → wallet-WRlfAkep.js} +1 -1
- package/dist/assets/{wan-CJgJf4gd.js → wan-BSn0CRCR.js} +1 -1
- package/dist/assets/{wand-sparkles-B3s3EW_F.js → wand-sparkles-DAxQpus4.js} +1 -1
- package/dist/assets/{web-CMCs3BWX.js → web-B8GaBxif.js} +1 -1
- package/dist/assets/{web-nb5LyGMf.js → web-B9J6valC.js} +1 -1
- package/dist/assets/{web-OTda-796.js → web-BRGudU6E.js} +1 -1
- package/dist/assets/{web-DOauQbLK.js → web-CM_69Bh3.js} +1 -1
- package/dist/assets/{web-B0taMipw.js → web-DrYXzoHz.js} +1 -1
- package/dist/assets/webextrator-CzKXuJam.js +1 -0
- package/dist/assets/{zap-CLXFE1AD.js → zap-DOKxH-m_.js} +1 -1
- package/dist/index.html +4 -4
- package/package.json +2 -2
- package/dist/assets/Artifacts-BXalS4q3.css +0 -1
- package/dist/assets/Artifacts-DBlRS6V-.js +0 -1
- package/dist/assets/BrowseConnectors-CE_N0wln.css +0 -1
- package/dist/assets/Console-CLcCfD95.css +0 -1
- package/dist/assets/Console-D5tMRa4O.js +0 -1
- package/dist/assets/Conversation-Dvzqt09M.js +0 -2
- package/dist/assets/Extra-a9kjI6xu.js +0 -1
- package/dist/assets/History-BKuvOkpU.css +0 -1
- package/dist/assets/History-CotgV_jP.js +0 -1
- package/dist/assets/Index-B2iSDu_B.js +0 -2
- package/dist/assets/Index-B5eICayB.js +0 -1
- package/dist/assets/Index-BTN8UlrZ.js +0 -1
- package/dist/assets/Index-BkELRl77.js +0 -1
- package/dist/assets/Index-BmqhuNpp.js +0 -1
- package/dist/assets/Index-BptenMvy.js +0 -1
- package/dist/assets/Index-BtYp1mWJ.js +0 -1
- package/dist/assets/Index-BytvhA-o.css +0 -1
- package/dist/assets/Index-Bz1tQjLN.js +0 -1
- package/dist/assets/Index-C7jnoMyw.js +0 -1
- package/dist/assets/Index-CB-LRpKw.js +0 -1
- package/dist/assets/Index-CC8t-QBU2.js +0 -1
- package/dist/assets/Index-CDo_fKen.js +0 -1
- package/dist/assets/Index-CFwbMt9f.js +0 -1
- package/dist/assets/Index-CYCyIq0c.js +0 -1
- package/dist/assets/Index-CjA_cn01.js +0 -1
- package/dist/assets/Index-CljLq_wO.js +0 -1
- package/dist/assets/Index-CljMeIn4.css +0 -1
- package/dist/assets/Index-CnfZftjV.js +0 -1
- package/dist/assets/Index-DLo_vG5b.css +0 -1
- package/dist/assets/Index-InwJndDx.js +0 -1
- package/dist/assets/Index-KeKnmleO.js +0 -1
- package/dist/assets/Index-OnGb6jh7.css +0 -1
- package/dist/assets/Index-TKC7spBk.css +0 -1
- package/dist/assets/Index-vUiofO0R.js +0 -1
- package/dist/assets/List-BZZ7J6hV.js +0 -1
- package/dist/assets/List-Bh_b_SzR.css +0 -1
- package/dist/assets/List-C3QVP8Qo.css +0 -1
- package/dist/assets/List-CRykp5Ti.css +0 -1
- package/dist/assets/List-CVQKqACY.js +0 -1
- package/dist/assets/LocalTools-B-v6mWjd.js +0 -5
- package/dist/assets/LocalTools-C2jVUnzB.css +0 -1
- package/dist/assets/Message-BgnTwf4e.css +0 -1
- package/dist/assets/Message-DvXog9lv.js +0 -3
- package/dist/assets/Navigator-ByU36BlB.js +0 -8
- package/dist/assets/Navigator-DzzTUqkr.css +0 -1
- package/dist/assets/ScheduledTasks-DtkfcITj.css +0 -1
- package/dist/assets/ScheduledTasks-UXKOx_R9.js +0 -2
- package/dist/assets/ShowcaseGrid-CQU8y-_p.js +0 -1
- package/dist/assets/Status-CbijUb1r.js +0 -1
- package/dist/assets/Subscribe-CTT35EgT.css +0 -1
- package/dist/assets/WriteSkillDialog-D6u0DtZm.js +0 -1
- package/dist/assets/WriteSkillDialog-Dq7Pnanc.css +0 -1
- package/dist/assets/arrow-down-CrxnnUzu.js +0 -1
- package/dist/assets/arrow-left-Do_3QC8F.js +0 -1
- package/dist/assets/arrow-right-BQL1_QMW.js +0 -1
- package/dist/assets/arrow-up-BQh_uho_.js +0 -1
- package/dist/assets/chat-5TeQeXg6.js +0 -1
- package/dist/assets/chat-AWH1Eq66.js +0 -1
- package/dist/assets/chat-BEbedEUX.js +0 -1
- package/dist/assets/chat-BKEDECw4.js +0 -1
- package/dist/assets/chat-CKgKfR3G.js +0 -1
- package/dist/assets/chat-CqOSpk1j.js +0 -1
- package/dist/assets/chat-DIFZYTnO.js +0 -1
- package/dist/assets/chat-DYjIMAVw.js +0 -1
- package/dist/assets/chat-DYmT0Yvc.js +0 -1
- package/dist/assets/chat-Dd6tIvLp.js +0 -1
- package/dist/assets/chat-DjkaNaEt.js +0 -1
- package/dist/assets/chat-ObhnlF43.js +0 -1
- package/dist/assets/check-CvzlOh9y.js +0 -1
- package/dist/assets/chevron-down-B4V8oKg4.js +0 -1
- package/dist/assets/chevron-right-BC5ylckn.js +0 -1
- package/dist/assets/circle-check-DtG7_-0o.js +0 -1
- package/dist/assets/clock-IAci-Zzy.js +0 -1
- package/dist/assets/code-C0f79oRQ.js +0 -1
- package/dist/assets/common-DIFVLaNh.js +0 -1
- package/dist/assets/constants-XMLzMJVJ.js +0 -3
- package/dist/assets/esm-CoJds8QY.js +0 -1
- package/dist/assets/flux-WBOJvTOp.js +0 -1
- package/dist/assets/gauge-Dr0RTbvf.js +0 -1
- package/dist/assets/index-DKAHKezv.css +0 -1
- package/dist/assets/loader-circle-ly_u_IQt.js +0 -1
- package/dist/assets/minimax-CYpaxOzz.js +0 -1
- package/dist/assets/music-2-TpIjRQXw.js +0 -1
- package/dist/assets/play-BHPb6zRT.js +0 -1
- package/dist/assets/plus-BgGyj7OG.js +0 -1
- package/dist/assets/rotate-ccw-B1viIggk.js +0 -1
- package/dist/assets/rotate-cw-BFAaVvoq.js +0 -1
- package/dist/assets/search-D9sS2zks.js +0 -1
- package/dist/assets/square-RZDqdJlO.js +0 -1
- package/dist/assets/terminal-CihWj-P8.js +0 -1
- package/dist/assets/user-BEv2qjci.js +0 -1
- package/dist/assets/webextrator-CgBbtaN5.js +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/aegis.min-C7H4WXnC.js","assets/rolldown-runtime--c01j_DQ.js","assets/index.es-LzqQdC6F.js","assets/preload-helper-zJ_50EbN.js","assets/__vite-browser-external-Wme9VPc1.js","assets/buffer-CnhyIITQ.js","assets/dist-Bj1bzw6C.js","assets/solana-W8Xq1SnF.js","assets/vendor-highlight-PMOaWWrP.js","assets/vendor-highlight-XQIgUEMi.css","assets/Auth-2sHUtbN3.js","assets/vendor-chart-Dw-P17PN.js","assets/container-VI0MzukK.js","assets/install-Cn-SLM3u.js","assets/Auth-CMxg_APQ.css","assets/Login-Cx8B8MBK.js","assets/Callback-CftlVK5U.js","assets/Callback-BOWlkJeC.css","assets/Console-D5tMRa4O.js","assets/box-CYBPc1Rz.js","assets/WriteSkillDialog-D6u0DtZm.js","assets/constants-XMLzMJVJ.js","assets/vendor-axios-Ck2ffRoh.js","assets/chip-CNPdFg2A.js","assets/VueMarkdown-CnCNB7jR.js","assets/search-D9sS2zks.js","assets/vuex.esm-bundler-BxNPLO2l.js","assets/icon-CDmWyIgD.js","assets/en-CpRrS3Ur.js","assets/vendor-vue-CCKiwo0U.js","assets/pagination-CVG3qxWX.js","assets/use-deprecated-BAB4ggjd.js","assets/select-BqzezbgS.js","assets/tooltip-BBrV3AZK.js","assets/use-aria-DApzlmKf.js","assets/use-delayed-toggle-CUww_m9H.js","assets/aria-8oQuUBWy.js","assets/scrollbar-3jGyy846.js","assets/event-BGnHezxC.js","assets/click-outside-CzJDhMNh.js","assets/scroll-kDH1KTep.js","assets/strings-C8VQZVfQ.js","assets/vnode-B_FEx-YD.js","assets/isEqual-DeO3PEnJ.js","assets/_Uint8Array-XQBxN0L-.js","assets/_baseIteratee-DLPcqXeW.js","assets/debounce-5xtusvLq.js","assets/castArray-YUixYP4Q.js","assets/WriteSkillDialog-Dq7Pnanc.css","assets/external-link-DHAxzeng.js","assets/history-BNoxEv4L.js","assets/Navigator-ByU36BlB.js","assets/index.es-DbG45pQU.js","assets/arrow-down-wide-narrow-BlIlUIjt.js","assets/arrow-right-BQL1_QMW.js","assets/brain-C3F88E04.js","assets/chart-no-axes-combined-sr2W-cy-.js","assets/check-CvzlOh9y.js","assets/chevron-down-B4V8oKg4.js","assets/chevron-right-BC5ylckn.js","assets/circle-check-DtG7_-0o.js","assets/coins-BQ6zVtEX.js","assets/copy-VxF2BScc.js","assets/dollar-sign-DUccWNag.js","assets/globe-t_hc2uvW.js","assets/image-D-Qn2R2s.js","assets/info-AarYb6UU.js","assets/laptop-D3ytrLBJ.js","assets/lightbulb-C5S29mMv.js","assets/link-CwjIRcQu.js","assets/mail-VqGM1wzH.js","assets/pencil-B83LjyZM.js","assets/plus-BgGyj7OG.js","assets/refresh-cw-Bvqf2cXR.js","assets/rotate-ccw-B1viIggk.js","assets/rotate-cw-BFAaVvoq.js","assets/tag-BOA3YC3-.js","assets/trash-2-BPjzpfWl.js","assets/triangle-alert-hVh_-DcV.js","assets/upload-Cra0_3dJ.js","assets/user-BEv2qjci.js","assets/wand-sparkles-B3s3EW_F.js","assets/form-BdKMEyCR.js","assets/_baseClone-U7fnZamc.js","assets/_initCloneObject-CSzorZ33.js","assets/alert-BprQRUmf.js","assets/avatar-DEN_WCPo.js","assets/card-IQwqnRJR.js","assets/checkbox-DXMDpaxv.js","assets/date-picker-CCvbZlsC.js","assets/vendor-dayjs-C9ICuEWn.js","assets/time-picker-B7Amze8v.js","assets/repeat-click-Ctd9gEKr.js","assets/isArrayLikeObject-VRCqVaiT.js","assets/date-ClRNENVe.js","assets/divider-Du_3kymg.js","assets/dropdown-DVWMF6_3.js","assets/dropdown-6Dhj8aGv.js","assets/input-number-BweR5GSS.js","assets/avatar-CGtlW6zU.js","assets/collapse-transition-BUGXhx7B.js","assets/popover-BNuza1no.js","assets/radio-BNhFzeBO.js","assets/slider-fnY2n6px.js","assets/switch-C6gnvMgV.js","assets/table-dVwxM5TO.js","assets/raf-BbgJq-wu.js","assets/isPlainObject-CIQNj6g3.js","assets/Logo-vsdlOXNx.js","assets/Logo-BUFvydvT.css","assets/CopyToClipboard-DwbsH1C3.js","assets/CopyToClipboard-BareDE14.css","assets/siteHome-Cm4ERvnr.js","assets/Navigator-DzzTUqkr.css","assets/monitor-w2z0MlEY.js","assets/plug-BJ2TKjcm.js","assets/scroll-text-DNioxlF3.js","assets/Console-CLcCfD95.css","assets/List-CVQKqACY.js","assets/pagination-7tCwz5Wb.js","assets/clock-IAci-Zzy.js","assets/file-output-Bi4vq7Ue.js","assets/row-CgEMxZUK.js","assets/skeleton-Dj_a_iIP.js","assets/List-C3QVP8Qo.css","assets/Detail-60SJz85a.js","assets/back-navigation-BIrHIWJy.js","assets/arrow-left-Do_3QC8F.js","assets/airwallexCheckout-Cxx1AabL.js","assets/vendor-vue-router-BVGjZC3n.js","assets/SolanaWalletPickerDialog-ZEJq2-js.js","assets/SolanaWalletPickerDialog-t81xwej4.css","assets/Detail-CgTGSka5.css","assets/List-BZZ7J6hV.js","assets/boxes-Dczys5iR.js","assets/wallet-DCbr1SCc.js","assets/List-Bh_b_SzR.css","assets/Extra-a9kjI6xu.js","assets/Extra-BN2W8ro4.css","assets/Subscribe-CHJXeMK_.js","assets/Subscribe-CTT35EgT.css","assets/List-C_5R7MsB.js","assets/tabs-CwdrUb8P.js","assets/List-CRykp5Ti.css","assets/Index-Bi6tCc2m.js","assets/ellipsis-BtC3IBcT.js","assets/BrowseConnectors-BynonX3o.js","assets/loader-circle-ly_u_IQt.js","assets/shield-BidAVgcr.js","assets/BrowserPairingDialog-BpL_PLZ2.js","assets/BrowserPairingDialog-FTM3lWFY.css","assets/authorizeFlow-BJdepJ3R.js","assets/BrowseConnectors-CE_N0wln.css","assets/PageHeader-XQ2ZI5oi.js","assets/PageHeader-7rhqfMXO.css","assets/Index-CwbJeN2Z.css","assets/Index-C4b0Sbyi.js","assets/book-open-_guxQcoA.js","assets/circle-question-mark-BXwYW3M_.js","assets/clipboard-list-D3Jcr1wW.js","assets/code-C0f79oRQ.js","assets/eye-D_qht_hF.js","assets/file-text-Cy_bvnO7.js","assets/file-DpjGg0Y_.js","assets/folder-mtavbhFP.js","assets/Index-B1YAGuTX.css","assets/Index-D-Y3090O.js","assets/Index-XjOo3ejW.css","assets/Main-z44znHEo.js","assets/Status-CbijUb1r.js","assets/Status-CJdLn3iI.css","assets/Main-2giJlOFm.css","assets/Index-f7b3Hnhj.js","assets/ShowcaseGrid-CQU8y-_p.js","assets/VideoPlayer-D5QyowLz.js","assets/VideoPlayer-Bau3TRII.css","assets/vue-plyr-BokztW6Q.css","assets/ShowcaseGrid-_w8hiwu_.css","assets/showcase-C-f0cCbc.js","assets/Index-BytvhA-o.css","assets/Index-CYbuu0Uy.js","assets/BottomFooter-BK8fSgo8.js","assets/BottomFooter-CWWBSFTa.css","assets/Index-BuSnR1m2.css","assets/Index-BiXFhCWk.js","assets/Index-OnGb6jh7.css","assets/Conversation-Dvzqt09M.js","assets/arrow-up-BQh_uho_.js","assets/Message-DvXog9lv.js","assets/arrow-down-CrxnnUzu.js","assets/circle-alert-CMUvmX0p.js","assets/message-circle-BIELZnpU.js","assets/AskUserQuestionCard-BnGXxHXH.js","assets/AskUserQuestionCard-DVmFCDWi.css","assets/FilePreview-LQggJd0m.js","assets/progress-BuyYfFZn.js","assets/ReportButton-Bzz2CkcM.js","assets/ReportDialog-2njW70jE.js","assets/ReportDialog-x8r9AdBz.css","assets/ReportButton-D5PDLOxZ.css","assets/modelPresentation-Dh0NlBYP.js","assets/Message-BgnTwf4e.css","assets/mic-DhjvDuzZ.js","assets/square-RZDqdJlO.js","assets/drawer-BVEcNx1I.js","assets/upload-XUGlysu6.js","assets/ImagePreview-BLcOkAKu.js","assets/Conversation-CfGZLMUg.css","assets/RealtimeCall-BqLTAntp.js","assets/RealtimeCall-DDzHuKT9.css","assets/ScheduledTasks-UXKOx_R9.js","assets/play-BHPb6zRT.js","assets/ScheduledTasks-DtkfcITj.css","assets/Artifacts-DBlRS6V-.js","assets/Artifacts-BXalS4q3.css","assets/Index-LByTkG1R.js","assets/gauge-Dr0RTbvf.js","assets/hash-CGhR3E3W.js","assets/pagination-DkzSLsHS.js","assets/taskDrawerMixin-DyAUhFEq.js","assets/pagination-CVnl1h3Q.css","assets/zap-CLXFE1AD.js","assets/ApiCodeButton-BVdwvbqZ.js","assets/ApiCodeDialog-DnvWQSux.js","assets/terminal-CihWj-P8.js","assets/CodeSnippet-CWKbGbqf.js","assets/CodeSnippet-Dn8FniX2.css","assets/ApiCodeDialog-CrD9KP77.css","assets/ApiCodeButton-CQW-tfDj.css","assets/BotPlaceholder-BMvZ2r7e.js","assets/ServicePricingSummary-CDYYBNdf.js","assets/ServicePricingSummary-CAKZ4TuZ.css","assets/ImageWrapper-CbWVwZRD.js","assets/ImageWrapper-B1-Jxag3.css","assets/ScenarioPaymentMode-BaLVOrFz.js","assets/ScenarioPaymentMode-jmwyAHOW.css","assets/generationInput-ClY8zxHb.js","assets/taskPollingMixin-CcLxtz8z.js","assets/Index-B6awspfP.css","assets/Index-KeKnmleO.js","assets/Index-CljMeIn4.css","assets/History-CotgV_jP.js","assets/History-BKuvOkpU.css","assets/Invitees-BG-VxiML.js","assets/Invitees-B-gz8u25.css","assets/Bare-MY2982fx.js","assets/Index-BtYp1mWJ.js","assets/download-e2JcTyyo.js","assets/Index-TKC7spBk.css","assets/Pay-CJMoRNwf.js","assets/Pay-CrugAt80.css","assets/Index-BTN8UlrZ.js","assets/sparkles-BvDv6ds2.js","assets/Index-B5bLHAjF.css","assets/Index-CDo_fKen.js","assets/Index-Bk-r7F8t.css","assets/Index-CjA_cn01.js","assets/Index-CYjRzuiJ.css","assets/Index-CnfZftjV.js","assets/headphones-BGX9rE2z.js","assets/AudioPreview-BW-v9N1F.js","assets/music-2-TpIjRQXw.js","assets/pause-hlQVsPkR.js","assets/AudioPreview-DJmmKcHK.css","assets/ShowcaseResultTabs-BrMvxK_-.js","assets/ShowcaseResultTabs-uzUoxyrP.css","assets/VideoPreview-B3Ge1y5k.js","assets/VideoPreview-DBUdhybU.css","assets/showcaseRecreateMixin-BWDEj-jO.js","assets/Index-Hyjv34PI.css","assets/Index-CYCyIq0c.js","assets/languages-q4pS3WIA.js","assets/Index-C8j9ji-m.css","assets/Index-BkELRl77.js","assets/Index-Cg-2uhwm.css","assets/Index-CB-LRpKw.js","assets/palette-B-I3eqTr.js","assets/paperclip-CiVURlUk.js","assets/video-DM7P7XL-.js","assets/maestroLanguages-DwLnUjSV.js","assets/Index-Bm_JpxRb.css","assets/Poivelle-gikHHTGX.js","assets/Poivelle-TTc8JHz3.css","assets/Index-BptenMvy.js","assets/house-Cq29AjkF.js","assets/mouse-pointer-2-Dktit1x1.js","assets/segmented-D0zHdf9D.js","assets/Index-DLo_vG5b.css","assets/Index-CpvCmtSL.js","assets/collapse-B0Wi9F4l.js","assets/Index-DumKuE2r.css","assets/Index-Bz1tQjLN.js","assets/Index-b16rxAgL.css","assets/Index-CljLq_wO.js","assets/Index-BXM5Fy-A.css","assets/Index-vUiofO0R.js","assets/Hailuo-wSOJTcJX.js","assets/Hailuo-enyUOJjX.css","assets/Index-UFOg3CZS.css","assets/Index-BEXZOWNw.js","assets/Index-BYTs7y1w.css","assets/Index-B2iSDu_B.js","assets/Player-BjAhlM5i.js","assets/volume-2-DoGYvPKH.js","assets/Player-Dtu9PwuV.css","assets/shuffle-C-ey6c0w.js","assets/taskPolling-BRIyWeSm.js","assets/Index-hR8WdEqg.css","assets/Index-BmqhuNpp.js","assets/Index-BkdOt9kJ.css","assets/Index-C7jnoMyw.js","assets/imageRequests-Dpxiq1GM.js","assets/Index-BEt2RJSO.css","assets/Index-C63AcaAz.js","assets/Index-D5pPqmYY.css","assets/Index-CVJaenIO.js","assets/Index-Dyppen7N.css","assets/Index-B5eICayB.js","assets/Index-D2K6aeol.css","assets/Index-HacBQi5S.js","assets/Index-ClOz04jJ.css","assets/Index-DHcNXOjD.js","assets/Index-C9XHdc5E.css","assets/Index-CC8t-QBU2.js","assets/Index-CyZjfDbd.css","assets/Index-CFwbMt9f.js","assets/Index-KEE53PO9.css","assets/Index-InwJndDx.js","assets/Index-Bn2Elff-.css","assets/Tts-kUJ8t6Tj.js","assets/TabSwitcher-B68j0iog.js","assets/TabSwitcher-Cx95Dphe.css","assets/Tts-Cdk3L6Kt.css","assets/Model-CS9NafTK.js","assets/Model-CCJ4QTLN.css","assets/Index-PWI4LACm.js","assets/Index-CELoWKv5.css","assets/Index-C7nNUO1i.js","assets/codingBridgeNotify-Bwf5NQbl.js","assets/Index-BefFog-a.css","assets/Index-DNXXlgZI.js","assets/LocalTools-d_Cpvudx.js","assets/LocalTools-B-v6mWjd.js","assets/LocalTools-C2jVUnzB.css","assets/LocalTools-QzCCfnjG.css","assets/Conversation-DyPJerS9.js","assets/Conversation-HzhVf3je.css","assets/chat-KmdJ9Xcn.js","assets/realtime-C3GP19Ox.js","assets/midjourney-YlQQ7xGW.js","assets/merge-BfSAGNo7.js","assets/qrart-ggf6-aqL.js","assets/createTaskActions-DoijteH6.js","assets/luma-DSTa_ctL.js","assets/pika-CsJCe7Ud.js","assets/kling-Bu2NuHka.js","assets/veo-DJ8zjGWr.js","assets/sora-BUctVwZa.js","assets/maestro-Cgi6iLeE.js","assets/poivelle-B_KpomXv.js","assets/digitalhuman-COquG9OT.js","assets/pixverse-CdoZ8UDF.js","assets/flux-WBOJvTOp.js","assets/hailuo-CLFyD3vr.js","assets/minimax-CYpaxOzz.js","assets/suno-Be9UhEcX.js","assets/producer-Cftxullw.js","assets/nanobanana-B5-IKS73.js","assets/openaiimage-DoIMIVMy.js","assets/seedream-DDubAk0V.js","assets/qwenimage-CbH5cDWi.js","assets/seedance-vjO0LxfY.js","assets/grokvideo-wIrAkg60.js","assets/omni-ROlnzeCN.js","assets/serp-B9uitIQK.js","assets/wan-CJgJf4gd.js","assets/fish-DnPwoPWE.js","assets/webextrator-CgBbtaN5.js","assets/codingBridge-CMi6fCj5.js","assets/NotFound-B7O570we.js","assets/NotFound-E7u9KsrQ.css","assets/web-B0taMipw.js","assets/mobileLocalExec-BGEH-cVh.js","assets/solana-wallets-BERlGY2O.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{o as e,r as t,t as n}from"./rolldown-runtime--c01j_DQ.js";import{$ as r,A as i,At as a,B as o,Bt as s,C as c,D as l,Dt as u,E as d,Et as f,G as p,Gt as m,H as h,I as g,It as _,Jt as v,K as y,Kt as b,L as x,Lt as S,M as C,Mt as w,N as T,Nt as E,Ot as D,P as ee,Q as O,Rt as te,S as k,St as A,T as ne,U as re,V as ie,Vt as ae,W as oe,Wt as j,Y as se,_ as ce,_t as le,at as M,bt as ue,ft as N,g as de,h as fe,ht as pe,it as P,j as F,k as I,kt as me,lt as he,mt as L,nt as ge,p as _e,pt as ve,qt as ye,rt as be,st as xe,tt as R,ut as Se,vt as Ce,wt as z,x as we,xt as Te,yt as Ee,z as B}from"./vendor-chart-Dw-P17PN.js";import{n as De,r as Oe}from"./vendor-vue-router-BVGjZC3n.js";import{$ as ke,A as Ae,B as je,Et as Me,F as Ne,H as Pe,I as Fe,K as Ie,Kt as Le,L as Re,N as ze,O as Be,Ot as Ve,P as He,R as Ue,S as We,St as Ge,U as Ke,X as qe,Z as Je,a as Ye,b as Xe,bt as Ze,c as Qe,dt as $e,et,h as tt,ht as nt,i as rt,it,j as at,k as ot,kt as st,lt as ct,n as lt,nt as ut,p as dt,r as ft,rt as pt,s as mt,t as ht,tt as gt,wt as _t,x as vt,xt as yt,yt as bt,z as xt}from"./icon-CDmWyIgD.js";import{a as St,c as Ct,i as wt,t as Tt}from"./install-Cn-SLM3u.js";import{t as Et}from"./debounce-5xtusvLq.js";import{t as Dt}from"./use-aria-DApzlmKf.js";import{n as Ot,r as kt,t as At}from"./event-BGnHezxC.js";import{n as jt,t as Mt}from"./scroll-kDH1KTep.js";import{_ as V,b as Nt,f as Pt,g as Ft,h as It,i as Lt,l as Rt,m as zt,r as Bt,t as Vt,v as Ht,x as Ut,y as Wt}from"./vuex.esm-bundler-BxNPLO2l.js";import{a as Gt,c as Kt,i as qt,n as Jt,r as Yt,t as Xt}from"./use-deprecated-BAB4ggjd.js";import{n as Zt,t as Qt}from"./aria-8oQuUBWy.js";import{l as $t}from"./vendor-dayjs-C9ICuEWn.js";import{t as en}from"./vnode-B_FEx-YD.js";import{$a as tn,$t as nn,Ai as rn,An as an,Ao as on,At as sn,Br as cn,Bt as ln,Ca as un,Di as dn,Dt as fn,Ea as pn,Ei as mn,En as hn,Eo as gn,Er as _n,Ga as vn,Gi as yn,Gn as bn,Ia as xn,Ii as Sn,It as Cn,Ja as wn,K as Tn,Kn as En,Kr as Dn,Lt as On,Ot as kn,Pa as An,Pr as jn,Qa as Mn,Ra as Nn,Ri as Pn,Rt as Fn,Sa as In,St as Ln,Ta as Rn,Tn as zn,Tt as Bn,Va as Vn,Xi as Hn,Xr as Un,Ya as Wn,Yn as Gn,Za as Kn,Zr as qn,_o as Jn,aa as Yn,ao as Xn,bi as Zn,bo as Qn,ca as $n,da as er,do as tr,ei as nr,en as rr,eo as ir,fa as ar,fo as or,ga as sr,go as cr,ha as lr,ho as H,ht as ur,in as dr,io as fr,kn as pr,kr as mr,kt as hr,la as gr,lo as _r,ma as vr,mo as yr,mr as br,ni as xr,nn as Sr,no as Cr,oa as wr,oo as Tr,pa as Er,pr as Dr,qi as Or,qn as kr,rn as Ar,sa as jr,tn as Mr,to as Nr,ua as Pr,ui as Fr,uo as Ir,vo as Lr,wa as Rr,wn as zr,wo as Br,wr as Vr,xa as Hr,xo as Ur,xr as Wr,yo as Gr,yt as Kr}from"./constants-XMLzMJVJ.js";import{t as U}from"./vendor-axios-Ck2ffRoh.js";import{t as W}from"./preload-helper-zJ_50EbN.js";import{t as qr}from"./__vite-browser-external-Wme9VPc1.js";import{t as Jr}from"./buffer-CnhyIITQ.js";import{r as Yr}from"./index.browser.esm-CNb4vwx1.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var Xr=`nexior:add-account`,Zr=!1;function Qr(e,t,n){if(!t?.id||!n.access)return e;let{id:r,email:i,username:a,nickname:o,avatar:s}=t,c={user:{id:r,email:i,username:a,nickname:o,avatar:s},token:{...n}},l=e.findIndex(e=>e.user.id===r);return l<0?[...e,c]:e.map((e,t)=>t===l?c:e)}function $r(){sessionStorage.setItem(Xr,String(Date.now()))}function ei(){try{sessionStorage.removeItem(Xr)}catch{}}function ti(){if(typeof sessionStorage>`u`)return!1;let e=Number(sessionStorage.getItem(Xr));return e>0&&Date.now()-e<1800*1e3}function ni(){return Zr}function ri(e,t){return{token:t.token,user:t.user,accounts:Qr(e.accounts||[],t.user,t.token),setting:e.setting,locale:e.locale,dark:e.dark,currency:e.currency,fingerprint:e.fingerprint}}function ii(e,t){let n=JSON.stringify(ri(e,t));localStorage.setItem(`vuex`,n),Zr=!0,ei(),window.location.replace(new URL(`/`,window.location.href).href)}function ai(e,t){if(!(e.storageArea!==localStorage||e.key!==`vuex`&&e.key!==null))try{if((e.newValue?JSON.parse(e.newValue)?.token?.access:void 0)===t||Zr)return;Zr=!0,ei(),window.location.replace(new URL(`/`,window.location.href).href)}catch{}}function oi(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?oi(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var si=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function ci(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>ci(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function li(e,t,n){if(e.length>0)return ci(e,t,0,si(n))}function ui(e,t,n){if(e.length>0){let r=si(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function di(e,t){for(let n of[...e])n(t)}var fi=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=oi(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=oi(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(li,e,t)}callHookParallel(e,...t){return this.callHookWith(ui,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&di(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&di(this._after,r)}):(this._after&&r&&di(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function pi(){return new fi}var mi=new Set([`link`,`style`,`script`,`noscript`]),hi=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),gi=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),_i=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),vi=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),yi=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),bi=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),xi=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),Si=[`name`,`property`,`http-equiv`],Ci=new Set([`viewport`,`description`,`keywords`,`robots`]);function wi(e){let t=e.split(`:`);return t.length?xi.has(t[1]):!1}function Ti(e){let{props:t,tag:n}=e;if(vi.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;if(n===`link`&&t.rel===`alternate`){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||``}`}if(t.charset)return`charset`;if(e.tag===`meta`){for(let r of Si)if(t[r]!==void 0){let i=t[r],a=i&&typeof i==`string`&&i.includes(`:`),o=i&&Ci.has(i);return`${n}:${i}${!(a||o)&&e.key?`:key:${e.key}`:``}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n===`link`&&t.rel===`alternate`)return`alternate:${t.href||``}`;if(hi.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function Ei(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function Di(e,t,n){typeof e==`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>Di(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=Di(r[n],t,n);return e}return r}function Oi(e,t){let n=e===`style`?new Map:new Set;function r(t){if(t==null||t===void 0)return;let r=String(t).trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e?e.trim():``);e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(String(t).trim(),String(i)):r(t))}),n}function ki(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=gi.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;return Object.entries(t).forEach(([r,i])=>{if(r===`__proto__`||r===`constructor`||r===`prototype`)return;if(i===null){e.props[r]=null;return}if(r===`class`||r===`style`){e.props[r]=Oi(r,i);return}if(yi.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof i==`object`){let n=t.type;if(t.type||(n=`application/json`),!n?.endsWith(`json`)&&n!==`speculationrules`)return;t.type=n,e.props.type=n,e[r]=JSON.stringify(i)}else e[r]=i;return}let a=r.startsWith(`data-`),o=n&&!a?r.toLowerCase():r,s=String(i),c=e.tag===`meta`&&o===`content`;s===`true`||s===``?e.props[o]=a||c?s:!0:!i&&a&&s===`false`?e.props[o]=`false`:i!==void 0&&(e.props[o]=i)}),e}function Ai(e,t){let n=ki({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});return n.key&&mi.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function ji(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=Di(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(Ai(e,n))}),r.flat()}var Mi=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Ni={base:-10,title:10},Pi={critical:-8,high:-1,low:2},Fi={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Ii=/@import/,Li=e=>e===``||e===!0;function Ri(e,t){if(typeof t.tagPriority==`number`)return t.tagPriority;let n=100,r=Pi[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Fi;if(t.tag in Ni)n=Ni[t.tag];else if(t.tag===`meta`){let e=t.props[`http-equiv`]===`content-security-policy`?`content-security-policy`:t.props.charset?`charset`:t.props.name===`viewport`?`viewport`:null;e&&(n=Fi.meta[e])}else if(t.tag===`link`&&t.props.rel)n=i.link[t.props.rel];else if(t.tag===`script`){let e=String(t.props.type);Li(t.props.async)?n=i.script.async:t.props.src&&!Li(t.props.defer)&&!Li(t.props.async)&&e!==`module`&&!e.endsWith(`json`)||t.innerHTML&&!e.endsWith(`json`)?n=i.script.sync:(Li(t.props.defer)&&t.props.src&&!Li(t.props.async)||e===`module`)&&(n=i.script.defer)}else t.tag===`style`&&(n=t.innerHTML&&Ii.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function zi(e,t){let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Bi(e={}){let t=pi();t.addHooks(e.hooks||{});let n=!e.document,r=new Map,i=new Map,a=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:e=>zi(o,e),push(e,i){let s={...i||{}};delete s.head;let c=s._index??o._entryCount++,l={_i:c,input:e,options:s},u={_poll(e=!1){o.dirty=!0,!e&&a.add(c),t.callHook(`entries:updated`,o)},dispose(){r.delete(c)&&o.invalidate()},patch(e){(!s.mode||s.mode===`server`&&n||s.mode===`client`&&!n)&&(l.input=e,r.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){let n={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook(`entries:resolve`,n);a.size;){let n=a.values().next().value;a.delete(n);let i=r.get(n);if(i){let n={tags:ji(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook(`entries:normalize`,n),i._tags=n.tags.map((e,t)=>(e._w=Ri(o,e),e._p=(i._i<<10)+t,e._d=Ti(e),e._d||(e._h=Ei(e)),e))}}let i=!1;n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(Mi).reduce((e,t)=>{let n=t._d||t._h;if(!e.has(n))return e.set(n,t);let r=e.get(n);if((t?.tagDuplicateStrategy||(bi.has(t.tag)?`merge`:null)||(t.key&&t.key===r.key?`merge`:null))===`merge`){let i={...r.props};Object.entries(t.props).forEach(([e,t])=>i[e]=e===`style`?new Map([...r.props.style||new Map,...t]):e===`class`?new Set([...r.props.class||new Set,...t]):t),e.set(n,{...t,props:i})}else t._p>>10==r._p>>10&&t.tag===`meta`&&wi(n)?(e.set(n,Object.assign([...Array.isArray(r)?r:[r],t],t)),i=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(n,t);return e},n.tagMap);let s=n.tagMap.get(`title`),c=n.tagMap.get(`titleTemplate`);if(o._title=s?.textContent,c){let e=c?.textContent;if(o._titleTemplate=e,e){let t=typeof e==`function`?e(s?.textContent):e;typeof t==`string`&&!o.plugins.has(`template-params`)&&(t=t.replace(`%s`,s?.textContent||``)),s?t===null?n.tagMap.delete(`title`):n.tagMap.set(`title`,{...s,textContent:t}):(c.tag=`title`,c.textContent=t)}}n.tags=Array.from(n.tagMap.values()),i&&(n.tags=n.tags.flat().sort(Mi)),await t.callHook(`tags:beforeResolve`,n),await t.callHook(`tags:resolve`,n),await t.callHook(`tags:afterResolve`,n);let l=[];for(let e of n.tags){let{innerHTML:t,tag:n,props:r}=e;_i.has(n)&&(Object.keys(r).length===0&&!e.innerHTML&&!e.textContent||n===`meta`&&!r.content&&!r[`http-equiv`]&&!r.charset||(n===`script`&&t&&(String(r.type).endsWith(`json`)?e.innerHTML=(typeof t==`string`?t:JSON.stringify(t)).replace(/</g,`\\u003C`):typeof t==`string`&&(e.innerHTML=t.replace(RegExp(`</${n}`,`g`),`<\\/${n}`)),e._d=Ti(e)),l.push(e)))}return l},invalidate(){for(let e of r.values())a.add(e._i);o.dirty=!0,t.callHook(`entries:updated`,o)}};return(e?.plugins||[]).forEach(e=>zi(o,e)),o.hooks.callHook(`init`,o),e.init?.forEach(e=>e&&o.push(e)),o}async function Vi(e,t={}){let n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;let r={shouldRender:!0,tags:[]};if(await e.hooks.callHook(`dom:beforeRender`,r),r.shouldRender)return e._domUpdatePromise||=new Promise(async t=>{let r=new Map,i=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{let t=r.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||e._h,shouldRender:!0};return e._d&&wi(e._d)&&r.set(e._d,t+1),n}))})}),a=e._dom;if(!a){a={title:n.title,elMap:new Map().set(`htmlAttrs`,n.documentElement).set(`bodyAttrs`,n.body)};for(let e of[`body`,`head`]){let t=n[e]?.children;for(let e of t){let t=e.tagName.toLowerCase();if(!gi.has(t))continue;let n=ki({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute(`data-hid`)||void 0,n._d=Ti(n)||Ei(n),a.elMap.has(n._d)){let t=1,r=n._d;for(;a.elMap.has(r);)r=`${n._d}:${t++}`;a.elMap.set(r,e)}else a.elMap.set(n._d,e)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function o(e,t,n){let r=`${e}:${t}`;a.sideEffects[r]=n,delete a.pendingSideEffects[r]}function s({id:e,$el:t,tag:r}){let i=r.tag.endsWith(`Attrs`);a.elMap.set(e,t),i||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),o(e,`el`,()=>{t?.remove(),a.elMap.delete(e)}));for(let a in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,a))continue;let s=r.props[a];if(a.startsWith(`on`)&&typeof s==`function`){let e=t?.dataset;if(e&&e[`${a}fired`]){let e=a.slice(0,-5);s.call(t,new Event(e.substring(2)))}t.getAttribute(`data-${a}`)!==``&&((r.tag===`bodyAttrs`?n.defaultView:t).addEventListener(a.substring(2),s.bind(t)),t.setAttribute(`data-${a}`,``));continue}let c=`attr:${a}`;if(a===`class`){if(!s)continue;for(let n of s)i&&o(e,`${c}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if(a===`style`){if(!s)continue;for(let[n,r]of s)o(e,`${c}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,r)}else s!==!1&&s!==null&&(t.getAttribute(a)!==s&&t.setAttribute(a,s===!0?``:String(s)),i&&o(e,c,()=>t.removeAttribute(a)))}}let c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await i;for(let e of u){let{tag:t,shouldRender:r,id:i}=e;if(r){if(t.tag===`title`){n.title=t.textContent,o(`title`,``,()=>n.title=a.title);continue}e.$el=e.$el||a.elMap.get(i),e.$el?s(e):gi.has(t.tag)&&c.push(e)}}for(let e of c){let t=e.tag.tagPosition||`head`;e.$el=n.createElement(e.tag.tag),s(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(let t of u)await e.hooks.callHook(`dom:renderTag`,t,n,o);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(let e in a.pendingSideEffects)a.pendingSideEffects[e]();e._dom=a,await e.hooks.callHook(`dom:rendered`,{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1}),e._domUpdatePromise}function Hi(e={}){let t=e.domOptions?.render||Vi;e.document=e.document||(typeof window<`u`?document:void 0);let n=e.document?.head.querySelector(`script[id="unhead:payload"]`)?.innerHTML||!1;return Bi({...e,plugins:[...e.plugins||[],{key:`client`,hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Ui(e,t){let n=0;return()=>{let r=++n;t(()=>{n===r&&e()})}}var Wi=`usehead`;function Gi(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Wi,e)}}.install}function Ki(e={}){let t=Hi({domOptions:{render:Ui(()=>Vi(t),e=>setTimeout(e,0))},...e});return t.install=Gi(t),t}function qi(e){return document.readyState===`loading`?new Promise(t=>{document.addEventListener(`DOMContentLoaded`,()=>t(e))}):Promise.resolve(e)}var Ji=B({setup(e,{slots:t}){let n=z(!1);return O(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function Yi(e){try{return JSON.parse(e||`{}`)}catch(t){return console.error(`[SSG] On state deserialization -`,t,e),{}}}function Xi(e,t,n,r){let{transformState:i,registerComponents:a=!0,useHead:o=!0,rootContainer:s=`#app`}=r??{};async function c(s){let c=r?.hydration?de(e):fe(e),l;o&&c.use(l=Ki());let u=De({history:Oe(t.base),...t}),{routes:d}=t;a&&c.component(`ClientOnly`,Ji);let f=[],p={app:c,head:l,isClient:!0,router:u,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(f.map(e=>e())),initialState:{},transformState:i,routePath:s};await qi(),p.initialState=i?.(window.__INITIAL_STATE__||{})||Yi(window.__INITIAL_STATE__),await n?.(p),c.use(u);let m,h=!0;u.beforeEach((e,t,n)=>{(h||m&&m===e.path)&&(h=!1,m=e.path,e.meta.state=p.initialState),n()});let g=p.initialState;return{...p,initialState:g}}return(async()=>{let{app:e,router:t}=await c();await t.isReady(),e.mount(s,!0)})(),c}var Zi;(function(e){e.Unimplemented=`UNIMPLEMENTED`,e.Unavailable=`UNAVAILABLE`})(Zi||={});var Qi=class extends Error{constructor(e,t,n){super(e),this.message=e,this.code=t,this.data=n}},$i=e=>e?.androidBridge?`android`:e?.webkit?.messageHandlers?.bridge?`ios`:`web`,ea=e=>{let t=e.CapacitorCustomPlatform||null,n=e.Capacitor||{},r=n.Plugins=n.Plugins||{},i=()=>t===null?$i(e):t.name,a=()=>i()!==`web`,o=e=>!!(l.get(e)?.platforms.has(i())||s(e)),s=e=>n.PluginHeaders?.find(t=>t.name===e),c=t=>e.console.error(t),l=new Map;return n.convertFileSrc||=e=>e,n.getPlatform=i,n.handleError=c,n.isNativePlatform=a,n.isPluginAvailable=o,n.registerPlugin=(e,a={})=>{let o=l.get(e);if(o)return console.warn(`Capacitor plugin "${e}" already registered. Cannot register plugins twice.`),o.proxy;let c=i(),u=s(e),d,f=async()=>(!d&&c in a?d=d=typeof a[c]==`function`?await a[c]():a[c]:t!==null&&!d&&`web`in a&&(d=d=typeof a.web==`function`?await a.web():a.web),d),p=(t,r)=>{if(u){let i=u?.methods.find(e=>r===e.name);if(i)return i.rtype===`promise`?t=>n.nativePromise(e,r.toString(),t):(t,i)=>n.nativeCallback(e,r.toString(),t,i);if(t)return t[r]?.bind(t)}else if(t)return t[r]?.bind(t);else throw new Qi(`"${e}" plugin is not implemented on ${c}`,Zi.Unimplemented)},m=t=>{let n,r=(...r)=>{let i=f().then(i=>{let a=p(i,t);if(a){let e=a(...r);return n=e?.remove,e}else throw new Qi(`"${e}.${t}()" is not implemented on ${c}`,Zi.Unimplemented)});return t===`addListener`&&(i.remove=async()=>n()),i};return r.toString=()=>`${t.toString()}() { [capacitor code] }`,Object.defineProperty(r,"name",{value:t,writable:!1,configurable:!1}),r},h=m(`addListener`),g=m(`removeListener`),_=(e,t)=>{let n=h({eventName:e},t),r=async()=>{g({eventName:e,callbackId:await n},t)},i=new Promise(e=>n.then(()=>e({remove:r})));return i.remove=async()=>{console.warn(`Using addListener() without 'await' is deprecated.`),await r()},i},v=new Proxy({},{get(e,t){switch(t){case`$$typeof`:return;case`toJSON`:return()=>({});case`addListener`:return u?_:h;case`removeListener`:return g;default:return m(t)}}});return r[e]=v,l.set(e,{name:e,proxy:v,platforms:new Set([...Object.keys(a),...u?[c]:[]])}),v},n.Exception=Qi,n.DEBUG=!!n.DEBUG,n.isLoggingEnabled=!!n.isLoggingEnabled,n},ta=(e=>e.Capacitor=ea(e))(typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}),na=ta.registerPlugin,ra=class{constructor(){this.listeners={},this.retainedEventArguments={},this.windowListeners={}}addListener(e,t){let n=!1;this.listeners[e]||(this.listeners[e]=[],n=!0),this.listeners[e].push(t);let r=this.windowListeners[e];return r&&!r.registered&&this.addWindowListener(r),n&&this.sendRetainedArgumentsForEvent(e),Promise.resolve({remove:async()=>this.removeListener(e,t)})}async removeAllListeners(){this.listeners={};for(let e in this.windowListeners)this.removeWindowListener(this.windowListeners[e]);this.windowListeners={}}notifyListeners(e,t,n){let r=this.listeners[e];if(!r){if(n){let n=this.retainedEventArguments[e];n||=[],n.push(t),this.retainedEventArguments[e]=n}return}r.forEach(e=>e(t))}hasListeners(e){return!!this.listeners[e]?.length}registerWindowListener(e,t){this.windowListeners[t]={registered:!1,windowEventName:e,pluginEventName:t,handler:e=>{this.notifyListeners(t,e)}}}unimplemented(e=`not implemented`){return new ta.Exception(e,Zi.Unimplemented)}unavailable(e=`not available`){return new ta.Exception(e,Zi.Unavailable)}async removeListener(e,t){let n=this.listeners[e];if(!n)return;let r=n.indexOf(t);this.listeners[e].splice(r,1),this.listeners[e].length||this.removeWindowListener(this.windowListeners[e])}addWindowListener(e){window.addEventListener(e.windowEventName,e.handler),e.registered=!0}removeWindowListener(e){e&&(window.removeEventListener(e.windowEventName,e.handler),e.registered=!1)}sendRetainedArgumentsForEvent(e){let t=this.retainedEventArguments[e];t&&(delete this.retainedEventArguments[e],t.forEach(t=>{this.notifyListeners(e,t)}))}},ia=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),aa=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent),oa=class extends ra{async getCookies(){let e=document.cookie,t={};return e.split(`;`).forEach(e=>{if(e.length<=0)return;let[n,r]=e.replace(/=/,`CAP_COOKIE`).split(`CAP_COOKIE`);n=aa(n).trim(),r=aa(r).trim(),t[n]=r}),t}async setCookie(e){try{let t=ia(e.key),n=ia(e.value),r=e.expires?`; expires=${e.expires.replace(`expires=`,``)}`:``,i=(e.path||`/`).replace(`path=`,``),a=e.url!=null&&e.url.length>0?`domain=${e.url}`:``;document.cookie=`${t}=${n||``}${r}; path=${i}; ${a};`}catch(e){return Promise.reject(e)}}async deleteCookie(e){try{document.cookie=`${e.key}=; Max-Age=0`}catch(e){return Promise.reject(e)}}async clearCookies(){try{let e=document.cookie.split(`;`)||[];for(let t of e)document.cookie=t.replace(/^ +/,``).replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(e){return Promise.reject(e)}}async clearAllCookies(){try{await this.clearCookies()}catch(e){return Promise.reject(e)}}};na(`CapacitorCookies`,{web:()=>new oa});var sa=async e=>new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{let e=r.result;t(e.indexOf(`,`)>=0?e.split(`,`)[1]:e)},r.onerror=e=>n(e),r.readAsDataURL(e)}),ca=(e={})=>{let t=Object.keys(e);return Object.keys(e).map(e=>e.toLocaleLowerCase()).reduce((n,r,i)=>(n[r]=e[t[i]],n),{})},la=(e,t=!0)=>e?Object.entries(e).reduce((e,n)=>{let[r,i]=n,a,o;return Array.isArray(i)?(o=``,i.forEach(e=>{a=t?encodeURIComponent(e):e,o+=`${r}=${a}&`}),o.slice(0,-1)):(a=t?encodeURIComponent(i):i,o=`${r}=${a}`),`${e}&${o}`},``).substr(1):null,ua=(e,t={})=>{let n=Object.assign({method:e.method||`GET`,headers:e.headers},t),r=ca(e.headers)[`content-type`]||``;if(typeof e.data==`string`)n.body=e.data;else if(r.includes(`application/x-www-form-urlencoded`)){let t=new URLSearchParams;for(let[n,r]of Object.entries(e.data||{}))t.set(n,r);n.body=t.toString()}else if(r.includes(`multipart/form-data`)||e.data instanceof FormData){let t=new FormData;if(e.data instanceof FormData)e.data.forEach((e,n)=>{t.append(n,e)});else for(let n of Object.keys(e.data))t.append(n,e.data[n]);n.body=t;let r=new Headers(n.headers);r.delete(`content-type`),n.headers=r}else (r.includes(`application/json`)||typeof e.data==`object`)&&(n.body=JSON.stringify(e.data));return n},da=class extends ra{async request(e){let t=ua(e,e.webFetchExtra),n=la(e.params,e.shouldEncodeUrlParams),r=n?`${e.url}?${n}`:e.url,i=await fetch(r,t),a=i.headers.get(`content-type`)||``,{responseType:o=`text`}=i.ok?e:{};a.includes(`application/json`)&&(o=`json`);let s,c;switch(o){case`arraybuffer`:case`blob`:c=await i.blob(),s=await sa(c);break;case`json`:s=await i.json();break;default:s=await i.text()}let l={};return i.headers.forEach((e,t)=>{l[t]=e}),{data:s,headers:l,status:i.status,url:i.url}}async get(e){return this.request(Object.assign(Object.assign({},e),{method:`GET`}))}async post(e){return this.request(Object.assign(Object.assign({},e),{method:`POST`}))}async put(e){return this.request(Object.assign(Object.assign({},e),{method:`PUT`}))}async patch(e){return this.request(Object.assign(Object.assign({},e),{method:`PATCH`}))}async delete(e){return this.request(Object.assign(Object.assign({},e),{method:`DELETE`}))}};na(`CapacitorHttp`,{web:()=>new da});var fa;(function(e){e.Dark=`DARK`,e.Light=`LIGHT`,e.Default=`DEFAULT`})(fa||={});var pa;(function(e){e.StatusBar=`StatusBar`,e.NavigationBar=`NavigationBar`})(pa||={});var ma=class extends ra{async setStyle(){this.unavailable(`not available for web`)}async setAnimation(){this.unavailable(`not available for web`)}async show(){this.unavailable(`not available for web`)}async hide(){this.unavailable(`not available for web`)}};na(`SystemBars`,{web:()=>new ma});var ha=`Expected a function`;function ga(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(ha);return Le(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),Et(e,t,{leading:r,maxWait:t,trailing:i})}var _a=()=>nt&&/firefox/i.test(window.navigator.userAgent),va=void 0,ya={height:`0`,visibility:`hidden`,overflow:_a()?``:`hidden`,position:`absolute`,"z-index":`-1000`,top:`0`,right:`0`},ba=[`letter-spacing`,`line-height`,`padding-top`,`padding-bottom`,`font-family`,`font-weight`,`font-size`,`text-rendering`,`text-transform`,`width`,`text-indent`,`padding-left`,`padding-right`,`border-width`,`box-sizing`];function xa(e){let t=window.getComputedStyle(e),n=t.getPropertyValue(`box-sizing`),r=Number.parseFloat(t.getPropertyValue(`padding-bottom`))+Number.parseFloat(t.getPropertyValue(`padding-top`)),i=Number.parseFloat(t.getPropertyValue(`border-bottom-width`))+Number.parseFloat(t.getPropertyValue(`border-top-width`));return{contextStyle:ba.map(e=>[e,t.getPropertyValue(e)]),paddingSize:r,borderSize:i,boxSizing:n}}function Sa(e,t=1,n){var r;va||(va=document.createElement(`textarea`),document.body.appendChild(va));let{paddingSize:i,borderSize:a,boxSizing:o,contextStyle:s}=xa(e);s.forEach(([e,t])=>va?.style.setProperty(e,t)),Object.entries(ya).forEach(([e,t])=>va?.style.setProperty(e,t,`important`)),va.value=e.value||e.placeholder||``;let c=va.scrollHeight,l={};o===`border-box`?c+=a:o===`content-box`&&(c-=i),va.value=``;let u=va.scrollHeight-i;if(_t(t)){let e=u*t;o===`border-box`&&(e=e+i+a),c=Math.max(e,c),l.minHeight=`${e}px`}if(_t(n)){let e=u*n;o===`border-box`&&(e=e+i+a),c=Math.min(e,c)}return l.height=`${c}px`,(r=va.parentNode)==null||r.removeChild(va),va=void 0,l}var Ca=ke({id:{type:String,default:void 0},size:qe,disabled:Boolean,modelValue:{type:et([String,Number,Object]),default:``},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:`text`},resize:{type:String,values:[`none`,`both`,`horizontal`,`vertical`]},autosize:{type:et([Boolean,Object]),default:!1},autocomplete:{type:String,default:`off`},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:Ye},prefixIcon:{type:Ye},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:et([Object,Array,String]),default:()=>Ut({})},autofocus:Boolean,rows:{type:Number,default:2},...Dt([`ariaLabel`]),inputmode:{type:et(String),default:void 0},name:String}),wa={[kt]:e=>j(e),input:e=>j(e),change:e=>j(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Ta=[`class`,`style`],Ea=/^on[A-Z]/,Da=(e={})=>{let{excludeListeners:t=!1,excludeKeys:n}=e,r=I(()=>(n?.value||[]).concat(Ta)),i=o();return i?I(()=>st(Object.entries(i.proxy?.$attrs).filter(([e])=>!r.value.includes(e)&&!(t&&Ea.test(e))))):(pt(`use-attrs`,`getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function`),I(()=>({})))};function Oa(e,{disabled:t,beforeFocus:n,afterFocus:r,beforeBlur:i,afterBlur:a}={}){let{emit:c}=o(),l=f(),u=z(!1),d=e=>{let i=s(n)?n(e):!1;w(t)||u.value||i||(u.value=!0,c(`focus`,e),r?.())},p=e=>{let n=s(i)?i(e):!1;w(t)||e.relatedTarget&&l.value?.contains(e.relatedTarget)||n||(u.value=!1,c(`blur`,e),a?.())};return N([l,()=>w(t)],([e,t])=>{e&&(t?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,`-1`))}),ct(l,`focus`,d,!0),ct(l,`blur`,p,!0),ct(l,`click`,n=>{var r;w(t)||Qt(n.target)||l.value?.contains(document.activeElement)&&l.value!==document.activeElement||(r=e.value)==null||r.focus()},!0),{isFocused:u,wrapperRef:l,handleFocus:d,handleBlur:p}}var ka=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function Aa({afterComposition:e,emit:t}){let n=z(!1),r=e=>{t?.(`compositionstart`,e),n.value=!0},i=e=>{t?.(`compositionupdate`,e);let r=e.target?.value;n.value=!ka(r[r.length-1]||``)},a=r=>{t?.(`compositionend`,r),n.value&&(n.value=!1,y(()=>e(r)))};return{isComposing:n,handleComposition:e=>{e.type===`compositionend`?a(e):i(e)},handleCompositionStart:r,handleCompositionUpdate:i,handleCompositionEnd:a}}function ja(e){let t;function n(){if(e.value==null)return;let{selectionStart:n,selectionEnd:r,value:i}=e.value;n==null||r==null||(t={selectionStart:n,selectionEnd:r,value:i,beforeTxt:i.slice(0,Math.max(0,n)),afterTxt:i.slice(Math.max(0,r))})}function r(){if(e.value==null||t==null)return;let{value:n}=e.value,{beforeTxt:r,afterTxt:i,selectionStart:a}=t;if(r==null||i==null||a==null)return;let o=n.length;if(n.endsWith(i))o=n.length-i.length;else if(n.startsWith(r))o=r.length;else{let e=r[a-1],t=n.indexOf(e,a-1);t!==-1&&(o=t+1)}e.value.setSelectionRange(o,o)}return[n,r]}var Ma=`ElInput`,Na=Tt(St(B({...B({name:Ma,inheritAttrs:!1}),props:Ca,emits:wa,setup(e,{expose:t,emit:n}){let r=e,a=he(),o=Da(),s=Se(),l=I(()=>[r.type===`textarea`?ee.b():S.b(),S.m(_.value),S.is(`disabled`,b.value),S.is(`exceed`,Te.value),{[S.b(`group`)]:s.prepend||s.append,[S.m(`prefix`)]:s.prefix||r.prefixIcon,[S.m(`suffix`)]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[S.bm(`suffix`,`password-clear`)]:ve.value&&be.value,[S.b(`hidden`)]:r.type===`hidden`},a.class]),u=I(()=>[S.e(`wrapper`),S.is(`focus`,ce.value)]),{form:d,formItem:h}=qt(),{inputId:g}=Gt(r,{formItemContext:h}),_=Yt(),b=Jt(),S=Ct(`input`),ee=Ct(`textarea`),te=f(),k=f(),A=z(!1),re=z(!1),ie=z(),oe=f(r.inputStyle),j=I(()=>te.value||k.value),{wrapperRef:se,isFocused:ce,handleFocus:le,handleBlur:M}=Oa(j,{disabled:b,afterBlur(){var e;r.validateEvent&&((e=h?.validate)==null||e.call(h,`blur`).catch(e=>pt(e)))}}),ue=I(()=>d?.statusIcon??!1),de=I(()=>h?.validateState||``),fe=I(()=>de.value&&rt[de.value]),pe=I(()=>re.value?at:vt),me=I(()=>[a.style]),ge=I(()=>[r.inputStyle,oe.value,{resize:r.resize}]),_e=I(()=>Ve(r.modelValue)?``:String(r.modelValue)),ve=I(()=>r.clearable&&!b.value&&!r.readonly&&!!_e.value&&(ce.value||A.value)),be=I(()=>r.showPassword&&!b.value&&!!_e.value),Ce=I(()=>r.showWordLimit&&!!r.maxlength&&(r.type===`text`||r.type===`textarea`)&&!b.value&&!r.readonly&&!r.showPassword),we=I(()=>_e.value.length),Te=I(()=>!!Ce.value&&we.value>Number(r.maxlength)),Ee=I(()=>!!s.suffix||!!r.suffixIcon||ve.value||r.showPassword||Ce.value||!!de.value&&ue.value),[B,De]=ja(te);$e(k,e=>{if(ke(),!Ce.value||r.resize!==`both`)return;let{width:t}=e[0].contentRect;ie.value={right:`calc(100% - ${t+15+6}px)`}});let Oe=()=>{let{type:e,autosize:t}=r;if(!(!nt||e!==`textarea`||!k.value))if(t){let e=ae(t)?t.minRows:void 0,n=ae(t)?t.maxRows:void 0,r=Sa(k.value,e,n);oe.value={overflowY:`hidden`,...r},y(()=>{k.value.offsetHeight,oe.value=r})}else oe.value={minHeight:Sa(k.value).minHeight}},ke=(e=>{let t=!1;return()=>{t||!r.autosize||k.value?.offsetParent!==null&&(e(),t=!0)}})(Oe),Ae=()=>{let e=j.value,t=r.formatter?r.formatter(_e.value):_e.value;!e||e.value===t||(e.value=t)},je=async e=>{B();let{value:t}=e.target;if(r.formatter&&r.parser&&(t=r.parser(t)),!Pe.value){if(t===_e.value){Ae();return}n(kt,t),n(Ot,t),await y(),Ae(),De()}},Me=e=>{let{value:t}=e.target;r.formatter&&r.parser&&(t=r.parser(t)),n(At,t)},{isComposing:Pe,handleCompositionStart:Fe,handleCompositionUpdate:Ie,handleCompositionEnd:Le}=Aa({emit:n,afterComposition:je}),Re=()=>{B(),re.value=!re.value,setTimeout(De)},ze=()=>j.value?.focus(),Be=()=>j.value?.blur(),He=e=>{A.value=!1,n(`mouseleave`,e)},Ue=e=>{A.value=!0,n(`mouseenter`,e)},We=e=>{n(`keydown`,e)},Ge=()=>{var e;(e=j.value)==null||e.select()},Ke=()=>{n(kt,``),n(At,``),n(`clear`),n(Ot,``)};return N(()=>r.modelValue,()=>{var e;y(()=>Oe()),r.validateEvent&&((e=h?.validate)==null||e.call(h,`change`).catch(e=>pt(e)))}),N(_e,()=>Ae()),N(()=>r.type,async()=>{await y(),Ae(),Oe()}),O(()=>{!r.formatter&&r.parser&&pt(Ma,`If you set the parser, you also need to set the formatter.`),Ae(),y(Oe)}),t({input:te,textarea:k,ref:j,textareaStyle:ge,autosize:D(r,`autosize`),isComposing:Pe,focus:ze,blur:Be,select:Ge,clear:Ke,resizeTextarea:Oe}),(e,t)=>(R(),T(`div`,{class:m([w(l),{[w(S).bm(`group`,`append`)]:e.$slots.append,[w(S).bm(`group`,`prepend`)]:e.$slots.prepend}]),style:ye(w(me)),onMouseenter:Ue,onMouseleave:He},[C(` input `),e.type===`textarea`?(R(),T(ne,{key:1},[C(` textarea `),i(`textarea`,p({id:w(g),ref_key:`textarea`,ref:k,class:[w(ee).e(`inner`),w(S).is(`focus`,w(ce))]},w(o),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:w(b),readonly:e.readonly,autocomplete:e.autocomplete,style:w(ge),"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,onCompositionstart:w(Fe),onCompositionupdate:w(Ie),onCompositionend:w(Le),onInput:je,onFocus:w(le),onBlur:w(M),onChange:Me,onKeydown:We}),null,16,[`id`,`minlength`,`maxlength`,`tabindex`,`disabled`,`readonly`,`autocomplete`,`aria-label`,`placeholder`,`form`,`autofocus`,`rows`,`role`,`onCompositionstart`,`onCompositionupdate`,`onCompositionend`,`onFocus`,`onBlur`]),w(Ce)?(R(),T(`span`,{key:0,style:ye(ie.value),class:m(w(S).e(`count`))},v(w(we))+` / `+v(e.maxlength),7)):C(`v-if`,!0)],64)):(R(),T(ne,{key:0},[C(` prepend slot `),e.$slots.prepend?(R(),T(`div`,{key:0,class:m(w(S).be(`group`,`prepend`))},[P(e.$slots,`prepend`)],2)):C(`v-if`,!0),i(`div`,{ref_key:`wrapperRef`,ref:se,class:m(w(u))},[C(` prefix slot `),e.$slots.prefix||e.prefixIcon?(R(),T(`span`,{key:0,class:m(w(S).e(`prefix`))},[i(`span`,{class:m(w(S).e(`prefix-inner`))},[P(e.$slots,`prefix`),e.prefixIcon?(R(),F(w(Ne),{key:0,class:m(w(S).e(`icon`))},{default:L(()=>[(R(),F(xe(e.prefixIcon)))]),_:1},8,[`class`])):C(`v-if`,!0)],2)],2)):C(`v-if`,!0),i(`input`,p({id:w(g),ref_key:`input`,ref:te,class:w(S).e(`inner`)},w(o),{name:e.name,minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?re.value?`text`:`password`:e.type,disabled:w(b),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:w(Fe),onCompositionupdate:w(Ie),onCompositionend:w(Le),onInput:je,onChange:Me,onKeydown:We}),null,16,[`id`,`name`,`minlength`,`maxlength`,`type`,`disabled`,`readonly`,`autocomplete`,`tabindex`,`aria-label`,`placeholder`,`form`,`autofocus`,`role`,`inputmode`,`onCompositionstart`,`onCompositionupdate`,`onCompositionend`]),C(` suffix slot `),w(Ee)?(R(),T(`span`,{key:1,class:m(w(S).e(`suffix`))},[i(`span`,{class:m(w(S).e(`suffix-inner`))},[!w(ve)||!w(be)||!w(Ce)?(R(),T(ne,{key:0},[P(e.$slots,`suffix`),e.suffixIcon?(R(),F(w(Ne),{key:0,class:m(w(S).e(`icon`))},{default:L(()=>[(R(),F(xe(e.suffixIcon)))]),_:1},8,[`class`])):C(`v-if`,!0)],64)):C(`v-if`,!0),w(ve)?(R(),F(w(Ne),{key:1,class:m([w(S).e(`icon`),w(S).e(`clear`)]),onMousedown:c(w(E),[`prevent`]),onClick:Ke},{default:L(()=>[x(w(dt))]),_:1},8,[`class`,`onMousedown`])):C(`v-if`,!0),w(be)?(R(),F(w(Ne),{key:2,class:m([w(S).e(`icon`),w(S).e(`password`)]),onClick:Re},{default:L(()=>[(R(),F(xe(w(pe))))]),_:1},8,[`class`])):C(`v-if`,!0),w(Ce)?(R(),T(`span`,{key:3,class:m(w(S).e(`count`))},[i(`span`,{class:m(w(S).e(`count-inner`))},v(w(we))+` / `+v(e.maxlength),3)],2)):C(`v-if`,!0),w(de)&&w(fe)&&w(ue)?(R(),F(w(Ne),{key:4,class:m([w(S).e(`icon`),w(S).e(`validateIcon`),w(S).is(`loading`,w(de)===`validating`)])},{default:L(()=>[(R(),F(xe(w(fe))))]),_:1},8,[`class`])):C(`v-if`,!0)],2)],2)):C(`v-if`,!0)],2),C(` append slot `),e.$slots.append?(R(),T(`div`,{key:1,class:m(w(S).be(`group`,`append`))},[P(e.$slots,`append`)],2)):C(`v-if`,!0)],64))],38))}}),[[`__file`,`input.vue`]])),Pa=`focus-trap.focus-after-trapped`,Fa=`focus-trap.focus-after-released`,Ia=`focus-trap.focusout-prevented`,La={cancelable:!0,bubbles:!1},Ra={cancelable:!0,bubbles:!1},za=`focusAfterTrapped`,Ba=`focusAfterReleased`,Va=Symbol(`elFocusTrap`),Ha=z(),Ua=z(0),Wa=z(0),Ga=0,Ka=e=>{let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},qa=(e,t)=>{for(let n of e)if(!Ja(n,t))return n},Ja=(e,t)=>{if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1},Ya=e=>{let t=Ka(e);return[qa(t,e),qa(t.reverse(),e)]},Xa=e=>e instanceof HTMLInputElement&&`select`in e,Za=(e,t)=>{if(e&&e.focus){let n=document.activeElement,r=!1;Ge(e)&&!Qt(e)&&!e.getAttribute(`tabindex`)&&(e.setAttribute(`tabindex`,`-1`),r=!0),e.focus({preventScroll:!0}),Wa.value=window.performance.now(),e!==n&&Xa(e)&&t&&e.select(),Ge(e)&&r&&e.removeAttribute(`tabindex`)}};function Qa(e,t){let n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}var $a=()=>{let e=[];return{push:t=>{let n=e[0];n&&t!==n&&n.pause(),e=Qa(e,t),e.unshift(t)},remove:t=>{var n,r;e=Qa(e,t),(r=(n=e[0])?.resume)==null||r.call(n)}}},eo=(e,t=!1)=>{let n=document.activeElement;for(let r of e)if(Za(r,t),document.activeElement!==n)return},to=$a(),no=()=>Ua.value>Wa.value,ro=()=>{Ha.value=`pointer`,Ua.value=window.performance.now()},io=()=>{Ha.value=`keyboard`,Ua.value=window.performance.now()},ao=()=>(O(()=>{Ga===0&&(document.addEventListener(`mousedown`,ro),document.addEventListener(`touchstart`,ro),document.addEventListener(`keydown`,io)),Ga++}),se(()=>{Ga--,Ga<=0&&(document.removeEventListener(`mousedown`,ro),document.removeEventListener(`touchstart`,ro),document.removeEventListener(`keydown`,io))}),{focusReason:Ha,lastUserFocusTimestamp:Ua,lastAutomatedFocusTimestamp:Wa}),oo=e=>new CustomEvent(Ia,{...Ra,detail:e}),so=[],co=e=>{e.code===Nt.esc&&so.forEach(t=>t(e))},lo=e=>{O(()=>{so.length===0&&document.addEventListener(`keydown`,co),nt&&so.push(e)}),se(()=>{so=so.filter(t=>t!==e),so.length===0&&nt&&document.removeEventListener(`keydown`,co)})},uo=B({name:`ElFocusTrap`,inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:`first`}},emits:[za,Ba,`focusin`,`focusout`,`focusout-prevented`,`release-requested`],setup(e,{emit:t}){let n=z(),r,i,{focusReason:a}=ao();lo(n=>{e.trapped&&!o.paused&&t(`release-requested`,n)});let o={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=n=>{if(!e.loop&&!e.trapped||o.paused)return;let{code:r,altKey:i,ctrlKey:s,metaKey:c,currentTarget:l,shiftKey:u}=n,{loop:d}=e,f=r===Nt.tab&&!i&&!s&&!c,p=document.activeElement;if(f&&p){let e=l,[r,i]=Ya(e);if(!(r&&i)){if(p===e){let e=oo({focusReason:a.value});t(`focusout-prevented`,e),e.defaultPrevented||n.preventDefault()}}else if(!u&&p===i){let e=oo({focusReason:a.value});t(`focusout-prevented`,e),e.defaultPrevented||(n.preventDefault(),d&&Za(r,!0))}else if(u&&[r,e].includes(p)){let e=oo({focusReason:a.value});t(`focusout-prevented`,e),e.defaultPrevented||(n.preventDefault(),d&&Za(i,!0))}}};ge(Va,{focusTrapRef:n,onKeydown:s}),N(()=>e.focusTrapEl,e=>{e&&(n.value=e)},{immediate:!0}),N([n],([e],[t])=>{e&&(e.addEventListener(`keydown`,s),e.addEventListener(`focusin`,u),e.addEventListener(`focusout`,d)),t&&(t.removeEventListener(`keydown`,s),t.removeEventListener(`focusin`,u),t.removeEventListener(`focusout`,d))});let c=e=>{t(za,e)},l=e=>t(Ba,e),u=a=>{let s=w(n);if(!s)return;let c=a.target,l=a.relatedTarget,u=c&&s.contains(c);e.trapped||l&&s.contains(l)||(r=l),u&&t(`focusin`,a),!o.paused&&e.trapped&&(u?i=c:Za(i,!0))},d=r=>{let s=w(n);if(!(o.paused||!s))if(e.trapped){let n=r.relatedTarget;!Ve(n)&&!s.contains(n)&&setTimeout(()=>{if(!o.paused&&e.trapped){let e=oo({focusReason:a.value});t(`focusout-prevented`,e),e.defaultPrevented||Za(i,!0)}},0)}else{let e=r.target;e&&s.contains(e)||t(`focusout`,r)}};async function f(){await y();let t=w(n);if(t){to.push(o);let n=t.contains(document.activeElement)?r:document.activeElement;if(r=n,!t.contains(n)){let r=new Event(Pa,La);t.addEventListener(Pa,c),t.dispatchEvent(r),r.defaultPrevented||y(()=>{let r=e.focusStartEl;j(r)||(Za(r),document.activeElement!==r&&(r=`first`)),r===`first`&&eo(Ka(t),!0),(document.activeElement===n||r===`container`)&&Za(t)})}}}function p(){let e=w(n);if(e){e.removeEventListener(Pa,c);let t=new CustomEvent(Fa,{...La,detail:{focusReason:a.value}});e.addEventListener(Fa,l),e.dispatchEvent(t),!t.defaultPrevented&&(a.value==`keyboard`||!no()||e.contains(document.activeElement))&&Za(r??document.body),e.removeEventListener(Fa,l),to.remove(o)}}return O(()=>{e.trapped&&f(),N(()=>e.trapped,e=>{e?f():p()})}),se(()=>{e.trapped&&p(),n.value&&=(n.value.removeEventListener(`keydown`,s),n.value.removeEventListener(`focusin`,u),n.value.removeEventListener(`focusout`,d),void 0)}),{onKeydown:s}}});function fo(e,t,n,r,i,a){return P(e.$slots,`default`,{handleKeydown:e.onKeydown})}var po=St(uo,[[`render`,fo],[`__file`,`focus-trap.vue`]]),mo=ke({to:{type:et([String,Object]),required:!0},disabled:Boolean}),ho=Tt(St(B({__name:`teleport`,props:mo,setup(e){return(e,t)=>e.disabled?P(e.$slots,`default`,{key:0}):(R(),F(d,{key:1,to:e.to},[P(e.$slots,`default`)],8,[`to`]))}}),[[`__file`,`teleport.vue`]])),go=Symbol(`buttonGroupContextKey`),_o=(e,t)=>{Xt({from:`type.text`,replacement:`link`,version:`3.0.0`,scope:`props`,ref:`https://element-plus.org/en-US/component/button.html#button-attributes`},I(()=>e.type===`text`));let n=re(go,void 0),r=Ke(`button`),{form:i}=qt(),a=Yt(I(()=>n?.size)),o=Jt(),s=z(),c=Se(),u=I(()=>e.type||n?.type||r.value?.type||``),d=I(()=>e.autoInsertSpace??r.value?.autoInsertSpace??!1),f=I(()=>e.plain??r.value?.plain??!1),p=I(()=>e.round??r.value?.round??!1);return{_disabled:o,_size:a,_type:u,_ref:s,_props:I(()=>e.tag===`button`?{ariaDisabled:o.value||e.loading,disabled:o.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),_plain:f,_round:p,shouldAddSpace:I(()=>{let e=c.default?.call(c);if(d.value&&e?.length===1){let t=e[0];if(t?.type===l){let e=t.children;return/^\p{Unified_Ideograph}{2}$/u.test(e.trim())}}return!1}),handleClick:n=>{if(o.value||e.loading){n.stopPropagation();return}e.nativeType===`reset`&&i?.resetFields(),t(`click`,n)}}},vo=ke({size:qe,disabled:Boolean,type:{type:String,values:[`default`,`primary`,`success`,`warning`,`info`,`danger`,`text`,``],default:``},icon:{type:Ye},nativeType:{type:String,values:[`button`,`submit`,`reset`],default:`button`},loading:Boolean,loadingIcon:{type:Ye,default:()=>We},plain:{type:Boolean,default:void 0},text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:et([String,Object]),default:`button`}}),yo={click:e=>e instanceof MouseEvent};function bo(e,t){So(e)&&(e=`100%`);var n=Co(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(e=t===360?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t)),e)}function xo(e){return Math.min(1,Math.max(0,e))}function So(e){return typeof e==`string`&&e.indexOf(`.`)!==-1&&parseFloat(e)===1}function Co(e){return typeof e==`string`&&e.indexOf(`%`)!==-1}function wo(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function To(e){return e<=1?`${Number(e)*100}%`:e}function Eo(e){return e.length===1?`0`+e:String(e)}function Do(e,t,n){return{r:bo(e,255)*255,g:bo(t,255)*255,b:bo(n,255)*255}}function Oo(e,t,n){e=bo(e,255),t=bo(t,255),n=bo(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,o=0,s=(r+i)/2;if(r===i)o=0,a=0;else{var c=r-i;switch(o=s>.5?c/(2-r-i):c/(r+i),r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break;default:break}a/=6}return{h:a,s:o,l:s}}function ko(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ao(e,t,n){var r,i,a;if(e=bo(e,360),t=bo(t,100),n=bo(n,100),t===0)i=n,a=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=ko(s,o,e+1/3),i=ko(s,o,e),a=ko(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function jo(e,t,n){e=bo(e,255),t=bo(t,255),n=bo(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,o=r,s=r-i,c=r===0?0:s/r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4;break;default:break}a/=6}return{h:a,s:c,v:o}}function Mo(e,t,n){e=bo(e,360)*6,t=bo(t,100),n=bo(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),c=r%6,l=[n,o,a,a,s,n][c],u=[s,n,n,o,a,a][c],d=[a,a,s,n,n,o][c];return{r:l*255,g:u*255,b:d*255}}function No(e,t,n,r){var i=[Eo(Math.round(e).toString(16)),Eo(Math.round(t).toString(16)),Eo(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join(``)}function Po(e,t,n,r,i){var a=[Eo(Math.round(e).toString(16)),Eo(Math.round(t).toString(16)),Eo(Math.round(n).toString(16)),Eo(Fo(r))];return i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join(``)}function Fo(e){return Math.round(parseFloat(e)*255).toString(16)}function Io(e){return Lo(e)/255}function Lo(e){return parseInt(e,16)}function Ro(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var zo={aliceblue:`#f0f8ff`,antiquewhite:`#faebd7`,aqua:`#00ffff`,aquamarine:`#7fffd4`,azure:`#f0ffff`,beige:`#f5f5dc`,bisque:`#ffe4c4`,black:`#000000`,blanchedalmond:`#ffebcd`,blue:`#0000ff`,blueviolet:`#8a2be2`,brown:`#a52a2a`,burlywood:`#deb887`,cadetblue:`#5f9ea0`,chartreuse:`#7fff00`,chocolate:`#d2691e`,coral:`#ff7f50`,cornflowerblue:`#6495ed`,cornsilk:`#fff8dc`,crimson:`#dc143c`,cyan:`#00ffff`,darkblue:`#00008b`,darkcyan:`#008b8b`,darkgoldenrod:`#b8860b`,darkgray:`#a9a9a9`,darkgreen:`#006400`,darkgrey:`#a9a9a9`,darkkhaki:`#bdb76b`,darkmagenta:`#8b008b`,darkolivegreen:`#556b2f`,darkorange:`#ff8c00`,darkorchid:`#9932cc`,darkred:`#8b0000`,darksalmon:`#e9967a`,darkseagreen:`#8fbc8f`,darkslateblue:`#483d8b`,darkslategray:`#2f4f4f`,darkslategrey:`#2f4f4f`,darkturquoise:`#00ced1`,darkviolet:`#9400d3`,deeppink:`#ff1493`,deepskyblue:`#00bfff`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1e90ff`,firebrick:`#b22222`,floralwhite:`#fffaf0`,forestgreen:`#228b22`,fuchsia:`#ff00ff`,gainsboro:`#dcdcdc`,ghostwhite:`#f8f8ff`,goldenrod:`#daa520`,gold:`#ffd700`,gray:`#808080`,green:`#008000`,greenyellow:`#adff2f`,grey:`#808080`,honeydew:`#f0fff0`,hotpink:`#ff69b4`,indianred:`#cd5c5c`,indigo:`#4b0082`,ivory:`#fffff0`,khaki:`#f0e68c`,lavenderblush:`#fff0f5`,lavender:`#e6e6fa`,lawngreen:`#7cfc00`,lemonchiffon:`#fffacd`,lightblue:`#add8e6`,lightcoral:`#f08080`,lightcyan:`#e0ffff`,lightgoldenrodyellow:`#fafad2`,lightgray:`#d3d3d3`,lightgreen:`#90ee90`,lightgrey:`#d3d3d3`,lightpink:`#ffb6c1`,lightsalmon:`#ffa07a`,lightseagreen:`#20b2aa`,lightskyblue:`#87cefa`,lightslategray:`#778899`,lightslategrey:`#778899`,lightsteelblue:`#b0c4de`,lightyellow:`#ffffe0`,lime:`#00ff00`,limegreen:`#32cd32`,linen:`#faf0e6`,magenta:`#ff00ff`,maroon:`#800000`,mediumaquamarine:`#66cdaa`,mediumblue:`#0000cd`,mediumorchid:`#ba55d3`,mediumpurple:`#9370db`,mediumseagreen:`#3cb371`,mediumslateblue:`#7b68ee`,mediumspringgreen:`#00fa9a`,mediumturquoise:`#48d1cc`,mediumvioletred:`#c71585`,midnightblue:`#191970`,mintcream:`#f5fffa`,mistyrose:`#ffe4e1`,moccasin:`#ffe4b5`,navajowhite:`#ffdead`,navy:`#000080`,oldlace:`#fdf5e6`,olive:`#808000`,olivedrab:`#6b8e23`,orange:`#ffa500`,orangered:`#ff4500`,orchid:`#da70d6`,palegoldenrod:`#eee8aa`,palegreen:`#98fb98`,paleturquoise:`#afeeee`,palevioletred:`#db7093`,papayawhip:`#ffefd5`,peachpuff:`#ffdab9`,peru:`#cd853f`,pink:`#ffc0cb`,plum:`#dda0dd`,powderblue:`#b0e0e6`,purple:`#800080`,rebeccapurple:`#663399`,red:`#ff0000`,rosybrown:`#bc8f8f`,royalblue:`#4169e1`,saddlebrown:`#8b4513`,salmon:`#fa8072`,sandybrown:`#f4a460`,seagreen:`#2e8b57`,seashell:`#fff5ee`,sienna:`#a0522d`,silver:`#c0c0c0`,skyblue:`#87ceeb`,slateblue:`#6a5acd`,slategray:`#708090`,slategrey:`#708090`,snow:`#fffafa`,springgreen:`#00ff7f`,steelblue:`#4682b4`,tan:`#d2b48c`,teal:`#008080`,thistle:`#d8bfd8`,tomato:`#ff6347`,turquoise:`#40e0d0`,violet:`#ee82ee`,wheat:`#f5deb3`,white:`#ffffff`,whitesmoke:`#f5f5f5`,yellow:`#ffff00`,yellowgreen:`#9acd32`};function Bo(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,s=!1;return typeof e==`string`&&(e=Go(e)),typeof e==`object`&&(Ko(e.r)&&Ko(e.g)&&Ko(e.b)?(t=Do(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)===`%`?`prgb`:`rgb`):Ko(e.h)&&Ko(e.s)&&Ko(e.v)?(r=To(e.s),i=To(e.v),t=Mo(e.h,r,i),o=!0,s=`hsv`):Ko(e.h)&&Ko(e.s)&&Ko(e.l)&&(r=To(e.s),a=To(e.l),t=Ao(e.h,r,a),o=!0,s=`hsl`),Object.prototype.hasOwnProperty.call(e,`a`)&&(n=e.a)),n=wo(n),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Vo=`(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)`,Ho=`[\\s|\\(]+(${Vo})[,|\\s]+(${Vo})[,|\\s]+(${Vo})\\s*\\)?`,Uo=`[\\s|\\(]+(${Vo})[,|\\s]+(${Vo})[,|\\s]+(${Vo})[,|\\s]+(${Vo})\\s*\\)?`,Wo={CSS_UNIT:new RegExp(Vo),rgb:RegExp(`rgb`+Ho),rgba:RegExp(`rgba`+Uo),hsl:RegExp(`hsl`+Ho),hsla:RegExp(`hsla`+Uo),hsv:RegExp(`hsv`+Ho),hsva:RegExp(`hsva`+Uo),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Go(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(zo[e])e=zo[e],t=!0;else if(e===`transparent`)return{r:0,g:0,b:0,a:0,format:`name`};var n=Wo.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Wo.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Wo.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Wo.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Wo.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Wo.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Wo.hex8.exec(e),n?{r:Lo(n[1]),g:Lo(n[2]),b:Lo(n[3]),a:Io(n[4]),format:t?`name`:`hex8`}:(n=Wo.hex6.exec(e),n?{r:Lo(n[1]),g:Lo(n[2]),b:Lo(n[3]),format:t?`name`:`hex`}:(n=Wo.hex4.exec(e),n?{r:Lo(n[1]+n[1]),g:Lo(n[2]+n[2]),b:Lo(n[3]+n[3]),a:Io(n[4]+n[4]),format:t?`name`:`hex8`}:(n=Wo.hex3.exec(e),n?{r:Lo(n[1]+n[1]),g:Lo(n[2]+n[2]),b:Lo(n[3]+n[3]),format:t?`name`:`hex`}:!1)))))))))}function Ko(e){return!!Wo.CSS_UNIT.exec(String(e))}var qo=function(){function e(t,n){if(t===void 0&&(t=``),n===void 0&&(n={}),t instanceof e)return t;typeof t==`number`&&(t=Ro(t)),this.originalInput=t;var r=Bo(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t,n,r,i=e.r/255,a=e.g/255,o=e.b/255;return t=i<=.03928?i/12.92:((i+.055)/1.055)**2.4,n=a<=.03928?a/12.92:((a+.055)/1.055)**2.4,r=o<=.03928?o/12.92:((o+.055)/1.055)**2.4,.2126*t+.7152*n+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=wo(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return this.toHsl().s===0},e.prototype.toHsv=function(){var e=jo(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=jo(this.r,this.g,this.b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this.a===1?`hsv(${t}, ${n}%, ${r}%)`:`hsva(${t}, ${n}%, ${r}%, ${this.roundA})`},e.prototype.toHsl=function(){var e=Oo(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=Oo(this.r,this.g,this.b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this.a===1?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${this.roundA})`},e.prototype.toHex=function(e){return e===void 0&&(e=!1),No(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return e===void 0&&(e=!1),`#`+this.toHex(e)},e.prototype.toHex8=function(e){return e===void 0&&(e=!1),Po(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return e===void 0&&(e=!1),`#`+this.toHex8(e)},e.prototype.toHexShortString=function(e){return e===void 0&&(e=!1),this.a===1?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return this.a===1?`rgb(${e}, ${t}, ${n})`:`rgba(${e}, ${t}, ${n}, ${this.roundA})`},e.prototype.toPercentageRgb=function(){var e=function(e){return`${Math.round(bo(e,255)*100)}%`};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(bo(e,255)*100)};return this.a===1?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`},e.prototype.toName=function(){if(this.a===0)return`transparent`;if(this.a<1)return!1;for(var e=`#`+No(this.r,this.g,this.b,!1),t=0,n=Object.entries(zo);t<n.length;t++){var r=n[t],i=r[0];if(e===r[1])return i}return!1},e.prototype.toString=function(e){var t=!!e;e??=this.format;var n=!1,r=this.a<1&&this.a>=0;return!t&&r&&(e.startsWith(`hex`)||e===`name`)?e===`name`&&this.a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=xo(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=xo(n.l),new e(n)},e.prototype.tint=function(e){return e===void 0&&(e=10),this.mix(`white`,e)},e.prototype.shade=function(e){return e===void 0&&(e=10),this.mix(`black`,e)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=xo(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=xo(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),a=n/100;return new e({r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a})},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,a=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(new e({h:r,s:i,v:a})),a=(a+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],a=360/t,o=1;o<t;o++)i.push(new e({h:(r+o*a)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Jo(e,t=20){return e.mix(`#141414`,t).toString()}function Yo(e){let t=Jt(),n=Ct(`button`);return I(()=>{let r={},i=e.color;if(i){let a=i.match(/var\((.*?)\)/);a&&(i=window.getComputedStyle(window.document.documentElement).getPropertyValue(a[1]));let o=new qo(i),s=e.dark?o.tint(20).toString():Jo(o,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Jo(o,90):o.tint(90).toString(),"text-color":i,"border-color":e.dark?Jo(o,50):o.tint(50).toString(),"hover-text-color":`var(${n.cssVarName(`color-white`)})`,"hover-bg-color":i,"hover-border-color":i,"active-bg-color":s,"active-text-color":`var(${n.cssVarName(`color-white`)})`,"active-border-color":s}),t.value&&(r[n.cssVarBlockName(`disabled-bg-color`)]=e.dark?Jo(o,90):o.tint(90).toString(),r[n.cssVarBlockName(`disabled-text-color`)]=e.dark?Jo(o,50):o.tint(50).toString(),r[n.cssVarBlockName(`disabled-border-color`)]=e.dark?Jo(o,80):o.tint(80).toString());else{let a=e.dark?Jo(o,30):o.tint(30).toString(),c=o.isDark()?`var(${n.cssVarName(`color-white`)})`:`var(${n.cssVarName(`color-black`)})`;if(r=n.cssVarBlock({"bg-color":i,"text-color":c,"border-color":i,"hover-bg-color":a,"hover-text-color":c,"hover-border-color":a,"active-bg-color":s,"active-border-color":s}),t.value){let t=e.dark?Jo(o,50):o.tint(50).toString();r[n.cssVarBlockName(`disabled-bg-color`)]=t,r[n.cssVarBlockName(`disabled-text-color`)]=e.dark?`rgba(255, 255, 255, 0.5)`:`var(${n.cssVarName(`color-white`)})`,r[n.cssVarBlockName(`disabled-border-color`)]=t}}}return r})}var Xo=St(B({...B({name:`ElButton`}),props:vo,emits:yo,setup(e,{expose:t,emit:n}){let r=e,i=Yo(r),a=Ct(`button`),{_ref:o,_size:s,_type:c,_disabled:l,_props:u,_plain:d,_round:f,shouldAddSpace:h,handleClick:g}=_o(r,n),_=I(()=>[a.b(),a.m(c.value),a.m(s.value),a.is(`disabled`,l.value),a.is(`loading`,r.loading),a.is(`plain`,d.value),a.is(`round`,f.value),a.is(`circle`,r.circle),a.is(`text`,r.text),a.is(`link`,r.link),a.is(`has-bg`,r.bg)]);return t({ref:o,size:s,type:c,disabled:l,shouldAddSpace:h}),(e,t)=>(R(),F(xe(e.tag),p({ref_key:`_ref`,ref:o},w(u),{class:w(_),style:w(i),onClick:w(g)}),{default:L(()=>[e.loading?(R(),T(ne,{key:0},[e.$slots.loading?P(e.$slots,`loading`,{key:0}):(R(),F(w(Ne),{key:1,class:m(w(a).is(`loading`))},{default:L(()=>[(R(),F(xe(e.loadingIcon)))]),_:1},8,[`class`]))],64)):e.icon||e.$slots.icon?(R(),F(w(Ne),{key:1},{default:L(()=>[e.icon?(R(),F(xe(e.icon),{key:0})):P(e.$slots,`icon`,{key:1})]),_:3})):C(`v-if`,!0),e.$slots.default?(R(),T(`span`,{key:2,class:m({[w(a).em(`text`,`expand`)]:w(h)})},[P(e.$slots,`default`)],2)):C(`v-if`,!0)]),_:3},16,[`class`,`style`,`onClick`]))}}),[[`__file`,`button.vue`]]),Zo={size:vo.size,type:vo.type},Qo=St(B({...B({name:`ElButtonGroup`}),props:Zo,setup(e){let t=e;ge(go,A({size:D(t,`size`),type:D(t,`type`)}));let n=Ct(`button`);return(e,t)=>(R(),T(`div`,{class:m(w(n).b(`group`))},[P(e.$slots,`default`)],2))}}),[[`__file`,`button-group.vue`]]),$o=Tt(Xo,{ButtonGroup:Qo}),es=wt(Qo),ts=(e,t)=>{if(!nt||!e||!t)return!1;let n=e.getBoundingClientRect(),r;return r=t instanceof Element?t.getBoundingClientRect():{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.top<r.bottom&&n.bottom>r.top&&n.right>r.left&&n.left<r.right},ns=e=>{let t,n;return e.type===`touchend`?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith(`touch`)?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},rs=Tt(Wt),is=e=>{if(!e)return{onClick:E,onMousedown:E,onMouseup:E};let t=!1,n=!1;return{onClick:r=>{t&&n&&e(r),t=n=!1},onMousedown:e=>{t=e.target===e.currentTarget},onMouseup:e=>{n=e.target===e.currentTarget}}},as=ke({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:et([String,Array,Object])},zIndex:{type:et([String,Number])}}),os={click:e=>e instanceof MouseEvent},ss=`overlay`,cs=B({name:`ElOverlay`,props:as,emits:os,setup(e,{slots:t,emit:n}){let r=Ct(ss),{onClick:i,onMousedown:a,onMouseup:o}=is(e.customMaskEvent?void 0:e=>{n(`click`,e)});return()=>e.mask?x(`div`,{class:[r.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:i,onMousedown:a,onMouseup:o},[P(t,`default`)],en.STYLE|en.CLASS|en.PROPS,[`onClick`,`onMouseup`,`onMousedown`]):h(`div`,{class:e.overlayClass,style:{zIndex:e.zIndex,position:`fixed`,top:`0px`,right:`0px`,bottom:`0px`,left:`0px`}},[P(t,`default`)])}}),ls=Symbol(`dialogInjectionKey`),us=ke({center:Boolean,alignCenter:Boolean,closeIcon:{type:Ye},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:``},ariaLevel:{type:String,default:`2`}}),ds={close:()=>!0},fs=(e,t,n,r)=>{let i={offsetX:0,offsetY:0},a=(t,n)=>{if(e.value){let{offsetX:a,offsetY:o}=i,s=e.value.getBoundingClientRect(),c=s.left,l=s.top,u=s.width,d=s.height,f=document.documentElement.clientWidth,p=document.documentElement.clientHeight,m=-c+a,h=-l+o,g=f-c-u+a,_=p-l-(d<p?d:0)+o;r?.value||(t=Math.min(Math.max(t,m),g),n=Math.min(Math.max(n,h),_)),i.offsetX=t,i.offsetY=n,e.value.style.transform=`translate(${Re(t)}, ${Re(n)})`}},o=e=>{let t=e.clientX,n=e.clientY,{offsetX:r,offsetY:o}=i,s=e=>{a(r+e.clientX-t,o+e.clientY-n)},c=()=>{document.removeEventListener(`mousemove`,s),document.removeEventListener(`mouseup`,c)};document.addEventListener(`mousemove`,s),document.addEventListener(`mouseup`,c)},s=()=>{t.value&&e.value&&(t.value.addEventListener(`mousedown`,o),window.addEventListener(`resize`,u))},c=()=>{t.value&&e.value&&(t.value.removeEventListener(`mousedown`,o),window.removeEventListener(`resize`,u))},l=()=>{i.offsetX=0,i.offsetY=0,e.value&&(e.value.style.transform=``)},u=()=>{let{offsetX:e,offsetY:t}=i;a(e,t)};return O(()=>{ve(()=>{n.value?s():c()})}),se(()=>{c()}),{resetPosition:l,updatePosition:u}},ps=(...e)=>t=>{e.forEach(e=>{s(e)?e(t):e.value=t})},ms=St(B({...B({name:`ElDialogContent`}),props:us,emits:ds,setup(e,{expose:t}){let n=e,{t:r}=gt(),{Close:a}=ht,{dialogRef:o,headerRef:s,bodyId:c,ns:l,style:u}=re(ls),{focusTrapRef:d}=re(Va),f=I(()=>[l.b(),l.is(`fullscreen`,n.fullscreen),l.is(`draggable`,n.draggable),l.is(`align-center`,n.alignCenter),{[l.m(`center`)]:n.center}]),p=ps(d,o),{resetPosition:h,updatePosition:g}=fs(o,s,I(()=>n.draggable),I(()=>n.overflow));return t({resetPosition:h,updatePosition:g}),(e,t)=>(R(),T(`div`,{ref:w(p),class:m(w(f)),style:ye(w(u)),tabindex:`-1`},[i(`header`,{ref_key:`headerRef`,ref:s,class:m([w(l).e(`header`),e.headerClass,{"show-close":e.showClose}])},[P(e.$slots,`header`,{},()=>[i(`span`,{role:`heading`,"aria-level":e.ariaLevel,class:m(w(l).e(`title`))},v(e.title),11,[`aria-level`])]),e.showClose?(R(),T(`button`,{key:0,"aria-label":w(r)(`el.dialog.close`),class:m(w(l).e(`headerbtn`)),type:`button`,onClick:t=>e.$emit(`close`)},[x(w(Ne),{class:m(w(l).e(`close`))},{default:L(()=>[(R(),F(xe(e.closeIcon||w(a))))]),_:1},8,[`class`])],10,[`aria-label`,`onClick`])):C(`v-if`,!0)],2),i(`div`,{id:w(c),class:m([w(l).e(`body`),e.bodyClass])},[P(e.$slots,`default`)],10,[`id`]),e.$slots.footer?(R(),T(`footer`,{key:0,class:m([w(l).e(`footer`),e.footerClass])},[P(e.$slots,`footer`)],2)):C(`v-if`,!0)],6))}}),[[`__file`,`dialog-content.vue`]]),hs=ke({...us,appendToBody:Boolean,appendTo:{type:mo.to.type,default:`body`},beforeClose:{type:et(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:`2`}}),gs={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[kt]:e=>yt(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},_s=(e,t={})=>{Ee(e)||it(`[useLockscreen]`,`You need to pass a ref param to this function`);let n=t.ns||Ct(`popup`),r=I(()=>n.bm(`parent`,`hidden`));if(!nt||xt(document.body,r.value))return;let i=0,a=!1,o=`0`,s=()=>{setTimeout(()=>{typeof document>`u`||a&&document&&(document.body.style.width=o,je(document.body,r.value))},200)};N(e,e=>{if(!e){s();return}a=!xt(document.body,r.value),a&&(o=document.body.style.width,Fe(document.body,r.value)),i=Mt(n.namespace.value);let t=document.documentElement.clientHeight<document.body.scrollHeight,c=Ue(document.body,`overflowY`);i>0&&(t||c===`scroll`)&&a&&(document.body.style.width=`calc(100% - ${i}px)`)}),Te(()=>s())},vs=(e,t)=>{let n=o().emit,{nextZIndex:r}=ut(),i=``,a=Kt(),s=Kt(),c=z(!1),l=z(!1),u=z(!1),d=z(e.zIndex??r()),f,p,m=Ke(`namespace`,`el`),h=I(()=>{let t={},n=`--${m.value}-dialog`;return e.fullscreen||(e.top&&(t[`${n}-margin-top`]=e.top),e.width&&(t[`${n}-width`]=Re(e.width))),t}),g=I(()=>e.alignCenter?{display:`flex`}:{});function _(){n(`opened`)}function v(){n(`closed`),n(kt,!1),e.destroyOnClose&&(u.value=!1)}function b(){n(`close`)}function x(){p?.(),f?.(),e.openDelay&&e.openDelay>0?{stop:f}=Ze(()=>T(),e.openDelay):T()}function S(){f?.(),p?.(),e.closeDelay&&e.closeDelay>0?{stop:p}=Ze(()=>E(),e.closeDelay):E()}function C(){function t(e){e||(l.value=!0,c.value=!1)}e.beforeClose?e.beforeClose(t):S()}function w(){e.closeOnClickModal&&C()}function T(){nt&&(c.value=!0)}function E(){c.value=!1}function D(){n(`openAutoFocus`)}function ee(){n(`closeAutoFocus`)}function te(e){e.detail?.focusReason===`pointer`&&e.preventDefault()}e.lockScroll&&_s(c);function k(){e.closeOnPressEscape&&C()}return N(()=>e.zIndex,()=>{d.value=e.zIndex??r()}),N(()=>e.modelValue,i=>{i?(l.value=!1,x(),u.value=!0,d.value=e.zIndex??r(),y(()=>{n(`open`),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):c.value&&S()}),N(()=>e.fullscreen,e=>{t.value&&(e?(i=t.value.style.transform,t.value.style.transform=``):t.value.style.transform=i)}),O(()=>{e.modelValue&&(c.value=!0,u.value=!0,x())}),{afterEnter:_,afterLeave:v,beforeLeave:b,handleClose:C,onModalClick:w,close:S,doClose:E,onOpenAutoFocus:D,onCloseAutoFocus:ee,onCloseRequested:k,onFocusoutPrevented:te,titleId:a,bodyId:s,closed:l,style:h,overlayDialogStyle:g,rendered:u,visible:c,zIndex:d}},ys=Tt(St(B({...B({name:`ElDialog`,inheritAttrs:!1}),props:hs,emits:gs,setup(e,{expose:t}){let n=e,r=Se();Xt({scope:`el-dialog`,from:`the title slot`,replacement:`the header slot`,version:`3.0.0`,ref:`https://element-plus.org/en-US/component/dialog.html#slots`},I(()=>!!r.title));let a=Ct(`dialog`),o=z(),s=z(),c=z(),{visible:l,titleId:u,bodyId:d,style:f,overlayDialogStyle:h,rendered:g,zIndex:_,afterEnter:v,afterLeave:y,beforeLeave:b,handleClose:S,onModalClick:T,onOpenAutoFocus:E,onCloseAutoFocus:D,onCloseRequested:O,onFocusoutPrevented:te}=vs(n,o);ge(ls,{dialogRef:o,headerRef:s,bodyId:d,ns:a,rendered:g,style:f});let k=is(T),A=I(()=>n.draggable&&!n.fullscreen);return t({visible:l,dialogContentRef:c,resetPosition:()=>{var e;(e=c.value)==null||e.resetPosition()},handleClose:S}),(e,t)=>(R(),F(w(ho),{to:e.appendTo,disabled:e.appendTo===`body`?!e.appendToBody:!1},{default:L(()=>[x(_e,{name:`dialog-fade`,onAfterEnter:w(v),onAfterLeave:w(y),onBeforeLeave:w(b),persisted:``},{default:L(()=>[pe(x(w(cs),{"custom-mask-event":``,mask:e.modal,"overlay-class":e.modalClass,"z-index":w(_)},{default:L(()=>[i(`div`,{role:`dialog`,"aria-modal":`true`,"aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:w(u),"aria-describedby":w(d),class:m(`${w(a).namespace.value}-overlay-dialog`),style:ye(w(h)),onClick:w(k).onClick,onMousedown:w(k).onMousedown,onMouseup:w(k).onMouseup},[x(w(po),{loop:``,trapped:w(l),"focus-start-el":`container`,onFocusAfterTrapped:w(E),onFocusAfterReleased:w(D),onFocusoutPrevented:w(te),onReleaseRequested:w(O)},{default:L(()=>[w(g)?(R(),F(ms,p({key:0,ref_key:`dialogContentRef`,ref:c},e.$attrs,{center:e.center,"align-center":e.alignCenter,"close-icon":e.closeIcon,draggable:w(A),overflow:e.overflow,fullscreen:e.fullscreen,"header-class":e.headerClass,"body-class":e.bodyClass,"footer-class":e.footerClass,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:w(S)}),ee({header:L(()=>[e.$slots.title?P(e.$slots,`title`,{key:1}):P(e.$slots,`header`,{key:0,close:w(S),titleId:w(u),titleClass:w(a).e(`title`)})]),default:L(()=>[P(e.$slots,`default`)]),_:2},[e.$slots.footer?{name:`footer`,fn:L(()=>[P(e.$slots,`footer`)])}:void 0]),1040,[`center`,`align-center`,`close-icon`,`draggable`,`overflow`,`fullscreen`,`header-class`,`body-class`,`footer-class`,`show-close`,`title`,`aria-level`,`onClose`])):C(`v-if`,!0)]),_:3},8,[`trapped`,`onFocusAfterTrapped`,`onFocusAfterReleased`,`onFocusoutPrevented`,`onReleaseRequested`])],46,[`aria-label`,`aria-labelledby`,`aria-describedby`,`onClick`,`onMousedown`,`onMouseup`])]),_:3},8,[`mask`,`overlay-class`,`z-index`]),[[we,w(l)]])]),_:3},8,[`onAfterEnter`,`onAfterLeave`,`onBeforeLeave`])]),_:3},8,[`to`,`disabled`]))}}),[[`__file`,`dialog.vue`]])),bs=St(B({...B({name:`ImgEmpty`}),setup(e){let t=Ct(`empty`),n=Kt();return(e,r)=>(R(),T(`svg`,{viewBox:`0 0 79 86`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`},[i(`defs`,null,[i(`linearGradient`,{id:`linearGradient-1-${w(n)}`,x1:`38.8503086%`,y1:`0%`,x2:`61.1496914%`,y2:`100%`},[i(`stop`,{"stop-color":`var(${w(t).cssVarBlockName(`fill-color-1`)})`,offset:`0%`},null,8,[`stop-color`]),i(`stop`,{"stop-color":`var(${w(t).cssVarBlockName(`fill-color-4`)})`,offset:`100%`},null,8,[`stop-color`])],8,[`id`]),i(`linearGradient`,{id:`linearGradient-2-${w(n)}`,x1:`0%`,y1:`9.5%`,x2:`100%`,y2:`90.5%`},[i(`stop`,{"stop-color":`var(${w(t).cssVarBlockName(`fill-color-1`)})`,offset:`0%`},null,8,[`stop-color`]),i(`stop`,{"stop-color":`var(${w(t).cssVarBlockName(`fill-color-6`)})`,offset:`100%`},null,8,[`stop-color`])],8,[`id`]),i(`rect`,{id:`path-3-${w(n)}`,x:`0`,y:`0`,width:`17`,height:`36`},null,8,[`id`])]),i(`g`,{stroke:`none`,"stroke-width":`1`,fill:`none`,"fill-rule":`evenodd`},[i(`g`,{transform:`translate(-1268.000000, -535.000000)`},[i(`g`,{transform:`translate(1268.000000, 535.000000)`},[i(`path`,{d:`M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z`,fill:`var(${w(t).cssVarBlockName(`fill-color-3`)})`},null,8,[`fill`]),i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-7`)})`,transform:`translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) `,points:`13 58 53 58 42 45 2 45`},null,8,[`fill`]),i(`g`,{transform:`translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)`},[i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-7`)})`,transform:`translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) `,points:`2.84078316e-14 3 18 3 23 7 5 7`},null,8,[`fill`]),i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-5`)})`,points:`-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43`},null,8,[`fill`]),i(`rect`,{fill:`url(#linearGradient-1-${w(n)})`,transform:`translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) `,x:`38`,y:`7`,width:`17`,height:`36`},null,8,[`fill`]),i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-2`)})`,transform:`translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) `,points:`24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12`},null,8,[`fill`])]),i(`rect`,{fill:`url(#linearGradient-2-${w(n)})`,x:`13`,y:`45`,width:`40`,height:`36`},null,8,[`fill`]),i(`g`,{transform:`translate(53.000000, 45.000000)`},[i(`use`,{fill:`var(${w(t).cssVarBlockName(`fill-color-8`)})`,transform:`translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) `,"xlink:href":`#path-3-${w(n)}`},null,8,[`fill`,`xlink:href`]),i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-9`)})`,mask:`url(#mask-4-${w(n)})`,transform:`translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) `,points:`7 0 24 0 20 18 7 16.5`},null,8,[`fill`,`mask`])]),i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-2`)})`,transform:`translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) `,points:`62 45 79 45 70 58 53 58`},null,8,[`fill`])])])])]))}}),[[`__file`,`img-empty.vue`]]),xs=ke({image:{type:String,default:``},imageSize:Number,description:{type:String,default:``}}),Ss=Tt(St(B({...B({name:`ElEmpty`}),props:xs,setup(e){let t=e,{t:n}=gt(),r=Ct(`empty`),a=I(()=>t.description||n(`el.table.emptyText`)),o=I(()=>({width:Re(t.imageSize)}));return(e,t)=>(R(),T(`div`,{class:m(w(r).b())},[i(`div`,{class:m(w(r).e(`image`)),style:ye(w(o))},[e.image?(R(),T(`img`,{key:0,src:e.image,ondragstart:`return false`},null,8,[`src`])):P(e.$slots,`image`,{key:1},()=>[x(bs)])],6),i(`div`,{class:m(w(r).e(`description`))},[e.$slots.description?P(e.$slots,`description`,{key:0}):(R(),T(`p`,{key:1},v(w(a)),1))],2),e.$slots.default?(R(),T(`div`,{key:0,class:m(w(r).e(`bottom`))},[P(e.$slots,`default`)],2)):C(`v-if`,!0)],2))}}),[[`__file`,`empty.vue`]])),Cs=ke({urlList:{type:et(Array),default:()=>Ut([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:et(String)}}),ws={close:()=>!0,switch:e=>_t(e),rotate:e=>_t(e)},Ts=Tt(St(B({...B({name:`ElImageViewer`}),props:Cs,emits:ws,setup(e,{expose:t,emit:n}){let r=e,a={CONTAIN:{name:`contain`,icon:ue(Xe)},ORIGINAL:{name:`original`,icon:ue(Ae)}},o,s=``,{t:l}=gt(),u=Ct(`image-viewer`),{nextZIndex:d}=ut(),p=z(),h=z([]),_=le(),b=z(!0),S=z(r.initialIndex),E=f(a.CONTAIN),D=z({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),ee=z(r.zIndex??d()),te=I(()=>{let{urlList:e}=r;return e.length<=1}),k=I(()=>S.value===0),A=I(()=>S.value===r.urlList.length-1),re=I(()=>r.urlList[S.value]),ie=I(()=>[u.e(`btn`),u.e(`prev`),u.is(`disabled`,!r.infinite&&k.value)]),ae=I(()=>[u.e(`btn`),u.e(`next`),u.is(`disabled`,!r.infinite&&A.value)]),oe=I(()=>{let{scale:e,deg:t,offsetX:n,offsetY:r,enableTransition:i}=D.value,o=n/e,s=r/e,c=t*Math.PI/180,l=Math.cos(c),u=Math.sin(c);o=o*l+s*u,s=s*l-n/e*u;let d={transform:`scale(${e}) rotate(${t}deg) translate(${o}px, ${s}px)`,transition:i?`transform .3s`:``};return E.value.name===a.CONTAIN.name&&(d.maxWidth=d.maxHeight=`100%`),d}),j=I(()=>`${S.value+1} / ${r.urlList.length}`);function se(){M(),o?.(),document.body.style.overflow=s,n(`close`)}function ce(){let e=ga(e=>{switch(e.code){case Nt.esc:r.closeOnPressEscape&&se();break;case Nt.space:he();break;case Nt.left:ve();break;case Nt.up:Ce(`zoomIn`);break;case Nt.right:Se();break;case Nt.down:Ce(`zoomOut`);break}}),t=ga(e=>{Ce((e.deltaY||e.deltaX)<0?`zoomIn`:`zoomOut`,{zoomRate:r.zoomRate,enableTransition:!1})});_.run(()=>{ct(document,`keydown`,e),ct(document,`wheel`,t)})}function M(){_.stop()}function de(){b.value=!1}function fe(e){b.value=!1,e.target.alt=l(`el.image.error`)}function pe(e){if(b.value||e.button!==0||!p.value)return;D.value.enableTransition=!1;let{offsetX:t,offsetY:n}=D.value,r=e.pageX,i=e.pageY,a=ga(e=>{D.value={...D.value,offsetX:t+e.pageX-r,offsetY:n+e.pageY-i}}),o=ct(document,`mousemove`,a);ct(document,`mouseup`,()=>{o()}),e.preventDefault()}function me(){D.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function he(){if(b.value)return;let e=Ie(a),t=Object.values(a),n=E.value.name;E.value=a[e[(t.findIndex(e=>e.name===n)+1)%e.length]],me()}function ge(e){let t=r.urlList.length;S.value=(e+t)%t}function ve(){k.value&&!r.infinite||ge(S.value-1)}function Se(){A.value&&!r.infinite||ge(S.value+1)}function Ce(e,t={}){if(b.value)return;let{minScale:i,maxScale:a}=r,{zoomRate:o,rotateDeg:s,enableTransition:c}={zoomRate:r.zoomRate,rotateDeg:90,enableTransition:!0,...t};switch(e){case`zoomOut`:D.value.scale>i&&(D.value.scale=Number.parseFloat((D.value.scale/o).toFixed(3)));break;case`zoomIn`:D.value.scale<a&&(D.value.scale=Number.parseFloat((D.value.scale*o).toFixed(3)));break;case`clockwise`:D.value.deg+=s,n(`rotate`,D.value.deg);break;case`anticlockwise`:D.value.deg-=s,n(`rotate`,D.value.deg);break}D.value.enableTransition=c}function we(e){e.detail?.focusReason===`pointer`&&e.preventDefault()}function Te(){r.closeOnPressEscape&&se()}function Ee(e){if(e.ctrlKey&&(e.deltaY<0||e.deltaY>0))return e.preventDefault(),!1}return N(re,()=>{y(()=>{h.value[0]?.complete||(b.value=!0)})}),N(S,e=>{me(),n(`switch`,e)}),O(()=>{ce(),o=ct(`wheel`,Ee,{passive:!1}),s=document.body.style.overflow,document.body.style.overflow=`hidden`}),t({setActiveItem:ge}),(e,t)=>(R(),F(w(ho),{to:`body`,disabled:!e.teleported},{default:L(()=>[x(_e,{name:`viewer-fade`,appear:``},{default:L(()=>[i(`div`,{ref_key:`wrapper`,ref:p,tabindex:-1,class:m(w(u).e(`wrapper`)),style:ye({zIndex:ee.value})},[x(w(po),{loop:``,trapped:``,"focus-trap-el":p.value,"focus-start-el":`container`,onFocusoutPrevented:we,onReleaseRequested:Te},{default:L(()=>[i(`div`,{class:m(w(u).e(`mask`)),onClick:c(t=>e.hideOnClickModal&&se(),[`self`])},null,10,[`onClick`]),C(` CLOSE `),i(`span`,{class:m([w(u).e(`btn`),w(u).e(`close`)]),onClick:se},[x(w(Ne),null,{default:L(()=>[x(w(tt))]),_:1})],2),C(` ARROW `),w(te)?C(`v-if`,!0):(R(),T(ne,{key:0},[i(`span`,{class:m(w(ie)),onClick:ve},[x(w(Ne),null,{default:L(()=>[x(w(mt))]),_:1})],2),i(`span`,{class:m(w(ae)),onClick:Se},[x(w(Ne),null,{default:L(()=>[x(w(Qe))]),_:1})],2)],64)),e.$slots.progress||e.showProgress?(R(),T(`div`,{key:1,class:m([w(u).e(`btn`),w(u).e(`progress`)])},[P(e.$slots,`progress`,{activeIndex:S.value,total:e.urlList.length},()=>[g(v(w(j)),1)])],2)):C(`v-if`,!0),C(` ACTIONS `),i(`div`,{class:m([w(u).e(`btn`),w(u).e(`actions`)])},[i(`div`,{class:m(w(u).e(`actions__inner`))},[P(e.$slots,`toolbar`,{actions:Ce,prev:ve,next:Se,reset:he,activeIndex:S.value,setActiveItem:ge},()=>[x(w(Ne),{onClick:e=>Ce(`zoomOut`)},{default:L(()=>[x(w(He))]),_:1},8,[`onClick`]),x(w(Ne),{onClick:e=>Ce(`zoomIn`)},{default:L(()=>[x(w(ze))]),_:1},8,[`onClick`]),i(`i`,{class:m(w(u).e(`actions__divider`))},null,2),x(w(Ne),{onClick:he},{default:L(()=>[(R(),F(xe(w(E).icon)))]),_:1}),i(`i`,{class:m(w(u).e(`actions__divider`))},null,2),x(w(Ne),{onClick:e=>Ce(`anticlockwise`)},{default:L(()=>[x(w(Be))]),_:1},8,[`onClick`]),x(w(Ne),{onClick:e=>Ce(`clockwise`)},{default:L(()=>[x(w(ot))]),_:1},8,[`onClick`])])],2)],2),C(` CANVAS `),i(`div`,{class:m(w(u).e(`canvas`))},[(R(!0),T(ne,null,be(e.urlList,(t,n)=>(R(),T(ne,{key:n},[n===S.value?(R(),T(`img`,{key:0,ref_for:!0,ref:e=>h.value[n]=e,src:t,style:ye(w(oe)),class:m(w(u).e(`img`)),crossorigin:e.crossorigin,onLoad:de,onError:fe,onMousedown:pe},null,46,[`src`,`crossorigin`])):C(`v-if`,!0)],64))),128))],2),P(e.$slots,`default`)]),_:3},8,[`focus-trap-el`])],6)]),_:3})]),_:3},8,[`disabled`]))}}),[[`__file`,`image-viewer.vue`]])),Es=ke({hideOnClickModal:Boolean,src:{type:String,default:``},fit:{type:String,values:[``,`contain`,`cover`,`fill`,`none`,`scale-down`],default:``},loading:{type:String,values:[`eager`,`lazy`]},lazy:Boolean,scrollContainer:{type:et([String,Object])},previewSrcList:{type:et(Array),default:()=>Ut([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:et(String)}}),Ds={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>_t(e),close:()=>!0,show:()=>!0},Os=Tt(St(B({...B({name:`ElImage`,inheritAttrs:!1}),props:Es,emits:Ds,setup(e,{expose:t,emit:n}){let r=e,{t:a}=gt(),o=Ct(`image`),s=he(),c=I(()=>st(Object.entries(s).filter(([e])=>/^(data-|on[A-Z])/i.test(e)||[`id`,`style`].includes(e)))),l=Da({excludeListeners:!0,excludeKeys:I(()=>Object.keys(c.value))}),u=z(),d=z(!1),f=z(!0),h=z(!1),g=z(),_=z(),x=nt&&`loading`in HTMLImageElement.prototype,S,E=I(()=>[o.e(`inner`),k.value&&o.e(`preview`),f.value&&o.is(`loading`)]),D=I(()=>{let{fit:e}=r;return nt&&e?{objectFit:e}:{}}),k=I(()=>{let{previewSrcList:e}=r;return te(e)&&e.length>0}),A=I(()=>{let{previewSrcList:e,initialIndex:t}=r,n=t;return t>e.length-1&&(n=0),n}),re=I(()=>r.loading===`eager`?!1:!x&&r.loading===`lazy`||r.lazy),ae=()=>{nt&&(f.value=!0,d.value=!1,u.value=r.src)};function oe(e){f.value=!1,d.value=!1,n(`load`,e)}function se(e){f.value=!1,d.value=!0,n(`error`,e)}function ce(){ts(g.value,_.value)&&(ae(),ue())}let le=bt(ce,200,!0);async function M(){if(!nt)return;await y();let{scrollContainer:e}=r;Ge(e)?_.value=e:j(e)&&e!==``?_.value=document.querySelector(e)??void 0:g.value&&(_.value=jt(g.value)),_.value&&(S=ct(_,`scroll`,le),setTimeout(()=>ce(),100))}function ue(){!nt||!_.value||!le||(S?.(),_.value=void 0)}function de(){k.value&&(h.value=!0,n(`show`))}function fe(){h.value=!1,n(`close`)}function pe(e){n(`switch`,e)}return N(()=>r.src,()=>{re.value?(f.value=!0,d.value=!1,ue(),M()):ae()}),O(()=>{re.value?M():ae()}),t({showPreview:de}),(e,t)=>(R(),T(`div`,p({ref_key:`container`,ref:g},w(c),{class:[w(o).b(),e.$attrs.class]}),[d.value?P(e.$slots,`error`,{key:0},()=>[i(`div`,{class:m(w(o).e(`error`))},v(w(a)(`el.image.error`)),3)]):(R(),T(ne,{key:1},[u.value===void 0?C(`v-if`,!0):(R(),T(`img`,p({key:0},w(l),{src:u.value,loading:e.loading,style:w(D),class:w(E),crossorigin:e.crossorigin,onClick:de,onLoad:oe,onError:se}),null,16,[`src`,`loading`,`crossorigin`])),f.value?(R(),T(`div`,{key:1,class:m(w(o).e(`wrapper`))},[P(e.$slots,`placeholder`,{},()=>[i(`div`,{class:m(w(o).e(`placeholder`))},null,2)])],2)):C(`v-if`,!0)],64)),w(k)?(R(),T(ne,{key:2},[h.value?(R(),F(w(Ts),{key:0,"z-index":e.zIndex,"initial-index":w(A),infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"show-progress":e.showProgress,"url-list":e.previewSrcList,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:fe,onSwitch:pe},ee({toolbar:L(t=>[P(e.$slots,`toolbar`,b(ie(t)))]),default:L(()=>[e.$slots.viewer?(R(),T(`div`,{key:0},[P(e.$slots,`viewer`)])):C(`v-if`,!0)]),_:2},[e.$slots.progress?{name:`progress`,fn:L(t=>[P(e.$slots,`progress`,b(ie(t)))])}:void 0]),1032,[`z-index`,`initial-index`,`infinite`,`zoom-rate`,`min-scale`,`max-scale`,`show-progress`,`url-list`,`crossorigin`,`hide-on-click-modal`,`teleported`,`close-on-press-escape`])):C(`v-if`,!0)],64)):C(`v-if`,!0)],16))}}),[[`__file`,`image.vue`]])),ks=e=>[``,...Je].includes(e);function As(e,t){let n,r=z(!1),i=A({...e,originalPosition:``,originalOverflow:``,visible:!1});function a(e){i.text=e}function o(){let e=i.parent,t=d.ns;if(!e.vLoadingAddClassList){let n=e.getAttribute(`loading-number`);n=Number.parseInt(n)-1,n?e.setAttribute(`loading-number`,n.toString()):(je(e,t.bm(`parent`,`relative`)),e.removeAttribute(`loading-number`)),je(e,t.bm(`parent`,`hidden`))}s(),u.unmount()}function s(){var e;(e=d.$el?.parentNode)==null||e.removeChild(d.$el)}function c(){var t;e.beforeClose&&!e.beforeClose()||(r.value=!0,clearTimeout(n),n=setTimeout(l,400),i.visible=!1,(t=e.closed)==null||t.call(e))}function l(){if(!r.value)return;let e=i.parent;r.value=!1,e.vLoadingAddClassList=void 0,o()}let u=fe(B({name:`ElLoading`,setup(e,{expose:t}){let{ns:n,zIndex:r}=Pe(`loading`);return t({ns:n,zIndex:r}),()=>{let e=i.spinner||i.svg,t=h(`svg`,{class:`circular`,viewBox:i.svgViewBox?i.svgViewBox:`0 0 50 50`,...e?{innerHTML:e}:{}},[h(`circle`,{class:`path`,cx:`25`,cy:`25`,r:`20`,fill:`none`})]),r=i.text?h(`p`,{class:n.b(`text`)},[i.text]):void 0;return h(_e,{name:n.b(`fade`),onAfterLeave:l},{default:L(()=>[pe(x(`div`,{style:{backgroundColor:i.background||``},class:[n.b(`mask`),i.customClass,i.fullscreen?`is-fullscreen`:``]},[h(`div`,{class:n.b(`spinner`)},[t,r])]),[[we,i.visible]])])})}}}));Object.assign(u._context,t??{});let d=u.mount(document.createElement(`div`));return{...me(i),setText:a,removeElLoadingChild:s,close:c,handleAfterLeave:l,vm:d,get $el(){return d.$el}}}var js=void 0,Ms=function(e={}){if(!nt)return;let t=Ns(e);if(t.fullscreen&&js)return js;let n=As({...t,closed:()=>{var e;(e=t.closed)==null||e.call(t),t.fullscreen&&(js=void 0)}},Ms._context);Ps(t,t.parent,n),Fs(t,t.parent,n),t.parent.vLoadingAddClassList=()=>Fs(t,t.parent,n);let r=t.parent.getAttribute(`loading-number`);return r=r?`${Number.parseInt(r)+1}`:`1`,t.parent.setAttribute(`loading-number`,r),t.parent.appendChild(n.$el),y(()=>n.visible.value=t.visible),t.fullscreen&&(js=n),n},Ns=e=>{let t;return t=j(e.target)?document.querySelector(e.target)??document.body:e.target||document.body,{parent:t===document.body||e.body?document.body:t,background:e.background||``,svg:e.svg||``,svgViewBox:e.svgViewBox||``,spinner:e.spinner||!1,text:e.text||``,fullscreen:t===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||``,visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:t}},Ps=async(e,t,n)=>{let{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,i={};if(e.fullscreen)n.originalPosition.value=Ue(document.body,`position`),n.originalOverflow.value=Ue(document.body,`overflow`),i.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=Ue(document.body,`position`),await y();for(let t of[`top`,`left`]){let n=t===`top`?`scrollTop`:`scrollLeft`;i[t]=`${e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]-Number.parseInt(Ue(document.body,`margin-${t}`),10)}px`}for(let t of[`height`,`width`])i[t]=`${e.target.getBoundingClientRect()[t]}px`}else n.originalPosition.value=Ue(t,`position`);for(let[e,t]of Object.entries(i))n.$el.style[e]=t},Fs=(e,t,n)=>{let r=n.vm.ns||n.vm._.exposed.ns;[`absolute`,`fixed`,`sticky`].includes(n.originalPosition.value)?je(t,r.bm(`parent`,`relative`)):Fe(t,r.bm(`parent`,`relative`)),e.fullscreen&&e.lock?Fe(t,r.bm(`parent`,`hidden`)):je(t,r.bm(`parent`,`hidden`))};Ms._context=null;var Is=Symbol(`ElLoading`),Ls=e=>`element-loading-${S(e)}`,Rs=(e,t)=>{let n=t.instance,r=e=>ae(t.value)?t.value[e]:void 0,i=e=>z(j(e)&&n?.[e]||e),a=t=>i(r(t)||e.getAttribute(Ls(t))),o=r(`fullscreen`)??t.modifiers.fullscreen,s={text:a(`text`),svg:a(`svg`),svgViewBox:a(`svgViewBox`),spinner:a(`spinner`),background:a(`background`),customClass:a(`customClass`),fullscreen:o,target:r(`target`)??(o?void 0:e),body:r(`body`)??t.modifiers.body,lock:r(`lock`)??t.modifiers.lock},c=Ms(s);c._context=Bs._context,e[Is]={options:s,instance:c}},zs=(e,t)=>{for(let n of Object.keys(e))Ee(e[n])&&(e[n].value=t[n])},Bs={mounted(e,t){t.value&&Rs(e,t)},updated(e,t){let n=e[Is];if(!t.value){n?.instance.close(),e[Is]=null;return}n?zs(n.options,ae(t.value)?t.value:{text:e.getAttribute(Ls(`text`)),svg:e.getAttribute(Ls(`svg`)),svgViewBox:e.getAttribute(Ls(`svgViewBox`)),spinner:e.getAttribute(Ls(`spinner`)),background:e.getAttribute(Ls(`background`)),customClass:e.getAttribute(Ls(`customClass`))}):Rs(e,t)},unmounted(e){var t;(t=e[Is])==null||t.instance.close(),e[Is]=null}};Bs._context=null;var Vs=`_trap-focus-children`,Hs=[],Us=e=>{if(Hs.length===0)return;let t=Hs[Hs.length-1][Vs];if(t.length>0&&e.code===Nt.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}let n=e.shiftKey,r=e.target===t[0],i=e.target===t[t.length-1];r&&n&&(e.preventDefault(),t[t.length-1].focus()),i&&!n&&(e.preventDefault(),t[0].focus())}},Ws=B({name:`ElMessageBox`,directives:{TrapFocus:{beforeMount(e){e[Vs]=Zt(e),Hs.push(e),Hs.length<=1&&document.addEventListener(`keydown`,Us)},updated(e){y(()=>{e[Vs]=Zt(e)})},unmounted(){Hs.shift(),Hs.length===0&&document.removeEventListener(`keydown`,Us)}}},components:{ElButton:$o,ElFocusTrap:po,ElInput:Na,ElOverlay:cs,ElIcon:Ne,...lt},inheritAttrs:!1,props:{buttonSize:{type:String,validator:ks},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:`body`},boxType:{type:String,default:``}},emits:[`vanish`,`action`],setup(e,{emit:t}){let{locale:n,zIndex:r,ns:i,size:a}=Pe(`message-box`,I(()=>e.buttonSize)),{t:o}=n,{nextZIndex:c}=r,l=z(!1),u=A({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:``,cancelButtonClass:``,confirmButtonText:``,confirmButtonClass:``,customClass:``,customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:``,closeIcon:``,inputPattern:null,inputPlaceholder:``,inputType:`text`,inputValue:``,inputValidator:void 0,inputErrorMessage:``,message:``,modalFade:!0,modalClass:``,showCancelButton:!1,showConfirmButton:!0,type:``,title:void 0,showInput:!1,action:``,confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:ue(We),cancelButtonLoadingIcon:ue(We),confirmButtonDisabled:!1,editorErrorMessage:``,validateError:!1,zIndex:c()}),d=I(()=>{let e=u.type;return{[i.bm(`icon`,e)]:e&&ft[e]}}),f=Kt(),p=Kt(),m=I(()=>{let e=u.type;return u.icon||e&&ft[e]||``}),h=I(()=>!!u.message),g=z(),_=z(),v=z(),b=z(),x=z(),S=I(()=>u.confirmButtonClass);N(()=>u.inputValue,async t=>{await y(),e.boxType===`prompt`&&t&&ee()},{immediate:!0}),N(()=>l.value,t=>{t&&(e.boxType!==`prompt`&&(u.autofocus?v.value=x.value?.$el??g.value:v.value=g.value),u.zIndex=c()),e.boxType===`prompt`&&(t?y().then(()=>{b.value&&b.value.$el&&(u.autofocus?v.value=te()??g.value:v.value=g.value)}):(u.editorErrorMessage=``,u.validateError=!1))}),fs(g,_,I(()=>e.draggable),I(()=>e.overflow)),O(async()=>{await y(),e.closeOnHashChange&&window.addEventListener(`hashchange`,C)}),se(()=>{e.closeOnHashChange&&window.removeEventListener(`hashchange`,C)});function C(){l.value&&(l.value=!1,y(()=>{u.action&&t(`action`,u.action)}))}let w=()=>{e.closeOnClickModal&&D(u.distinguishCancelAndClose?`close`:`cancel`)},T=is(w),E=e=>{if(u.inputType!==`textarea`)return e.preventDefault(),D(`confirm`)},D=t=>{var n;e.boxType===`prompt`&&t===`confirm`&&!ee()||(u.action=t,u.beforeClose?(n=u.beforeClose)==null||n.call(u,t,u,C):C())},ee=()=>{if(e.boxType===`prompt`){let e=u.inputPattern;if(e&&!e.test(u.inputValue||``))return u.editorErrorMessage=u.inputErrorMessage||o(`el.messagebox.error`),u.validateError=!0,!1;let t=u.inputValidator;if(s(t)){let e=t(u.inputValue);if(e===!1)return u.editorErrorMessage=u.inputErrorMessage||o(`el.messagebox.error`),u.validateError=!0,!1;if(j(e))return u.editorErrorMessage=e,u.validateError=!0,!1}}return u.editorErrorMessage=``,u.validateError=!1,!0},te=()=>{let e=b.value?.$refs;return e?.input??e?.textarea},k=()=>{D(`close`)},ne=()=>{e.closeOnPressEscape&&k()};return e.lockScroll&&_s(l),{...me(u),ns:i,overlayEvent:T,visible:l,hasMessage:h,typeClass:d,contentId:f,inputId:p,btnSize:a,iconComponent:m,confirmButtonClasses:S,rootRef:g,focusStartRef:v,headerRef:_,inputRef:b,confirmRef:x,doClose:C,handleClose:k,onCloseRequested:ne,handleWrapperClick:w,handleInputEnter:E,handleAction:D,t:o}}});function Gs(e,t,n,r,a,o){let s=M(`el-icon`),l=M(`el-input`),u=M(`el-button`),d=M(`el-focus-trap`),f=M(`el-overlay`);return R(),F(_e,{name:`fade-in-linear`,onAfterLeave:t=>e.$emit(`vanish`),persisted:``},{default:L(()=>[pe(x(f,{"z-index":e.zIndex,"overlay-class":[e.ns.is(`message-box`),e.modalClass],mask:e.modal},{default:L(()=>[i(`div`,{role:`dialog`,"aria-label":e.title,"aria-modal":`true`,"aria-describedby":e.showInput?void 0:e.contentId,class:m(`${e.ns.namespace.value}-overlay-message-box`),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[x(d,{loop:``,trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:L(()=>[i(`div`,{ref:`rootRef`,class:m([e.ns.b(),e.customClass,e.ns.is(`draggable`,e.draggable),{[e.ns.m(`center`)]:e.center}]),style:ye(e.customStyle),tabindex:`-1`,onClick:c(()=>{},[`stop`])},[e.title!==null&&e.title!==void 0?(R(),T(`div`,{key:0,ref:`headerRef`,class:m([e.ns.e(`header`),{"show-close":e.showClose}])},[i(`div`,{class:m(e.ns.e(`title`))},[e.iconComponent&&e.center?(R(),F(s,{key:0,class:m([e.ns.e(`status`),e.typeClass])},{default:L(()=>[(R(),F(xe(e.iconComponent)))]),_:1},8,[`class`])):C(`v-if`,!0),i(`span`,null,v(e.title),1)],2),e.showClose?(R(),T(`button`,{key:0,type:`button`,class:m(e.ns.e(`headerbtn`)),"aria-label":e.t(`el.messagebox.close`),onClick:t=>e.handleAction(e.distinguishCancelAndClose?`close`:`cancel`),onKeydown:k(c(t=>e.handleAction(e.distinguishCancelAndClose?`close`:`cancel`),[`prevent`]),[`enter`])},[x(s,{class:m(e.ns.e(`close`))},{default:L(()=>[(R(),F(xe(e.closeIcon||`close`)))]),_:1},8,[`class`])],42,[`aria-label`,`onClick`,`onKeydown`])):C(`v-if`,!0)],2)):C(`v-if`,!0),i(`div`,{id:e.contentId,class:m(e.ns.e(`content`))},[i(`div`,{class:m(e.ns.e(`container`))},[e.iconComponent&&!e.center&&e.hasMessage?(R(),F(s,{key:0,class:m([e.ns.e(`status`),e.typeClass])},{default:L(()=>[(R(),F(xe(e.iconComponent)))]),_:1},8,[`class`])):C(`v-if`,!0),e.hasMessage?(R(),T(`div`,{key:1,class:m(e.ns.e(`message`))},[P(e.$slots,`default`,{},()=>[e.dangerouslyUseHTMLString?(R(),F(xe(e.showInput?`label`:`p`),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,[`for`,`innerHTML`])):(R(),F(xe(e.showInput?`label`:`p`),{key:0,for:e.showInput?e.inputId:void 0},{default:L(()=>[g(v(e.dangerouslyUseHTMLString?``:e.message),1)]),_:1},8,[`for`]))])],2)):C(`v-if`,!0)],2),pe(i(`div`,{class:m(e.ns.e(`input`))},[x(l,{id:e.inputId,ref:`inputRef`,modelValue:e.inputValue,"onUpdate:modelValue":t=>e.inputValue=t,type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:m({invalid:e.validateError}),onKeydown:k(e.handleInputEnter,[`enter`])},null,8,[`id`,`modelValue`,`onUpdate:modelValue`,`type`,`placeholder`,`aria-invalid`,`class`,`onKeydown`]),i(`div`,{class:m(e.ns.e(`errormsg`)),style:ye({visibility:e.editorErrorMessage?`visible`:`hidden`})},v(e.editorErrorMessage),7)],2),[[we,e.showInput]])],10,[`id`]),i(`div`,{class:m(e.ns.e(`btns`))},[e.showCancelButton?(R(),F(u,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:m([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t=>e.handleAction(`cancel`),onKeydown:k(c(t=>e.handleAction(`cancel`),[`prevent`]),[`enter`])},{default:L(()=>[g(v(e.cancelButtonText||e.t(`el.messagebox.cancel`)),1)]),_:1},8,[`loading`,`loading-icon`,`class`,`round`,`size`,`onClick`,`onKeydown`])):C(`v-if`,!0),pe(x(u,{ref:`confirmRef`,type:`primary`,loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:m([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t=>e.handleAction(`confirm`),onKeydown:k(c(t=>e.handleAction(`confirm`),[`prevent`]),[`enter`])},{default:L(()=>[g(v(e.confirmButtonText||e.t(`el.messagebox.confirm`)),1)]),_:1},8,[`loading`,`loading-icon`,`class`,`round`,`disabled`,`size`,`onClick`,`onKeydown`]),[[we,e.showConfirmButton]])],2)],14,[`onClick`])]),_:3},8,[`trapped`,`focus-trap-el`,`focus-start-el`,`onReleaseRequested`])],42,[`aria-label`,`aria-describedby`,`onClick`,`onMousedown`,`onMouseup`])]),_:3},8,[`z-index`,`overlay-class`,`mask`]),[[we,e.visible]])]),_:3},8,[`onAfterLeave`])}var Ks=St(Ws,[[`render`,Gs],[`__file`,`index.vue`]]),qs=new Map,Js=e=>{let t=document.body;return e.appendTo&&(j(e.appendTo)&&(t=document.querySelector(e.appendTo)),Ge(e.appendTo)&&(t=e.appendTo),Ge(t)||(pt(`ElMessageBox`,`the appendTo option is not an HTMLElement. Falling back to document.body.`),t=document.body)),t},Ys=(e,t,n=null)=>{let r=x(Ks,e,s(e.message)||oe(e.message)?{default:s(e.message)?e.message:()=>e.message}:null);return r.appContext=n,ce(r,t),Js(e).appendChild(t.firstElementChild),r.component},Xs=()=>document.createElement(`div`),Zs=(e,t)=>{let n=Xs();e.onVanish=()=>{ce(null,n),qs.delete(i)},e.onAction=t=>{let n=qs.get(i),a;a=e.showInput?{value:i.inputValue,action:t}:t,e.callback?e.callback(a,r.proxy):t===`cancel`||t===`close`?e.distinguishCancelAndClose&&t!==`cancel`?n.reject(`close`):n.reject(`cancel`):n.resolve(a)};let r=Ys(e,n,t),i=r.proxy;for(let t in e)_(e,t)&&!_(i.$props,t)&&(t===`closeIcon`&&ae(e[t])?i[t]=ue(e[t]):i[t]=e[t]);return i.visible=!0,i};function Qs(e,t=null){if(!nt)return Promise.reject();let n;return j(e)||oe(e)?e={message:e}:n=e.callback,new Promise((r,i)=>{let a=Zs(e,t??Qs._context);qs.set(a,{options:e,callback:n,resolve:r,reject:i})})}var $s=[`alert`,`confirm`,`prompt`],ec={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};$s.forEach(e=>{Qs[e]=tc(e)});function tc(e){return(t,n,r,i)=>{let a=``;return ae(n)?(r=n,a=``):a=Me(n)?``:n,Qs(Object.assign({title:a,message:t,type:``,...ec[e]},r,{boxType:e}),i)}}Qs.close=()=>{qs.forEach((e,t)=>{t.doClose()}),qs.clear()},Qs._context=null;var nc=Qs;nc.install=e=>{nc._context=e._context,e.config.globalProperties.$msgbox=nc,e.config.globalProperties.$messageBox=nc,e.config.globalProperties.$alert=nc.alert,e.config.globalProperties.$confirm=nc.confirm,e.config.globalProperties.$prompt=nc.prompt};var rc=nc,ic=e=>e===``,ac=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),oc=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),sc=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),cc=e=>{let t=sc(e);return t.charAt(0).toUpperCase()+t.slice(1)},lc={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},uc=Symbol(`lucide-icons`);function dc(){return re(uc,{})}var fc=({name:e,iconNode:t,absoluteStrokeWidth:n,"absolute-stroke-width":r,strokeWidth:i,"stroke-width":a,size:o,color:s,...c},{slots:l})=>{let{size:u,color:d,strokeWidth:f=2,absoluteStrokeWidth:p=!1,class:m=``}=dc(),g=I(()=>{let e=ic(n)||ic(r)||n===!0||r===!0||p===!0,t=i||a||f||lc[`stroke-width`];return e?Number(t)*24/Number(o??u??lc.width):t});return h(`svg`,{...lc,...c,width:o??u??lc.width,height:o??u??lc.height,stroke:s??d??lc.stroke,"stroke-width":g.value,class:ac(`lucide`,m,...e?[`lucide-${oc(cc(e))}-icon`,`lucide-${oc(e)}`]:[`lucide-icon`])},[...t.map(e=>h(...e)),...l.default?[l.default()]:[]])},pc=(e,t)=>(n,{slots:r,attrs:i})=>h(fc,{...i,...n,iconNode:t,name:e},r.default?{default:r.default}:void 0),mc=pc(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]);function hc(e){return e===`primary`?`brand`:[`neutral`,`brand`,`info`,`success`,`warning`,`danger`].includes(e)?e:`neutral`}function gc(e,t){return B({name:e,inheritAttrs:!1,props:{tone:{type:String,default:`neutral`},density:{type:String,default:`default`}},setup(e,{attrs:n,slots:r}){return()=>h(`span`,{...n,class:[`adc-badge`,t,`adc-badge--${hc(e.tone)}`,{"adc-badge--compact":e.density===`compact`},n.class]},r.default?.())}})}var _c=gc(`StatusBadge`,`adc-status-badge`),vc=gc(`MetaTag`,`adc-meta-tag`),yc={"zh-CN":`cny`,"zh-TW":`cny`,en:`usd`,de:`eur`,pt:`eur`,es:`eur`,fr:`eur`,it:`eur`,ko:`krw`,ja:`jpy`,ru:`rub`,pl:`pln`,fi:`eur`,sv:`sek`,el:`eur`,uk:`uah`,ar:`sar`,sr:`rsd`},bc={cny:`¥`,usd:`$`,eur:`€`,jpy:`¥`,krw:`₩`,gbp:`£`,rub:`₽`,pln:`zł`,sek:`kr`,uah:`₴`,sar:`﷼`,rsd:`din`},xc=()=>Lr,Sc=()=>!fr()&&!ir()&&typeof window<`u`&&window.location.origin||Qn,Cc=()=>cr,wc=t({default:()=>Tc}),Tc=[`chat.application`,`chat.applications`,`chat.service`,`chat.credential`,`chat.conversations`,`chat.model`,`chat.memoryEnabled`,`chat.workingDirectory`],Ec=t({default:()=>Dc}),Dc=[`codingBridge.currentNodeId`,`codingBridge.historyRef`,`codingBridge.lastComposer`,`codingBridge.lastSeq`],Oc=t({default:()=>kc}),kc=[`digitalhuman.credential`,`digitalhuman.application`,`digitalhuman.applications`],Ac=t({default:()=>jc}),jc=[`fish.credential`,`fish.application`,`fish.applications`],Mc=t({default:()=>Nc}),Nc=[`flux.credential`,`flux.application`,`flux.applications`],Pc=t({default:()=>Fc}),Fc=[`grokvideo.credential`,`grokvideo.application`,`grokvideo.applications`],Ic=t({default:()=>Lc}),Lc=[`hailuo.credential`,`hailuo.application`,`hailuo.applications`],Rc=t({default:()=>zc}),zc=[`kling.credential`,`kling.application`,`kling.applications`,`kling.taskType`],Bc=t({default:()=>Vc}),Vc=[`luma.credential`,`luma.application`,`luma.applications`],Hc=t({default:()=>Uc}),Uc=[`maestro.credential`,`maestro.application`,`maestro.applications`],Wc=t({default:()=>Gc}),Gc=[`midjourney.credential`,`midjourney.mode`,`midjourney.application`,`midjourney.applications`],Kc=t({default:()=>qc}),qc=[`minimax.credential`,`minimax.application`,`minimax.applications`],Jc=t({default:()=>Yc}),Yc=[`nanobanana.credential`,`nanobanana.application`,`nanobanana.applications`],Xc=t({default:()=>Zc}),Zc=[`omni.credential`,`omni.application`,`omni.applications`],Qc=t({default:()=>$c}),$c=[`openaiimage.credential`,`openaiimage.application`,`openaiimage.applications`],el=t({default:()=>tl}),tl=[`pika.credential`,`pika.application`,`pika.applications`],nl=t({default:()=>rl}),rl=[`pixverse.credential`,`pixverse.application`,`pixverse.applications`],il=t({default:()=>al}),al=[`producer.credential`,`producer.application`,`producer.applications`],ol=t({default:()=>sl}),sl=[`qrart.credential`,`qrart.application`,`qrart.applications`],cl=t({default:()=>ll}),ll=[`qwenimage.credential`,`qwenimage.application`,`qwenimage.applications`],ul=t({default:()=>dl}),dl=[`seedance.credential`,`seedance.application`,`seedance.applications`],fl=t({default:()=>pl}),pl=[`seedream.credential`,`seedream.application`,`seedream.applications`],ml=t({default:()=>hl}),hl=[`serp.credential`,`serp.application`,`serp.applications`],gl=t({default:()=>_l}),_l=[`sora.credential`,`sora.application`,`sora.applications`],vl=t({default:()=>yl}),yl=[`suno.credential`,`suno.application`,`suno.applications`,`suno.favoritePersonaIds`],bl=t({default:()=>xl}),xl=[`veo.credential`,`veo.application`,`veo.applications`],Sl=t({default:()=>Cl}),Cl=[`wan.credential`,`wan.application`,`wan.applications`],wl=t({default:()=>Tl}),Tl=[`webextrator.credential`,`webextrator.application`,`webextrator.applications`,`webextrator.config`],El=function(e){return function(e){return!!e&&typeof e==`object`}(e)&&!function(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||function(e){return e.$$typeof===Dl}(e)}(e)},Dl=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function Ol(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ml(Array.isArray(e)?[]:{},e,t):e}function kl(e,t,n){return e.concat(t).map(function(e){return Ol(e,n)})}function Al(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}(e))}function jl(e,t){try{return t in e}catch{return!1}}function Ml(e,t,n){(n||={}).arrayMerge=n.arrayMerge||kl,n.isMergeableObject=n.isMergeableObject||El,n.cloneUnlessOtherwiseSpecified=Ol;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Al(e).forEach(function(t){r[t]=Ol(e[t],n)}),Al(t).forEach(function(i){(function(e,t){return jl(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(r[i]=jl(e,i)&&n.isMergeableObject(t[i])?function(e,t){if(!t.customMerge)return Ml;var n=t.customMerge(e);return typeof n==`function`?n:Ml}(i,n)(e[i],t[i],n):Ol(t[i],n))}),r}(e,t,n):Ol(t,n)}Ml.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return Ml(e,n,t)},{})};var Nl=Ml;function Pl(e){var t=(e||={}).storage||window&&window.localStorage,n=e.key||`vuex`;function r(e,t){var n=t.getItem(e);try{return typeof n==`string`?JSON.parse(n):typeof n==`object`?n:void 0}catch{}}function i(){return!0}function a(e,t,n){return n.setItem(e,JSON.stringify(t))}function o(e,t){return Array.isArray(t)?t.reduce(function(t,n){return function(e,t,n,r){return!/^(__proto__|constructor|prototype)$/.test(t)&&((t=t.split?t.split(`.`):t.slice(0)).slice(0,-1).reduce(function(e,t){return e[t]=e[t]||{}},e)[t.pop()]=n),e}(t,n,(r=e,(r=((i=n).split?i.split(`.`):i).reduce(function(e,t){return e&&e[t]},r))===void 0?void 0:r));var r,i},{}):e}function s(e){return function(t){return e.subscribe(t)}}(e.assertStorage||function(){t.setItem(`@@`,1),t.removeItem(`@@`)})(t);var c,l=function(){return(e.getState||r)(n,t)};return e.fetchBeforeUse&&(c=l()),function(r){e.fetchBeforeUse||(c=l()),typeof c==`object`&&c&&(r.replaceState(e.overwrite?c:Nl(r.state,c,{arrayMerge:e.arrayMerger||function(e,t){return t},clone:!1})),(e.rehydrated||function(){})(r)),(e.subscriber||s)(r)(function(r,s){(e.filter||i)(r)&&(e.setState||a)(n,(e.reducer||o)(s,e.paths),t)})}}var Fl=()=>({model:Hr(Yn),modelGroup:Yn,applications:void 0,application:void 0,conversations:void 0,service:void 0,credential:void 0,memoryEnabled:!0,workingDirectory:``,pendingDraft:``,status:{getService:V.None,getApplications:V.None,getConversations:V.None}}),Il=()=>({service:void 0,application:void 0,applications:void 0,tasks:{items:void 0,total:void 0},credential:void 0,config:{},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Ll=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Rl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),zl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Bl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,motionConfig:void 0,talkingPhotoConfig:void 0,taskType:`videos`,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Vl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Hl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Ul=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Wl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Gl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Kl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),ql=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Jl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Yl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,audio:{volume:100},credential:void 0,config:void 0,personas:void 0,customModels:void 0,favoritePersonaIds:[],status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Xl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,audio:{volume:100},credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Zl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:Dr,resolution:`1K`},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Ql=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:bn,size:kr,quality:En},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),$l=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{action:`generate`,model:pr,size:`2K`},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),eu=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:zr,size:zn,n:1,prompt_extend:!0,enable_thinking:!0,watermark:!1},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),tu=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:Mr,duration:5,resolution:Ar,ratio:Sr,camerafixed:!1,generate_audio:!1,return_last_frame:!1,execution_expires_after:rr},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),nu=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:Cn,aspect_ratio:On,resolution:Fn,duration:6},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),ru=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:fn,aspect_ratio:kn,resolution:hr},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),iu=()=>({service:void 0,application:void 0,applications:void 0,credential:void 0,config:void 0,results:void 0,status:{getService:V.None,getApplications:V.None,search:V.None}}),au=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),ou=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,voices:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),su=()=>({service:void 0,application:void 0,applications:void 0,credential:void 0,config:{mode:`extract`,wait_until:`networkidle`,expected_type:`general`,enable_llm:!1,timeout:30,block_resources:[`image`,`font`,`media`]},response:void 0,status:{getService:V.None,getApplications:V.None,run:V.None}}),cu=()=>({nodes:[],currentNodeId:void 0,currentSessionId:void 0,sessions:{},events:{},lastSeq:{},seqChecked:{},history:{},capabilities:{},historyRef:void 0,permissions:[],connection:`disconnected`,directory:void 0,directoryLoading:!1,lastComposer:{},application:void 0,applications:void 0,service:void 0,status:{getNodes:V.None,claimPair:V.None,deleteNode:V.None,renameNode:V.None,getApplications:V.None,getHistory:V.None,getHistoryDetail:V.None}}),lu=()=>({applications:[],accounts:[],fingerprint:void 0,currency:`usd`,exchange:void 0,user:{},auth:{flow:`redirect`,visible:!1,action:`login`},config:void 0,token:{access:void 0,refresh:void 0,expiration:void 0},status:{getSite:void 0,getService:void 0,getApplications:void 0,getTasks:void 0},setting:{},site:{},chat:Fl(),midjourney:Il(),qrart:Ll(),luma:Rl(),pika:zl(),kling:Bl(),sora:Hl(),maestro:Ul(),digitalhuman:Wl(),veo:Vl(),pixverse:Gl(),flux:Kl(),hailuo:ql(),minimax:Jl(),suno:Yl(),producer:Xl(),nanobanana:Zl(),openaiimage:Ql(),seedream:$l(),qwenimage:eu(),seedance:tu(),grokvideo:nu(),omni:ru(),serp:iu(),wan:au(),fish:ou(),webextrator:su(),codingBridge:cu()}),uu={rememberCurrentAccount:e=>{e.accounts=Qr(e.accounts||[],e.user,e.token)},forgetCurrentAccount:e=>{e.accounts=(e.accounts||[]).filter(t=>t.user.id!==e.user?.id&&t.token.access!==e.token.access)},setUser:(e,t)=>{e.user={...e.user,...t}},setSite:(e,t)=>{e.site={...e.site,...t}},setConfig:(e,t)=>{e.config=t},setAuth:(e,t)=>{e.auth={...e.auth,...t}},setCurrency:(e,t)=>{e.currency=t},setExchange:(e,t)=>{e.exchange={...e.exchange,...t}},resetUser:e=>{e.user={}},setFingerprint:(e,t)=>{e.fingerprint=t},setToken:(e,t)=>{e.token={...e.token,...t}},resetToken:e=>{e.token={}},resetSite:e=>{e.site={}},setApplications:(e,t)=>{console.debug(`set applications for global`,t),e.applications=t},setSetting:(e,t)=>{e.setting={...e.setting,...t}}};function du(e){return async function(){return(await(await e.load()).get()).visitorId}}var fu=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),pu=e=>encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent),mu=decodeURIComponent,hu=e=>(e[0]===`"`&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent));function gu(e){return e=Object.assign({},e),typeof e.expires==`number`&&(e.expires=new Date(Date.now()+e.expires*864e5)),e.expires!=null&&(e.expires=e.expires.toUTCString()),Object.entries(e).filter(([e,t])=>t!=null&&t!==!1).map(([e,t])=>t===!0?`; ${e}`:`; ${e}=${t.split(`;`)[0]}`).join(``)}function _u(e,t,n){let r=/(?:^|; )([^=]*)=([^;]*)/g,i={},a;for(;(a=r.exec(document.cookie))!=null;)try{let r=n(a[1]);if(i[r]=t(a[2],r),e===r)break}catch{}return e==null?i:i[e]}var vu=Object.freeze({decodeName:mu,decodeValue:hu,encodeName:fu,encodeValue:pu}),yu=Object.freeze({path:`/`});function bu(e,t,n=yu,{encodeValue:r=pu,encodeName:i=fu}={}){return document.cookie=`${i(e)}=${r(t,e)}${gu(n)}`}function xu(e,{decodeValue:t=hu,decodeName:n=mu}={}){return _u(e,t,n)}function Su({decodeValue:e=hu,decodeName:t=mu}={}){return _u(void 0,e,t)}function Cu(e,t=yu){bu(e,``,Object.assign({},t,{expires:-1}))}function wu(e,t){let n={set:function(e,t,n){return bu(e,t,Object.assign({},this.attributes,n),{encodeValue:this.converter.write})},get:function(e){if(arguments.length===0)return Su(this.converter.read);if(e!=null)return xu(e,this.converter.read)},remove:function(e,t){Cu(e,Object.assign({},this.attributes,t))},withAttributes:function(e){return wu(this.converter,Object.assign({},this.attributes,e))},withConverter:function(e){return wu(Object.assign({},this.converter,e),this.attributes)}},r={attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}};return Object.create(n,r)}wu({read:vu.decodeValue,write:vu.encodeValue},yu);var Tu=()=>q?.state?.site?.distribution?.force_inviter_id?q?.state?.site?.distribution?.force_inviter_id:new URLSearchParams(window.location.search).get(`inviter_id`)||xu(`INVITER_ID`)||q?.state?.site?.distribution?.default_inviter_id,Eu=({redirect:e=`/`,site:t=window.location.origin,addAccount:n=!1})=>{let r=Sc(),i=Cc(),a=Tu(),o=`${r}/auth/callback?${new URLSearchParams({redirect:e}).toString()}`,s=`${i}/auth/login/`,c={site:t,...a?{inviter_id:a}:{},...o?{redirect:o}:{}},l=`${s}?${new URLSearchParams(c).toString()}`;window.location.href=n?`${i}/auth/logout?${new URLSearchParams({redirect:l}).toString()}`:l},Du=()=>q.getters.authenticated?!0:(q.state.auth?.visible||q.dispatch(`login`),!1),Ou={getAccountToken:()=>void 0,isAuthenticated:()=>!1,triggerLogin:()=>void 0},ku=e=>{Ou=e},Au=class extends Error{code=`auth_required`;constructor(){super(`Authentication required`),this.name=`AuthRequiredError`}},ju=class extends Error{code=`credential_not_ready`;constructor(){super(`Service credential is not ready`),this.name=`CredentialNotReadyError`}},Mu=e=>e instanceof Au||e instanceof ju,Nu=()=>{let e=Ou.getAccountToken();if(typeof e==`string`&&e.trim())return e;throw Ou.triggerLogin(),new Au},Pu=e=>{if(typeof e==`string`&&e.trim())return e;throw Ou.isAuthenticated()?new ju:(Ou.triggerLogin(),new Au)},Fu=e=>({Authorization:`Bearer ${Pu(e)}`}),Iu=e=>{let t=e.headers?.get?.(`authorization`)??e.headers?.get?.(`Authorization`);if(typeof t!=`string`)return;let n=/^Bearer\s+(.+)$/i.exec(t.trim())?.[1]?.trim();if(!(!n||/^(undefined|null)$/i.test(n)))return n},Lu=e=>{try{return new URL(e.url||``,e.baseURL||window.location.origin).origin}catch{return}},Ru=(e=U)=>{let t=e.interceptors.request.use(e=>(Lu(e)===new URL(H).origin&&Pu(Iu(e)),e));return()=>e.interceptors.request.eject(t)};function zu(e){let t=e.service??e.pay_way??e.provider??e.action,n=e.order_id??e.task_id??e.id,r=e.trace_id??e.error;return{ext1:t==null?void 0:String(t),ext2:n==null?void 0:String(n),ext3:r==null?void 0:String(r)}}function Bu(t){let n=t.mapTrackProps??zu,r=null,i=!1;function a(e,t){if(r)try{e&&r.setConfig({uin:e}),t&&r.setConfig({aid:t})}catch(e){console.warn(`[telemetry] setUser failed:`,e)}}async function o(n={}){if(i&&r){a(n.uin,n.fingerprint);return}try{let a=await W(()=>import(`./aegis.min-C7H4WXnC.js`).then(t=>e(t.default,1)),__vite__mapDeps([0,1]));r=new(a.default??a)({id:t.projectId,uin:n.uin,aid:n.fingerprint,reportApiSpeed:!0,reportAssetSpeed:!0,spa:!0,hostUrl:t.hostUrl,version:n.release}),i=!0}catch(e){console.warn(`[telemetry] failed to init Aegis:`,e)}}function s(e,t={}){if(r)try{let i=n(t);r.info({msg:e,ext1:i.ext1,ext2:i.ext2,ext3:i.ext3})}catch(e){console.warn(`[telemetry] track failed:`,e)}}function c(e,t={}){if(r)try{let n=e instanceof Error?e:Error(String(e));r.error({msg:n.message,stack:n.stack,ext1:t.source==null?void 0:String(t.source),ext2:t.route==null?void 0:String(t.route),ext3:t.trace_id==null?void 0:String(t.trace_id)})}catch(e){console.warn(`[telemetry] captureError failed:`,e)}}function l(e){if(r)try{r.info({msg:`api_failure`,ext1:`${e.method??`GET`} ${e.url}`,ext2:e.status==null?void 0:String(e.status),ext3:e.trace_id})}catch(e){console.warn(`[telemetry] trackApiFailure failed:`,e)}}function u(){return i}return{initTelemetry:o,setUser:a,track:s,captureError:c,trackApiFailure:l,isInitialized:u}}var Vu=Bu({projectId:`LlKeKIj1mDzkYrY6na`,hostUrl:`https://rumt-zh.com`}),Hu=Vu.initTelemetry,Uu=Vu.setUser,Wu=Vu.track,Gu=Vu.captureError,Ku=Vu.trackApiFailure;Vu.isInitialized;var qu=new Map,Ju=e=>{if(!(typeof e!=`string`&&typeof e!=`number`))return String(e).trim()||void 0};function Yu(e,t,n,r){Wu(`x402_order_payment_stage`,{id:e,provider:t,...n?{network:n}:{},...r?{error:r}:{}})}function Xu(e,t){Wu(`x402_wallet_connected`,{provider:e,id:t})}function Zu(e,t){let n=Ju(e);if(!n)return;let r=qu.get(n);r&&(qu.delete(n),t&&Wu(`generation_terminal_success`,{service:r,task_id:n}))}function Qu(e,t){let n=t.trim().toLowerCase().replace(/\.$/,``),r=e?.origin?.trim().toLowerCase().replace(/\.$/,``);return!!(e?.id&&r&&n===r&&n!==yr&&n.endsWith(`.${yr}`))}function $u(e,t){Qu(e,t)&&Wu(`subsite_loaded`,{site_id:e.id,site_origin:e.origin})}function ed(e,t){return Wu(`generation_submit`,{service:e}),t.then(t=>{let n=Ju(t?.data?.id??t?.data?.task_id??t?.id);return n&&qu.set(n,e),Wu(`generation_success`,{service:e,task_id:n}),t},t=>{if(Mu(t))throw t;let n=t?.name===`X402PaymentError`?t?.paymentError:void 0;throw Wu(n?`x402_payment_failed`:`generation_failed`,{service:e,trace_id:t?.response?.data?.trace_id??t?.response?.headers?.[`x-request-id`],...n?{error:n.code,stage:n.stage,network:n.params.network}:{error:t?.response?.data?.error?.message??String(t)}}),t})}var td={"Content-type":`application/json`,Accept:`application/json`};function nd(){return typeof crypto<`u`&&typeof crypto.randomUUID==`function`?crypto.randomUUID():`${Date.now().toString(16)}-${Math.floor(Math.random()*1e9).toString(16)}`}function rd(e,t,n){let r=e;typeof r.set==`function`?r.set(t,n):r[t]=n}function id(e,t){let n=e;return typeof n.has==`function`?n.has(t):n[t]!=null}function ad(e){let t=e.authHeaderName??`Authorization`,n=e.generateRequestId??nd,r=U.create({baseURL:e.baseURL,timeout:e.timeout,headers:{...td,...e.defaultHeaders??{}},...e.paramsSerializer?{paramsSerializer:e.paramsSerializer}:{}});return r.interceptors.request.use(r=>{r.headers||={};let i=r.headers,a=e.getToken(),o=e.getUserId(),s=e.getFingerprint(),c=e.getLocale();return rd(i,`x-request-id`,n()),a&&rd(i,t,`Bearer ${a}`),c&&!id(i,`accept-language`)&&!id(i,`Accept-Language`)&&rd(i,`accept-language`,String(c)),s&&rd(i,`x-fingerprint`,String(s)),o&&rd(i,`x-user-id`,String(o)),r}),r.interceptors.response.use(e=>e,async t=>{t?.response?.status===401&&e.onUnauthorized&&await e.onUnauthorized(t);let n=t?.response?.data?.trace_id||t?.response?.headers?.[`x-request-id`];return n&&console.error(`Request failed [trace_id=${n}]`,t?.response?.status,t?.response?.data),t?.response&&e.onApiFailure&&e.onApiFailure({url:t.config?.url??``,method:t.config?.method,status:t.response.status,trace_id:n}),Promise.reject(t)}),r}var od=n(((e,t)=>{t.exports=TypeError})),sd=n(((e,t)=>{var n=typeof Map==`function`&&Map.prototype,r=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,`size`):null,i=n&&r&&typeof r.get==`function`?r.get:null,a=n&&Map.prototype.forEach,o=typeof Set==`function`&&Set.prototype,s=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,`size`):null,c=o&&s&&typeof s.get==`function`?s.get:null,l=o&&Set.prototype.forEach,u=typeof WeakMap==`function`&&WeakMap.prototype?WeakMap.prototype.has:null,d=typeof WeakSet==`function`&&WeakSet.prototype?WeakSet.prototype.has:null,f=typeof WeakRef==`function`&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,h=Function.prototype.toString,g=String.prototype.match,_=String.prototype.slice,v=String.prototype.replace,y=String.prototype.toUpperCase,b=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,C=Array.prototype.join,w=Array.prototype.slice,T=Math.floor,E=typeof BigInt==`function`?BigInt.prototype.valueOf:null,D=Object.getOwnPropertySymbols,ee=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?Symbol.prototype.toString:null,O=typeof Symbol==`function`&&typeof Symbol.iterator==`object`,te=typeof Symbol==`function`&&Symbol.toStringTag?Symbol.toStringTag:null,k=Object.prototype.propertyIsEnumerable,A=(typeof Reflect==`function`?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function ne(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e==`number`){var r=e<0?-T(-e):T(e);if(r!==e){var i=String(r),a=_.call(t,i.length+1);return v.call(i,n,`$&_`)+`.`+v.call(v.call(a,/([0-9]{3})/g,`$&_`),/_$/,``)}}return v.call(t,n,`$&_`)}var re=qr(),ie=re.custom,ae=F(ie)?ie:null,oe={__proto__:null,double:`"`,single:`'`},j={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t.exports=function e(t,n,r,o){var s=n||{};if(he(s,`quoteStyle`)&&!he(oe,s.quoteStyle))throw TypeError(`option "quoteStyle" must be "single" or "double"`);if(he(s,`maxStringLength`)&&(typeof s.maxStringLength==`number`?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=he(s,`customInspect`)?s.customInspect:!0;if(typeof u!=`boolean`&&u!==`symbol`)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(he(s,`indent`)&&s.indent!==null&&s.indent!==` `&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(he(s,`numericSeparator`)&&typeof s.numericSeparator!=`boolean`)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=s.numericSeparator;if(t===void 0)return`undefined`;if(t===null)return`null`;if(typeof t==`boolean`)return t?`true`:`false`;if(typeof t==`string`)return Ce(t,s);if(typeof t==`number`){if(t===0)return 1/0/t>0?`0`:`-0`;var f=String(t);return d?ne(t,f):f}if(typeof t==`bigint`){var m=String(t)+`n`;return d?ne(t,m):m}var h=s.depth===void 0?5:s.depth;if(r===void 0&&(r=0),r>=h&&h>0&&typeof t==`object`)return M(t)?`[Array]`:`[Object]`;var g=De(s,r);if(o===void 0)o=[];else if(_e(o,t)>=0)return`[Circular]`;function y(t,n,i){if(n&&(o=w.call(o),o.push(n)),i){var a={depth:s.depth};return he(s,`quoteStyle`)&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if(typeof t==`function`&&!N(t)){var x=ge(t),T=ke(t,y);return`[Function`+(x?`: `+x:` (anonymous)`)+`]`+(T.length>0?` { `+C.call(T,`, `)+` }`:``)}if(F(t)){var D=O?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,`$1`):ee.call(t);return typeof t==`object`&&!O?we(D):D}if(Se(t)){for(var ie=`<`+b.call(String(t.nodeName)),j=t.attributes||[],le=0;le<j.length;le++)ie+=` `+j[le].name+`=`+se(ce(j[le].value),`double`,s);return ie+=`>`,t.childNodes&&t.childNodes.length&&(ie+=`...`),ie+=`</`+b.call(String(t.nodeName))+`>`,ie}if(M(t)){if(t.length===0)return`[]`;var me=ke(t,y);return g&&!B(me)?`[`+Oe(me,g)+`]`:`[ `+C.call(me,`, `)+` ]`}if(de(t)){var z=ke(t,y);return!(`cause`in Error.prototype)&&`cause`in t&&!k.call(t,`cause`)?`{ [`+String(t)+`] `+C.call(S.call(`[cause]: `+y(t.cause),z),`, `)+` }`:z.length===0?`[`+String(t)+`]`:`{ [`+String(t)+`] `+C.call(z,`, `)+` }`}if(typeof t==`object`&&u){if(ae&&typeof t[ae]==`function`&&re)return re(t,{depth:h-r});if(u!==`symbol`&&typeof t.inspect==`function`)return t.inspect()}if(ve(t)){var Ae=[];return a&&a.call(t,function(e,n){Ae.push(y(n,t,!0)+` => `+y(e,t))}),Ee(`Map`,i.call(t),Ae,g)}if(xe(t)){var je=[];return l&&l.call(t,function(e){je.push(y(e,t))}),Ee(`Set`,c.call(t),je,g)}if(ye(t))return Te(`WeakMap`);if(R(t))return Te(`WeakSet`);if(be(t))return Te(`WeakRef`);if(pe(t))return we(y(Number(t)));if(I(t))return we(y(E.call(t)));if(P(t))return we(p.call(t));if(fe(t))return we(y(String(t)));if(typeof window<`u`&&t===window)return`{ [object Window] }`;if(typeof globalThis<`u`&&t===globalThis||typeof global<`u`&&t===global)return`{ [object globalThis] }`;if(!ue(t)&&!N(t)){var Me=ke(t,y),Ne=A?A(t)===Object.prototype:t instanceof Object||t.constructor===Object,Pe=t instanceof Object?``:`null prototype`,Fe=!Ne&&te&&Object(t)===t&&te in t?_.call(L(t),8,-1):Pe?`Object`:``,Ie=(Ne||typeof t.constructor!=`function`?``:t.constructor.name?t.constructor.name+` `:``)+(Fe||Pe?`[`+C.call(S.call([],Fe||[],Pe||[]),`: `)+`] `:``);return Me.length===0?Ie+`{}`:g?Ie+`{`+Oe(Me,g)+`}`:Ie+`{ `+C.call(Me,`, `)+` }`}return String(t)};function se(e,t,n){var r=oe[n.quoteStyle||t];return r+e+r}function ce(e){return v.call(String(e),/"/g,`"`)}function le(e){return!te||!(typeof e==`object`&&(te in e||e[te]!==void 0))}function M(e){return L(e)===`[object Array]`&&le(e)}function ue(e){return L(e)===`[object Date]`&&le(e)}function N(e){return L(e)===`[object RegExp]`&&le(e)}function de(e){return L(e)===`[object Error]`&&le(e)}function fe(e){return L(e)===`[object String]`&&le(e)}function pe(e){return L(e)===`[object Number]`&&le(e)}function P(e){return L(e)===`[object Boolean]`&&le(e)}function F(e){if(O)return e&&typeof e==`object`&&e instanceof Symbol;if(typeof e==`symbol`)return!0;if(!e||typeof e!=`object`||!ee)return!1;try{return ee.call(e),!0}catch{}return!1}function I(e){if(!e||typeof e!=`object`||!E)return!1;try{return E.call(e),!0}catch{}return!1}var me=Object.prototype.hasOwnProperty||function(e){return e in this};function he(e,t){return me.call(e,t)}function L(e){return m.call(e)}function ge(e){if(e.name)return e.name;var t=g.call(h.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function _e(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function ve(e){if(!i||!e||typeof e!=`object`)return!1;try{i.call(e);try{c.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function ye(e){if(!u||!e||typeof e!=`object`)return!1;try{u.call(e,u);try{d.call(e,d)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function be(e){if(!f||!e||typeof e!=`object`)return!1;try{return f.call(e),!0}catch{}return!1}function xe(e){if(!c||!e||typeof e!=`object`)return!1;try{c.call(e);try{i.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function R(e){if(!d||!e||typeof e!=`object`)return!1;try{d.call(e,d);try{u.call(e,u)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function Se(e){return!e||typeof e!=`object`?!1:typeof HTMLElement<`u`&&e instanceof HTMLElement?!0:typeof e.nodeName==`string`&&typeof e.getAttribute==`function`}function Ce(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r=`... `+n+` more character`+(n>1?`s`:``);return Ce(_.call(e,0,t.maxStringLength),t)+r}var i=j[t.quoteStyle||`single`];return i.lastIndex=0,se(v.call(v.call(e,i,`\\$1`),/[\x00-\x1f]/g,z),`single`,t)}function z(e){var t=e.charCodeAt(0),n={8:`b`,9:`t`,10:`n`,12:`f`,13:`r`}[t];return n?`\\`+n:`\\x`+(t<16?`0`:``)+y.call(t.toString(16))}function we(e){return`Object(`+e+`)`}function Te(e){return e+` { ? }`}function Ee(e,t,n,r){var i=r?Oe(n,r):C.call(n,`, `);return e+` (`+t+`) {`+i+`}`}function B(e){for(var t=0;t<e.length;t++)if(_e(e[t],`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/aegis.min-C7H4WXnC.js","assets/rolldown-runtime--c01j_DQ.js","assets/index.es-LzqQdC6F.js","assets/preload-helper-zJ_50EbN.js","assets/__vite-browser-external-Wme9VPc1.js","assets/buffer-CnhyIITQ.js","assets/dist-Bj1bzw6C.js","assets/solana-W8Xq1SnF.js","assets/vendor-highlight-PMOaWWrP.js","assets/vendor-highlight-XQIgUEMi.css","assets/Auth-CeBzNFsR.js","assets/vendor-chart-Dw-P17PN.js","assets/container-VI0MzukK.js","assets/install-Cn-SLM3u.js","assets/Auth-CMxg_APQ.css","assets/Login-Cx8B8MBK.js","assets/Callback--ui2SI2r.js","assets/Callback-BOWlkJeC.css","assets/Console-CwieVXV0.js","assets/constants-WMYSVfpe.js","assets/vendor-axios-Ck2ffRoh.js","assets/box-BELXS1Xk.js","assets/WriteSkillDialog-D08WH6SA.js","assets/chip-CNPdFg2A.js","assets/VueMarkdown-C2ymEiAE.js","assets/search-jHt37O6Y.js","assets/vuex.esm-bundler-LBWCZBn7.js","assets/icon-CDmWyIgD.js","assets/en-CpRrS3Ur.js","assets/vendor-vue-CCKiwo0U.js","assets/pagination-Cfo3CagM.js","assets/use-deprecated-BAB4ggjd.js","assets/select-DpCwbg2P.js","assets/tooltip-CBYmo1Dy.js","assets/use-aria-DApzlmKf.js","assets/use-delayed-toggle-CUww_m9H.js","assets/aria-8oQuUBWy.js","assets/scrollbar-3jGyy846.js","assets/event-BGnHezxC.js","assets/click-outside-CzJDhMNh.js","assets/scroll-kDH1KTep.js","assets/strings-C8VQZVfQ.js","assets/vnode-B_FEx-YD.js","assets/isEqual-DeO3PEnJ.js","assets/_Uint8Array-XQBxN0L-.js","assets/_baseIteratee-DLPcqXeW.js","assets/debounce-5xtusvLq.js","assets/castArray-YUixYP4Q.js","assets/WriteSkillDialog-CZ9kJuKG.css","assets/external-link-Dmjio2ae.js","assets/history-jiGKS_Y6.js","assets/Navigator-BwKl-gZi.js","assets/index.es--QtP43qh.js","assets/arrow-down-wide-narrow-iAFgcIWq.js","assets/arrow-right-rteUvLQ3.js","assets/brain-DSPtYkVQ.js","assets/chart-no-axes-combined-CBK7pfM4.js","assets/check-B7vVuom4.js","assets/chevron-down-DXJm9C-R.js","assets/chevron-right-Dn3_TU6r.js","assets/circle-check-Cb4rTFEe.js","assets/coins-BbzvNpjh.js","assets/copy-D79cGaAL.js","assets/dollar-sign-6gQn2E0o.js","assets/globe-7jfAXQmq.js","assets/image-BNpIV_kk.js","assets/info-DiJCV4qJ.js","assets/laptop--8Zu6Vfi.js","assets/lightbulb-CJFqSHO7.js","assets/link-DMihcn5u.js","assets/mail-CnDlEeWi.js","assets/pencil-CVaC19gj.js","assets/plus-LeXJrpvP.js","assets/refresh-cw-DWhrdWmh.js","assets/rotate-ccw-BXF7BHR_.js","assets/rotate-cw-DQwFlqL-.js","assets/tag-DxDJAghe.js","assets/trash-2-COs0p2Nt.js","assets/triangle-alert-Bepd3LHY.js","assets/upload-3n-8FFny.js","assets/user-C6lesopI.js","assets/wand-sparkles-DAxQpus4.js","assets/form-BdKMEyCR.js","assets/_baseClone-U7fnZamc.js","assets/_initCloneObject-CSzorZ33.js","assets/alert-BprQRUmf.js","assets/avatar-DEN_WCPo.js","assets/card-IQwqnRJR.js","assets/checkbox-DXMDpaxv.js","assets/date-picker-GSBLkZuj.js","assets/vendor-dayjs-C9ICuEWn.js","assets/time-picker-ug51pxrU.js","assets/repeat-click-Ctd9gEKr.js","assets/isArrayLikeObject-VRCqVaiT.js","assets/date-ClRNENVe.js","assets/divider-Du_3kymg.js","assets/dropdown-n067bA9H.js","assets/dropdown-C3gQJom4.js","assets/input-number-Z9VlgVmG.js","assets/avatar-CkETARKn.js","assets/collapse-transition-BUGXhx7B.js","assets/popover-uQ8dK-N-.js","assets/radio-BNhFzeBO.js","assets/slider-D_5tNLXv.js","assets/switch-D3WZiAvp.js","assets/table-CUMQdD-Z.js","assets/raf-BbgJq-wu.js","assets/isPlainObject-CIQNj6g3.js","assets/Logo-mH6QiWkU.js","assets/Logo-BUFvydvT.css","assets/CopyToClipboard-CnWeQakr.js","assets/CopyToClipboard-BareDE14.css","assets/siteHome-_xdRaJDq.js","assets/Navigator-D6w9S8hu.css","assets/monitor-C-Jerg7U.js","assets/plug-CFa0M51H.js","assets/scroll-text-IW5F7Rzs.js","assets/Console-BiM696t3.css","assets/List-fgJcmTqj.js","assets/pagination-DV8T-tqj.js","assets/clock-D-MIHQUu.js","assets/file-output-CfVEr-P9.js","assets/row-Ct3SHHKo.js","assets/skeleton-Dj_a_iIP.js","assets/List-yswj7BDV.css","assets/Detail-60M_EAcz.js","assets/back-navigation-hIJmgci9.js","assets/arrow-left-C_eF64-4.js","assets/airwallexCheckout-C7yv_WB3.js","assets/vendor-vue-router-BVGjZC3n.js","assets/SolanaWalletPickerDialog-BXKfNGsx.js","assets/SolanaWalletPickerDialog-t81xwej4.css","assets/Detail-CgTGSka5.css","assets/List-BNYeLdKL.js","assets/boxes-CfEsIxhR.js","assets/wallet-WRlfAkep.js","assets/List-hn11bxUq.css","assets/Extra-BKzAUHuT.js","assets/Extra-BN2W8ro4.css","assets/Subscribe-BJfnDW6z.js","assets/Subscribe-PwC876Nj.css","assets/List-BUh5m93I.js","assets/tabs-DRQeG1Ya.js","assets/List-DJDgPDG5.css","assets/Index-6qhvmL75.js","assets/ellipsis-BnzW2SUZ.js","assets/BrowseConnectors-B-5SE7mG.js","assets/loader-circle-CxuVnfcI.js","assets/shield-CqzgUjRL.js","assets/BrowserPairingDialog-Wv5nX_mI.js","assets/BrowserPairingDialog-FTM3lWFY.css","assets/authorizeFlow-BS5vrsk4.js","assets/BrowseConnectors-C6nnJYLy.css","assets/PageHeader-B3WB8K81.js","assets/PageHeader-7rhqfMXO.css","assets/Index-CwbJeN2Z.css","assets/Index-CG_s3bD2.js","assets/book-open-LXRfyjum.js","assets/circle-question-mark-1JVdFmtu.js","assets/clipboard-list-D2WXa_ar.js","assets/code-k_kSMWEL.js","assets/eye-CiLZ5Q2y.js","assets/file-text-mgrXd7Fc.js","assets/file-C5sGq-in.js","assets/folder-C-kE9L8l.js","assets/Index-B1YAGuTX.css","assets/Index-B5T1B0rn.js","assets/Index-XjOo3ejW.css","assets/Main-B6-yG6PU.js","assets/Status-CTBt9OJ5.js","assets/Status-CJdLn3iI.css","assets/Main-2giJlOFm.css","assets/Index-DCinbJRH.js","assets/ShowcaseGrid-BI6yjON0.js","assets/VideoPlayer-B1ohzmMz.js","assets/VideoPlayer-Bau3TRII.css","assets/vue-plyr-BokztW6Q.css","assets/ShowcaseGrid-9vxJV458.css","assets/showcase-BKwYXfaj.js","assets/Index-BucEDFrW.css","assets/Index-UyM4pJLL.js","assets/BottomFooter-Cs-D5cy1.js","assets/BottomFooter-CWWBSFTa.css","assets/Index-BuSnR1m2.css","assets/Index-BzJyb5Xo.js","assets/Index-CogPPD-N.css","assets/Conversation-CH_xbgvX.js","assets/arrow-up-BKbUjWHK.js","assets/Message-BB4Jq2tN.js","assets/arrow-down-BHUGpfMP.js","assets/circle-alert-CChOfA1T.js","assets/message-circle-DuKW7reT.js","assets/AskUserQuestionCard-CETMYX8R.js","assets/AskUserQuestionCard-DVmFCDWi.css","assets/FilePreview-CEeMVJs0.js","assets/progress-BuyYfFZn.js","assets/ReportButton-B7cDB8LW.js","assets/ReportDialog-JGNMr7QD.js","assets/ReportDialog-x8r9AdBz.css","assets/ReportButton-D5PDLOxZ.css","assets/modelPresentation-Dh0NlBYP.js","assets/Message-DiN-4_V0.css","assets/mic-CTs0jfqq.js","assets/square-wbuKXONv.js","assets/drawer-DkbSBBLh.js","assets/upload-DNSrVlZy.js","assets/ImagePreview-DzG8rluG.js","assets/Conversation-CfGZLMUg.css","assets/RealtimeCall-jb_0uRGr.js","assets/RealtimeCall-DDzHuKT9.css","assets/ScheduledTasks-C2tvSPlw.js","assets/play-nNwhAh75.js","assets/ScheduledTasks-q2I0mfE4.css","assets/Artifacts-uBtRFFPC.js","assets/Artifacts-DtQ_fGVP.css","assets/Index-C8TcdUi5.js","assets/gauge-CnI5ffDq.js","assets/hash-XGo8nwFc.js","assets/pagination-19y2LGQl.js","assets/taskDrawerMixin-DyAUhFEq.js","assets/pagination-CVnl1h3Q.css","assets/zap-DOKxH-m_.js","assets/ApiCodeButton-D1lki4F_.js","assets/ApiCodeDialog-DOfgYEmc.js","assets/terminal-Cf2tnanz.js","assets/CodeSnippet-CRDQll3K.js","assets/CodeSnippet-Dn8FniX2.css","assets/ApiCodeDialog-CrD9KP77.css","assets/ApiCodeButton-CQW-tfDj.css","assets/BotPlaceholder-9sRMAfGp.js","assets/ServicePricingSummary-BI_c3bg7.js","assets/ServicePricingSummary-CAKZ4TuZ.css","assets/ImageWrapper-BHq01Ilv.js","assets/ImageWrapper-B1-Jxag3.css","assets/ScenarioPaymentMode-CxM3rfl_.js","assets/ScenarioPaymentMode-jmwyAHOW.css","assets/generationInput-DCC9j_iS.js","assets/taskPollingMixin-CcLxtz8z.js","assets/Index-B6awspfP.css","assets/Index-BBLK5tA4.js","assets/Index-BdqL4tvM.css","assets/History-DP2va2AE.js","assets/History-CXbnjB0O.css","assets/Invitees-CZa15gnk.js","assets/Invitees-B-gz8u25.css","assets/Bare-vhj6gyvi.js","assets/Index-CYAAZPDa.js","assets/download-CAxzUu_u.js","assets/Index-BzUrN2i4.css","assets/Pay-DvoqG3sq.js","assets/Pay-CrugAt80.css","assets/Index-lh94eK8o.js","assets/sparkles-BJp3fwnS.js","assets/Index-B5bLHAjF.css","assets/Index-CXjV-IcE.js","assets/Index-Bk-r7F8t.css","assets/Index-ujvHWtuM.js","assets/Index-CYjRzuiJ.css","assets/Index-BApQZrK1.js","assets/headphones-A3K1FVN_.js","assets/AudioPreview-l0EbbuHD.js","assets/music-2-C65WMr4S.js","assets/pause-DTHJdCRg.js","assets/AudioPreview-DJmmKcHK.css","assets/ShowcaseResultTabs-CHdyEJpt.js","assets/ShowcaseResultTabs-uzUoxyrP.css","assets/VideoPreview-NzdYWDEq.js","assets/VideoPreview-DBUdhybU.css","assets/showcaseRecreateMixin-CXfW6PxO.js","assets/Index-Hyjv34PI.css","assets/Index-2FXyG_eF.js","assets/languages-cyvc2npG.js","assets/Index-C8j9ji-m.css","assets/Index-DnS8VEpN.js","assets/Index-Cg-2uhwm.css","assets/Index-DBGNC98g.js","assets/palette-CynhsCMe.js","assets/paperclip-CBL7RqTM.js","assets/video-CI8Hz7NN.js","assets/maestroLanguages-Ybsvi9JQ.js","assets/Index-Bm_JpxRb.css","assets/Poivelle-C0U744It.js","assets/Poivelle-TTc8JHz3.css","assets/Index-D8axMOjB.js","assets/house-BI0OsEXZ.js","assets/mouse-pointer-2-B-J1shs-.js","assets/segmented-D0zHdf9D.js","assets/Index-CWorVwXb.css","assets/Index-CGfIJWQO.js","assets/collapse-D3mLm9pK.js","assets/Index-DumKuE2r.css","assets/Index-Dl5lsxVP.js","assets/Index-b16rxAgL.css","assets/Index-Cr2EP9kp.js","assets/Index-BXM5Fy-A.css","assets/Index-CSTwqFsu.js","assets/Hailuo-BxGPHs5P.js","assets/Hailuo-enyUOJjX.css","assets/Index-UFOg3CZS.css","assets/Index-CKW8vwJG.js","assets/Index-BYTs7y1w.css","assets/Index-CZLHsGUU.js","assets/Player-DKtF2LiP.js","assets/volume-2-Ydz_oaC9.js","assets/Player-Dtu9PwuV.css","assets/shuffle-Cb3EluSZ.js","assets/taskPolling-CXL7oa51.js","assets/Index-hR8WdEqg.css","assets/Index-1lUQ0p6e.js","assets/Index-BkdOt9kJ.css","assets/Index-BsxF7YJ7.js","assets/imageRequests-CEgD9YBi.js","assets/Index-BEt2RJSO.css","assets/Index-Dkbg4XSA.js","assets/Index-D5pPqmYY.css","assets/Index--E3wAp0q.js","assets/Index-Dyppen7N.css","assets/Index-DuM-OiDF.js","assets/Index-D2K6aeol.css","assets/Index-BpEUpB3A.js","assets/Index-ClOz04jJ.css","assets/Index-DyP8vfqs.js","assets/Index-C9XHdc5E.css","assets/Index-DDlUGofL2.js","assets/Index-CyZjfDbd.css","assets/Index-DZHGmLTh.js","assets/Index-KEE53PO9.css","assets/Index-pGo7ljza.js","assets/Index-Bn2Elff-.css","assets/Tts-CmDrhSSe.js","assets/TabSwitcher-C_BTrTXh.js","assets/TabSwitcher-Cx95Dphe.css","assets/Tts-Cdk3L6Kt.css","assets/Model-j6vEfP4p.js","assets/Model-CCJ4QTLN.css","assets/Index-C8sDARwT.js","assets/Index-CELoWKv5.css","assets/Index-CugiM4u7.js","assets/codingBridgeNotify-BuMCCwp6.js","assets/Index-BefFog-a.css","assets/Index-DyZcKa4T.js","assets/LocalTools-DOQVy8gG.js","assets/LocalTools-FwMni0ml.js","assets/LocalTools-3Yi1GHAY.css","assets/LocalTools-QzCCfnjG.css","assets/Conversation-CILeQvtB.js","assets/Conversation-HzhVf3je.css","assets/chat-BO13M-mU.js","assets/realtime-bhXNb6O5.js","assets/midjourney-CZv9cLly.js","assets/merge-BfSAGNo7.js","assets/qrart-BlkGVDXz.js","assets/createTaskActions-BpAJh50M.js","assets/luma-SnGxaw5M.js","assets/pika-D1zbf-uS.js","assets/kling-fXkHiMRx.js","assets/veo-DiQVfBj3.js","assets/sora-DxQB-JH3.js","assets/maestro-DF3jESmq.js","assets/poivelle-DoPLyFMb.js","assets/digitalhuman-tAysywFN.js","assets/pixverse-B5r7NLUO.js","assets/flux-D3gm8Tem.js","assets/hailuo-AKPvPb3Q.js","assets/minimax-BT0nSB_a.js","assets/suno-CMtc4n9z.js","assets/producer-f8Z5dCar.js","assets/nanobanana-Bf6ZR2h8.js","assets/openaiimage-DxutopRU.js","assets/seedream-CSHXjRHt.js","assets/qwenimage-D1JaKlci.js","assets/seedance-BAG2S-Sn.js","assets/grokvideo-DLi-N3-W.js","assets/omni-xNo4Fbqp.js","assets/serp-BjxFrKtx.js","assets/wan-BSn0CRCR.js","assets/fish-G6E0apAS.js","assets/webextrator-CzKXuJam.js","assets/codingBridge-6mz0Fzzc.js","assets/NotFound-BZ4JA1rq.js","assets/NotFound-E7u9KsrQ.css","assets/web-DrYXzoHz.js","assets/mobileLocalExec-BQ1kBGve.js","assets/solana-wallets-LBXCjIar.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{o as e,r as t,t as n}from"./rolldown-runtime--c01j_DQ.js";import{$ as r,A as i,At as a,B as o,Bt as s,C as c,D as l,Dt as u,E as d,Et as f,G as p,Gt as m,H as h,I as g,It as _,Jt as v,K as y,Kt as b,L as x,Lt as S,M as C,Mt as w,N as T,Nt as E,Ot as D,P as ee,Q as O,Rt as te,S as k,St as A,T as ne,U as re,V as ie,Vt as ae,W as oe,Wt as j,Y as se,_ as ce,_t as le,at as M,bt as ue,ft as N,g as de,h as fe,ht as pe,it as P,j as F,k as I,kt as me,lt as he,mt as L,nt as ge,p as _e,pt as ve,qt as ye,rt as be,st as xe,tt as R,ut as Se,vt as Ce,wt as z,x as we,xt as Te,yt as Ee,z as B}from"./vendor-chart-Dw-P17PN.js";import{n as De,r as Oe}from"./vendor-vue-router-BVGjZC3n.js";import{$ as ke,A as Ae,B as je,Et as Me,F as Ne,H as Pe,I as Fe,K as Ie,Kt as Le,L as Re,N as ze,O as Be,Ot as Ve,P as He,R as Ue,S as We,St as Ge,U as Ke,X as qe,Z as Je,a as Ye,b as Xe,bt as Ze,c as Qe,dt as $e,et,h as tt,ht as nt,i as rt,it,j as at,k as ot,kt as st,lt as ct,n as lt,nt as ut,p as dt,r as ft,rt as pt,s as mt,t as ht,tt as gt,wt as _t,x as vt,xt as yt,yt as bt,z as xt}from"./icon-CDmWyIgD.js";import{a as St,c as Ct,i as wt,t as Tt}from"./install-Cn-SLM3u.js";import{t as Et}from"./debounce-5xtusvLq.js";import{t as Dt}from"./use-aria-DApzlmKf.js";import{n as Ot,r as kt,t as At}from"./event-BGnHezxC.js";import{n as jt,t as Mt}from"./scroll-kDH1KTep.js";import{_ as V,b as Nt,f as Pt,g as Ft,h as It,i as Lt,l as Rt,m as zt,r as Bt,t as Vt,v as Ht,x as Ut,y as Wt}from"./vuex.esm-bundler-LBWCZBn7.js";import{a as Gt,c as Kt,i as qt,n as Jt,r as Yt,t as Xt}from"./use-deprecated-BAB4ggjd.js";import{n as Zt,t as Qt}from"./aria-8oQuUBWy.js";import{l as $t}from"./vendor-dayjs-C9ICuEWn.js";import{t as en}from"./vnode-B_FEx-YD.js";import{$a as tn,$t as nn,Ai as rn,An as an,Ao as on,At as sn,Br as cn,Bt as ln,Ca as un,Di as dn,Dt as fn,Ea as pn,Ei as mn,En as hn,Eo as gn,Er as _n,Ga as vn,Gi as yn,Gn as bn,Ia as xn,Ii as Sn,It as Cn,Ja as wn,K as Tn,Kn as En,Kr as Dn,Lt as On,Ot as kn,Pa as An,Pr as jn,Qa as Mn,Ra as Nn,Ri as Pn,Rt as Fn,Sa as In,St as Ln,Ta as Rn,Tn as zn,Tt as Bn,Va as Vn,Xi as Hn,Xr as Un,Ya as Wn,Yn as Gn,Za as Kn,Zr as qn,_o as Jn,aa as Yn,ao as Xn,bi as Zn,bo as Qn,ca as $n,da as er,do as tr,ei as nr,en as rr,eo as ir,fa as ar,fo as or,ga as sr,go as cr,ha as lr,ho as H,ht as ur,in as dr,io as fr,kn as pr,kr as mr,kt as hr,la as gr,lo as _r,ma as vr,mo as yr,mr as br,ni as xr,nn as Sr,no as Cr,oa as wr,oo as Tr,pa as Er,pr as Dr,qi as Or,qn as kr,rn as Ar,sa as jr,tn as Mr,to as Nr,ua as Pr,ui as Fr,uo as Ir,vo as Lr,wa as Rr,wn as zr,wo as Br,wr as Vr,xa as Hr,xo as Ur,xr as Wr,yo as Gr,yt as Kr}from"./constants-WMYSVfpe.js";import{t as U}from"./vendor-axios-Ck2ffRoh.js";import{t as W}from"./preload-helper-zJ_50EbN.js";import{t as qr}from"./__vite-browser-external-Wme9VPc1.js";import{t as Jr}from"./buffer-CnhyIITQ.js";import{r as Yr}from"./index.browser.esm-CNb4vwx1.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var Xr=`nexior:add-account`,Zr=!1;function Qr(e,t,n){if(!t?.id||!n.access)return e;let{id:r,email:i,username:a,nickname:o,avatar:s}=t,c={user:{id:r,email:i,username:a,nickname:o,avatar:s},token:{...n}},l=e.findIndex(e=>e.user.id===r);return l<0?[...e,c]:e.map((e,t)=>t===l?c:e)}function $r(){sessionStorage.setItem(Xr,String(Date.now()))}function ei(){try{sessionStorage.removeItem(Xr)}catch{}}function ti(){if(typeof sessionStorage>`u`)return!1;let e=Number(sessionStorage.getItem(Xr));return e>0&&Date.now()-e<1800*1e3}function ni(){return Zr}function ri(e,t){return{token:t.token,user:t.user,accounts:Qr(e.accounts||[],t.user,t.token),setting:e.setting,locale:e.locale,dark:e.dark,currency:e.currency,fingerprint:e.fingerprint}}function ii(e,t){let n=JSON.stringify(ri(e,t));localStorage.setItem(`vuex`,n),Zr=!0,ei(),window.location.replace(new URL(`/`,window.location.href).href)}function ai(e,t){if(!(e.storageArea!==localStorage||e.key!==`vuex`&&e.key!==null))try{if((e.newValue?JSON.parse(e.newValue)?.token?.access:void 0)===t||Zr)return;Zr=!0,ei(),window.location.replace(new URL(`/`,window.location.href).href)}catch{}}function oi(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?oi(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var si=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function ci(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>ci(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function li(e,t,n){if(e.length>0)return ci(e,t,0,si(n))}function ui(e,t,n){if(e.length>0){let r=si(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function di(e,t){for(let n of[...e])n(t)}var fi=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=oi(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=oi(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(li,e,t)}callHookParallel(e,...t){return this.callHookWith(ui,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&di(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&di(this._after,r)}):(this._after&&r&&di(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function pi(){return new fi}var mi=new Set([`link`,`style`,`script`,`noscript`]),hi=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),gi=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),_i=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),vi=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),yi=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),bi=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),xi=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),Si=[`name`,`property`,`http-equiv`],Ci=new Set([`viewport`,`description`,`keywords`,`robots`]);function wi(e){let t=e.split(`:`);return t.length?xi.has(t[1]):!1}function Ti(e){let{props:t,tag:n}=e;if(vi.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;if(n===`link`&&t.rel===`alternate`){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||``}`}if(t.charset)return`charset`;if(e.tag===`meta`){for(let r of Si)if(t[r]!==void 0){let i=t[r],a=i&&typeof i==`string`&&i.includes(`:`),o=i&&Ci.has(i);return`${n}:${i}${!(a||o)&&e.key?`:key:${e.key}`:``}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n===`link`&&t.rel===`alternate`)return`alternate:${t.href||``}`;if(hi.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function Ei(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function Di(e,t,n){typeof e==`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>Di(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=Di(r[n],t,n);return e}return r}function Oi(e,t){let n=e===`style`?new Map:new Set;function r(t){if(t==null||t===void 0)return;let r=String(t).trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e?e.trim():``);e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(String(t).trim(),String(i)):r(t))}),n}function ki(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=gi.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;return Object.entries(t).forEach(([r,i])=>{if(r===`__proto__`||r===`constructor`||r===`prototype`)return;if(i===null){e.props[r]=null;return}if(r===`class`||r===`style`){e.props[r]=Oi(r,i);return}if(yi.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof i==`object`){let n=t.type;if(t.type||(n=`application/json`),!n?.endsWith(`json`)&&n!==`speculationrules`)return;t.type=n,e.props.type=n,e[r]=JSON.stringify(i)}else e[r]=i;return}let a=r.startsWith(`data-`),o=n&&!a?r.toLowerCase():r,s=String(i),c=e.tag===`meta`&&o===`content`;s===`true`||s===``?e.props[o]=a||c?s:!0:!i&&a&&s===`false`?e.props[o]=`false`:i!==void 0&&(e.props[o]=i)}),e}function Ai(e,t){let n=ki({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});return n.key&&mi.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function ji(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=Di(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(Ai(e,n))}),r.flat()}var Mi=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Ni={base:-10,title:10},Pi={critical:-8,high:-1,low:2},Fi={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Ii=/@import/,Li=e=>e===``||e===!0;function Ri(e,t){if(typeof t.tagPriority==`number`)return t.tagPriority;let n=100,r=Pi[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Fi;if(t.tag in Ni)n=Ni[t.tag];else if(t.tag===`meta`){let e=t.props[`http-equiv`]===`content-security-policy`?`content-security-policy`:t.props.charset?`charset`:t.props.name===`viewport`?`viewport`:null;e&&(n=Fi.meta[e])}else if(t.tag===`link`&&t.props.rel)n=i.link[t.props.rel];else if(t.tag===`script`){let e=String(t.props.type);Li(t.props.async)?n=i.script.async:t.props.src&&!Li(t.props.defer)&&!Li(t.props.async)&&e!==`module`&&!e.endsWith(`json`)||t.innerHTML&&!e.endsWith(`json`)?n=i.script.sync:(Li(t.props.defer)&&t.props.src&&!Li(t.props.async)||e===`module`)&&(n=i.script.defer)}else t.tag===`style`&&(n=t.innerHTML&&Ii.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function zi(e,t){let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Bi(e={}){let t=pi();t.addHooks(e.hooks||{});let n=!e.document,r=new Map,i=new Map,a=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:e=>zi(o,e),push(e,i){let s={...i||{}};delete s.head;let c=s._index??o._entryCount++,l={_i:c,input:e,options:s},u={_poll(e=!1){o.dirty=!0,!e&&a.add(c),t.callHook(`entries:updated`,o)},dispose(){r.delete(c)&&o.invalidate()},patch(e){(!s.mode||s.mode===`server`&&n||s.mode===`client`&&!n)&&(l.input=e,r.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){let n={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook(`entries:resolve`,n);a.size;){let n=a.values().next().value;a.delete(n);let i=r.get(n);if(i){let n={tags:ji(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook(`entries:normalize`,n),i._tags=n.tags.map((e,t)=>(e._w=Ri(o,e),e._p=(i._i<<10)+t,e._d=Ti(e),e._d||(e._h=Ei(e)),e))}}let i=!1;n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(Mi).reduce((e,t)=>{let n=t._d||t._h;if(!e.has(n))return e.set(n,t);let r=e.get(n);if((t?.tagDuplicateStrategy||(bi.has(t.tag)?`merge`:null)||(t.key&&t.key===r.key?`merge`:null))===`merge`){let i={...r.props};Object.entries(t.props).forEach(([e,t])=>i[e]=e===`style`?new Map([...r.props.style||new Map,...t]):e===`class`?new Set([...r.props.class||new Set,...t]):t),e.set(n,{...t,props:i})}else t._p>>10==r._p>>10&&t.tag===`meta`&&wi(n)?(e.set(n,Object.assign([...Array.isArray(r)?r:[r],t],t)),i=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(n,t);return e},n.tagMap);let s=n.tagMap.get(`title`),c=n.tagMap.get(`titleTemplate`);if(o._title=s?.textContent,c){let e=c?.textContent;if(o._titleTemplate=e,e){let t=typeof e==`function`?e(s?.textContent):e;typeof t==`string`&&!o.plugins.has(`template-params`)&&(t=t.replace(`%s`,s?.textContent||``)),s?t===null?n.tagMap.delete(`title`):n.tagMap.set(`title`,{...s,textContent:t}):(c.tag=`title`,c.textContent=t)}}n.tags=Array.from(n.tagMap.values()),i&&(n.tags=n.tags.flat().sort(Mi)),await t.callHook(`tags:beforeResolve`,n),await t.callHook(`tags:resolve`,n),await t.callHook(`tags:afterResolve`,n);let l=[];for(let e of n.tags){let{innerHTML:t,tag:n,props:r}=e;_i.has(n)&&(Object.keys(r).length===0&&!e.innerHTML&&!e.textContent||n===`meta`&&!r.content&&!r[`http-equiv`]&&!r.charset||(n===`script`&&t&&(String(r.type).endsWith(`json`)?e.innerHTML=(typeof t==`string`?t:JSON.stringify(t)).replace(/</g,`\\u003C`):typeof t==`string`&&(e.innerHTML=t.replace(RegExp(`</${n}`,`g`),`<\\/${n}`)),e._d=Ti(e)),l.push(e)))}return l},invalidate(){for(let e of r.values())a.add(e._i);o.dirty=!0,t.callHook(`entries:updated`,o)}};return(e?.plugins||[]).forEach(e=>zi(o,e)),o.hooks.callHook(`init`,o),e.init?.forEach(e=>e&&o.push(e)),o}async function Vi(e,t={}){let n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;let r={shouldRender:!0,tags:[]};if(await e.hooks.callHook(`dom:beforeRender`,r),r.shouldRender)return e._domUpdatePromise||=new Promise(async t=>{let r=new Map,i=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{let t=r.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||e._h,shouldRender:!0};return e._d&&wi(e._d)&&r.set(e._d,t+1),n}))})}),a=e._dom;if(!a){a={title:n.title,elMap:new Map().set(`htmlAttrs`,n.documentElement).set(`bodyAttrs`,n.body)};for(let e of[`body`,`head`]){let t=n[e]?.children;for(let e of t){let t=e.tagName.toLowerCase();if(!gi.has(t))continue;let n=ki({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute(`data-hid`)||void 0,n._d=Ti(n)||Ei(n),a.elMap.has(n._d)){let t=1,r=n._d;for(;a.elMap.has(r);)r=`${n._d}:${t++}`;a.elMap.set(r,e)}else a.elMap.set(n._d,e)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function o(e,t,n){let r=`${e}:${t}`;a.sideEffects[r]=n,delete a.pendingSideEffects[r]}function s({id:e,$el:t,tag:r}){let i=r.tag.endsWith(`Attrs`);a.elMap.set(e,t),i||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),o(e,`el`,()=>{t?.remove(),a.elMap.delete(e)}));for(let a in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,a))continue;let s=r.props[a];if(a.startsWith(`on`)&&typeof s==`function`){let e=t?.dataset;if(e&&e[`${a}fired`]){let e=a.slice(0,-5);s.call(t,new Event(e.substring(2)))}t.getAttribute(`data-${a}`)!==``&&((r.tag===`bodyAttrs`?n.defaultView:t).addEventListener(a.substring(2),s.bind(t)),t.setAttribute(`data-${a}`,``));continue}let c=`attr:${a}`;if(a===`class`){if(!s)continue;for(let n of s)i&&o(e,`${c}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if(a===`style`){if(!s)continue;for(let[n,r]of s)o(e,`${c}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,r)}else s!==!1&&s!==null&&(t.getAttribute(a)!==s&&t.setAttribute(a,s===!0?``:String(s)),i&&o(e,c,()=>t.removeAttribute(a)))}}let c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await i;for(let e of u){let{tag:t,shouldRender:r,id:i}=e;if(r){if(t.tag===`title`){n.title=t.textContent,o(`title`,``,()=>n.title=a.title);continue}e.$el=e.$el||a.elMap.get(i),e.$el?s(e):gi.has(t.tag)&&c.push(e)}}for(let e of c){let t=e.tag.tagPosition||`head`;e.$el=n.createElement(e.tag.tag),s(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(let t of u)await e.hooks.callHook(`dom:renderTag`,t,n,o);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(let e in a.pendingSideEffects)a.pendingSideEffects[e]();e._dom=a,await e.hooks.callHook(`dom:rendered`,{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1}),e._domUpdatePromise}function Hi(e={}){let t=e.domOptions?.render||Vi;e.document=e.document||(typeof window<`u`?document:void 0);let n=e.document?.head.querySelector(`script[id="unhead:payload"]`)?.innerHTML||!1;return Bi({...e,plugins:[...e.plugins||[],{key:`client`,hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Ui(e,t){let n=0;return()=>{let r=++n;t(()=>{n===r&&e()})}}var Wi=`usehead`;function Gi(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Wi,e)}}.install}function Ki(e={}){let t=Hi({domOptions:{render:Ui(()=>Vi(t),e=>setTimeout(e,0))},...e});return t.install=Gi(t),t}function qi(e){return document.readyState===`loading`?new Promise(t=>{document.addEventListener(`DOMContentLoaded`,()=>t(e))}):Promise.resolve(e)}var Ji=B({setup(e,{slots:t}){let n=z(!1);return O(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function Yi(e){try{return JSON.parse(e||`{}`)}catch(t){return console.error(`[SSG] On state deserialization -`,t,e),{}}}function Xi(e,t,n,r){let{transformState:i,registerComponents:a=!0,useHead:o=!0,rootContainer:s=`#app`}=r??{};async function c(s){let c=r?.hydration?de(e):fe(e),l;o&&c.use(l=Ki());let u=De({history:Oe(t.base),...t}),{routes:d}=t;a&&c.component(`ClientOnly`,Ji);let f=[],p={app:c,head:l,isClient:!0,router:u,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(f.map(e=>e())),initialState:{},transformState:i,routePath:s};await qi(),p.initialState=i?.(window.__INITIAL_STATE__||{})||Yi(window.__INITIAL_STATE__),await n?.(p),c.use(u);let m,h=!0;u.beforeEach((e,t,n)=>{(h||m&&m===e.path)&&(h=!1,m=e.path,e.meta.state=p.initialState),n()});let g=p.initialState;return{...p,initialState:g}}return(async()=>{let{app:e,router:t}=await c();await t.isReady(),e.mount(s,!0)})(),c}var Zi;(function(e){e.Unimplemented=`UNIMPLEMENTED`,e.Unavailable=`UNAVAILABLE`})(Zi||={});var Qi=class extends Error{constructor(e,t,n){super(e),this.message=e,this.code=t,this.data=n}},$i=e=>e?.androidBridge?`android`:e?.webkit?.messageHandlers?.bridge?`ios`:`web`,ea=e=>{let t=e.CapacitorCustomPlatform||null,n=e.Capacitor||{},r=n.Plugins=n.Plugins||{},i=()=>t===null?$i(e):t.name,a=()=>i()!==`web`,o=e=>!!(l.get(e)?.platforms.has(i())||s(e)),s=e=>n.PluginHeaders?.find(t=>t.name===e),c=t=>e.console.error(t),l=new Map;return n.convertFileSrc||=e=>e,n.getPlatform=i,n.handleError=c,n.isNativePlatform=a,n.isPluginAvailable=o,n.registerPlugin=(e,a={})=>{let o=l.get(e);if(o)return console.warn(`Capacitor plugin "${e}" already registered. Cannot register plugins twice.`),o.proxy;let c=i(),u=s(e),d,f=async()=>(!d&&c in a?d=d=typeof a[c]==`function`?await a[c]():a[c]:t!==null&&!d&&`web`in a&&(d=d=typeof a.web==`function`?await a.web():a.web),d),p=(t,r)=>{if(u){let i=u?.methods.find(e=>r===e.name);if(i)return i.rtype===`promise`?t=>n.nativePromise(e,r.toString(),t):(t,i)=>n.nativeCallback(e,r.toString(),t,i);if(t)return t[r]?.bind(t)}else if(t)return t[r]?.bind(t);else throw new Qi(`"${e}" plugin is not implemented on ${c}`,Zi.Unimplemented)},m=t=>{let n,r=(...r)=>{let i=f().then(i=>{let a=p(i,t);if(a){let e=a(...r);return n=e?.remove,e}else throw new Qi(`"${e}.${t}()" is not implemented on ${c}`,Zi.Unimplemented)});return t===`addListener`&&(i.remove=async()=>n()),i};return r.toString=()=>`${t.toString()}() { [capacitor code] }`,Object.defineProperty(r,"name",{value:t,writable:!1,configurable:!1}),r},h=m(`addListener`),g=m(`removeListener`),_=(e,t)=>{let n=h({eventName:e},t),r=async()=>{g({eventName:e,callbackId:await n},t)},i=new Promise(e=>n.then(()=>e({remove:r})));return i.remove=async()=>{console.warn(`Using addListener() without 'await' is deprecated.`),await r()},i},v=new Proxy({},{get(e,t){switch(t){case`$$typeof`:return;case`toJSON`:return()=>({});case`addListener`:return u?_:h;case`removeListener`:return g;default:return m(t)}}});return r[e]=v,l.set(e,{name:e,proxy:v,platforms:new Set([...Object.keys(a),...u?[c]:[]])}),v},n.Exception=Qi,n.DEBUG=!!n.DEBUG,n.isLoggingEnabled=!!n.isLoggingEnabled,n},ta=(e=>e.Capacitor=ea(e))(typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}),na=ta.registerPlugin,ra=class{constructor(){this.listeners={},this.retainedEventArguments={},this.windowListeners={}}addListener(e,t){let n=!1;this.listeners[e]||(this.listeners[e]=[],n=!0),this.listeners[e].push(t);let r=this.windowListeners[e];return r&&!r.registered&&this.addWindowListener(r),n&&this.sendRetainedArgumentsForEvent(e),Promise.resolve({remove:async()=>this.removeListener(e,t)})}async removeAllListeners(){this.listeners={};for(let e in this.windowListeners)this.removeWindowListener(this.windowListeners[e]);this.windowListeners={}}notifyListeners(e,t,n){let r=this.listeners[e];if(!r){if(n){let n=this.retainedEventArguments[e];n||=[],n.push(t),this.retainedEventArguments[e]=n}return}r.forEach(e=>e(t))}hasListeners(e){return!!this.listeners[e]?.length}registerWindowListener(e,t){this.windowListeners[t]={registered:!1,windowEventName:e,pluginEventName:t,handler:e=>{this.notifyListeners(t,e)}}}unimplemented(e=`not implemented`){return new ta.Exception(e,Zi.Unimplemented)}unavailable(e=`not available`){return new ta.Exception(e,Zi.Unavailable)}async removeListener(e,t){let n=this.listeners[e];if(!n)return;let r=n.indexOf(t);this.listeners[e].splice(r,1),this.listeners[e].length||this.removeWindowListener(this.windowListeners[e])}addWindowListener(e){window.addEventListener(e.windowEventName,e.handler),e.registered=!0}removeWindowListener(e){e&&(window.removeEventListener(e.windowEventName,e.handler),e.registered=!1)}sendRetainedArgumentsForEvent(e){let t=this.retainedEventArguments[e];t&&(delete this.retainedEventArguments[e],t.forEach(t=>{this.notifyListeners(e,t)}))}},ia=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),aa=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent),oa=class extends ra{async getCookies(){let e=document.cookie,t={};return e.split(`;`).forEach(e=>{if(e.length<=0)return;let[n,r]=e.replace(/=/,`CAP_COOKIE`).split(`CAP_COOKIE`);n=aa(n).trim(),r=aa(r).trim(),t[n]=r}),t}async setCookie(e){try{let t=ia(e.key),n=ia(e.value),r=e.expires?`; expires=${e.expires.replace(`expires=`,``)}`:``,i=(e.path||`/`).replace(`path=`,``),a=e.url!=null&&e.url.length>0?`domain=${e.url}`:``;document.cookie=`${t}=${n||``}${r}; path=${i}; ${a};`}catch(e){return Promise.reject(e)}}async deleteCookie(e){try{document.cookie=`${e.key}=; Max-Age=0`}catch(e){return Promise.reject(e)}}async clearCookies(){try{let e=document.cookie.split(`;`)||[];for(let t of e)document.cookie=t.replace(/^ +/,``).replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(e){return Promise.reject(e)}}async clearAllCookies(){try{await this.clearCookies()}catch(e){return Promise.reject(e)}}};na(`CapacitorCookies`,{web:()=>new oa});var sa=async e=>new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{let e=r.result;t(e.indexOf(`,`)>=0?e.split(`,`)[1]:e)},r.onerror=e=>n(e),r.readAsDataURL(e)}),ca=(e={})=>{let t=Object.keys(e);return Object.keys(e).map(e=>e.toLocaleLowerCase()).reduce((n,r,i)=>(n[r]=e[t[i]],n),{})},la=(e,t=!0)=>e?Object.entries(e).reduce((e,n)=>{let[r,i]=n,a,o;return Array.isArray(i)?(o=``,i.forEach(e=>{a=t?encodeURIComponent(e):e,o+=`${r}=${a}&`}),o.slice(0,-1)):(a=t?encodeURIComponent(i):i,o=`${r}=${a}`),`${e}&${o}`},``).substr(1):null,ua=(e,t={})=>{let n=Object.assign({method:e.method||`GET`,headers:e.headers},t),r=ca(e.headers)[`content-type`]||``;if(typeof e.data==`string`)n.body=e.data;else if(r.includes(`application/x-www-form-urlencoded`)){let t=new URLSearchParams;for(let[n,r]of Object.entries(e.data||{}))t.set(n,r);n.body=t.toString()}else if(r.includes(`multipart/form-data`)||e.data instanceof FormData){let t=new FormData;if(e.data instanceof FormData)e.data.forEach((e,n)=>{t.append(n,e)});else for(let n of Object.keys(e.data))t.append(n,e.data[n]);n.body=t;let r=new Headers(n.headers);r.delete(`content-type`),n.headers=r}else (r.includes(`application/json`)||typeof e.data==`object`)&&(n.body=JSON.stringify(e.data));return n},da=class extends ra{async request(e){let t=ua(e,e.webFetchExtra),n=la(e.params,e.shouldEncodeUrlParams),r=n?`${e.url}?${n}`:e.url,i=await fetch(r,t),a=i.headers.get(`content-type`)||``,{responseType:o=`text`}=i.ok?e:{};a.includes(`application/json`)&&(o=`json`);let s,c;switch(o){case`arraybuffer`:case`blob`:c=await i.blob(),s=await sa(c);break;case`json`:s=await i.json();break;default:s=await i.text()}let l={};return i.headers.forEach((e,t)=>{l[t]=e}),{data:s,headers:l,status:i.status,url:i.url}}async get(e){return this.request(Object.assign(Object.assign({},e),{method:`GET`}))}async post(e){return this.request(Object.assign(Object.assign({},e),{method:`POST`}))}async put(e){return this.request(Object.assign(Object.assign({},e),{method:`PUT`}))}async patch(e){return this.request(Object.assign(Object.assign({},e),{method:`PATCH`}))}async delete(e){return this.request(Object.assign(Object.assign({},e),{method:`DELETE`}))}};na(`CapacitorHttp`,{web:()=>new da});var fa;(function(e){e.Dark=`DARK`,e.Light=`LIGHT`,e.Default=`DEFAULT`})(fa||={});var pa;(function(e){e.StatusBar=`StatusBar`,e.NavigationBar=`NavigationBar`})(pa||={});var ma=class extends ra{async setStyle(){this.unavailable(`not available for web`)}async setAnimation(){this.unavailable(`not available for web`)}async show(){this.unavailable(`not available for web`)}async hide(){this.unavailable(`not available for web`)}};na(`SystemBars`,{web:()=>new ma});var ha=`Expected a function`;function ga(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(ha);return Le(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),Et(e,t,{leading:r,maxWait:t,trailing:i})}var _a=()=>nt&&/firefox/i.test(window.navigator.userAgent),va=void 0,ya={height:`0`,visibility:`hidden`,overflow:_a()?``:`hidden`,position:`absolute`,"z-index":`-1000`,top:`0`,right:`0`},ba=[`letter-spacing`,`line-height`,`padding-top`,`padding-bottom`,`font-family`,`font-weight`,`font-size`,`text-rendering`,`text-transform`,`width`,`text-indent`,`padding-left`,`padding-right`,`border-width`,`box-sizing`];function xa(e){let t=window.getComputedStyle(e),n=t.getPropertyValue(`box-sizing`),r=Number.parseFloat(t.getPropertyValue(`padding-bottom`))+Number.parseFloat(t.getPropertyValue(`padding-top`)),i=Number.parseFloat(t.getPropertyValue(`border-bottom-width`))+Number.parseFloat(t.getPropertyValue(`border-top-width`));return{contextStyle:ba.map(e=>[e,t.getPropertyValue(e)]),paddingSize:r,borderSize:i,boxSizing:n}}function Sa(e,t=1,n){var r;va||(va=document.createElement(`textarea`),document.body.appendChild(va));let{paddingSize:i,borderSize:a,boxSizing:o,contextStyle:s}=xa(e);s.forEach(([e,t])=>va?.style.setProperty(e,t)),Object.entries(ya).forEach(([e,t])=>va?.style.setProperty(e,t,`important`)),va.value=e.value||e.placeholder||``;let c=va.scrollHeight,l={};o===`border-box`?c+=a:o===`content-box`&&(c-=i),va.value=``;let u=va.scrollHeight-i;if(_t(t)){let e=u*t;o===`border-box`&&(e=e+i+a),c=Math.max(e,c),l.minHeight=`${e}px`}if(_t(n)){let e=u*n;o===`border-box`&&(e=e+i+a),c=Math.min(e,c)}return l.height=`${c}px`,(r=va.parentNode)==null||r.removeChild(va),va=void 0,l}var Ca=ke({id:{type:String,default:void 0},size:qe,disabled:Boolean,modelValue:{type:et([String,Number,Object]),default:``},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:`text`},resize:{type:String,values:[`none`,`both`,`horizontal`,`vertical`]},autosize:{type:et([Boolean,Object]),default:!1},autocomplete:{type:String,default:`off`},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:Ye},prefixIcon:{type:Ye},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:et([Object,Array,String]),default:()=>Ut({})},autofocus:Boolean,rows:{type:Number,default:2},...Dt([`ariaLabel`]),inputmode:{type:et(String),default:void 0},name:String}),wa={[kt]:e=>j(e),input:e=>j(e),change:e=>j(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Ta=[`class`,`style`],Ea=/^on[A-Z]/,Da=(e={})=>{let{excludeListeners:t=!1,excludeKeys:n}=e,r=I(()=>(n?.value||[]).concat(Ta)),i=o();return i?I(()=>st(Object.entries(i.proxy?.$attrs).filter(([e])=>!r.value.includes(e)&&!(t&&Ea.test(e))))):(pt(`use-attrs`,`getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function`),I(()=>({})))};function Oa(e,{disabled:t,beforeFocus:n,afterFocus:r,beforeBlur:i,afterBlur:a}={}){let{emit:c}=o(),l=f(),u=z(!1),d=e=>{let i=s(n)?n(e):!1;w(t)||u.value||i||(u.value=!0,c(`focus`,e),r?.())},p=e=>{let n=s(i)?i(e):!1;w(t)||e.relatedTarget&&l.value?.contains(e.relatedTarget)||n||(u.value=!1,c(`blur`,e),a?.())};return N([l,()=>w(t)],([e,t])=>{e&&(t?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,`-1`))}),ct(l,`focus`,d,!0),ct(l,`blur`,p,!0),ct(l,`click`,n=>{var r;w(t)||Qt(n.target)||l.value?.contains(document.activeElement)&&l.value!==document.activeElement||(r=e.value)==null||r.focus()},!0),{isFocused:u,wrapperRef:l,handleFocus:d,handleBlur:p}}var ka=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function Aa({afterComposition:e,emit:t}){let n=z(!1),r=e=>{t?.(`compositionstart`,e),n.value=!0},i=e=>{t?.(`compositionupdate`,e);let r=e.target?.value;n.value=!ka(r[r.length-1]||``)},a=r=>{t?.(`compositionend`,r),n.value&&(n.value=!1,y(()=>e(r)))};return{isComposing:n,handleComposition:e=>{e.type===`compositionend`?a(e):i(e)},handleCompositionStart:r,handleCompositionUpdate:i,handleCompositionEnd:a}}function ja(e){let t;function n(){if(e.value==null)return;let{selectionStart:n,selectionEnd:r,value:i}=e.value;n==null||r==null||(t={selectionStart:n,selectionEnd:r,value:i,beforeTxt:i.slice(0,Math.max(0,n)),afterTxt:i.slice(Math.max(0,r))})}function r(){if(e.value==null||t==null)return;let{value:n}=e.value,{beforeTxt:r,afterTxt:i,selectionStart:a}=t;if(r==null||i==null||a==null)return;let o=n.length;if(n.endsWith(i))o=n.length-i.length;else if(n.startsWith(r))o=r.length;else{let e=r[a-1],t=n.indexOf(e,a-1);t!==-1&&(o=t+1)}e.value.setSelectionRange(o,o)}return[n,r]}var Ma=`ElInput`,Na=Tt(St(B({...B({name:Ma,inheritAttrs:!1}),props:Ca,emits:wa,setup(e,{expose:t,emit:n}){let r=e,a=he(),o=Da(),s=Se(),l=I(()=>[r.type===`textarea`?ee.b():S.b(),S.m(_.value),S.is(`disabled`,b.value),S.is(`exceed`,Te.value),{[S.b(`group`)]:s.prepend||s.append,[S.m(`prefix`)]:s.prefix||r.prefixIcon,[S.m(`suffix`)]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[S.bm(`suffix`,`password-clear`)]:ve.value&&be.value,[S.b(`hidden`)]:r.type===`hidden`},a.class]),u=I(()=>[S.e(`wrapper`),S.is(`focus`,ce.value)]),{form:d,formItem:h}=qt(),{inputId:g}=Gt(r,{formItemContext:h}),_=Yt(),b=Jt(),S=Ct(`input`),ee=Ct(`textarea`),te=f(),k=f(),A=z(!1),re=z(!1),ie=z(),oe=f(r.inputStyle),j=I(()=>te.value||k.value),{wrapperRef:se,isFocused:ce,handleFocus:le,handleBlur:M}=Oa(j,{disabled:b,afterBlur(){var e;r.validateEvent&&((e=h?.validate)==null||e.call(h,`blur`).catch(e=>pt(e)))}}),ue=I(()=>d?.statusIcon??!1),de=I(()=>h?.validateState||``),fe=I(()=>de.value&&rt[de.value]),pe=I(()=>re.value?at:vt),me=I(()=>[a.style]),ge=I(()=>[r.inputStyle,oe.value,{resize:r.resize}]),_e=I(()=>Ve(r.modelValue)?``:String(r.modelValue)),ve=I(()=>r.clearable&&!b.value&&!r.readonly&&!!_e.value&&(ce.value||A.value)),be=I(()=>r.showPassword&&!b.value&&!!_e.value),Ce=I(()=>r.showWordLimit&&!!r.maxlength&&(r.type===`text`||r.type===`textarea`)&&!b.value&&!r.readonly&&!r.showPassword),we=I(()=>_e.value.length),Te=I(()=>!!Ce.value&&we.value>Number(r.maxlength)),Ee=I(()=>!!s.suffix||!!r.suffixIcon||ve.value||r.showPassword||Ce.value||!!de.value&&ue.value),[B,De]=ja(te);$e(k,e=>{if(ke(),!Ce.value||r.resize!==`both`)return;let{width:t}=e[0].contentRect;ie.value={right:`calc(100% - ${t+15+6}px)`}});let Oe=()=>{let{type:e,autosize:t}=r;if(!(!nt||e!==`textarea`||!k.value))if(t){let e=ae(t)?t.minRows:void 0,n=ae(t)?t.maxRows:void 0,r=Sa(k.value,e,n);oe.value={overflowY:`hidden`,...r},y(()=>{k.value.offsetHeight,oe.value=r})}else oe.value={minHeight:Sa(k.value).minHeight}},ke=(e=>{let t=!1;return()=>{t||!r.autosize||k.value?.offsetParent!==null&&(e(),t=!0)}})(Oe),Ae=()=>{let e=j.value,t=r.formatter?r.formatter(_e.value):_e.value;!e||e.value===t||(e.value=t)},je=async e=>{B();let{value:t}=e.target;if(r.formatter&&r.parser&&(t=r.parser(t)),!Pe.value){if(t===_e.value){Ae();return}n(kt,t),n(Ot,t),await y(),Ae(),De()}},Me=e=>{let{value:t}=e.target;r.formatter&&r.parser&&(t=r.parser(t)),n(At,t)},{isComposing:Pe,handleCompositionStart:Fe,handleCompositionUpdate:Ie,handleCompositionEnd:Le}=Aa({emit:n,afterComposition:je}),Re=()=>{B(),re.value=!re.value,setTimeout(De)},ze=()=>j.value?.focus(),Be=()=>j.value?.blur(),He=e=>{A.value=!1,n(`mouseleave`,e)},Ue=e=>{A.value=!0,n(`mouseenter`,e)},We=e=>{n(`keydown`,e)},Ge=()=>{var e;(e=j.value)==null||e.select()},Ke=()=>{n(kt,``),n(At,``),n(`clear`),n(Ot,``)};return N(()=>r.modelValue,()=>{var e;y(()=>Oe()),r.validateEvent&&((e=h?.validate)==null||e.call(h,`change`).catch(e=>pt(e)))}),N(_e,()=>Ae()),N(()=>r.type,async()=>{await y(),Ae(),Oe()}),O(()=>{!r.formatter&&r.parser&&pt(Ma,`If you set the parser, you also need to set the formatter.`),Ae(),y(Oe)}),t({input:te,textarea:k,ref:j,textareaStyle:ge,autosize:D(r,`autosize`),isComposing:Pe,focus:ze,blur:Be,select:Ge,clear:Ke,resizeTextarea:Oe}),(e,t)=>(R(),T(`div`,{class:m([w(l),{[w(S).bm(`group`,`append`)]:e.$slots.append,[w(S).bm(`group`,`prepend`)]:e.$slots.prepend}]),style:ye(w(me)),onMouseenter:Ue,onMouseleave:He},[C(` input `),e.type===`textarea`?(R(),T(ne,{key:1},[C(` textarea `),i(`textarea`,p({id:w(g),ref_key:`textarea`,ref:k,class:[w(ee).e(`inner`),w(S).is(`focus`,w(ce))]},w(o),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:w(b),readonly:e.readonly,autocomplete:e.autocomplete,style:w(ge),"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,onCompositionstart:w(Fe),onCompositionupdate:w(Ie),onCompositionend:w(Le),onInput:je,onFocus:w(le),onBlur:w(M),onChange:Me,onKeydown:We}),null,16,[`id`,`minlength`,`maxlength`,`tabindex`,`disabled`,`readonly`,`autocomplete`,`aria-label`,`placeholder`,`form`,`autofocus`,`rows`,`role`,`onCompositionstart`,`onCompositionupdate`,`onCompositionend`,`onFocus`,`onBlur`]),w(Ce)?(R(),T(`span`,{key:0,style:ye(ie.value),class:m(w(S).e(`count`))},v(w(we))+` / `+v(e.maxlength),7)):C(`v-if`,!0)],64)):(R(),T(ne,{key:0},[C(` prepend slot `),e.$slots.prepend?(R(),T(`div`,{key:0,class:m(w(S).be(`group`,`prepend`))},[P(e.$slots,`prepend`)],2)):C(`v-if`,!0),i(`div`,{ref_key:`wrapperRef`,ref:se,class:m(w(u))},[C(` prefix slot `),e.$slots.prefix||e.prefixIcon?(R(),T(`span`,{key:0,class:m(w(S).e(`prefix`))},[i(`span`,{class:m(w(S).e(`prefix-inner`))},[P(e.$slots,`prefix`),e.prefixIcon?(R(),F(w(Ne),{key:0,class:m(w(S).e(`icon`))},{default:L(()=>[(R(),F(xe(e.prefixIcon)))]),_:1},8,[`class`])):C(`v-if`,!0)],2)],2)):C(`v-if`,!0),i(`input`,p({id:w(g),ref_key:`input`,ref:te,class:w(S).e(`inner`)},w(o),{name:e.name,minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?re.value?`text`:`password`:e.type,disabled:w(b),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:w(Fe),onCompositionupdate:w(Ie),onCompositionend:w(Le),onInput:je,onChange:Me,onKeydown:We}),null,16,[`id`,`name`,`minlength`,`maxlength`,`type`,`disabled`,`readonly`,`autocomplete`,`tabindex`,`aria-label`,`placeholder`,`form`,`autofocus`,`role`,`inputmode`,`onCompositionstart`,`onCompositionupdate`,`onCompositionend`]),C(` suffix slot `),w(Ee)?(R(),T(`span`,{key:1,class:m(w(S).e(`suffix`))},[i(`span`,{class:m(w(S).e(`suffix-inner`))},[!w(ve)||!w(be)||!w(Ce)?(R(),T(ne,{key:0},[P(e.$slots,`suffix`),e.suffixIcon?(R(),F(w(Ne),{key:0,class:m(w(S).e(`icon`))},{default:L(()=>[(R(),F(xe(e.suffixIcon)))]),_:1},8,[`class`])):C(`v-if`,!0)],64)):C(`v-if`,!0),w(ve)?(R(),F(w(Ne),{key:1,class:m([w(S).e(`icon`),w(S).e(`clear`)]),onMousedown:c(w(E),[`prevent`]),onClick:Ke},{default:L(()=>[x(w(dt))]),_:1},8,[`class`,`onMousedown`])):C(`v-if`,!0),w(be)?(R(),F(w(Ne),{key:2,class:m([w(S).e(`icon`),w(S).e(`password`)]),onClick:Re},{default:L(()=>[(R(),F(xe(w(pe))))]),_:1},8,[`class`])):C(`v-if`,!0),w(Ce)?(R(),T(`span`,{key:3,class:m(w(S).e(`count`))},[i(`span`,{class:m(w(S).e(`count-inner`))},v(w(we))+` / `+v(e.maxlength),3)],2)):C(`v-if`,!0),w(de)&&w(fe)&&w(ue)?(R(),F(w(Ne),{key:4,class:m([w(S).e(`icon`),w(S).e(`validateIcon`),w(S).is(`loading`,w(de)===`validating`)])},{default:L(()=>[(R(),F(xe(w(fe))))]),_:1},8,[`class`])):C(`v-if`,!0)],2)],2)):C(`v-if`,!0)],2),C(` append slot `),e.$slots.append?(R(),T(`div`,{key:1,class:m(w(S).be(`group`,`append`))},[P(e.$slots,`append`)],2)):C(`v-if`,!0)],64))],38))}}),[[`__file`,`input.vue`]])),Pa=`focus-trap.focus-after-trapped`,Fa=`focus-trap.focus-after-released`,Ia=`focus-trap.focusout-prevented`,La={cancelable:!0,bubbles:!1},Ra={cancelable:!0,bubbles:!1},za=`focusAfterTrapped`,Ba=`focusAfterReleased`,Va=Symbol(`elFocusTrap`),Ha=z(),Ua=z(0),Wa=z(0),Ga=0,Ka=e=>{let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},qa=(e,t)=>{for(let n of e)if(!Ja(n,t))return n},Ja=(e,t)=>{if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1},Ya=e=>{let t=Ka(e);return[qa(t,e),qa(t.reverse(),e)]},Xa=e=>e instanceof HTMLInputElement&&`select`in e,Za=(e,t)=>{if(e&&e.focus){let n=document.activeElement,r=!1;Ge(e)&&!Qt(e)&&!e.getAttribute(`tabindex`)&&(e.setAttribute(`tabindex`,`-1`),r=!0),e.focus({preventScroll:!0}),Wa.value=window.performance.now(),e!==n&&Xa(e)&&t&&e.select(),Ge(e)&&r&&e.removeAttribute(`tabindex`)}};function Qa(e,t){let n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}var $a=()=>{let e=[];return{push:t=>{let n=e[0];n&&t!==n&&n.pause(),e=Qa(e,t),e.unshift(t)},remove:t=>{var n,r;e=Qa(e,t),(r=(n=e[0])?.resume)==null||r.call(n)}}},eo=(e,t=!1)=>{let n=document.activeElement;for(let r of e)if(Za(r,t),document.activeElement!==n)return},to=$a(),no=()=>Ua.value>Wa.value,ro=()=>{Ha.value=`pointer`,Ua.value=window.performance.now()},io=()=>{Ha.value=`keyboard`,Ua.value=window.performance.now()},ao=()=>(O(()=>{Ga===0&&(document.addEventListener(`mousedown`,ro),document.addEventListener(`touchstart`,ro),document.addEventListener(`keydown`,io)),Ga++}),se(()=>{Ga--,Ga<=0&&(document.removeEventListener(`mousedown`,ro),document.removeEventListener(`touchstart`,ro),document.removeEventListener(`keydown`,io))}),{focusReason:Ha,lastUserFocusTimestamp:Ua,lastAutomatedFocusTimestamp:Wa}),oo=e=>new CustomEvent(Ia,{...Ra,detail:e}),so=[],co=e=>{e.code===Nt.esc&&so.forEach(t=>t(e))},lo=e=>{O(()=>{so.length===0&&document.addEventListener(`keydown`,co),nt&&so.push(e)}),se(()=>{so=so.filter(t=>t!==e),so.length===0&&nt&&document.removeEventListener(`keydown`,co)})},uo=B({name:`ElFocusTrap`,inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:`first`}},emits:[za,Ba,`focusin`,`focusout`,`focusout-prevented`,`release-requested`],setup(e,{emit:t}){let n=z(),r,i,{focusReason:a}=ao();lo(n=>{e.trapped&&!o.paused&&t(`release-requested`,n)});let o={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=n=>{if(!e.loop&&!e.trapped||o.paused)return;let{code:r,altKey:i,ctrlKey:s,metaKey:c,currentTarget:l,shiftKey:u}=n,{loop:d}=e,f=r===Nt.tab&&!i&&!s&&!c,p=document.activeElement;if(f&&p){let e=l,[r,i]=Ya(e);if(!(r&&i)){if(p===e){let e=oo({focusReason:a.value});t(`focusout-prevented`,e),e.defaultPrevented||n.preventDefault()}}else if(!u&&p===i){let e=oo({focusReason:a.value});t(`focusout-prevented`,e),e.defaultPrevented||(n.preventDefault(),d&&Za(r,!0))}else if(u&&[r,e].includes(p)){let e=oo({focusReason:a.value});t(`focusout-prevented`,e),e.defaultPrevented||(n.preventDefault(),d&&Za(i,!0))}}};ge(Va,{focusTrapRef:n,onKeydown:s}),N(()=>e.focusTrapEl,e=>{e&&(n.value=e)},{immediate:!0}),N([n],([e],[t])=>{e&&(e.addEventListener(`keydown`,s),e.addEventListener(`focusin`,u),e.addEventListener(`focusout`,d)),t&&(t.removeEventListener(`keydown`,s),t.removeEventListener(`focusin`,u),t.removeEventListener(`focusout`,d))});let c=e=>{t(za,e)},l=e=>t(Ba,e),u=a=>{let s=w(n);if(!s)return;let c=a.target,l=a.relatedTarget,u=c&&s.contains(c);e.trapped||l&&s.contains(l)||(r=l),u&&t(`focusin`,a),!o.paused&&e.trapped&&(u?i=c:Za(i,!0))},d=r=>{let s=w(n);if(!(o.paused||!s))if(e.trapped){let n=r.relatedTarget;!Ve(n)&&!s.contains(n)&&setTimeout(()=>{if(!o.paused&&e.trapped){let e=oo({focusReason:a.value});t(`focusout-prevented`,e),e.defaultPrevented||Za(i,!0)}},0)}else{let e=r.target;e&&s.contains(e)||t(`focusout`,r)}};async function f(){await y();let t=w(n);if(t){to.push(o);let n=t.contains(document.activeElement)?r:document.activeElement;if(r=n,!t.contains(n)){let r=new Event(Pa,La);t.addEventListener(Pa,c),t.dispatchEvent(r),r.defaultPrevented||y(()=>{let r=e.focusStartEl;j(r)||(Za(r),document.activeElement!==r&&(r=`first`)),r===`first`&&eo(Ka(t),!0),(document.activeElement===n||r===`container`)&&Za(t)})}}}function p(){let e=w(n);if(e){e.removeEventListener(Pa,c);let t=new CustomEvent(Fa,{...La,detail:{focusReason:a.value}});e.addEventListener(Fa,l),e.dispatchEvent(t),!t.defaultPrevented&&(a.value==`keyboard`||!no()||e.contains(document.activeElement))&&Za(r??document.body),e.removeEventListener(Fa,l),to.remove(o)}}return O(()=>{e.trapped&&f(),N(()=>e.trapped,e=>{e?f():p()})}),se(()=>{e.trapped&&p(),n.value&&=(n.value.removeEventListener(`keydown`,s),n.value.removeEventListener(`focusin`,u),n.value.removeEventListener(`focusout`,d),void 0)}),{onKeydown:s}}});function fo(e,t,n,r,i,a){return P(e.$slots,`default`,{handleKeydown:e.onKeydown})}var po=St(uo,[[`render`,fo],[`__file`,`focus-trap.vue`]]),mo=ke({to:{type:et([String,Object]),required:!0},disabled:Boolean}),ho=Tt(St(B({__name:`teleport`,props:mo,setup(e){return(e,t)=>e.disabled?P(e.$slots,`default`,{key:0}):(R(),F(d,{key:1,to:e.to},[P(e.$slots,`default`)],8,[`to`]))}}),[[`__file`,`teleport.vue`]])),go=Symbol(`buttonGroupContextKey`),_o=(e,t)=>{Xt({from:`type.text`,replacement:`link`,version:`3.0.0`,scope:`props`,ref:`https://element-plus.org/en-US/component/button.html#button-attributes`},I(()=>e.type===`text`));let n=re(go,void 0),r=Ke(`button`),{form:i}=qt(),a=Yt(I(()=>n?.size)),o=Jt(),s=z(),c=Se(),u=I(()=>e.type||n?.type||r.value?.type||``),d=I(()=>e.autoInsertSpace??r.value?.autoInsertSpace??!1),f=I(()=>e.plain??r.value?.plain??!1),p=I(()=>e.round??r.value?.round??!1);return{_disabled:o,_size:a,_type:u,_ref:s,_props:I(()=>e.tag===`button`?{ariaDisabled:o.value||e.loading,disabled:o.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),_plain:f,_round:p,shouldAddSpace:I(()=>{let e=c.default?.call(c);if(d.value&&e?.length===1){let t=e[0];if(t?.type===l){let e=t.children;return/^\p{Unified_Ideograph}{2}$/u.test(e.trim())}}return!1}),handleClick:n=>{if(o.value||e.loading){n.stopPropagation();return}e.nativeType===`reset`&&i?.resetFields(),t(`click`,n)}}},vo=ke({size:qe,disabled:Boolean,type:{type:String,values:[`default`,`primary`,`success`,`warning`,`info`,`danger`,`text`,``],default:``},icon:{type:Ye},nativeType:{type:String,values:[`button`,`submit`,`reset`],default:`button`},loading:Boolean,loadingIcon:{type:Ye,default:()=>We},plain:{type:Boolean,default:void 0},text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:et([String,Object]),default:`button`}}),yo={click:e=>e instanceof MouseEvent};function bo(e,t){So(e)&&(e=`100%`);var n=Co(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(e=t===360?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t)),e)}function xo(e){return Math.min(1,Math.max(0,e))}function So(e){return typeof e==`string`&&e.indexOf(`.`)!==-1&&parseFloat(e)===1}function Co(e){return typeof e==`string`&&e.indexOf(`%`)!==-1}function wo(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function To(e){return e<=1?`${Number(e)*100}%`:e}function Eo(e){return e.length===1?`0`+e:String(e)}function Do(e,t,n){return{r:bo(e,255)*255,g:bo(t,255)*255,b:bo(n,255)*255}}function Oo(e,t,n){e=bo(e,255),t=bo(t,255),n=bo(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,o=0,s=(r+i)/2;if(r===i)o=0,a=0;else{var c=r-i;switch(o=s>.5?c/(2-r-i):c/(r+i),r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break;default:break}a/=6}return{h:a,s:o,l:s}}function ko(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ao(e,t,n){var r,i,a;if(e=bo(e,360),t=bo(t,100),n=bo(n,100),t===0)i=n,a=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=ko(s,o,e+1/3),i=ko(s,o,e),a=ko(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function jo(e,t,n){e=bo(e,255),t=bo(t,255),n=bo(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,o=r,s=r-i,c=r===0?0:s/r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4;break;default:break}a/=6}return{h:a,s:c,v:o}}function Mo(e,t,n){e=bo(e,360)*6,t=bo(t,100),n=bo(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),c=r%6,l=[n,o,a,a,s,n][c],u=[s,n,n,o,a,a][c],d=[a,a,s,n,n,o][c];return{r:l*255,g:u*255,b:d*255}}function No(e,t,n,r){var i=[Eo(Math.round(e).toString(16)),Eo(Math.round(t).toString(16)),Eo(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join(``)}function Po(e,t,n,r,i){var a=[Eo(Math.round(e).toString(16)),Eo(Math.round(t).toString(16)),Eo(Math.round(n).toString(16)),Eo(Fo(r))];return i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join(``)}function Fo(e){return Math.round(parseFloat(e)*255).toString(16)}function Io(e){return Lo(e)/255}function Lo(e){return parseInt(e,16)}function Ro(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var zo={aliceblue:`#f0f8ff`,antiquewhite:`#faebd7`,aqua:`#00ffff`,aquamarine:`#7fffd4`,azure:`#f0ffff`,beige:`#f5f5dc`,bisque:`#ffe4c4`,black:`#000000`,blanchedalmond:`#ffebcd`,blue:`#0000ff`,blueviolet:`#8a2be2`,brown:`#a52a2a`,burlywood:`#deb887`,cadetblue:`#5f9ea0`,chartreuse:`#7fff00`,chocolate:`#d2691e`,coral:`#ff7f50`,cornflowerblue:`#6495ed`,cornsilk:`#fff8dc`,crimson:`#dc143c`,cyan:`#00ffff`,darkblue:`#00008b`,darkcyan:`#008b8b`,darkgoldenrod:`#b8860b`,darkgray:`#a9a9a9`,darkgreen:`#006400`,darkgrey:`#a9a9a9`,darkkhaki:`#bdb76b`,darkmagenta:`#8b008b`,darkolivegreen:`#556b2f`,darkorange:`#ff8c00`,darkorchid:`#9932cc`,darkred:`#8b0000`,darksalmon:`#e9967a`,darkseagreen:`#8fbc8f`,darkslateblue:`#483d8b`,darkslategray:`#2f4f4f`,darkslategrey:`#2f4f4f`,darkturquoise:`#00ced1`,darkviolet:`#9400d3`,deeppink:`#ff1493`,deepskyblue:`#00bfff`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1e90ff`,firebrick:`#b22222`,floralwhite:`#fffaf0`,forestgreen:`#228b22`,fuchsia:`#ff00ff`,gainsboro:`#dcdcdc`,ghostwhite:`#f8f8ff`,goldenrod:`#daa520`,gold:`#ffd700`,gray:`#808080`,green:`#008000`,greenyellow:`#adff2f`,grey:`#808080`,honeydew:`#f0fff0`,hotpink:`#ff69b4`,indianred:`#cd5c5c`,indigo:`#4b0082`,ivory:`#fffff0`,khaki:`#f0e68c`,lavenderblush:`#fff0f5`,lavender:`#e6e6fa`,lawngreen:`#7cfc00`,lemonchiffon:`#fffacd`,lightblue:`#add8e6`,lightcoral:`#f08080`,lightcyan:`#e0ffff`,lightgoldenrodyellow:`#fafad2`,lightgray:`#d3d3d3`,lightgreen:`#90ee90`,lightgrey:`#d3d3d3`,lightpink:`#ffb6c1`,lightsalmon:`#ffa07a`,lightseagreen:`#20b2aa`,lightskyblue:`#87cefa`,lightslategray:`#778899`,lightslategrey:`#778899`,lightsteelblue:`#b0c4de`,lightyellow:`#ffffe0`,lime:`#00ff00`,limegreen:`#32cd32`,linen:`#faf0e6`,magenta:`#ff00ff`,maroon:`#800000`,mediumaquamarine:`#66cdaa`,mediumblue:`#0000cd`,mediumorchid:`#ba55d3`,mediumpurple:`#9370db`,mediumseagreen:`#3cb371`,mediumslateblue:`#7b68ee`,mediumspringgreen:`#00fa9a`,mediumturquoise:`#48d1cc`,mediumvioletred:`#c71585`,midnightblue:`#191970`,mintcream:`#f5fffa`,mistyrose:`#ffe4e1`,moccasin:`#ffe4b5`,navajowhite:`#ffdead`,navy:`#000080`,oldlace:`#fdf5e6`,olive:`#808000`,olivedrab:`#6b8e23`,orange:`#ffa500`,orangered:`#ff4500`,orchid:`#da70d6`,palegoldenrod:`#eee8aa`,palegreen:`#98fb98`,paleturquoise:`#afeeee`,palevioletred:`#db7093`,papayawhip:`#ffefd5`,peachpuff:`#ffdab9`,peru:`#cd853f`,pink:`#ffc0cb`,plum:`#dda0dd`,powderblue:`#b0e0e6`,purple:`#800080`,rebeccapurple:`#663399`,red:`#ff0000`,rosybrown:`#bc8f8f`,royalblue:`#4169e1`,saddlebrown:`#8b4513`,salmon:`#fa8072`,sandybrown:`#f4a460`,seagreen:`#2e8b57`,seashell:`#fff5ee`,sienna:`#a0522d`,silver:`#c0c0c0`,skyblue:`#87ceeb`,slateblue:`#6a5acd`,slategray:`#708090`,slategrey:`#708090`,snow:`#fffafa`,springgreen:`#00ff7f`,steelblue:`#4682b4`,tan:`#d2b48c`,teal:`#008080`,thistle:`#d8bfd8`,tomato:`#ff6347`,turquoise:`#40e0d0`,violet:`#ee82ee`,wheat:`#f5deb3`,white:`#ffffff`,whitesmoke:`#f5f5f5`,yellow:`#ffff00`,yellowgreen:`#9acd32`};function Bo(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,s=!1;return typeof e==`string`&&(e=Go(e)),typeof e==`object`&&(Ko(e.r)&&Ko(e.g)&&Ko(e.b)?(t=Do(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)===`%`?`prgb`:`rgb`):Ko(e.h)&&Ko(e.s)&&Ko(e.v)?(r=To(e.s),i=To(e.v),t=Mo(e.h,r,i),o=!0,s=`hsv`):Ko(e.h)&&Ko(e.s)&&Ko(e.l)&&(r=To(e.s),a=To(e.l),t=Ao(e.h,r,a),o=!0,s=`hsl`),Object.prototype.hasOwnProperty.call(e,`a`)&&(n=e.a)),n=wo(n),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Vo=`(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)`,Ho=`[\\s|\\(]+(${Vo})[,|\\s]+(${Vo})[,|\\s]+(${Vo})\\s*\\)?`,Uo=`[\\s|\\(]+(${Vo})[,|\\s]+(${Vo})[,|\\s]+(${Vo})[,|\\s]+(${Vo})\\s*\\)?`,Wo={CSS_UNIT:new RegExp(Vo),rgb:RegExp(`rgb`+Ho),rgba:RegExp(`rgba`+Uo),hsl:RegExp(`hsl`+Ho),hsla:RegExp(`hsla`+Uo),hsv:RegExp(`hsv`+Ho),hsva:RegExp(`hsva`+Uo),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Go(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(zo[e])e=zo[e],t=!0;else if(e===`transparent`)return{r:0,g:0,b:0,a:0,format:`name`};var n=Wo.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Wo.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Wo.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Wo.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Wo.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Wo.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Wo.hex8.exec(e),n?{r:Lo(n[1]),g:Lo(n[2]),b:Lo(n[3]),a:Io(n[4]),format:t?`name`:`hex8`}:(n=Wo.hex6.exec(e),n?{r:Lo(n[1]),g:Lo(n[2]),b:Lo(n[3]),format:t?`name`:`hex`}:(n=Wo.hex4.exec(e),n?{r:Lo(n[1]+n[1]),g:Lo(n[2]+n[2]),b:Lo(n[3]+n[3]),a:Io(n[4]+n[4]),format:t?`name`:`hex8`}:(n=Wo.hex3.exec(e),n?{r:Lo(n[1]+n[1]),g:Lo(n[2]+n[2]),b:Lo(n[3]+n[3]),format:t?`name`:`hex`}:!1)))))))))}function Ko(e){return!!Wo.CSS_UNIT.exec(String(e))}var qo=function(){function e(t,n){if(t===void 0&&(t=``),n===void 0&&(n={}),t instanceof e)return t;typeof t==`number`&&(t=Ro(t)),this.originalInput=t;var r=Bo(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t,n,r,i=e.r/255,a=e.g/255,o=e.b/255;return t=i<=.03928?i/12.92:((i+.055)/1.055)**2.4,n=a<=.03928?a/12.92:((a+.055)/1.055)**2.4,r=o<=.03928?o/12.92:((o+.055)/1.055)**2.4,.2126*t+.7152*n+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=wo(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return this.toHsl().s===0},e.prototype.toHsv=function(){var e=jo(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=jo(this.r,this.g,this.b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this.a===1?`hsv(${t}, ${n}%, ${r}%)`:`hsva(${t}, ${n}%, ${r}%, ${this.roundA})`},e.prototype.toHsl=function(){var e=Oo(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=Oo(this.r,this.g,this.b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this.a===1?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${this.roundA})`},e.prototype.toHex=function(e){return e===void 0&&(e=!1),No(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return e===void 0&&(e=!1),`#`+this.toHex(e)},e.prototype.toHex8=function(e){return e===void 0&&(e=!1),Po(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return e===void 0&&(e=!1),`#`+this.toHex8(e)},e.prototype.toHexShortString=function(e){return e===void 0&&(e=!1),this.a===1?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return this.a===1?`rgb(${e}, ${t}, ${n})`:`rgba(${e}, ${t}, ${n}, ${this.roundA})`},e.prototype.toPercentageRgb=function(){var e=function(e){return`${Math.round(bo(e,255)*100)}%`};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(bo(e,255)*100)};return this.a===1?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`},e.prototype.toName=function(){if(this.a===0)return`transparent`;if(this.a<1)return!1;for(var e=`#`+No(this.r,this.g,this.b,!1),t=0,n=Object.entries(zo);t<n.length;t++){var r=n[t],i=r[0];if(e===r[1])return i}return!1},e.prototype.toString=function(e){var t=!!e;e??=this.format;var n=!1,r=this.a<1&&this.a>=0;return!t&&r&&(e.startsWith(`hex`)||e===`name`)?e===`name`&&this.a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=xo(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=xo(n.l),new e(n)},e.prototype.tint=function(e){return e===void 0&&(e=10),this.mix(`white`,e)},e.prototype.shade=function(e){return e===void 0&&(e=10),this.mix(`black`,e)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=xo(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=xo(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),a=n/100;return new e({r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a})},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,a=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(new e({h:r,s:i,v:a})),a=(a+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],a=360/t,o=1;o<t;o++)i.push(new e({h:(r+o*a)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Jo(e,t=20){return e.mix(`#141414`,t).toString()}function Yo(e){let t=Jt(),n=Ct(`button`);return I(()=>{let r={},i=e.color;if(i){let a=i.match(/var\((.*?)\)/);a&&(i=window.getComputedStyle(window.document.documentElement).getPropertyValue(a[1]));let o=new qo(i),s=e.dark?o.tint(20).toString():Jo(o,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Jo(o,90):o.tint(90).toString(),"text-color":i,"border-color":e.dark?Jo(o,50):o.tint(50).toString(),"hover-text-color":`var(${n.cssVarName(`color-white`)})`,"hover-bg-color":i,"hover-border-color":i,"active-bg-color":s,"active-text-color":`var(${n.cssVarName(`color-white`)})`,"active-border-color":s}),t.value&&(r[n.cssVarBlockName(`disabled-bg-color`)]=e.dark?Jo(o,90):o.tint(90).toString(),r[n.cssVarBlockName(`disabled-text-color`)]=e.dark?Jo(o,50):o.tint(50).toString(),r[n.cssVarBlockName(`disabled-border-color`)]=e.dark?Jo(o,80):o.tint(80).toString());else{let a=e.dark?Jo(o,30):o.tint(30).toString(),c=o.isDark()?`var(${n.cssVarName(`color-white`)})`:`var(${n.cssVarName(`color-black`)})`;if(r=n.cssVarBlock({"bg-color":i,"text-color":c,"border-color":i,"hover-bg-color":a,"hover-text-color":c,"hover-border-color":a,"active-bg-color":s,"active-border-color":s}),t.value){let t=e.dark?Jo(o,50):o.tint(50).toString();r[n.cssVarBlockName(`disabled-bg-color`)]=t,r[n.cssVarBlockName(`disabled-text-color`)]=e.dark?`rgba(255, 255, 255, 0.5)`:`var(${n.cssVarName(`color-white`)})`,r[n.cssVarBlockName(`disabled-border-color`)]=t}}}return r})}var Xo=St(B({...B({name:`ElButton`}),props:vo,emits:yo,setup(e,{expose:t,emit:n}){let r=e,i=Yo(r),a=Ct(`button`),{_ref:o,_size:s,_type:c,_disabled:l,_props:u,_plain:d,_round:f,shouldAddSpace:h,handleClick:g}=_o(r,n),_=I(()=>[a.b(),a.m(c.value),a.m(s.value),a.is(`disabled`,l.value),a.is(`loading`,r.loading),a.is(`plain`,d.value),a.is(`round`,f.value),a.is(`circle`,r.circle),a.is(`text`,r.text),a.is(`link`,r.link),a.is(`has-bg`,r.bg)]);return t({ref:o,size:s,type:c,disabled:l,shouldAddSpace:h}),(e,t)=>(R(),F(xe(e.tag),p({ref_key:`_ref`,ref:o},w(u),{class:w(_),style:w(i),onClick:w(g)}),{default:L(()=>[e.loading?(R(),T(ne,{key:0},[e.$slots.loading?P(e.$slots,`loading`,{key:0}):(R(),F(w(Ne),{key:1,class:m(w(a).is(`loading`))},{default:L(()=>[(R(),F(xe(e.loadingIcon)))]),_:1},8,[`class`]))],64)):e.icon||e.$slots.icon?(R(),F(w(Ne),{key:1},{default:L(()=>[e.icon?(R(),F(xe(e.icon),{key:0})):P(e.$slots,`icon`,{key:1})]),_:3})):C(`v-if`,!0),e.$slots.default?(R(),T(`span`,{key:2,class:m({[w(a).em(`text`,`expand`)]:w(h)})},[P(e.$slots,`default`)],2)):C(`v-if`,!0)]),_:3},16,[`class`,`style`,`onClick`]))}}),[[`__file`,`button.vue`]]),Zo={size:vo.size,type:vo.type},Qo=St(B({...B({name:`ElButtonGroup`}),props:Zo,setup(e){let t=e;ge(go,A({size:D(t,`size`),type:D(t,`type`)}));let n=Ct(`button`);return(e,t)=>(R(),T(`div`,{class:m(w(n).b(`group`))},[P(e.$slots,`default`)],2))}}),[[`__file`,`button-group.vue`]]),$o=Tt(Xo,{ButtonGroup:Qo}),es=wt(Qo),ts=(e,t)=>{if(!nt||!e||!t)return!1;let n=e.getBoundingClientRect(),r;return r=t instanceof Element?t.getBoundingClientRect():{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.top<r.bottom&&n.bottom>r.top&&n.right>r.left&&n.left<r.right},ns=e=>{let t,n;return e.type===`touchend`?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith(`touch`)?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},rs=Tt(Wt),is=e=>{if(!e)return{onClick:E,onMousedown:E,onMouseup:E};let t=!1,n=!1;return{onClick:r=>{t&&n&&e(r),t=n=!1},onMousedown:e=>{t=e.target===e.currentTarget},onMouseup:e=>{n=e.target===e.currentTarget}}},as=ke({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:et([String,Array,Object])},zIndex:{type:et([String,Number])}}),os={click:e=>e instanceof MouseEvent},ss=`overlay`,cs=B({name:`ElOverlay`,props:as,emits:os,setup(e,{slots:t,emit:n}){let r=Ct(ss),{onClick:i,onMousedown:a,onMouseup:o}=is(e.customMaskEvent?void 0:e=>{n(`click`,e)});return()=>e.mask?x(`div`,{class:[r.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:i,onMousedown:a,onMouseup:o},[P(t,`default`)],en.STYLE|en.CLASS|en.PROPS,[`onClick`,`onMouseup`,`onMousedown`]):h(`div`,{class:e.overlayClass,style:{zIndex:e.zIndex,position:`fixed`,top:`0px`,right:`0px`,bottom:`0px`,left:`0px`}},[P(t,`default`)])}}),ls=Symbol(`dialogInjectionKey`),us=ke({center:Boolean,alignCenter:Boolean,closeIcon:{type:Ye},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:``},ariaLevel:{type:String,default:`2`}}),ds={close:()=>!0},fs=(e,t,n,r)=>{let i={offsetX:0,offsetY:0},a=(t,n)=>{if(e.value){let{offsetX:a,offsetY:o}=i,s=e.value.getBoundingClientRect(),c=s.left,l=s.top,u=s.width,d=s.height,f=document.documentElement.clientWidth,p=document.documentElement.clientHeight,m=-c+a,h=-l+o,g=f-c-u+a,_=p-l-(d<p?d:0)+o;r?.value||(t=Math.min(Math.max(t,m),g),n=Math.min(Math.max(n,h),_)),i.offsetX=t,i.offsetY=n,e.value.style.transform=`translate(${Re(t)}, ${Re(n)})`}},o=e=>{let t=e.clientX,n=e.clientY,{offsetX:r,offsetY:o}=i,s=e=>{a(r+e.clientX-t,o+e.clientY-n)},c=()=>{document.removeEventListener(`mousemove`,s),document.removeEventListener(`mouseup`,c)};document.addEventListener(`mousemove`,s),document.addEventListener(`mouseup`,c)},s=()=>{t.value&&e.value&&(t.value.addEventListener(`mousedown`,o),window.addEventListener(`resize`,u))},c=()=>{t.value&&e.value&&(t.value.removeEventListener(`mousedown`,o),window.removeEventListener(`resize`,u))},l=()=>{i.offsetX=0,i.offsetY=0,e.value&&(e.value.style.transform=``)},u=()=>{let{offsetX:e,offsetY:t}=i;a(e,t)};return O(()=>{ve(()=>{n.value?s():c()})}),se(()=>{c()}),{resetPosition:l,updatePosition:u}},ps=(...e)=>t=>{e.forEach(e=>{s(e)?e(t):e.value=t})},ms=St(B({...B({name:`ElDialogContent`}),props:us,emits:ds,setup(e,{expose:t}){let n=e,{t:r}=gt(),{Close:a}=ht,{dialogRef:o,headerRef:s,bodyId:c,ns:l,style:u}=re(ls),{focusTrapRef:d}=re(Va),f=I(()=>[l.b(),l.is(`fullscreen`,n.fullscreen),l.is(`draggable`,n.draggable),l.is(`align-center`,n.alignCenter),{[l.m(`center`)]:n.center}]),p=ps(d,o),{resetPosition:h,updatePosition:g}=fs(o,s,I(()=>n.draggable),I(()=>n.overflow));return t({resetPosition:h,updatePosition:g}),(e,t)=>(R(),T(`div`,{ref:w(p),class:m(w(f)),style:ye(w(u)),tabindex:`-1`},[i(`header`,{ref_key:`headerRef`,ref:s,class:m([w(l).e(`header`),e.headerClass,{"show-close":e.showClose}])},[P(e.$slots,`header`,{},()=>[i(`span`,{role:`heading`,"aria-level":e.ariaLevel,class:m(w(l).e(`title`))},v(e.title),11,[`aria-level`])]),e.showClose?(R(),T(`button`,{key:0,"aria-label":w(r)(`el.dialog.close`),class:m(w(l).e(`headerbtn`)),type:`button`,onClick:t=>e.$emit(`close`)},[x(w(Ne),{class:m(w(l).e(`close`))},{default:L(()=>[(R(),F(xe(e.closeIcon||w(a))))]),_:1},8,[`class`])],10,[`aria-label`,`onClick`])):C(`v-if`,!0)],2),i(`div`,{id:w(c),class:m([w(l).e(`body`),e.bodyClass])},[P(e.$slots,`default`)],10,[`id`]),e.$slots.footer?(R(),T(`footer`,{key:0,class:m([w(l).e(`footer`),e.footerClass])},[P(e.$slots,`footer`)],2)):C(`v-if`,!0)],6))}}),[[`__file`,`dialog-content.vue`]]),hs=ke({...us,appendToBody:Boolean,appendTo:{type:mo.to.type,default:`body`},beforeClose:{type:et(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:`2`}}),gs={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[kt]:e=>yt(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},_s=(e,t={})=>{Ee(e)||it(`[useLockscreen]`,`You need to pass a ref param to this function`);let n=t.ns||Ct(`popup`),r=I(()=>n.bm(`parent`,`hidden`));if(!nt||xt(document.body,r.value))return;let i=0,a=!1,o=`0`,s=()=>{setTimeout(()=>{typeof document>`u`||a&&document&&(document.body.style.width=o,je(document.body,r.value))},200)};N(e,e=>{if(!e){s();return}a=!xt(document.body,r.value),a&&(o=document.body.style.width,Fe(document.body,r.value)),i=Mt(n.namespace.value);let t=document.documentElement.clientHeight<document.body.scrollHeight,c=Ue(document.body,`overflowY`);i>0&&(t||c===`scroll`)&&a&&(document.body.style.width=`calc(100% - ${i}px)`)}),Te(()=>s())},vs=(e,t)=>{let n=o().emit,{nextZIndex:r}=ut(),i=``,a=Kt(),s=Kt(),c=z(!1),l=z(!1),u=z(!1),d=z(e.zIndex??r()),f,p,m=Ke(`namespace`,`el`),h=I(()=>{let t={},n=`--${m.value}-dialog`;return e.fullscreen||(e.top&&(t[`${n}-margin-top`]=e.top),e.width&&(t[`${n}-width`]=Re(e.width))),t}),g=I(()=>e.alignCenter?{display:`flex`}:{});function _(){n(`opened`)}function v(){n(`closed`),n(kt,!1),e.destroyOnClose&&(u.value=!1)}function b(){n(`close`)}function x(){p?.(),f?.(),e.openDelay&&e.openDelay>0?{stop:f}=Ze(()=>T(),e.openDelay):T()}function S(){f?.(),p?.(),e.closeDelay&&e.closeDelay>0?{stop:p}=Ze(()=>E(),e.closeDelay):E()}function C(){function t(e){e||(l.value=!0,c.value=!1)}e.beforeClose?e.beforeClose(t):S()}function w(){e.closeOnClickModal&&C()}function T(){nt&&(c.value=!0)}function E(){c.value=!1}function D(){n(`openAutoFocus`)}function ee(){n(`closeAutoFocus`)}function te(e){e.detail?.focusReason===`pointer`&&e.preventDefault()}e.lockScroll&&_s(c);function k(){e.closeOnPressEscape&&C()}return N(()=>e.zIndex,()=>{d.value=e.zIndex??r()}),N(()=>e.modelValue,i=>{i?(l.value=!1,x(),u.value=!0,d.value=e.zIndex??r(),y(()=>{n(`open`),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):c.value&&S()}),N(()=>e.fullscreen,e=>{t.value&&(e?(i=t.value.style.transform,t.value.style.transform=``):t.value.style.transform=i)}),O(()=>{e.modelValue&&(c.value=!0,u.value=!0,x())}),{afterEnter:_,afterLeave:v,beforeLeave:b,handleClose:C,onModalClick:w,close:S,doClose:E,onOpenAutoFocus:D,onCloseAutoFocus:ee,onCloseRequested:k,onFocusoutPrevented:te,titleId:a,bodyId:s,closed:l,style:h,overlayDialogStyle:g,rendered:u,visible:c,zIndex:d}},ys=Tt(St(B({...B({name:`ElDialog`,inheritAttrs:!1}),props:hs,emits:gs,setup(e,{expose:t}){let n=e,r=Se();Xt({scope:`el-dialog`,from:`the title slot`,replacement:`the header slot`,version:`3.0.0`,ref:`https://element-plus.org/en-US/component/dialog.html#slots`},I(()=>!!r.title));let a=Ct(`dialog`),o=z(),s=z(),c=z(),{visible:l,titleId:u,bodyId:d,style:f,overlayDialogStyle:h,rendered:g,zIndex:_,afterEnter:v,afterLeave:y,beforeLeave:b,handleClose:S,onModalClick:T,onOpenAutoFocus:E,onCloseAutoFocus:D,onCloseRequested:O,onFocusoutPrevented:te}=vs(n,o);ge(ls,{dialogRef:o,headerRef:s,bodyId:d,ns:a,rendered:g,style:f});let k=is(T),A=I(()=>n.draggable&&!n.fullscreen);return t({visible:l,dialogContentRef:c,resetPosition:()=>{var e;(e=c.value)==null||e.resetPosition()},handleClose:S}),(e,t)=>(R(),F(w(ho),{to:e.appendTo,disabled:e.appendTo===`body`?!e.appendToBody:!1},{default:L(()=>[x(_e,{name:`dialog-fade`,onAfterEnter:w(v),onAfterLeave:w(y),onBeforeLeave:w(b),persisted:``},{default:L(()=>[pe(x(w(cs),{"custom-mask-event":``,mask:e.modal,"overlay-class":e.modalClass,"z-index":w(_)},{default:L(()=>[i(`div`,{role:`dialog`,"aria-modal":`true`,"aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:w(u),"aria-describedby":w(d),class:m(`${w(a).namespace.value}-overlay-dialog`),style:ye(w(h)),onClick:w(k).onClick,onMousedown:w(k).onMousedown,onMouseup:w(k).onMouseup},[x(w(po),{loop:``,trapped:w(l),"focus-start-el":`container`,onFocusAfterTrapped:w(E),onFocusAfterReleased:w(D),onFocusoutPrevented:w(te),onReleaseRequested:w(O)},{default:L(()=>[w(g)?(R(),F(ms,p({key:0,ref_key:`dialogContentRef`,ref:c},e.$attrs,{center:e.center,"align-center":e.alignCenter,"close-icon":e.closeIcon,draggable:w(A),overflow:e.overflow,fullscreen:e.fullscreen,"header-class":e.headerClass,"body-class":e.bodyClass,"footer-class":e.footerClass,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:w(S)}),ee({header:L(()=>[e.$slots.title?P(e.$slots,`title`,{key:1}):P(e.$slots,`header`,{key:0,close:w(S),titleId:w(u),titleClass:w(a).e(`title`)})]),default:L(()=>[P(e.$slots,`default`)]),_:2},[e.$slots.footer?{name:`footer`,fn:L(()=>[P(e.$slots,`footer`)])}:void 0]),1040,[`center`,`align-center`,`close-icon`,`draggable`,`overflow`,`fullscreen`,`header-class`,`body-class`,`footer-class`,`show-close`,`title`,`aria-level`,`onClose`])):C(`v-if`,!0)]),_:3},8,[`trapped`,`onFocusAfterTrapped`,`onFocusAfterReleased`,`onFocusoutPrevented`,`onReleaseRequested`])],46,[`aria-label`,`aria-labelledby`,`aria-describedby`,`onClick`,`onMousedown`,`onMouseup`])]),_:3},8,[`mask`,`overlay-class`,`z-index`]),[[we,w(l)]])]),_:3},8,[`onAfterEnter`,`onAfterLeave`,`onBeforeLeave`])]),_:3},8,[`to`,`disabled`]))}}),[[`__file`,`dialog.vue`]])),bs=St(B({...B({name:`ImgEmpty`}),setup(e){let t=Ct(`empty`),n=Kt();return(e,r)=>(R(),T(`svg`,{viewBox:`0 0 79 86`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`},[i(`defs`,null,[i(`linearGradient`,{id:`linearGradient-1-${w(n)}`,x1:`38.8503086%`,y1:`0%`,x2:`61.1496914%`,y2:`100%`},[i(`stop`,{"stop-color":`var(${w(t).cssVarBlockName(`fill-color-1`)})`,offset:`0%`},null,8,[`stop-color`]),i(`stop`,{"stop-color":`var(${w(t).cssVarBlockName(`fill-color-4`)})`,offset:`100%`},null,8,[`stop-color`])],8,[`id`]),i(`linearGradient`,{id:`linearGradient-2-${w(n)}`,x1:`0%`,y1:`9.5%`,x2:`100%`,y2:`90.5%`},[i(`stop`,{"stop-color":`var(${w(t).cssVarBlockName(`fill-color-1`)})`,offset:`0%`},null,8,[`stop-color`]),i(`stop`,{"stop-color":`var(${w(t).cssVarBlockName(`fill-color-6`)})`,offset:`100%`},null,8,[`stop-color`])],8,[`id`]),i(`rect`,{id:`path-3-${w(n)}`,x:`0`,y:`0`,width:`17`,height:`36`},null,8,[`id`])]),i(`g`,{stroke:`none`,"stroke-width":`1`,fill:`none`,"fill-rule":`evenodd`},[i(`g`,{transform:`translate(-1268.000000, -535.000000)`},[i(`g`,{transform:`translate(1268.000000, 535.000000)`},[i(`path`,{d:`M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z`,fill:`var(${w(t).cssVarBlockName(`fill-color-3`)})`},null,8,[`fill`]),i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-7`)})`,transform:`translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) `,points:`13 58 53 58 42 45 2 45`},null,8,[`fill`]),i(`g`,{transform:`translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)`},[i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-7`)})`,transform:`translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) `,points:`2.84078316e-14 3 18 3 23 7 5 7`},null,8,[`fill`]),i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-5`)})`,points:`-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43`},null,8,[`fill`]),i(`rect`,{fill:`url(#linearGradient-1-${w(n)})`,transform:`translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) `,x:`38`,y:`7`,width:`17`,height:`36`},null,8,[`fill`]),i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-2`)})`,transform:`translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) `,points:`24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12`},null,8,[`fill`])]),i(`rect`,{fill:`url(#linearGradient-2-${w(n)})`,x:`13`,y:`45`,width:`40`,height:`36`},null,8,[`fill`]),i(`g`,{transform:`translate(53.000000, 45.000000)`},[i(`use`,{fill:`var(${w(t).cssVarBlockName(`fill-color-8`)})`,transform:`translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) `,"xlink:href":`#path-3-${w(n)}`},null,8,[`fill`,`xlink:href`]),i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-9`)})`,mask:`url(#mask-4-${w(n)})`,transform:`translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) `,points:`7 0 24 0 20 18 7 16.5`},null,8,[`fill`,`mask`])]),i(`polygon`,{fill:`var(${w(t).cssVarBlockName(`fill-color-2`)})`,transform:`translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) `,points:`62 45 79 45 70 58 53 58`},null,8,[`fill`])])])])]))}}),[[`__file`,`img-empty.vue`]]),xs=ke({image:{type:String,default:``},imageSize:Number,description:{type:String,default:``}}),Ss=Tt(St(B({...B({name:`ElEmpty`}),props:xs,setup(e){let t=e,{t:n}=gt(),r=Ct(`empty`),a=I(()=>t.description||n(`el.table.emptyText`)),o=I(()=>({width:Re(t.imageSize)}));return(e,t)=>(R(),T(`div`,{class:m(w(r).b())},[i(`div`,{class:m(w(r).e(`image`)),style:ye(w(o))},[e.image?(R(),T(`img`,{key:0,src:e.image,ondragstart:`return false`},null,8,[`src`])):P(e.$slots,`image`,{key:1},()=>[x(bs)])],6),i(`div`,{class:m(w(r).e(`description`))},[e.$slots.description?P(e.$slots,`description`,{key:0}):(R(),T(`p`,{key:1},v(w(a)),1))],2),e.$slots.default?(R(),T(`div`,{key:0,class:m(w(r).e(`bottom`))},[P(e.$slots,`default`)],2)):C(`v-if`,!0)],2))}}),[[`__file`,`empty.vue`]])),Cs=ke({urlList:{type:et(Array),default:()=>Ut([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:et(String)}}),ws={close:()=>!0,switch:e=>_t(e),rotate:e=>_t(e)},Ts=Tt(St(B({...B({name:`ElImageViewer`}),props:Cs,emits:ws,setup(e,{expose:t,emit:n}){let r=e,a={CONTAIN:{name:`contain`,icon:ue(Xe)},ORIGINAL:{name:`original`,icon:ue(Ae)}},o,s=``,{t:l}=gt(),u=Ct(`image-viewer`),{nextZIndex:d}=ut(),p=z(),h=z([]),_=le(),b=z(!0),S=z(r.initialIndex),E=f(a.CONTAIN),D=z({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),ee=z(r.zIndex??d()),te=I(()=>{let{urlList:e}=r;return e.length<=1}),k=I(()=>S.value===0),A=I(()=>S.value===r.urlList.length-1),re=I(()=>r.urlList[S.value]),ie=I(()=>[u.e(`btn`),u.e(`prev`),u.is(`disabled`,!r.infinite&&k.value)]),ae=I(()=>[u.e(`btn`),u.e(`next`),u.is(`disabled`,!r.infinite&&A.value)]),oe=I(()=>{let{scale:e,deg:t,offsetX:n,offsetY:r,enableTransition:i}=D.value,o=n/e,s=r/e,c=t*Math.PI/180,l=Math.cos(c),u=Math.sin(c);o=o*l+s*u,s=s*l-n/e*u;let d={transform:`scale(${e}) rotate(${t}deg) translate(${o}px, ${s}px)`,transition:i?`transform .3s`:``};return E.value.name===a.CONTAIN.name&&(d.maxWidth=d.maxHeight=`100%`),d}),j=I(()=>`${S.value+1} / ${r.urlList.length}`);function se(){M(),o?.(),document.body.style.overflow=s,n(`close`)}function ce(){let e=ga(e=>{switch(e.code){case Nt.esc:r.closeOnPressEscape&&se();break;case Nt.space:he();break;case Nt.left:ve();break;case Nt.up:Ce(`zoomIn`);break;case Nt.right:Se();break;case Nt.down:Ce(`zoomOut`);break}}),t=ga(e=>{Ce((e.deltaY||e.deltaX)<0?`zoomIn`:`zoomOut`,{zoomRate:r.zoomRate,enableTransition:!1})});_.run(()=>{ct(document,`keydown`,e),ct(document,`wheel`,t)})}function M(){_.stop()}function de(){b.value=!1}function fe(e){b.value=!1,e.target.alt=l(`el.image.error`)}function pe(e){if(b.value||e.button!==0||!p.value)return;D.value.enableTransition=!1;let{offsetX:t,offsetY:n}=D.value,r=e.pageX,i=e.pageY,a=ga(e=>{D.value={...D.value,offsetX:t+e.pageX-r,offsetY:n+e.pageY-i}}),o=ct(document,`mousemove`,a);ct(document,`mouseup`,()=>{o()}),e.preventDefault()}function me(){D.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function he(){if(b.value)return;let e=Ie(a),t=Object.values(a),n=E.value.name;E.value=a[e[(t.findIndex(e=>e.name===n)+1)%e.length]],me()}function ge(e){let t=r.urlList.length;S.value=(e+t)%t}function ve(){k.value&&!r.infinite||ge(S.value-1)}function Se(){A.value&&!r.infinite||ge(S.value+1)}function Ce(e,t={}){if(b.value)return;let{minScale:i,maxScale:a}=r,{zoomRate:o,rotateDeg:s,enableTransition:c}={zoomRate:r.zoomRate,rotateDeg:90,enableTransition:!0,...t};switch(e){case`zoomOut`:D.value.scale>i&&(D.value.scale=Number.parseFloat((D.value.scale/o).toFixed(3)));break;case`zoomIn`:D.value.scale<a&&(D.value.scale=Number.parseFloat((D.value.scale*o).toFixed(3)));break;case`clockwise`:D.value.deg+=s,n(`rotate`,D.value.deg);break;case`anticlockwise`:D.value.deg-=s,n(`rotate`,D.value.deg);break}D.value.enableTransition=c}function we(e){e.detail?.focusReason===`pointer`&&e.preventDefault()}function Te(){r.closeOnPressEscape&&se()}function Ee(e){if(e.ctrlKey&&(e.deltaY<0||e.deltaY>0))return e.preventDefault(),!1}return N(re,()=>{y(()=>{h.value[0]?.complete||(b.value=!0)})}),N(S,e=>{me(),n(`switch`,e)}),O(()=>{ce(),o=ct(`wheel`,Ee,{passive:!1}),s=document.body.style.overflow,document.body.style.overflow=`hidden`}),t({setActiveItem:ge}),(e,t)=>(R(),F(w(ho),{to:`body`,disabled:!e.teleported},{default:L(()=>[x(_e,{name:`viewer-fade`,appear:``},{default:L(()=>[i(`div`,{ref_key:`wrapper`,ref:p,tabindex:-1,class:m(w(u).e(`wrapper`)),style:ye({zIndex:ee.value})},[x(w(po),{loop:``,trapped:``,"focus-trap-el":p.value,"focus-start-el":`container`,onFocusoutPrevented:we,onReleaseRequested:Te},{default:L(()=>[i(`div`,{class:m(w(u).e(`mask`)),onClick:c(t=>e.hideOnClickModal&&se(),[`self`])},null,10,[`onClick`]),C(` CLOSE `),i(`span`,{class:m([w(u).e(`btn`),w(u).e(`close`)]),onClick:se},[x(w(Ne),null,{default:L(()=>[x(w(tt))]),_:1})],2),C(` ARROW `),w(te)?C(`v-if`,!0):(R(),T(ne,{key:0},[i(`span`,{class:m(w(ie)),onClick:ve},[x(w(Ne),null,{default:L(()=>[x(w(mt))]),_:1})],2),i(`span`,{class:m(w(ae)),onClick:Se},[x(w(Ne),null,{default:L(()=>[x(w(Qe))]),_:1})],2)],64)),e.$slots.progress||e.showProgress?(R(),T(`div`,{key:1,class:m([w(u).e(`btn`),w(u).e(`progress`)])},[P(e.$slots,`progress`,{activeIndex:S.value,total:e.urlList.length},()=>[g(v(w(j)),1)])],2)):C(`v-if`,!0),C(` ACTIONS `),i(`div`,{class:m([w(u).e(`btn`),w(u).e(`actions`)])},[i(`div`,{class:m(w(u).e(`actions__inner`))},[P(e.$slots,`toolbar`,{actions:Ce,prev:ve,next:Se,reset:he,activeIndex:S.value,setActiveItem:ge},()=>[x(w(Ne),{onClick:e=>Ce(`zoomOut`)},{default:L(()=>[x(w(He))]),_:1},8,[`onClick`]),x(w(Ne),{onClick:e=>Ce(`zoomIn`)},{default:L(()=>[x(w(ze))]),_:1},8,[`onClick`]),i(`i`,{class:m(w(u).e(`actions__divider`))},null,2),x(w(Ne),{onClick:he},{default:L(()=>[(R(),F(xe(w(E).icon)))]),_:1}),i(`i`,{class:m(w(u).e(`actions__divider`))},null,2),x(w(Ne),{onClick:e=>Ce(`anticlockwise`)},{default:L(()=>[x(w(Be))]),_:1},8,[`onClick`]),x(w(Ne),{onClick:e=>Ce(`clockwise`)},{default:L(()=>[x(w(ot))]),_:1},8,[`onClick`])])],2)],2),C(` CANVAS `),i(`div`,{class:m(w(u).e(`canvas`))},[(R(!0),T(ne,null,be(e.urlList,(t,n)=>(R(),T(ne,{key:n},[n===S.value?(R(),T(`img`,{key:0,ref_for:!0,ref:e=>h.value[n]=e,src:t,style:ye(w(oe)),class:m(w(u).e(`img`)),crossorigin:e.crossorigin,onLoad:de,onError:fe,onMousedown:pe},null,46,[`src`,`crossorigin`])):C(`v-if`,!0)],64))),128))],2),P(e.$slots,`default`)]),_:3},8,[`focus-trap-el`])],6)]),_:3})]),_:3},8,[`disabled`]))}}),[[`__file`,`image-viewer.vue`]])),Es=ke({hideOnClickModal:Boolean,src:{type:String,default:``},fit:{type:String,values:[``,`contain`,`cover`,`fill`,`none`,`scale-down`],default:``},loading:{type:String,values:[`eager`,`lazy`]},lazy:Boolean,scrollContainer:{type:et([String,Object])},previewSrcList:{type:et(Array),default:()=>Ut([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:et(String)}}),Ds={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>_t(e),close:()=>!0,show:()=>!0},Os=Tt(St(B({...B({name:`ElImage`,inheritAttrs:!1}),props:Es,emits:Ds,setup(e,{expose:t,emit:n}){let r=e,{t:a}=gt(),o=Ct(`image`),s=he(),c=I(()=>st(Object.entries(s).filter(([e])=>/^(data-|on[A-Z])/i.test(e)||[`id`,`style`].includes(e)))),l=Da({excludeListeners:!0,excludeKeys:I(()=>Object.keys(c.value))}),u=z(),d=z(!1),f=z(!0),h=z(!1),g=z(),_=z(),x=nt&&`loading`in HTMLImageElement.prototype,S,E=I(()=>[o.e(`inner`),k.value&&o.e(`preview`),f.value&&o.is(`loading`)]),D=I(()=>{let{fit:e}=r;return nt&&e?{objectFit:e}:{}}),k=I(()=>{let{previewSrcList:e}=r;return te(e)&&e.length>0}),A=I(()=>{let{previewSrcList:e,initialIndex:t}=r,n=t;return t>e.length-1&&(n=0),n}),re=I(()=>r.loading===`eager`?!1:!x&&r.loading===`lazy`||r.lazy),ae=()=>{nt&&(f.value=!0,d.value=!1,u.value=r.src)};function oe(e){f.value=!1,d.value=!1,n(`load`,e)}function se(e){f.value=!1,d.value=!0,n(`error`,e)}function ce(){ts(g.value,_.value)&&(ae(),ue())}let le=bt(ce,200,!0);async function M(){if(!nt)return;await y();let{scrollContainer:e}=r;Ge(e)?_.value=e:j(e)&&e!==``?_.value=document.querySelector(e)??void 0:g.value&&(_.value=jt(g.value)),_.value&&(S=ct(_,`scroll`,le),setTimeout(()=>ce(),100))}function ue(){!nt||!_.value||!le||(S?.(),_.value=void 0)}function de(){k.value&&(h.value=!0,n(`show`))}function fe(){h.value=!1,n(`close`)}function pe(e){n(`switch`,e)}return N(()=>r.src,()=>{re.value?(f.value=!0,d.value=!1,ue(),M()):ae()}),O(()=>{re.value?M():ae()}),t({showPreview:de}),(e,t)=>(R(),T(`div`,p({ref_key:`container`,ref:g},w(c),{class:[w(o).b(),e.$attrs.class]}),[d.value?P(e.$slots,`error`,{key:0},()=>[i(`div`,{class:m(w(o).e(`error`))},v(w(a)(`el.image.error`)),3)]):(R(),T(ne,{key:1},[u.value===void 0?C(`v-if`,!0):(R(),T(`img`,p({key:0},w(l),{src:u.value,loading:e.loading,style:w(D),class:w(E),crossorigin:e.crossorigin,onClick:de,onLoad:oe,onError:se}),null,16,[`src`,`loading`,`crossorigin`])),f.value?(R(),T(`div`,{key:1,class:m(w(o).e(`wrapper`))},[P(e.$slots,`placeholder`,{},()=>[i(`div`,{class:m(w(o).e(`placeholder`))},null,2)])],2)):C(`v-if`,!0)],64)),w(k)?(R(),T(ne,{key:2},[h.value?(R(),F(w(Ts),{key:0,"z-index":e.zIndex,"initial-index":w(A),infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"show-progress":e.showProgress,"url-list":e.previewSrcList,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:fe,onSwitch:pe},ee({toolbar:L(t=>[P(e.$slots,`toolbar`,b(ie(t)))]),default:L(()=>[e.$slots.viewer?(R(),T(`div`,{key:0},[P(e.$slots,`viewer`)])):C(`v-if`,!0)]),_:2},[e.$slots.progress?{name:`progress`,fn:L(t=>[P(e.$slots,`progress`,b(ie(t)))])}:void 0]),1032,[`z-index`,`initial-index`,`infinite`,`zoom-rate`,`min-scale`,`max-scale`,`show-progress`,`url-list`,`crossorigin`,`hide-on-click-modal`,`teleported`,`close-on-press-escape`])):C(`v-if`,!0)],64)):C(`v-if`,!0)],16))}}),[[`__file`,`image.vue`]])),ks=e=>[``,...Je].includes(e);function As(e,t){let n,r=z(!1),i=A({...e,originalPosition:``,originalOverflow:``,visible:!1});function a(e){i.text=e}function o(){let e=i.parent,t=d.ns;if(!e.vLoadingAddClassList){let n=e.getAttribute(`loading-number`);n=Number.parseInt(n)-1,n?e.setAttribute(`loading-number`,n.toString()):(je(e,t.bm(`parent`,`relative`)),e.removeAttribute(`loading-number`)),je(e,t.bm(`parent`,`hidden`))}s(),u.unmount()}function s(){var e;(e=d.$el?.parentNode)==null||e.removeChild(d.$el)}function c(){var t;e.beforeClose&&!e.beforeClose()||(r.value=!0,clearTimeout(n),n=setTimeout(l,400),i.visible=!1,(t=e.closed)==null||t.call(e))}function l(){if(!r.value)return;let e=i.parent;r.value=!1,e.vLoadingAddClassList=void 0,o()}let u=fe(B({name:`ElLoading`,setup(e,{expose:t}){let{ns:n,zIndex:r}=Pe(`loading`);return t({ns:n,zIndex:r}),()=>{let e=i.spinner||i.svg,t=h(`svg`,{class:`circular`,viewBox:i.svgViewBox?i.svgViewBox:`0 0 50 50`,...e?{innerHTML:e}:{}},[h(`circle`,{class:`path`,cx:`25`,cy:`25`,r:`20`,fill:`none`})]),r=i.text?h(`p`,{class:n.b(`text`)},[i.text]):void 0;return h(_e,{name:n.b(`fade`),onAfterLeave:l},{default:L(()=>[pe(x(`div`,{style:{backgroundColor:i.background||``},class:[n.b(`mask`),i.customClass,i.fullscreen?`is-fullscreen`:``]},[h(`div`,{class:n.b(`spinner`)},[t,r])]),[[we,i.visible]])])})}}}));Object.assign(u._context,t??{});let d=u.mount(document.createElement(`div`));return{...me(i),setText:a,removeElLoadingChild:s,close:c,handleAfterLeave:l,vm:d,get $el(){return d.$el}}}var js=void 0,Ms=function(e={}){if(!nt)return;let t=Ns(e);if(t.fullscreen&&js)return js;let n=As({...t,closed:()=>{var e;(e=t.closed)==null||e.call(t),t.fullscreen&&(js=void 0)}},Ms._context);Ps(t,t.parent,n),Fs(t,t.parent,n),t.parent.vLoadingAddClassList=()=>Fs(t,t.parent,n);let r=t.parent.getAttribute(`loading-number`);return r=r?`${Number.parseInt(r)+1}`:`1`,t.parent.setAttribute(`loading-number`,r),t.parent.appendChild(n.$el),y(()=>n.visible.value=t.visible),t.fullscreen&&(js=n),n},Ns=e=>{let t;return t=j(e.target)?document.querySelector(e.target)??document.body:e.target||document.body,{parent:t===document.body||e.body?document.body:t,background:e.background||``,svg:e.svg||``,svgViewBox:e.svgViewBox||``,spinner:e.spinner||!1,text:e.text||``,fullscreen:t===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||``,visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:t}},Ps=async(e,t,n)=>{let{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,i={};if(e.fullscreen)n.originalPosition.value=Ue(document.body,`position`),n.originalOverflow.value=Ue(document.body,`overflow`),i.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=Ue(document.body,`position`),await y();for(let t of[`top`,`left`]){let n=t===`top`?`scrollTop`:`scrollLeft`;i[t]=`${e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]-Number.parseInt(Ue(document.body,`margin-${t}`),10)}px`}for(let t of[`height`,`width`])i[t]=`${e.target.getBoundingClientRect()[t]}px`}else n.originalPosition.value=Ue(t,`position`);for(let[e,t]of Object.entries(i))n.$el.style[e]=t},Fs=(e,t,n)=>{let r=n.vm.ns||n.vm._.exposed.ns;[`absolute`,`fixed`,`sticky`].includes(n.originalPosition.value)?je(t,r.bm(`parent`,`relative`)):Fe(t,r.bm(`parent`,`relative`)),e.fullscreen&&e.lock?Fe(t,r.bm(`parent`,`hidden`)):je(t,r.bm(`parent`,`hidden`))};Ms._context=null;var Is=Symbol(`ElLoading`),Ls=e=>`element-loading-${S(e)}`,Rs=(e,t)=>{let n=t.instance,r=e=>ae(t.value)?t.value[e]:void 0,i=e=>z(j(e)&&n?.[e]||e),a=t=>i(r(t)||e.getAttribute(Ls(t))),o=r(`fullscreen`)??t.modifiers.fullscreen,s={text:a(`text`),svg:a(`svg`),svgViewBox:a(`svgViewBox`),spinner:a(`spinner`),background:a(`background`),customClass:a(`customClass`),fullscreen:o,target:r(`target`)??(o?void 0:e),body:r(`body`)??t.modifiers.body,lock:r(`lock`)??t.modifiers.lock},c=Ms(s);c._context=Bs._context,e[Is]={options:s,instance:c}},zs=(e,t)=>{for(let n of Object.keys(e))Ee(e[n])&&(e[n].value=t[n])},Bs={mounted(e,t){t.value&&Rs(e,t)},updated(e,t){let n=e[Is];if(!t.value){n?.instance.close(),e[Is]=null;return}n?zs(n.options,ae(t.value)?t.value:{text:e.getAttribute(Ls(`text`)),svg:e.getAttribute(Ls(`svg`)),svgViewBox:e.getAttribute(Ls(`svgViewBox`)),spinner:e.getAttribute(Ls(`spinner`)),background:e.getAttribute(Ls(`background`)),customClass:e.getAttribute(Ls(`customClass`))}):Rs(e,t)},unmounted(e){var t;(t=e[Is])==null||t.instance.close(),e[Is]=null}};Bs._context=null;var Vs=`_trap-focus-children`,Hs=[],Us=e=>{if(Hs.length===0)return;let t=Hs[Hs.length-1][Vs];if(t.length>0&&e.code===Nt.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}let n=e.shiftKey,r=e.target===t[0],i=e.target===t[t.length-1];r&&n&&(e.preventDefault(),t[t.length-1].focus()),i&&!n&&(e.preventDefault(),t[0].focus())}},Ws=B({name:`ElMessageBox`,directives:{TrapFocus:{beforeMount(e){e[Vs]=Zt(e),Hs.push(e),Hs.length<=1&&document.addEventListener(`keydown`,Us)},updated(e){y(()=>{e[Vs]=Zt(e)})},unmounted(){Hs.shift(),Hs.length===0&&document.removeEventListener(`keydown`,Us)}}},components:{ElButton:$o,ElFocusTrap:po,ElInput:Na,ElOverlay:cs,ElIcon:Ne,...lt},inheritAttrs:!1,props:{buttonSize:{type:String,validator:ks},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:`body`},boxType:{type:String,default:``}},emits:[`vanish`,`action`],setup(e,{emit:t}){let{locale:n,zIndex:r,ns:i,size:a}=Pe(`message-box`,I(()=>e.buttonSize)),{t:o}=n,{nextZIndex:c}=r,l=z(!1),u=A({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:``,cancelButtonClass:``,confirmButtonText:``,confirmButtonClass:``,customClass:``,customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:``,closeIcon:``,inputPattern:null,inputPlaceholder:``,inputType:`text`,inputValue:``,inputValidator:void 0,inputErrorMessage:``,message:``,modalFade:!0,modalClass:``,showCancelButton:!1,showConfirmButton:!0,type:``,title:void 0,showInput:!1,action:``,confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:ue(We),cancelButtonLoadingIcon:ue(We),confirmButtonDisabled:!1,editorErrorMessage:``,validateError:!1,zIndex:c()}),d=I(()=>{let e=u.type;return{[i.bm(`icon`,e)]:e&&ft[e]}}),f=Kt(),p=Kt(),m=I(()=>{let e=u.type;return u.icon||e&&ft[e]||``}),h=I(()=>!!u.message),g=z(),_=z(),v=z(),b=z(),x=z(),S=I(()=>u.confirmButtonClass);N(()=>u.inputValue,async t=>{await y(),e.boxType===`prompt`&&t&&ee()},{immediate:!0}),N(()=>l.value,t=>{t&&(e.boxType!==`prompt`&&(u.autofocus?v.value=x.value?.$el??g.value:v.value=g.value),u.zIndex=c()),e.boxType===`prompt`&&(t?y().then(()=>{b.value&&b.value.$el&&(u.autofocus?v.value=te()??g.value:v.value=g.value)}):(u.editorErrorMessage=``,u.validateError=!1))}),fs(g,_,I(()=>e.draggable),I(()=>e.overflow)),O(async()=>{await y(),e.closeOnHashChange&&window.addEventListener(`hashchange`,C)}),se(()=>{e.closeOnHashChange&&window.removeEventListener(`hashchange`,C)});function C(){l.value&&(l.value=!1,y(()=>{u.action&&t(`action`,u.action)}))}let w=()=>{e.closeOnClickModal&&D(u.distinguishCancelAndClose?`close`:`cancel`)},T=is(w),E=e=>{if(u.inputType!==`textarea`)return e.preventDefault(),D(`confirm`)},D=t=>{var n;e.boxType===`prompt`&&t===`confirm`&&!ee()||(u.action=t,u.beforeClose?(n=u.beforeClose)==null||n.call(u,t,u,C):C())},ee=()=>{if(e.boxType===`prompt`){let e=u.inputPattern;if(e&&!e.test(u.inputValue||``))return u.editorErrorMessage=u.inputErrorMessage||o(`el.messagebox.error`),u.validateError=!0,!1;let t=u.inputValidator;if(s(t)){let e=t(u.inputValue);if(e===!1)return u.editorErrorMessage=u.inputErrorMessage||o(`el.messagebox.error`),u.validateError=!0,!1;if(j(e))return u.editorErrorMessage=e,u.validateError=!0,!1}}return u.editorErrorMessage=``,u.validateError=!1,!0},te=()=>{let e=b.value?.$refs;return e?.input??e?.textarea},k=()=>{D(`close`)},ne=()=>{e.closeOnPressEscape&&k()};return e.lockScroll&&_s(l),{...me(u),ns:i,overlayEvent:T,visible:l,hasMessage:h,typeClass:d,contentId:f,inputId:p,btnSize:a,iconComponent:m,confirmButtonClasses:S,rootRef:g,focusStartRef:v,headerRef:_,inputRef:b,confirmRef:x,doClose:C,handleClose:k,onCloseRequested:ne,handleWrapperClick:w,handleInputEnter:E,handleAction:D,t:o}}});function Gs(e,t,n,r,a,o){let s=M(`el-icon`),l=M(`el-input`),u=M(`el-button`),d=M(`el-focus-trap`),f=M(`el-overlay`);return R(),F(_e,{name:`fade-in-linear`,onAfterLeave:t=>e.$emit(`vanish`),persisted:``},{default:L(()=>[pe(x(f,{"z-index":e.zIndex,"overlay-class":[e.ns.is(`message-box`),e.modalClass],mask:e.modal},{default:L(()=>[i(`div`,{role:`dialog`,"aria-label":e.title,"aria-modal":`true`,"aria-describedby":e.showInput?void 0:e.contentId,class:m(`${e.ns.namespace.value}-overlay-message-box`),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[x(d,{loop:``,trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:L(()=>[i(`div`,{ref:`rootRef`,class:m([e.ns.b(),e.customClass,e.ns.is(`draggable`,e.draggable),{[e.ns.m(`center`)]:e.center}]),style:ye(e.customStyle),tabindex:`-1`,onClick:c(()=>{},[`stop`])},[e.title!==null&&e.title!==void 0?(R(),T(`div`,{key:0,ref:`headerRef`,class:m([e.ns.e(`header`),{"show-close":e.showClose}])},[i(`div`,{class:m(e.ns.e(`title`))},[e.iconComponent&&e.center?(R(),F(s,{key:0,class:m([e.ns.e(`status`),e.typeClass])},{default:L(()=>[(R(),F(xe(e.iconComponent)))]),_:1},8,[`class`])):C(`v-if`,!0),i(`span`,null,v(e.title),1)],2),e.showClose?(R(),T(`button`,{key:0,type:`button`,class:m(e.ns.e(`headerbtn`)),"aria-label":e.t(`el.messagebox.close`),onClick:t=>e.handleAction(e.distinguishCancelAndClose?`close`:`cancel`),onKeydown:k(c(t=>e.handleAction(e.distinguishCancelAndClose?`close`:`cancel`),[`prevent`]),[`enter`])},[x(s,{class:m(e.ns.e(`close`))},{default:L(()=>[(R(),F(xe(e.closeIcon||`close`)))]),_:1},8,[`class`])],42,[`aria-label`,`onClick`,`onKeydown`])):C(`v-if`,!0)],2)):C(`v-if`,!0),i(`div`,{id:e.contentId,class:m(e.ns.e(`content`))},[i(`div`,{class:m(e.ns.e(`container`))},[e.iconComponent&&!e.center&&e.hasMessage?(R(),F(s,{key:0,class:m([e.ns.e(`status`),e.typeClass])},{default:L(()=>[(R(),F(xe(e.iconComponent)))]),_:1},8,[`class`])):C(`v-if`,!0),e.hasMessage?(R(),T(`div`,{key:1,class:m(e.ns.e(`message`))},[P(e.$slots,`default`,{},()=>[e.dangerouslyUseHTMLString?(R(),F(xe(e.showInput?`label`:`p`),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,[`for`,`innerHTML`])):(R(),F(xe(e.showInput?`label`:`p`),{key:0,for:e.showInput?e.inputId:void 0},{default:L(()=>[g(v(e.dangerouslyUseHTMLString?``:e.message),1)]),_:1},8,[`for`]))])],2)):C(`v-if`,!0)],2),pe(i(`div`,{class:m(e.ns.e(`input`))},[x(l,{id:e.inputId,ref:`inputRef`,modelValue:e.inputValue,"onUpdate:modelValue":t=>e.inputValue=t,type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:m({invalid:e.validateError}),onKeydown:k(e.handleInputEnter,[`enter`])},null,8,[`id`,`modelValue`,`onUpdate:modelValue`,`type`,`placeholder`,`aria-invalid`,`class`,`onKeydown`]),i(`div`,{class:m(e.ns.e(`errormsg`)),style:ye({visibility:e.editorErrorMessage?`visible`:`hidden`})},v(e.editorErrorMessage),7)],2),[[we,e.showInput]])],10,[`id`]),i(`div`,{class:m(e.ns.e(`btns`))},[e.showCancelButton?(R(),F(u,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:m([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t=>e.handleAction(`cancel`),onKeydown:k(c(t=>e.handleAction(`cancel`),[`prevent`]),[`enter`])},{default:L(()=>[g(v(e.cancelButtonText||e.t(`el.messagebox.cancel`)),1)]),_:1},8,[`loading`,`loading-icon`,`class`,`round`,`size`,`onClick`,`onKeydown`])):C(`v-if`,!0),pe(x(u,{ref:`confirmRef`,type:`primary`,loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:m([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t=>e.handleAction(`confirm`),onKeydown:k(c(t=>e.handleAction(`confirm`),[`prevent`]),[`enter`])},{default:L(()=>[g(v(e.confirmButtonText||e.t(`el.messagebox.confirm`)),1)]),_:1},8,[`loading`,`loading-icon`,`class`,`round`,`disabled`,`size`,`onClick`,`onKeydown`]),[[we,e.showConfirmButton]])],2)],14,[`onClick`])]),_:3},8,[`trapped`,`focus-trap-el`,`focus-start-el`,`onReleaseRequested`])],42,[`aria-label`,`aria-describedby`,`onClick`,`onMousedown`,`onMouseup`])]),_:3},8,[`z-index`,`overlay-class`,`mask`]),[[we,e.visible]])]),_:3},8,[`onAfterLeave`])}var Ks=St(Ws,[[`render`,Gs],[`__file`,`index.vue`]]),qs=new Map,Js=e=>{let t=document.body;return e.appendTo&&(j(e.appendTo)&&(t=document.querySelector(e.appendTo)),Ge(e.appendTo)&&(t=e.appendTo),Ge(t)||(pt(`ElMessageBox`,`the appendTo option is not an HTMLElement. Falling back to document.body.`),t=document.body)),t},Ys=(e,t,n=null)=>{let r=x(Ks,e,s(e.message)||oe(e.message)?{default:s(e.message)?e.message:()=>e.message}:null);return r.appContext=n,ce(r,t),Js(e).appendChild(t.firstElementChild),r.component},Xs=()=>document.createElement(`div`),Zs=(e,t)=>{let n=Xs();e.onVanish=()=>{ce(null,n),qs.delete(i)},e.onAction=t=>{let n=qs.get(i),a;a=e.showInput?{value:i.inputValue,action:t}:t,e.callback?e.callback(a,r.proxy):t===`cancel`||t===`close`?e.distinguishCancelAndClose&&t!==`cancel`?n.reject(`close`):n.reject(`cancel`):n.resolve(a)};let r=Ys(e,n,t),i=r.proxy;for(let t in e)_(e,t)&&!_(i.$props,t)&&(t===`closeIcon`&&ae(e[t])?i[t]=ue(e[t]):i[t]=e[t]);return i.visible=!0,i};function Qs(e,t=null){if(!nt)return Promise.reject();let n;return j(e)||oe(e)?e={message:e}:n=e.callback,new Promise((r,i)=>{let a=Zs(e,t??Qs._context);qs.set(a,{options:e,callback:n,resolve:r,reject:i})})}var $s=[`alert`,`confirm`,`prompt`],ec={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};$s.forEach(e=>{Qs[e]=tc(e)});function tc(e){return(t,n,r,i)=>{let a=``;return ae(n)?(r=n,a=``):a=Me(n)?``:n,Qs(Object.assign({title:a,message:t,type:``,...ec[e]},r,{boxType:e}),i)}}Qs.close=()=>{qs.forEach((e,t)=>{t.doClose()}),qs.clear()},Qs._context=null;var nc=Qs;nc.install=e=>{nc._context=e._context,e.config.globalProperties.$msgbox=nc,e.config.globalProperties.$messageBox=nc,e.config.globalProperties.$alert=nc.alert,e.config.globalProperties.$confirm=nc.confirm,e.config.globalProperties.$prompt=nc.prompt};var rc=nc,ic=e=>e===``,ac=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),oc=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),sc=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),cc=e=>{let t=sc(e);return t.charAt(0).toUpperCase()+t.slice(1)},lc={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},uc=Symbol(`lucide-icons`);function dc(){return re(uc,{})}var fc=({name:e,iconNode:t,absoluteStrokeWidth:n,"absolute-stroke-width":r,strokeWidth:i,"stroke-width":a,size:o,color:s,...c},{slots:l})=>{let{size:u,color:d,strokeWidth:f=2,absoluteStrokeWidth:p=!1,class:m=``}=dc(),g=I(()=>{let e=ic(n)||ic(r)||n===!0||r===!0||p===!0,t=i||a||f||lc[`stroke-width`];return e?Number(t)*24/Number(o??u??lc.width):t});return h(`svg`,{...lc,...c,width:o??u??lc.width,height:o??u??lc.height,stroke:s??d??lc.stroke,"stroke-width":g.value,class:ac(`lucide`,m,...e?[`lucide-${oc(cc(e))}-icon`,`lucide-${oc(e)}`]:[`lucide-icon`])},[...t.map(e=>h(...e)),...l.default?[l.default()]:[]])},pc=(e,t)=>(n,{slots:r,attrs:i})=>h(fc,{...i,...n,iconNode:t,name:e},r.default?{default:r.default}:void 0),mc=pc(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]);function hc(e){return e===`primary`?`brand`:[`neutral`,`brand`,`info`,`success`,`warning`,`danger`].includes(e)?e:`neutral`}function gc(e,t){return B({name:e,inheritAttrs:!1,props:{tone:{type:String,default:`neutral`},density:{type:String,default:`default`}},setup(e,{attrs:n,slots:r}){return()=>h(`span`,{...n,class:[`adc-badge`,t,`adc-badge--${hc(e.tone)}`,{"adc-badge--compact":e.density===`compact`},n.class]},r.default?.())}})}var _c=gc(`StatusBadge`,`adc-status-badge`),vc=gc(`MetaTag`,`adc-meta-tag`),yc={"zh-CN":`cny`,"zh-TW":`cny`,en:`usd`,de:`eur`,pt:`eur`,es:`eur`,fr:`eur`,it:`eur`,ko:`krw`,ja:`jpy`,ru:`rub`,pl:`pln`,fi:`eur`,sv:`sek`,el:`eur`,uk:`uah`,ar:`sar`,sr:`rsd`},bc={cny:`¥`,usd:`$`,eur:`€`,jpy:`¥`,krw:`₩`,gbp:`£`,rub:`₽`,pln:`zł`,sek:`kr`,uah:`₴`,sar:`﷼`,rsd:`din`},xc=()=>Lr,Sc=()=>!fr()&&!ir()&&typeof window<`u`&&window.location.origin||Qn,Cc=()=>cr,wc=t({default:()=>Tc}),Tc=[`chat.application`,`chat.applications`,`chat.service`,`chat.credential`,`chat.conversations`,`chat.model`,`chat.memoryEnabled`,`chat.workingDirectory`],Ec=t({default:()=>Dc}),Dc=[`codingBridge.currentNodeId`,`codingBridge.historyRef`,`codingBridge.lastComposer`,`codingBridge.lastSeq`],Oc=t({default:()=>kc}),kc=[`digitalhuman.credential`,`digitalhuman.application`,`digitalhuman.applications`],Ac=t({default:()=>jc}),jc=[`fish.credential`,`fish.application`,`fish.applications`],Mc=t({default:()=>Nc}),Nc=[`flux.credential`,`flux.application`,`flux.applications`],Pc=t({default:()=>Fc}),Fc=[`grokvideo.credential`,`grokvideo.application`,`grokvideo.applications`],Ic=t({default:()=>Lc}),Lc=[`hailuo.credential`,`hailuo.application`,`hailuo.applications`],Rc=t({default:()=>zc}),zc=[`kling.credential`,`kling.application`,`kling.applications`,`kling.taskType`],Bc=t({default:()=>Vc}),Vc=[`luma.credential`,`luma.application`,`luma.applications`],Hc=t({default:()=>Uc}),Uc=[`maestro.credential`,`maestro.application`,`maestro.applications`],Wc=t({default:()=>Gc}),Gc=[`midjourney.credential`,`midjourney.mode`,`midjourney.application`,`midjourney.applications`],Kc=t({default:()=>qc}),qc=[`minimax.credential`,`minimax.application`,`minimax.applications`],Jc=t({default:()=>Yc}),Yc=[`nanobanana.credential`,`nanobanana.application`,`nanobanana.applications`],Xc=t({default:()=>Zc}),Zc=[`omni.credential`,`omni.application`,`omni.applications`],Qc=t({default:()=>$c}),$c=[`openaiimage.credential`,`openaiimage.application`,`openaiimage.applications`],el=t({default:()=>tl}),tl=[`pika.credential`,`pika.application`,`pika.applications`],nl=t({default:()=>rl}),rl=[`pixverse.credential`,`pixverse.application`,`pixverse.applications`],il=t({default:()=>al}),al=[`producer.credential`,`producer.application`,`producer.applications`],ol=t({default:()=>sl}),sl=[`qrart.credential`,`qrart.application`,`qrart.applications`],cl=t({default:()=>ll}),ll=[`qwenimage.credential`,`qwenimage.application`,`qwenimage.applications`],ul=t({default:()=>dl}),dl=[`seedance.credential`,`seedance.application`,`seedance.applications`],fl=t({default:()=>pl}),pl=[`seedream.credential`,`seedream.application`,`seedream.applications`],ml=t({default:()=>hl}),hl=[`serp.credential`,`serp.application`,`serp.applications`],gl=t({default:()=>_l}),_l=[`sora.credential`,`sora.application`,`sora.applications`],vl=t({default:()=>yl}),yl=[`suno.credential`,`suno.application`,`suno.applications`,`suno.favoritePersonaIds`],bl=t({default:()=>xl}),xl=[`veo.credential`,`veo.application`,`veo.applications`],Sl=t({default:()=>Cl}),Cl=[`wan.credential`,`wan.application`,`wan.applications`],wl=t({default:()=>Tl}),Tl=[`webextrator.credential`,`webextrator.application`,`webextrator.applications`,`webextrator.config`],El=function(e){return function(e){return!!e&&typeof e==`object`}(e)&&!function(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||function(e){return e.$$typeof===Dl}(e)}(e)},Dl=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function Ol(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ml(Array.isArray(e)?[]:{},e,t):e}function kl(e,t,n){return e.concat(t).map(function(e){return Ol(e,n)})}function Al(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}(e))}function jl(e,t){try{return t in e}catch{return!1}}function Ml(e,t,n){(n||={}).arrayMerge=n.arrayMerge||kl,n.isMergeableObject=n.isMergeableObject||El,n.cloneUnlessOtherwiseSpecified=Ol;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Al(e).forEach(function(t){r[t]=Ol(e[t],n)}),Al(t).forEach(function(i){(function(e,t){return jl(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(r[i]=jl(e,i)&&n.isMergeableObject(t[i])?function(e,t){if(!t.customMerge)return Ml;var n=t.customMerge(e);return typeof n==`function`?n:Ml}(i,n)(e[i],t[i],n):Ol(t[i],n))}),r}(e,t,n):Ol(t,n)}Ml.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return Ml(e,n,t)},{})};var Nl=Ml;function Pl(e){var t=(e||={}).storage||window&&window.localStorage,n=e.key||`vuex`;function r(e,t){var n=t.getItem(e);try{return typeof n==`string`?JSON.parse(n):typeof n==`object`?n:void 0}catch{}}function i(){return!0}function a(e,t,n){return n.setItem(e,JSON.stringify(t))}function o(e,t){return Array.isArray(t)?t.reduce(function(t,n){return function(e,t,n,r){return!/^(__proto__|constructor|prototype)$/.test(t)&&((t=t.split?t.split(`.`):t.slice(0)).slice(0,-1).reduce(function(e,t){return e[t]=e[t]||{}},e)[t.pop()]=n),e}(t,n,(r=e,(r=((i=n).split?i.split(`.`):i).reduce(function(e,t){return e&&e[t]},r))===void 0?void 0:r));var r,i},{}):e}function s(e){return function(t){return e.subscribe(t)}}(e.assertStorage||function(){t.setItem(`@@`,1),t.removeItem(`@@`)})(t);var c,l=function(){return(e.getState||r)(n,t)};return e.fetchBeforeUse&&(c=l()),function(r){e.fetchBeforeUse||(c=l()),typeof c==`object`&&c&&(r.replaceState(e.overwrite?c:Nl(r.state,c,{arrayMerge:e.arrayMerger||function(e,t){return t},clone:!1})),(e.rehydrated||function(){})(r)),(e.subscriber||s)(r)(function(r,s){(e.filter||i)(r)&&(e.setState||a)(n,(e.reducer||o)(s,e.paths),t)})}}var Fl=()=>({model:Hr(Yn),modelGroup:Yn,applications:void 0,application:void 0,conversations:void 0,service:void 0,credential:void 0,memoryEnabled:!0,workingDirectory:``,pendingDraft:``,status:{getService:V.None,getApplications:V.None,getConversations:V.None}}),Il=()=>({service:void 0,application:void 0,applications:void 0,tasks:{items:void 0,total:void 0},credential:void 0,config:{},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Ll=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Rl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),zl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Bl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,motionConfig:void 0,talkingPhotoConfig:void 0,taskType:`videos`,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Vl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Hl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Ul=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Wl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Gl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Kl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),ql=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Jl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Yl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,audio:{volume:100},credential:void 0,config:void 0,personas:void 0,customModels:void 0,favoritePersonaIds:[],status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Xl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,audio:{volume:100},credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Zl=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:Dr,resolution:`1K`},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),Ql=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:bn,size:kr,quality:En},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),$l=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{action:`generate`,model:pr,size:`2K`},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),eu=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:zr,size:zn,n:1,prompt_extend:!0,enable_thinking:!0,watermark:!1},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),tu=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:Mr,duration:5,resolution:Ar,ratio:Sr,camerafixed:!1,generate_audio:!1,return_last_frame:!1,execution_expires_after:rr},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),nu=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:Cn,aspect_ratio:On,resolution:Fn,duration:6},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),ru=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:{model:fn,aspect_ratio:kn,resolution:hr},status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),iu=()=>({service:void 0,application:void 0,applications:void 0,credential:void 0,config:void 0,results:void 0,status:{getService:V.None,getApplications:V.None,search:V.None}}),au=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),ou=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,voices:void 0,status:{getService:V.None,getApplications:V.None,getTasks:V.None}}),su=()=>({service:void 0,application:void 0,applications:void 0,credential:void 0,config:{mode:`extract`,wait_until:`networkidle`,expected_type:`general`,enable_llm:!1,timeout:30,block_resources:[`image`,`font`,`media`]},response:void 0,status:{getService:V.None,getApplications:V.None,run:V.None}}),cu=()=>({nodes:[],currentNodeId:void 0,currentSessionId:void 0,sessions:{},events:{},lastSeq:{},seqChecked:{},history:{},capabilities:{},historyRef:void 0,permissions:[],connection:`disconnected`,directory:void 0,directoryLoading:!1,lastComposer:{},application:void 0,applications:void 0,service:void 0,status:{getNodes:V.None,claimPair:V.None,deleteNode:V.None,renameNode:V.None,getApplications:V.None,getHistory:V.None,getHistoryDetail:V.None}}),lu=()=>({applications:[],accounts:[],fingerprint:void 0,currency:`usd`,exchange:void 0,user:{},auth:{flow:`redirect`,visible:!1,action:`login`},config:void 0,token:{access:void 0,refresh:void 0,expiration:void 0},status:{getSite:void 0,getService:void 0,getApplications:void 0,getTasks:void 0},setting:{},site:{},chat:Fl(),midjourney:Il(),qrart:Ll(),luma:Rl(),pika:zl(),kling:Bl(),sora:Hl(),maestro:Ul(),digitalhuman:Wl(),veo:Vl(),pixverse:Gl(),flux:Kl(),hailuo:ql(),minimax:Jl(),suno:Yl(),producer:Xl(),nanobanana:Zl(),openaiimage:Ql(),seedream:$l(),qwenimage:eu(),seedance:tu(),grokvideo:nu(),omni:ru(),serp:iu(),wan:au(),fish:ou(),webextrator:su(),codingBridge:cu()}),uu={rememberCurrentAccount:e=>{e.accounts=Qr(e.accounts||[],e.user,e.token)},forgetCurrentAccount:e=>{e.accounts=(e.accounts||[]).filter(t=>t.user.id!==e.user?.id&&t.token.access!==e.token.access)},setUser:(e,t)=>{e.user={...e.user,...t}},setSite:(e,t)=>{e.site={...e.site,...t}},setConfig:(e,t)=>{e.config=t},setAuth:(e,t)=>{e.auth={...e.auth,...t}},setCurrency:(e,t)=>{e.currency=t},setExchange:(e,t)=>{e.exchange={...e.exchange,...t}},resetUser:e=>{e.user={}},setFingerprint:(e,t)=>{e.fingerprint=t},setToken:(e,t)=>{e.token={...e.token,...t}},resetToken:e=>{e.token={}},resetSite:e=>{e.site={}},setApplications:(e,t)=>{console.debug(`set applications for global`,t),e.applications=t},setSetting:(e,t)=>{e.setting={...e.setting,...t}}};function du(e){return async function(){return(await(await e.load()).get()).visitorId}}var fu=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),pu=e=>encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent),mu=decodeURIComponent,hu=e=>(e[0]===`"`&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent));function gu(e){return e=Object.assign({},e),typeof e.expires==`number`&&(e.expires=new Date(Date.now()+e.expires*864e5)),e.expires!=null&&(e.expires=e.expires.toUTCString()),Object.entries(e).filter(([e,t])=>t!=null&&t!==!1).map(([e,t])=>t===!0?`; ${e}`:`; ${e}=${t.split(`;`)[0]}`).join(``)}function _u(e,t,n){let r=/(?:^|; )([^=]*)=([^;]*)/g,i={},a;for(;(a=r.exec(document.cookie))!=null;)try{let r=n(a[1]);if(i[r]=t(a[2],r),e===r)break}catch{}return e==null?i:i[e]}var vu=Object.freeze({decodeName:mu,decodeValue:hu,encodeName:fu,encodeValue:pu}),yu=Object.freeze({path:`/`});function bu(e,t,n=yu,{encodeValue:r=pu,encodeName:i=fu}={}){return document.cookie=`${i(e)}=${r(t,e)}${gu(n)}`}function xu(e,{decodeValue:t=hu,decodeName:n=mu}={}){return _u(e,t,n)}function Su({decodeValue:e=hu,decodeName:t=mu}={}){return _u(void 0,e,t)}function Cu(e,t=yu){bu(e,``,Object.assign({},t,{expires:-1}))}function wu(e,t){let n={set:function(e,t,n){return bu(e,t,Object.assign({},this.attributes,n),{encodeValue:this.converter.write})},get:function(e){if(arguments.length===0)return Su(this.converter.read);if(e!=null)return xu(e,this.converter.read)},remove:function(e,t){Cu(e,Object.assign({},this.attributes,t))},withAttributes:function(e){return wu(this.converter,Object.assign({},this.attributes,e))},withConverter:function(e){return wu(Object.assign({},this.converter,e),this.attributes)}},r={attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}};return Object.create(n,r)}wu({read:vu.decodeValue,write:vu.encodeValue},yu);var Tu=()=>q?.state?.site?.distribution?.force_inviter_id?q?.state?.site?.distribution?.force_inviter_id:new URLSearchParams(window.location.search).get(`inviter_id`)||xu(`INVITER_ID`)||q?.state?.site?.distribution?.default_inviter_id,Eu=({redirect:e=`/`,site:t=window.location.origin,addAccount:n=!1})=>{let r=Sc(),i=Cc(),a=Tu(),o=`${r}/auth/callback?${new URLSearchParams({redirect:e}).toString()}`,s=`${i}/auth/login/`,c={site:t,...a?{inviter_id:a}:{},...o?{redirect:o}:{}},l=`${s}?${new URLSearchParams(c).toString()}`;window.location.href=n?`${i}/auth/logout?${new URLSearchParams({redirect:l}).toString()}`:l},Du=()=>q.getters.authenticated?!0:(q.state.auth?.visible||q.dispatch(`login`),!1),Ou={getAccountToken:()=>void 0,isAuthenticated:()=>!1,triggerLogin:()=>void 0},ku=e=>{Ou=e},Au=class extends Error{code=`auth_required`;constructor(){super(`Authentication required`),this.name=`AuthRequiredError`}},ju=class extends Error{code=`credential_not_ready`;constructor(){super(`Service credential is not ready`),this.name=`CredentialNotReadyError`}},Mu=e=>e instanceof Au||e instanceof ju,Nu=()=>{let e=Ou.getAccountToken();if(typeof e==`string`&&e.trim())return e;throw Ou.triggerLogin(),new Au},Pu=e=>{if(typeof e==`string`&&e.trim())return e;throw Ou.isAuthenticated()?new ju:(Ou.triggerLogin(),new Au)},Fu=e=>({Authorization:`Bearer ${Pu(e)}`}),Iu=e=>{let t=e.headers?.get?.(`authorization`)??e.headers?.get?.(`Authorization`);if(typeof t!=`string`)return;let n=/^Bearer\s+(.+)$/i.exec(t.trim())?.[1]?.trim();if(!(!n||/^(undefined|null)$/i.test(n)))return n},Lu=e=>{try{return new URL(e.url||``,e.baseURL||window.location.origin).origin}catch{return}},Ru=(e=U)=>{let t=e.interceptors.request.use(e=>(Lu(e)===new URL(H).origin&&Pu(Iu(e)),e));return()=>e.interceptors.request.eject(t)};function zu(e){let t=e.service??e.pay_way??e.provider??e.action,n=e.order_id??e.task_id??e.id,r=e.trace_id??e.error;return{ext1:t==null?void 0:String(t),ext2:n==null?void 0:String(n),ext3:r==null?void 0:String(r)}}function Bu(t){let n=t.mapTrackProps??zu,r=null,i=!1;function a(e,t){if(r)try{e&&r.setConfig({uin:e}),t&&r.setConfig({aid:t})}catch(e){console.warn(`[telemetry] setUser failed:`,e)}}async function o(n={}){if(i&&r){a(n.uin,n.fingerprint);return}try{let a=await W(()=>import(`./aegis.min-C7H4WXnC.js`).then(t=>e(t.default,1)),__vite__mapDeps([0,1]));r=new(a.default??a)({id:t.projectId,uin:n.uin,aid:n.fingerprint,reportApiSpeed:!0,reportAssetSpeed:!0,spa:!0,hostUrl:t.hostUrl,version:n.release}),i=!0}catch(e){console.warn(`[telemetry] failed to init Aegis:`,e)}}function s(e,t={}){if(r)try{let i=n(t);r.info({msg:e,ext1:i.ext1,ext2:i.ext2,ext3:i.ext3})}catch(e){console.warn(`[telemetry] track failed:`,e)}}function c(e,t={}){if(r)try{let n=e instanceof Error?e:Error(String(e));r.error({msg:n.message,stack:n.stack,ext1:t.source==null?void 0:String(t.source),ext2:t.route==null?void 0:String(t.route),ext3:t.trace_id==null?void 0:String(t.trace_id)})}catch(e){console.warn(`[telemetry] captureError failed:`,e)}}function l(e){if(r)try{r.info({msg:`api_failure`,ext1:`${e.method??`GET`} ${e.url}`,ext2:e.status==null?void 0:String(e.status),ext3:e.trace_id})}catch(e){console.warn(`[telemetry] trackApiFailure failed:`,e)}}function u(){return i}return{initTelemetry:o,setUser:a,track:s,captureError:c,trackApiFailure:l,isInitialized:u}}var Vu=Bu({projectId:`LlKeKIj1mDzkYrY6na`,hostUrl:`https://rumt-zh.com`}),Hu=Vu.initTelemetry,Uu=Vu.setUser,Wu=Vu.track,Gu=Vu.captureError,Ku=Vu.trackApiFailure;Vu.isInitialized;var qu=new Map,Ju=e=>{if(!(typeof e!=`string`&&typeof e!=`number`))return String(e).trim()||void 0};function Yu(e,t,n,r){Wu(`x402_order_payment_stage`,{id:e,provider:t,...n?{network:n}:{},...r?{error:r}:{}})}function Xu(e,t){Wu(`x402_wallet_connected`,{provider:e,id:t})}function Zu(e,t){let n=Ju(e);if(!n)return;let r=qu.get(n);r&&(qu.delete(n),t&&Wu(`generation_terminal_success`,{service:r,task_id:n}))}function Qu(e,t){let n=t.trim().toLowerCase().replace(/\.$/,``),r=e?.origin?.trim().toLowerCase().replace(/\.$/,``);return!!(e?.id&&r&&n===r&&n!==yr&&n.endsWith(`.${yr}`))}function $u(e,t){Qu(e,t)&&Wu(`subsite_loaded`,{site_id:e.id,site_origin:e.origin})}function ed(e,t){return Wu(`generation_submit`,{service:e}),t.then(t=>{let n=Ju(t?.data?.id??t?.data?.task_id??t?.id);return n&&qu.set(n,e),Wu(`generation_success`,{service:e,task_id:n}),t},t=>{if(Mu(t))throw t;let n=t?.name===`X402PaymentError`?t?.paymentError:void 0;throw Wu(n?`x402_payment_failed`:`generation_failed`,{service:e,trace_id:t?.response?.data?.trace_id??t?.response?.headers?.[`x-request-id`],...n?{error:n.code,stage:n.stage,network:n.params.network}:{error:t?.response?.data?.error?.message??String(t)}}),t})}var td={"Content-type":`application/json`,Accept:`application/json`};function nd(){return typeof crypto<`u`&&typeof crypto.randomUUID==`function`?crypto.randomUUID():`${Date.now().toString(16)}-${Math.floor(Math.random()*1e9).toString(16)}`}function rd(e,t,n){let r=e;typeof r.set==`function`?r.set(t,n):r[t]=n}function id(e,t){let n=e;return typeof n.has==`function`?n.has(t):n[t]!=null}function ad(e){let t=e.authHeaderName??`Authorization`,n=e.generateRequestId??nd,r=U.create({baseURL:e.baseURL,timeout:e.timeout,headers:{...td,...e.defaultHeaders??{}},...e.paramsSerializer?{paramsSerializer:e.paramsSerializer}:{}});return r.interceptors.request.use(r=>{r.headers||={};let i=r.headers,a=e.getToken(),o=e.getUserId(),s=e.getFingerprint(),c=e.getLocale();return rd(i,`x-request-id`,n()),a&&rd(i,t,`Bearer ${a}`),c&&!id(i,`accept-language`)&&!id(i,`Accept-Language`)&&rd(i,`accept-language`,String(c)),s&&rd(i,`x-fingerprint`,String(s)),o&&rd(i,`x-user-id`,String(o)),r}),r.interceptors.response.use(e=>e,async t=>{t?.response?.status===401&&e.onUnauthorized&&await e.onUnauthorized(t);let n=t?.response?.data?.trace_id||t?.response?.headers?.[`x-request-id`];return n&&console.error(`Request failed [trace_id=${n}]`,t?.response?.status,t?.response?.data),t?.response&&e.onApiFailure&&e.onApiFailure({url:t.config?.url??``,method:t.config?.method,status:t.response.status,trace_id:n}),Promise.reject(t)}),r}var od=n(((e,t)=>{t.exports=TypeError})),sd=n(((e,t)=>{var n=typeof Map==`function`&&Map.prototype,r=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,`size`):null,i=n&&r&&typeof r.get==`function`?r.get:null,a=n&&Map.prototype.forEach,o=typeof Set==`function`&&Set.prototype,s=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,`size`):null,c=o&&s&&typeof s.get==`function`?s.get:null,l=o&&Set.prototype.forEach,u=typeof WeakMap==`function`&&WeakMap.prototype?WeakMap.prototype.has:null,d=typeof WeakSet==`function`&&WeakSet.prototype?WeakSet.prototype.has:null,f=typeof WeakRef==`function`&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,h=Function.prototype.toString,g=String.prototype.match,_=String.prototype.slice,v=String.prototype.replace,y=String.prototype.toUpperCase,b=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,C=Array.prototype.join,w=Array.prototype.slice,T=Math.floor,E=typeof BigInt==`function`?BigInt.prototype.valueOf:null,D=Object.getOwnPropertySymbols,ee=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?Symbol.prototype.toString:null,O=typeof Symbol==`function`&&typeof Symbol.iterator==`object`,te=typeof Symbol==`function`&&Symbol.toStringTag?Symbol.toStringTag:null,k=Object.prototype.propertyIsEnumerable,A=(typeof Reflect==`function`?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function ne(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e==`number`){var r=e<0?-T(-e):T(e);if(r!==e){var i=String(r),a=_.call(t,i.length+1);return v.call(i,n,`$&_`)+`.`+v.call(v.call(a,/([0-9]{3})/g,`$&_`),/_$/,``)}}return v.call(t,n,`$&_`)}var re=qr(),ie=re.custom,ae=F(ie)?ie:null,oe={__proto__:null,double:`"`,single:`'`},j={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t.exports=function e(t,n,r,o){var s=n||{};if(he(s,`quoteStyle`)&&!he(oe,s.quoteStyle))throw TypeError(`option "quoteStyle" must be "single" or "double"`);if(he(s,`maxStringLength`)&&(typeof s.maxStringLength==`number`?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=he(s,`customInspect`)?s.customInspect:!0;if(typeof u!=`boolean`&&u!==`symbol`)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(he(s,`indent`)&&s.indent!==null&&s.indent!==` `&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(he(s,`numericSeparator`)&&typeof s.numericSeparator!=`boolean`)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=s.numericSeparator;if(t===void 0)return`undefined`;if(t===null)return`null`;if(typeof t==`boolean`)return t?`true`:`false`;if(typeof t==`string`)return Ce(t,s);if(typeof t==`number`){if(t===0)return 1/0/t>0?`0`:`-0`;var f=String(t);return d?ne(t,f):f}if(typeof t==`bigint`){var m=String(t)+`n`;return d?ne(t,m):m}var h=s.depth===void 0?5:s.depth;if(r===void 0&&(r=0),r>=h&&h>0&&typeof t==`object`)return M(t)?`[Array]`:`[Object]`;var g=De(s,r);if(o===void 0)o=[];else if(_e(o,t)>=0)return`[Circular]`;function y(t,n,i){if(n&&(o=w.call(o),o.push(n)),i){var a={depth:s.depth};return he(s,`quoteStyle`)&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if(typeof t==`function`&&!N(t)){var x=ge(t),T=ke(t,y);return`[Function`+(x?`: `+x:` (anonymous)`)+`]`+(T.length>0?` { `+C.call(T,`, `)+` }`:``)}if(F(t)){var D=O?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,`$1`):ee.call(t);return typeof t==`object`&&!O?we(D):D}if(Se(t)){for(var ie=`<`+b.call(String(t.nodeName)),j=t.attributes||[],le=0;le<j.length;le++)ie+=` `+j[le].name+`=`+se(ce(j[le].value),`double`,s);return ie+=`>`,t.childNodes&&t.childNodes.length&&(ie+=`...`),ie+=`</`+b.call(String(t.nodeName))+`>`,ie}if(M(t)){if(t.length===0)return`[]`;var me=ke(t,y);return g&&!B(me)?`[`+Oe(me,g)+`]`:`[ `+C.call(me,`, `)+` ]`}if(de(t)){var z=ke(t,y);return!(`cause`in Error.prototype)&&`cause`in t&&!k.call(t,`cause`)?`{ [`+String(t)+`] `+C.call(S.call(`[cause]: `+y(t.cause),z),`, `)+` }`:z.length===0?`[`+String(t)+`]`:`{ [`+String(t)+`] `+C.call(z,`, `)+` }`}if(typeof t==`object`&&u){if(ae&&typeof t[ae]==`function`&&re)return re(t,{depth:h-r});if(u!==`symbol`&&typeof t.inspect==`function`)return t.inspect()}if(ve(t)){var Ae=[];return a&&a.call(t,function(e,n){Ae.push(y(n,t,!0)+` => `+y(e,t))}),Ee(`Map`,i.call(t),Ae,g)}if(xe(t)){var je=[];return l&&l.call(t,function(e){je.push(y(e,t))}),Ee(`Set`,c.call(t),je,g)}if(ye(t))return Te(`WeakMap`);if(R(t))return Te(`WeakSet`);if(be(t))return Te(`WeakRef`);if(pe(t))return we(y(Number(t)));if(I(t))return we(y(E.call(t)));if(P(t))return we(p.call(t));if(fe(t))return we(y(String(t)));if(typeof window<`u`&&t===window)return`{ [object Window] }`;if(typeof globalThis<`u`&&t===globalThis||typeof global<`u`&&t===global)return`{ [object globalThis] }`;if(!ue(t)&&!N(t)){var Me=ke(t,y),Ne=A?A(t)===Object.prototype:t instanceof Object||t.constructor===Object,Pe=t instanceof Object?``:`null prototype`,Fe=!Ne&&te&&Object(t)===t&&te in t?_.call(L(t),8,-1):Pe?`Object`:``,Ie=(Ne||typeof t.constructor!=`function`?``:t.constructor.name?t.constructor.name+` `:``)+(Fe||Pe?`[`+C.call(S.call([],Fe||[],Pe||[]),`: `)+`] `:``);return Me.length===0?Ie+`{}`:g?Ie+`{`+Oe(Me,g)+`}`:Ie+`{ `+C.call(Me,`, `)+` }`}return String(t)};function se(e,t,n){var r=oe[n.quoteStyle||t];return r+e+r}function ce(e){return v.call(String(e),/"/g,`"`)}function le(e){return!te||!(typeof e==`object`&&(te in e||e[te]!==void 0))}function M(e){return L(e)===`[object Array]`&&le(e)}function ue(e){return L(e)===`[object Date]`&&le(e)}function N(e){return L(e)===`[object RegExp]`&&le(e)}function de(e){return L(e)===`[object Error]`&&le(e)}function fe(e){return L(e)===`[object String]`&&le(e)}function pe(e){return L(e)===`[object Number]`&&le(e)}function P(e){return L(e)===`[object Boolean]`&&le(e)}function F(e){if(O)return e&&typeof e==`object`&&e instanceof Symbol;if(typeof e==`symbol`)return!0;if(!e||typeof e!=`object`||!ee)return!1;try{return ee.call(e),!0}catch{}return!1}function I(e){if(!e||typeof e!=`object`||!E)return!1;try{return E.call(e),!0}catch{}return!1}var me=Object.prototype.hasOwnProperty||function(e){return e in this};function he(e,t){return me.call(e,t)}function L(e){return m.call(e)}function ge(e){if(e.name)return e.name;var t=g.call(h.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function _e(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function ve(e){if(!i||!e||typeof e!=`object`)return!1;try{i.call(e);try{c.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function ye(e){if(!u||!e||typeof e!=`object`)return!1;try{u.call(e,u);try{d.call(e,d)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function be(e){if(!f||!e||typeof e!=`object`)return!1;try{return f.call(e),!0}catch{}return!1}function xe(e){if(!c||!e||typeof e!=`object`)return!1;try{c.call(e);try{i.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function R(e){if(!d||!e||typeof e!=`object`)return!1;try{d.call(e,d);try{u.call(e,u)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function Se(e){return!e||typeof e!=`object`?!1:typeof HTMLElement<`u`&&e instanceof HTMLElement?!0:typeof e.nodeName==`string`&&typeof e.getAttribute==`function`}function Ce(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r=`... `+n+` more character`+(n>1?`s`:``);return Ce(_.call(e,0,t.maxStringLength),t)+r}var i=j[t.quoteStyle||`single`];return i.lastIndex=0,se(v.call(v.call(e,i,`\\$1`),/[\x00-\x1f]/g,z),`single`,t)}function z(e){var t=e.charCodeAt(0),n={8:`b`,9:`t`,10:`n`,12:`f`,13:`r`}[t];return n?`\\`+n:`\\x`+(t<16?`0`:``)+y.call(t.toString(16))}function we(e){return`Object(`+e+`)`}function Te(e){return e+` { ? }`}function Ee(e,t,n,r){var i=r?Oe(n,r):C.call(n,`, `);return e+` (`+t+`) {`+i+`}`}function B(e){for(var t=0;t<e.length;t++)if(_e(e[t],`
|
|
3
3
|
`)>=0)return!1;return!0}function De(e,t){var n;if(e.indent===` `)n=` `;else if(typeof e.indent==`number`&&e.indent>0)n=C.call(Array(e.indent+1),` `);else return null;return{base:n,prev:C.call(Array(t+1),n)}}function Oe(e,t){if(e.length===0)return``;var n=`
|
|
4
4
|
`+t.prev+t.base;return n+C.call(e,`,`+n)+`
|
|
5
5
|
`+t.prev}function ke(e,t){var n=M(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=he(e,i)?t(e[i],e):``}var a=typeof D==`function`?D(e):[],o;if(O){o={};for(var s=0;s<a.length;s++)o[`$`+a[s]]=a[s]}for(var c in e)he(e,c)&&(n&&String(Number(c))===c&&c<e.length||O&&o[`$`+c]instanceof Symbol||(x.call(/[^\w$]/,c)?r.push(t(c,e)+`: `+t(e[c],e)):r.push(c+`: `+t(e[c],e))));if(typeof D==`function`)for(var l=0;l<a.length;l++)k.call(e,a[l])&&r.push(`[`+t(a[l])+`]: `+t(e[a[l]],e));return r}})),cd=n(((e,t)=>{var n=sd(),r=od(),i=function(e,t,n){for(var r=e,i;(i=r.next)!=null;r=i)if(i.key===t)return r.next=i.next,n||(i.next=e.next,e.next=i),i},a=function(e,t){if(e){var n=i(e,t);return n&&n.value}},o=function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},s=function(e,t){return e?!!i(e,t):!1},c=function(e,t){if(e)return i(e,t,!0)};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r(`Side channel does not contain `+n(e))},delete:function(t){var n=c(e,t);return n&&e&&!e.next&&(e=void 0),!!n},get:function(t){return a(e,t)},has:function(t){return s(e,t)},set:function(t,n){e||={next:void 0},o(e,t,n)}};return t}})),ld=n(((e,t)=>{t.exports=Object})),ud=n(((e,t)=>{t.exports=Error})),dd=n(((e,t)=>{t.exports=EvalError})),fd=n(((e,t)=>{t.exports=RangeError})),pd=n(((e,t)=>{t.exports=ReferenceError})),md=n(((e,t)=>{t.exports=SyntaxError})),hd=n(((e,t)=>{t.exports=URIError})),gd=n(((e,t)=>{t.exports=Math.abs})),_d=n(((e,t)=>{t.exports=Math.floor})),vd=n(((e,t)=>{t.exports=Math.max})),yd=n(((e,t)=>{t.exports=Math.min})),bd=n(((e,t)=>{t.exports=Math.pow})),xd=n(((e,t)=>{t.exports=Math.round})),Sd=n(((e,t)=>{t.exports=Number.isNaN||function(e){return e!==e}})),Cd=n(((e,t)=>{var n=Sd();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}})),wd=n(((e,t)=>{t.exports=Object.getOwnPropertyDescriptor})),Td=n(((e,t)=>{var n=wd();if(n)try{n([],`length`)}catch{n=null}t.exports=n})),Ed=n(((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),Dd=n(((e,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}})),Od=n(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=Dd();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),kd=n(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null})),Ad=n(((e,t)=>{t.exports=ld().getPrototypeOf||null})),jd=n(((e,t)=>{var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}})),Md=n(((e,t)=>{var n=jd();t.exports=Function.prototype.bind||n})),Nd=n(((e,t)=>{t.exports=Function.prototype.call})),Pd=n(((e,t)=>{t.exports=Function.prototype.apply})),Fd=n(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply})),Id=n(((e,t)=>{var n=Md(),r=Pd(),i=Nd();t.exports=Fd()||n.call(i,r)})),Ld=n(((e,t)=>{var n=Md(),r=od(),i=Nd(),a=Id();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}})),Rd=n(((e,t)=>{var n=Ld(),r=Td(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`?function(e){return s(e==null?e:o(e))}:!1})),zd=n(((e,t)=>{var n=kd(),r=Ad(),i=Rd();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null})),Bd=n(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=Md().call(n,r)})),Vd=n(((e,t)=>{var n,r=ld(),i=ud(),a=dd(),o=fd(),s=pd(),c=md(),l=od(),u=hd(),d=gd(),f=_d(),p=vd(),m=yd(),h=bd(),g=xd(),_=Cd(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},b=Td(),x=Ed(),S=function(){throw new l},C=b?function(){try{return arguments.callee,S}catch{try{return b(arguments,`callee`).get}catch{return S}}}():S,w=Od()(),T=zd(),E=Ad(),D=kd(),ee=Pd(),O=Nd(),te={},k=typeof Uint8Array>`u`||!T?n:T(Uint8Array),A={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":w&&T?T([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":te,"%AsyncGenerator%":te,"%AsyncGeneratorFunction%":te,"%AsyncIteratorPrototype%":te,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":te,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&T?T(T([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!w||!T?n:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!w||!T?n:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&T?T(``[Symbol.iterator]()):n,"%Symbol%":w?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":k,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":ee,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":E,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":D};if(T)try{null.error}catch(e){A[`%Error.prototype%`]=T(T(e))}var ne=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&T&&(n=T(i.prototype))}return A[t]=n,n},re={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},ie=Md(),ae=Bd(),oe=ie.call(O,Array.prototype.concat),j=ie.call(ee,Array.prototype.splice),se=ie.call(O,String.prototype.replace),ce=ie.call(O,String.prototype.slice),le=ie.call(O,RegExp.prototype.exec),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ue=/\\(\\)?/g,N=function(e){var t=ce(e,0,1),n=ce(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return se(e,M,function(e,t,n,i){r[r.length]=n?se(i,ue,`$1`):t||e}),r},de=function(e,t){var n=e,r;if(ae(re,n)&&(r=re[n],n=`%`+r[0]+`%`),ae(A,n)){var i=A[n];if(i===te&&(i=ne(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(le(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=N(e),r=n.length>0?n[0]:``,i=de(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],j(n,oe([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=ce(p,0,1),h=ce(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,ae(A,a))o=A[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(b&&d+1>=n.length){var g=b(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=ae(o,p),o=o[p];f&&!s&&(A[a]=o)}}return o}})),Hd=n(((e,t)=>{var n=Vd(),r=Ld(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}})),Ud=n(((e,t)=>{var n=Vd(),r=Hd(),i=sd(),a=od(),o=n(`%Map%`,!0),s=r(`Map.prototype.get`,!0),c=r(`Map.prototype.set`,!0),l=r(`Map.prototype.has`,!0),u=r(`Map.prototype.delete`,!0),d=r(`Map.prototype.size`,!0);t.exports=!!o&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a(`Side channel does not contain `+i(e))},delete:function(t){if(e){var n=u(e,t);return d(e)===0&&(e=void 0),n}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return e?l(e,t):!1},set:function(t,n){e||=new o,c(e,t,n)}};return t}})),Wd=n(((e,t)=>{var n=Vd(),r=Hd(),i=sd(),a=Ud(),o=od(),s=n(`%WeakMap%`,!0),c=r(`WeakMap.prototype.get`,!0),l=r(`WeakMap.prototype.set`,!0),u=r(`WeakMap.prototype.has`,!0),d=r(`WeakMap.prototype.delete`,!0);t.exports=s?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new o(`Side channel does not contain `+i(e))},delete:function(n){if(s&&n&&(typeof n==`object`||typeof n==`function`)){if(e)return d(e,n)}else if(a&&t)return t.delete(n);return!1},get:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?c(e,n):t&&t.get(n)},has:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?u(e,n):!!t&&t.has(n)},set:function(n,r){s&&n&&(typeof n==`object`||typeof n==`function`)?(e||=new s,l(e,n,r)):a&&(t||=a(),t.set(n,r))}};return n}:a})),Gd=n(((e,t)=>{var n=od(),r=sd(),i=cd(),a=Ud(),o=Wd()||a||i;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n(`Side channel does not contain `+r(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||=o(),e.set(t,n)}};return t}})),Kd=n(((e,t)=>{var n=String.prototype.replace,r=/%20/g,i={RFC1738:`RFC1738`,RFC3986:`RFC3986`};t.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return n.call(e,r,`+`)},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}})),qd=n(((e,t)=>{var n=Kd(),r=Gd(),i=Object.prototype.hasOwnProperty,a=Array.isArray,o=r(),s=function(e,t){return o.set(e,t),e},c=function(e){return o.has(e)},l=function(e){return o.get(e)},u=function(e,t){o.set(e,t)},d=function(){for(var e=[],t=0;t<256;++t)e[e.length]=`%`+((t<16?`0`:``)+t.toString(16)).toUpperCase();return e}(),f=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],i=0;i<n.length;++i)n[i]!==void 0&&(r[r.length]=n[i]);t.obj[t.prop]=r}}},p=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)e[r]!==void 0&&(n[r]=e[r]);return n},m=function e(t,n,r){if(!n)return t;if(typeof n!=`object`&&typeof n!=`function`){if(a(t)){var o=t.length;if(r&&typeof r.arrayLimit==`number`&&o>r.arrayLimit)return s(p(t.concat(n),r),o);t[o]=n}else if(t&&typeof t==`object`)if(c(t)){var d=l(t)+1;t[d]=n,u(t,d)}else if(r&&r.strictMerge)return[t,n];else (r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!=`object`){if(c(n)){for(var f=Object.keys(n),m=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},h=0;h<f.length;h++){var g=parseInt(f[h],10);m[g+1]=n[f[h]]}return s(m,l(n)+1)}var _=[t].concat(n);return r&&typeof r.arrayLimit==`number`&&_.length>r.arrayLimit?s(p(_,r),_.length-1):_}var v=t;return a(t)&&!a(n)&&(v=p(t,r)),a(t)&&a(n)?(n.forEach(function(n,a){if(i.call(t,a)){var o=t[a];o&&typeof o==`object`&&n&&typeof n==`object`?t[a]=e(o,n,r):t[t.length]=n}else t[a]=n}),t):Object.keys(n).reduce(function(t,a){var o=n[a];if(i.call(t,a)?t[a]=e(t[a],o,r):t[a]=o,c(n)&&!c(t)&&s(t,l(n)),c(t)){var d=parseInt(a,10);String(d)===a&&d>=0&&d>l(t)&&u(t,d)}return t},v)},h=function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},g=function(e,t,n){var r=e.replace(/\+/g,` `);if(n===`iso-8859-1`)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},_=1024;t.exports={arrayToObject:p,assign:h,combine:function(e,t,n,r){if(c(e)){var i=l(e)+1;return e[i]=t,u(e,i),e}var a=[].concat(e,t);return a.length>n?s(p(a,{plainObjects:r}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:`o`}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],o=Object.keys(a),s=0;s<o.length;++s){var c=o[s],l=a[c];typeof l==`object`&&l&&n.indexOf(l)===-1&&(t[t.length]={obj:a,prop:c},n[n.length]=l)}return f(t),e},decode:g,encode:function(e,t,r,i,a){if(e.length===0)return e;var o=e;if(typeof e==`symbol`?o=Symbol.prototype.toString.call(e):typeof e!=`string`&&(o=String(e)),r===`iso-8859-1`)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return`%26%23`+parseInt(e.slice(2),16)+`%3B`});for(var s=``,c=0;c<o.length;c+=_){for(var l=o.length>=_?o.slice(c,c+_):o,u=[],f=0;f<l.length;++f){var p=l.charCodeAt(f);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===n.RFC1738&&(p===40||p===41)){u[u.length]=l.charAt(f);continue}if(p<128){u[u.length]=d[p];continue}if(p<2048){u[u.length]=d[192|p>>6]+d[128|p&63];continue}if(p<55296||p>=57344){u[u.length]=d[224|p>>12]+d[128|p>>6&63]+d[128|p&63];continue}f+=1,p=65536+((p&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=d[240|p>>18]+d[128|p>>12&63]+d[128|p>>6&63]+d[128|p&63]}s+=u.join(``)}return s},isBuffer:function(e){return!e||typeof e!=`object`?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:c,isRegExp:function(e){return Object.prototype.toString.call(e)===`[object RegExp]`},markOverflow:s,maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n[n.length]=t(e[r]);return n}return t(e)},merge:m}})),Jd=n(((e,t)=>{var n=Gd(),r=qd(),i=Kd(),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+`[]`},comma:`comma`,indices:function(e,t){return e+`[`+t+`]`},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:`indices`,charset:`utf-8`,charsetSentinel:!1,commaRoundTrip:!1,delimiter:`&`,encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||typeof e==`symbol`||typeof e==`bigint`},m={},h=function e(t,i,a,o,c,u,d,h,g,_,v,y,b,x,S,C,w,T){for(var E=t,D=T,ee=0,O=!1;(D=D.get(m))!==void 0&&!O;){var te=D.get(t);if(ee+=1,te!==void 0){if(te===ee)throw RangeError(`Cyclic object value`);O=!0}D.get(m)===void 0&&(ee=0)}if(typeof _==`function`?E=_(i,E):E instanceof Date?E=b(E):a===`comma`&&s(E)&&(E=r.maybeMap(E,function(e){return e instanceof Date?b(e):e})),E===null){if(u)return g&&!C?g(i,f.encoder,w,`key`,x):i;E=``}if(p(E)||r.isBuffer(E))return g?[S(C?i:g(i,f.encoder,w,`key`,x))+`=`+S(g(E,f.encoder,w,`value`,x))]:[S(i)+`=`+S(String(E))];var k=[];if(E===void 0)return k;var A;if(a===`comma`&&s(E))C&&g&&(E=r.maybeMap(E,g)),A=[{value:E.length>0?E.join(`,`)||null:void 0}];else if(s(_))A=_;else{var ne=Object.keys(E);A=v?ne.sort(v):ne}var re=h?String(i).replace(/\./g,`%2E`):String(i),ie=o&&s(E)&&E.length===1?re+`[]`:re;if(c&&s(E)&&E.length===0)return ie+`[]`;for(var ae=0;ae<A.length;++ae){var oe=A[ae],j=typeof oe==`object`&&oe&&oe.value!==void 0?oe.value:E[oe];if(!(d&&j===null)){var se=y&&h?String(oe).replace(/\./g,`%2E`):String(oe),ce=s(E)?typeof a==`function`?a(ie,se):ie:ie+(y?`.`+se:`[`+se+`]`);T.set(t,ee);var le=n();le.set(m,T),l(k,e(j,ce,a,o,c,u,d,h,a===`comma`&&C&&s(E)?null:g,_,v,y,b,x,S,C,w,le))}}return k},g=function(e){if(!e)return f;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.encodeDotInKeys!==void 0&&typeof e.encodeDotInKeys!=`boolean`)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&e.encoder!==void 0&&typeof e.encoder!=`function`)throw TypeError(`Encoder has to be a function.`);var t=e.charset||f.charset;if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);var n=i.default;if(e.format!==void 0){if(!a.call(i.formatters,e.format))throw TypeError(`Unknown format option provided.`);n=e.format}var r=i.formatters[n],c=f.filter;(typeof e.filter==`function`||s(e.filter))&&(c=e.filter);var l=e.arrayFormat in o?e.arrayFormat:`indices`in e?e.indices?`indices`:`repeat`:f.arrayFormat;if(`commaRoundTrip`in e&&typeof e.commaRoundTrip!=`boolean`)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=e.allowDots===void 0?e.encodeDotInKeys===!0?!0:f.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix==`boolean`?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:l,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:e.delimiter===void 0?f.delimiter:e.delimiter,encode:typeof e.encode==`boolean`?e.encode:f.encode,encodeDotInKeys:typeof e.encodeDotInKeys==`boolean`?e.encodeDotInKeys:f.encodeDotInKeys,encoder:typeof e.encoder==`function`?e.encoder:f.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==`boolean`?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:typeof e.serializeDate==`function`?e.serializeDate:f.serializeDate,skipNulls:typeof e.skipNulls==`boolean`?e.skipNulls:f.skipNulls,sort:typeof e.sort==`function`?e.sort:null,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:f.strictNullHandling}};t.exports=function(e,t){var r=e,i=g(t),a,c;typeof i.filter==`function`?(c=i.filter,r=c(``,r)):s(i.filter)&&(c=i.filter,a=c);var u=[];if(typeof r!=`object`||!r)return``;var d=o[i.arrayFormat],f=d===`comma`&&i.commaRoundTrip;a||=Object.keys(r),i.sort&&a.sort(i.sort);for(var p=n(),m=0;m<a.length;++m){var _=a[m],v=r[_];i.skipNulls&&v===null||l(u,h(v,_,d,f,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,p))}var y=u.join(i.delimiter),b=i.addQueryPrefix===!0?`?`:``;return i.charsetSentinel&&(i.charset===`iso-8859-1`?b+=`utf8=%26%2310003%3B&`:b+=`utf8=%E2%9C%93&`),y.length>0?b+y:``}})),Yd=n(((e,t)=>{var n=qd(),r=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:`utf-8`,charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:`&`,depth:5,duplicates:`combine`,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,n){if(e&&typeof e==`string`&&t.comma&&e.indexOf(`,`)>-1)return e.split(`,`);if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);return e},c=`utf8=%26%2310003%3B`,l=`utf8=%E2%9C%93`,u=function(e,t){var u={__proto__:null},d=t.ignoreQueryPrefix?e.replace(/^\?/,``):e;d=d.replace(/%5B/gi,`[`).replace(/%5D/gi,`]`);var f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=d.split(t.delimiter,t.throwOnLimitExceeded&&f!==void 0?f+1:f);if(t.throwOnLimitExceeded&&f!==void 0&&p.length>f)throw RangeError(`Parameter limit exceeded. Only `+f+` parameter`+(f===1?``:`s`)+` allowed.`);var m=-1,h,g=t.charset;if(t.charsetSentinel)for(h=0;h<p.length;++h)p[h].indexOf(`utf8=`)===0&&(p[h]===l?g=`utf-8`:p[h]===c&&(g=`iso-8859-1`),m=h,h=p.length);for(h=0;h<p.length;++h)if(h!==m){var _=p[h],v=_.indexOf(`]=`),y=v===-1?_.indexOf(`=`):v+1,b,x;if(y===-1?(b=t.decoder(_,a.decoder,g,`key`),x=t.strictNullHandling?null:``):(b=t.decoder(_.slice(0,y),a.decoder,g,`key`),b!==null&&(x=n.maybeMap(s(_.slice(y+1),t,i(u[b])?u[b].length:0),function(e){return t.decoder(e,a.decoder,g,`value`)}))),x&&t.interpretNumericEntities&&g===`iso-8859-1`&&(x=o(String(x))),_.indexOf(`[]=`)>-1&&(x=i(x)?[x]:x),t.comma&&i(x)&&x.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);x=n.combine([],x,t.arrayLimit,t.plainObjects)}if(b!==null){var S=r.call(u,b);S&&(t.duplicates===`combine`||_.indexOf(`[]=`)>-1)?u[b]=n.combine(u[b],x,t.arrayLimit,t.plainObjects):(!S||t.duplicates===`last`)&&(u[b]=x)}}return u},d=function(e,t,r,i){var a=0;if(e.length>0&&e[e.length-1]===`[]`){var o=e.slice(0,-1).join(``);a=Array.isArray(t)&&t[o]?t[o].length:0}for(var c=i?t:s(t,r,a),l=e.length-1;l>=0;--l){var u,d=e[l];if(d===`[]`&&r.parseArrays)u=n.isOverflow(c)?c:r.allowEmptyArrays&&(c===``||r.strictNullHandling&&c===null)?[]:n.combine([],c,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var f=d.charAt(0)===`[`&&d.charAt(d.length-1)===`]`?d.slice(1,-1):d,p=r.decodeDotInKeys?f.replace(/%2E/g,`.`):f,m=parseInt(p,10),h=!isNaN(m)&&d!==p&&String(m)===p&&m>=0&&r.parseArrays;if(!r.parseArrays&&p===``)u={0:c};else if(h&&m<r.arrayLimit)u=[],u[m]=c;else if(h&&r.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+r.arrayLimit+` element`+(r.arrayLimit===1?``:`s`)+` allowed in an array.`);else h?(u[m]=c,n.markOverflow(u,m)):p!==`__proto__`&&(u[p]=c)}c=u}return c},f=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,`[$1]`):e;if(t.depth<=0)return!t.plainObjects&&r.call(Object.prototype,n)&&!t.allowPrototypes?void 0:[n];var i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,o=i.exec(n),s=o?n.slice(0,o.index):n,c=[];if(s){if(!t.plainObjects&&r.call(Object.prototype,s)&&!t.allowPrototypes)return;c[c.length]=s}for(var l=0;(o=a.exec(n))!==null&&l<t.depth;){l+=1;var u=o[1].slice(1,-1);if(!t.plainObjects&&r.call(Object.prototype,u)&&!t.allowPrototypes)return;c[c.length]=o[1]}if(o){if(t.strictDepth===!0)throw RangeError(`Input depth exceeded depth option of `+t.depth+` and strictDepth is true`);c[c.length]=`[`+n.slice(o.index)+`]`}return c},p=function(e,t,n,r){if(e){var i=f(e,n);if(i)return d(i,t,n,r)}},m=function(e){if(!e)return a;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.decodeDotInKeys!==void 0&&typeof e.decodeDotInKeys!=`boolean`)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!=`function`)throw TypeError(`Decoder has to be a function.`);if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);if(e.throwOnLimitExceeded!==void 0&&typeof e.throwOnLimitExceeded!=`boolean`)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=e.charset===void 0?a.charset:e.charset,r=e.duplicates===void 0?a.duplicates:e.duplicates;if(r!==`combine`&&r!==`first`&&r!==`last`)throw TypeError(`The duplicates option must be either combine, first, or last`);return{allowDots:e.allowDots===void 0?e.decodeDotInKeys===!0?!0:a.allowDots:!!e.allowDots,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes==`boolean`?e.allowPrototypes:a.allowPrototypes,allowSparse:typeof e.allowSparse==`boolean`?e.allowSparse:a.allowSparse,arrayLimit:typeof e.arrayLimit==`number`?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:a.charsetSentinel,comma:typeof e.comma==`boolean`?e.comma:a.comma,decodeDotInKeys:typeof e.decodeDotInKeys==`boolean`?e.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof e.decoder==`function`?e.decoder:a.decoder,delimiter:typeof e.delimiter==`string`||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:typeof e.depth==`number`||e.depth===!1?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities==`boolean`?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof e.parameterLimit==`number`?e.parameterLimit:a.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects==`boolean`?e.plainObjects:a.plainObjects,strictDepth:typeof e.strictDepth==`boolean`?!!e.strictDepth:a.strictDepth,strictMerge:typeof e.strictMerge==`boolean`?!!e.strictMerge:a.strictMerge,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded==`boolean`?e.throwOnLimitExceeded:!1}};t.exports=function(e,t){var r=m(t);if(e===``||e==null)return r.plainObjects?{__proto__:null}:{};for(var i=typeof e==`string`?u(e,r):e,a=r.plainObjects?{__proto__:null}:{},o=Object.keys(i),s=0;s<o.length;++s){var c=o[s],l=p(c,i[c],r,typeof e==`string`);a=n.merge(a,l,r)}return r.allowSparse===!0?a:n.compact(a)}})),Xd=n(((e,t)=>{var n=Jd(),r=Yd();t.exports={formats:Kd(),parse:r,stringify:n}})),Zd=e(Xd()),Qd=e=>{let t=ad({baseURL:`${xc()}/api/v1`,timeout:2e4,getToken:()=>e===`none`?void 0:q.getters.token?.access,getUserId:()=>e===`none`?void 0:q.getters.user?.id,getFingerprint:()=>q.getters.fingerprint,getLocale:()=>xu(`LOCALE`),paramsSerializer:e=>Zd.default.stringify(e,{arrayFormat:`repeat`}),generateRequestId:()=>_r(),onUnauthorized:()=>{e===`required`&&(q.getters.authenticated?q.dispatch(`logout`):Du())},onApiFailure:Ku});return e===`required`&&t.interceptors.request.use(e=>(Nu(),e)),t},G=Qd(`required`),$d=Qd(`optional`),ef=Qd(`none`),tf=new class{async resolve(e){return ef.post(`/attribution/resolve/`,e)}},nf=class{http;key;updateMethod;detailTrailingSlash;constructor(e,t,n={}){this.http=e,this.key=t,this.updateMethod=n.updateMethod??`put`,this.detailTrailingSlash=n.detailTrailingSlash??!1}listUrl(){return`/${this.key}/`}detailUrl(e){return this.detailTrailingSlash?`/${this.key}/${e}/`:`/${this.key}/${e}`}async getAll(e){return await this.http.get(this.listUrl(),{params:e})}async get(e){return await this.http.get(this.detailUrl(e))}async create(e){return await this.http.post(this.listUrl(),e)}async update(e,t){let n=this.detailUrl(e);return this.updateMethod===`patch`?await this.http.patch(n,t):await this.http.put(n,t)}async delete(e){return await this.http.delete(this.detailUrl(e))}},rf=new class extends nf{constructor(){super(G,`applications`)}async updateAllConsumeGlobal(e,t){return await G.post(`/${this.key}/${e}/update-allow-consume-global/`,t)}},af=new class{async getMe(){return G.get(`/users/me`)}async getInvitees(e){return G.get(`/users/me/invitees`,{params:e})}async updateMe(e){return G.put(`/users/me`,e)}async deleteMe(){return G.delete(`/users/me`)}async getVerify(){return G.get(`/users/verify`)}async updateVerify(e){return G.put(`/users/verify`,e)}async resolve(e){return G.get(`/users/resolve/`,{params:{q:e}})}},of=[`starting_session`,`attaching_tab`,`ready`,`executing`,`completed`,`device_offline`,`device_busy`,`authorization_required`,`stopped`,`expired`,`debugger_unavailable`,`unknown_outcome`,`failed`],sf=new Set([`completed`,`stopped`,`expired`,`unknown_outcome`,`failed`]),cf={starting_session:new Set([`attaching_tab`,`device_offline`,`device_busy`,`failed`,`stopped`,`expired`]),attaching_tab:new Set([`ready`,`debugger_unavailable`,`device_offline`,`failed`,`stopped`,`expired`]),ready:new Set([`executing`,`authorization_required`,`device_offline`,`device_busy`,`stopped`,`expired`]),executing:new Set(sf),completed:new Set,device_offline:new Set([`starting_session`,`stopped`,`expired`,`failed`]),device_busy:new Set([`starting_session`,`stopped`,`expired`,`failed`]),authorization_required:new Set([`executing`,`stopped`,`expired`,`failed`]),stopped:new Set,expired:new Set,debugger_unavailable:new Set([`attaching_tab`,`stopped`,`expired`,`failed`]),unknown_outcome:new Set,failed:new Set};function lf(e){return typeof e==`string`&&of.includes(e)}function uf(e){return e===`client`}function df(e){if(!(typeof e!=`string`||e.length>2048))try{let t=new URL(e);return t.protocol!==`https:`&&t.protocol!==`http:`||t.origin===`null`?void 0:t.origin}catch{return}}function ff(e,t){let n={...e},r=e.execution_state,i=t.execution_state,a=e.execution_sequence,o=t.execution_sequence;if(r&&sf.has(r)||o!==void 0&&a!==void 0&&o<a||i&&r&&i!==r&&!cf[r].has(i))return n;i&&(n.execution_state=i),o!==void 0&&(n.execution_sequence=o),t.browser_session_id&&(n.browser_session_id=t.browser_session_id),t.browser_call_id&&(n.browser_call_id=t.browser_call_id),t.wire_contract_digest&&(n.wire_contract_digest=t.wire_contract_digest),t.facade_catalog_digest&&(n.facade_catalog_digest=t.facade_catalog_digest);let s=df(t.origin);return s&&(n.origin=s),n}var pf=A({});function mf(e){return pf[e]}function hf(e,t){pf[e]=t}function gf(e){pf[e]=void 0}function _f(){Object.keys(pf).forEach(e=>{pf[e]=void 0})}var vf=`nexior:x402:payment-mode`,yf=new Set([`nanobanana`,`openaiimage`,`flux`,`qrart`,`luma`,`pika`,`pixverse`,`hailuo`,`veo`,`seedance`,`sora`,`wan`,`omni`,`grokvideo`,`minimax`,`maestro`,`kling`,`digitalhuman`,`serp`,`suno`,`midjourney`,`producer`,`chat`]);function bf(){if(typeof window>`u`)return`credits`;try{let e=window.localStorage.getItem(vf);return e===`wallet`||e===`credits`?e:`credits`}catch{return`credits`}}function xf(e){if(!(typeof window>`u`))try{window.localStorage.setItem(vf,e)}catch{}}var Sf=A({mode:bf()}),Cf=A({}),wf=A({});function Tf(){return Xn()}function Ef(e){return typeof e==`string`&&yf.has(e)}function Df(e){return wf[e]||(wf[e]=A({get walletAvailable(){return Tf()&&Ef(e)&&Cf[e]!==!1},get mode(){return this.walletAvailable&&Sf.mode===`wallet`?`wallet`:`credits`},quoteLoading:!1})),wf[e]}function Of(e){Sf.mode=e,xf(e),e===`credits`&&(Object.values(wf).forEach(Af),_f())}function kf(e,t){let n=Df(e);Cf[e]=t,t||Af(n)}function Af(e){e.quoteUsdc=void 0,e.quoteLoading=!1}var jf=Jr(),Mf=`solana-recurring-delegation-v1`,Nf=`X-X402-Authorization`,Pf=A({selected:!1});function Ff(){return Pf.authorization}function If(e){Pf.selected=e}function Lf(){return Pf.selected&&Pf.authorization?.state===`active`}function Rf(e){return!e||!Lf()?{}:{authorization:`Bearer ${e}`,[Nf]:Mf}}function zf(e){return{authorization:`Bearer ${e}`}}function Bf(e){return String(e?.response?.data?.code||e?.response?.data?.detail||e?.name||`unknown`).slice(0,120)}function Vf(e){return e?.response?.data?.trace_id||e?.response?.headers?.[`x-request-id`]}function Hf(e,t,n){Wu(e,{action:t,...n?{error:Bf(n),trace_id:Vf(n)}:{}})}async function Uf(e){return Pf.authorization=(await U.get(`/api/v1/x402/payment-authorization/`,{baseURL:Lr,headers:e?zf(e):{}})).data.authorization,Pf.authorization}function Wf(e){let t=e?.publicKey?.value?.toBase58?.(),n=e?.signTransaction?.value;if(!t)throw Error(`Connect a Solana wallet first`);return{wallet:t,signTransaction:n}}function Gf(e){let t=typeof e==`string`?e:e?.signature||e?.txid||e?.transactionId;if(!t||typeof t!=`string`)throw Error(`Wallet did not return a transaction signature`);return t}function Kf(e,t){if(typeof window>`u`)return;let n=e?.wallet?.value,r=String(n?.adapter?.name||``).toLowerCase(),i=r===`phantom`?window.phantom?.solana||(window.solana?.isPhantom?window.solana:void 0):r===`solflare`?window.solflare:void 0;if(i?.publicKey?.toBase58?.()===t&&typeof i.signAndSendTransaction==`function`)return i.signAndSendTransaction.bind(i)}async function qf(e,t){let{signTransaction:n}=Wf(e);if(typeof n!=`function`)throw Error(`Wallet does not support signing transactions`);let r=await n(Yr.from(jf.Buffer.from(t,`base64`)));return jf.Buffer.from(r.serialize()).toString(`base64`)}function Jf(e){let t=String(e?.code||e?.name||``).toLowerCase(),n=String(e?.message||``).toLowerCase();return t===`4001`||t.includes(`reject`)||n.includes(`user rejected`)||n.includes(`declined`)}async function Yf(e,t){let{wallet:n}=Wf(e),r=Kf(e,n);if(r)return Gf(await r(Yr.from(jf.Buffer.from(t,`base64`))))}async function Xf(e,t,n){return(await U.post(`/api/v1/x402/payment-authorization/transaction/prepare/`,{setup_token:t,action:n},{baseURL:Lr,headers:zf(e)})).data}async function Zf(e,t,n,r){return(await U.post(`/api/v1/x402/payment-authorization/transaction/submit/`,{setup_token:t,action:n,...r},{baseURL:Lr,headers:zf(e)})).data}async function Qf(e,t,n){return(await U.post(`/api/v1/x402/payment-authorization/transaction/status/`,{setup_token:t,action:n},{baseURL:Lr,headers:zf(e)})).data}async function $f(e,t,n,r){let i=r;for(let r=0;[`pending`,`uncertain`].includes(i.status)&&r<30;r+=1)await new Promise(e=>globalThis.setTimeout(e,2e3)),i=await Qf(e,t,n);if(i.status===`confirmed`)return i;throw Error(`Transaction ${i.status}; retry to resume setup`)}async function ep(e,t,n,r,i,a=!1){if(i&&i.status!==`failed`)return $f(e,t,n,i);Hf(`x402_continuous_payment_submit`,`${n}:prepare`);let o=await Xf(e,t,n);Hf(`x402_continuous_payment_submit`,`${n}:wallet_send`);let s;if(a)try{s=await Yf(r,o.transaction)}catch(r){if(Jf(r))throw r;return Hf(`x402_continuous_payment_submit`,`${n}:uncertain`),$f(e,t,n,await Zf(e,t,n,{broadcast_uncertain:!0}))}let c;if(s)Hf(`x402_continuous_payment_submit`,`${n}:register`),c=await Zf(e,t,n,{signature:s});else{Hf(`x402_continuous_payment_submit`,`${n}:sign`);let i=await qf(r,o.transaction);Hf(`x402_continuous_payment_submit`,`${n}:submit`),c=await Zf(e,t,n,{signed_transaction:i})}return $f(e,t,n,c)}async function tp(e){let{wallet:t}=Wf(e.walletApi);try{Hf(`x402_continuous_payment_submit`,`enable:setup`);let n=(await U.post(`/api/v1/x402/payment-authorization/setup/`,{wallet:t,daily_limit_atomic:e.dailyLimitAtomic,expiry_ts:e.expiryTs},{baseURL:Lr,headers:zf(e.token)})).data;return n.authority_init_id??await ep(e.token,n.setup_token,`init_authority`,e.walletApi,n.transactions?.init_authority,n.wallet_broadcast_supported===!0),await ep(e.token,n.setup_token,`create_delegation`,e.walletApi,n.transactions?.create_delegation,n.wallet_broadcast_supported===!0),Pf.authorization=(await U.post(`/api/v1/x402/payment-authorization/confirm/`,{setup_token:n.setup_token},{baseURL:Lr,headers:zf(e.token)})).data.authorization,Hf(`x402_continuous_payment_success`,`enable:confirm`),Pf.authorization}catch(e){throw Hf(`x402_continuous_payment_failed`,`enable`,e),e}}async function np(e){return Pf.authorization=(await U.post(`/api/v1/x402/payment-authorization/enable/`,{},{baseURL:Lr,headers:zf(e)})).data.authorization,Pf.authorization}async function rp(e){return Pf.authorization=(await U.post(`/api/v1/x402/payment-authorization/disable/`,{},{baseURL:Lr,headers:zf(e)})).data.authorization,Pf.authorization}async function ip(e,t){let{wallet:n}=Wf(t);if(!Pf.authorization||n!==Pf.authorization.wallet)throw Error(`Connect the wallet that created this authorization`);try{let n=(await U.post(`/api/v1/x402/payment-authorization/revoke-setup/`,{},{baseURL:Lr,headers:zf(e)})).data;return await ep(e,n.setup_token,`revoke_delegation`,t,void 0,n.wallet_broadcast_supported===!0),Pf.authorization=(await U.post(`/api/v1/x402/payment-authorization/revoke-confirm/`,{setup_token:n.setup_token},{baseURL:Lr,headers:zf(e)})).data.authorization,Hf(`x402_continuous_payment_success`,`revoke:confirm`),Pf.authorization}catch(e){throw Hf(`x402_continuous_payment_failed`,`revoke`,e),e}}function ap(){let e=Vn();return e?{"x-site-origin":e}:{}}function op(e,t,n){return e===413||t===`request_entity_too_large`?new Lt(e||413,on,``):new Lt(e||500,t||`api_error`,n||`An error occurred`)}var sp=new class{async chatConversation(e,t){return new Promise(async(n,r)=>{try{let i=Df(`chat`).mode===`wallet`;i&&!Lf()&&(await Uf(t.token).catch(()=>void 0),If(!0));let a=i&&Lf();if(i&&!a)throw new Lt(402,`payment_authorization_required`,``);let o=a?t.token:Pu(t.token),s=await fetch(`${a?Ur:H}/aichat2/conversations`,{method:`POST`,headers:{authorization:`Bearer ${o}`,...a?Rf(t.token):{},"Content-Type":`application/json`,Accept:`text/event-stream`,...ap()},signal:t.signal,body:JSON.stringify(e)});if(!s.ok){let e=await s.text(),t=s.status,n=e?JSON.parse(e):{},i=n?.error?.message||`An error occurred`,a=n?.error?.code||`api_error`;console.error(`Error message:`,i,`Error code:`,a),r(op(t,a,i));return}if(!s.body)throw new Bt(`ReadableStream not supported.`);let c=s.body.getReader(),l=new TextDecoder,u=``,d,f=``;for(;;){let{done:e,value:i}=await c.read();f+=e?l.decode():l.decode(i,{stream:!0}),e&&f&&(f+=`
|
|
6
6
|
`);let a=f.split(`
|
|
7
7
|
`);f=a.pop()||``;for(let e of a){let i=e.trim();if(i&&i.startsWith(`data: `)){let e=i.substring(6).trim();if(e===`[DONE]`){n({answer:u,delta_answer:``});return}try{let n=JSON.parse(e),i=n.execution_state??n.browser_state??(n.execution===`browser`||n.type===`browser_execution`?n.state:void 0);if(n.delta_answer&&(u+=n.delta_answer),n.id&&(d=n.id),n.type===`error`){let e=typeof n.message==`string`&&n.message.trim()?n.message.trim():`An error occurred`,t=typeof n.status==`number`?n.status:500,i=typeof n.code==`string`?n.code:gn;await c.cancel().catch(()=>void 0),r(op(t,i,e));return}t?.stream&&t.stream({answer:u,delta_answer:n.delta_answer||``,id:d,type:n.type,message:n.message,tool_id:n.tool_id,tool_name:n.tool_name,tool_display_name:n.tool_display_name,execution:n.type===`browser_execution`?`browser`:n.execution,execution_state:lf(i)?i:void 0,execution_sequence:typeof n.execution_sequence==`number`?n.execution_sequence:void 0,browser_session_id:typeof n.browser_session_id==`string`?n.browser_session_id:void 0,browser_call_id:typeof n.browser_call_id==`string`?n.browser_call_id:void 0,wire_contract_digest:typeof n.wire_contract_digest==`string`?n.wire_contract_digest:void 0,facade_catalog_digest:typeof n.facade_catalog_digest==`string`?n.facade_catalog_digest:void 0,origin:df(n.origin),input:n.input,progress:n.progress,output:n.output,is_error:n.is_error,duration_ms:n.duration_ms,content:n.content,artifact:n.artifact,card:n.card,citation:n.citation,payload:n.payload})}catch(e){console.error(`JSON parse error:`,e)}}}if(e)break}r(op(500,`stream_interrupted`,`The response stream ended before completion.`))}catch(e){console.error(`Error:`,e),r(e)}})}async getConversations(e,t){return await U.post(`/aichat2/conversations`,{action:Pt.RETRIEVE_BATCH,...e.ids?{ids:e.ids}:{},...e.applicationId?{application_id:e.applicationId}:{},...e.userId?{user_id:e.userId}:{},...e.modelGroup?{model_group:e.modelGroup}:{},...e.model?{model:e.model}:{},...e.offset===void 0?{}:{offset:e.offset},...e.limit===void 0?{}:{limit:e.limit}},{headers:{"content-type":`application/json`,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async getConversation(e,t){return await U.post(`/aichat2/conversations`,{action:Pt.RETRIEVE,id:e},{headers:{"content-type":`application/json`,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async deleteConversation(e,t){return await U.post(`/aichat2/conversations`,{action:Pt.DELETE,id:e},{headers:{"content-type":`application/json`,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async updateConversation(e,t){return await U.post(`/aichat2/conversations`,{action:Pt.UPDATE,...e},{headers:{"content-type":`application/json`,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H,signal:t.signal})}async shareConversation(e,t){return await U.post(`/aichat2/conversations`,{action:Pt.SHARE,id:e},{headers:{"content-type":`application/json`,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async unshareConversation(e,t){return await U.post(`/aichat2/conversations`,{action:Pt.UNSHARE,id:e},{headers:{"content-type":`application/json`,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async getSharedConversation(e){let t=await fetch(`${H}/aichat2/shared`,{method:`POST`,headers:{"Content-Type":`application/json`,...ap()},body:JSON.stringify({share_id:e})});if(!t.ok){let e=t.status,n=gn,r=`An error occurred`;try{let e=await t.json();r=e?.message||e?.error?.message||r,n=e?.error||e?.error?.code||n}catch{}throw new Lt(e,n,r)}return await t.json()}},cp=`0x2105`,lp=`eip155:8453`,up=`8442ba82a50e5d4a993fc9d82ba15c59`,dp=[{name:`MetaMask`,installUrl:`https://metamask.io/download/`},{name:`Coinbase Wallet`,installUrl:`https://www.coinbase.com/wallet/downloads`},{name:`Rabby`,installUrl:`https://rabby.io/`},{name:`OKX Wallet`,installUrl:`https://www.okx.com/web3`},{name:`Trust Wallet`,installUrl:`https://trustwallet.com/browser-extension`},{name:`Phantom`,installUrl:`https://phantom.app/download`},{name:`Rainbow`,installUrl:`https://rainbow.me/download`}],fp=f(),pp=new WeakSet,mp=f(`base`);function hp(){return mp.value}function gp(e){mp.value=e}function _p(){return fp.value}function vp(e){return e?.isMetaMask?`MetaMask`:e?.isCoinbaseWallet?`Coinbase Wallet`:e?.isBraveWallet?`Brave Wallet`:e?.isRabby?`Rabby`:e?.isOkxWallet||e?.isOKExWallet?`OKX Wallet`:e?.isTrust||e?.isTrustWallet?`Trust Wallet`:e?.isPhantom?`Phantom`:`Injected Wallet`}async function yp(){let e=new Map;if(typeof window<`u`){let t=t=>{let n=t.detail||{},r=n.provider;if(!r)return;let i=String(n.info?.name||`Wallet`),a=String(n.info?.uuid||n.info?.rdns||i||e.size);e.set(a,{id:a,name:i,icon:typeof n.info?.icon==`string`?n.info.icon:void 0,provider:r,kind:`injected`,readyState:`Detected`})};window.addEventListener(`eip6963:announceProvider`,t),window.dispatchEvent(new Event(`eip6963:requestProvider`)),await new Promise(e=>window.setTimeout(e,120)),window.removeEventListener(`eip6963:announceProvider`,t)}if(e.size===0){let t=globalThis.ethereum;(Array.isArray(t?.providers)?t.providers:t?[t]:[]).forEach((t,n)=>{let r=vp(t);e.set(`injected:${r}:${n}`,{id:`injected:${r}:${n}`,name:r,provider:t,kind:`injected`,readyState:`Detected`})})}let t=[{id:`walletconnect`,name:`WalletConnect`,kind:`walletconnect`,readyState:`Detected`},...Array.from(e.values())],n=new Set(t.map(e=>e.name.toLowerCase().replace(/\s+/g,``)));return dp.forEach(e=>{let r=e.name.toLowerCase().replace(/\s+/g,``);n.has(r)||t.push({id:`install:${r}`,name:e.name,kind:`injected`,readyState:`NotDetected`,installUrl:e.installUrl})}),t}function bp(e,t=`injected`){if(!e.on||pp.has(e))return;pp.add(e),e.on(`accountsChanged`,(...n)=>{let r=n[0];fp.value=r?.[0]?{address:r[0],provider:e,kind:t}:void 0}),e.on(`chainChanged`,(...e)=>{String(e[0]).toLowerCase()!==cp&&(fp.value=void 0)});let n=()=>{fp.value?.provider===e&&(fp.value=void 0)};e.on(`disconnect`,n),t===`walletconnect`&&e.on(`session_delete`,n)}async function xp(e){let t=(await e.request({method:`eth_requestAccounts`}))?.[0];if(!t)throw Error(`No EVM wallet account is available`);if(String(await e.request({method:`eth_chainId`})).toLowerCase()!==cp)try{await e.request({method:`wallet_switchEthereumChain`,params:[{chainId:cp}]})}catch{await e.request({method:`wallet_addEthereumChain`,params:[{chainId:cp,chainName:`Base`,nativeCurrency:{name:`Ether`,symbol:`ETH`,decimals:18},rpcUrls:[`https://mainnet.base.org`],blockExplorerUrls:[`https://basescan.org`]}]})}return fp.value={address:t,provider:e,kind:`injected`},bp(e),fp.value}async function Sp(e){let{default:t}=await W(async()=>{let{default:e}=await import(`./index.es-LzqQdC6F.js`).then(e=>e.t);return{default:e}},__vite__mapDeps([2,1,3,4])),n=await t.init({projectId:up,metadata:{name:`Nexior`,description:`Nexior Base USDC payments`,url:typeof window>`u`?`https://studio.acedata.cloud`:window.location.origin,icons:[`https://cdn.acedata.cloud/favicon.ico`]}});n.on(`display_uri`,e),await n.connect({namespaces:{eip155:{methods:[`eth_accounts`,`eth_chainId`,`eth_signTypedData_v4`],chains:[lp],events:[`accountsChanged`,`chainChanged`],rpcMap:{8453:`https://rpc.walletconnect.org?chainId=${lp}&projectId=${up}`}}}});let r=(await n.request({method:`eth_accounts`}))?.[0];if(!r)throw Error(`No EVM wallet account is available`);return fp.value={address:r,provider:n,kind:`walletconnect`},bp(n,`walletconnect`),fp.value}async function Cp(){let e=fp.value;fp.value=void 0,e?.kind===`walletconnect`&&await e.provider.disconnect?.()}var wp=`https://api.mainnet-beta.solana.com`,Tp=`https://api.devnet.solana.com`,Ep=`TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA`,Dp=`ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL`;function Op(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function kp(e,t){return t||(e.includes(`devnet`)?Tp:wp)}function Ap(e,t){let n=new Uint8Array(10);return n[0]=12,new DataView(n.buffer).setBigUint64(1,e,!0),n[9]=t,n}function jp(e,t){let n=Math.min(t,6);return(Number(e)/10**t).toFixed(n)}function Mp(e,t){if(!Number.isSafeInteger(t)||t<0||t>255)throw RangeError(`decimals must be an integer between 0 and 255`);let n=e<0n,r=n?-e:e;if(t===0)return`${n?`-`:``}${r}`;let i=10n**BigInt(t),a=r/i,o=(r%i).toString().padStart(t,`0`).replace(/0+$/,``);return`${n?`-`:``}${a}${o?`.${o}`:``}`}var Np={"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp":`https://solscan.io/tx/`,"eip155:8453":`https://basescan.org/tx/`,"eip155:1187947933":`https://skale-base-explorer.skalenodes.com/tx/`};function Pp(e,t){let n=Np[e];if(!(!n||!t))return`${n}${encodeURIComponent(t)}`}var Fp=new Set([`payer_token_account_missing`,`insufficient_token_balance`,`authorization_expired`,`wallet_rejected`,`network_mismatch`,`invalid_signature`,`payment_requirements_unavailable`,`facilitator_unavailable`,`settlement_pending`,`settlement_failed`,`payment_failed`]),Ip=new Set([`network`,`asset`,`requiredAmount`,`currency`]);function Lp(e){return e&&typeof e==`object`&&!Array.isArray(e)?e:void 0}function Rp(e){let t=Lp(e);return t?Object.fromEntries(Object.entries(t).filter(([e,t])=>Ip.has(e)&&(typeof t==`string`||typeof t==`number`)).map(([e,t])=>[e,String(t).slice(0,128)])):{}}function zp(e){return e.code===4001||e.code===`ACTION_REJECTED`||e.name===`WalletSignTransactionError`||e.cause?.code===4001}function Bp(e){let t=Lp(e)||{};if(zp(t))return{code:`wallet_rejected`,params:{},stage:`sign`,retryable:!0};let n=Lp(Lp(t.response)?.data)||t,r=Lp(Lp(Lp(n.extensions)?.acedatacloud)?.paymentError),i=Lp(Lp(Lp(n.metadata)?.x402)?.last_error),a=i?.code?i:void 0,o=r||a||(Fp.has(String(n.code))?n:void 0);if(o){let e=String(o.code||``),t=Fp.has(e)?e:`payment_failed`,n=[`sign`,`verify`,`settle`].includes(o.stage)?o.stage:void 0;return{code:t,params:Rp(o.params),stage:n,retryable:!!o.retryable,...o.charged===!1?{charged:!1}:{}}}return{code:`payment_failed`,params:{},retryable:!1}}function Vp(e,t,n){let r=String(e(t,n));return r===t?``:r}function Hp(e,t,n=`order`){let r=Bp(e),i=`order.x402Errors.codes.${r.code}`;return{...r,title:Vp(t,`${i}.title`,r.params),description:Vp(t,`${i}.description`,r.params),safety:r.charged===!1?Vp(t,`order.x402Errors.safety.notCharged`,{}):void 0,nextStep:Vp(t,`${i}.${n===`order`?`nextStepOrder`:`nextStepRequest`}`,r.params),technicalCode:`${Vp(t,`order.x402Errors.labels.technicalCode`,{})}: ${r.code}`,severity:r.code===`settlement_pending`?`warning`:`error`}}function Up(e){let t=Lp(Lp(e)?.response),n=Lp(t?.data);return t?.status===402&&Array.isArray(n?.accepts)&&n.accepts.length>0}var Wp=`eip155:8453`,Gp=`solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`,Kp=6;function qp(e){if(hp()===`base`){let e=_p();return e?{publicKey:{toBase58:()=>e.address,toString:()=>e.address},signTransaction:async()=>{throw Error(`Solana signing is unavailable while Base is selected`)}}:void 0}let t=e?.publicKey?.value,n=e?.signTransaction?.value;if(!(!t||typeof n!=`function`))return{publicKey:t,signTransaction:n}}var Jp=class extends Error{paymentError;constructor(e){super(`X402 payment failed (${e.code})`),this.name=`X402PaymentError`,this.paymentError=e}},Yp=[[`/nano-banana/`,`nanobanana`],[`/openai/images/`,`openaiimage`],[`/digital-human/`,`digitalhuman`],[`/grok/`,`grokvideo`],[`/midjourney/`,`midjourney`],[`/producer/`,`producer`],[`/seedance/`,`seedance`],[`/minimax/`,`minimax`],[`/serp/`,`serp`],[`/suno/`,`suno`],[`/kling/`,`kling`],[`/maestro/`,`maestro`],[`/flux/`,`flux`],[`/qrart/`,`qrart`],[`/luma/`,`luma`],[`/pika/`,`pika`],[`/pixverse/`,`pixverse`],[`/hailuo/`,`hailuo`],[`/veo/`,`veo`],[`/sora/`,`sora`],[`/wan/`,`wan`],[`/omni/`,`omni`],[`/gemini/videos`,`omni`]];function Xp(e){return Yp.find(([t])=>e.startsWith(t))?.[1]}var Zp=class extends Error{constructor(){super(`X402 payment was cancelled`),this.name=`X402PaymentCancelledError`}};function Qp(e,t=`base`){let n=t===`base`?Wp:Gp;return e.find(e=>e.network===n&&e.scheme===`exact`)}function $p(e,t=Kp){let n=BigInt(e),r=n<0n,i=r?-n:n,a=10n**BigInt(t),o=i/a,s=(i%a).toString().padStart(t,`0`).replace(/0+$/,``);return`${r?`-`:``}${o}${s?`.${s}`:``}`}function em(e){let t=Uint8Array.from(atob(e),e=>e.charCodeAt(0));return JSON.parse(new TextDecoder().decode(t))}function tm(e){if(!U.isAxiosError(e)||e.response?.status!==402)throw e;let t=e.response.headers?.[`payment-required`];return typeof t==`string`&&t?em(t):e.response.data}function nm(e){let t=Qp(e.accepts||[],hp()),n=t?.amount||t?.maxAmountRequired;if(!t||!n)throw Error(`No supported exact payment option is available`);return{amountAtomic:n,amountUsdc:$p(n),network:t.network,requirement:t}}async function rm(e,t,n={accept:`application/json`,"content-type":`application/json`},r){try{throw await U.post(e,t,{baseURL:Ur,headers:{...n,...r?{authorization:`Bearer ${r}`}:{}}}),Error(`x402 endpoint did not return a payment requirement`)}catch(e){return nm(tm(e))}}async function im(e){let t=await U.get(`/api/v1/x402/solana/latest-blockhash/`,{baseURL:Lr,params:{network:e}});if(!t.data.blockhash)throw Error(`Invalid Solana blockhash response`);return t.data.blockhash}async function am(t,n,r){let{Buffer:i}=await W(async()=>{let{Buffer:t}=await import(`./buffer-CnhyIITQ.js`).then(t=>e(t.t()));return{Buffer:t}},__vite__mapDeps([5,1])),{signEVMPayment:a}=await W(async()=>{let{signEVMPayment:e}=await import(`./dist-Bj1bzw6C.js`);return{signEVMPayment:e}},__vite__mapDeps([6,7,3])),o=await a(t,n,r);return i.from(JSON.stringify(o),`utf8`).toString(`base64`)}async function om(t,n,r,i={accept:`application/json`,"content-type":`application/json`}){let a=Xp(t);if(a&&gf(a),hp()===`solana`&&Lf()&&r.identityToken)try{let e=await U.post(t,n,{baseURL:Ur,headers:{...i,...Rf(r.identityToken)}});return a&&gf(a),e}catch(e){let t=Bp(e);throw a&&hf(a,t),new Jp(t)}try{return await U.post(t,n,{baseURL:Ur,headers:{...i,...r.identityToken?{authorization:`Bearer ${r.identityToken}`}:{}}})}catch(o){let s=tm(o),c=_p(),l=hp(),u=Qp(s.accepts||[],l),d=u?.amount||u?.maxAmountRequired;if(!u||!d)throw Error(`No supported exact payment option is available`);let f={amountAtomic:d,amountUsdc:$p(d),network:u.network,requirement:u};if(!await r.confirm(f))throw new Zp;try{let o;if(l===`base`){if(!c)throw{code:`signer_unavailable`};o=await am(u,c.provider,c.address)}else{let{Buffer:t}=await W(async()=>{let{Buffer:t}=await import(`./buffer-CnhyIITQ.js`).then(t=>e(t.t()));return{Buffer:t}},__vite__mapDeps([5,1]));globalThis.Buffer??=t;let{buildSolanaPayment:n}=await W(async()=>{let{buildSolanaPayment:e}=await import(`./solana-W8Xq1SnF.js`);return{buildSolanaPayment:e}},__vite__mapDeps([7,3])),i=await im(u.network),a=await n(u,r.wallet,i);o=t.from(JSON.stringify(a),`utf8`).toString(`base64`)}let s=await U.post(t,n,{baseURL:Ur,headers:{...i,"PAYMENT-SIGNATURE":o,...r.identityToken?{authorization:`Bearer ${r.identityToken}`}:{}}});return a&&gf(a),s}catch(e){let t=Bp(e);throw t.code===`wallet_rejected`?new Zp:(a&&hf(a,t),new Jp(t))}}}var sm={"content-type":`application/json`,accept:`application/x-ndjson`},cm={"content-type":`application/json`,accept:`application/json`,"x-record-exempt":`true`};function lm(e){let t=e.prompt?.trim(),n=``;e.references?.length&&(n+=`${e.references.join(` `)} `),t&&(n+=t),e.elements?.length&&(n+=`,${e.elements.map(e=>e.value).join(`,`)}`);let r=e.model?.includes(`niji`);return e.model&&!n.includes(`--${e.model}`)&&(n+=` --${e.model}`),!r&&e.version&&!n.includes(`--version `)&&!n.includes(`--v `)&&(n+=` --version ${e.version}`),e.chaos&&e.advanced&&!n.includes(`--chaos `)&&(n+=` --chaos ${e.chaos}`),e.version!==`8.1`&&e.quality&&!n.includes(`--quality `)&&!n.includes(`--q `)&&e.quality!==`1`&&(n+=` --quality ${e.quality}`),e.ratio&&!n.includes(`--aspect `)&&!n.includes(`--ar `)&&e.ratio!==`1:1`&&(n+=` --aspect ${e.ratio}`),e.stylize&&!n.includes(`--stylize `)&&!n.includes(`--s `)&&e.advanced&&e.stylize!==100&&(n+=` --stylize ${e.stylize}`),e.weird&&!n.includes(`--weird `)&&!n.includes(`--w `)&&e.advanced&&e.weird!==0&&(n+=` --weird ${e.weird}`),e.ignore&&!n.includes(`--no `)&&(n+=` --no ${e.ignore}`),e.iw&&!n.includes(`--iw `)&&e.advanced&&e.iw!==1&&(n+=` --iw ${e.iw}`),e.style&&e.advanced&&!n.includes(`--style`)&&(n+=` --style ${e.style}`),!r&&e.hd&&!n.includes(`--hd`)&&(n+=` --hd`),n=n.replace(/--(fast|relax|turbo) /g,``),t||e.references?.length?n:``}function um(e){let t=e.version===`8.1`,n=e.version===`8`||t,r=lm(e);return{mode:e.mode||`fast`,prompt:r,action:Rt.GENERATE,translation:e.translation,async:!0,version:e.version,hd:e.hd||!1,...t?{}:{quality:e.quality||`1`},style_reference:r.includes(`--sref`),moodboard:!!(n&&e.references?.length)}}function dm(e,t){let n=e.version===`8.1`;return{image_id:t.image_id,action:t.action,mode:n?Or:e.mode||`fast`,async:!0,version:e.version,hd:e.hd||!1,...n?{}:{quality:e.quality||`1`}}}function fm(e){return{video_id:e.video_id,image_url:e.image_url,action:e.action,prompt:e.prompt?.trim(),end_image_url:e.end_image_url,resolution:e.resolution,loop:e.loop,mode:e.mode||`fast`,async:!0}}function pm(e){return{image_url:e.image_url||``}}var mm=new class{async task(e,t){return U.post(`/midjourney/tasks`,{action:`retrieve`,id:e},t.mode===`x402`?{headers:cm,baseURL:Ur}:{headers:{...cm,authorization:`Bearer ${t.token}`},baseURL:H})}async tasks(e,t){return U.post(`/midjourney/tasks`,{action:`retrieve_batch`,...e.ids?{ids:e.ids}:{},...e.applicationId?{application_id:e.applicationId}:{},...e.userId?{user_id:e.userId}:{},...e.type?{type:e.type}:{},...e.limit===void 0?{}:{limit:e.limit},...e.offset===void 0?{}:{offset:e.offset},...e.createdAtMax===void 0?{}:{created_at_max:e.createdAtMax},...e.createdAtMin===void 0?{}:{created_at_min:e.createdAtMin}},t.mode===`x402`?{headers:cm,baseURL:Ur}:{headers:{...cm,authorization:`Bearer ${t.token}`},baseURL:H})}async quoteImagine(e){return rm(`/midjourney/imagine`,e,sm)}async quoteVideos(e){return rm(`/midjourney/videos`,e,sm)}async quoteDescribe(e){return rm(`/midjourney/describe`,e,sm)}async submit(e,t,n){if(n.mode===`x402`){if(!n.x402)throw Error(`x402 payment options are required`);return om(e,t,n.x402,sm)}return U.post(e,t,{headers:{...sm,authorization:`Bearer ${n.token}`},baseURL:H})}async imagine(e,t){return this.submit(`/midjourney/imagine`,e,t)}async videos(e,t){return this.submit(`/midjourney/videos`,e,t)}async describe(e,t){return this.submit(`/midjourney/describe`,e,t)}},hm=new class{key=`usage/apis`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}async getAggregate(e){return await G.get(`/${this.key}/aggregate/`,{params:e})}async get(e){return await G.get(`/${this.key}/${e}`)}async getStatusCodes(e){return await G.get(`/${this.key}/status-codes/`,{params:e})}async exportCsv(e){return await G.get(`/${this.key}/export/`,{params:e,responseType:`blob`})}},gm=new class{key=`usage/proxies`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}},_m=new class extends nf{constructor(){super(G,`apis`)}async getAll(e){return await $d.get(this.listUrl(),{params:e})}async get(e){return await $d.get(this.detailUrl(e))}async getAllForService(e,t){return await $d.get(`/services/${e}/${this.key}/`,{params:t})}},vm=new class{key=`orders`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}async get(e){return await G.get(`/${this.key}/${e}`)}async getPublic(e){return await ef.get(`/${this.key}/${e}`)}async create(e){return await G.post(`/${this.key}/`,e)}async update(e,t){return await G.put(`/${this.key}/${e}`,t)}async refresh(e){return await G.post(`/${this.key}/${e}/refresh/`)}async pay(e,t){return await G.post(`/${this.key}/${e}/pay/`,t)}async payPublic(e,t){return await ef.post(`/${this.key}/${e}/pay/`,t)}async payX402WithHeader(e,t,n){return await G.post(`/${this.key}/${e}/pay/`,t,{headers:{"PAYMENT-SIGNATURE":n}})}async appleVerify(e,t){return await G.post(`/${this.key}/${e}/apple-verify/`,{transaction_id:t})}async updatePrice(e,t){return await G.post(`/${this.key}/${e}/update-price/`,t)}async finish(e){return await G.post(`/${this.key}/${e}/finish/`)}async delete(e){return await G.delete(`/${this.key}/${e}`)}async getSummary(e){return await G.get(`/${this.key}/summary/`,{params:e})}async exportCsv(e){return await G.get(`/${this.key}/export/`,{params:e,responseType:`blob`})}},ym=new class{key=`distribution-histories`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}},bm=new class{key=`distribution-statuses`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}async initialize(){return await G.post(`/${this.key}/initialize/`)}},xm=new class{key=`distribution-levels`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}},Sm=new class{key=`shorturl`;async create(e){return await G.post(`/${this.key}`,{content:e})}},Cm=class{async refreshToken(e){return ef.post(`/auth/refresh/`,e)}async getCode(){return G.post(`/auth/code/`,{})}},wm=class{async token(e){return ef.post(`/token`,e,{baseURL:`${Cc()}/sso/v1`})}},Tm=new Cm,Em=new wm,Dm=new class extends nf{constructor(){super(G,`services`)}async getAll(e){return await $d.get(this.listUrl(),{params:e})}async get(e){return await $d.get(this.detailUrl(e))}},Om=new class{key=`credentials`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}async get(e){return await G.get(`/${this.key}/${e}`)}async create(e){return await G.post(`/${this.key}/`,e)}async delete(e){return await G.delete(`/${this.key}/${e}`)}},km={accept:`application/json`,"content-type":`application/json`},Am={...km,"x-record-exempt":`true`},jm={authorization:``,"content-type":`application/json`,accept:`application/x-ndjson`},Mm={"content-type":`application/json`,accept:`application/x-ndjson`},Nm=e=>e.replace(/[A-Z]/g,e=>`_${e.toLowerCase()}`),Pm=e=>{let t={};for(let[n,r]of Object.entries(e))r==null||r===``||(t[Nm(n)]=r);return t},Fm=class{tasksPath;generatePath;constructor(e){this.tasksPath=e.tasksPath,this.generatePath=e.generatePath}async task(e,t){return U.post(this.tasksPath,{action:`retrieve`,id:e},t.mode===`x402`?{baseURL:Ur,headers:km,signal:t.signal}:{baseURL:H,headers:{...Am,authorization:`Bearer ${t.token}`},signal:t.signal})}async tasks(e,t){return U.post(this.tasksPath,{action:`retrieve_batch`,...Pm(e)},t.mode===`x402`?{baseURL:Ur,headers:km}:{baseURL:H,headers:{...Am,authorization:`Bearer ${t.token}`}})}async quote(e,t){return rm(this.generatePath,e,Mm,t)}async generate(e,t){if(t.mode===`x402`){if(!t.x402)throw Error(`x402 payment options are required`);return om(this.generatePath,e,t.x402,Mm)}return U.post(this.generatePath,e,{baseURL:H,headers:{...jm,authorization:`Bearer ${t.token}`}})}async delete(e,t){return U.post(this.tasksPath,{action:`delete`,id:e,user_id:t.userId,application_id:t.applicationId},{baseURL:H,headers:{...Am,authorization:`Bearer ${t.token}`}})}};function Im(e){let t=e||{},n=t.prompt?.trim();return{type:t.type,content:t.content,content_image_url:t.content_image_url,prompt:n,aspect_ratio:t.aspect_ratio,async:!0,qrw:t.qrw,steps:t.steps,preset:t.preset,...t.advanced?{position:t.position,pixel_style:t.pixel_style,marker_shape:t.marker_shape,sub_marker:t.sub_marker,rotate:t.rotate,ecl:t.ecl,seed:t.seed,padding_level:t.padding_level,padding_noise:t.padding_noise}:{}}}var Lm=new class extends Fm{constructor(){super({tasksPath:`/qrart/tasks`,generatePath:`/qrart/generate`})}};function Rm(e){return{...e||{},async:!0}}var zm=new class extends Fm{constructor(){super({tasksPath:`/luma/tasks`,generatePath:`/luma/videos`})}};function Bm(e){let t={...e||{},async:!0};return typeof t.prompt==`string`&&(t.prompt=t.prompt.trim()),t}var Vm=new class extends Fm{constructor(){super({tasksPath:`/pika/tasks`,generatePath:`/pika/videos`})}},Hm={"content-type":`application/json`,accept:`application/x-ndjson`};function Um(e){let{camera_control:t,...n}=e||{},r={...n,async:!0};return typeof r.prompt==`string`&&(r.prompt=r.prompt.trim()),r.action||(r.video_id||r.video_url?r.action=`extend`:r.start_image_url?r.action=`image2video`:r.action=`text2video`),r.action===`text2video`&&delete r.end_image_url,t?.type&&(r.camera_control={type:t.type,...t.type===`simple`&&t.config?{config:Object.fromEntries(Object.entries(t.config).filter(([,e])=>e!=null))}:{}}),r.model===`kling-v3-turbo`&&(r.generate_audio=!0,delete r.end_image_url,delete r.negative_prompt,delete r.cfg_scale,delete r.camera_control,delete r.image_list,delete r.video_list),r}function Wm(e){let t=e||{};return{image_url:t.image_url||``,audio_url:t.audio_url||``,model:t.model||`kling-v2-1-master`,mode:t.mode||`pro`,...t.prompt?{prompt:t.prompt}:{},...t.duration?{duration:t.duration}:{},async:!0}}var Gm=new class extends Fm{constructor(){super({tasksPath:`/kling/tasks`,generatePath:`/kling/videos`})}async motion(e,t){return U.post(`/kling/motion`,e,{baseURL:H,headers:{...Hm,authorization:`Bearer ${t.token}`}})}async quoteTalkingPhoto(e){return rm(`/kling/talking-photo`,e,Hm)}async talkingPhoto(e,t){if(t.mode===`x402`){if(!t.x402)throw Error(`x402 payment options are required`);return om(`/kling/talking-photo`,e,t.x402,Hm)}return U.post(`/kling/talking-photo`,e,{baseURL:H,headers:{...Hm,authorization:`Bearer ${t.token}`}})}},Km=`veo31-fast-ingredients`,qm=[{value:`veo31-fast`,label:`Veo 3.1 Fast`},{value:`veo3-fast`,label:`Veo 3 Fast`},{value:`veo31`,label:`Veo 3.1`},{value:`veo3`,label:`Veo 3`}],Jm=(e,t)=>{let n=!!(e?.action&&e.action!==t),r={...e,action:t};return t===`text2video`?(r.model=r.model===`veo31-fast-ingredients`?mn:r.model||`veo31-fast`,delete r.image_urls,r):t===`ingredients2video`?(r.model=Km,n?delete r.image_urls:r.image_urls=r.image_urls?.slice(0,3),r):(r.model=r.model===`veo31-fast-ingredients`?mn:r.model||`veo31-fast`,n?delete r.image_urls:r.image_urls=r.image_urls?.slice(0,2),r)},Ym=e=>{let t={...Jm(e,e?.action||`text2video`),async:!0};return typeof t.prompt==`string`&&(t.prompt=t.prompt.trim()),t.image_urls?.length||delete t.image_urls,t};function Xm(e){return Ym(e)}var Zm=new class extends Fm{constructor(){super({tasksPath:`/veo/tasks`,generatePath:`/veo/videos`})}};function Qm(e){let t={...e||{},async:!0};return typeof t.prompt==`string`&&(t.prompt=t.prompt.trim()),t}var $m=new class extends Fm{constructor(){super({tasksPath:`/sora/tasks`,generatePath:`/sora/videos`})}},eh=e=>{let t=e?.trim();return t&&t.toLowerCase()!==`auto`?t:void 0},th=/^[0-9a-f]{32}$/;function nh(e){let{customization_enabled:t,scenario_customization_enabled:n,style_customization_enabled:r,voice_customization_enabled:i,scenario:a,style:o,voice:s,quality:c,...l}=e??{},u=eh(a)?.toLowerCase(),d=eh(o),f=eh(s)?.toLowerCase(),p=u&&nr.includes(u)?u:void 0,m=d,h=f&&(xr.some(e=>e.key===f)||th.test(f))?f:void 0,g=typeof t==`boolean`,_=t===!0,v=n??(g?_&&!!p:!!p),y=r??(g?_&&!!m:!!m),b=i??(g?_&&!!h:!!h);return{...l,...typeof l.prompt==`string`?{prompt:l.prompt.trim()}:{},scenario_customization_enabled:v,style_customization_enabled:y,voice_customization_enabled:b,...v?{scenario:p??`narrated`}:{},...y?{style:m??`cinematic`}:{},...b?{voice:h??`warm-female`}:{}}}function rh(e,t){let n=t.request;return nh({...e||{},action:qn,ref_task_id:t.id,prompt:``,langs:n?.langs?.length?n.langs:e?.langs,aspect:n?.aspect??e?.aspect,duration:n?.duration??e?.duration,scenario_customization_enabled:void 0,style_customization_enabled:void 0,voice_customization_enabled:void 0,scenario:n?.scenario,style:n?.style,voice:n?.voice,file_urls:eh(n?.scenario)?.toLowerCase()===`captions`&&n?.file_urls||[]})}function ih(e){let{scenario_customization_enabled:t,style_customization_enabled:n,voice_customization_enabled:r,scenario:i,style:a,voice:o,...s}=nh(e);return{...s,...t&&i?{scenario:i}:{},...n&&a?{style:a}:{},...r&&o?{voice:o}:{}}}function ah(e){return ih(e)}var oh=new class extends Fm{constructor(){super({tasksPath:`/maestro/tasks`,generatePath:`/maestro/videos`})}},K=e=>encodeURIComponent(e),sh=new class{config(e){return{baseURL:Gr,timeout:2e4,headers:{authorization:`Bearer ${e.token}`,"content-type":`application/json`,accept:`application/json`}}}getWorkspaces(e){return U.get(`/poivelle/workspaces`,this.config(e))}getDiscovery(e){return U.get(`/poivelle/discovery`,{...this.config(e),params:{site_id:typeof window>`u`?`studio.acedata.cloud`:window.location.host}})}copyDiscoveryWork(e,t,n){return U.post(`/poivelle/discovery/${K(e)}/copy`,t,this.config(n))}createWorkspace(e,t){return U.post(`/poivelle/workspaces`,e,this.config(t))}getProjects(e){return U.get(`/poivelle/projects`,this.config(e))}getWorkspaceProjects(e,t){return U.get(`/poivelle/workspaces/${K(e)}/projects`,this.config(t))}getMembers(e,t){return U.get(`/poivelle/workspaces/${K(e)}/members`,this.config(t))}createProject(e,t){return U.post(`/poivelle/projects`,e,this.config(t))}createCommercialTVCProject(e,t,n){return U.post(`/poivelle/workspaces/${K(e)}/projects/from-blueprint`,t,this.config(n))}updateProject(e,t,n){return U.patch(`/poivelle/projects/${K(e)}`,t,this.config(n))}getGraph(e,t){return U.get(`/poivelle/projects/${K(e)}/graph/snapshot`,this.config(t))}getStoryboard(e,t){return U.get(`/poivelle/projects/${K(e)}/storyboard`,this.config(t))}applyGraphCommand(e,t,n){return U.post(`/poivelle/projects/${K(e)}/graph/commands`,t,this.config(n))}saveLayout(e,t,n,r){return U.put(`/poivelle/projects/${K(e)}/layouts/${K(t)}`,{layouts:n},this.config(r))}getAssets(e,t){return U.get(`/poivelle/projects/${K(e)}/assets`,this.config(t))}getArtifacts(e,t){return U.get(`/poivelle/projects/${K(e)}/artifacts`,this.config(t))}getTakes(e,t){return U.get(`/poivelle/projects/${K(e)}/takes`,this.config(t))}getSelections(e,t,n){return U.get(`/poivelle/projects/${K(e)}/selections`,{...this.config(n),params:t?{revision_id:t}:void 0})}selectTake(e,t,n){return U.post(`/poivelle/projects/${K(e)}/selections`,t,this.config(n))}importAsset(e,t,n){return U.post(`/poivelle/workspaces/${K(e)}/assets/imports`,t,this.config(n))}getRevisions(e,t){return U.get(`/poivelle/projects/${K(e)}/revisions`,this.config(t))}createRevision(e,t,n){return U.post(`/poivelle/projects/${K(e)}/revisions`,t,this.config(n))}getProposals(e,t){return U.get(`/poivelle/projects/${K(e)}/proposals`,this.config(t))}rejectProposal(e,t,n){return U.post(`/poivelle/projects/${K(e)}/proposals/${K(t)}/reject`,{},this.config(n))}getRuns(e,t){return U.get(`/poivelle/projects/${K(e)}/runs`,this.config(t))}getRun(e,t,n){return U.get(`/poivelle/projects/${K(e)}/runs/${K(t)}`,this.config(n))}getEvaluations(e,t){return U.get(`/poivelle/projects/${K(e)}/evaluations`,this.config(t))}getForensicValidations(e,t){return U.get(`/poivelle/projects/${K(e)}/forensic-validations`,this.config(t))}getCosts(e,t){return U.get(`/poivelle/projects/${K(e)}/costs`,this.config(t))}cancelRun(e,t,n){return U.post(`/poivelle/projects/${K(e)}/runs/${K(t)}/cancel`,{},this.config(n))}getTimeline(e,t){return U.get(`/poivelle/projects/${K(e)}/timeline`,this.config(t))}saveTimeline(e,t,n){return U.put(`/poivelle/projects/${K(e)}/timeline`,t,this.config(n))}dryRunAction(e,t,n){return U.post(`/poivelle/projects/${K(e)}/actions/dry-run`,t,this.config(n))}confirmAction(e,t,n){return U.post(`/poivelle/projects/${K(e)}/actions/confirm`,t,this.config(n))}},ch={"content-type":`application/json`,accept:`application/json`};function lh(e,t,n){let r=e||{},i={video_url:t===`video`?r.video_url:r.image_url,async:!0};return n===`audio`?i.audio_url=r.audio_url:(i.text=r.text,i.voice_id=r.voice_id),r.speed&&r.speed!==1&&(i.speed=r.speed),i}function uh(e){return{...e,async:!0}}var dh=new class extends Fm{constructor(){super({tasksPath:`/digital-human/tasks`,generatePath:`/digital-human/videos`})}async quoteVoice(e){return rm(`/digital-human/voices`,e,ch)}async cloneVoice(e,t){if(t.mode===`x402`){if(!t.x402)throw Error(`x402 payment options are required`);return om(`/digital-human/voices`,e,t.x402,ch)}return U.post(`/digital-human/voices`,e,{baseURL:H,headers:{...ch,authorization:`Bearer ${t.token}`}})}async pollTask(e,t){return U.post(`/digital-human/tasks`,{task_id:e},t.mode===`x402`?{baseURL:Ur,headers:{...ch,"x-record-exempt":`true`}}:{baseURL:H,headers:{...ch,"x-record-exempt":`true`,authorization:`Bearer ${t.token}`}})}};function fh(e){let t={...e||{},async:!0};return typeof t.prompt==`string`&&(t.prompt=t.prompt.trim()),t}var ph=new class extends Fm{constructor(){super({tasksPath:`/pixverse/tasks`,generatePath:`/pixverse/videos`})}};function mh(e){let t={...e||{}};return typeof t.prompt==`string`&&(t.prompt=t.prompt.trim()),t.size||delete t.size,t.image_url||delete t.image_url,{...t,async:!0}}var hh=new class extends Fm{constructor(){super({tasksPath:`/flux/tasks`,generatePath:`/flux/images`})}};function gh(e){let t={...e||{},async:!0};return typeof t.prompt==`string`&&(t.prompt=t.prompt.trim()),t}var _h=new class extends Fm{constructor(){super({tasksPath:`/hailuo/tasks`,generatePath:`/hailuo/videos`})}};function vh(e){return{...e||{}}}var yh=new class extends Fm{constructor(){super({tasksPath:`/minimax/tasks`,generatePath:`/minimax/videos`})}},bh=new class{key=`sites`;async initialize(e){return await $d.post(`/${this.key}/initialize/`,e)}async getAll(e){return await $d.get(`/${this.key}/`,{params:e})}async get(e){return await $d.get(`/${this.key}/${e}`)}async create(e){return await G.post(`/${this.key}/`,e)}async update(e,t,n){return await G.patch(`/${this.key}/${e}`,t,{headers:n===void 0?void 0:{"If-Match":String(n)}})}async delete(e){return await G.delete(`/${this.key}/${e}`)}},xh=new class{key=`site-banners`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}async getPublic(e){return await ef.get(`/${this.key}/public/`,{params:{origin:e}})}async create(e){return await G.post(`/${this.key}/`,e)}async update(e,t){return await G.patch(`/${this.key}/${e}/`,t)}async delete(e){return await G.delete(`/${this.key}/${e}/`)}},Sh=new class{key=`site-service-overrides`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}async get(e){return await G.get(`/${this.key}/${e}/`)}async create(e){return await G.post(`/${this.key}/`,e)}async update(e,t){return await G.patch(`/${this.key}/${e}/`,t)}async delete(e){return await G.delete(`/${this.key}/${e}/`)}},Ch=new class{key=`site-capability-overrides`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}async create(e){return await G.post(`/${this.key}/`,e)}async update(e,t){return await G.patch(`/${this.key}/${e}/`,t)}async delete(e){return await G.delete(`/${this.key}/${e}/`)}},wh=new class{key=`site-domains`;async getAll(e={}){return await G.get(`/${this.key}/`,{params:e})}async get(e){return await G.get(`/${this.key}/${e}/`)}async create(e){return await G.post(`/${this.key}/`,e)}async verify(e){return await G.post(`/${this.key}/${e}/verify/`)}async delete(e){return await G.delete(`/${this.key}/${e}/`)}},Th=()=>({baseURL:`${Cc()}/api/v1`}),Eh=new class{testEmail(e){return G.post(`/site-auth-deliveries/${e}/email/test/`,void 0,Th())}testPhone(e,t){return G.post(`/site-auth-deliveries/${e}/phone/test/`,t,Th())}},Dh=new class{key=`translations`;async getCapabilities(){return await G.get(`/${this.key}/capabilities/`)}async enable(e){return await G.post(`/${this.key}/enable`,e)}async disable(e){return await G.post(`/${this.key}/disable`,e)}},Oh={"content-type":`application/json`,accept:`application/json`},kh={...Oh,"x-record-exempt":`true`};function Ah(e){let t={...e||{},audio:void 0,async:!0};return delete t.custom_model_id,typeof t.prompt==`string`&&(t.prompt=t.prompt.trim()),t}var jh=new class{async task(e,t){return await U.post(`/suno/tasks`,{action:`retrieve`,id:e},t.mode===`x402`?{headers:kh,baseURL:Ur}:{headers:{...kh,authorization:`Bearer ${t.token}`},baseURL:H})}async tasks(e,t){return await U.post(`/suno/tasks`,{action:`retrieve_batch`,...e.ids?{ids:e.ids}:{},...e.userId?{user_id:e.userId}:{},...e.type?{type:e.type}:{},...e.applicationId?{application_id:e.applicationId}:{},...e.limit===void 0?{}:{limit:e.limit},...e.offset===void 0?{}:{offset:e.offset},...e.createdAtMax===void 0?{}:{created_at_max:e.createdAtMax},...e.createdAtMin===void 0?{}:{created_at_min:e.createdAtMin}},t.mode===`x402`?{headers:kh,baseURL:Ur}:{headers:{...kh,authorization:`Bearer ${t.token}`},baseURL:H})}async quoteAudio(e){return rm(`/suno/audios`,e,Oh)}async submitExact(e,t,n){if(n.mode===`x402`){if(!n.x402)throw Error(`x402 payment options are required`);return om(e,t,n.x402,Oh)}return U.post(e,t,{headers:{...Oh,authorization:`Bearer ${n.token}`},baseURL:H})}async audio(e,t){return this.submitExact(`/suno/audios`,e,t)}async lyric(e,t){return this.submitExact(`/suno/lyrics`,e,t)}async upload(e,t){return await U.post(`/suno/upload`,e,{headers:{authorization:`Bearer ${t.token}`,"content-type":`application/json`},baseURL:H})}async mp4(e,t){return await U.post(`/suno/mp4`,e,{headers:{authorization:`Bearer ${t.token}`,"content-type":`application/json`},baseURL:H})}async style(e,t){return this.submitExact(`/suno/style`,e,t)}async wav(e,t){return this.submitExact(`/suno/wav`,e,t)}async midi(e,t){return this.submitExact(`/suno/midi`,e,t)}async persona(e,t){return this.submitExact(`/suno/persona`,e,t)}async vox(e,t){return this.submitExact(`/suno/vox`,e,t)}async timing(e,t){return this.submitExact(`/suno/timing`,e,t)}async voices(e,t){return this.submitExact(`/suno/voices`,e,t)}async mashupLyrics(e,t){return await U.post(`/suno/mashup-lyrics`,e,{headers:{authorization:`Bearer ${t.token}`,"content-type":`application/json`},baseURL:H})}async createCustomModel(e,t){return U.post(`/suno/custom-models`,e,{headers:{...Oh,authorization:`Bearer ${t.token}`,"Idempotency-Key":t.idempotencyKey},baseURL:H})}async generateWithCustomModel(e,t){return U.post(`/suno/custom-models`,e,{headers:{...Oh,authorization:`Bearer ${t.token}`},baseURL:H})}async customModelsList(e,t){return U.post(`/suno/custom-models`,{action:`retrieve_batch`,...e},{headers:{...Oh,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async customModelRetrieve(e,t){return U.post(`/suno/custom-models`,{action:`retrieve`,id:e},{headers:{...Oh,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async customModelArchive(e,t){return U.post(`/suno/custom-models`,{action:`delete`,id:e},{headers:{...Oh,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async personasList(e,t){return await U.get(`/suno/persona`,{params:e,headers:{authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async personasDelete(e,t){return await U.delete(`/suno/persona`,{params:e,headers:{authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}},Mh={"content-type":`application/json`,accept:`application/json`},Nh={...Mh,"x-record-exempt":`true`};function Ph(e){let t={...e||{},audio:void 0,async:!0};for(let e of[`prompt`,`lyric`,`lyric_prompt`,`style`,`title`])typeof t[e]==`string`&&(t[e]=t[e]?.trim());return t}var Fh=new class{async task(e,t){return U.post(`/producer/tasks`,{action:`retrieve`,id:e},t.mode===`x402`?{headers:Nh,baseURL:Ur}:{headers:{...Nh,authorization:`Bearer ${t.token}`},baseURL:H})}async tasks(e,t){return U.post(`/producer/tasks`,{action:`retrieve_batch`,...e.ids?{ids:e.ids}:{},...e.userId?{user_id:e.userId}:{},...e.type?{type:e.type}:{},...e.applicationId?{application_id:e.applicationId}:{},...e.limit===void 0?{}:{limit:e.limit},...e.offset===void 0?{}:{offset:e.offset},...e.createdAtMax===void 0?{}:{created_at_max:e.createdAtMax},...e.createdAtMin===void 0?{}:{created_at_min:e.createdAtMin}},t.mode===`x402`?{headers:Nh,baseURL:Ur}:{headers:{...Nh,authorization:`Bearer ${t.token}`},baseURL:H})}async quoteAudio(e){return rm(`/producer/audios`,e,Mh)}async quoteLyric(e){return rm(`/producer/lyrics`,e,Mh)}async quoteWav(e){return rm(`/producer/wav`,e,Mh)}async quoteVideo(e){return rm(`/producer/videos`,e,Mh)}async submit(e,t,n){if(n.mode===`x402`){if(!n.x402)throw Error(`x402 payment options are required`);return om(e,t,n.x402,Mh)}return U.post(e,t,{headers:{...Mh,authorization:`Bearer ${n.token}`},baseURL:H})}async audio(e,t){return this.submit(`/producer/audios`,e,t)}async lyric(e,t){return this.submit(`/producer/lyrics`,e,t)}async wav(e,t){return this.submit(`/producer/wav`,e,t)}async upload(e,t){return U.post(`/producer/upload`,e,{headers:{...Mh,authorization:`Bearer ${t.token}`},baseURL:H})}async video(e,t){return this.submit(`/producer/videos`,e,t)}},Ih=new class{async rate(e){return ef.post(`/exchange-rate`,e)}},Lh=new class extends Fm{constructor(){super({tasksPath:`/nano-banana/tasks`,generatePath:`/nano-banana/images`})}},Rh=new class extends Fm{constructor(){super({tasksPath:`/openai/tasks`,generatePath:`/openai/images/generations`})}async edit(e,t){let n=new FormData;return e.model&&n.append(`model`,e.model),e.prompt&&n.append(`prompt`,e.prompt),e.size&&n.append(`size`,e.size),e.quality&&n.append(`quality`,e.quality),e.async&&n.append(`async`,`true`),(e.image_urls||[]).forEach(e=>{n.append(`image`,e)}),U.post(`/openai/images/edits`,n,{baseURL:H,headers:{authorization:`Bearer ${t.token}`,"content-type":`multipart/form-data`,accept:`application/json`}})}},zh=new class{async task(e,t){return await U.post(`/seedream/tasks`,{action:`retrieve`,id:e},{headers:{accept:`application/json`,"content-type":`application/json`,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async tasks(e,t){return await U.post(`/seedream/tasks`,{action:`retrieve_batch`,...e.ids?{ids:e.ids}:{},...e.applicationId?{application_id:e.applicationId}:{},...e.userId?{user_id:e.userId}:{},...e.type?{type:e.type}:{},...e.limit===void 0?{}:{limit:e.limit},...e.offset===void 0?{}:{offset:e.offset},...e.createdAtMax===void 0?{}:{created_at_max:e.createdAtMax},...e.createdAtMin===void 0?{}:{created_at_min:e.createdAtMin}},{headers:{accept:`application/json`,"content-type":`application/json`,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async generate(e,t){return await U.post(`/seedream/images`,e,{headers:{authorization:`Bearer ${t.token}`,"content-type":`application/json`,accept:`application/x-ndjson`},baseURL:H})}},Bh=new class{async task(e,t){return await U.post(`/qwen-image/tasks`,{action:`retrieve`,id:e},{headers:{accept:`application/json`,"content-type":`application/json`,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async tasks(e,t){return await U.post(`/qwen-image/tasks`,{action:`retrieve_batch`,...e.ids?{ids:e.ids}:{},...e.applicationId?{application_id:e.applicationId}:{},...e.userId?{user_id:e.userId}:{},...e.type?{type:e.type}:{},...e.limit===void 0?{}:{limit:e.limit},...e.offset===void 0?{}:{offset:e.offset},...e.createdAtMax===void 0?{}:{created_at_max:e.createdAtMax},...e.createdAtMin===void 0?{}:{created_at_min:e.createdAtMin}},{headers:{accept:`application/json`,"content-type":`application/json`,authorization:`Bearer ${t.token}`,"x-record-exempt":`true`},baseURL:H})}async generate(e,t){return await U.post(`/qwen-image/images`,e,{headers:{authorization:`Bearer ${t.token}`,"content-type":`application/json`,accept:`application/x-ndjson`},baseURL:H})}};function Vh(e){let t=(e.audios??[]).filter(e=>e?.url),n=(e.videos??[]).filter(e=>e?.url);if(t.length===0&&n.length===0){let{audios:t,videos:n,content:r,...i}=e;return i}let r=[],i=(e.prompt??``).trim();i&&r.push({type:`text`,text:i}),(e.images??[]).forEach(e=>{e?.url&&r.push({type:`image_url`,role:e.role,image_url:{url:e.url}})}),t.forEach(e=>r.push({type:`audio_url`,role:`reference_audio`,audio_url:{url:e.url}})),n.forEach(e=>r.push({type:`video_url`,role:`reference_video`,video_url:{url:e.url}}));let{prompt:a,images:o,audios:s,videos:c,...l}=e;return{...l,content:r}}var Hh=new class extends Fm{constructor(){super({tasksPath:`/seedance/tasks`,generatePath:`/seedance/videos`})}async quote(e){return super.quote(Vh(e))}async generate(e,t){return super.generate(Vh(e),t)}};function Uh(e){let t={...e||{},async:!0};return typeof t.prompt==`string`&&(t.prompt=t.prompt.trim(),t.prompt||delete t.prompt),typeof t.image_url==`string`&&!t.image_url.trim()&&delete t.image_url,(nn(t.model)||!(Array.isArray(t.reference_image_urls)&&t.reference_image_urls.length))&&delete t.reference_image_urls,t}var Wh=new class extends Fm{constructor(){super({tasksPath:`/grok/tasks`,generatePath:`/grok/videos`})}};function Gh(e){let t={...e||{},async:!0};return typeof t.prompt==`string`&&(t.prompt=t.prompt.trim(),t.prompt||delete t.prompt),Array.isArray(t.image_urls)&&(t.image_urls=t.image_urls.filter(e=>typeof e==`string`&&e.trim()),t.image_urls.length||delete t.image_urls),Array.isArray(t.video_urls)&&(t.video_urls=t.video_urls.filter(e=>typeof e==`string`&&e.trim()),t.video_urls.length||delete t.video_urls),t}var Kh=new class extends Fm{constructor(){super({tasksPath:`/gemini/tasks`,generatePath:`/gemini/videos`})}},qh={"content-type":`application/json`,accept:`application/json`};function Jh(e){return{query:e?.query?.trim(),type:e?.type,number:e?.number,page:e?.page,country:e?.country,language:e?.language,range:e?.range}}var Yh=new class{async quote(e){return rm(`/serp/google`,e,qh)}async search(e,t){if(t.mode===`x402`){if(!t.x402)throw Error(`x402 payment options are required`);return om(`/serp/google`,e,t.x402,qh)}return U.post(`/serp/google`,e,{headers:{...qh,authorization:`Bearer ${t.token}`},baseURL:H})}};function Xh(e){let t={...e||{},async:!0};return typeof t.prompt==`string`&&(t.prompt=t.prompt.trim()),t.model===`wan3.0-video`&&(t.media=(t.media_text||``).split(`
|
|
8
|
-
`).map(e=>e.trim()).filter(Boolean).map(e=>{let t=e.indexOf(`=`);return{type:t>0?e.slice(0,t):``,url:t>0?e.slice(t+1):e}}).filter(e=>e.type&&e.url),delete t.action,delete t.image_url),delete t.media_text,t}var Zh=new class extends Fm{constructor(){super({tasksPath:`/wan/tasks`,generatePath:`/wan/videos`})}},Qh=new class{async render(e,t){return await U.post(`/webextrator/render`,e,{headers:{authorization:`Bearer ${t.token}`,"content-type":`application/json`,accept:`application/json`},baseURL:H,timeout:15e4})}async extract(e,t){return await U.post(`/webextrator/extract`,e,{headers:{authorization:`Bearer ${t.token}`,"content-type":`application/json`,accept:`application/json`},baseURL:H,timeout:18e4})}},$h=new class extends Fm{constructor(){super({tasksPath:`/fish/tasks`,generatePath:`/fish/tts`})}async generateTts(e,t){let{model:n,...r}=e,i=t.model??n??`s2-pro`;return U.post(`/fish/tts`,r,{baseURL:H,headers:{"content-type":`application/json`,accept:`application/x-ndjson`,model:i,authorization:`Bearer ${t.token}`}})}async listModels(e,t){return U.get(`/fish/model`,{baseURL:H,params:{self:e.self??!0,page_size:e.page_size??10,page_number:e.page_number??1,...e.title?{title:e.title}:{}},headers:{accept:`application/json`,authorization:`Bearer ${t.token}`}})}async getModel(e,t){return U.get(`/fish/model/${e}`,{baseURL:H,headers:{accept:`application/json`,authorization:`Bearer ${t.token}`}})}async createModel(e,t){return U.post(`/fish/model`,{type:`tts`,...e},{baseURL:H,headers:{"content-type":`application/json`,accept:`application/json`,authorization:`Bearer ${t.token}`}})}},eg=new class{key=`config`;async get(){return await ef.get(`/${this.key}/`)}},tg=new class{async get(e,t){return ef.get(`/app-version/`,{params:{app:e,platform:t},timeout:5e3})}},ng=new class{headers(e){return{authorization:`Bearer ${e}`,"content-type":`application/json`,accept:`application/json`}}async claimPair(e,t){return await U.post(`/pair/claim`,{pair_code:e},{headers:this.headers(t.token),baseURL:Jn})}async getNodes(e){return await U.get(`/api/nodes`,{headers:this.headers(e.token),baseURL:Jn})}async renameNode(e,t,n){return await U.patch(`/api/nodes/${encodeURIComponent(e)}`,{name:t},{headers:this.headers(n.token),baseURL:Jn})}async deleteNode(e,t){return await U.delete(`/api/nodes/${encodeURIComponent(e)}`,{headers:this.headers(t.token),baseURL:Jn})}async getPushConfig(){return await U.get(`/api/push/config`,{baseURL:Jn})}async savePushSubscription(e,t){return await U.post(`/api/push/subscriptions`,e,{headers:this.headers(t.token),baseURL:Jn})}async deletePushSubscription(e,t){return await U.delete(`/api/push/subscriptions`,{data:e,headers:this.headers(t.token),baseURL:Jn})}},rg=new class{async create(e){return G.post(`/content-reports/`,e)}},ig=6e4,ag=U.create({baseURL:`${xc()}/api/v1`,timeout:1e4}),og=new class{cache=new Map;list(e,t=`en`){let n=t.trim().toLowerCase()||`en`,r=`${n}:${e||`*`}`,i=Date.now(),a=this.cache.get(r);if(a&&a.expiresAt>i)return a.request;let o=ag.get(`/showcases/`,{headers:{"Accept-Language":n},params:e?{service:e}:void 0});return this.cache.set(r,{expiresAt:i+ig,request:o}),o.catch(()=>this.cache.delete(r)),o}clearCache(){this.cache.clear()}},sg=new class{key=`site-home-sections`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}async getPublic(e,t){return await ef.get(`/${this.key}/public/`,{params:{origin:e,lang:t}})}async create(e){return await G.post(`/${this.key}/`,e)}async update(e,t){return await G.patch(`/${this.key}/${e}/`,t)}async delete(e){return await G.delete(`/${this.key}/${e}/`)}};function cg(){return q.getters?.site?.auth?.login_mode===`iframe`?`iframe`:`redirect`}function lg(){return cg()===`iframe`}var ug=async({commit:e,dispatch:t})=>{e(`resetToken`),e(`resetUser`),e(`setApplications`,void 0);let{getRegisteredLazyModules:n}=await W(async()=>{let{getRegisteredLazyModules:e}=await Promise.resolve().then(()=>xC);return{getRegisteredLazyModules:e}},void 0);for(let e of n())await t(`${e}/resetAll`)},dg=({commit:e})=>{e(`resetUser`)},fg=({commit:e})=>{e(`resetSite`)},pg=({commit:e})=>{e(`resetToken`)},mg=async({state:e,commit:t},n)=>{if(ti()||e.token?.access&&e.token.access!==n.access){let r=await Ag(n);if(!ti()&&r.id===e.user?.id){t(`setToken`,n),t(`setUser`,r),t(`rememberCurrentAccount`);return}return t(`rememberCurrentAccount`),ii(e,{user:r,token:n}),!0}t(`setToken`,n)},hg=({commit:e},t)=>{e(`setUser`,t)},gg=({commit:e},t)=>{e(`setCurrency`,t)},_g=({commit:e},t)=>{e(`setExchange`,t)},vg=({commit:e},t)=>{e(`setFingerprint`,t)},yg=async({state:e,commit:t})=>{console.debug(`start to get user`);let n=e.token.access;try{t(`resetUser`);let{data:r}=await af.getMe();return e.token.access===n?(t(`setUser`,r),t(`rememberCurrentAccount`),console.debug(`get user success`,r),r):void 0}catch(e){console.error(`get user failed`,e);return}},bg=du({load:()=>W(()=>import(`./fp.esm-DXwZrSgh.js`).then(e=>e.default.load()),[])}),xg=async({commit:e})=>{let t=await bg();return e(`setFingerprint`,t),t},Sg=async({commit:e,dispatch:t},n)=>{console.debug(`start to get token using code`,n);try{ti()||e(`resetToken`);let{data:r}=await Em.token({code:n});console.debug(`get token success`,r);let i={access:r.access_token,refresh:r.refresh_token,expiration:r.expires_in};if(ti()){await t(`setToken`,i);return}return e(`setToken`,i),console.debug(`get token success`,r),i}catch(e){console.error(`get token failed`,e)}},Cg=async({state:e,commit:t},n)=>{if(n.source===n.target)return;let r=`${n.source}-${n.target}`;console.debug(`start to get exchange rate`,r);try{let{data:i}=await Ih.rate(n);return console.debug(`get exchange rate success`,i),t(`setExchange`,{[r]:i.rate}),e.exchange[r]}catch{console.error(`get exchange rate failed`)}},wg=async({state:e,commit:t})=>{console.debug(`start to initialize site`),e.status.getSite=V.Request;let n=An(e?.site);try{let{data:r}=await bh.initialize({origin:n});t(`setSite`,r),e.status.getSite=V.Success,console.debug(`initialize site success`,r)}catch(t){e.status.getSite=V.Error,console.error(`initialize site failed`,t)}},Tg=async({state:e,commit:t})=>{console.debug(`start to get site`),e.status.getSite=V.Request;try{let n=An(e?.site),{data:r}=await bh.getAll({origin:n});if(!Array.isArray(r?.items))throw Error(`Invalid site response`);let i=r.items[0];return t(`setSite`,i),e.status.getSite=V.Success,console.debug(`get site success`,i),i}catch(t){e.status.getSite=V.Error,console.error(`get site failed`,t);return}},Eg=async({commit:e})=>{console.debug(`start to fetch config`);try{let{data:t}=await eg.get();return e(`setConfig`,t),t}catch(t){console.error(`fetch config failed`,t),e(`setConfig`,void 0);return}},Dg=async({commit:e},t)=>{console.debug(`set applications`,t),e(`setApplications`,t)},Og=async({commit:e,state:t})=>{console.debug(`start to get applications for global`),t.status.getApplications=V.Request;try{let{data:n}=await rf.getAll({limit:100,offset:0,user_id:`me`,ordering:`-created_at`,type:It.USAGE,scope:zt.GLOBAL,affiliation:[`owner`,`granted`]});return console.debug(`global applications from online`,n),t.status.getApplications=V.Success,e(`setApplications`,n.items),n.items}catch(n){console.error(`get applications failed for global`,n),t.status.getApplications=V.Error,e(`setApplications`,void 0)}},kg=async({commit:e,state:t})=>{let n=t.application;if(console.debug(`prepare to create credential for application`,n),!n){console.error(`Application not found`);return}console.debug(`creating create credential for application`,n);let{data:r}=await Om.create({application_id:n?.id,host:window.location.origin});return console.debug(`created credential success`,r),e(`setCredential`,r),console.debug(`end createCredential`),r};async function Ag(e){let{data:t}=await U.get(`${xc()}/api/v1/users/me`,{headers:{Authorization:`Bearer ${e.access}`},timeout:2e4});if(!t?.id)throw Error(`Invalid account response`);return t}var jg={state:lu,mutations:uu,actions:{addAccount:async({commit:e,dispatch:t})=>{e(`rememberCurrentAccount`),$r(),await t(`login`,{redirect:`/`,addAccount:!0})},switchAccount:async({state:e,commit:t},n)=>{if(n===e.user?.id)return;let r=e.accounts.find(e=>e.user.id===n);if(!r)return;let i=await Ag(r.token);if(i.id!==n)throw Error(`Account identity mismatch`);t(`rememberCurrentAccount`),ii(e,{user:i,token:r.token})},login:async({state:e,commit:t},n={})=>{let r=e?.site?.origin,i=n.redirect||window.location.pathname+window.location.search+window.location.hash;fr()||ir()||lg()?(t(`setAuth`,{flow:`popup`,visible:!0,redirect:i,action:n.addAccount?`logout`:`login`}),console.debug(`login popup`)):(t(`setAuth`,{flow:`redirect`,visible:!0,redirect:i,action:`login`}),console.debug(`login redirect`),Eu({redirect:i,site:r,addAccount:n.addAccount}))},logout:async({dispatch:e,commit:t})=>{if(ei(),t(`forgetCurrentAccount`),await e(`resetAll`),fr()||ir()||lg())t(`setAuth`,{flow:`popup`,visible:!0,redirect:window.location.pathname+window.location.search+window.location.hash,action:fr()||ir()?`login`:`logout`});else{let e=Cc(),t=Sc(),n=window.location.origin,r=Tu(),i=`${t}/auth/callback?${new URLSearchParams({redirect:window.location.pathname+window.location.search+window.location.hash}).toString()}`,a={site:n,...r?{inviter_id:r}:{},redirect:i},o=`${e}/auth/login/?${new URLSearchParams(a).toString()}`,s=`${e}/auth/logout?${new URLSearchParams({redirect:o}).toString()}`;window.location.href=s}},resetToken:pg,resetAll:ug,resetUser:dg,resetSite:fg,setToken:mg,setFingerprint:vg,setCurrency:gg,setUser:hg,getFingerprint:xg,getExchangeRate:Cg,getToken:Sg,getUser:yg,initializeSite:wg,getSite:Tg,fetchConfig:Eg,setExchange:_g,setApplications:Dg,getApplications:Og,createCredential:kg},getters:{authenticated:e=>!!e.token.access,user:e=>e.user,token:e=>e.token,site:e=>e.site,config:e=>e.config,fingerprint:e=>e.fingerprint,setting:e=>e.setting}},Mg=[`accounts`,`user`,`token`,`setting`,`locale`,`dark`,`config`,`currency`,`exchange`,`fingerprint`];function Ng(e){if(!e||e.messages===void 0)return e;let{messages:t,...n}=e;return n}var Pg=Object.values(Object.assign({"./chat/persist.ts":wc,"./codingBridge/persist.ts":Ec,"./digitalhuman/persist.ts":Oc,"./fish/persist.ts":Ac,"./flux/persist.ts":Mc,"./grokvideo/persist.ts":Pc,"./hailuo/persist.ts":Ic,"./kling/persist.ts":Rc,"./luma/persist.ts":Bc,"./maestro/persist.ts":Hc,"./midjourney/persist.ts":Wc,"./minimax/persist.ts":Kc,"./nanobanana/persist.ts":Jc,"./omni/persist.ts":Xc,"./openaiimage/persist.ts":Qc,"./pika/persist.ts":el,"./pixverse/persist.ts":nl,"./producer/persist.ts":il,"./qrart/persist.ts":ol,"./qwenimage/persist.ts":cl,"./seedance/persist.ts":ul,"./seedream/persist.ts":fl,"./serp/persist.ts":ml,"./sora/persist.ts":gl,"./suno/persist.ts":vl,"./veo/persist.ts":bl,"./wan/persist.ts":Sl,"./webextrator/persist.ts":wl})).flatMap(e=>e.default),Fg=e=>{if(!e||typeof e!=`object`)return!1;let t=e;return t.name===`QuotaExceededError`||t.name===`NS_ERROR_DOM_QUOTA_REACHED`||t.code===22||t.code===1014},Ig={get length(){return window.localStorage.length},clear:()=>window.localStorage.clear(),key:e=>window.localStorage.key(e),getItem:e=>window.localStorage.getItem(e),removeItem:e=>window.localStorage.removeItem(e),setItem:(e,t)=>{if(!ni())try{window.localStorage.setItem(e,t)}catch(n){if(!Fg(n))throw n;try{window.localStorage.removeItem(e),window.localStorage.setItem(e,t)}catch{}}}},Lg=[...Mg,...Pg],Rg=(e,t)=>t.split(`.`).reduce((e,t)=>e?.[t],e),zg=(e,t,n)=>{let r=t.split(`.`),i=e;r.forEach((e,t)=>{t===r.length-1?i[e]=n:(i[e]=i[e]??{},i=i[e])})},Bg=e=>{let t={};for(let n of Lg){let r=Rg(e,n);r!==void 0&&(n===`chat.conversations`&&Array.isArray(r)&&(r=r.map(e=>Ng(e))),zg(t,n,r))}return t},q=Vt({...jg,plugins:[Pl({paths:Lg,reducer:Bg,storage:Ig})]});window.addEventListener(`storage`,e=>ai(e,q.state.token?.access));var Vg=`user_id`,Hg=`site`,Ug=e=>{if(vn())return e;let t=typeof window<`u`?window.location?.origin:``;if(!t)return e;try{let n=new URL(e);return n.searchParams.has(`site`)||n.searchParams.set(Hg,t),n.toString()}catch{return`${e}${e.includes(`?`)?`&`:`?`}${Hg}=${encodeURIComponent(t)}`}},Wg=e=>{let t=new URLSearchParams;for(let[n,r]of Object.entries(e.query))n!==`user_id`&&r!=null&&(Array.isArray(r)?r.forEach(e=>e!=null&&t.append(n,String(e))):t.set(n,String(r)));let n=t.toString();return e.path+(n?`?${n}`:``)},Gg=e=>{let t=e.query[Vg],n=Array.isArray(t)?t[0]:t;if(!n)return{kind:`passthrough`};let r=q.getters?.user?.id;if(r&&String(r)===String(n)){let{[Vg]:t,...n}=e.query;return{kind:`strip`,redirect:{path:e.path,query:n,replace:!0}}}q.dispatch(`resetAll`);let i=Wg(e);return lg()?q.dispatch(`login`,{redirect:i}):Eu({redirect:i}),{kind:`mismatch`}},Kg=new Set(`co.uk,org.uk,gov.uk,ac.uk,me.uk,ltd.uk,plc.uk,co.jp,or.jp,ne.jp,ac.jp,go.jp,ad.jp,ed.jp,gr.jp,lg.jp,co.kr,or.kr,ne.kr,go.kr,re.kr,pe.kr,es.kr,sc.kr,hs.kr,ms.kr,co.in,org.in,net.in,firm.in,gen.in,ind.in,ac.in,edu.in,res.in,gov.in,co.id,or.id,ac.id,web.id,sch.id,go.id,mil.id,net.id,biz.id,co.za,org.za,net.za,web.za,gov.za,ac.za,co.nz,org.nz,net.nz,ac.nz,school.nz,govt.nz,co.il,org.il,net.il,ac.il,gov.il,muni.il,idf.il,co.th,or.th,ac.th,go.th,in.th,mi.th,net.th,com.cn,net.cn,org.cn,gov.cn,edu.cn,ac.cn,mil.cn,com.au,net.au,org.au,edu.au,gov.au,asn.au,id.au,com.br,net.br,org.br,gov.br,edu.br,com.mx,org.mx,gob.mx,edu.mx,com.ar,org.ar,gob.ar,edu.ar,net.ar,com.tr,net.tr,org.tr,edu.tr,gov.tr,gen.tr,biz.tr,com.tw,org.tw,net.tw,edu.tw,gov.tw,idv.tw,mil.tw,game.tw,com.hk,org.hk,net.hk,edu.hk,gov.hk,idv.hk,com.sg,org.sg,net.sg,edu.sg,gov.sg,per.sg,com.my,org.my,net.my,gov.my,edu.my,mil.my,com.vn,net.vn,org.vn,edu.vn,gov.vn,biz.vn,pro.vn,name.vn,com.ph,net.ph,org.ph,gov.ph,edu.ph,com.pk,net.pk,org.pk,edu.pk,gov.pk,com.ru,net.ru,org.ru,pp.ru,msk.ru,spb.ru,com.ua,net.ua,org.ua,gov.ua,edu.ua,kiev.ua,com.ng,net.ng,org.ng,gov.ng,edu.ng,co.ke,or.ke,ne.ke,go.ke,ac.ke,sc.ke,co.tz,or.tz,ne.tz,go.tz,ac.tz,sc.tz,co.ug,or.ug,ne.ug,go.ug,ac.ug,sc.ug`.split(`,`)),qg=e=>/^\d{1,3}(?:\.\d{1,3}){3}$/.test(e)||/^\[[0-9a-f:]+\]$/i.test(e),Jg=(e=window.location.hostname)=>{if(!e||e===`localhost`||qg(e))return e;let t=e.split(`.`);if(t.length<2)return e;let n;return n=t.length>=3&&Kg.has(t.slice(-2).join(`.`))?t.slice(-3).join(`.`):t.slice(-2).join(`.`),n===e?e:`.`+n};function Yg(e){e===`dark`?document.documentElement.classList.add(`dark`):document.documentElement.classList.remove(`dark`),document.documentElement.style.colorScheme=e===`dark`?`dark`:`light`}function Xg(){return typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}var Zg=null,Qg=null;function $g(e){if(Zg&&Qg&&(Zg.removeEventListener(`change`,Qg),Zg=null,Qg=null),e===`system`){Yg(Xg()),typeof window<`u`&&window.matchMedia&&(Zg=window.matchMedia(`(prefers-color-scheme: dark)`),Qg=e=>Yg(e.matches?`dark`:`light`),Zg.addEventListener(`change`,Qg));return}Yg(e===`dark`?`dark`:`light`)}var e_=`#277186`,t_=[`--el-color-primary`,`--el-color-primary-light-3`,`--el-color-primary-light-5`,`--el-color-primary-light-7`,`--el-color-primary-light-8`,`--el-color-primary-light-9`,`--el-color-primary-dark-2`,`--app-brand-bg-light`,`--app-brand-bg-dark`,`--app-brand-rgb`,`--app-brand-hex`,`--app-brand-hex-dark-2`,`--app-brand-hex-light-7`,`--app-gradient-brand`,`--app-gradient-brand-hover`],n_=/^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i,r_=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;function i_(e,t,n){return Math.min(Math.max(e,t),n)}function a_(e){if(!e||typeof e!=`string`)return null;let t=e.trim(),n=t.match(r_);if(n)return{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)};let r=t.match(n_);return r?{r:parseInt(r[1]+r[1],16),g:parseInt(r[2]+r[2],16),b:parseInt(r[3]+r[3],16)}:null}function o_({r:e,g:t,b:n}){let r=e=>i_(Math.round(e),0,255).toString(16).padStart(2,`0`);return`#`+r(e)+r(t)+r(n)}function s_(e,t,n){return{r:e.r*(1-n)+t.r*n,g:e.g*(1-n)+t.g*n,b:e.b*(1-n)+t.b*n}}var c_={r:255,g:255,b:255},l_={r:0,g:0,b:0},u_={r:13,g:17,b:23};function d_(e){let t=document.documentElement.style,n=a_(e||``);if(!n){for(let e of t_)t.removeProperty(e);return}let r=s_(n,c_,.3),i=s_(n,c_,.5),a=s_(n,c_,.7),o=s_(n,c_,.8),s=s_(n,c_,.9),c=s_(n,l_,.2),l=s_(u_,n,.18);t.setProperty(`--el-color-primary`,o_(n)),t.setProperty(`--el-color-primary-light-3`,o_(r)),t.setProperty(`--el-color-primary-light-5`,o_(i)),t.setProperty(`--el-color-primary-light-7`,o_(a)),t.setProperty(`--el-color-primary-light-8`,o_(o)),t.removeProperty(`--el-color-primary-light-9`),t.setProperty(`--el-color-primary-dark-2`,o_(c)),t.setProperty(`--app-brand-bg-light`,o_(s)),t.setProperty(`--app-brand-bg-dark`,o_(l)),t.setProperty(`--app-brand-rgb`,`${Math.round(n.r)}, ${Math.round(n.g)}, ${Math.round(n.b)}`),t.setProperty(`--app-brand-hex`,o_(n)),t.setProperty(`--app-brand-hex-dark-2`,o_(c)),t.setProperty(`--app-brand-hex-light-7`,o_(a));let u=`linear-gradient(135deg, ${o_(n)} 0%, ${o_(c)} 50%, ${o_(i)} 100%)`,d=`linear-gradient(135deg, ${o_(c)} 0%, ${o_(s_(n,l_,.35))} 50%, ${o_(c)} 100%)`;t.setProperty(`--app-gradient-brand`,u),t.setProperty(`--app-gradient-brand-hover`,d)}typeof window<`u`&&(window.getDomain=Jg);var f_=async()=>{let e=new URLSearchParams(window.location.search),t=e.get(`inviter_id`);if(t){let e=new Date;e.setDate(e.getDate()+7),console.debug(`set INVITER_ID to cookies`,t),bu(`INVITER_ID`,t,{expires:e,path:`/`,domain:Jg()})}let n=e.get(`theme`);n?(console.log(`set THEME to cookies`,n),bu(`THEME`,n,{path:`/`,domain:Jg()})):xu(`THEME`)||(console.debug(`set THEME to cookies`,`dark`),bu(`THEME`,`dark`,{path:`/`,domain:Jg()}));let r=e.get(`lang`),i;r?i=In(r):xu(`LOCALE`)||(i=In()),i&&(console.debug(`set LOCALE to cookies`,i),bu(`LOCALE`,i,{path:`/`,domain:Jg()}))},p_=async()=>{let e=q.state.site?.title||``,t=document.querySelector(`title`);t||(t=document.createElement(`title`),document.head.appendChild(t)),t.innerHTML=e},m_=async()=>{let e=q.state.site?.description||``,t=document.querySelector(`meta[name="description"]`);t||(t=document.createElement(`meta`),t.setAttribute(`name`,`description`),document.head.appendChild(t)),t.setAttribute(`content`,e)},h_=async()=>{let e=q.state.site?.keywords?.join(`,`)||``,t=document.querySelector(`meta[name="keywords"]`);t||(t=document.createElement(`meta`),t.setAttribute(`name`,`keywords`),document.head.appendChild(t)),t.setAttribute(`content`,e)},g_=`https://cdn.acedata.cloud/favicon.ico`,__=`https://cdn.acedata.cloud/apple-touch-icon.png`,v_=async()=>{let e=q.state.site?.favicon||``;[{rel:`icon`,href:e||g_},{rel:`apple-touch-icon`,href:e||__}].forEach(({rel:e,href:t})=>{let n=document.querySelector(`link[rel="${e}"]`);n||(n=document.createElement(`link`),n.rel=e,document.head.appendChild(n)),n.href=t})},y_=async()=>{let e=await q.dispatch(`getSite`);if(q.state.status.getSite===V.Success){if(!e&&!q.state.token?.access){await q.dispatch(`login`);return}q.state.token?.access&&(!e||e.origin&&!e.admins?.length)&&await q.dispatch(`initializeSite`)}},b_=async()=>{await q.dispatch(`fetchConfig`)},x_=async()=>{let e=new URLSearchParams(window.location.search).get(`code`);console.debug(`get code`,e);let t=`oauth_code_used`;if(e){if(q.state.token?.access&&!ti()){console.debug(`access token already exists, skip code exchange`);return}if(sessionStorage.getItem(t)===e){console.debug(`code already exchanged in this session, skip`);return}console.debug(`start get token by code`,e);try{let n=await q.dispatch(`getToken`,e);sessionStorage.setItem(t,e);let r=new URL(window.location.href);r.searchParams.delete(`code`),window.history.replaceState({},document.title,r.toString()),console.debug(`success get token`,n)}catch(e){throw sessionStorage.removeItem(t),e}}},S_=async()=>{let e=xu(`THEME`)||`dark`;console.debug(`initialize theme`,e),$g(e);let t=q.state.site?.theme?.primary_color;console.debug(`initialize primary color`,t||`(default)`),d_(t||null)},C_=async()=>{if(!q.state.token?.access){console.debug(`no access token, skip get user`);return}console.debug(`start to get user`);let e=await q.dispatch(`getUser`);console.debug(`get user`,e)},w_=async()=>{let e=xu(`LOCALE`);console.debug(`initialize currency`,e);let t=yc,n=`usd`;e&&t[e]&&(n=t[e]),console.debug(`set currency`,n),await q.dispatch(`setCurrency`,n)},T_=async()=>{let e=xu(`LOCALE`),t=yc;if(!e||!t[e])return;let n={source:`usd`,target:t[e]};console.debug(`initialize exchange rate`,n),await q.dispatch(`getExchangeRate`,n)},E_=async()=>{let e=new URL(window.location.href);return!wn()||e.hostname!==yr||e.pathname.startsWith(`/auth/`)?!1:(e.hostname=`${new Date().toISOString().slice(0,10).replace(/-/g,``)}.${yr}`,window.location.replace(e.toString()),!0)},D_=async()=>{await q.dispatch(`getFingerprint`)},O_=Object.create,k_=Object.defineProperty,A_=Object.getOwnPropertyDescriptor,j_=Object.getOwnPropertyNames,M_=Object.getPrototypeOf,N_=Object.prototype.hasOwnProperty,P_=(e,t)=>function(){return t||(0,e[j_(e)[0]])((t={exports:{}}).exports,t),t.exports},F_=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of j_(t))!N_.call(e,i)&&i!==n&&k_(e,i,{get:()=>t[i],enumerable:!(r=A_(t,i))||r.enumerable});return e},I_=((e,t,n)=>(n=e==null?{}:O_(M_(e)),F_(t||!e||!e.__esModule?k_(n,`default`,{value:e,enumerable:!0}):n,e)))(P_({"node_modules/toggle-selection/index.js"(e,t){t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case`INPUT`:case`TEXTAREA`:t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type===`Caret`&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}}})(),1).default,L_=`Copy to clipboard: #{key}, Enter`;function R_(e){var t=((navigator.userAgentData?/mac/i.test(navigator.userAgentData.platform):/mac os x/i.test(navigator.userAgent))?`⌘`:`Ctrl`)+`+C`;return e.replace(/#{\s*key\s*}/g,t)}function z_(e,t){var n={};return n[`text/plain`]=new Blob([e],{type:`text/plain`}),t&&t!==`text/plain`&&(n[t]=new Blob([e],{type:t})),new ClipboardItem(n)}async function B_(e,t){if(!t.format&&!t.onCopy)return await navigator.clipboard.writeText(e),!0;var n=z_(e,t.format);return t.onCopy&&(n=t.onCopy(n)||n),await navigator.clipboard.write([n]),!0}function V_(e,t){var n=document.createElement(`span`);return n.textContent=e,n.ariaHidden=`true`,n.style.all=`unset`,n.style.position=`fixed`,n.style.top=`0`,n.style.clip=`rect(0, 0, 0, 0)`,n.style.whiteSpace=`pre`,n.style.webkitUserSelect=`text`,n.style.MozUserSelect=`text`,n.style.msUserSelect=`text`,n.style.userSelect=`text`,n.addEventListener(`copy`,function(n){n.stopPropagation(),t.format&&(n.preventDefault(),n.clipboardData&&n.clipboardData.setData(t.format,e)),t.onCopy&&n.clipboardData&&t.onCopy(n.clipboardData)}),n}function H_(){let e=document.activeElement;for(;e;){if(e.tagName===`DIALOG`&&e.open)return e;e=e.parentElement}return null}function U_(e,t){var n=I_(),r=document.createRange(),i=document.getSelection(),a=V_(e,t),o=H_()||document.fullscreenElement||document.body,s=!1;try{if(o.appendChild(a),r.selectNodeContents(a),i.removeAllRanges(),i.addRange(r),!document.execCommand(`copy`))throw Error(`copy command was unsuccessful`);s=!0}finally{typeof i.removeRange==`function`?i.removeRange(r):i.removeAllRanges(),o.removeChild(a),n()}return s}async function W_(e,t={}){var n=t.debug||!1;if(window.isSecureContext&&navigator.clipboard)try{return await B_(e,t)}catch(e){n&&console.error(`unable to copy using navigator.clipboard: `,e),n&&console.warn(`falling back to execCommand`)}else n&&!window.isSecureContext&&console.warn(`copy-to-clipboard: navigator.clipboard requires a secure context (HTTPS/localhost). Falling back to execCommand.`);try{return U_(e,t)}catch(i){if(n&&console.error(`unable to copy using execCommand: `,i),n&&console.error(`falling back to prompt`),t.fallbackToPrompt){var r=R_(`message`in t?t.message:L_);window.prompt(r,e)}}return!1}var G_=W_,K_=`<svg viewBox="0 0 24 24" width="14" height="14" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>`,q_=`<svg viewBox="0 0 24 24" width="14" height="14" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/></svg>`,J_=async e=>{let t=(await W(async()=>{let{default:e}=await import(`./vendor-highlight-PMOaWWrP.js`).then(e=>e.g);return{default:e}},__vite__mapDeps([8,1,9]))).default;e.querySelectorAll(`pre code`).forEach(e=>{let n=e.parentElement;if(!n)return;let r=e.classList.contains(`hljs`);!r&&e.dataset.highlighted&&(delete e.dataset.highlighted,e.className=e.className.split(/\s+/).filter(e=>e&&e!==`hljs`&&!e.startsWith(`language-`)).join(` `));let i=()=>{r||(`highlightElement`in t?t.highlightElement(e):t.highlightBlock(e))};if(n.dataset.hasCopy===`1`){i();return}let a=document.createElement(`div`);a.className=`relative`,n.parentNode.insertBefore(a,n),a.appendChild(n),n.classList.add(`overflow-auto`);let o=document.createElement(`button`);o.type=`button`,o.dataset.copyBtn=`1`,o.className=`code-copy-btn`,o.setAttribute(`aria-label`,un.global.t(`common.button.copy`).toString()),o.innerHTML=K_;let s;o.addEventListener(`click`,async()=>{try{if(!await G_(e.innerText))return}catch{return}o.classList.add(`is-copied`),o.setAttribute(`aria-label`,un.global.t(`common.message.copied`).toString()),o.innerHTML=q_,s!==void 0&&window.clearTimeout(s),s=window.setTimeout(()=>{o.classList.remove(`is-copied`),o.setAttribute(`aria-label`,un.global.t(`common.button.copy`).toString()),o.innerHTML=K_,s=void 0},3e3)}),a.appendChild(o),n.dataset.hasCopy=`1`,i()})},Y_=e(n(((e,t)=>{(function(n,r){typeof define==`function`&&define.amd?define(r):typeof e==`object`?t.exports=r():n.jsonLogic=r()})(e,function(){Array.isArray||(Array.isArray=function(e){return Object.prototype.toString.call(e)===`[object Array]`});function e(e){for(var t=[],n=0,r=e.length;n<r;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}var t={},n={"==":function(e,t){return e==t},"===":function(e,t){return e===t},"!=":function(e,t){return e!=t},"!==":function(e,t){return e!==t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"<":function(e,t,n){return n===void 0?e<t:e<t&&t<n},"<=":function(e,t,n){return n===void 0?e<=t:e<=t&&t<=n},"!!":function(e){return t.truthy(e)},"!":function(e){return!t.truthy(e)},"%":function(e,t){return e%t},log:function(e){return console.log(e),e},in:function(e,t){return!t||t.indexOf===void 0?!1:t.indexOf(e)!==-1},cat:function(){return Array.prototype.join.call(arguments,``)},substr:function(e,t,n){if(n<0){var r=String(e).substr(t);return r.substr(0,r.length+n)}return String(e).substr(t,n)},"+":function(){return Array.prototype.reduce.call(arguments,function(e,t){return parseFloat(e,10)+parseFloat(t,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(e,t){return parseFloat(e,10)*parseFloat(t,10)})},"-":function(e,t){return t===void 0?-e:e-t},"/":function(e,t){return e/t},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(e,t){return e.concat(t)},[])},var:function(e,t){var n=t===void 0?null:t,r=this;if(e===void 0||e===``||e===null)return r;for(var i=String(e).split(`.`),a=0;a<i.length;a++)if(r==null||(r=r[i[a]],r===void 0))return n;return r},missing:function(){for(var e=[],n=Array.isArray(arguments[0])?arguments[0]:arguments,r=0;r<n.length;r++){var i=n[r],a=t.apply({var:i},this);(a===null||a===``)&&e.push(i)}return e},missing_some:function(e,n){var r=t.apply({missing:n},this);return n.length-r.length>=e?[]:r}};return t.is_logic=function(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).length===1},t.truthy=function(e){return Array.isArray(e)&&e.length===0?!1:!!e},t.get_operator=function(e){return Object.keys(e)[0]},t.get_values=function(e){return e[t.get_operator(e)]},t.apply=function(e,r){if(Array.isArray(e))return e.map(function(e){return t.apply(e,r)});if(!t.is_logic(e))return e;var i=t.get_operator(e),a=e[i],o,s,c,l,u;if(Array.isArray(a)||(a=[a]),i===`if`||i==`?:`){for(o=0;o<a.length-1;o+=2)if(t.truthy(t.apply(a[o],r)))return t.apply(a[o+1],r);return a.length===o+1?t.apply(a[o],r):null}else if(i===`and`){for(o=0;o<a.length;o+=1)if(s=t.apply(a[o],r),!t.truthy(s))return s;return s}else if(i===`or`){for(o=0;o<a.length;o+=1)if(s=t.apply(a[o],r),t.truthy(s))return s;return s}else if(i===`filter`)return l=t.apply(a[0],r),c=a[1],Array.isArray(l)?l.filter(function(e){return t.truthy(t.apply(c,e))}):[];else if(i===`map`)return l=t.apply(a[0],r),c=a[1],Array.isArray(l)?l.map(function(e){return t.apply(c,e)}):[];else if(i===`reduce`)return l=t.apply(a[0],r),c=a[1],u=a[2]===void 0?null:t.apply(a[2],r),Array.isArray(l)?l.reduce(function(e,n){return t.apply(c,{current:n,accumulator:e})},u):u;else if(i===`all`){if(l=t.apply(a[0],r),c=a[1],!Array.isArray(l)||!l.length)return!1;for(o=0;o<l.length;o+=1)if(!t.truthy(t.apply(c,l[o])))return!1;return!0}else if(i===`none`){if(l=t.apply(a[0],r),c=a[1],!Array.isArray(l)||!l.length)return!0;for(o=0;o<l.length;o+=1)if(t.truthy(t.apply(c,l[o])))return!1;return!0}else if(i===`some`){if(l=t.apply(a[0],r),c=a[1],!Array.isArray(l)||!l.length)return!1;for(o=0;o<l.length;o+=1)if(t.truthy(t.apply(c,l[o])))return!0;return!1}if(a=a.map(function(e){return t.apply(e,r)}),n.hasOwnProperty(i)&&typeof n[i]==`function`)return n[i].apply(r,a);if(i.indexOf(`.`)>0){var d=String(i).split(`.`),f=n;for(o=0;o<d.length;o++){if(!f.hasOwnProperty(d[o]))throw Error(`Unrecognized operation `+i+` (failed at `+d.slice(0,o+1).join(`.`)+`)`);f=f[d[o]]}return f.apply(r,a)}throw Error(`Unrecognized operation `+i)},t.uses_data=function(n){var r=[];if(t.is_logic(n)){var i=t.get_operator(n),a=n[i];Array.isArray(a)||(a=[a]),i===`var`?r.push(a[0]):a.forEach(function(e){r.push.apply(r,t.uses_data(e))})}return e(r)},t.add_operation=function(e,t){n[e]=t},t.rm_operation=function(e){delete n[e]},t.rule_like=function(e,n){if(n===e||n===`@`)return!0;if(n===`number`)return typeof e==`number`;if(n===`string`)return typeof e==`string`;if(n===`array`)return Array.isArray(e)&&!t.is_logic(e);if(t.is_logic(n)){if(t.is_logic(e)){var r=t.get_operator(n),i=t.get_operator(e);if(r===`@`||r===i)return t.rule_like(t.get_values(e,!1),t.get_values(n,!1))}return!1}if(Array.isArray(n))if(Array.isArray(e)){if(n.length!==e.length)return!1;for(var a=0;a<n.length;a+=1)if(!t.rule_like(e[a],n[a]))return!1;return!0}else return!1;return!1},t})}))(),1);function X_(e,t){if(!(!t||!Array.isArray(t))){for(let n of t)if(Y_.default.apply(n.conditions,e))return Y_.default.apply(n.consumption,e);return 0}}function Z_(e){let t=e.defaultCurrency??`usd`;function n(n){let r=e.getExchange(),i=n.value,a=n.currency??e.getCurrency()??t,o=e.currencyLabels[a];if(r){let e=r[`usd-${a}`];e&&(i*=e)}return{value:i,currency:a,label:o}}function r(e){let t=e.value??e.defaultValue;if(t===void 0)return``;let r=n({value:t});return`${r.label}${r.value?.toFixed(e.fractionDigits??2)}`}function i(e,t=4){if(e==null)return`-`;let r=n({value:e});return`${r.label}${r.value.toFixed(t).replace(/\.?0+$/,``)}`}return{getPrice:n,getPriceString:r,getConsumptionPriceString:i}}var Q_=Z_({getExchange:()=>q.state.exchange,getCurrency:()=>q.state.currency,currencyLabels:bc});Q_.getPrice;var $_=Q_.getPriceString,ev=(e,t)=>X_(e,t);function tv(e){if(!e?.expired_at)return!1;try{return new Date(e?.expired_at)<new Date}catch{return!1}}function nv(e){return console.debug(`application remaining amount`,e,e?.remaining_amount),e?.remaining_amount&&e?.remaining_amount<0}function rv(e){if(!e)return console.debug(`application is undefined, return false`),!1;let t=nv(e),n=tv(e);return console.debug(`is application exhausted`,t),console.debug(`is application expired`,n),!t&&!n}function iv(e,t){if(console.debug(`start to execute getFinalApplication`,e,t),t){let n=e?.find(e=>e.id===t.id);if(n)return console.debug(`current application is preserved (respect user selection)`,n),n}console.debug(`get final application from applications`,e);let n=e?.find(e=>e.scope===zt.GLOBAL&&e.type===It.PERIOD);if(console.debug(`application1`,n),rv(n))return console.debug(`application with global scope and Period type`,n),n;let r=e?.find(e=>e.scope===zt.GLOBAL&&e.type===It.USAGE);if(console.debug(`application2`,r),rv(r))return console.debug(`application with global scope and Usage type`,r),r;let i=e?.find(e=>(e.scope===zt.INDIVIDUAL&&e?.type)===It.PERIOD);if(console.debug(`application3`,i),rv(i))return console.debug(`application with Period type`,i),i;let a=e?.find(e=>(e.scope===zt.INDIVIDUAL&&e?.type)===It.USAGE);return console.debug(`application4`,a),rv(a)?(console.debug(`application with Usage type`,a),a):n||r||i||a}var av=`index`,ov=`business`,sv=`download`,cv=`share-conversation`,lv=`auth-login`,uv=`auth-callback`,dv=`settings-index`,fv=`settings-local-tools`,pv=`chatgpt-conversation`,mv=`chatgpt-conversation-new`,hv=`chatgpt-call`,gv=`chat-scheduled-tasks`,_v=`chat-artifacts`,vv=`deepseek-conversation`,yv=`deepseek-conversation-new`,bv=`grok-conversation`,xv=`grok-conversation-new`,Sv=`gemini-conversation`,Cv=`gemini-conversation-new`,wv=`claude-conversation`,Tv=`claude-conversation-new`,Ev=`kimi-conversation`,Dv=`kimi-conversation-new`,Ov=`midjourney-index`,kv=`qrart-index`,Av=`luma-index`,jv=`luma-history`,Mv=`pika-index`,Nv=`kling-index`,Pv=`kling-history`,Fv=`veo-index`,Iv=`veo-history`,Lv=`sora-index`,Rv=`sora-history`,zv=`maestro-index`,Bv=`poivelle-index`,Vv=`digitalhuman-index`,Hv=`pixverse-index`,Uv=`pixverse-history`,Wv=`flux-index`,Gv=`hailuo-index`,Kv=`hailuo-history`,qv=`minimax-index`,Jv=`suno-index`,Yv=`suno-history`,Xv=`producer-index`,Zv=`nanobanana-index`,Qv=`openaiimage-index`,$v=`seedream-index`,ey=`qwenimage-index`,ty=`seedance-index`,ny=`grokvideo-index`,ry=`omni-index`,iy=`serp-index`,ay=`wan-index`,oy=`fish-tts-index`,sy=`fish-model-index`,cy=`webextrator-index`,ly=`coding-bridge-index`,uy=`order-public-pay`,dy=`console-root`,fy=`console-order-list`,py=`console-order-detail`,my=`console-application-list`,hy=`console-application-extra`,gy=`console-application-subscribe`,_y=`distribution-index`,vy=`distribution-history`,yy=`distribution-invitees`,by=`console-usage-list`,xy=`console-connectors`,Sy=`console-skills`,Cy=`console-browser-devices`,wy=`not-found`;function Ty(e){if(e?.id){if(e.type===It.USAGE)return{name:hy,params:{id:e.id}};if(e.type===It.PERIOD)return{name:gy,params:{id:e.id}}}}function Ey(e,t,n={}){return!Ty(e)||e?.role===`grantee`||xn(t)?!1:!n.ios||e?.scope===zt.GLOBAL?!0:e?.type===It.PERIOD?!1:(e?.packages||[]).some(e=>e.type===Ft.USAGE&&!!e.metadata?.apple_product_id)}function Dy(e){let t=Number(e??0);return Number.isFinite(t)&&t>0?t:0}function Oy(e,t){let n=Dy(e.remaining_amount);if(e.scope===zt.GLOBAL||!e.allow_consume_global)return n;let r=t.find(t=>t.scope===zt.GLOBAL&&t.user_id===e.user_id);return Math.max(n,Dy(r?.remaining_amount))}var ky=(e,t)=>{if(!t)return!0;let n=t.split(`,`).map(e=>e.trim().toLowerCase()).filter(Boolean);if(!n.length)return!0;let r=e.name.toLowerCase(),i=(e.type||``).toLowerCase();return n.some(e=>e.startsWith(`.`)?r.endsWith(e):e.endsWith(`/*`)?i.startsWith(e.slice(0,-1)):i===e)},Ay=e=>{try{let t=e.name.lastIndexOf(`.`),n=t>0?e.name.slice(0,t):e.name||`upload`,r=t>0?e.name.slice(t):``,i=Date.now().toString(36)+Math.random().toString(36).slice(2,6);return new File([e],`${n}-${i}${r||`.png`}`,{type:e.type||`image/png`,lastModified:Date.now()})}catch{return e}},jy=(e,t)=>{if(e)if(typeof e.handleStart==`function`){if(e.handleStart(t),typeof e.submit==`function`)try{e.submit()}catch{}}else typeof e.handleAdd==`function`&&e.handleAdd(t)},My=[],Ny=null,Py=!1,Fy=()=>{if(!My.length)return null;if(Ny){let e=My.find(e=>e.id===Ny);if(e)return e}return My[My.length-1]},Iy=e=>{if(!My.length)return;let t=document.activeElement;if(t){let n=t.tagName,r=t.isContentEditable;if(n===`INPUT`||n===`TEXTAREA`||r){let t=e.clipboardData?.items;if(!(t&&Array.from(t).some(e=>e.kind===`file`)))return}}let n=e.clipboardData?.items;if(!n||n.length===0)return;let r=[];for(let e=0;e<n.length;e+=1){let t=n[e];if(t.kind===`file`){let e=t.getAsFile();e&&r.push(e)}}if(!r.length)return;let i=Fy();if(!i)return;let a=r.filter(e=>ky(e,i.accept));a.length&&(e.preventDefault(),a.forEach(e=>{i.handleFile(Ay(e))}))},Ly=()=>{Py||typeof document>`u`||(document.addEventListener(`paste`,Iy,!0),Py=!0)},Ry=e=>{Ly(),My.push(e);let t=()=>{Ny=e.id};return e.el&&(e.el.addEventListener(`mouseenter`,t),e.el.addEventListener(`focusin`,t)),()=>{let n=My.findIndex(t=>t.id===e.id);n>=0&&My.splice(n,1),Ny===e.id&&(Ny=null),e.el&&(e.el.removeEventListener(`mouseenter`,t),e.el.removeEventListener(`focusin`,t))}},zy={computed:{pasteAccept(){return`.png,.jpg,.jpeg,.gif,.bmp,.webp`}},mounted(){let e=Symbol(`paste-upload-target`),t=this.$el instanceof HTMLElement?this.$el:null;this.__pasteUploadCleanup=Ry({id:e,accept:this.pasteAccept,el:t,handleFile:e=>{Du()&&jy(this.$refs?.uploader,e)}})},beforeUnmount(){this.__pasteUploadCleanup&&=(this.__pasteUploadCleanup(),void 0)}},By=z(!1),Vy=z(null),Hy=[],Uy=0,Wy=!1,Gy=e=>{let t=e.dataTransfer?.types;return t?Array.from(t).includes(`Files`):!1},Ky=e=>{if(!(e instanceof Node))return null;for(let t=Hy.length-1;t>=0;--t){let n=Hy[t];if(n.isDisabled?.())continue;let r=n.getEl();if(r&&r.contains(e))return n}return null},qy=()=>{Uy=0,By.value=!1,Vy.value=null},Jy=e=>{Gy(e)&&(Uy+=1,By.value=!0)},Yy=e=>{if(!By.value)return;let t=Ky(e.target);t?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`copy`),Vy.value=t.id):Vy.value=null},Xy=e=>{Gy(e)&&(Uy=Math.max(0,Uy-1),(Uy===0||!e.relatedTarget)&&(Uy=0,By.value=!1,Vy.value=null))},Zy=e=>{let t=By.value||Gy(e),n=Ky(e.target);if(qy(),!t||!n)return;let r=e.dataTransfer?.files;if(!r||r.length===0)return;e.preventDefault(),e.stopPropagation();let i=Array.from(r).filter(e=>ky(e,n.getAccept?.()));i.length&&i.forEach(e=>n.handleFile(Ay(e)))},Qy=()=>{Wy||typeof document>`u`||(document.addEventListener(`dragenter`,Jy,!0),document.addEventListener(`dragover`,Yy,!0),document.addEventListener(`dragleave`,Xy,!0),document.addEventListener(`drop`,Zy,!0),window.addEventListener(`dragend`,qy,!0),window.addEventListener(`blur`,qy),Wy=!0)},$y=e=>(Qy(),Hy.push(e),()=>{let t=Hy.findIndex(t=>t.id===e.id);t>=0&&Hy.splice(t,1),Vy.value===e.id&&(Vy.value=null)}),eb=`drop-upload-overlay`,tb=`drop-upload-host--dragging`,nb=(e,t)=>t||e.querySelector(`input[type="file"]`)?.accept||void 0,rb=()=>{try{return un.global.t(`common.message.dropToUpload`)}catch{return`Drop to upload`}},ib=()=>{let e=document.createElement(`div`);e.className=eb,e.setAttribute(`aria-hidden`,`true`);let t=document.createElement(`span`);return t.className=`${eb}__label`,e.appendChild(t),e},ab={computed:{dropAccept(){},dropDisabled(){return!1}},mounted(){this.__dropId=Symbol(`drop-upload-target`),this.__syncDropRegistration(),this.$nextTick(()=>this.__syncDropRegistration())},updated(){this.__syncDropRegistration()},beforeUnmount(){this.__dropStopWatch&&this.__dropStopWatch(),this.__dropCleanup&&this.__dropCleanup(),this.__dropRegisteredEl&&this.__dropRegisteredEl.classList.remove(tb),this.__dropOverlay?.parentElement&&this.__dropOverlay.parentElement.removeChild(this.__dropOverlay),this.__dropOverlay=null,this.__dropRegisteredEl=null,this.__dropVisible=!1,this.__dropActive=!1,this.__dropStopWatch=void 0,this.__dropCleanup=void 0},methods:{__syncDropRegistration(){let e=this.$el instanceof HTMLElement?this.$el:null;e&&(this.__dropRegisteredEl===e&&this.__dropCleanup||(this.__dropCleanup&&this.__dropCleanup(),this.__dropRegisteredEl&&this.__dropRegisteredEl.classList.remove(tb),this.__dropOverlay?.parentElement&&this.__dropOverlay.parentElement.removeChild(this.__dropOverlay),this.__dropOverlay=null,this.__dropVisible=!1,this.__dropActive=!1,getComputedStyle(e).position===`static`&&(e.style.position=`relative`),this.__dropRegisteredEl=e,this.__dropCleanup=$y({id:this.__dropId,getAccept:()=>nb(this.$el instanceof HTMLElement?this.$el:e,this.dropAccept),isDisabled:()=>!!this.dropDisabled,getEl:()=>this.$el instanceof HTMLElement?this.$el:null,handleFile:e=>{this.dropDisabled||!Du()||jy(this.$refs?.uploader,Ay(e))}}),this.__dropStopWatch||=N(()=>({visible:By.value&&!this.dropDisabled,active:Vy.value===this.__dropId}),({visible:e,active:t})=>this.__toggleOverlay(e,t),{immediate:!1})))},__toggleOverlay(e,t){let n=this.__dropRegisteredEl;if(!n||this.__dropVisible===e&&this.__dropActive===t)return;let r=this.__dropVisible===!0;if(this.__dropVisible=e,this.__dropActive=t,e){this.__dropOverlay||=ib();let e=this.__dropOverlay.querySelector(`.${eb}__label`);e&&(e.textContent=rb()),this.__dropOverlay.parentElement||n.appendChild(this.__dropOverlay),n.classList.add(tb),r||this.__dropOverlay.offsetWidth,this.__dropOverlay.classList.add(`${eb}--visible`),this.__dropOverlay.classList.toggle(`${eb}--active`,t)}else this.__dropOverlay&&(this.__dropOverlay.classList.remove(`${eb}--visible`,`${eb}--active`),n.classList.remove(tb))}}},ob=e=>{let t=e?.status;return t===`ready`||t===`uploading`},sb=e=>String(e?.uid??JSON.stringify(e)),cb={inject:{uploadTracker:{default:null}},watch:{fileList:{deep:!0,immediate:!0,handler(e){let t=this.uploadTracker;if(!t)return;let n=this.__pendingUploadUids??new Set,r=new Set;for(let t of e||[])ob(t)&&r.add(sb(t));let i=0;for(let e of r)n.has(e)||(i+=1);for(let e of n)r.has(e)||--i;if(i!==0){let e=t.count+i;t.count=e>0?e:0}this.__pendingUploadUids=r}}},beforeUnmount(){let e=this.uploadTracker,t=this.__pendingUploadUids;if(e&&t&&t.size>0){let n=e.count-t.size;e.count=n>0?n:0}this.__pendingUploadUids=void 0}},lb={data(){return{uploadTracker:{count:0}}},provide(){return{uploadTracker:this.uploadTracker}}};function ub(e,t,n){return e&&e.count>0?(n(t(`common.message.uploadInProgress`)),!1):!0}var db=100*1024*1024,fb=e=>{if(!Number.isFinite(e)||e<0)return`0 B`;if(e<1024)return`${e} B`;let t=[`KB`,`MB`,`GB`],n=e/1024,r=t[0];for(let e=1;e<t.length&&n>=1024;e+=1)n/=1024,r=t[e];return`${n<10?n.toFixed(1):Math.round(n)} ${r}`},pb=(e,t=db)=>e<=Math.min(t,db),mb=(e=db)=>Math.min(e,db),hb={methods:{beforeUploadSizeGuard(e){let t=mb(this.uploadSizeLimitBytes??104857600);return pb(e.size,t)?!0:(Ht.error(this.$t(`common.message.uploadTooLarge`,{size:fb(e.size),max:fb(t)})),!1)}}};function gb(e,t){let n=e?{connect:e}:void 0;if(t){t.push({path:`/console/connectors`,query:n});return}let r=new URL(`/console/connectors`,window.location.origin);e&&r.searchParams.set(`connect`,e),window.location.href=r.toString()}var _b=`FEATURES`,vb=`__all__`,yb=`!`,bb=1,xb=null;function Sb(){return typeof window>`u`?!0:window.location.protocol===`https:`}function Cb(){if(typeof document>`u`)return new Set;try{let e=xu(_b);return e?new Set(JSON.parse(e)):new Set}catch{return new Set}}function wb(e){if(!(typeof document>`u`))try{if(e.size===0){Cu(_b,{path:`/`});return}bu(_b,JSON.stringify(Array.from(e)),{expires:bb,path:`/`,sameSite:`lax`,secure:Sb()})}catch{}}function Tb(e){let t=new Set,n=new Set,r=!1,i=!1;for(let a of e.split(/[\s,]+/)){let e=a.trim().toLowerCase();if(e){if(e===`clear`||e===`none`||e===`off`){r=!0;continue}if(e===`all`||e===`*`){i=!0;continue}if(e.startsWith(`-`)||e.startsWith(`!`)){n.add(e.slice(1));continue}t.add(e)}}return{clear:r,all:i,add:t,remove:n}}function Eb(){if(typeof window>`u`)return xb=new Set,xb;let e=Cb(),t=new URLSearchParams(window.location.search).get(`features`);if(t===null)return xb=e,e;let{clear:n,all:r,add:i,remove:a}=Tb(t);return n&&e.clear(),r&&e.add(vb),i.forEach(t=>{e.delete(yb+t),e.add(t)}),a.forEach(t=>{e.delete(t),e.add(yb+t)}),wb(e),xb=e,e}var Db=!1,Ob=new Set,kb,Ab=`apple-iap-pending-transactions`,jb={};function Mb(){try{let e=JSON.parse(window.localStorage.getItem(Ab)||`{}`);for(let[t,n]of Object.entries(e)){let e=n;e?.orderId===t&&e.productId&&/^\d+$/.test(e.transactionId)&&(jb[t]=e)}}catch{}return jb}function Nb(e){jb[e.orderId]=e,Fb()}function Pb(e){delete jb[e],Fb()}function Fb(){try{window.localStorage.setItem(Ab,JSON.stringify(jb))}catch{}}function Ib(e,t){return e?.state===`Finished`&&e?.pay_id===t}function Lb(e,t){return/^\d+$/.test(String(e?.transactionId||``))&&e?.products?.some(e=>e.id===t)}function Rb(){return window.CdvPurchase}async function zb(e=8e3){let t=Date.now();for(;Date.now()-t<e;){let e=Rb();if(e?.store)return e;await new Promise(e=>setTimeout(e,200))}return Rb()}async function Bb(e,t,n){if(n?.aborted)return{ok:!1,cancelled:!0};if(kb)return kb.orderId===e?kb.promise:{ok:!1,error:`purchase_in_progress`};let r=Vb(e,t,n);kb={orderId:e,promise:r};try{return await r}finally{kb?.promise===r&&(kb=void 0)}}async function Vb(e,t,n){if(!Nr())return{ok:!1,error:`iap_only_ios`};if(!t)return{ok:!1,error:`missing_product_id`};let r=await zb();if(n?.aborted)return{ok:!1,cancelled:!0};if(!r?.store)return{ok:!1,error:`iap_unavailable`};let{store:i,ProductType:a,Platform:o,ErrorCode:s}=r;try{if(i.register([{id:t,type:a.CONSUMABLE,platform:o.APPLE_APPSTORE}]),!Db){let e=await i.initialize([o.APPLE_APPSTORE]);if(e?.length)return{ok:!1,error:e[0].message||`iap_unavailable`};Db=!0}else if(!Ob.has(t)){let e=i.minTimeBetweenUpdates;try{i.minTimeBetweenUpdates=0,await i.update()}finally{i.minTimeBetweenUpdates=e}}Ob.add(t)}catch(e){return{ok:!1,error:e?.message||`iap_unavailable`}}if(n?.aborted)return{ok:!1,cancelled:!0};let c=Mb()[e];if(c)try{if(!Ib((await vm.get(e)).data,c.transactionId)&&!Ib((await vm.appleVerify(e,c.transactionId)).data,c.transactionId))throw Error(`verify_pending`);let t=i.localTransactions?.find(e=>e.transactionId===c.transactionId);if(t&&await t.finish())throw Error(`finish_pending`);return Pb(e),{ok:!0,transactionId:c.transactionId}}catch{return{ok:!1,transactionId:c.transactionId,verificationPending:!0,error:`verify_pending`}}return Object.values(Mb()).some(e=>e.productId===t)?{ok:!1,verificationPending:!0,error:`purchase_pending_verification`}:new Promise(a=>{let c=!1,l=!1,u=!1,d=e=>{c||(c=!0,i.off(f),i.off(p),n?.removeEventListener(`abort`,m),a(e))},f=async n=>{if(c||l||!u||!Lb(n,t)||n.appAccountToken&&String(n.appAccountToken).toLowerCase()!==e.toLowerCase())return;l=!0;let r=String(n.transactionId);Nb({orderId:e,productId:t,transactionId:r});try{if(!Ib((await vm.appleVerify(e,r)).data,r))throw Error(`verify_pending`);if(await n.finish())throw Error(`finish_pending`);Pb(e),d({ok:!0,transactionId:r})}catch{d({ok:!1,transactionId:r,verificationPending:!0,error:`verify_pending`})}},p=e=>{c||l||e?.productId&&e.productId!==t||d({ok:!1,cancelled:e?.code===s?.PAYMENT_CANCELLED,error:e?.message||`iap_error`})},m=()=>{!u&&!l&&d({ok:!1,cancelled:!0})};i.when().approved(f),i.error(p),n?.addEventListener(`abort`,m,{once:!0}),(async()=>{try{let a=i.get(t,o.APPLE_APPSTORE)?.getOffer(),s=0;for(;!a&&s<15e3;){if(await i.update().catch(()=>{}),c||n?.aborted){m();return}await new Promise(e=>setTimeout(e,1500)),s+=1500,a=i.get(t,o.APPLE_APPSTORE)?.getOffer()}if(c||n?.aborted){m();return}if(!a){d({ok:!1,error:`product_not_found`});return}if(i.localTransactions?.some(e=>Lb(e,t)&&e.state===r.TransactionState?.APPROVED)){d({ok:!1,verificationPending:!0,error:`purchase_pending_verification`});return}i.applicationUsername=e,i.obfuscator=`disabled`,u=!0;let f=await i.order(a);f&&!l&&p(f)}catch(e){l||d({ok:!1,error:e?.message||`order_failed`})}})()})}var Hb=new Set([`==`,`===`,`in`,`<=`,`<`,`>=`,`>`]);function Ub(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Wb(e){if(!Ub(e)||!(`var`in e))return;let t=e.var;if(typeof t==`string`)return t;if(Array.isArray(t)&&typeof t[0]==`string`)return t[0]}function Gb(e){if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return String(e);if(Array.isArray(e)&&e.every(e=>[`string`,`number`,`boolean`].includes(typeof e)))return e.map(String).join(`, `)}function Kb(e,t){if(t.length<2)return;let n=Wb(t[0]),r=Wb(t[1]),i=n||r;if(!i)return;let a=Gb(n?t[1]:t[0]);if(a!==void 0)return e===`in`?{field:i,operator:`oneOf`,value:a}:e===`==`||e===`===`?{field:i,operator:`equals`,value:a}:{field:i,operator:(n?{"<=":`atMost`,"<":`lessThan`,">=":`atLeast`,">":`greaterThan`}:{"<=":`atLeast`,"<":`greaterThan`,">=":`atMost`,">":`lessThan`})[e]||`other`,value:a}}function qb(e,t){if(e!==`some`||t.length!==2)return;let[n,r]=t;if(Wb(n)!==`content`||!Ub(r)||!Array.isArray(r.in))return;let[i,a]=r.in;if(!(i!==`reference_video`||Wb(a)!==`role`))return{field:`referenceVideo`,operator:`equals`,value:`required`}}function Jb(e){if(!Ub(e)||Object.keys(e).length===0)return[];let t=Object.entries(e);if(t.length!==1)return;let[n,r]=t[0];if(!Array.isArray(r))return;if(n===`and`){let e=r.map(Jb);return e.some(e=>e===void 0)?void 0:e.flatMap(e=>e||[])}if(n===`or`){let e=r.map(Jb);if(e.some(e=>!e||e.length!==1))return;let t=e.flatMap(e=>e||[]),n=t[0];return n?t.every(e=>e.field===n.field)?[{field:n.field,operator:`either`,value:t.map(e=>e.value).join(`, `)}]:[{field:``,operator:`anyOf`,value:``,options:t}]:void 0}if(Hb.has(n))return[Kb(n,r)].filter(Boolean);let i=qb(n,r);return i?[i]:[{field:``,operator:`other`,value:``}]}function Yb(e){if(!Ub(e)||!Array.isArray(e[`*`])||e[`*`].length!==2)return;let[t,n]=e[`*`];if(typeof t==`number`){let e=Wb(n);return e?{amount:t,rateField:e}:void 0}if(typeof n==`number`){let e=Wb(t);return e?{amount:n,rateField:e}:void 0}}function Xb(e,t){return Ub(t)?e.map(e=>{let n=t[e.field];return typeof n==`string`?{...e,value:n}:e}):e}function Zb(e){return e>0&&e<1e-4?`<0.0001`:e<.01?e.toFixed(4):e.toFixed(4).replace(/0{1,2}$/,``)}function Qb(e){return Array.isArray(e)?e.flatMap((e,t)=>{if(!Ub(e)||e.hidden===!0)return[];let n=e,r=Xb(Jb(n.conditions)??[{field:``,operator:`other`,value:``}],n.remark),i={id:`pricing-rule-${t}`,conditions:r,unit:typeof n.unit==`string`?n.unit:void 0,remark:typeof n.remark==`string`?n.remark:void 0,estimated:n.estimated===!0,usageMetered:n.usage_metered===!0};if(typeof n.consumption==`number`&&Number.isFinite(n.consumption))return[{...i,billingKind:n.consumption===0?`free`:`fixed`,amount:n.consumption}];let a=Yb(n.consumption);return a?[{...i,billingKind:`linear`,...a}]:[{...i,billingKind:`calculated`}]}):[]}function $b(e){if(!Ub(e)||!Array.isArray(e.var))return;let t=e.var[1];return typeof t==`string`?t:void 0}function ex(e){if(!Ub(e))return[];let t=Object.entries(e);if(t.length!==1)return[];let[n,r]=t[0];if(!Array.isArray(r))return[];if(n===`and`||n===`or`)return r.flatMap(ex);if(n!==`==`&&n!==`===`&&n!==`in`)return[];let i=r.findIndex(e=>Wb(e)===`model`);if(i<0)return[];let a=r[+(i===0)],o=Array.isArray(a)?a.filter(e=>typeof e==`string`):typeof a==`string`?[a]:[];return o.length?[{values:o,defaultValue:$b(r[i])}]:[]}function tx(e,t,n){if(!Array.isArray(e)||!t?.length)return Array.isArray(e)?e:[];let r=new Set(t);return e.filter(e=>Ub(e)?ex(e.conditions).some(e=>(!n||e.defaultValue===n)&&e.values.some(e=>r.has(e))):!1)}function nx(e,t){if(e.operator===`anyOf`){let n=(e.options||[]).map(e=>nx(e,t)).filter(Boolean);return n.length?{...e,options:n}:void 0}if(e.field!==`model`&&e.field!==`model_name`)return e;let n=e.value.split(`,`).map(e=>e.trim()).filter(e=>t.has(e));return n.length?{...e,value:n.join(`, `)}:void 0}function rx(e,t){if(!t?.length)return e;let n=new Set(t);return e.flatMap(e=>{if(!e.conditions.some(e=>e.field===`model`||e.field===`model_name`||e.options?.some(e=>e.field===`model`||e.field===`model_name`)))return[];let t=e.conditions.map(e=>nx(e,n)).filter(Boolean);return t.some(e=>e.field===`model`||e.field===`model_name`||e.options?.some(e=>e.field===`model`||e.field===`model_name`))?[{...e,conditions:t}]:[]})}var ix=na(`Browser`,{web:()=>W(()=>import(`./web-OTda-796.js`).then(e=>new e.BrowserWeb),[])});function ax(e){try{return new URL(e).origin===new URL(Cc()).origin}catch{return!1}}function ox(){if(!(typeof window>`u`||fr()||ir()))return[`http:`,`https:`].includes(window.location.protocol)?window.location.origin:void 0}function sx(e){return ox()?Ug(e):e}function cx(e){if(!e)return;let t=new URL(`/connections/continue`,Cc());return t.searchParams.set(`handoff`,e),sx(t.toString())}function lx(e){let t=new URL(sx(e)),n=`${t.pathname}${t.search}${t.hash}`,r=new URL(`/auth/login/`,Cc());return r.searchParams.set(`redirect`,n),sx(r.toString())}async function ux(e){if(!ax(e))return e;let t=lx(e);try{let{data:e}=await Tm.getCode(),n=new URL(t);return n.searchParams.set(`code`,e.code),n.toString()}catch(e){return console.warn(`failed to hand off session to AuthFrontend`,e),t}}async function dx(e,t){return ux((t?cx(t):void 0)||e)}var fx=async e=>{let t=new URL(e,Cc()).toString(),n=fr()?null:window.open(`about:blank`,`_blank`),r=await ux(t);fr()?await ix.open({url:r}):n?n.location.replace(r):window.location.href=r},px=n(((e,t)=>{t.exports=function(){return typeof Promise==`function`&&Promise.prototype&&Promise.prototype.then}})),mx=n((e=>{var t,n=[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];e.getSymbolSize=function(e){if(!e)throw Error(`"version" cannot be null or undefined`);if(e<1||e>40)throw Error(`"version" should be in range from 1 to 40`);return e*4+17},e.getSymbolTotalCodewords=function(e){return n[e]},e.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t},e.setToSJISFunction=function(e){if(typeof e!=`function`)throw Error(`"toSJISFunc" is not a valid function.`);t=e},e.isKanjiModeEnabled=function(){return t!==void 0},e.toSJIS=function(e){return t(e)}})),hx=n((e=>{e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(t){if(typeof t!=`string`)throw Error(`Param is not a string`);switch(t.toLowerCase()){case`l`:case`low`:return e.L;case`m`:case`medium`:return e.M;case`q`:case`quartile`:return e.Q;case`h`:case`high`:return e.H;default:throw Error(`Unknown EC Level: `+t)}}e.isValid=function(e){return e&&e.bit!==void 0&&e.bit>=0&&e.bit<4},e.from=function(n,r){if(e.isValid(n))return n;try{return t(n)}catch{return r}}})),gx=n(((e,t)=>{function n(){this.buffer=[],this.length=0}n.prototype={get:function(e){let t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},t.exports=n})),_x=n(((e,t)=>{function n(e){if(!e||e<1)throw 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)}n.prototype.set=function(e,t,n,r){let i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)},n.prototype.get=function(e,t){return this.data[e*this.size+t]},n.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},n.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},t.exports=n})),vx=n((e=>{var t=mx().getSymbolSize;e.getRowColCoords=function(e){if(e===1)return[];let n=Math.floor(e/7)+2,r=t(e),i=r===145?26:Math.ceil((r-13)/(2*n-2))*2,a=[r-7];for(let e=1;e<n-1;e++)a[e]=a[e-1]-i;return a.push(6),a.reverse()},e.getPositions=function(t){let n=[],r=e.getRowColCoords(t),i=r.length;for(let e=0;e<i;e++)for(let t=0;t<i;t++)e===0&&t===0||e===0&&t===i-1||e===i-1&&t===0||n.push([r[e],r[t]]);return n}})),yx=n((e=>{var t=mx().getSymbolSize,n=7;e.getPositions=function(e){let r=t(e);return[[0,0],[r-n,0],[0,r-n]]}})),bx=n((e=>{e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(e){return e!=null&&e!==``&&!isNaN(e)&&e>=0&&e<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(e){let n=e.size,r=0,i=0,a=0,o=null,s=null;for(let c=0;c<n;c++){i=a=0,o=s=null;for(let l=0;l<n;l++){let n=e.get(c,l);n===o?i++:(i>=5&&(r+=t.N1+(i-5)),o=n,i=1),n=e.get(l,c),n===s?a++:(a>=5&&(r+=t.N1+(a-5)),s=n,a=1)}i>=5&&(r+=t.N1+(i-5)),a>=5&&(r+=t.N1+(a-5))}return r},e.getPenaltyN2=function(e){let n=e.size,r=0;for(let t=0;t<n-1;t++)for(let i=0;i<n-1;i++){let n=e.get(t,i)+e.get(t,i+1)+e.get(t+1,i)+e.get(t+1,i+1);(n===4||n===0)&&r++}return r*t.N2},e.getPenaltyN3=function(e){let n=e.size,r=0,i=0,a=0;for(let t=0;t<n;t++){i=a=0;for(let o=0;o<n;o++)i=i<<1&2047|e.get(t,o),o>=10&&(i===1488||i===93)&&r++,a=a<<1&2047|e.get(o,t),o>=10&&(a===1488||a===93)&&r++}return r*t.N3},e.getPenaltyN4=function(e){let n=0,r=e.data.length;for(let t=0;t<r;t++)n+=e.data[t];return Math.abs(Math.ceil(n*100/r/5)-10)*t.N4};function n(t,n,r){switch(t){case e.Patterns.PATTERN000:return(n+r)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return r%3==0;case e.Patterns.PATTERN011:return(n+r)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case e.Patterns.PATTERN101:return n*r%2+n*r%3==0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error(`bad maskPattern:`+t)}}e.applyMask=function(e,t){let r=t.size;for(let i=0;i<r;i++)for(let a=0;a<r;a++)t.isReserved(a,i)||t.xor(a,i,n(e,a,i))},e.getBestMask=function(t,n){let r=Object.keys(e.Patterns).length,i=0,a=1/0;for(let o=0;o<r;o++){n(o),e.applyMask(o,t);let r=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(o,t),r<a&&(a=r,i=o)}return i}})),xx=n((e=>{var t=hx(),n=[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],r=[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];e.getBlocksCount=function(e,r){switch(r){case t.L:return n[(e-1)*4+0];case t.M:return n[(e-1)*4+1];case t.Q:return n[(e-1)*4+2];case t.H:return n[(e-1)*4+3];default:return}},e.getTotalCodewordsCount=function(e,n){switch(n){case t.L:return r[(e-1)*4+0];case t.M:return r[(e-1)*4+1];case t.Q:return r[(e-1)*4+2];case t.H:return r[(e-1)*4+3];default:return}}})),Sx=n((e=>{var t=new Uint8Array(512),n=new Uint8Array(256);(function(){let e=1;for(let r=0;r<255;r++)t[r]=e,n[e]=r,e<<=1,e&256&&(e^=285);for(let e=255;e<512;e++)t[e]=t[e-255]})(),e.log=function(e){if(e<1)throw Error(`log(`+e+`)`);return n[e]},e.exp=function(e){return t[e]},e.mul=function(e,r){return e===0||r===0?0:t[n[e]+n[r]]}})),Cx=n((e=>{var t=Sx();e.mul=function(e,n){let r=new Uint8Array(e.length+n.length-1);for(let i=0;i<e.length;i++)for(let a=0;a<n.length;a++)r[i+a]^=t.mul(e[i],n[a]);return r},e.mod=function(e,n){let r=new Uint8Array(e);for(;r.length-n.length>=0;){let e=r[0];for(let i=0;i<n.length;i++)r[i]^=t.mul(n[i],e);let i=0;for(;i<r.length&&r[i]===0;)i++;r=r.slice(i)}return r},e.generateECPolynomial=function(n){let r=new Uint8Array([1]);for(let i=0;i<n;i++)r=e.mul(r,new Uint8Array([1,t.exp(i)]));return r}})),wx=n(((e,t)=>{var n=Cx();function r(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}r.prototype.initialize=function(e){this.degree=e,this.genPoly=n.generateECPolynomial(this.degree)},r.prototype.encode=function(e){if(!this.genPoly)throw Error(`Encoder not initialized`);let t=new Uint8Array(e.length+this.degree);t.set(e);let r=n.mod(t,this.genPoly),i=this.degree-r.length;if(i>0){let e=new Uint8Array(this.degree);return e.set(r,i),e}return r},t.exports=r})),Tx=n((e=>{e.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}})),Ex=n((e=>{var t=`[0-9]+`,n=`[A-Z $%*+\\-./:]+`,r=`(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+`;r=r.replace(/u/g,`\\u`);var i=`(?:(?![A-Z0-9 $%*+\\-./:]|`+r+`)(?:.|[\r
|
|
9
|
-
]))+`;e.KANJI=new RegExp(r,`g`),e.BYTE_KANJI=RegExp(`[^A-Z0-9 $%*+\\-./:]+`,`g`),e.BYTE=new RegExp(i,`g`),e.NUMERIC=new RegExp(t,`g`),e.ALPHANUMERIC=new RegExp(n,`g`);var a=RegExp(`^`+r+`$`),o=RegExp(`^[0-9]+$`),s=RegExp(`^[A-Z0-9 $%*+\\-./:]+$`);e.testKanji=function(e){return a.test(e)},e.testNumeric=function(e){return o.test(e)},e.testAlphanumeric=function(e){return s.test(e)}})),
|
|
10
|
-
Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}},t.exports=i})),
|
|
11
|
-
Suggested mode is: `+t.toString(l));switch(c===t.KANJI&&!s.isKanjiModeEnabled()&&(c=t.BYTE),c){case t.NUMERIC:return new n(e);case t.ALPHANUMERIC:return new r(e);case t.KANJI:return new a(e);case t.BYTE:return new i(e)}}e.fromArray=function(e){return e.reduce(function(e,t){return typeof t==`string`?e.push(g(t,null)):t.data&&e.push(g(t.data,t.mode)),e},[])},e.fromString=function(t,n){let r=h(m(d(t,s.isKanjiModeEnabled())),n),i=c.find_path(r.map,`start`,`end`),a=[];for(let e=1;e<i.length-1;e++)a.push(r.table[i[e]].node);return e.fromArray(p(a))},e.rawSplit=function(t){return e.fromArray(d(t,s.isKanjiModeEnabled()))}})),
|
|
8
|
+
`).map(e=>e.trim()).filter(Boolean).map(e=>{let t=e.indexOf(`=`);return{type:t>0?e.slice(0,t):``,url:t>0?e.slice(t+1):e}}).filter(e=>e.type&&e.url),delete t.action,delete t.image_url),delete t.media_text,t}var Zh=new class extends Fm{constructor(){super({tasksPath:`/wan/tasks`,generatePath:`/wan/videos`})}},Qh=new class{async render(e,t){return await U.post(`/webextrator/render`,e,{headers:{authorization:`Bearer ${t.token}`,"content-type":`application/json`,accept:`application/json`},baseURL:H,timeout:15e4})}async extract(e,t){return await U.post(`/webextrator/extract`,e,{headers:{authorization:`Bearer ${t.token}`,"content-type":`application/json`,accept:`application/json`},baseURL:H,timeout:18e4})}},$h=new class extends Fm{constructor(){super({tasksPath:`/fish/tasks`,generatePath:`/fish/tts`})}async generateTts(e,t){let{model:n,...r}=e,i=t.model??n??`s2-pro`;return U.post(`/fish/tts`,r,{baseURL:H,headers:{"content-type":`application/json`,accept:`application/x-ndjson`,model:i,authorization:`Bearer ${t.token}`}})}async listModels(e,t){return U.get(`/fish/model`,{baseURL:H,params:{self:e.self??!0,page_size:e.page_size??10,page_number:e.page_number??1,...e.title?{title:e.title}:{}},headers:{accept:`application/json`,authorization:`Bearer ${t.token}`}})}async getModel(e,t){return U.get(`/fish/model/${e}`,{baseURL:H,headers:{accept:`application/json`,authorization:`Bearer ${t.token}`}})}async createModel(e,t){return U.post(`/fish/model`,{type:`tts`,...e},{baseURL:H,headers:{"content-type":`application/json`,accept:`application/json`,authorization:`Bearer ${t.token}`}})}},eg=new class{key=`config`;async get(){return await ef.get(`/${this.key}/`)}},tg=new class{async get(e,t){return ef.get(`/app-version/`,{params:{app:e,platform:t},timeout:5e3})}},ng=new class{headers(e){return{authorization:`Bearer ${e}`,"content-type":`application/json`,accept:`application/json`}}async claimPair(e,t){return await U.post(`/pair/claim`,{pair_code:e},{headers:this.headers(t.token),baseURL:Jn})}async getNodes(e){return await U.get(`/api/nodes`,{headers:this.headers(e.token),baseURL:Jn})}async renameNode(e,t,n){return await U.patch(`/api/nodes/${encodeURIComponent(e)}`,{name:t},{headers:this.headers(n.token),baseURL:Jn})}async deleteNode(e,t){return await U.delete(`/api/nodes/${encodeURIComponent(e)}`,{headers:this.headers(t.token),baseURL:Jn})}async getPushConfig(){return await U.get(`/api/push/config`,{baseURL:Jn})}async savePushSubscription(e,t){return await U.post(`/api/push/subscriptions`,e,{headers:this.headers(t.token),baseURL:Jn})}async deletePushSubscription(e,t){return await U.delete(`/api/push/subscriptions`,{data:e,headers:this.headers(t.token),baseURL:Jn})}},rg=new class{async create(e){return G.post(`/content-reports/`,e)}},ig=6e4,ag=U.create({baseURL:`${xc()}/api/v1`,timeout:1e4}),og=new class{cache=new Map;list(e,t=`en`){let n=t.trim().toLowerCase()||`en`,r=`${n}:${e||`*`}`,i=Date.now(),a=this.cache.get(r);if(a&&a.expiresAt>i)return a.request;let o=ag.get(`/showcases/`,{headers:{"Accept-Language":n},params:e?{service:e}:void 0});return this.cache.set(r,{expiresAt:i+ig,request:o}),o.catch(()=>this.cache.delete(r)),o}clearCache(){this.cache.clear()}},sg=new class{key=`site-home-sections`;async getAll(e){return await G.get(`/${this.key}/`,{params:e})}async getPublic(e,t){return await ef.get(`/${this.key}/public/`,{params:{origin:e,lang:t}})}async create(e){return await G.post(`/${this.key}/`,e)}async update(e,t){return await G.patch(`/${this.key}/${e}/`,t)}async delete(e){return await G.delete(`/${this.key}/${e}/`)}};function cg(){return q.getters?.site?.auth?.login_mode===`iframe`?`iframe`:`redirect`}function lg(){return cg()===`iframe`}var ug=async({commit:e,dispatch:t})=>{e(`resetToken`),e(`resetUser`),e(`setApplications`,void 0);let{getRegisteredLazyModules:n}=await W(async()=>{let{getRegisteredLazyModules:e}=await Promise.resolve().then(()=>SC);return{getRegisteredLazyModules:e}},void 0);for(let e of n())await t(`${e}/resetAll`)},dg=({commit:e})=>{e(`resetUser`)},fg=({commit:e})=>{e(`resetSite`)},pg=({commit:e})=>{e(`resetToken`)},mg=async({state:e,commit:t},n)=>{if(ti()||e.token?.access&&e.token.access!==n.access){let r=await Ag(n);if(!ti()&&r.id===e.user?.id){t(`setToken`,n),t(`setUser`,r),t(`rememberCurrentAccount`);return}return t(`rememberCurrentAccount`),ii(e,{user:r,token:n}),!0}t(`setToken`,n)},hg=({commit:e},t)=>{e(`setUser`,t)},gg=({commit:e},t)=>{e(`setCurrency`,t)},_g=({commit:e},t)=>{e(`setExchange`,t)},vg=({commit:e},t)=>{e(`setFingerprint`,t)},yg=async({state:e,commit:t})=>{console.debug(`start to get user`);let n=e.token.access;try{t(`resetUser`);let{data:r}=await af.getMe();return e.token.access===n?(t(`setUser`,r),t(`rememberCurrentAccount`),console.debug(`get user success`,r),r):void 0}catch(e){console.error(`get user failed`,e);return}},bg=du({load:()=>W(()=>import(`./fp.esm-DXwZrSgh.js`).then(e=>e.default.load()),[])}),xg=async({commit:e})=>{let t=await bg();return e(`setFingerprint`,t),t},Sg=async({commit:e,dispatch:t},n)=>{console.debug(`start to get token using code`,n);try{ti()||e(`resetToken`);let{data:r}=await Em.token({code:n});console.debug(`get token success`,r);let i={access:r.access_token,refresh:r.refresh_token,expiration:r.expires_in};if(ti()){await t(`setToken`,i);return}return e(`setToken`,i),console.debug(`get token success`,r),i}catch(e){console.error(`get token failed`,e)}},Cg=async({state:e,commit:t},n)=>{if(n.source===n.target)return;let r=`${n.source}-${n.target}`;console.debug(`start to get exchange rate`,r);try{let{data:i}=await Ih.rate(n);return console.debug(`get exchange rate success`,i),t(`setExchange`,{[r]:i.rate}),e.exchange[r]}catch{console.error(`get exchange rate failed`)}},wg=async({state:e,commit:t})=>{console.debug(`start to initialize site`),e.status.getSite=V.Request;let n=An(e?.site);try{let{data:r}=await bh.initialize({origin:n});t(`setSite`,r),e.status.getSite=V.Success,console.debug(`initialize site success`,r)}catch(t){e.status.getSite=V.Error,console.error(`initialize site failed`,t)}},Tg=async({state:e,commit:t})=>{console.debug(`start to get site`),e.status.getSite=V.Request;try{let n=An(e?.site),{data:r}=await bh.getAll({origin:n});if(!Array.isArray(r?.items))throw Error(`Invalid site response`);let i=r.items[0];return t(`setSite`,i),e.status.getSite=V.Success,console.debug(`get site success`,i),i}catch(t){e.status.getSite=V.Error,console.error(`get site failed`,t);return}},Eg=async({commit:e})=>{console.debug(`start to fetch config`);try{let{data:t}=await eg.get();return e(`setConfig`,t),t}catch(t){console.error(`fetch config failed`,t),e(`setConfig`,void 0);return}},Dg=async({commit:e},t)=>{console.debug(`set applications`,t),e(`setApplications`,t)},Og=async({commit:e,state:t})=>{console.debug(`start to get applications for global`),t.status.getApplications=V.Request;try{let{data:n}=await rf.getAll({limit:100,offset:0,user_id:`me`,ordering:`-created_at`,type:It.USAGE,scope:zt.GLOBAL,affiliation:[`owner`,`granted`]});return console.debug(`global applications from online`,n),t.status.getApplications=V.Success,e(`setApplications`,n.items),n.items}catch(n){console.error(`get applications failed for global`,n),t.status.getApplications=V.Error,e(`setApplications`,void 0)}},kg=async({commit:e,state:t})=>{let n=t.application;if(console.debug(`prepare to create credential for application`,n),!n){console.error(`Application not found`);return}console.debug(`creating create credential for application`,n);let{data:r}=await Om.create({application_id:n?.id,host:window.location.origin});return console.debug(`created credential success`,r),e(`setCredential`,r),console.debug(`end createCredential`),r};async function Ag(e){let{data:t}=await U.get(`${xc()}/api/v1/users/me`,{headers:{Authorization:`Bearer ${e.access}`},timeout:2e4});if(!t?.id)throw Error(`Invalid account response`);return t}var jg={state:lu,mutations:uu,actions:{addAccount:async({commit:e,dispatch:t})=>{e(`rememberCurrentAccount`),$r(),await t(`login`,{redirect:`/`,addAccount:!0})},switchAccount:async({state:e,commit:t},n)=>{if(n===e.user?.id)return;let r=e.accounts.find(e=>e.user.id===n);if(!r)return;let i=await Ag(r.token);if(i.id!==n)throw Error(`Account identity mismatch`);t(`rememberCurrentAccount`),ii(e,{user:i,token:r.token})},login:async({state:e,commit:t},n={})=>{let r=e?.site?.origin,i=n.redirect||window.location.pathname+window.location.search+window.location.hash;fr()||ir()||lg()?(t(`setAuth`,{flow:`popup`,visible:!0,redirect:i,action:n.addAccount?`logout`:`login`}),console.debug(`login popup`)):(t(`setAuth`,{flow:`redirect`,visible:!0,redirect:i,action:`login`}),console.debug(`login redirect`),Eu({redirect:i,site:r,addAccount:n.addAccount}))},logout:async({dispatch:e,commit:t})=>{if(ei(),t(`forgetCurrentAccount`),await e(`resetAll`),fr()||ir()||lg())t(`setAuth`,{flow:`popup`,visible:!0,redirect:window.location.pathname+window.location.search+window.location.hash,action:fr()||ir()?`login`:`logout`});else{let e=Cc(),t=Sc(),n=window.location.origin,r=Tu(),i=`${t}/auth/callback?${new URLSearchParams({redirect:window.location.pathname+window.location.search+window.location.hash}).toString()}`,a={site:n,...r?{inviter_id:r}:{},redirect:i},o=`${e}/auth/login/?${new URLSearchParams(a).toString()}`,s=`${e}/auth/logout?${new URLSearchParams({redirect:o}).toString()}`;window.location.href=s}},resetToken:pg,resetAll:ug,resetUser:dg,resetSite:fg,setToken:mg,setFingerprint:vg,setCurrency:gg,setUser:hg,getFingerprint:xg,getExchangeRate:Cg,getToken:Sg,getUser:yg,initializeSite:wg,getSite:Tg,fetchConfig:Eg,setExchange:_g,setApplications:Dg,getApplications:Og,createCredential:kg},getters:{authenticated:e=>!!e.token.access,user:e=>e.user,token:e=>e.token,site:e=>e.site,config:e=>e.config,fingerprint:e=>e.fingerprint,setting:e=>e.setting}},Mg=[`accounts`,`user`,`token`,`setting`,`locale`,`dark`,`config`,`currency`,`exchange`,`fingerprint`];function Ng(e){if(!e||e.messages===void 0)return e;let{messages:t,...n}=e;return n}var Pg=Object.values(Object.assign({"./chat/persist.ts":wc,"./codingBridge/persist.ts":Ec,"./digitalhuman/persist.ts":Oc,"./fish/persist.ts":Ac,"./flux/persist.ts":Mc,"./grokvideo/persist.ts":Pc,"./hailuo/persist.ts":Ic,"./kling/persist.ts":Rc,"./luma/persist.ts":Bc,"./maestro/persist.ts":Hc,"./midjourney/persist.ts":Wc,"./minimax/persist.ts":Kc,"./nanobanana/persist.ts":Jc,"./omni/persist.ts":Xc,"./openaiimage/persist.ts":Qc,"./pika/persist.ts":el,"./pixverse/persist.ts":nl,"./producer/persist.ts":il,"./qrart/persist.ts":ol,"./qwenimage/persist.ts":cl,"./seedance/persist.ts":ul,"./seedream/persist.ts":fl,"./serp/persist.ts":ml,"./sora/persist.ts":gl,"./suno/persist.ts":vl,"./veo/persist.ts":bl,"./wan/persist.ts":Sl,"./webextrator/persist.ts":wl})).flatMap(e=>e.default),Fg=e=>{if(!e||typeof e!=`object`)return!1;let t=e;return t.name===`QuotaExceededError`||t.name===`NS_ERROR_DOM_QUOTA_REACHED`||t.code===22||t.code===1014},Ig={get length(){return window.localStorage.length},clear:()=>window.localStorage.clear(),key:e=>window.localStorage.key(e),getItem:e=>window.localStorage.getItem(e),removeItem:e=>window.localStorage.removeItem(e),setItem:(e,t)=>{if(!ni())try{window.localStorage.setItem(e,t)}catch(n){if(!Fg(n))throw n;try{window.localStorage.removeItem(e),window.localStorage.setItem(e,t)}catch{}}}},Lg=[...Mg,...Pg],Rg=(e,t)=>t.split(`.`).reduce((e,t)=>e?.[t],e),zg=(e,t,n)=>{let r=t.split(`.`),i=e;r.forEach((e,t)=>{t===r.length-1?i[e]=n:(i[e]=i[e]??{},i=i[e])})},Bg=e=>{let t={};for(let n of Lg){let r=Rg(e,n);r!==void 0&&(n===`chat.conversations`&&Array.isArray(r)&&(r=r.map(e=>Ng(e))),zg(t,n,r))}return t},q=Vt({...jg,plugins:[Pl({paths:Lg,reducer:Bg,storage:Ig})]});window.addEventListener(`storage`,e=>ai(e,q.state.token?.access));var Vg=`user_id`,Hg=`site`,Ug=e=>{if(vn())return e;let t=typeof window<`u`?window.location?.origin:``;if(!t)return e;try{let n=new URL(e);return n.searchParams.has(`site`)||n.searchParams.set(Hg,t),n.toString()}catch{return`${e}${e.includes(`?`)?`&`:`?`}${Hg}=${encodeURIComponent(t)}`}},Wg=e=>{let t=new URLSearchParams;for(let[n,r]of Object.entries(e.query))n!==`user_id`&&r!=null&&(Array.isArray(r)?r.forEach(e=>e!=null&&t.append(n,String(e))):t.set(n,String(r)));let n=t.toString();return e.path+(n?`?${n}`:``)},Gg=e=>{let t=e.query[Vg],n=Array.isArray(t)?t[0]:t;if(!n)return{kind:`passthrough`};let r=q.getters?.user?.id;if(r&&String(r)===String(n)){let{[Vg]:t,...n}=e.query;return{kind:`strip`,redirect:{path:e.path,query:n,replace:!0}}}q.dispatch(`resetAll`);let i=Wg(e);return lg()?q.dispatch(`login`,{redirect:i}):Eu({redirect:i}),{kind:`mismatch`}},Kg=new Set(`co.uk,org.uk,gov.uk,ac.uk,me.uk,ltd.uk,plc.uk,co.jp,or.jp,ne.jp,ac.jp,go.jp,ad.jp,ed.jp,gr.jp,lg.jp,co.kr,or.kr,ne.kr,go.kr,re.kr,pe.kr,es.kr,sc.kr,hs.kr,ms.kr,co.in,org.in,net.in,firm.in,gen.in,ind.in,ac.in,edu.in,res.in,gov.in,co.id,or.id,ac.id,web.id,sch.id,go.id,mil.id,net.id,biz.id,co.za,org.za,net.za,web.za,gov.za,ac.za,co.nz,org.nz,net.nz,ac.nz,school.nz,govt.nz,co.il,org.il,net.il,ac.il,gov.il,muni.il,idf.il,co.th,or.th,ac.th,go.th,in.th,mi.th,net.th,com.cn,net.cn,org.cn,gov.cn,edu.cn,ac.cn,mil.cn,com.au,net.au,org.au,edu.au,gov.au,asn.au,id.au,com.br,net.br,org.br,gov.br,edu.br,com.mx,org.mx,gob.mx,edu.mx,com.ar,org.ar,gob.ar,edu.ar,net.ar,com.tr,net.tr,org.tr,edu.tr,gov.tr,gen.tr,biz.tr,com.tw,org.tw,net.tw,edu.tw,gov.tw,idv.tw,mil.tw,game.tw,com.hk,org.hk,net.hk,edu.hk,gov.hk,idv.hk,com.sg,org.sg,net.sg,edu.sg,gov.sg,per.sg,com.my,org.my,net.my,gov.my,edu.my,mil.my,com.vn,net.vn,org.vn,edu.vn,gov.vn,biz.vn,pro.vn,name.vn,com.ph,net.ph,org.ph,gov.ph,edu.ph,com.pk,net.pk,org.pk,edu.pk,gov.pk,com.ru,net.ru,org.ru,pp.ru,msk.ru,spb.ru,com.ua,net.ua,org.ua,gov.ua,edu.ua,kiev.ua,com.ng,net.ng,org.ng,gov.ng,edu.ng,co.ke,or.ke,ne.ke,go.ke,ac.ke,sc.ke,co.tz,or.tz,ne.tz,go.tz,ac.tz,sc.tz,co.ug,or.ug,ne.ug,go.ug,ac.ug,sc.ug`.split(`,`)),qg=e=>/^\d{1,3}(?:\.\d{1,3}){3}$/.test(e)||/^\[[0-9a-f:]+\]$/i.test(e),Jg=(e=window.location.hostname)=>{if(!e||e===`localhost`||qg(e))return e;let t=e.split(`.`);if(t.length<2)return e;let n;return n=t.length>=3&&Kg.has(t.slice(-2).join(`.`))?t.slice(-3).join(`.`):t.slice(-2).join(`.`),n===e?e:`.`+n};function Yg(e){e===`dark`?document.documentElement.classList.add(`dark`):document.documentElement.classList.remove(`dark`),document.documentElement.style.colorScheme=e===`dark`?`dark`:`light`}function Xg(){return typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}var Zg=null,Qg=null;function $g(e){if(Zg&&Qg&&(Zg.removeEventListener(`change`,Qg),Zg=null,Qg=null),e===`system`){Yg(Xg()),typeof window<`u`&&window.matchMedia&&(Zg=window.matchMedia(`(prefers-color-scheme: dark)`),Qg=e=>Yg(e.matches?`dark`:`light`),Zg.addEventListener(`change`,Qg));return}Yg(e===`dark`?`dark`:`light`)}var e_=`#277186`,t_=[`--el-color-primary`,`--el-color-primary-light-3`,`--el-color-primary-light-5`,`--el-color-primary-light-7`,`--el-color-primary-light-8`,`--el-color-primary-light-9`,`--el-color-primary-dark-2`,`--app-brand-bg-light`,`--app-brand-bg-dark`,`--app-brand-rgb`,`--app-brand-hex`,`--app-brand-hex-dark-2`,`--app-brand-hex-light-7`,`--app-gradient-brand`,`--app-gradient-brand-hover`],n_=/^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i,r_=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;function i_(e,t,n){return Math.min(Math.max(e,t),n)}function a_(e){if(!e||typeof e!=`string`)return null;let t=e.trim(),n=t.match(r_);if(n)return{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)};let r=t.match(n_);return r?{r:parseInt(r[1]+r[1],16),g:parseInt(r[2]+r[2],16),b:parseInt(r[3]+r[3],16)}:null}function o_({r:e,g:t,b:n}){let r=e=>i_(Math.round(e),0,255).toString(16).padStart(2,`0`);return`#`+r(e)+r(t)+r(n)}function s_(e,t,n){return{r:e.r*(1-n)+t.r*n,g:e.g*(1-n)+t.g*n,b:e.b*(1-n)+t.b*n}}var c_={r:255,g:255,b:255},l_={r:0,g:0,b:0},u_={r:13,g:17,b:23};function d_(e){let t=document.documentElement.style,n=a_(e||``);if(!n){for(let e of t_)t.removeProperty(e);return}let r=s_(n,c_,.3),i=s_(n,c_,.5),a=s_(n,c_,.7),o=s_(n,c_,.8),s=s_(n,c_,.9),c=s_(n,l_,.2),l=s_(u_,n,.18);t.setProperty(`--el-color-primary`,o_(n)),t.setProperty(`--el-color-primary-light-3`,o_(r)),t.setProperty(`--el-color-primary-light-5`,o_(i)),t.setProperty(`--el-color-primary-light-7`,o_(a)),t.setProperty(`--el-color-primary-light-8`,o_(o)),t.removeProperty(`--el-color-primary-light-9`),t.setProperty(`--el-color-primary-dark-2`,o_(c)),t.setProperty(`--app-brand-bg-light`,o_(s)),t.setProperty(`--app-brand-bg-dark`,o_(l)),t.setProperty(`--app-brand-rgb`,`${Math.round(n.r)}, ${Math.round(n.g)}, ${Math.round(n.b)}`),t.setProperty(`--app-brand-hex`,o_(n)),t.setProperty(`--app-brand-hex-dark-2`,o_(c)),t.setProperty(`--app-brand-hex-light-7`,o_(a));let u=`linear-gradient(135deg, ${o_(n)} 0%, ${o_(c)} 50%, ${o_(i)} 100%)`,d=`linear-gradient(135deg, ${o_(c)} 0%, ${o_(s_(n,l_,.35))} 50%, ${o_(c)} 100%)`;t.setProperty(`--app-gradient-brand`,u),t.setProperty(`--app-gradient-brand-hover`,d)}typeof window<`u`&&(window.getDomain=Jg);var f_=async()=>{let e=new URLSearchParams(window.location.search),t=e.get(`inviter_id`);if(t){let e=new Date;e.setDate(e.getDate()+7),console.debug(`set INVITER_ID to cookies`,t),bu(`INVITER_ID`,t,{expires:e,path:`/`,domain:Jg()})}let n=e.get(`theme`);n?(console.log(`set THEME to cookies`,n),bu(`THEME`,n,{path:`/`,domain:Jg()})):xu(`THEME`)||(console.debug(`set THEME to cookies`,`dark`),bu(`THEME`,`dark`,{path:`/`,domain:Jg()}));let r=e.get(`lang`),i;r?i=In(r):xu(`LOCALE`)||(i=In()),i&&(console.debug(`set LOCALE to cookies`,i),bu(`LOCALE`,i,{path:`/`,domain:Jg()}))},p_=async()=>{let e=q.state.site?.title||``,t=document.querySelector(`title`);t||(t=document.createElement(`title`),document.head.appendChild(t)),t.innerHTML=e},m_=async()=>{let e=q.state.site?.description||``,t=document.querySelector(`meta[name="description"]`);t||(t=document.createElement(`meta`),t.setAttribute(`name`,`description`),document.head.appendChild(t)),t.setAttribute(`content`,e)},h_=async()=>{let e=q.state.site?.keywords?.join(`,`)||``,t=document.querySelector(`meta[name="keywords"]`);t||(t=document.createElement(`meta`),t.setAttribute(`name`,`keywords`),document.head.appendChild(t)),t.setAttribute(`content`,e)},g_=`https://cdn.acedata.cloud/favicon.ico`,__=`https://cdn.acedata.cloud/apple-touch-icon.png`,v_=async()=>{let e=q.state.site?.favicon||``;[{rel:`icon`,href:e||g_},{rel:`apple-touch-icon`,href:e||__}].forEach(({rel:e,href:t})=>{let n=document.querySelector(`link[rel="${e}"]`);n||(n=document.createElement(`link`),n.rel=e,document.head.appendChild(n)),n.href=t})},y_=async()=>{let e=await q.dispatch(`getSite`);if(q.state.status.getSite===V.Success){if(!e&&!q.state.token?.access){await q.dispatch(`login`);return}q.state.token?.access&&(!e||e.origin&&!e.admins?.length)&&await q.dispatch(`initializeSite`)}},b_=async()=>{await q.dispatch(`fetchConfig`)},x_=async()=>{let e=new URLSearchParams(window.location.search).get(`code`);console.debug(`get code`,e);let t=`oauth_code_used`;if(e){if(q.state.token?.access&&!ti()){console.debug(`access token already exists, skip code exchange`);return}if(sessionStorage.getItem(t)===e){console.debug(`code already exchanged in this session, skip`);return}console.debug(`start get token by code`,e);try{let n=await q.dispatch(`getToken`,e);sessionStorage.setItem(t,e);let r=new URL(window.location.href);r.searchParams.delete(`code`),window.history.replaceState({},document.title,r.toString()),console.debug(`success get token`,n)}catch(e){throw sessionStorage.removeItem(t),e}}},S_=async()=>{let e=xu(`THEME`)||`dark`;console.debug(`initialize theme`,e),$g(e);let t=q.state.site?.theme?.primary_color;console.debug(`initialize primary color`,t||`(default)`),d_(t||null)},C_=async()=>{if(!q.state.token?.access){console.debug(`no access token, skip get user`);return}console.debug(`start to get user`);let e=await q.dispatch(`getUser`);console.debug(`get user`,e)},w_=async()=>{let e=xu(`LOCALE`);console.debug(`initialize currency`,e);let t=yc,n=`usd`;e&&t[e]&&(n=t[e]),console.debug(`set currency`,n),await q.dispatch(`setCurrency`,n)},T_=async()=>{let e=xu(`LOCALE`),t=yc;if(!e||!t[e])return;let n={source:`usd`,target:t[e]};console.debug(`initialize exchange rate`,n),await q.dispatch(`getExchangeRate`,n)},E_=async()=>{let e=new URL(window.location.href);return!wn()||e.hostname!==yr||e.pathname.startsWith(`/auth/`)?!1:(e.hostname=`${new Date().toISOString().slice(0,10).replace(/-/g,``)}.${yr}`,window.location.replace(e.toString()),!0)},D_=async()=>{await q.dispatch(`getFingerprint`)},O_=Object.create,k_=Object.defineProperty,A_=Object.getOwnPropertyDescriptor,j_=Object.getOwnPropertyNames,M_=Object.getPrototypeOf,N_=Object.prototype.hasOwnProperty,P_=(e,t)=>function(){return t||(0,e[j_(e)[0]])((t={exports:{}}).exports,t),t.exports},F_=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of j_(t))!N_.call(e,i)&&i!==n&&k_(e,i,{get:()=>t[i],enumerable:!(r=A_(t,i))||r.enumerable});return e},I_=((e,t,n)=>(n=e==null?{}:O_(M_(e)),F_(t||!e||!e.__esModule?k_(n,`default`,{value:e,enumerable:!0}):n,e)))(P_({"node_modules/toggle-selection/index.js"(e,t){t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case`INPUT`:case`TEXTAREA`:t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type===`Caret`&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}}})(),1).default,L_=`Copy to clipboard: #{key}, Enter`;function R_(e){var t=((navigator.userAgentData?/mac/i.test(navigator.userAgentData.platform):/mac os x/i.test(navigator.userAgent))?`⌘`:`Ctrl`)+`+C`;return e.replace(/#{\s*key\s*}/g,t)}function z_(e,t){var n={};return n[`text/plain`]=new Blob([e],{type:`text/plain`}),t&&t!==`text/plain`&&(n[t]=new Blob([e],{type:t})),new ClipboardItem(n)}async function B_(e,t){if(!t.format&&!t.onCopy)return await navigator.clipboard.writeText(e),!0;var n=z_(e,t.format);return t.onCopy&&(n=t.onCopy(n)||n),await navigator.clipboard.write([n]),!0}function V_(e,t){var n=document.createElement(`span`);return n.textContent=e,n.ariaHidden=`true`,n.style.all=`unset`,n.style.position=`fixed`,n.style.top=`0`,n.style.clip=`rect(0, 0, 0, 0)`,n.style.whiteSpace=`pre`,n.style.webkitUserSelect=`text`,n.style.MozUserSelect=`text`,n.style.msUserSelect=`text`,n.style.userSelect=`text`,n.addEventListener(`copy`,function(n){n.stopPropagation(),t.format&&(n.preventDefault(),n.clipboardData&&n.clipboardData.setData(t.format,e)),t.onCopy&&n.clipboardData&&t.onCopy(n.clipboardData)}),n}function H_(){let e=document.activeElement;for(;e;){if(e.tagName===`DIALOG`&&e.open)return e;e=e.parentElement}return null}function U_(e,t){var n=I_(),r=document.createRange(),i=document.getSelection(),a=V_(e,t),o=H_()||document.fullscreenElement||document.body,s=!1;try{if(o.appendChild(a),r.selectNodeContents(a),i.removeAllRanges(),i.addRange(r),!document.execCommand(`copy`))throw Error(`copy command was unsuccessful`);s=!0}finally{typeof i.removeRange==`function`?i.removeRange(r):i.removeAllRanges(),o.removeChild(a),n()}return s}async function W_(e,t={}){var n=t.debug||!1;if(window.isSecureContext&&navigator.clipboard)try{return await B_(e,t)}catch(e){n&&console.error(`unable to copy using navigator.clipboard: `,e),n&&console.warn(`falling back to execCommand`)}else n&&!window.isSecureContext&&console.warn(`copy-to-clipboard: navigator.clipboard requires a secure context (HTTPS/localhost). Falling back to execCommand.`);try{return U_(e,t)}catch(i){if(n&&console.error(`unable to copy using execCommand: `,i),n&&console.error(`falling back to prompt`),t.fallbackToPrompt){var r=R_(`message`in t?t.message:L_);window.prompt(r,e)}}return!1}var G_=W_,K_=`<svg viewBox="0 0 24 24" width="14" height="14" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>`,q_=`<svg viewBox="0 0 24 24" width="14" height="14" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/></svg>`,J_=async e=>{let t=(await W(async()=>{let{default:e}=await import(`./vendor-highlight-PMOaWWrP.js`).then(e=>e.g);return{default:e}},__vite__mapDeps([8,1,9]))).default;e.querySelectorAll(`pre code`).forEach(e=>{let n=e.parentElement;if(!n)return;let r=e.classList.contains(`hljs`);!r&&e.dataset.highlighted&&(delete e.dataset.highlighted,e.className=e.className.split(/\s+/).filter(e=>e&&e!==`hljs`&&!e.startsWith(`language-`)).join(` `));let i=()=>{r||(`highlightElement`in t?t.highlightElement(e):t.highlightBlock(e))};if(n.dataset.hasCopy===`1`){i();return}let a=document.createElement(`div`);a.className=`relative`,n.parentNode.insertBefore(a,n),a.appendChild(n),n.classList.add(`overflow-auto`);let o=document.createElement(`button`);o.type=`button`,o.dataset.copyBtn=`1`,o.className=`code-copy-btn`,o.setAttribute(`aria-label`,un.global.t(`common.button.copy`).toString()),o.innerHTML=K_;let s;o.addEventListener(`click`,async()=>{try{if(!await G_(e.innerText))return}catch{return}o.classList.add(`is-copied`),o.setAttribute(`aria-label`,un.global.t(`common.message.copied`).toString()),o.innerHTML=q_,s!==void 0&&window.clearTimeout(s),s=window.setTimeout(()=>{o.classList.remove(`is-copied`),o.setAttribute(`aria-label`,un.global.t(`common.button.copy`).toString()),o.innerHTML=K_,s=void 0},3e3)}),a.appendChild(o),n.dataset.hasCopy=`1`,i()})},Y_=e(n(((e,t)=>{(function(n,r){typeof define==`function`&&define.amd?define(r):typeof e==`object`?t.exports=r():n.jsonLogic=r()})(e,function(){Array.isArray||(Array.isArray=function(e){return Object.prototype.toString.call(e)===`[object Array]`});function e(e){for(var t=[],n=0,r=e.length;n<r;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}var t={},n={"==":function(e,t){return e==t},"===":function(e,t){return e===t},"!=":function(e,t){return e!=t},"!==":function(e,t){return e!==t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"<":function(e,t,n){return n===void 0?e<t:e<t&&t<n},"<=":function(e,t,n){return n===void 0?e<=t:e<=t&&t<=n},"!!":function(e){return t.truthy(e)},"!":function(e){return!t.truthy(e)},"%":function(e,t){return e%t},log:function(e){return console.log(e),e},in:function(e,t){return!t||t.indexOf===void 0?!1:t.indexOf(e)!==-1},cat:function(){return Array.prototype.join.call(arguments,``)},substr:function(e,t,n){if(n<0){var r=String(e).substr(t);return r.substr(0,r.length+n)}return String(e).substr(t,n)},"+":function(){return Array.prototype.reduce.call(arguments,function(e,t){return parseFloat(e,10)+parseFloat(t,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(e,t){return parseFloat(e,10)*parseFloat(t,10)})},"-":function(e,t){return t===void 0?-e:e-t},"/":function(e,t){return e/t},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(e,t){return e.concat(t)},[])},var:function(e,t){var n=t===void 0?null:t,r=this;if(e===void 0||e===``||e===null)return r;for(var i=String(e).split(`.`),a=0;a<i.length;a++)if(r==null||(r=r[i[a]],r===void 0))return n;return r},missing:function(){for(var e=[],n=Array.isArray(arguments[0])?arguments[0]:arguments,r=0;r<n.length;r++){var i=n[r],a=t.apply({var:i},this);(a===null||a===``)&&e.push(i)}return e},missing_some:function(e,n){var r=t.apply({missing:n},this);return n.length-r.length>=e?[]:r}};return t.is_logic=function(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).length===1},t.truthy=function(e){return Array.isArray(e)&&e.length===0?!1:!!e},t.get_operator=function(e){return Object.keys(e)[0]},t.get_values=function(e){return e[t.get_operator(e)]},t.apply=function(e,r){if(Array.isArray(e))return e.map(function(e){return t.apply(e,r)});if(!t.is_logic(e))return e;var i=t.get_operator(e),a=e[i],o,s,c,l,u;if(Array.isArray(a)||(a=[a]),i===`if`||i==`?:`){for(o=0;o<a.length-1;o+=2)if(t.truthy(t.apply(a[o],r)))return t.apply(a[o+1],r);return a.length===o+1?t.apply(a[o],r):null}else if(i===`and`){for(o=0;o<a.length;o+=1)if(s=t.apply(a[o],r),!t.truthy(s))return s;return s}else if(i===`or`){for(o=0;o<a.length;o+=1)if(s=t.apply(a[o],r),t.truthy(s))return s;return s}else if(i===`filter`)return l=t.apply(a[0],r),c=a[1],Array.isArray(l)?l.filter(function(e){return t.truthy(t.apply(c,e))}):[];else if(i===`map`)return l=t.apply(a[0],r),c=a[1],Array.isArray(l)?l.map(function(e){return t.apply(c,e)}):[];else if(i===`reduce`)return l=t.apply(a[0],r),c=a[1],u=a[2]===void 0?null:t.apply(a[2],r),Array.isArray(l)?l.reduce(function(e,n){return t.apply(c,{current:n,accumulator:e})},u):u;else if(i===`all`){if(l=t.apply(a[0],r),c=a[1],!Array.isArray(l)||!l.length)return!1;for(o=0;o<l.length;o+=1)if(!t.truthy(t.apply(c,l[o])))return!1;return!0}else if(i===`none`){if(l=t.apply(a[0],r),c=a[1],!Array.isArray(l)||!l.length)return!0;for(o=0;o<l.length;o+=1)if(t.truthy(t.apply(c,l[o])))return!1;return!0}else if(i===`some`){if(l=t.apply(a[0],r),c=a[1],!Array.isArray(l)||!l.length)return!1;for(o=0;o<l.length;o+=1)if(t.truthy(t.apply(c,l[o])))return!0;return!1}if(a=a.map(function(e){return t.apply(e,r)}),n.hasOwnProperty(i)&&typeof n[i]==`function`)return n[i].apply(r,a);if(i.indexOf(`.`)>0){var d=String(i).split(`.`),f=n;for(o=0;o<d.length;o++){if(!f.hasOwnProperty(d[o]))throw Error(`Unrecognized operation `+i+` (failed at `+d.slice(0,o+1).join(`.`)+`)`);f=f[d[o]]}return f.apply(r,a)}throw Error(`Unrecognized operation `+i)},t.uses_data=function(n){var r=[];if(t.is_logic(n)){var i=t.get_operator(n),a=n[i];Array.isArray(a)||(a=[a]),i===`var`?r.push(a[0]):a.forEach(function(e){r.push.apply(r,t.uses_data(e))})}return e(r)},t.add_operation=function(e,t){n[e]=t},t.rm_operation=function(e){delete n[e]},t.rule_like=function(e,n){if(n===e||n===`@`)return!0;if(n===`number`)return typeof e==`number`;if(n===`string`)return typeof e==`string`;if(n===`array`)return Array.isArray(e)&&!t.is_logic(e);if(t.is_logic(n)){if(t.is_logic(e)){var r=t.get_operator(n),i=t.get_operator(e);if(r===`@`||r===i)return t.rule_like(t.get_values(e,!1),t.get_values(n,!1))}return!1}if(Array.isArray(n))if(Array.isArray(e)){if(n.length!==e.length)return!1;for(var a=0;a<n.length;a+=1)if(!t.rule_like(e[a],n[a]))return!1;return!0}else return!1;return!1},t})}))(),1);function X_(e,t){if(!(!t||!Array.isArray(t))){for(let n of t)if(Y_.default.apply(n.conditions,e))return Y_.default.apply(n.consumption,e);return 0}}function Z_(e){let t=e.defaultCurrency??`usd`;function n(n){let r=e.getExchange(),i=n.value,a=n.currency??e.getCurrency()??t,o=e.currencyLabels[a];if(r){let e=r[`usd-${a}`];e&&(i*=e)}return{value:i,currency:a,label:o}}function r(e){let t=e.value??e.defaultValue;if(t===void 0)return``;let r=n({value:t});return`${r.label}${r.value?.toFixed(e.fractionDigits??2)}`}function i(e,t=4){if(e==null)return`-`;let r=n({value:e});return`${r.label}${r.value.toFixed(t).replace(/\.?0+$/,``)}`}return{getPrice:n,getPriceString:r,getConsumptionPriceString:i}}var Q_=Z_({getExchange:()=>q.state.exchange,getCurrency:()=>q.state.currency,currencyLabels:bc});Q_.getPrice;var $_=Q_.getPriceString,ev=(e,t)=>X_(e,t);function tv(e){if(!e?.expired_at)return!1;try{return new Date(e?.expired_at)<new Date}catch{return!1}}function nv(e){return console.debug(`application remaining amount`,e,e?.remaining_amount),e?.remaining_amount&&e?.remaining_amount<0}function rv(e){if(!e)return console.debug(`application is undefined, return false`),!1;let t=nv(e),n=tv(e);return console.debug(`is application exhausted`,t),console.debug(`is application expired`,n),!t&&!n}function iv(e,t){if(console.debug(`start to execute getFinalApplication`,e,t),t){let n=e?.find(e=>e.id===t.id);if(n)return console.debug(`current application is preserved (respect user selection)`,n),n}console.debug(`get final application from applications`,e);let n=e?.find(e=>e.scope===zt.GLOBAL&&e.type===It.PERIOD);if(console.debug(`application1`,n),rv(n))return console.debug(`application with global scope and Period type`,n),n;let r=e?.find(e=>e.scope===zt.GLOBAL&&e.type===It.USAGE);if(console.debug(`application2`,r),rv(r))return console.debug(`application with global scope and Usage type`,r),r;let i=e?.find(e=>(e.scope===zt.INDIVIDUAL&&e?.type)===It.PERIOD);if(console.debug(`application3`,i),rv(i))return console.debug(`application with Period type`,i),i;let a=e?.find(e=>(e.scope===zt.INDIVIDUAL&&e?.type)===It.USAGE);return console.debug(`application4`,a),rv(a)?(console.debug(`application with Usage type`,a),a):n||r||i||a}var av=`index`,ov=`business`,sv=`download`,cv=`share-conversation`,lv=`auth-login`,uv=`auth-callback`,dv=`settings-index`,fv=`settings-local-tools`,pv=`chatgpt-conversation`,mv=`chatgpt-conversation-new`,hv=`chatgpt-call`,gv=`chat-scheduled-tasks`,_v=`chat-scheduled-task-detail`,vv=`chat-artifacts`,yv=`deepseek-conversation`,bv=`deepseek-conversation-new`,xv=`grok-conversation`,Sv=`grok-conversation-new`,Cv=`gemini-conversation`,wv=`gemini-conversation-new`,Tv=`claude-conversation`,Ev=`claude-conversation-new`,Dv=`kimi-conversation`,Ov=`kimi-conversation-new`,kv=`midjourney-index`,Av=`qrart-index`,jv=`luma-index`,Mv=`luma-history`,Nv=`pika-index`,Pv=`kling-index`,Fv=`kling-history`,Iv=`veo-index`,Lv=`veo-history`,Rv=`sora-index`,zv=`sora-history`,Bv=`maestro-index`,Vv=`poivelle-index`,Hv=`digitalhuman-index`,Uv=`pixverse-index`,Wv=`pixverse-history`,Gv=`flux-index`,Kv=`hailuo-index`,qv=`hailuo-history`,Jv=`minimax-index`,Yv=`suno-index`,Xv=`suno-history`,Zv=`producer-index`,Qv=`nanobanana-index`,$v=`openaiimage-index`,ey=`seedream-index`,ty=`qwenimage-index`,ny=`seedance-index`,ry=`grokvideo-index`,iy=`omni-index`,ay=`serp-index`,oy=`wan-index`,sy=`fish-tts-index`,cy=`fish-model-index`,ly=`webextrator-index`,uy=`coding-bridge-index`,dy=`order-public-pay`,fy=`console-root`,py=`console-order-list`,my=`console-order-detail`,hy=`console-application-list`,gy=`console-application-extra`,_y=`console-application-subscribe`,vy=`distribution-index`,yy=`distribution-history`,by=`distribution-invitees`,xy=`console-usage-list`,Sy=`console-connectors`,Cy=`console-skills`,wy=`console-browser-devices`,Ty=`not-found`;function Ey(e){if(e?.id){if(e.type===It.USAGE)return{name:gy,params:{id:e.id}};if(e.type===It.PERIOD)return{name:_y,params:{id:e.id}}}}function Dy(e,t,n={}){return!Ey(e)||e?.role===`grantee`||xn(t)?!1:!n.ios||e?.scope===zt.GLOBAL?!0:e?.type===It.PERIOD?!1:(e?.packages||[]).some(e=>e.type===Ft.USAGE&&!!e.metadata?.apple_product_id)}function Oy(e){let t=Number(e??0);return Number.isFinite(t)&&t>0?t:0}function ky(e,t){let n=Oy(e.remaining_amount);if(e.scope===zt.GLOBAL||!e.allow_consume_global)return n;let r=t.find(t=>t.scope===zt.GLOBAL&&t.user_id===e.user_id);return Math.max(n,Oy(r?.remaining_amount))}var Ay=(e,t)=>{if(!t)return!0;let n=t.split(`,`).map(e=>e.trim().toLowerCase()).filter(Boolean);if(!n.length)return!0;let r=e.name.toLowerCase(),i=(e.type||``).toLowerCase();return n.some(e=>e.startsWith(`.`)?r.endsWith(e):e.endsWith(`/*`)?i.startsWith(e.slice(0,-1)):i===e)},jy=e=>{try{let t=e.name.lastIndexOf(`.`),n=t>0?e.name.slice(0,t):e.name||`upload`,r=t>0?e.name.slice(t):``,i=Date.now().toString(36)+Math.random().toString(36).slice(2,6);return new File([e],`${n}-${i}${r||`.png`}`,{type:e.type||`image/png`,lastModified:Date.now()})}catch{return e}},My=(e,t)=>{if(e)if(typeof e.handleStart==`function`){if(e.handleStart(t),typeof e.submit==`function`)try{e.submit()}catch{}}else typeof e.handleAdd==`function`&&e.handleAdd(t)},Ny=[],Py=null,Fy=!1,Iy=()=>{if(!Ny.length)return null;if(Py){let e=Ny.find(e=>e.id===Py);if(e)return e}return Ny[Ny.length-1]},Ly=e=>{if(!Ny.length)return;let t=document.activeElement;if(t){let n=t.tagName,r=t.isContentEditable;if(n===`INPUT`||n===`TEXTAREA`||r){let t=e.clipboardData?.items;if(!(t&&Array.from(t).some(e=>e.kind===`file`)))return}}let n=e.clipboardData?.items;if(!n||n.length===0)return;let r=[];for(let e=0;e<n.length;e+=1){let t=n[e];if(t.kind===`file`){let e=t.getAsFile();e&&r.push(e)}}if(!r.length)return;let i=Iy();if(!i)return;let a=r.filter(e=>Ay(e,i.accept));a.length&&(e.preventDefault(),a.forEach(e=>{i.handleFile(jy(e))}))},Ry=()=>{Fy||typeof document>`u`||(document.addEventListener(`paste`,Ly,!0),Fy=!0)},zy=e=>{Ry(),Ny.push(e);let t=()=>{Py=e.id};return e.el&&(e.el.addEventListener(`mouseenter`,t),e.el.addEventListener(`focusin`,t)),()=>{let n=Ny.findIndex(t=>t.id===e.id);n>=0&&Ny.splice(n,1),Py===e.id&&(Py=null),e.el&&(e.el.removeEventListener(`mouseenter`,t),e.el.removeEventListener(`focusin`,t))}},By={computed:{pasteAccept(){return`.png,.jpg,.jpeg,.gif,.bmp,.webp`}},mounted(){let e=Symbol(`paste-upload-target`),t=this.$el instanceof HTMLElement?this.$el:null;this.__pasteUploadCleanup=zy({id:e,accept:this.pasteAccept,el:t,handleFile:e=>{Du()&&My(this.$refs?.uploader,e)}})},beforeUnmount(){this.__pasteUploadCleanup&&=(this.__pasteUploadCleanup(),void 0)}},Vy=z(!1),Hy=z(null),Uy=[],Wy=0,Gy=!1,Ky=e=>{let t=e.dataTransfer?.types;return t?Array.from(t).includes(`Files`):!1},qy=e=>{if(!(e instanceof Node))return null;for(let t=Uy.length-1;t>=0;--t){let n=Uy[t];if(n.isDisabled?.())continue;let r=n.getEl();if(r&&r.contains(e))return n}return null},Jy=()=>{Wy=0,Vy.value=!1,Hy.value=null},Yy=e=>{Ky(e)&&(Wy+=1,Vy.value=!0)},Xy=e=>{if(!Vy.value)return;let t=qy(e.target);t?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`copy`),Hy.value=t.id):Hy.value=null},Zy=e=>{Ky(e)&&(Wy=Math.max(0,Wy-1),(Wy===0||!e.relatedTarget)&&(Wy=0,Vy.value=!1,Hy.value=null))},Qy=e=>{let t=Vy.value||Ky(e),n=qy(e.target);if(Jy(),!t||!n)return;let r=e.dataTransfer?.files;if(!r||r.length===0)return;e.preventDefault(),e.stopPropagation();let i=Array.from(r).filter(e=>Ay(e,n.getAccept?.()));i.length&&i.forEach(e=>n.handleFile(jy(e)))},$y=()=>{Gy||typeof document>`u`||(document.addEventListener(`dragenter`,Yy,!0),document.addEventListener(`dragover`,Xy,!0),document.addEventListener(`dragleave`,Zy,!0),document.addEventListener(`drop`,Qy,!0),window.addEventListener(`dragend`,Jy,!0),window.addEventListener(`blur`,Jy),Gy=!0)},eb=e=>($y(),Uy.push(e),()=>{let t=Uy.findIndex(t=>t.id===e.id);t>=0&&Uy.splice(t,1),Hy.value===e.id&&(Hy.value=null)}),tb=`drop-upload-overlay`,nb=`drop-upload-host--dragging`,rb=(e,t)=>t||e.querySelector(`input[type="file"]`)?.accept||void 0,ib=()=>{try{return un.global.t(`common.message.dropToUpload`)}catch{return`Drop to upload`}},ab=()=>{let e=document.createElement(`div`);e.className=tb,e.setAttribute(`aria-hidden`,`true`);let t=document.createElement(`span`);return t.className=`${tb}__label`,e.appendChild(t),e},ob={computed:{dropAccept(){},dropDisabled(){return!1}},mounted(){this.__dropId=Symbol(`drop-upload-target`),this.__syncDropRegistration(),this.$nextTick(()=>this.__syncDropRegistration())},updated(){this.__syncDropRegistration()},beforeUnmount(){this.__dropStopWatch&&this.__dropStopWatch(),this.__dropCleanup&&this.__dropCleanup(),this.__dropRegisteredEl&&this.__dropRegisteredEl.classList.remove(nb),this.__dropOverlay?.parentElement&&this.__dropOverlay.parentElement.removeChild(this.__dropOverlay),this.__dropOverlay=null,this.__dropRegisteredEl=null,this.__dropVisible=!1,this.__dropActive=!1,this.__dropStopWatch=void 0,this.__dropCleanup=void 0},methods:{__syncDropRegistration(){let e=this.$el instanceof HTMLElement?this.$el:null;e&&(this.__dropRegisteredEl===e&&this.__dropCleanup||(this.__dropCleanup&&this.__dropCleanup(),this.__dropRegisteredEl&&this.__dropRegisteredEl.classList.remove(nb),this.__dropOverlay?.parentElement&&this.__dropOverlay.parentElement.removeChild(this.__dropOverlay),this.__dropOverlay=null,this.__dropVisible=!1,this.__dropActive=!1,getComputedStyle(e).position===`static`&&(e.style.position=`relative`),this.__dropRegisteredEl=e,this.__dropCleanup=eb({id:this.__dropId,getAccept:()=>rb(this.$el instanceof HTMLElement?this.$el:e,this.dropAccept),isDisabled:()=>!!this.dropDisabled,getEl:()=>this.$el instanceof HTMLElement?this.$el:null,handleFile:e=>{this.dropDisabled||!Du()||My(this.$refs?.uploader,jy(e))}}),this.__dropStopWatch||=N(()=>({visible:Vy.value&&!this.dropDisabled,active:Hy.value===this.__dropId}),({visible:e,active:t})=>this.__toggleOverlay(e,t),{immediate:!1})))},__toggleOverlay(e,t){let n=this.__dropRegisteredEl;if(!n||this.__dropVisible===e&&this.__dropActive===t)return;let r=this.__dropVisible===!0;if(this.__dropVisible=e,this.__dropActive=t,e){this.__dropOverlay||=ab();let e=this.__dropOverlay.querySelector(`.${tb}__label`);e&&(e.textContent=ib()),this.__dropOverlay.parentElement||n.appendChild(this.__dropOverlay),n.classList.add(nb),r||this.__dropOverlay.offsetWidth,this.__dropOverlay.classList.add(`${tb}--visible`),this.__dropOverlay.classList.toggle(`${tb}--active`,t)}else this.__dropOverlay&&(this.__dropOverlay.classList.remove(`${tb}--visible`,`${tb}--active`),n.classList.remove(nb))}}},sb=e=>{let t=e?.status;return t===`ready`||t===`uploading`},cb=e=>String(e?.uid??JSON.stringify(e)),lb={inject:{uploadTracker:{default:null}},watch:{fileList:{deep:!0,immediate:!0,handler(e){let t=this.uploadTracker;if(!t)return;let n=this.__pendingUploadUids??new Set,r=new Set;for(let t of e||[])sb(t)&&r.add(cb(t));let i=0;for(let e of r)n.has(e)||(i+=1);for(let e of n)r.has(e)||--i;if(i!==0){let e=t.count+i;t.count=e>0?e:0}this.__pendingUploadUids=r}}},beforeUnmount(){let e=this.uploadTracker,t=this.__pendingUploadUids;if(e&&t&&t.size>0){let n=e.count-t.size;e.count=n>0?n:0}this.__pendingUploadUids=void 0}},ub={data(){return{uploadTracker:{count:0}}},provide(){return{uploadTracker:this.uploadTracker}}};function db(e,t,n){return e&&e.count>0?(n(t(`common.message.uploadInProgress`)),!1):!0}var fb=100*1024*1024,pb=e=>{if(!Number.isFinite(e)||e<0)return`0 B`;if(e<1024)return`${e} B`;let t=[`KB`,`MB`,`GB`],n=e/1024,r=t[0];for(let e=1;e<t.length&&n>=1024;e+=1)n/=1024,r=t[e];return`${n<10?n.toFixed(1):Math.round(n)} ${r}`},mb=(e,t=fb)=>e<=Math.min(t,fb),hb=(e=fb)=>Math.min(e,fb),gb={methods:{beforeUploadSizeGuard(e){let t=hb(this.uploadSizeLimitBytes??104857600);return mb(e.size,t)?!0:(Ht.error(this.$t(`common.message.uploadTooLarge`,{size:pb(e.size),max:pb(t)})),!1)}}};function _b(e,t){let n=e?{connect:e}:void 0;if(t){t.push({path:`/console/connectors`,query:n});return}let r=new URL(`/console/connectors`,window.location.origin);e&&r.searchParams.set(`connect`,e),window.location.href=r.toString()}var vb=`FEATURES`,yb=`__all__`,bb=`!`,xb=1,Sb=null;function Cb(){return typeof window>`u`?!0:window.location.protocol===`https:`}function wb(){if(typeof document>`u`)return new Set;try{let e=xu(vb);return e?new Set(JSON.parse(e)):new Set}catch{return new Set}}function Tb(e){if(!(typeof document>`u`))try{if(e.size===0){Cu(vb,{path:`/`});return}bu(vb,JSON.stringify(Array.from(e)),{expires:xb,path:`/`,sameSite:`lax`,secure:Cb()})}catch{}}function Eb(e){let t=new Set,n=new Set,r=!1,i=!1;for(let a of e.split(/[\s,]+/)){let e=a.trim().toLowerCase();if(e){if(e===`clear`||e===`none`||e===`off`){r=!0;continue}if(e===`all`||e===`*`){i=!0;continue}if(e.startsWith(`-`)||e.startsWith(`!`)){n.add(e.slice(1));continue}t.add(e)}}return{clear:r,all:i,add:t,remove:n}}function Db(){if(typeof window>`u`)return Sb=new Set,Sb;let e=wb(),t=new URLSearchParams(window.location.search).get(`features`);if(t===null)return Sb=e,e;let{clear:n,all:r,add:i,remove:a}=Eb(t);return n&&e.clear(),r&&e.add(yb),i.forEach(t=>{e.delete(bb+t),e.add(t)}),a.forEach(t=>{e.delete(t),e.add(bb+t)}),Tb(e),Sb=e,e}var Ob=!1,kb=new Set,Ab,jb=`apple-iap-pending-transactions`,Mb={};function Nb(){try{let e=JSON.parse(window.localStorage.getItem(jb)||`{}`);for(let[t,n]of Object.entries(e)){let e=n;e?.orderId===t&&e.productId&&/^\d+$/.test(e.transactionId)&&(Mb[t]=e)}}catch{}return Mb}function Pb(e){Mb[e.orderId]=e,Ib()}function Fb(e){delete Mb[e],Ib()}function Ib(){try{window.localStorage.setItem(jb,JSON.stringify(Mb))}catch{}}function Lb(e,t){return e?.state===`Finished`&&e?.pay_id===t}function Rb(e,t){return/^\d+$/.test(String(e?.transactionId||``))&&e?.products?.some(e=>e.id===t)}function zb(){return window.CdvPurchase}async function Bb(e=8e3){let t=Date.now();for(;Date.now()-t<e;){let e=zb();if(e?.store)return e;await new Promise(e=>setTimeout(e,200))}return zb()}async function Vb(e,t,n){if(n?.aborted)return{ok:!1,cancelled:!0};if(Ab)return Ab.orderId===e?Ab.promise:{ok:!1,error:`purchase_in_progress`};let r=Hb(e,t,n);Ab={orderId:e,promise:r};try{return await r}finally{Ab?.promise===r&&(Ab=void 0)}}async function Hb(e,t,n){if(!Nr())return{ok:!1,error:`iap_only_ios`};if(!t)return{ok:!1,error:`missing_product_id`};let r=await Bb();if(n?.aborted)return{ok:!1,cancelled:!0};if(!r?.store)return{ok:!1,error:`iap_unavailable`};let{store:i,ProductType:a,Platform:o,ErrorCode:s}=r;try{if(i.register([{id:t,type:a.CONSUMABLE,platform:o.APPLE_APPSTORE}]),!Ob){let e=await i.initialize([o.APPLE_APPSTORE]);if(e?.length)return{ok:!1,error:e[0].message||`iap_unavailable`};Ob=!0}else if(!kb.has(t)){let e=i.minTimeBetweenUpdates;try{i.minTimeBetweenUpdates=0,await i.update()}finally{i.minTimeBetweenUpdates=e}}kb.add(t)}catch(e){return{ok:!1,error:e?.message||`iap_unavailable`}}if(n?.aborted)return{ok:!1,cancelled:!0};let c=Nb()[e];if(c)try{if(!Lb((await vm.get(e)).data,c.transactionId)&&!Lb((await vm.appleVerify(e,c.transactionId)).data,c.transactionId))throw Error(`verify_pending`);let t=i.localTransactions?.find(e=>e.transactionId===c.transactionId);if(t&&await t.finish())throw Error(`finish_pending`);return Fb(e),{ok:!0,transactionId:c.transactionId}}catch{return{ok:!1,transactionId:c.transactionId,verificationPending:!0,error:`verify_pending`}}return Object.values(Nb()).some(e=>e.productId===t)?{ok:!1,verificationPending:!0,error:`purchase_pending_verification`}:new Promise(a=>{let c=!1,l=!1,u=!1,d=e=>{c||(c=!0,i.off(f),i.off(p),n?.removeEventListener(`abort`,m),a(e))},f=async n=>{if(c||l||!u||!Rb(n,t)||n.appAccountToken&&String(n.appAccountToken).toLowerCase()!==e.toLowerCase())return;l=!0;let r=String(n.transactionId);Pb({orderId:e,productId:t,transactionId:r});try{if(!Lb((await vm.appleVerify(e,r)).data,r))throw Error(`verify_pending`);if(await n.finish())throw Error(`finish_pending`);Fb(e),d({ok:!0,transactionId:r})}catch{d({ok:!1,transactionId:r,verificationPending:!0,error:`verify_pending`})}},p=e=>{c||l||e?.productId&&e.productId!==t||d({ok:!1,cancelled:e?.code===s?.PAYMENT_CANCELLED,error:e?.message||`iap_error`})},m=()=>{!u&&!l&&d({ok:!1,cancelled:!0})};i.when().approved(f),i.error(p),n?.addEventListener(`abort`,m,{once:!0}),(async()=>{try{let a=i.get(t,o.APPLE_APPSTORE)?.getOffer(),s=0;for(;!a&&s<15e3;){if(await i.update().catch(()=>{}),c||n?.aborted){m();return}await new Promise(e=>setTimeout(e,1500)),s+=1500,a=i.get(t,o.APPLE_APPSTORE)?.getOffer()}if(c||n?.aborted){m();return}if(!a){d({ok:!1,error:`product_not_found`});return}if(i.localTransactions?.some(e=>Rb(e,t)&&e.state===r.TransactionState?.APPROVED)){d({ok:!1,verificationPending:!0,error:`purchase_pending_verification`});return}i.applicationUsername=e,i.obfuscator=`disabled`,u=!0;let f=await i.order(a);f&&!l&&p(f)}catch(e){l||d({ok:!1,error:e?.message||`order_failed`})}})()})}var Ub=new Set([`==`,`===`,`in`,`<=`,`<`,`>=`,`>`]);function Wb(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Gb(e){if(!Wb(e)||!(`var`in e))return;let t=e.var;if(typeof t==`string`)return t;if(Array.isArray(t)&&typeof t[0]==`string`)return t[0]}function Kb(e){if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return String(e);if(Array.isArray(e)&&e.every(e=>[`string`,`number`,`boolean`].includes(typeof e)))return e.map(String).join(`, `)}function qb(e,t){if(t.length<2)return;let n=Gb(t[0]),r=Gb(t[1]),i=n||r;if(!i)return;let a=Kb(n?t[1]:t[0]);if(a!==void 0)return e===`in`?{field:i,operator:`oneOf`,value:a}:e===`==`||e===`===`?{field:i,operator:`equals`,value:a}:{field:i,operator:(n?{"<=":`atMost`,"<":`lessThan`,">=":`atLeast`,">":`greaterThan`}:{"<=":`atLeast`,"<":`greaterThan`,">=":`atMost`,">":`lessThan`})[e]||`other`,value:a}}function Jb(e,t){if(e!==`some`||t.length!==2)return;let[n,r]=t;if(Gb(n)!==`content`||!Wb(r)||!Array.isArray(r.in))return;let[i,a]=r.in;if(!(i!==`reference_video`||Gb(a)!==`role`))return{field:`referenceVideo`,operator:`equals`,value:`required`}}function Yb(e){if(!Wb(e)||Object.keys(e).length===0)return[];let t=Object.entries(e);if(t.length!==1)return;let[n,r]=t[0];if(!Array.isArray(r))return;if(n===`and`){let e=r.map(Yb);return e.some(e=>e===void 0)?void 0:e.flatMap(e=>e||[])}if(n===`or`){let e=r.map(Yb);if(e.some(e=>!e||e.length!==1))return;let t=e.flatMap(e=>e||[]),n=t[0];return n?t.every(e=>e.field===n.field)?[{field:n.field,operator:`either`,value:t.map(e=>e.value).join(`, `)}]:[{field:``,operator:`anyOf`,value:``,options:t}]:void 0}if(Ub.has(n))return[qb(n,r)].filter(Boolean);let i=Jb(n,r);return i?[i]:[{field:``,operator:`other`,value:``}]}function Xb(e){if(!Wb(e)||!Array.isArray(e[`*`])||e[`*`].length!==2)return;let[t,n]=e[`*`];if(typeof t==`number`){let e=Gb(n);return e?{amount:t,rateField:e}:void 0}if(typeof n==`number`){let e=Gb(t);return e?{amount:n,rateField:e}:void 0}}function Zb(e,t){return Wb(t)?e.map(e=>{let n=t[e.field];return typeof n==`string`?{...e,value:n}:e}):e}function Qb(e){return e>0&&e<1e-4?`<0.0001`:e<.01?e.toFixed(4):e.toFixed(4).replace(/0{1,2}$/,``)}function $b(e){return Array.isArray(e)?e.flatMap((e,t)=>{if(!Wb(e)||e.hidden===!0)return[];let n=e,r=Zb(Yb(n.conditions)??[{field:``,operator:`other`,value:``}],n.remark),i={id:`pricing-rule-${t}`,conditions:r,unit:typeof n.unit==`string`?n.unit:void 0,remark:typeof n.remark==`string`?n.remark:void 0,estimated:n.estimated===!0,usageMetered:n.usage_metered===!0};if(typeof n.consumption==`number`&&Number.isFinite(n.consumption))return[{...i,billingKind:n.consumption===0?`free`:`fixed`,amount:n.consumption}];let a=Xb(n.consumption);return a?[{...i,billingKind:`linear`,...a}]:[{...i,billingKind:`calculated`}]}):[]}function ex(e){if(!Wb(e)||!Array.isArray(e.var))return;let t=e.var[1];return typeof t==`string`?t:void 0}function tx(e){if(!Wb(e))return[];let t=Object.entries(e);if(t.length!==1)return[];let[n,r]=t[0];if(!Array.isArray(r))return[];if(n===`and`||n===`or`)return r.flatMap(tx);if(n!==`==`&&n!==`===`&&n!==`in`)return[];let i=r.findIndex(e=>Gb(e)===`model`);if(i<0)return[];let a=r[+(i===0)],o=Array.isArray(a)?a.filter(e=>typeof e==`string`):typeof a==`string`?[a]:[];return o.length?[{values:o,defaultValue:ex(r[i])}]:[]}function nx(e,t,n){if(!Array.isArray(e)||!t?.length)return Array.isArray(e)?e:[];let r=new Set(t);return e.filter(e=>Wb(e)?tx(e.conditions).some(e=>(!n||e.defaultValue===n)&&e.values.some(e=>r.has(e))):!1)}function rx(e,t){if(e.operator===`anyOf`){let n=(e.options||[]).map(e=>rx(e,t)).filter(Boolean);return n.length?{...e,options:n}:void 0}if(e.field!==`model`&&e.field!==`model_name`)return e;let n=e.value.split(`,`).map(e=>e.trim()).filter(e=>t.has(e));return n.length?{...e,value:n.join(`, `)}:void 0}function ix(e,t){if(!t?.length)return e;let n=new Set(t);return e.flatMap(e=>{if(!e.conditions.some(e=>e.field===`model`||e.field===`model_name`||e.options?.some(e=>e.field===`model`||e.field===`model_name`)))return[];let t=e.conditions.map(e=>rx(e,n)).filter(Boolean);return t.some(e=>e.field===`model`||e.field===`model_name`||e.options?.some(e=>e.field===`model`||e.field===`model_name`))?[{...e,conditions:t}]:[]})}var ax=na(`Browser`,{web:()=>W(()=>import(`./web-BRGudU6E.js`).then(e=>new e.BrowserWeb),[])});function ox(e){try{return new URL(e).origin===new URL(Cc()).origin}catch{return!1}}function sx(){if(!(typeof window>`u`||fr()||ir()))return[`http:`,`https:`].includes(window.location.protocol)?window.location.origin:void 0}function cx(e){return sx()?Ug(e):e}function lx(e){if(!e)return;let t=new URL(`/connections/continue`,Cc());return t.searchParams.set(`handoff`,e),cx(t.toString())}function ux(e){let t=new URL(cx(e)),n=`${t.pathname}${t.search}${t.hash}`,r=new URL(`/auth/login/`,Cc());return r.searchParams.set(`redirect`,n),cx(r.toString())}async function dx(e){if(!ox(e))return e;let t=ux(e);try{let{data:e}=await Tm.getCode(),n=new URL(t);return n.searchParams.set(`code`,e.code),n.toString()}catch(e){return console.warn(`failed to hand off session to AuthFrontend`,e),t}}async function fx(e,t){return dx((t?lx(t):void 0)||e)}var px=async e=>{let t=new URL(e,Cc()).toString(),n=fr()?null:window.open(`about:blank`,`_blank`),r=await dx(t);fr()?await ax.open({url:r}):n?n.location.replace(r):window.location.href=r},mx=n(((e,t)=>{t.exports=function(){return typeof Promise==`function`&&Promise.prototype&&Promise.prototype.then}})),hx=n((e=>{var t,n=[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];e.getSymbolSize=function(e){if(!e)throw Error(`"version" cannot be null or undefined`);if(e<1||e>40)throw Error(`"version" should be in range from 1 to 40`);return e*4+17},e.getSymbolTotalCodewords=function(e){return n[e]},e.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t},e.setToSJISFunction=function(e){if(typeof e!=`function`)throw Error(`"toSJISFunc" is not a valid function.`);t=e},e.isKanjiModeEnabled=function(){return t!==void 0},e.toSJIS=function(e){return t(e)}})),gx=n((e=>{e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(t){if(typeof t!=`string`)throw Error(`Param is not a string`);switch(t.toLowerCase()){case`l`:case`low`:return e.L;case`m`:case`medium`:return e.M;case`q`:case`quartile`:return e.Q;case`h`:case`high`:return e.H;default:throw Error(`Unknown EC Level: `+t)}}e.isValid=function(e){return e&&e.bit!==void 0&&e.bit>=0&&e.bit<4},e.from=function(n,r){if(e.isValid(n))return n;try{return t(n)}catch{return r}}})),_x=n(((e,t)=>{function n(){this.buffer=[],this.length=0}n.prototype={get:function(e){let t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},t.exports=n})),vx=n(((e,t)=>{function n(e){if(!e||e<1)throw 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)}n.prototype.set=function(e,t,n,r){let i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)},n.prototype.get=function(e,t){return this.data[e*this.size+t]},n.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},n.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},t.exports=n})),yx=n((e=>{var t=hx().getSymbolSize;e.getRowColCoords=function(e){if(e===1)return[];let n=Math.floor(e/7)+2,r=t(e),i=r===145?26:Math.ceil((r-13)/(2*n-2))*2,a=[r-7];for(let e=1;e<n-1;e++)a[e]=a[e-1]-i;return a.push(6),a.reverse()},e.getPositions=function(t){let n=[],r=e.getRowColCoords(t),i=r.length;for(let e=0;e<i;e++)for(let t=0;t<i;t++)e===0&&t===0||e===0&&t===i-1||e===i-1&&t===0||n.push([r[e],r[t]]);return n}})),bx=n((e=>{var t=hx().getSymbolSize,n=7;e.getPositions=function(e){let r=t(e);return[[0,0],[r-n,0],[0,r-n]]}})),xx=n((e=>{e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(e){return e!=null&&e!==``&&!isNaN(e)&&e>=0&&e<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(e){let n=e.size,r=0,i=0,a=0,o=null,s=null;for(let c=0;c<n;c++){i=a=0,o=s=null;for(let l=0;l<n;l++){let n=e.get(c,l);n===o?i++:(i>=5&&(r+=t.N1+(i-5)),o=n,i=1),n=e.get(l,c),n===s?a++:(a>=5&&(r+=t.N1+(a-5)),s=n,a=1)}i>=5&&(r+=t.N1+(i-5)),a>=5&&(r+=t.N1+(a-5))}return r},e.getPenaltyN2=function(e){let n=e.size,r=0;for(let t=0;t<n-1;t++)for(let i=0;i<n-1;i++){let n=e.get(t,i)+e.get(t,i+1)+e.get(t+1,i)+e.get(t+1,i+1);(n===4||n===0)&&r++}return r*t.N2},e.getPenaltyN3=function(e){let n=e.size,r=0,i=0,a=0;for(let t=0;t<n;t++){i=a=0;for(let o=0;o<n;o++)i=i<<1&2047|e.get(t,o),o>=10&&(i===1488||i===93)&&r++,a=a<<1&2047|e.get(o,t),o>=10&&(a===1488||a===93)&&r++}return r*t.N3},e.getPenaltyN4=function(e){let n=0,r=e.data.length;for(let t=0;t<r;t++)n+=e.data[t];return Math.abs(Math.ceil(n*100/r/5)-10)*t.N4};function n(t,n,r){switch(t){case e.Patterns.PATTERN000:return(n+r)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return r%3==0;case e.Patterns.PATTERN011:return(n+r)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case e.Patterns.PATTERN101:return n*r%2+n*r%3==0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error(`bad maskPattern:`+t)}}e.applyMask=function(e,t){let r=t.size;for(let i=0;i<r;i++)for(let a=0;a<r;a++)t.isReserved(a,i)||t.xor(a,i,n(e,a,i))},e.getBestMask=function(t,n){let r=Object.keys(e.Patterns).length,i=0,a=1/0;for(let o=0;o<r;o++){n(o),e.applyMask(o,t);let r=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(o,t),r<a&&(a=r,i=o)}return i}})),Sx=n((e=>{var t=gx(),n=[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],r=[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];e.getBlocksCount=function(e,r){switch(r){case t.L:return n[(e-1)*4+0];case t.M:return n[(e-1)*4+1];case t.Q:return n[(e-1)*4+2];case t.H:return n[(e-1)*4+3];default:return}},e.getTotalCodewordsCount=function(e,n){switch(n){case t.L:return r[(e-1)*4+0];case t.M:return r[(e-1)*4+1];case t.Q:return r[(e-1)*4+2];case t.H:return r[(e-1)*4+3];default:return}}})),Cx=n((e=>{var t=new Uint8Array(512),n=new Uint8Array(256);(function(){let e=1;for(let r=0;r<255;r++)t[r]=e,n[e]=r,e<<=1,e&256&&(e^=285);for(let e=255;e<512;e++)t[e]=t[e-255]})(),e.log=function(e){if(e<1)throw Error(`log(`+e+`)`);return n[e]},e.exp=function(e){return t[e]},e.mul=function(e,r){return e===0||r===0?0:t[n[e]+n[r]]}})),wx=n((e=>{var t=Cx();e.mul=function(e,n){let r=new Uint8Array(e.length+n.length-1);for(let i=0;i<e.length;i++)for(let a=0;a<n.length;a++)r[i+a]^=t.mul(e[i],n[a]);return r},e.mod=function(e,n){let r=new Uint8Array(e);for(;r.length-n.length>=0;){let e=r[0];for(let i=0;i<n.length;i++)r[i]^=t.mul(n[i],e);let i=0;for(;i<r.length&&r[i]===0;)i++;r=r.slice(i)}return r},e.generateECPolynomial=function(n){let r=new Uint8Array([1]);for(let i=0;i<n;i++)r=e.mul(r,new Uint8Array([1,t.exp(i)]));return r}})),Tx=n(((e,t)=>{var n=wx();function r(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}r.prototype.initialize=function(e){this.degree=e,this.genPoly=n.generateECPolynomial(this.degree)},r.prototype.encode=function(e){if(!this.genPoly)throw Error(`Encoder not initialized`);let t=new Uint8Array(e.length+this.degree);t.set(e);let r=n.mod(t,this.genPoly),i=this.degree-r.length;if(i>0){let e=new Uint8Array(this.degree);return e.set(r,i),e}return r},t.exports=r})),Ex=n((e=>{e.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}})),Dx=n((e=>{var t=`[0-9]+`,n=`[A-Z $%*+\\-./:]+`,r=`(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+`;r=r.replace(/u/g,`\\u`);var i=`(?:(?![A-Z0-9 $%*+\\-./:]|`+r+`)(?:.|[\r
|
|
9
|
+
]))+`;e.KANJI=new RegExp(r,`g`),e.BYTE_KANJI=RegExp(`[^A-Z0-9 $%*+\\-./:]+`,`g`),e.BYTE=new RegExp(i,`g`),e.NUMERIC=new RegExp(t,`g`),e.ALPHANUMERIC=new RegExp(n,`g`);var a=RegExp(`^`+r+`$`),o=RegExp(`^[0-9]+$`),s=RegExp(`^[A-Z0-9 $%*+\\-./:]+$`);e.testKanji=function(e){return a.test(e)},e.testNumeric=function(e){return o.test(e)},e.testAlphanumeric=function(e){return s.test(e)}})),Ox=n((e=>{var t=Ex(),n=Dx();e.NUMERIC={id:`Numeric`,bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:`Alphanumeric`,bit:2,ccBits:[9,11,13]},e.BYTE={id:`Byte`,bit:4,ccBits:[8,16,16]},e.KANJI={id:`Kanji`,bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(e,n){if(!e.ccBits)throw Error(`Invalid mode: `+e);if(!t.isValid(n))throw Error(`Invalid version: `+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]},e.getBestModeForData=function(t){return n.testNumeric(t)?e.NUMERIC:n.testAlphanumeric(t)?e.ALPHANUMERIC:n.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(e){if(e&&e.id)return e.id;throw Error(`Invalid mode`)},e.isValid=function(e){return e&&e.bit&&e.ccBits};function r(t){if(typeof t!=`string`)throw Error(`Param is not a string`);switch(t.toLowerCase()){case`numeric`:return e.NUMERIC;case`alphanumeric`:return e.ALPHANUMERIC;case`kanji`:return e.KANJI;case`byte`:return e.BYTE;default:throw Error(`Unknown mode: `+t)}}e.from=function(t,n){if(e.isValid(t))return t;try{return r(t)}catch{return n}}})),kx=n((e=>{var t=hx(),n=Sx(),r=gx(),i=Ox(),a=Ex(),o=7973,s=t.getBCHDigit(o);function c(t,n,r){for(let i=1;i<=40;i++)if(n<=e.getCapacity(i,r,t))return i}function l(e,t){return i.getCharCountIndicator(e,t)+4}function u(e,t){let n=0;return e.forEach(function(e){let r=l(e.mode,t);n+=r+e.getBitsLength()}),n}function d(t,n){for(let r=1;r<=40;r++)if(u(t,r)<=e.getCapacity(r,n,i.MIXED))return r}e.from=function(e,t){return a.isValid(e)?parseInt(e,10):t},e.getCapacity=function(e,r,o){if(!a.isValid(e))throw Error(`Invalid QR Code version`);o===void 0&&(o=i.BYTE);let s=(t.getSymbolTotalCodewords(e)-n.getTotalCodewordsCount(e,r))*8;if(o===i.MIXED)return s;let c=s-l(o,e);switch(o){case i.NUMERIC:return Math.floor(c/10*3);case i.ALPHANUMERIC:return Math.floor(c/11*2);case i.KANJI:return Math.floor(c/13);case i.BYTE:default:return Math.floor(c/8)}},e.getBestVersionForData=function(e,t){let n,i=r.from(t,r.M);if(Array.isArray(e)){if(e.length>1)return d(e,i);if(e.length===0)return 1;n=e[0]}else n=e;return c(n.mode,n.getLength(),i)},e.getEncodedBits=function(e){if(!a.isValid(e)||e<7)throw Error(`Invalid QR Code version`);let n=e<<12;for(;t.getBCHDigit(n)-s>=0;)n^=o<<t.getBCHDigit(n)-s;return e<<12|n}})),Ax=n((e=>{var t=hx(),n=1335,r=21522,i=t.getBCHDigit(n);e.getEncodedBits=function(e,a){let o=e.bit<<3|a,s=o<<10;for(;t.getBCHDigit(s)-i>=0;)s^=n<<t.getBCHDigit(s)-i;return(o<<10|s)^r}})),jx=n(((e,t)=>{var n=Ox();function r(e){this.mode=n.NUMERIC,this.data=e.toString()}r.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){let t,n,r;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),r=parseInt(n,10),e.put(r,10);let i=this.data.length-t;i>0&&(n=this.data.substr(t),r=parseInt(n,10),e.put(r,i*3+1))},t.exports=r})),Mx=n(((e,t)=>{var n=Ox(),r=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`.split(``);function i(e){this.mode=n.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=r.indexOf(this.data[t])*45;n+=r.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(r.indexOf(this.data[t]),6)},t.exports=i})),Nx=n(((e,t)=>{var n=Ox();function r(e){this.mode=n.BYTE,typeof e==`string`?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}r.getBitsLength=function(e){return e*8},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},t.exports=r})),Px=n(((e,t)=>{var n=Ox(),r=hx();function i(e){this.mode=n.KANJI,this.data=e}i.getBitsLength=function(e){return e*13},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=r.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error(`Invalid SJIS character: `+this.data[t]+`
|
|
10
|
+
Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}},t.exports=i})),Fx=n(((e,t)=>{var n={single_source_shortest_paths:function(e,t,r){var i={},a={};a[t]=0;var o=n.PriorityQueue.make();o.push(t,0);for(var s,c,l,u,d,f,p,m,h;!o.empty();)for(l in s=o.pop(),c=s.value,u=s.cost,d=e[c]||{},d)d.hasOwnProperty(l)&&(f=d[l],p=u+f,m=a[l],h=a[l]===void 0,(h||m>p)&&(a[l]=p,o.push(l,p),i[l]=c));if(r!==void 0&&a[r]===void 0){var g=[`Could not find a path from `,t,` to `,r,`.`].join(``);throw Error(g)}return i},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,t,r){var i=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var t=n.PriorityQueue,r={},i;for(i in e||={},t)t.hasOwnProperty(i)&&(r[i]=t[i]);return r.queue=[],r.sorter=e.sorter||t.default_sorter,r},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t!==void 0&&(t.exports=n)})),Ix=n((e=>{var t=Ox(),n=jx(),r=Mx(),i=Nx(),a=Px(),o=Dx(),s=hx(),c=Fx();function l(e){return unescape(encodeURIComponent(e)).length}function u(e,t,n){let r=[],i;for(;(i=e.exec(n))!==null;)r.push({data:i[0],index:i.index,mode:t,length:i[0].length});return r}function d(e){let n=u(o.NUMERIC,t.NUMERIC,e),r=u(o.ALPHANUMERIC,t.ALPHANUMERIC,e),i,a;return s.isKanjiModeEnabled()?(i=u(o.BYTE,t.BYTE,e),a=u(o.KANJI,t.KANJI,e)):(i=u(o.BYTE_KANJI,t.BYTE,e),a=[]),n.concat(r,i,a).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function f(e,o){switch(o){case t.NUMERIC:return n.getBitsLength(e);case t.ALPHANUMERIC:return r.getBitsLength(e);case t.KANJI:return a.getBitsLength(e);case t.BYTE:return i.getBitsLength(e)}}function p(e){return e.reduce(function(e,t){let n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)},[])}function m(e){let n=[];for(let r=0;r<e.length;r++){let i=e[r];switch(i.mode){case t.NUMERIC:n.push([i,{data:i.data,mode:t.ALPHANUMERIC,length:i.length},{data:i.data,mode:t.BYTE,length:i.length}]);break;case t.ALPHANUMERIC:n.push([i,{data:i.data,mode:t.BYTE,length:i.length}]);break;case t.KANJI:n.push([i,{data:i.data,mode:t.BYTE,length:l(i.data)}]);break;case t.BYTE:n.push([{data:i.data,mode:t.BYTE,length:l(i.data)}])}}return n}function h(e,n){let r={},i={start:{}},a=[`start`];for(let o=0;o<e.length;o++){let s=e[o],c=[];for(let e=0;e<s.length;e++){let l=s[e],u=``+o+e;c.push(u),r[u]={node:l,lastCount:0},i[u]={};for(let e=0;e<a.length;e++){let o=a[e];r[o]&&r[o].node.mode===l.mode?(i[o][u]=f(r[o].lastCount+l.length,l.mode)-f(r[o].lastCount,l.mode),r[o].lastCount+=l.length):(r[o]&&(r[o].lastCount=l.length),i[o][u]=f(l.length,l.mode)+4+t.getCharCountIndicator(l.mode,n))}}a=c}for(let e=0;e<a.length;e++)i[a[e]].end=0;return{map:i,table:r}}function g(e,o){let c,l=t.getBestModeForData(e);if(c=t.from(o,l),c!==t.BYTE&&c.bit<l.bit)throw Error(`"`+e+`" cannot be encoded with mode `+t.toString(c)+`.
|
|
11
|
+
Suggested mode is: `+t.toString(l));switch(c===t.KANJI&&!s.isKanjiModeEnabled()&&(c=t.BYTE),c){case t.NUMERIC:return new n(e);case t.ALPHANUMERIC:return new r(e);case t.KANJI:return new a(e);case t.BYTE:return new i(e)}}e.fromArray=function(e){return e.reduce(function(e,t){return typeof t==`string`?e.push(g(t,null)):t.data&&e.push(g(t.data,t.mode)),e},[])},e.fromString=function(t,n){let r=h(m(d(t,s.isKanjiModeEnabled())),n),i=c.find_path(r.map,`start`,`end`),a=[];for(let e=1;e<i.length-1;e++)a.push(r.table[i[e]].node);return e.fromArray(p(a))},e.rawSplit=function(t){return e.fromArray(d(t,s.isKanjiModeEnabled()))}})),Lx=n((e=>{var t=hx(),n=gx(),r=_x(),i=vx(),a=yx(),o=bx(),s=xx(),c=Sx(),l=Tx(),u=kx(),d=Ax(),f=Ox(),p=Ix();function m(e,t){let n=e.size,r=o.getPositions(t);for(let t=0;t<r.length;t++){let i=r[t][0],a=r[t][1];for(let t=-1;t<=7;t++)if(!(i+t<=-1||n<=i+t))for(let r=-1;r<=7;r++)a+r<=-1||n<=a+r||(t>=0&&t<=6&&(r===0||r===6)||r>=0&&r<=6&&(t===0||t===6)||t>=2&&t<=4&&r>=2&&r<=4?e.set(i+t,a+r,!0,!0):e.set(i+t,a+r,!1,!0))}}function h(e){let t=e.size;for(let n=8;n<t-8;n++){let t=n%2==0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}function g(e,t){let n=a.getPositions(t);for(let t=0;t<n.length;t++){let r=n[t][0],i=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)t===-2||t===2||n===-2||n===2||t===0&&n===0?e.set(r+t,i+n,!0,!0):e.set(r+t,i+n,!1,!0)}}function _(e,t){let n=e.size,r=u.getEncodedBits(t),i,a,o;for(let t=0;t<18;t++)i=Math.floor(t/3),a=t%3+n-8-3,o=(r>>t&1)==1,e.set(i,a,o,!0),e.set(a,i,o,!0)}function v(e,t,n){let r=e.size,i=d.getEncodedBits(t,n),a,o;for(a=0;a<15;a++)o=(i>>a&1)==1,a<6?e.set(a,8,o,!0):a<8?e.set(a+1,8,o,!0):e.set(r-15+a,8,o,!0),a<8?e.set(8,r-a-1,o,!0):a<9?e.set(8,15-a-1+1,o,!0):e.set(8,15-a-1,o,!0);e.set(r-8,8,1,!0)}function y(e,t){let n=e.size,r=-1,i=n-1,a=7,o=0;for(let s=n-1;s>0;s-=2)for(s===6&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(i,s-n)){let r=!1;o<t.length&&(r=(t[o]>>>a&1)==1),e.set(i,s-n,r),a--,a===-1&&(o++,a=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}function b(e,n,i){let a=new r;i.forEach(function(t){a.put(t.mode.bit,4),a.put(t.getLength(),f.getCharCountIndicator(t.mode,e)),t.write(a)});let o=(t.getSymbolTotalCodewords(e)-c.getTotalCodewordsCount(e,n))*8;for(a.getLengthInBits()+4<=o&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(0);let s=(o-a.getLengthInBits())/8;for(let e=0;e<s;e++)a.put(e%2?17:236,8);return x(a,e,n)}function x(e,n,r){let i=t.getSymbolTotalCodewords(n),a=i-c.getTotalCodewordsCount(n,r),o=c.getBlocksCount(n,r),s=o-i%o,u=Math.floor(i/o),d=Math.floor(a/o),f=d+1,p=u-d,m=new l(p),h=0,g=Array(o),_=Array(o),v=0,y=new Uint8Array(e.buffer);for(let e=0;e<o;e++){let t=e<s?d:f;g[e]=y.slice(h,h+t),_[e]=m.encode(g[e]),h+=t,v=Math.max(v,t)}let b=new Uint8Array(i),x=0,S,C;for(S=0;S<v;S++)for(C=0;C<o;C++)S<g[C].length&&(b[x++]=g[C][S]);for(S=0;S<p;S++)for(C=0;C<o;C++)b[x++]=_[C][S];return b}function S(e,n,r,a){let o;if(Array.isArray(e))o=p.fromArray(e);else if(typeof e==`string`){let t=n;if(!t){let n=p.rawSplit(e);t=u.getBestVersionForData(n,r)}o=p.fromString(e,t||40)}else throw Error(`Invalid data`);let c=u.getBestVersionForData(o,r);if(!c)throw Error(`The amount of data is too big to be stored in a QR Code`);if(!n)n=c;else if(n<c)throw Error(`
|
|
12
12
|
The chosen QR Code version cannot contain this amount of data.
|
|
13
13
|
Minimum version required to store current data is: `+c+`.
|
|
14
|
-
`);let l=b(n,r,o),d=new i(t.getSymbolSize(n));return m(d,n),h(d),g(d,n),v(d,r,0),n>=7&&_(d,n),y(d,l),isNaN(a)&&(a=s.getBestMask(d,v.bind(null,d,r))),s.applyMask(a,d),v(d,r,a),{modules:d,version:n,errorCorrectionLevel:r,maskPattern:a,segments:o}}e.create=function(e,r){if(e===void 0||e===``)throw Error(`No input text`);let i=n.M,a,o;return r!==void 0&&(i=n.from(r.errorCorrectionLevel,n.M),a=u.from(r.version),o=s.from(r.maskPattern),r.toSJISFunc&&t.setToSJISFunction(r.toSJISFunc)),S(e,a,i,o)}})),
|
|
15
|
-
`;return typeof a==`function`&&a(null,p),p}})),Bx=e(n((e=>{var t=px(),n=Ix(),r=Rx(),i=zx();function a(e,r,i,a,o){let s=[].slice.call(arguments,1),c=s.length,l=typeof s[c-1]==`function`;if(!l&&!t())throw Error(`Callback required as last argument`);if(l){if(c<2)throw Error(`Too few arguments provided`);c===2?(o=i,i=r,r=a=void 0):c===3&&(r.getContext&&o===void 0?(o=a,a=void 0):(o=a,a=i,i=r,r=void 0))}else{if(c<1)throw Error(`Too few arguments provided`);return c===1?(i=r,r=a=void 0):c===2&&!r.getContext&&(a=i,i=r,r=void 0),new Promise(function(t,o){try{t(e(n.create(i,a),r,a))}catch(e){o(e)}})}try{let t=n.create(i,a);o(null,e(t,r,a))}catch(e){o(e)}}e.create=n.create,e.toCanvas=a.bind(null,r.render),e.toDataURL=a.bind(null,r.renderToDataURL),e.toString=a.bind(null,function(e,t,n){return i.render(e,n)})}))(),1),Vx=Object.defineProperty,Hx=Object.defineProperties,Ux=Object.getOwnPropertyDescriptors,Wx=Object.getOwnPropertySymbols,Gx=Object.prototype.hasOwnProperty,Kx=Object.prototype.propertyIsEnumerable,qx=(e,t,n)=>t in e?Vx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jx=(e,t)=>{for(var n in t||={})Gx.call(t,n)&&qx(e,n,t[n]);if(Wx)for(var n of Wx(t))Kx.call(t,n)&&qx(e,n,t[n]);return e},Yx=(e,t)=>Hx(e,Ux(t)),Xx=(e,t)=>{var n={};for(var r in e)Gx.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Wx)for(var r of Wx(e))t.indexOf(r)<0&&Kx.call(e,r)&&(n[r]=e[r]);return n},Zx=[`low`,`medium`,`quartile`,`high`,`L`,`M`,`Q`,`H`],Qx=[0,1,2,3,4,5,6,7],$x=[`alphanumeric`,`numeric`,`kanji`,`byte`],eS=[`image/png`,`image/jpeg`,`image/webp`],tS=40,nS=B({props:{version:{type:Number,validator:e=>e===Number.parseInt(String(e),10)&&e>=1&&e<=tS},errorCorrectionLevel:{type:String,validator:e=>Zx.includes(e)},maskPattern:{type:Number,validator:e=>Qx.includes(e)},toSJISFunc:Function,margin:Number,scale:Number,width:Number,color:{type:Object,validator:e=>[`dark`,`light`].every(t=>[`string`,`undefined`].includes(typeof e[t])),required:!0},type:{type:String,validator:e=>eS.includes(e),required:!0},quality:{type:Number,validator:e=>e===Number.parseFloat(String(e))&&e>=0&&e<=1,required:!1},value:{type:[String,Array],required:!0,validator(e){return typeof e==`string`?!0:e.every(e=>typeof e.data==`string`&&`mode`in e&&e.mode&&$x.includes(e.mode))}}},setup(e,{attrs:t,emit:n}){let r=z();return N(e,()=>{let t=e,{quality:i,value:a}=t,o=Xx(t,[`quality`,`value`]);Bx.toDataURL(a,Object.assign(o,i==null||{renderOptions:{quality:i}})).then(e=>{r.value=e,n(`change`,e)}).catch(e=>n(`error`,e))},{immediate:!0}),()=>h(`img`,Yx(Jx({},t),{src:r.value}))}}),rS={path:`/auth`,component:()=>W(()=>import(`./Auth-2sHUtbN3.js`),__vite__mapDeps([10,1,11,12,13,14])),children:[{path:`login`,name:lv,component:()=>W(()=>import(`./Login-Cx8B8MBK.js`),__vite__mapDeps([15,11,1]))},{path:`callback`,name:uv,component:()=>W(()=>import(`./Callback-CftlVK5U.js`),__vite__mapDeps([16,11,1,17]))}]},iS=()=>vn()||fr()||ir(),aS={layout:`document`},oS={layout:`workspace`},sS=()=>iS()?!0:{name:av,replace:!0},cS={path:`/console`,meta:{auth:!0},component:()=>W(()=>import(`./Console-D5tMRa4O.js`),__vite__mapDeps([18,11,1,19,20,21,3,22,23,24,25,26,27,13,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117])),children:[{path:``,name:dy,redirect:{name:my}},{path:`orders`,name:fy,meta:aS,component:()=>W(()=>import(`./List-CVQKqACY.js`),__vite__mapDeps([118,1,119,11,30,27,13,28,26,21,3,22,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,60,120,63,121,87,122,89,90,91,92,93,94,123,105,88,106,84,107,110,62,111,124]))},{path:`orders/:id`,name:py,meta:aS,component:()=>W(()=>import(`./Detail-60SJz85a.js`),__vite__mapDeps([125,1,3,21,11,22,126,127,27,13,28,60,62,85,35,26,29,87,122,128,31,42,95,102,38,34,123,129,110,33,36,111,130,131,132]))},{path:`applications`,name:my,meta:aS,component:()=>W(()=>import(`./List-BZZ7J6hV.js`),__vite__mapDeps([133,1,21,3,11,22,119,30,27,13,28,26,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,134,56,61,135,87,122,123,104,105,88,106,84,93,107,110,60,62,111,136]))},{path:`applications/:id/extra`,name:hy,meta:aS,component:()=>W(()=>import(`./Extra-a9kjI6xu.js`),__vite__mapDeps([137,1,21,3,11,22,126,127,82,27,13,28,31,83,34,44,84,47,26,29,87,122,95,102,38,123,129,138]))},{path:`applications/:id/subscribe`,name:gy,meta:aS,component:()=>W(()=>import(`./Subscribe-CHJXeMK_.js`),__vite__mapDeps([139,1,21,3,11,22,126,127,57,26,27,13,28,29,87,122,123,129,140]))},{path:`usages`,name:by,meta:aS,component:()=>W(()=>import(`./List-C_5R7MsB.js`),__vite__mapDeps([141,1,119,11,30,27,13,28,26,21,3,22,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,134,49,121,87,122,89,90,91,92,93,94,102,123,104,105,88,106,84,107,142,83,110,60,62,111,143]))},{path:`connectors`,name:xy,meta:oS,beforeEnter:sS,component:()=>W(()=>import(`./Index-Bi6tCc2m.js`),__vite__mapDeps([144,1,11,58,59,145,49,68,114,115,72,25,33,27,13,28,26,21,3,22,29,31,34,35,36,86,88,38,43,44,96,97,37,47,123,146,60,147,148,78,82,83,84,85,102,32,39,40,41,42,45,46,142,107,149,62,95,150,151,152,153,154,155]))},{path:`skills`,name:Sy,meta:oS,beforeEnter:sS,component:()=>W(()=>import(`./Index-C4b0Sbyi.js`),__vite__mapDeps([156,1,24,3,11,52,157,58,59,60,158,159,20,21,22,23,25,26,27,13,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,160,62,145,161,162,163,164,65,72,116,77,78,79,81,96,97,104,142,83,84,107,8,9,153,154,165]))},{path:`browser-devices`,name:Cy,meta:aS,beforeEnter:sS,component:()=>W(()=>import(`./Index-D-Y3090O.js`),__vite__mapDeps([166,1,11,114,72,26,21,3,22,27,13,28,29,87,123,149,60,62,147,85,35,95,150,153,154,167]))}]},lS={path:`/`,component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:av,component:()=>W(()=>import(`./Index-f7b3Hnhj.js`),__vite__mapDeps([172,1,21,3,11,22,24,26,27,13,28,29,129,173,174,49,175,176,177,112,178,179])),meta:{auth:!1}}]},uS={path:`/home`,redirect:e=>({name:av,query:e.query,hash:e.hash,replace:!0})},dS={path:`/business`,component:()=>W(()=>import(`./Index-CYbuu0Uy.js`),__vite__mapDeps([180,1,21,3,11,22,122,27,13,28,26,29,12,96,33,31,34,35,36,97,37,47,99,100,39,42,108,109,181,52,182,183])),children:[{path:``,name:ov,component:()=>W(()=>import(`./Index-BiXFhCWk.js`),__vite__mapDeps([184,1,21,3,11,22,54,57,49,64,81,185])),meta:{auth:!1}}]},fS={path:`/grok`,meta:{modelGroup:gr,appName:`chat`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:xv}},{path:`conversations`,name:xv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations/:id`,name:bv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))}]},pS={path:`/gemini`,meta:{modelGroup:$n,appName:`chat`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:Cv}},{path:`conversations`,name:Cv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations/:id`,name:Sv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))}]},mS={path:`/claude`,meta:{modelGroup:wr,appName:`chat`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:Tv}},{path:`conversations`,name:Tv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations/:id`,name:wv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))}]},hS={path:`/deepseek`,meta:{modelGroup:jr,appName:`chat`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:yv}},{path:`conversations/:id`,name:vv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations`,name:yv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))}]},gS={path:`/kimi`,meta:{modelGroup:Pr,appName:`chat`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:Dv}},{path:`conversations/:id`,name:Ev,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations`,name:Dv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))}]},_S=()=>vn()||!Xn()?!0:{name:av,replace:!0},vS={path:`/chatgpt`,meta:{modelGroup:Yn,appName:`chat`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:mv}},{path:`conversations`,name:mv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations/:id`,name:pv,component:()=>W(()=>import(`./Conversation-Dvzqt09M.js`),__vite__mapDeps([186,1,21,3,11,22,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`call`,name:hv,meta:{appName:`realtime`},component:()=>W(()=>import(`./RealtimeCall-BqLTAntp.js`),__vite__mapDeps([208,21,3,11,1,22,58,66,202,26,27,13,28,29,209]))},{path:`scheduled`,name:gv,beforeEnter:_S,component:()=>W(()=>import(`./ScheduledTasks-UXKOx_R9.js`),__vite__mapDeps([210,1,21,3,11,22,23,119,30,27,13,28,26,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,55,59,60,120,62,71,211,115,72,73,77,82,83,84,87,204,96,97,98,92,102,123,104,142,107,91,90,93,146,58,147,25,148,78,85,149,95,150,151,152,110,111,200,212]))},{path:`artifacts`,name:_v,beforeEnter:_S,component:()=>W(()=>import(`./Artifacts-DBlRS6V-.js`),__vite__mapDeps([213,1,21,3,11,22,23,49,161,77,26,27,13,28,29,87,123,104,31,38,34,214]))}]},yS={path:`/midjourney`,meta:{auth:!0,appName:`midjourney`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Ov,component:()=>W(()=>import(`./Index-LByTkG1R.js`),__vite__mapDeps([215,1,21,3,11,22,27,13,28,189,127,54,187,57,58,120,216,217,65,66,218,147,81,33,26,29,31,34,35,36,219,220,73,79,221,85,204,96,97,37,47,98,38,92,102,32,39,40,41,42,43,44,45,46,103,104,142,83,84,107,205,195,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,231,206,232,233,196,78,197,198,199,234,190,235,174,175,176,236,237,238]))}]},bS={path:`/distribution`,meta:{auth:!0},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:_y,component:()=>W(()=>import(`./Index-KeKnmleO.js`),__vite__mapDeps([239,1,21,3,11,22,61,69,80,135,33,27,13,28,26,29,31,34,35,36,87,122,95,195,123,105,88,38,43,44,37,39,106,84,45,93,46,47,107,110,60,62,111,240]))},{path:`history`,name:vy,component:()=>W(()=>import(`./History-CotgV_jP.js`),__vite__mapDeps([241,1,119,11,30,27,13,28,26,21,3,22,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,87,122,105,88,106,84,93,107,110,60,62,111,242]))},{path:`invitees`,name:yy,component:()=>W(()=>import(`./Invitees-BG-VxiML.js`),__vite__mapDeps([243,1,119,11,30,27,13,28,26,21,3,22,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,87,122,105,88,106,84,93,107,110,60,62,111,244]))}]},xS={path:`/download`,component:()=>W(()=>import(`./Bare-MY2982fx.js`),__vite__mapDeps([245,1,11,12,13,181,21,3,22,52,122,27,28,26,29,182])),children:[{path:``,name:sv,beforeEnter:()=>vn()?!0:{name:av},component:()=>W(()=>import(`./Index-BtYp1mWJ.js`),__vite__mapDeps([246,1,21,3,11,22,126,127,52,247,66,248]))}]},SS={path:`/orders`,component:()=>W(()=>import(`./Index-CYbuu0Uy.js`),__vite__mapDeps([180,1,21,3,11,22,122,27,13,28,26,29,12,96,33,31,34,35,36,97,37,47,99,100,39,42,108,109,181,52,182,183])),children:[{path:`:id`,name:uy,component:()=>W(()=>import(`./Pay-CJMoRNwf.js`),__vite__mapDeps([249,1,21,3,11,22,60,62,85,27,13,28,35,26,29,87,122,128,31,42,95,123,110,33,34,36,111,250])),meta:{auth:!1}}]},CS={path:`/qrart`,meta:{auth:!0,appName:`qrart`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:kv,component:()=>W(()=>import(`./Index-BTN8UlrZ.js`),__vite__mapDeps([251,1,21,3,11,22,120,49,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,191,252,77,78,79,85,204,102,38,32,37,39,40,41,42,43,44,45,46,47,103,98,92,104,205,195,83,84,169,56,57,61,135,142,107,110,60,62,111,130,131,170,222,223,157,160,211,224,88,225,8,9,226,227,228,229,123,230,105,106,93,231,206,232,233,196,197,198,199,234,190,235,236,237,253]))}]},wS={path:`/luma`,meta:{auth:!0,appName:`luma`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Av,component:()=>W(()=>import(`./Index-CDo_fKen.js`),__vite__mapDeps([254,1,21,3,11,22,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,104,38,205,195,43,44,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,37,39,106,45,93,46,47,107,231,194,162,206,196,197,102,198,199,234,190,235,174,175,176,237,255]))}]},TS={path:`/pika`,meta:{auth:!0,appName:`pika`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Mv,component:()=>W(()=>import(`./Index-CjA_cn01.js`),__vite__mapDeps([256,1,3,21,11,22,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,102,38,32,37,39,40,41,42,43,44,45,46,47,104,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,198,199,234,190,235,236,237,257,176]))}]},ES={path:`/kling`,meta:{auth:!0,appName:`kling`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Nv,component:()=>W(()=>import(`./Index-CnfZftjV.js`),__vite__mapDeps([258,1,21,3,11,22,120,217,259,66,68,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,98,38,92,102,32,37,39,40,41,42,43,44,45,46,47,103,104,142,83,84,107,205,195,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,260,261,262,263,229,123,230,61,105,106,93,231,194,162,206,196,197,198,199,234,190,235,264,173,129,174,175,176,177,178,265,266,267,236,268,237,269]))}]},DS={path:`/veo`,meta:{auth:!0,appName:`veo`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Fv,component:()=>W(()=>import(`./Index-CYCyIq0c.js`),__vite__mapDeps([270,1,21,3,11,22,19,120,217,66,271,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,221,85,204,32,37,38,39,40,41,42,43,44,45,46,47,104,142,83,84,107,205,195,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,231,206,196,197,102,198,199,234,190,235,264,173,129,174,175,176,177,178,265,236,268,237,272]))}]},OS={path:`/sora`,meta:{auth:!0,appName:`sora`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Lv,component:()=>W(()=>import(`./Index-BkELRl77.js`),__vite__mapDeps([273,1,21,3,11,22,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,32,37,38,39,40,41,42,43,44,45,46,47,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,102,198,199,234,190,235,174,175,176,236,274]))}]},kS={path:`/maestro`,meta:{auth:!0,appName:`maestro`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:zv,component:()=>W(()=>import(`./Index-CB-LRpKw.js`),__vite__mapDeps([275,1,21,3,11,22,27,13,28,57,120,247,217,66,271,147,218,81,33,26,29,31,34,35,36,219,220,276,277,262,211,75,77,78,278,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,104,205,195,83,84,222,223,157,60,160,49,224,88,225,8,9,110,62,111,226,227,228,260,261,263,229,123,230,61,105,106,93,107,231,194,162,206,196,197,102,198,199,234,190,235,264,142,173,129,174,175,176,177,178,265,266,267,236,279,268,237,280]))}]},AS={path:`/poivelle`,meta:{auth:!0,appName:`poivelle`},component:()=>W(()=>import(`./Poivelle-gikHHTGX.js`),__vite__mapDeps([281,11,1,51,3,21,22,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,282])),children:[{path:``,name:Bv,component:()=>W(()=>import(`./Index-BptenMvy.js`),__vite__mapDeps([283,1,21,3,11,22,126,127,54,187,19,57,58,59,62,247,162,50,284,65,147,285,261,211,72,25,252,77,78,79,278,82,27,13,28,31,83,34,44,84,47,26,29,98,38,92,286,32,33,35,36,37,39,40,41,42,43,45,46,174,49,175,176,287]))}]},jS={path:`/digital-human`,meta:{auth:!0,appName:`digitalhuman`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Vv,component:()=>W(()=>import(`./Index-CpvCmtSL.js`),__vite__mapDeps([288,1,21,3,11,22,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,261,72,77,78,79,80,278,85,289,100,38,47,204,98,92,195,102,32,37,39,40,41,42,43,44,45,46,205,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,260,262,263,229,123,230,61,105,106,93,107,231,206,196,197,198,199,234,190,235,174,175,176,266,267,237,290]))}]},MS={path:`/pixverse`,meta:{auth:!0,appName:`pixverse`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Hv,component:()=>W(()=>import(`./Index-Bz1tQjLN.js`),__vite__mapDeps([291,1,21,3,11,22,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,103,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,102,198,199,234,190,235,174,175,176,236,237,292]))}]},NS={path:`/flux`,meta:{auth:!0,appName:`flux`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Wv,component:()=>W(()=>import(`./Index-CljLq_wO.js`),__vite__mapDeps([293,1,21,3,11,22,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,103,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,234,190,235,236,237,294]))}]},PS={path:`/hailuo`,meta:{auth:!0,appName:`hailuo`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Gv,component:()=>W(()=>import(`./Index-vUiofO0R.js`),__vite__mapDeps([295,1,21,3,11,22,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,85,32,37,38,39,40,41,42,43,44,45,46,47,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,102,198,199,234,190,235,174,175,176,296,204,297,236,237,298]))}]},FS={path:`/minimax`,meta:{auth:!0,appName:`minimax`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:qv,component:()=>W(()=>import(`./Index-BEXZOWNw.js`),__vite__mapDeps([299,1,11,120,217,66,218,27,13,28,147,81,33,26,21,3,22,29,31,34,35,36,219,220,77,78,79,85,195,32,37,38,39,40,41,42,43,44,45,46,47,205,83,84,260,261,262,263,229,123,230,61,105,88,106,93,107,231,110,60,62,111,206,196,197,102,198,199,234,190,235,174,49,175,176,296,204,297,237,300]))}]},IS={path:`/suno`,meta:{auth:!0,appName:`suno`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Jv,component:()=>W(()=>import(`./Index-B2iSDu_B.js`),__vite__mapDeps([301,1,21,3,11,22,223,157,60,160,49,147,211,224,88,27,13,28,31,38,34,43,44,225,8,9,110,62,33,26,29,35,36,111,226,227,23,53,302,127,54,262,303,101,97,103,98,92,46,304,120,247,145,259,65,66,69,218,81,219,220,202,261,276,71,72,73,74,305,203,77,78,79,82,83,84,47,85,86,289,100,204,96,37,195,102,32,39,40,41,42,45,123,104,142,107,205,230,61,105,106,93,231,197,198,234,190,235,264,173,129,174,175,176,177,178,265,306,268,237,307]))}]},LS={path:`/producer`,meta:{auth:!0,appName:`producer`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Xv,component:()=>W(()=>import(`./Index-BmqhuNpp.js`),__vite__mapDeps([308,1,21,3,11,22,223,157,60,160,49,147,211,224,88,27,13,28,31,38,34,43,44,225,8,9,110,62,33,26,29,35,36,111,226,227,302,127,54,262,303,101,97,103,98,92,46,304,247,145,217,65,66,218,81,219,220,78,79,85,86,289,100,47,204,96,37,102,32,39,40,41,42,45,123,104,142,83,84,107,205,195,230,61,105,106,93,231,197,198,234,190,235,236,268,178,237,309]))}]},RS={path:`/nanobanana`,meta:{auth:!0,appName:`nanobanana`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Zv,component:()=>W(()=>import(`./Index-C7jnoMyw.js`),__vite__mapDeps([310,1,21,3,11,22,19,120,49,217,65,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,221,85,204,32,37,38,39,40,41,42,43,44,45,46,47,205,195,83,84,222,223,157,60,160,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,234,190,235,264,142,173,129,174,175,176,177,178,265,268,237,311,312]))}]},zS={path:`/openai-image`,meta:{auth:!0,appName:`openaiimage`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Qv,component:()=>W(()=>import(`./Index-C63AcaAz.js`),__vite__mapDeps([313,1,21,3,11,22,19,120,217,65,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,221,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,104,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,234,190,235,264,142,173,129,174,175,176,177,178,265,268,237,311,314]))}]},BS={path:`/seedream`,meta:{auth:!0,appName:`seedream`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:$v,component:()=>W(()=>import(`./Index-CVJaenIO.js`),__vite__mapDeps([315,1,21,3,11,22,19,120,217,65,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,221,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,104,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,264,142,173,129,174,175,176,177,178,265,236,268,237,316]))}]},VS={path:`/qwen-image`,meta:{auth:!0,appName:`qwenimage`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ey,component:()=>W(()=>import(`./Index-B5eICayB.js`),__vite__mapDeps([317,1,21,3,11,22,19,120,217,65,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,221,85,88,38,43,44,204,98,92,32,37,39,40,41,42,45,46,47,205,195,83,84,222,223,157,60,160,49,211,224,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,264,142,173,129,174,175,176,177,178,265,236,268,237,318]))}]},HS={path:`/seedance`,meta:{auth:!0,appName:`seedance`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ty,component:()=>W(()=>import(`./Index-HacBQi5S.js`),__vite__mapDeps([319,1,21,3,11,22,19,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,303,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,104,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,260,261,262,263,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,234,190,235,264,142,173,129,174,175,176,177,178,265,266,267,236,268,237,320]))}]},US={path:`/grok-video`,meta:{auth:!0,appName:`grokvideo`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ny,component:()=>W(()=>import(`./Index-DHcNXOjD.js`),__vite__mapDeps([321,1,21,3,11,22,19,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,32,37,38,39,40,41,42,43,44,45,46,47,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,102,198,199,234,190,235,264,142,173,129,174,175,176,177,178,265,268,237,322]))}]},WS={path:`/omni`,meta:{auth:!0,appName:`omni`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ry,component:()=>W(()=>import(`./Index-CC8t-QBU2.js`),__vite__mapDeps([323,1,21,3,11,22,19,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,205,195,43,44,83,84,222,223,157,60,160,49,211,224,88,38,225,8,9,110,62,111,226,227,228,229,123,230,61,105,37,39,106,45,93,46,47,107,231,194,162,206,196,197,102,198,199,234,190,235,174,175,176,237,324]))}]},GS={path:`/serp`,meta:{auth:!0,appName:`serp`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:iy,component:()=>W(()=>import(`./Index-CFwbMt9f.js`),__vite__mapDeps([325,1,11,158,64,25,26,21,3,22,27,13,28,29,289,100,31,38,47,204,32,33,34,35,36,37,39,40,41,42,43,44,45,46,230,61,123,105,88,106,84,93,107,231,234,190,60,78,235,326]))}]},KS={path:`/wan`,meta:{auth:!0,appName:`wan`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ay,component:()=>W(()=>import(`./Index-InwJndDx.js`),__vite__mapDeps([327,1,21,3,11,22,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,85,88,38,43,44,204,98,92,32,37,39,40,41,42,45,46,47,205,195,83,84,222,223,157,60,160,49,211,224,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,102,198,199,234,190,235,174,175,176,236,237,328]))}]},qS={path:`/fish`,meta:{auth:!0,appName:`fish`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:oy}},{path:`tts`,name:oy,component:()=>W(()=>import(`./Tts-kUJ8t6Tj.js`),__vite__mapDeps([329,1,21,3,11,22,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,202,74,77,78,79,85,286,38,32,37,39,40,41,42,43,44,45,46,47,103,98,92,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,196,197,102,198,199,264,142,173,129,174,175,176,177,178,265,330,331,296,204,297,268,237,332]))},{path:`model`,name:sy,component:()=>W(()=>import(`./Model-CS9NafTK.js`),__vite__mapDeps([333,1,11,157,57,161,202,74,305,203,79,303,81,22,85,27,13,28,35,26,21,3,29,104,31,38,34,205,195,43,44,83,84,229,123,110,60,62,33,36,111,330,142,41,42,107,331,296,204,219,297,334]))}]},JS={path:`/webextrator`,meta:{auth:!0,appName:`webextrator`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:cy,component:()=>W(()=>import(`./Index-PWI4LACm.js`),__vite__mapDeps([335,1,11,120,49,64,66,147,76,81,221,33,27,13,28,26,21,3,22,29,31,34,35,36,85,289,100,38,47,204,98,92,102,32,37,39,40,41,42,43,44,45,46,104,142,83,84,107,230,61,123,105,88,106,93,231,110,60,62,111,336]))}]},YS={path:`/coding-bridge`,meta:{auth:!0,appName:`codingBridge`},component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ly,component:()=>W(()=>import(`./Index-C7nNUO1i.js`),__vite__mapDeps([337,1,21,3,11,22,24,54,187,55,57,58,159,160,145,161,162,163,164,216,50,66,67,69,147,202,114,277,71,72,75,25,148,203,224,77,26,27,13,28,29,88,31,38,34,43,44,204,96,33,35,36,97,37,47,101,123,205,195,83,84,8,9,192,127,60,102,193,225,110,62,111,226,338,339]))}]},XS={path:`/settings`,component:()=>W(()=>import(`./Main-z44znHEo.js`),__vite__mapDeps([168,1,21,3,11,22,51,27,13,28,52,53,54,55,56,57,58,59,60,20,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:dv,component:()=>W(()=>import(`./Index-DNXXlgZI.js`),__vite__mapDeps([340,11,1]))},{path:`local-tools`,name:fv,component:()=>W(()=>import(`./LocalTools-d_Cpvudx.js`),__vite__mapDeps([341,11,1,342,21,3,22,163,164,285,71,72,148,224,81,104,27,13,28,31,38,34,343,344]))}]},ZS={path:`/share/:id`,name:cv,component:()=>W(()=>import(`./Conversation-DyPJerS9.js`),__vite__mapDeps([345,1,21,3,11,22,24,161,188,27,13,28,52,189,55,57,59,190,60,120,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,62,111,194,195,196,197,198,199,200,201,123,108,109,346])),meta:{auth:!1}},QS=e=>{if(!Array.isArray(e)||e.length===0)return tr;let t=new Set(e),n=tr.filter(e=>t.has(e.value));return n.length>0?n:tr},$S=e=>QS(e).map(e=>e.value),eC=e=>{let t=new Set(e),n=tr.filter(e=>t.has(e.value)).map(e=>e.value);return n.length===tr.length?null:n},tC=e=>{let t=e?.forced_locale;if(t)return tr.some(e=>e.value===t)?t:void 0},nC=(e,t)=>{let n=tC(t);if(n)return n;let r=QS(t?.supported_locales),i=new Set(r.map(e=>e.value));return i.has(e)?e:t?.language&&i.has(t.language)?t.language:i.has(Ir)?Ir:r[0].value},rC=(e,t)=>nC(e||Ir,t),iC=(e,t)=>{let n=rC(e,t);return{locale:n,shouldPersist:n!==e}};function aC(){return typeof window<`u`&&window.location&&window.location.origin?window.location.origin:`https://studio.acedata.cloud`}var oC=`Ace Data Cloud - AI Studio`,sC=`Ace Data Cloud`;function cC(){return`https://platform.acedata.cloud/api/v1/og/${typeof window<`u`?window.location.hostname:`studio.acedata.cloud`}.png`}var lC=`AI-powered creative hub — generate images with Midjourney & Flux, create music with Suno, produce videos with Luma & Sora, chat with GPT, Claude, Gemini & DeepSeek.`;function uC(){let e=q.state?.site,t=(e?.title||``).trim(),n=(e?.description||``).trim();return{siteName:t||oC,brandName:t||sC,description:n||lC,image:cC()}}function dC(e,t){let n=document.querySelector(`meta[${e}]`);if(!n){n=document.createElement(`meta`);let[t,r]=e.split(`=`);n.setAttribute(t,r.replace(/"/g,``)),document.head.appendChild(n)}n.setAttribute(`content`,t)}function fC(e){let t=document.querySelector(`link[rel="canonical"]`);t||(t=document.createElement(`link`),t.setAttribute(`rel`,`canonical`),document.head.appendChild(t)),t.setAttribute(`href`,e)}function pC(e,t){let n=document.getElementById(e);n||(n=document.createElement(`script`),n.id=e,n.type=`application/ld+json`,document.head.appendChild(n)),n.textContent=JSON.stringify(t)}function mC(e){document.getElementById(e)?.remove()}function hC(e){gC();let t=new URL(e);for(let{value:e}of QS(q.state.site?.supported_locales)){let n=or.find(t=>t.value===e)?.hreflang;if(!n)continue;let r=document.createElement(`link`);r.rel=`alternate`,r.hreflang=n,t.searchParams.set(`lang`,e),r.href=t.toString(),r.dataset.hreflang=`true`,document.head.appendChild(r)}let n=document.createElement(`link`);n.rel=`alternate`,n.hreflang=`x-default`,n.href=e,n.dataset.hreflang=`true`,document.head.appendChild(n)}function gC(){document.querySelectorAll(`link[data-hreflang="true"]`).forEach(e=>e.remove())}function _C(e){let{brandName:t}=uC(),n=q.state.site;pC(`seo-webapp-ld`,{"@context":`https://schema.org`,"@type":`WebApplication`,name:Nn(e.name,n),description:Nn(e.description,n),url:e.url,applicationCategory:e.category,operatingSystem:`Web`,offers:{"@type":`Offer`,price:`0`,priceCurrency:`USD`},provider:{"@type":`Organization`,name:t,url:aC()}})}function vC(){let{brandName:e,image:t,description:n}=uC();pC(`seo-org-ld`,{"@context":`https://schema.org`,"@type":`Organization`,name:e,url:aC(),logo:t,description:n,...vn()?{sameAs:[`https://github.com/AceDataCloud`,`https://x.com/AceDataCloud`,`https://studio.acedata.cloud`]}:{}})}function yC(e){let{siteName:t,brandName:n,description:r,image:i}=uC(),a=e.title?Nn(e.title,q.state.site):``,o=a?`${a} - ${t}`:t,s=e.description?Nn(e.description,q.state.site):r,c=e.url||`${aC()}${window.location.pathname}`,l=e.image||i,u=e.type||`website`;document.title=o,dC(`name="description"`,s),e.keywords?.length&&dC(`name="keywords"`,e.keywords.join(`, `)),fC(c),dC(`property="og:title"`,o),dC(`property="og:description"`,s),dC(`property="og:url"`,c),dC(`property="og:image"`,l),dC(`property="og:type"`,u),dC(`property="og:site_name"`,n),dC(`name="twitter:card"`,`summary_large_image`),dC(`name="twitter:title"`,o),dC(`name="twitter:description"`,s),dC(`name="twitter:image"`,l),e.jsonLd&&pC(`seo-page-ld`,e.jsonLd),hC(c)}function bC(){let e=aC(),{siteName:t,description:n,image:r}=uC();document.title=t,dC(`name="description"`,n),fC(e),dC(`property="og:title"`,t),dC(`property="og:description"`,n),dC(`property="og:url"`,e),dC(`property="og:image"`,r),dC(`property="og:type"`,`website`),dC(`name="twitter:title"`,t),dC(`name="twitter:description"`,n),dC(`name="twitter:image"`,r),mC(`seo-page-ld`),mC(`seo-webapp-ld`),mC(`seo-org-ld`),gC()}var xC=t({LAZY_MODULE_NAMES:()=>CC,ensureStoreModule:()=>EC,getRegisteredLazyModules:()=>DC}),SC={chat:()=>W(()=>import(`./chat-KmdJ9Xcn.js`),__vite__mapDeps([347,21,3,11,1,22,26,27,13,28,29])),realtime:()=>W(()=>import(`./realtime-C3GP19Ox.js`),__vite__mapDeps([348,21,3,11,1,22,26,27,13,28,29])),midjourney:()=>W(()=>import(`./midjourney-YlQQ7xGW.js`),__vite__mapDeps([349,21,3,11,1,22,26,27,13,28,29,306,350])),qrart:()=>W(()=>import(`./qrart-ggf6-aqL.js`),__vite__mapDeps([351,21,3,11,1,22,352,26,27,13,28,29,306,350])),luma:()=>W(()=>import(`./luma-DSTa_ctL.js`),__vite__mapDeps([353,21,3,11,1,22,352,26,27,13,28,29,306,350])),pika:()=>W(()=>import(`./pika-CsJCe7Ud.js`),__vite__mapDeps([354,21,3,11,1,22,352,26,27,13,28,29,306,350])),kling:()=>W(()=>import(`./kling-Bu2NuHka.js`),__vite__mapDeps([355,21,3,11,1,22,352,26,27,13,28,29,306,350])),veo:()=>W(()=>import(`./veo-DJ8zjGWr.js`),__vite__mapDeps([356,21,3,11,1,22,352,26,27,13,28,29,306,350])),sora:()=>W(()=>import(`./sora-BUctVwZa.js`),__vite__mapDeps([357,21,3,11,1,22,352,26,27,13,28,29,306,350])),maestro:()=>W(()=>import(`./maestro-Cgi6iLeE.js`),__vite__mapDeps([358,21,3,11,1,22,352,26,27,13,28,29,306,350,279])),poivelle:()=>W(()=>import(`./poivelle-B_KpomXv.js`),__vite__mapDeps([359,1,26,21,3,11,22,27,13,28,29])),digitalhuman:()=>W(()=>import(`./digitalhuman-COquG9OT.js`),__vite__mapDeps([360,21,3,11,1,22,352,26,27,13,28,29,306,350])),pixverse:()=>W(()=>import(`./pixverse-CdoZ8UDF.js`),__vite__mapDeps([361,21,3,11,1,22,352,26,27,13,28,29,306,350])),flux:()=>W(()=>import(`./flux-WBOJvTOp.js`),__vite__mapDeps([362,21,3,11,1,22,352,26,27,13,28,29,306,350])),hailuo:()=>W(()=>import(`./hailuo-CLFyD3vr.js`),__vite__mapDeps([363,21,3,11,1,22,352,26,27,13,28,29,306,350])),minimax:()=>W(()=>import(`./minimax-CYpaxOzz.js`),__vite__mapDeps([364,21,3,11,1,22,352,26,27,13,28,29,306,350])),suno:()=>W(()=>import(`./suno-Be9UhEcX.js`),__vite__mapDeps([365,21,3,11,1,22,26,27,13,28,29,306,350])),producer:()=>W(()=>import(`./producer-Cftxullw.js`),__vite__mapDeps([366,21,3,11,1,22,26,27,13,28,29,306,350])),nanobanana:()=>W(()=>import(`./nanobanana-B5-IKS73.js`),__vite__mapDeps([367,21,3,11,1,22,352,26,27,13,28,29,306,350])),openaiimage:()=>W(()=>import(`./openaiimage-DoIMIVMy.js`),__vite__mapDeps([368,21,3,11,1,22,352,26,27,13,28,29,306,350])),seedream:()=>W(()=>import(`./seedream-DDubAk0V.js`),__vite__mapDeps([369,21,3,11,1,22,26,27,13,28,29,306,350])),qwenimage:()=>W(()=>import(`./qwenimage-CbH5cDWi.js`),__vite__mapDeps([370,21,3,11,1,22,26,27,13,28,29,306,350])),seedance:()=>W(()=>import(`./seedance-vjO0LxfY.js`),__vite__mapDeps([371,21,3,11,1,22,352,26,27,13,28,29,306,350])),grokvideo:()=>W(()=>import(`./grokvideo-wIrAkg60.js`),__vite__mapDeps([372,21,3,11,1,22,352,26,27,13,28,29,306,350])),omni:()=>W(()=>import(`./omni-ROlnzeCN.js`),__vite__mapDeps([373,21,3,11,1,22,352,26,27,13,28,29,306,350])),serp:()=>W(()=>import(`./serp-B9uitIQK.js`),__vite__mapDeps([374,21,3,11,1,22,26,27,13,28,29])),wan:()=>W(()=>import(`./wan-CJgJf4gd.js`),__vite__mapDeps([375,21,3,11,1,22,352,26,27,13,28,29,306,350])),fish:()=>W(()=>import(`./fish-DnPwoPWE.js`),__vite__mapDeps([376,21,3,11,1,22,352,26,27,13,28,29,306,350])),webextrator:()=>W(()=>import(`./webextrator-CgBbtaN5.js`),__vite__mapDeps([377,21,3,11,1,22,26,27,13,28,29])),codingBridge:()=>W(()=>import(`./codingBridge-CMi6fCj5.js`),__vite__mapDeps([378,21,3,11,1,22,26,27,13,28,29,338]))},CC=Object.keys(SC),wC=new Map;function TC(){if(typeof window>`u`||!window.localStorage)return{};try{let e=window.localStorage.getItem(`vuex`);if(!e)return{};let t=JSON.parse(e);return t&&typeof t==`object`?t:{}}catch{return{}}}async function EC(e){if(!Object.prototype.hasOwnProperty.call(SC,e)||q.hasModule(e))return;let t=wC.get(e);if(t)return t;let n=(async()=>{let t=await SC[e]();if(q.hasModule(e))return;let n=t.default,r=typeof n.state==`function`?n.state():{...n.state},i=TC()[e],a=i&&typeof i==`object`?{...r,...i}:r;q.registerModule(e,{...n,state:a})})().finally(()=>{wC.delete(e)});return wC.set(e,n),n}function DC(){return CC.filter(e=>q.hasModule(e))}var OC=[/Failed to fetch dynamically imported module/i,/Importing a module script failed/i,/error loading dynamically imported module/i,/Unable to preload CSS/i];function kC(e){if(e instanceof Error)return`${e.name}: ${e.message}`;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function AC(e){let t=e.storagePrefix,n=e.reloadQueryParam??`__chunk_reload`,r=!1;function i(e){let t=kC(e);return OC.some(e=>e.test(t))}function a(){return Array.from(document.scripts).find(e=>e.type===`module`&&/\/assets\/index[.-][^/]+\.js(?:\?.*)?$/.test(e.src))?.src||window.location.origin}function o(){return`${t}:${a()}`}function s(){try{return window.sessionStorage.getItem(o())===`1`}catch{return!1}}function c(){try{window.sessionStorage.setItem(o(),`1`)}catch{}}function l(){let e=new URL(window.location.href);e.searchParams.has(n)&&(e.searchParams.delete(n),window.history.replaceState(window.history.state,document.title,`${e.pathname}${e.search}${e.hash}`))}function u(){let e=new URL(window.location.href);e.searchParams.set(n,Date.now().toString(36)),window.location.replace(e.toString())}function d(e){return typeof window>`u`||typeof document>`u`||!i(e)?!1:s()?(console.error(`Chunk load failed after a reload attempt.`,e),!1):(c(),u(),!0)}function f(){typeof window>`u`||typeof document>`u`||r||(r=!0,l(),window.addEventListener(`vite:preloadError`,e=>{d(e.payload)&&e.preventDefault()}),window.addEventListener(`unhandledrejection`,e=>{d(e.reason)&&e.preventDefault()}))}return{isChunkLoadError:i,handleChunkLoadError:d,install:f}}var jC=AC({storagePrefix:`nexior:chunk-load-reload`,reloadQueryParam:`__nexior_reload`});jC.isChunkLoadError;var MC=jC.handleChunkLoadError,NC=jC.install,PC=[`/console`,`/distribution`,`/settings`,`/coding-bridge`,`/poivelle`,`/chatgpt/call`,`/chatgpt/scheduled`,`/chatgpt/artifacts`],FC=e=>PC.some(t=>e===t||e.startsWith(`${t}/`)),IC=`studio.acedata.cloud`,LC=`site-analytics-`,RC;function zC(e){if(!e)return``;try{return(e.includes(`://`)?new URL(e):new URL(`https://${e}`)).hostname.toLowerCase().replace(/\.$/,``)}catch{return``}}function BC(e,t=window.location.hostname){if(!Xn())return!1;let n=zC(t);return!n||n===IC||n===`localhost`||n===`127.0.0.1`?!1:new Set([zC(e?.origin),...(e?.active_page_hosts||[]).map(zC)].filter(Boolean)).has(n)&&!!e?.analytics&&Object.values(e.analytics).some(e=>e?.enabled)}function VC(e,t,n={}){if(document.getElementById(e))return;let r=document.createElement(`script`);r.id=e,r.async=!0,r.src=t,r.dataset.siteAnalytics=`true`,Object.entries(n).forEach(([e,t])=>r.setAttribute(e,t)),document.head.appendChild(r)}function HC(e){let t=window;t.dataLayer||=[],t.gtag||=(...e)=>t.dataLayer?.push(e),t.gtag(`js`,new Date),t.gtag(`config`,e,{send_page_view:!0}),VC(`${LC}ga4`,`https://www.googletagmanager.com/gtag/js?id=${encodeURIComponent(e)}`)}function UC(e){let t=window;t._hmt||=[],VC(`${LC}baidu`,`https://hm.baidu.com/hm.js?${e}`)}function WC(e){let t=window;t.clarity||=(...e)=>{let n=t.clarity;n.q||=[],n.q.push(e)},VC(`${LC}clarity`,`https://www.clarity.ms/tag/${encodeURIComponent(e)}`)}function GC(e,t){VC(`${LC}umami`,`${t.replace(/\/$/,``)}/script.js`,{"data-website-id":e,"data-auto-track":`true`})}function KC(e,t=window.location.hostname){if(BC(e,t)){RC=e?.analytics;try{RC?.ga4?.enabled&&HC(RC.ga4.measurement_id),RC?.baidu?.enabled&&UC(RC.baidu.site_id),RC?.clarity?.enabled&&WC(RC.clarity.project_id),RC?.umami?.enabled&&GC(RC.umami.website_id,RC.umami.server_url)}catch(e){console.warn(`site analytics initialization failed`,e)}}}function qC(e){if(!RC)return;let t=window;try{RC.ga4?.enabled&&t.gtag?.(`event`,`page_view`,{send_to:RC.ga4.measurement_id,page_path:e,page_location:window.location.href,page_title:document.title}),RC.baidu?.enabled&&t._hmt?.push([`_trackPageview`,e]),RC.clarity?.enabled&&t.clarity?.(`set`,`page_path`,e),RC.umami?.enabled&&t.umami?.track?.({url:e,title:document.title})}catch{}}var JC=`chatgpt.grok.gemini.claude.deepseek.midjourney.qrart.suno.luma.pika.kling.veo.sora.pixverse.flux.hailuo.minimax.nanobanana.openaiimage.seedream.qwenimage.seedance.omni.grokvideo.maestro.poivelle.digitalhuman.wan.producer.kimi.serp.fish.webextrator.codingBridge`.split(`.`),YC={chatgpt:er,grok:lr,gemini:vr,claude:ar,deepseek:Er,midjourney:Hn,qrart:yn,suno:Vr,luma:Pn,pika:Sn,kling:rn,veo:dn,sora:Zn,pixverse:cn,flux:jn,hailuo:mr,minimax:_n,nanobanana:br,openaiimage:Gn,seedream:an,qwenimage:hn,seedance:dr,omni:sn,grokvideo:ln,maestro:Fr,poivelle:Un,digitalhuman:Dn,wan:Ln,producer:Wr,kimi:sr,serp:Bn,fish:ur,webextrator:Kr,codingBridge:Tn};function XC(e,t,n,r){let i=e?.capability_overrides?.[t],a=i?.display_name?.trim()||n,o=i?.icon_url?.trim()||r;return{displayName:a,iconUrl:o,isOverridden:a!==n||o!==r}}var ZC={chatgpt:{title:`ChatGPT`,description:`Chat with ChatGPT AI — powered by OpenAI GPT models. Free AI conversations with the latest GPT.`,keywords:[`ChatGPT`,`GPT`,`AI Chat`,`OpenAI`],category:`AI Chat`},claude:{title:`Claude`,description:`Chat with Claude AI — powered by Anthropic. Intelligent AI conversations with Claude.`,keywords:[`Claude`,`Anthropic`,`AI Chat`,`Claude AI`],category:`AI Chat`},gemini:{title:`Gemini`,description:`Chat with Gemini AI — powered by Google. Advanced AI conversations with Gemini.`,keywords:[`Gemini`,`Google AI`,`AI Chat`,`Gemini AI`],category:`AI Chat`},grok:{title:`Grok`,description:`Chat with Grok AI — powered by xAI. Real-time AI conversations with Grok.`,keywords:[`Grok`,`xAI`,`AI Chat`,`Grok AI`],category:`AI Chat`},deepseek:{title:`DeepSeek`,description:`Chat with DeepSeek AI — advanced reasoning and coding AI assistant.`,keywords:[`DeepSeek`,`AI Chat`,`AI Coding`,`DeepSeek AI`],category:`AI Chat`},kimi:{title:`Kimi`,description:`Chat with Kimi AI — advanced AI conversations powered by Moonshot AI.`,keywords:[`Kimi`,`Moonshot AI`,`AI Chat`,`Kimi AI`],category:`AI Chat`},midjourney:{title:`Midjourney`,description:`Generate stunning AI images with Midjourney — create art, illustrations, and designs with text prompts.`,keywords:[`Midjourney`,`AI Image`,`AI Art`,`Image Generation`,`Text to Image`],category:`AI Image Generation`},flux:{title:`Flux`,description:`Generate AI images with Flux — fast, high-quality image generation from text descriptions.`,keywords:[`Flux`,`AI Image`,`Image Generation`,`Text to Image`],category:`AI Image Generation`},qrart:{title:`QR Art`,description:`Generate artistic QR codes with AI — beautiful, scannable QR code art.`,keywords:[`QR Art`,`AI QR Code`,`QR Code Generator`,`Artistic QR`],category:`AI Image Generation`},nanobanana:{title:`NanoBanana`,description:`Generate and edit AI images with NanoBanana — powered by Gemini for creative image generation.`,keywords:[`NanoBanana`,`AI Image`,`Gemini`,`Image Editing`],category:`AI Image Generation`},"openai-image":{title:`OpenAI Image`,description:`Generate and edit AI images with OpenAI image models including gpt-image-1.5 and gpt-image-2.`,keywords:[`OpenAI Image`,`gpt-image-2`,`Image Editing`,`AI Image`],category:`AI Image Generation`},qwenimage:{title:`Qwen Image 3`,description:`Generate and edit images with Qwen Image 3.`,keywords:[`Qwen Image`,`AI Image`,`Image Editing`],category:`AI Image Generation`},seedream:{title:`Seedream`,description:`Generate AI images with Seedream — high-quality image generation by ByteDance.`,keywords:[`Seedream`,`AI Image`,`ByteDance`,`Image Generation`],category:`AI Image Generation`},luma:{title:`Luma`,description:`Generate AI videos with Luma Dream Machine — create stunning videos from text and images.`,keywords:[`Luma`,`AI Video`,`Dream Machine`,`Video Generation`,`Text to Video`],category:`AI Video Generation`},sora:{title:`Sora`,description:`Generate AI videos with OpenAI Sora — create realistic videos from text descriptions.`,keywords:[`Sora`,`OpenAI`,`AI Video`,`Video Generation`,`Text to Video`],category:`AI Video Generation`},maestro:{title:`Maestro`,description:`Turn any article or topic into a captioned short video — script, visuals, voiceover and music, fully automated.`,keywords:[`Maestro`,`AI Video`,`Article to Video`,`Faceless Video`,`Short Video Generator`],category:`AI Video Generation`},poivelle:{title:`Poivelle`,description:`Direct AI film production through a canonical project graph, shared by human editors, skills, agents, and production tools.`,keywords:[`Poivelle`,`AI Film Studio`,`AI Storyboard`,`AI Video Production`,`Creative Agent`],category:`AI Creative Production`},"digital-human":{title:`Digital Human`,description:`Generate a talking-head video from a face video or photo and a voice — clone a voice, drive it with text or audio, and lip-sync it.`,keywords:[`Digital Human`,`Talking Head`,`Lip Sync`,`AI Avatar`,`Voice Clone`,`Text to Video`],category:`AI Video Generation`},veo:{title:`Veo`,description:`Generate AI videos with Google Veo — high-quality video generation from text prompts.`,keywords:[`Veo`,`Google`,`AI Video`,`Video Generation`],category:`AI Video Generation`},pika:{title:`Pika`,description:`Generate AI videos with Pika — creative video generation and editing with AI.`,keywords:[`Pika`,`AI Video`,`Video Generation`,`Video Editing`],category:`AI Video Generation`},kling:{title:`Kling`,description:`Generate AI videos with Kling — high-quality video generation by Kuaishou.`,keywords:[`Kling`,`AI Video`,`Kuaishou`,`Video Generation`],category:`AI Video Generation`},pixverse:{title:`Pixverse`,description:`Generate AI videos with Pixverse — creative video generation from text and images.`,keywords:[`Pixverse`,`AI Video`,`Video Generation`],category:`AI Video Generation`},hailuo:{title:`Hailuo`,description:`Generate AI videos with Hailuo (MiniMax) — expressive video generation from text.`,keywords:[`Hailuo`,`MiniMax`,`AI Video`,`Video Generation`],category:`AI Video Generation`},minimax:{title:`MiniMax H3`,description:`Generate MiniMax H3 videos from text, up to nine images, or up to three audio references.`,keywords:[`MiniMax H3`,`AI Video`,`Text to Video`,`Image to Video`,`Audio Guided Video`],category:`AI Video Generation`},seedance:{title:`Seedance`,description:`Generate AI dance videos with Seedance — AI-powered dance video generation by ByteDance.`,keywords:[`Seedance`,`AI Video`,`Dance Video`,`ByteDance`],category:`AI Video Generation`},grokvideo:{title:`Grok Imagine Video`,description:`Generate AI videos with Grok Imagine — text-to-video and image-to-video by xAI.`,keywords:[`Grok`,`Grok Imagine`,`AI Video`,`Text to Video`,`Image to Video`,`xAI`],category:`AI Video Generation`},omni:{title:`Omni Video`,description:`Generate and edit AI videos with Omni (omni-flash) — text-to-video, image-to-video and video editing.`,keywords:[`Omni`,`omni-flash`,`AI Video`,`Text to Video`,`Image to Video`,`Video Editing`,`Gemini`],category:`AI Video Generation`},wan:{title:`Wan`,description:`Generate AI videos with Wan — high-quality video generation by Tongyi Wanxiang.`,keywords:[`Wan`,`Tongyi`,`AI Video`,`Video Generation`],category:`AI Video Generation`},suno:{title:`Suno`,description:`Create AI music with Suno — generate songs, lyrics, and music from text descriptions.`,keywords:[`Suno`,`AI Music`,`Music Generation`,`AI Song`,`Text to Music`],category:`AI Music Generation`},producer:{title:`Producer`,description:`Create AI music with Producer — generate songs, lyrics, and music with FUZZ models.`,keywords:[`Producer`,`AI Music`,`Music Generation`,`FUZZ`,`AI Song`],category:`AI Music Generation`},fish:{title:`Fish Audio`,description:`Generate natural speech and clone voices with Fish Audio — text-to-speech and voice cloning.`,keywords:[`Fish Audio`,`TTS`,`Text to Speech`,`Voice Cloning`,`AI Voice`],category:`AI Audio Generation`},distribution:{title:`Affiliate`,description:`Join the Ace Data Cloud affiliate program — earn commissions by referring AI services.`,keywords:[`Affiliate`,`Referral`,`Earn`,`Commission`],category:`Business`},serp:{title:`Search`,description:`Search the web with Google — powered by SERP API. Get organic results, knowledge graphs, images, and more.`,keywords:[`Search`,`Google Search`,`SERP`,`Web Search`],category:`Web Search`},webextrator:{title:`WebExtrator`,description:`Render and extract any web page with WebExtrator — get HTML, markdown, plain text, structured data, links, and screenshots from any URL.`,keywords:[`WebExtrator`,`Web Scraping`,`Web Render`,`Content Extraction`,`Markdown`,`Headless Browser`],category:`Web Data`},"coding-bridge":{title:`Coding Bridge`,description:`Drive Claude Code, Codex, and GitHub Copilot on your own machine from the web — pair a local node and run coding agents remotely with per-tool approval.`,keywords:[`Coding Bridge`,`Claude Code`,`Codex`,`GitHub Copilot`,`Remote Agent`,`AI Coding`],category:`AI Coding`}},QC=[[`chatgpt`,mv],[`claude`,Tv],[`gemini`,Cv],[`grok`,xv],[`deepseek`,yv],[`kimi`,Dv],[`midjourney`,Ov],...tn(`nanobanana`)?[[`nanobanana`,Zv]]:[],[`flux`,Wv],[`seedream`,$v],[`qwenimage`,ey],[`openaiimage`,Qv],[`suno`,Jv],[`producer`,Xv],[`fish`,oy],[`veo`,Fv],[`sora`,Lv],[`maestro`,zv],[`poivelle`,Bv],[`digitalhuman`,Vv],[`kling`,Nv],[`luma`,Av],[`hailuo`,Gv],[`minimax`,qv],[`seedance`,ty],[`grokvideo`,ny],[`omni`,ry],[`pixverse`,Hv],[`wan`,ay],[`serp`,iy],[`webextrator`,cy]],$C=()=>{let e=q.state.site?.features??{};for(let[t,n]of QC)if(e[t]?.enabled)return{name:n};return{name:mv}},ew=[lS,uS,dS,SS,cS,rS,vS,fS,pS,mS,hS,gS,CS,wS,TS,ES,DS,OS,kS,AS,jS,MS,NS,PS,FS,IS,LS,...tn(`nanobanana`)?[RS]:[],zS,BS,VS,HS,US,WS,GS,KS,qS,JS,YS,yS,bS,xS,XS,ZS,{path:`/:pathMatch(.*)*`,name:wy,component:()=>W(()=>import(`./NotFound-B7O570we.js`),__vite__mapDeps([379,126,11,1,127,284,380])),meta:{auth:!1}}];function tw(e){e.onError(e=>{MC(e)}),e.beforeEach(async(e,t,n)=>{await Rn(tC(q.state.site)??In(xu(`LOCALE`)||Ir));let r=Gg(e);if(r.kind===`strip`)return n(r.redirect);if(r.kind===`mismatch`){if(lg()&&!t.name){let{user_id:t,...r}=e.query;return n({...$C(),query:r,replace:!0})}return n(!1)}if(!q.getters.authenticated&&FC(e.path)){if(fr()||ir()||lg()){if(q.dispatch(`login`,{redirect:e.fullPath}),!t.name)return n({...$C(),query:e.query,replace:!0})}else Eu({redirect:e.fullPath});return n(!1)}for(let t of e.matched){let e=t.meta?.appName;typeof e==`string`&&e&&await EC(e)}return n()}),e.afterEach(e=>{qC(e.fullPath);let t=e.path.split(`/`).filter(Boolean)[0]||``,n=e.meta.modelGroup?.name||e.meta.appName,r=JC.find(e=>e===n),i=ZC[t]||r&&ZC[r];if(i){let e=r?XC(q.state.site,r,i.title,``).displayName:i.title;yC({title:e,description:i.description,keywords:i.keywords});let n=typeof window<`u`&&window.location?.origin||`https://studio.acedata.cloud`;_C({name:e,description:i.description,url:`${n}/${t}`,category:i.category})}else bC(),vC()})}var nw=na(`SignInWithApple`,{web:()=>W(()=>import(`./web-B0taMipw.js`).then(e=>new e.SignInWithAppleWeb),__vite__mapDeps([381,1]))});function rw(){return typeof window<`u`?window.desktop:void 0}function iw(){return typeof window<`u`?window.localExec:void 0}var aw=`com.acedatacloud.nexior`;function ow(e){let t=e instanceof Error?e.message:String(e);return/\b100[01]\b/.test(t)||/cancel/i.test(t)?`canceled`:U.isAxiosError(e)&&e.response?.data?.code===`user_restricted`?`restricted`:`failed`}var sw=B({name:`AuthPanel`,components:{CloseIcon:mc,ElDialog:ys,QrCode:nS},data(){return{showQR:!1,qrLink:``,useBrowser:!1,messageHandler:null,browserFinishedHandle:null,unmounted:!1}},computed:{isNative(){return fr()},isInAppLogin(){return fr()||ir()},nativeRedirect(){return ir()?`acedata-desktop`:`com.acedatacloud.nexior`},authOrigin(){return new URL(Cc()).origin},redirect(){return this.$store.state.auth?.redirect||window.location.pathname+window.location.search+window.location.hash},authAction(){return this.$store.state.auth?.action||`login`},iframeUrl(){if(this.authAction===`logout`)return new URL(`/auth/logout`,Cc()).toString();let e=new URL(`/auth/login/`,Cc());return this.inviterId&&e.searchParams.set(`inviter_id`,this.inviterId),this.isInAppLogin?e.searchParams.set(`native_redirect`,this.nativeRedirect):(e.searchParams.set(`embed_origin`,window.location.origin),e.searchParams.set(`redirect`,`${Sc()}/auth/callback?${new URLSearchParams({redirect:this.redirect}).toString()}`)),Ug(e.toString())},inviterId(){return this.$store?.state?.site?.distribution?.force_inviter_id?this.$store?.state?.site?.distribution?.force_inviter_id:this.$route.query.inviter_id?.toString()||xu(`INVITER_ID`)||this.$store?.state?.site?.distribution?.default_inviter_id},authenticated(){return!!this.$store.state.token.access}},async mounted(){if(this.isNative){let e=await ix.addListener(`browserFinished`,()=>{console.debug(`browser closed by user`),this.useBrowser=!1});if(this.unmounted){await e.remove();return}else this.browserFinishedHandle=e}this.messageHandler=async e=>{let t=this.$refs.iframe;if(!(e.origin!==this.authOrigin||e.source!==t?.contentWindow)){if(console.debug(`received from child page`,e),e.data.name===`nativeOAuth`&&this.isInAppLogin){let t=e.data.data?.provider;if(t===`apple`&&Nr()){Wu(`apple_login_submit`,{action:`native_ios`});try{let{response:e}=await nw.authorize({clientId:aw,redirectURI:``,scopes:`email name`});if(!e?.identityToken)throw Error(`apple identity_token missing`);let t=(await U.post(`${Cc()}/api/v1/auth/login/`,{platform:`apple`,identity_token:e.identityToken,inviter_id:this.inviterId,user:{name:{firstName:e.givenName??``,lastName:e.familyName??``}}},{timeout:2e4})).data,n={access:t.access_token,refresh:t.refresh_token,expiration:t.expires_in};if(await this.$store.dispatch(`setToken`,n))return;await this.$store.dispatch(`getUser`),this.$store.state.site?.origin||await this.$store.dispatch(`initializeSite`),Wu(`apple_login_success`,{action:`native_ios`}),this.$store.commit(`setAuth`,{visible:!1}),await this.$router.push(`/`)}catch(e){let t=e instanceof Error?e.message:String(e),n=ow(e);if(n===`canceled`)Wu(`apple_login_canceled`,{action:`native_ios`}),console.debug(`native apple sign in canceled by user`,e);else{Wu(`apple_login_failed`,{action:`native_ios`,error:t,error_type:n}),console.warn(`native apple sign in failed`,e);let r=n===`restricted`?`common.error.userRestricted`:`common.error.appleSignInFailed`;Ht.error(this.$t(r).toString())}}return}let n=Ug(`${Cc()}/auth/login/?inviter_id=${this.inviterId}&native_redirect=${this.nativeRedirect}&provider=${t}`);ir()?await rw()?.openOAuth(n):(this.useBrowser=!0,ix.open({url:n}));return}if(e.data.name===`login`){let t=e.data.data,n={access:t.access_token,refresh:t.refresh_token,expiration:t.expires_in};try{if(await this.$store.dispatch(`setToken`,n))return}catch{Ht.error(this.$t(`common.account.switchFailed`).toString());return}await this.$store.dispatch(`getUser`);let r=!1;if(this.$store.state.site?.origin||(await this.$store.dispatch(`initializeSite`),!fr()&&!ir()&&(r=!0)),fr()||ir())this.$store.commit(`setAuth`,{visible:!1}),await this.$router.push(`/`);else{this.$store.commit(`setAuth`,{visible:!1});let e=r?this.$router.resolve({name:dv}).href:this.redirect||`/`,t=new URL(this.resolveLocalRedirect(e),window.location.origin).toString();t===window.location.href?window.location.reload():window.location.href=t}}if(e.data.name===`logout`&&this.$store.commit(`setAuth`,{action:`login`,visible:!0}),e.data.name===`wechatMobileRedirect`){let t=e.data.data?.url;typeof t==`string`&&t.startsWith(`https://open.weixin.qq.com/`)?window.location.href=t:console.warn(`ignored wechatMobileRedirect with unexpected url`,t)}if(e.data.name===`show_qr`){let t=e.data.data;this.qrLink=t.qrLink,this.showQR=!0}}},window.addEventListener(`message`,this.messageHandler)},async beforeUnmount(){this.unmounted=!0,this.messageHandler&&=(window.removeEventListener(`message`,this.messageHandler),null),this.browserFinishedHandle&&=(await this.browserFinishedHandle.remove(),null)},methods:{closeWebLogin(){ei(),this.$store.commit(`setAuth`,{visible:!1})},resolveLocalRedirect(e,t=`/`){try{let n=new URL(e||t,window.location.origin);return n.origin===window.location.origin?`${n.pathname}${n.search}${n.hash}`:t}catch{return t}}}}),cw=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},lw={class:`auth-frame-modal`,role:`dialog`,"aria-modal":`true`},uw={class:`auth-frame-modal__panel`},dw=[`aria-label`,`title`],fw={key:0,class:`auth-frame-modal__loading`},pw=[`src`];function mw(e,t,n,r,a,o){let s=M(`close-icon`),c=M(`qr-code`),l=M(`el-dialog`);return R(),T(ne,null,[i(`div`,lw,[i(`div`,uw,[i(`button`,{class:`auth-frame-modal__close`,type:`button`,"aria-label":e.$t(`common.button.close`),title:e.$t(`common.button.close`),onClick:t[0]||=(...t)=>e.closeWebLogin&&e.closeWebLogin(...t)},[x(s,{size:`1em`,"aria-hidden":`true`,focusable:`false`})],8,dw),e.useBrowser?(R(),T(`div`,fw,[i(`p`,null,v(e.$t(`common.status.loading`)),1)])):(R(),T(`iframe`,{key:1,ref:`iframe`,class:`auth-frame-modal__iframe`,src:e.iframeUrl,frameborder:`0`,referrerpolicy:`origin`},null,8,pw))])]),x(l,{modelValue:e.showQR,"onUpdate:modelValue":t[1]||=t=>e.showQR=t,width:`400px`,"show-close":!0},{default:L(()=>[e.qrLink?(R(),F(c,{key:0,value:e.qrLink,width:230,height:230,class:`qrcode w-[320px] h-[320px] block mx-auto mb-[20px]`,type:`image/jpeg`,color:{dark:`#000000ff`,light:`#ffffffff`}},null,8,[`value`])):C(``,!0)]),_:1},8,[`modelValue`])],64)}var hw=cw(sw,[[`render`,mw],[`__scopeId`,`data-v-c315b5bb`]]),gw=B({name:`DesktopDragBar`,data(){return{fullscreen:!1,offFullscreen:null}},computed:{visible(){return ir()&&!this.fullscreen},isMac(){return Cr()}},mounted(){if(!ir())return;let e=rw();this.offFullscreen=e?.onFullscreenChange?.(e=>{this.fullscreen=!!e})??null},beforeUnmount(){this.offFullscreen?.(),this.offFullscreen=null}});function _w(e,t,n,r,i,a){return e.visible?(R(),T(`div`,{key:0,class:m([`desktop-drag-bar`,{"is-mac":e.isMac,"is-win":!e.isMac}]),"aria-hidden":`true`},null,2)):C(``,!0)}var vw=cw(gw,[[`render`,_w],[`__scopeId`,`data-v-9d9a1470`]]),yw=B({name:`QuotaExhaustedDialog`,components:{ElButton:$o,ElDialog:ys,ElIcon:Ne,Loading:We},props:{modelValue:{type:Boolean,required:!0},estimatedConsumption:{type:Number,required:!1,default:void 0},availableCredits:{type:Number,required:!1,default:void 0},balanceState:{type:String,required:!0},unit:{type:String,required:!1,default:`credit`},canTopUp:{type:Boolean,required:!0}},emits:[`update:modelValue`,`topUp`],computed:{dialogWidth(){return`min(500px, 94vw)`},hasEstimatedConsumption(){return Number.isFinite(this.estimatedConsumption)},unitLabel(){let e=this.unit||`credit`;return this.$t(`service.unit.${e.endsWith(`s`)?e:`${e}s`}`)}},methods:{formatCredits(e){return e===void 0||!Number.isFinite(e)?`—`:Math.max(0,e).toFixed(2)}}}),bw={class:`quota-message`},xw={class:`quota-details`},Sw={key:0,class:`quota-row`},Cw={class:`quota-row`},ww={key:0,class:`quota-muted`},Tw={key:1},Ew={key:2,class:`quota-muted`},Dw={class:`quota-actions`};function Ow(e,t,n,r,a,o){let s=M(`loading`),c=M(`el-icon`),l=M(`el-button`),u=M(`el-dialog`);return R(),F(u,{"model-value":e.modelValue,class:`quota-exhausted-dialog`,title:e.$t(`common.quotaDialog.title`),width:e.dialogWidth,"append-to-body":``,"onUpdate:modelValue":t[2]||=t=>e.$emit(`update:modelValue`,t)},{footer:L(()=>[i(`div`,Dw,[x(l,{onClick:t[0]||=t=>e.$emit(`update:modelValue`,!1)},{default:L(()=>[g(v(e.$t(`common.button.cancel`)),1)]),_:1}),e.canTopUp?(R(),F(l,{key:0,type:`primary`,onClick:t[1]||=t=>e.$emit(`topUp`)},{default:L(()=>[g(v(e.$t(`common.quotaDialog.topUp`)),1)]),_:1})):C(``,!0)])]),default:L(()=>[i(`p`,bw,v(e.$t(`common.quotaDialog.message`)),1),i(`dl`,xw,[e.hasEstimatedConsumption?(R(),T(`div`,Sw,[i(`dt`,null,v(e.$t(`common.quotaDialog.estimatedConsumption`)),1),i(`dd`,null,v(e.formatCredits(e.estimatedConsumption))+` `+v(e.unitLabel),1)])):C(``,!0),i(`div`,Cw,[i(`dt`,null,v(e.$t(`common.quotaDialog.availableCredits`)),1),e.balanceState===`refreshing`?(R(),T(`dd`,ww,[x(c,{class:`is-loading`},{default:L(()=>[x(s)]),_:1}),g(` `+v(e.$t(`common.quotaDialog.refreshing`)),1)])):e.balanceState===`current`?(R(),T(`dd`,Tw,v(e.formatCredits(e.availableCredits))+` `+v(e.unitLabel),1)):(R(),T(`dd`,Ew,v(e.$t(`common.quotaDialog.unavailable`)),1))])])]),_:1},8,[`model-value`,`title`,`width`])}var kw=cw(yw,[[`render`,Ow],[`__scopeId`,`data-v-72011a24`]]),Aw=na(`App`,{web:()=>W(()=>import(`./web-nb5LyGMf.js`).then(e=>new e.AppWeb),[])}),jw=e=>e instanceof Element?e.matches(`input[type="file"]`)?e:e.closest(`.el-upload`):null,Mw=(e,t)=>{!jw(e.target)||t()||(e.preventDefault(),e.stopImmediatePropagation(),e.type===`change`&&e.target instanceof HTMLInputElement&&(e.target.value=``))},Nw=(e,t)=>{let n=e=>Mw(e,t),r=e=>Mw(e,t);e.addEventListener(`click`,n,!0),e.addEventListener(`change`,r,!0);let i=!0;return()=>{i&&(i=!1,e.removeEventListener(`click`,n,!0),e.removeEventListener(`change`,r,!0))}},Pw=()=>Du(),Fw=class extends ra{async write(e){if(typeof navigator>`u`||!navigator.clipboard)throw this.unavailable(`Clipboard API not available in this browser`);if(e.string!==void 0)await this.writeText(e.string);else if(e.url)await this.writeText(e.url);else if(e.image)if(typeof ClipboardItem<`u`)try{let t=await(await fetch(e.image)).blob(),n=new ClipboardItem({[t.type]:t});await navigator.clipboard.write([n])}catch{throw Error(`Failed to write image`)}else throw this.unavailable(`Writing images to the clipboard is not supported in this browser`);else throw Error(`Nothing to write`)}async read(){if(typeof navigator>`u`||!navigator.clipboard)throw this.unavailable(`Clipboard API not available in this browser`);if(typeof ClipboardItem<`u`)try{let e=await navigator.clipboard.read(),t=e[0].types[0],n=await e[0].getType(t);return{value:await this._getBlobData(n,t),type:t}}catch{return this.readText()}else return this.readText()}async readText(){if(typeof navigator>`u`||!navigator.clipboard||!navigator.clipboard.readText)throw this.unavailable(`Reading from clipboard not supported in this browser`);return{value:await navigator.clipboard.readText(),type:`text/plain`}}async writeText(e){if(typeof navigator>`u`||!navigator.clipboard||!navigator.clipboard.writeText)throw this.unavailable(`Writting to clipboard not supported in this browser`);await navigator.clipboard.writeText(e)}_getBlobData(e,t){return new Promise((n,r)=>{let i=new FileReader;t.includes(`image`)?i.readAsDataURL(e):i.readAsText(e),i.onloadend=()=>{let e=i.result;n(e)},i.onerror=e=>{r(e)}})}},Iw=na(`Clipboard`,{web:()=>new Fw}),Lw=e=>{try{let t=new URL(e),n=t.searchParams.get(`inviter_id`);if(n)return n;let r=t.pathname.match(/\/i\/([^/?#]+)/);if(r&&r[1])return decodeURIComponent(r[1])}catch{}return null},Rw=e=>{let t=new URLSearchParams(e||``);return{inviterId:t.get(`inviter_id`),clickId:t.get(`click_id`)}},zw=na(`InstallReferrer`),Bw=`INVITER_ID`,Vw=`ATTRIBUTION_RESOLVED`,Hw=/^[0-9a-f]{32}$/i,Uw=e=>{if(!e)return;let t=new Date;t.setDate(t.getDate()+7),bu(Bw,e,{expires:t,path:`/`,domain:Jg()}),console.debug(`attribution: wrote INVITER_ID`,e)},Ww=async()=>{let e=``;try{({referrer:e}=await zw.getReferrer())}catch(e){console.debug(`attribution: install referrer unavailable`,e);return}let{inviterId:t}=Rw(e);t&&Uw(t)},Gw=async()=>{let e;try{let{value:t}=await Iw.read();t&&Hw.test(t.trim())&&(e=t.trim())}catch(e){console.debug(`attribution: clipboard read unavailable`,e)}try{let{data:t}=await tf.resolve({click_id:e,platform:`ios`});t?.inviter_id&&(console.debug(`attribution: resolved inviter via`,t.match_type),Uw(t.inviter_id))}catch(e){console.debug(`attribution: resolve failed`,e)}},Kw=async()=>{if(fr()&&!xu(Bw)){try{if(localStorage.getItem(Vw))return}catch{}try{Mn()?await Ww():Nr()&&await Gw()}finally{try{localStorage.setItem(Vw,`1`)}catch{}}}},qw=``;async function Jw(e,{store:t,router:n,source:r}){if(e&&e!==qw){qw=e,Wu(`apple_login_deeplink`,{action:`sso_exchange`,source:r});try{let{data:i}=await Em.token({code:e}),a={access:i.access_token,refresh:i.refresh_token,expiration:i.expires_in};if(await t.dispatch(`setToken`,a))return;await t.dispatch(`getUser`),Wu(`apple_login_success`,{action:`sso_exchange`,source:r}),t.commit(`setAuth`,{visible:!1}),await n.push(`/`)}catch(n){qw===e&&(qw=``),Wu(`apple_login_failed`,{action:`sso_exchange`,source:r,error:String(n)}),t.commit(`setAuth`,{visible:!1}),await t.dispatch(`login`)}}}var J=A({visible:!1,balanceState:`unavailable`,requestId:0});function Yw(e){return q.state[e]}async function Xw(e,t,n){let r,i;try{[r,i]=await Promise.all([q.dispatch(`getApplications`),q.dispatch(`${e}/getApplications`)])}catch{n===J.requestId&&J.visible&&(J.balanceState=`unavailable`);return}if(n!==J.requestId||!J.visible)return;if(!Array.isArray(r)||!Array.isArray(i)||!t){J.balanceState=`unavailable`;return}let a=[...r,...i].find(e=>e.id===t);if(!a){J.balanceState=`unavailable`;return}q.commit(`${e}/setApplication`,a),J.application=a,J.availableCredits=Oy(a,r),J.balanceState=`current`}function Zw(e,t,n){if((e?.response?.data?.error?.code||e?.response?.data?.code)!==`used_up`||Tf()&&Df(t).mode===`wallet`)return!1;let r=Yw(t),i=r?.application,a=J.requestId+1;return J.requestId=a,J.visible=!0,J.applicationNamespace=t,J.estimatedConsumption=Number.isFinite(n)?n:void 0,J.availableCredits=void 0,J.balanceState=`refreshing`,J.application=i,J.unit=r?.service?.unit,Xw(t,i?.id,a),!0}function Qw(){J.requestId+=1,J.visible=!1}function $w(){return Ey(J.application,q.getters.site,{ios:Nr()})}function eT(){return $w()?Ty(J.application):void 0}var tT={en:()=>W(()=>import(`./en-CpRrS3Ur.js`).then(e=>e.n),__vite__mapDeps([28,1])),de:()=>W(()=>import(`./de-b5ud83Jh.js`),[]),pt:()=>W(()=>import(`./pt-DooN-Wl6.js`),[]),es:()=>W(()=>import(`./es-BITxKZGb.js`),[]),fr:()=>W(()=>import(`./fr-BDFpSLNf.js`),[]),"zh-CN":()=>W(()=>import(`./zh-cn-DbCu-PdM.js`),[]),"zh-TW":()=>W(()=>import(`./zh-tw-jOYIOW_T.js`),[]),it:()=>W(()=>import(`./it-MZnae9Sr.js`),[]),ko:()=>W(()=>import(`./ko-CHFaNxzw.js`),[]),ja:()=>W(()=>import(`./ja-Dr89NR-c.js`),[]),ru:()=>W(()=>import(`./ru-m-CsSCMn.js`),[]),pl:()=>W(()=>import(`./pl-BXRhM8qZ.js`),[]),fi:()=>W(()=>import(`./fi-BPalBz2N.js`),[]),sv:()=>W(()=>import(`./sv-CZdvdA8V.js`),[]),el:()=>W(()=>import(`./el-BLDPPQCo.js`),[]),uk:()=>W(()=>import(`./uk-DU9kiOnb.js`),[]),ar:()=>W(()=>import(`./ar-DA5M15Ow.js`),[]),sr:()=>W(()=>import(`./sr-FEmZ8gOK.js`),[])},nT=B({name:`App`,components:{MetaTag:vc,ElConfigProvider:rs,ElButton:$o,ElEmpty:Ss,AuthPanel:hw,DesktopDragBar:vw,QuotaExhaustedDialog:kw},data(){return{isTest:Br,epLocale:null,offAuthCb:null,offAuthExpired:null,offSiteWatch:null,offCredentialWatch:null,offUploadAuthGuard:null}},computed:{siteLoadFailed(){let{site:e,status:t}=this.$store.state;return!e?.id&&(t.getSite===V.Error||t.getSite===V.Success)},authPopup(){return this.$store.state.auth.flow===`popup`&&this.$store.state.auth.visible},quotaState(){return J},canTopUpQuota(){return $w()},currentLocale(){return In(this.$i18n.locale)}},watch:{currentLocale:{immediate:!0,handler(){this.loadElementPlusLocale()}},"$route.fullPath"(){Qw()}},mounted(){if(this.offUploadAuthGuard=Nw(document,Du),fr()&&Aw.addListener(`appUrlOpen`,async({url:e})=>{console.debug(`deep link received:`,e);let t=Lw(e);if(t&&Uw(t),e.includes(`auth/callback`)){let t=new URL(e).searchParams.get(`code`);if(t){try{await ix.close()}catch(e){console.debug(`browser close failed (may already be closed)`,e)}await Jw(t,{store:this.$store,router:this.$router,source:`native`})}}}),ir()){let e=rw();this.offAuthCb=e?.onAuthCallback(({code:e})=>{Jw(e,{store:this.$store,router:this.$router,source:`desktop`})})??null,this.offAuthExpired=e?.onAuthExpired(()=>{Ht.error(this.$t(`common.error.loginLinkExpired`).toString())})??null,e?.signalReady(),this.offSiteWatch=this.$watch(()=>this.$store.state.site?.origin,t=>{t&&e?.setSiteOrigin(t)},{immediate:!0}),this.offCredentialWatch=this.$watch(()=>this.$store.state.chat?.credential?.token,t=>{t?e?.scheduler?.setCredentials(t,Vn()):e?.scheduler?.clearCredentials()},{immediate:!0})}let e=!!this.$store.state.token.access&&!!this.$store.state.user?.id;console.debug(`App mounted, authenticated:`,e),e||this.$store.dispatch(`resetAll`)},beforeUnmount(){this.offAuthCb?.(),this.offAuthExpired?.(),this.offSiteWatch?.(),this.offCredentialWatch?.(),this.offUploadAuthGuard?.()},methods:{reloadSite(){window.location.reload()},onQuotaVisibility(e){e||Qw()},onQuotaTopUp(){let e=eT();e&&(Qw(),this.$router.push(e))},async loadElementPlusLocale(){let e=this.currentLocale;console.debug(`[i18n] Loading Element Plus locale for: ${e}`);let t=tT[e];if(!t){console.warn(`[i18n] No Element Plus locale found for: ${e}`);return}try{let n=await t();this.epLocale=n.default,console.debug(`[i18n] Loaded Element Plus locale: ${e}`)}catch(t){console.error(`[i18n] Failed to load Element Plus locale for: ${e}`,t)}}}});function rT(e,t,n,r,i,a){let o=M(`auth-panel`),s=M(`desktop-drag-bar`),c=M(`el-button`),l=M(`el-empty`),u=M(`router-view`),d=M(`quota-exhausted-dialog`),f=M(`meta-tag`),p=M(`el-config-provider`);return R(),F(p,{locale:e.epLocale},{default:L(()=>[e.authPopup?(R(),F(o,{key:0})):C(``,!0),x(s),e.siteLoadFailed?(R(),F(l,{key:1,class:`h-full`,description:e.$t(`common.bootstrap.failed`)},{default:L(()=>[x(c,{type:`primary`,onClick:e.reloadSite},{default:L(()=>[g(v(e.$t(`common.button.refresh`)),1)]),_:1},8,[`onClick`])]),_:1},8,[`description`])):(R(),F(u,{key:2})),x(d,{"model-value":e.quotaState.visible,"estimated-consumption":e.quotaState.estimatedConsumption,"available-credits":e.quotaState.availableCredits,"balance-state":e.quotaState.balanceState,unit:e.quotaState.unit,"can-top-up":e.canTopUpQuota,"onUpdate:modelValue":e.onQuotaVisibility,onTopUp:e.onQuotaTopUp},null,8,[`model-value`,`estimated-consumption`,`available-credits`,`balance-state`,`unit`,`can-top-up`,`onUpdate:modelValue`,`onTopUp`]),e.isTest?(R(),F(f,{key:3,class:`fixed bottom-4 right-4 z-50`,tone:`warning`},{default:L(()=>[g(v(e.$t(`index.button.testEnv`)),1)]),_:1})):C(``,!0)]),_:1},8,[`locale`])}var iT=cw(nT,[[`render`,rT]]),aT=e($t()),oT={install:(e,t)=>{e.config.globalProperties.$dayjs={format(e,n){return e?(0,aT.default)(e).format(n||t.formatString):``}}}};function sT(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function cT(e){if(Array.isArray(e))return e}function lT(e){if(Array.isArray(e))return sT(e)}function uT(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function dT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,ST(r.key),r)}}function fT(e,t,n){return t&&dT(e.prototype,t),n&&dT(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function pT(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=wT(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
16
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function Y(e,t,n){return(t=
|
|
17
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
18
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?vT(Object(n),!0).forEach(function(t){Y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vT(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yT(e,t){return cT(e)||hT(e,t)||wT(e,t)||gT()}function bT(e){return lT(e)||mT(e)||wT(e)||_T()}function xT(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ST(e){var t=xT(e,`string`);return typeof t==`symbol`?t:t+``}function CT(e){"@babel/helpers - typeof";return CT=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},CT(e)}function wT(e,t){if(e){if(typeof e==`string`)return sT(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sT(e,t):void 0}}var TT=function(){},ET={},DT={},OT=null,kT={mark:TT,measure:TT};try{typeof window<`u`&&(ET=window),typeof document<`u`&&(DT=document),typeof MutationObserver<`u`&&(OT=MutationObserver),typeof performance<`u`&&(kT=performance)}catch{}var AT=(ET.navigator||{}).userAgent,jT=AT===void 0?``:AT,MT=ET,Z=DT,NT=OT,PT=kT;MT.document;var FT=!!Z.documentElement&&!!Z.head&&typeof Z.addEventListener==`function`&&typeof Z.createElement==`function`,IT=~jT.indexOf(`MSIE`)||~jT.indexOf(`Trident/`),LT,RT=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,zT=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,BT={classic:{fa:`solid`,fas:`solid`,"fa-solid":`solid`,far:`regular`,"fa-regular":`regular`,fal:`light`,"fa-light":`light`,fat:`thin`,"fa-thin":`thin`,fab:`brands`,"fa-brands":`brands`},duotone:{fa:`solid`,fad:`solid`,"fa-solid":`solid`,"fa-duotone":`solid`,fadr:`regular`,"fa-regular":`regular`,fadl:`light`,"fa-light":`light`,fadt:`thin`,"fa-thin":`thin`},sharp:{fa:`solid`,fass:`solid`,"fa-solid":`solid`,fasr:`regular`,"fa-regular":`regular`,fasl:`light`,"fa-light":`light`,fast:`thin`,"fa-thin":`thin`},"sharp-duotone":{fa:`solid`,fasds:`solid`,"fa-solid":`solid`,fasdr:`regular`,"fa-regular":`regular`,fasdl:`light`,"fa-light":`light`,fasdt:`thin`,"fa-thin":`thin`},slab:{"fa-regular":`regular`,faslr:`regular`},"slab-press":{"fa-regular":`regular`,faslpr:`regular`},thumbprint:{"fa-light":`light`,fatl:`light`},whiteboard:{"fa-semibold":`semibold`,fawsb:`semibold`},notdog:{"fa-solid":`solid`,fans:`solid`},"notdog-duo":{"fa-solid":`solid`,fands:`solid`},etch:{"fa-solid":`solid`,faes:`solid`},graphite:{"fa-thin":`thin`,fagt:`thin`},jelly:{"fa-regular":`regular`,fajr:`regular`},"jelly-fill":{"fa-regular":`regular`,fajfr:`regular`},"jelly-duo":{"fa-regular":`regular`,fajdr:`regular`},chisel:{"fa-regular":`regular`,facr:`regular`},utility:{"fa-semibold":`semibold`,fausb:`semibold`},"utility-duo":{"fa-semibold":`semibold`,faudsb:`semibold`},"utility-fill":{"fa-semibold":`semibold`,faufsb:`semibold`}},VT={GROUP:`duotone-group`,SWAP_OPACITY:`swap-opacity`,PRIMARY:`primary`,SECONDARY:`secondary`},HT=[`fa-classic`,`fa-duotone`,`fa-sharp`,`fa-sharp-duotone`,`fa-thumbprint`,`fa-whiteboard`,`fa-notdog`,`fa-notdog-duo`,`fa-chisel`,`fa-etch`,`fa-graphite`,`fa-jelly`,`fa-jelly-fill`,`fa-jelly-duo`,`fa-slab`,`fa-slab-press`,`fa-utility`,`fa-utility-duo`,`fa-utility-fill`],UT=`classic`,WT=`duotone`,GT=`sharp`,KT=`sharp-duotone`,qT=`chisel`,JT=`etch`,YT=`graphite`,XT=`jelly`,ZT=`jelly-duo`,QT=`jelly-fill`,$T=`notdog`,eE=`notdog-duo`,tE=`slab`,nE=`slab-press`,rE=`thumbprint`,iE=`utility`,aE=`utility-duo`,oE=`utility-fill`,sE=`whiteboard`,cE=`Classic`,lE=`Duotone`,uE=`Sharp`,dE=`Sharp Duotone`,fE=`Chisel`,pE=`Etch`,mE=`Graphite`,hE=`Jelly`,gE=`Jelly Duo`,_E=`Jelly Fill`,vE=`Notdog`,yE=`Notdog Duo`,bE=`Slab`,xE=`Slab Press`,SE=`Thumbprint`,CE=`Utility`,wE=`Utility Duo`,TE=`Utility Fill`,EE=`Whiteboard`,DE=[UT,WT,GT,KT,qT,JT,YT,XT,ZT,QT,$T,eE,tE,nE,rE,iE,aE,oE,sE];LT={},Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(LT,UT,cE),WT,lE),GT,uE),KT,dE),qT,fE),JT,pE),YT,mE),XT,hE),ZT,gE),QT,_E),Y(Y(Y(Y(Y(Y(Y(Y(Y(LT,$T,vE),eE,yE),tE,bE),nE,xE),rE,SE),iE,CE),aE,wE),oE,TE),sE,EE);var OE={classic:{900:`fas`,400:`far`,normal:`far`,300:`fal`,100:`fat`},duotone:{900:`fad`,400:`fadr`,300:`fadl`,100:`fadt`},sharp:{900:`fass`,400:`fasr`,300:`fasl`,100:`fast`},"sharp-duotone":{900:`fasds`,400:`fasdr`,300:`fasdl`,100:`fasdt`},slab:{400:`faslr`},"slab-press":{400:`faslpr`},whiteboard:{600:`fawsb`},thumbprint:{300:`fatl`},notdog:{900:`fans`},"notdog-duo":{900:`fands`},etch:{900:`faes`},graphite:{100:`fagt`},chisel:{400:`facr`},jelly:{400:`fajr`},"jelly-fill":{400:`fajfr`},"jelly-duo":{400:`fajdr`},utility:{600:`fausb`},"utility-duo":{600:`faudsb`},"utility-fill":{600:`faufsb`}},kE={"Font Awesome 7 Free":{900:`fas`,400:`far`},"Font Awesome 7 Pro":{900:`fas`,400:`far`,normal:`far`,300:`fal`,100:`fat`},"Font Awesome 7 Brands":{400:`fab`,normal:`fab`},"Font Awesome 7 Duotone":{900:`fad`,400:`fadr`,normal:`fadr`,300:`fadl`,100:`fadt`},"Font Awesome 7 Sharp":{900:`fass`,400:`fasr`,normal:`fasr`,300:`fasl`,100:`fast`},"Font Awesome 7 Sharp Duotone":{900:`fasds`,400:`fasdr`,normal:`fasdr`,300:`fasdl`,100:`fasdt`},"Font Awesome 7 Jelly":{400:`fajr`,normal:`fajr`},"Font Awesome 7 Jelly Fill":{400:`fajfr`,normal:`fajfr`},"Font Awesome 7 Jelly Duo":{400:`fajdr`,normal:`fajdr`},"Font Awesome 7 Slab":{400:`faslr`,normal:`faslr`},"Font Awesome 7 Slab Press":{400:`faslpr`,normal:`faslpr`},"Font Awesome 7 Thumbprint":{300:`fatl`,normal:`fatl`},"Font Awesome 7 Notdog":{900:`fans`,normal:`fans`},"Font Awesome 7 Notdog Duo":{900:`fands`,normal:`fands`},"Font Awesome 7 Etch":{900:`faes`,normal:`faes`},"Font Awesome 7 Graphite":{100:`fagt`,normal:`fagt`},"Font Awesome 7 Chisel":{400:`facr`,normal:`facr`},"Font Awesome 7 Whiteboard":{600:`fawsb`,normal:`fawsb`},"Font Awesome 7 Utility":{600:`fausb`,normal:`fausb`},"Font Awesome 7 Utility Duo":{600:`faudsb`,normal:`faudsb`},"Font Awesome 7 Utility Fill":{600:`faufsb`,normal:`faufsb`}},AE=new Map([[`classic`,{defaultShortPrefixId:`fas`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`,`brands`],futureStyleIds:[],defaultFontWeight:900}],[`duotone`,{defaultShortPrefixId:`fad`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`sharp`,{defaultShortPrefixId:`fass`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`sharp-duotone`,{defaultShortPrefixId:`fasds`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`chisel`,{defaultShortPrefixId:`facr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`etch`,{defaultShortPrefixId:`faes`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`graphite`,{defaultShortPrefixId:`fagt`,defaultStyleId:`thin`,styleIds:[`thin`],futureStyleIds:[],defaultFontWeight:100}],[`jelly`,{defaultShortPrefixId:`fajr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`jelly-duo`,{defaultShortPrefixId:`fajdr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`jelly-fill`,{defaultShortPrefixId:`fajfr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`notdog`,{defaultShortPrefixId:`fans`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`notdog-duo`,{defaultShortPrefixId:`fands`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`slab`,{defaultShortPrefixId:`faslr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`slab-press`,{defaultShortPrefixId:`faslpr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`thumbprint`,{defaultShortPrefixId:`fatl`,defaultStyleId:`light`,styleIds:[`light`],futureStyleIds:[],defaultFontWeight:300}],[`utility`,{defaultShortPrefixId:`fausb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`utility-duo`,{defaultShortPrefixId:`faudsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`utility-fill`,{defaultShortPrefixId:`faufsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`whiteboard`,{defaultShortPrefixId:`fawsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}]]),jE={chisel:{regular:`facr`},classic:{brands:`fab`,light:`fal`,regular:`far`,solid:`fas`,thin:`fat`},duotone:{light:`fadl`,regular:`fadr`,solid:`fad`,thin:`fadt`},etch:{solid:`faes`},graphite:{thin:`fagt`},jelly:{regular:`fajr`},"jelly-duo":{regular:`fajdr`},"jelly-fill":{regular:`fajfr`},notdog:{solid:`fans`},"notdog-duo":{solid:`fands`},sharp:{light:`fasl`,regular:`fasr`,solid:`fass`,thin:`fast`},"sharp-duotone":{light:`fasdl`,regular:`fasdr`,solid:`fasds`,thin:`fasdt`},slab:{regular:`faslr`},"slab-press":{regular:`faslpr`},thumbprint:{light:`fatl`},utility:{semibold:`fausb`},"utility-duo":{semibold:`faudsb`},"utility-fill":{semibold:`faufsb`},whiteboard:{semibold:`fawsb`}},ME=[`fak`,`fa-kit`,`fakd`,`fa-kit-duotone`],NE={kit:{fak:`kit`,"fa-kit":`kit`},"kit-duotone":{fakd:`kit-duotone`,"fa-kit-duotone":`kit-duotone`}},PE=[`kit`];Y(Y({},`kit`,`Kit`),`kit-duotone`,`Kit Duotone`);var FE={kit:{"fa-kit":`fak`},"kit-duotone":{"fa-kit-duotone":`fakd`}},IE={"Font Awesome Kit":{400:`fak`,normal:`fak`},"Font Awesome Kit Duotone":{400:`fakd`,normal:`fakd`}},LE={kit:{fak:`fa-kit`},"kit-duotone":{fakd:`fa-kit-duotone`}},RE={kit:{kit:`fak`},"kit-duotone":{"kit-duotone":`fakd`}},zE,BE={GROUP:`duotone-group`,SWAP_OPACITY:`swap-opacity`,PRIMARY:`primary`,SECONDARY:`secondary`},VE=[`fa-classic`,`fa-duotone`,`fa-sharp`,`fa-sharp-duotone`,`fa-thumbprint`,`fa-whiteboard`,`fa-notdog`,`fa-notdog-duo`,`fa-chisel`,`fa-etch`,`fa-graphite`,`fa-jelly`,`fa-jelly-fill`,`fa-jelly-duo`,`fa-slab`,`fa-slab-press`,`fa-utility`,`fa-utility-duo`,`fa-utility-fill`];zE={},Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(zE,`classic`,`Classic`),`duotone`,`Duotone`),`sharp`,`Sharp`),`sharp-duotone`,`Sharp Duotone`),`chisel`,`Chisel`),`etch`,`Etch`),`graphite`,`Graphite`),`jelly`,`Jelly`),`jelly-duo`,`Jelly Duo`),`jelly-fill`,`Jelly Fill`),Y(Y(Y(Y(Y(Y(Y(Y(Y(zE,`notdog`,`Notdog`),`notdog-duo`,`Notdog Duo`),`slab`,`Slab`),`slab-press`,`Slab Press`),`thumbprint`,`Thumbprint`),`utility`,`Utility`),`utility-duo`,`Utility Duo`),`utility-fill`,`Utility Fill`),`whiteboard`,`Whiteboard`),Y(Y({},`kit`,`Kit`),`kit-duotone`,`Kit Duotone`);var HE={classic:{"fa-brands":`fab`,"fa-duotone":`fad`,"fa-light":`fal`,"fa-regular":`far`,"fa-solid":`fas`,"fa-thin":`fat`},duotone:{"fa-regular":`fadr`,"fa-light":`fadl`,"fa-thin":`fadt`},sharp:{"fa-solid":`fass`,"fa-regular":`fasr`,"fa-light":`fasl`,"fa-thin":`fast`},"sharp-duotone":{"fa-solid":`fasds`,"fa-regular":`fasdr`,"fa-light":`fasdl`,"fa-thin":`fasdt`},slab:{"fa-regular":`faslr`},"slab-press":{"fa-regular":`faslpr`},whiteboard:{"fa-semibold":`fawsb`},thumbprint:{"fa-light":`fatl`},notdog:{"fa-solid":`fans`},"notdog-duo":{"fa-solid":`fands`},etch:{"fa-solid":`faes`},graphite:{"fa-thin":`fagt`},jelly:{"fa-regular":`fajr`},"jelly-fill":{"fa-regular":`fajfr`},"jelly-duo":{"fa-regular":`fajdr`},chisel:{"fa-regular":`facr`},utility:{"fa-semibold":`fausb`},"utility-duo":{"fa-semibold":`faudsb`},"utility-fill":{"fa-semibold":`faufsb`}},UE={classic:[`fas`,`far`,`fal`,`fat`,`fad`],duotone:[`fadr`,`fadl`,`fadt`],sharp:[`fass`,`fasr`,`fasl`,`fast`],"sharp-duotone":[`fasds`,`fasdr`,`fasdl`,`fasdt`],slab:[`faslr`],"slab-press":[`faslpr`],whiteboard:[`fawsb`],thumbprint:[`fatl`],notdog:[`fans`],"notdog-duo":[`fands`],etch:[`faes`],graphite:[`fagt`],jelly:[`fajr`],"jelly-fill":[`fajfr`],"jelly-duo":[`fajdr`],chisel:[`facr`],utility:[`fausb`],"utility-duo":[`faudsb`],"utility-fill":[`faufsb`]},WE={classic:{fab:`fa-brands`,fad:`fa-duotone`,fal:`fa-light`,far:`fa-regular`,fas:`fa-solid`,fat:`fa-thin`},duotone:{fadr:`fa-regular`,fadl:`fa-light`,fadt:`fa-thin`},sharp:{fass:`fa-solid`,fasr:`fa-regular`,fasl:`fa-light`,fast:`fa-thin`},"sharp-duotone":{fasds:`fa-solid`,fasdr:`fa-regular`,fasdl:`fa-light`,fasdt:`fa-thin`},slab:{faslr:`fa-regular`},"slab-press":{faslpr:`fa-regular`},whiteboard:{fawsb:`fa-semibold`},thumbprint:{fatl:`fa-light`},notdog:{fans:`fa-solid`},"notdog-duo":{fands:`fa-solid`},etch:{faes:`fa-solid`},graphite:{fagt:`fa-thin`},jelly:{fajr:`fa-regular`},"jelly-fill":{fajfr:`fa-regular`},"jelly-duo":{fajdr:`fa-regular`},chisel:{facr:`fa-regular`},utility:{fausb:`fa-semibold`},"utility-duo":{faudsb:`fa-semibold`},"utility-fill":{faufsb:`fa-semibold`}},GE=`fa.fas.far.fal.fat.fad.fadr.fadl.fadt.fab.fass.fasr.fasl.fast.fasds.fasdr.fasdl.fasdt.faslr.faslpr.fawsb.fatl.fans.fands.faes.fagt.fajr.fajfr.fajdr.facr.fausb.faudsb.faufsb`.split(`.`).concat(VE,[`fa-solid`,`fa-regular`,`fa-light`,`fa-thin`,`fa-duotone`,`fa-brands`,`fa-semibold`]),KE=[`solid`,`regular`,`light`,`thin`,`duotone`,`brands`,`semibold`],qE=[1,2,3,4,5,6,7,8,9,10],JE=qE.concat([11,12,13,14,15,16,17,18,19,20]),YE=[].concat(bT(Object.keys(UE)),KE,[`aw`,`fw`,`pull-left`,`pull-right`],[`2xs`,`xs`,`sm`,`lg`,`xl`,`2xl`,`beat`,`border`,`fade`,`beat-fade`,`bounce`,`flip-both`,`flip-horizontal`,`flip-vertical`,`flip`,`inverse`,`layers`,`layers-bottom-left`,`layers-bottom-right`,`layers-counter`,`layers-text`,`layers-top-left`,`layers-top-right`,`li`,`pull-end`,`pull-start`,`pulse`,`rotate-180`,`rotate-270`,`rotate-90`,`rotate-by`,`shake`,`spin-pulse`,`spin-reverse`,`spin`,`stack-1x`,`stack-2x`,`stack`,`ul`,`width-auto`,`width-fixed`,BE.GROUP,BE.SWAP_OPACITY,BE.PRIMARY,BE.SECONDARY],qE.map(function(e){return`${e}x`}),JE.map(function(e){return`w-${e}`})),XE={"Font Awesome 5 Free":{900:`fas`,400:`far`},"Font Awesome 5 Pro":{900:`fas`,400:`far`,normal:`far`,300:`fal`},"Font Awesome 5 Brands":{400:`fab`,normal:`fab`},"Font Awesome 5 Duotone":{900:`fad`}},ZE=`___FONT_AWESOME___`,QE=16,$E=`fa`,eD=`svg-inline--fa`,tD=`data-fa-i2svg`,nD=`data-fa-pseudo-element`,rD=`data-fa-pseudo-element-pending`,iD=`data-prefix`,aD=`data-icon`,oD=`fontawesome-i2svg`,sD=`async`,cD=[`HTML`,`HEAD`,`STYLE`,`SCRIPT`],lD=[`::before`,`::after`,`:before`,`:after`],uD=function(){try{return!0}catch{return!1}}();function dD(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[UT]}})}var fD=X({},BT);fD[UT]=X(X(X(X({},{"fa-duotone":`duotone`}),BT[UT]),NE.kit),NE[`kit-duotone`]);var pD=dD(fD),mD=X({},jE);mD[UT]=X(X(X(X({},{duotone:`fad`}),mD[UT]),RE.kit),RE[`kit-duotone`]);var hD=dD(mD),gD=X({},WE);gD[UT]=X(X({},gD[UT]),LE.kit);var _D=dD(gD),vD=X({},HE);vD[UT]=X(X({},vD[UT]),FE.kit),dD(vD);var yD=RT,bD=`fa-layers-text`,xD=zT;dD(X({},OE));var SD=[`class`,`data-prefix`,`data-icon`,`data-fa-transform`,`data-fa-mask`],CD=VT,wD=[].concat(bT(PE),bT(YE)),TD=MT.FontAwesomeConfig||{};function ED(e){var t=Z.querySelector(`script[`+e+`]`);if(t)return t.getAttribute(e)}function DD(e){return e===``?!0:e===`false`?!1:e===`true`?!0:e}Z&&typeof Z.querySelector==`function`&&[[`data-family-prefix`,`familyPrefix`],[`data-css-prefix`,`cssPrefix`],[`data-family-default`,`familyDefault`],[`data-style-default`,`styleDefault`],[`data-replacement-class`,`replacementClass`],[`data-auto-replace-svg`,`autoReplaceSvg`],[`data-auto-add-css`,`autoAddCss`],[`data-search-pseudo-elements`,`searchPseudoElements`],[`data-search-pseudo-elements-warnings`,`searchPseudoElementsWarnings`],[`data-search-pseudo-elements-full-scan`,`searchPseudoElementsFullScan`],[`data-observe-mutations`,`observeMutations`],[`data-mutate-approach`,`mutateApproach`],[`data-keep-original-source`,`keepOriginalSource`],[`data-measure-performance`,`measurePerformance`],[`data-show-missing-icons`,`showMissingIcons`]].forEach(function(e){var t=yT(e,2),n=t[0],r=t[1],i=DD(ED(n));i!=null&&(TD[r]=i)});var OD={styleDefault:`solid`,familyDefault:UT,cssPrefix:$E,replacementClass:eD,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:`async`,keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};TD.familyPrefix&&(TD.cssPrefix=TD.familyPrefix);var kD=X(X({},OD),TD);kD.autoReplaceSvg||(kD.observeMutations=!1);var Q={};Object.keys(OD).forEach(function(e){Object.defineProperty(Q,e,{enumerable:!0,set:function(t){kD[e]=t,AD.forEach(function(e){return e(Q)})},get:function(){return kD[e]}})}),Object.defineProperty(Q,"familyPrefix",{enumerable:!0,set:function(e){kD.cssPrefix=e,AD.forEach(function(e){return e(Q)})},get:function(){return kD.cssPrefix}}),MT.FontAwesomeConfig=Q;var AD=[];function jD(e){return AD.push(e),function(){AD.splice(AD.indexOf(e),1)}}var MD=QE,ND={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function PD(e){if(!(!e||!FT)){var t=Z.createElement(`style`);t.setAttribute(`type`,`text/css`),t.innerHTML=e;for(var n=Z.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||``).toUpperCase();[`STYLE`,`LINK`].indexOf(o)>-1&&(r=a)}return Z.head.insertBefore(t,r),e}}var FD=`0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`;function ID(){for(var e=12,t=``;e-- >0;)t+=FD[Math.random()*62|0];return t}function LD(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function RD(e){return e.classList?LD(e.classList):(e.getAttribute(`class`)||``).split(` `).filter(function(e){return e})}function zD(e){return`${e}`.replace(/&/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`)}function BD(e){return Object.keys(e||{}).reduce(function(t,n){return t+`${n}="${zD(e[n])}" `},``).trim()}function VD(e){return Object.keys(e||{}).reduce(function(t,n){return t+`${n}: ${e[n].trim()};`},``)}function HD(e){return e.size!==ND.size||e.x!==ND.x||e.y!==ND.y||e.rotate!==ND.rotate||e.flipX||e.flipY}function UD(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth;return{outer:{transform:`translate(${n/2} 256)`},inner:{transform:`${`translate(${t.x*32}, ${t.y*32}) `} ${`scale(${t.size/16*(t.flipX?-1:1)}, ${t.size/16*(t.flipY?-1:1)}) `} ${`rotate(${t.rotate} 0 0)`}`},path:{transform:`translate(${r/2*-1} -256)`}}}function WD(e){var t=e.transform,n=e.width,r=n===void 0?QE:n,i=e.height,a=i===void 0?QE:i,o=e.startCentered,s=o===void 0?!1:o,c=``;return s&&IT?c+=`translate(${t.x/MD-r/2}em, ${t.y/MD-a/2}em) `:s?c+=`translate(calc(-50% + ${t.x/MD}em), calc(-50% + ${t.y/MD}em)) `:c+=`translate(${t.x/MD}em, ${t.y/MD}em) `,c+=`scale(${t.size/MD*(t.flipX?-1:1)}, ${t.size/MD*(t.flipY?-1:1)}) `,c+=`rotate(${t.rotate}deg) `,c}var GD=`:root, :host {
|
|
14
|
+
`);let l=b(n,r,o),d=new i(t.getSymbolSize(n));return m(d,n),h(d),g(d,n),v(d,r,0),n>=7&&_(d,n),y(d,l),isNaN(a)&&(a=s.getBestMask(d,v.bind(null,d,r))),s.applyMask(a,d),v(d,r,a),{modules:d,version:n,errorCorrectionLevel:r,maskPattern:a,segments:o}}e.create=function(e,r){if(e===void 0||e===``)throw Error(`No input text`);let i=n.M,a,o;return r!==void 0&&(i=n.from(r.errorCorrectionLevel,n.M),a=u.from(r.version),o=s.from(r.maskPattern),r.toSJISFunc&&t.setToSJISFunction(r.toSJISFunc)),S(e,a,i,o)}})),Rx=n((e=>{function t(e){if(typeof e==`number`&&(e=e.toString()),typeof e!=`string`)throw Error(`Color should be defined as hex string`);let t=e.slice().replace(`#`,``).split(``);if(t.length<3||t.length===5||t.length>8)throw Error(`Invalid hex color: `+e);(t.length===3||t.length===4)&&(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),t.length===6&&t.push(`F`,`F`);let n=parseInt(t.join(``),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:`#`+t.slice(0,6).join(``)}}e.getOptions=function(e){e||={},e.color||={};let n=e.margin===void 0||e.margin===null||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:r,scale:r?4:i,margin:n,color:{dark:t(e.color.dark||`#000000ff`),light:t(e.color.light||`#ffffffff`)},type:e.type,rendererOpts:e.rendererOpts||{}}},e.getScale=function(e,t){return t.width&&t.width>=e+t.margin*2?t.width/(e+t.margin*2):t.scale},e.getImageWidth=function(t,n){let r=e.getScale(t,n);return Math.floor((t+n.margin*2)*r)},e.qrToImageData=function(t,n,r){let i=n.modules.size,a=n.modules.data,o=e.getScale(i,r),s=Math.floor((i+r.margin*2)*o),c=r.margin*o,l=[r.color.light,r.color.dark];for(let e=0;e<s;e++)for(let n=0;n<s;n++){let u=(e*s+n)*4,d=r.color.light;if(e>=c&&n>=c&&e<s-c&&n<s-c){let t=Math.floor((e-c)/o),r=Math.floor((n-c)/o);d=l[+!!a[t*i+r]]}t[u++]=d.r,t[u++]=d.g,t[u++]=d.b,t[u]=d.a}}})),zx=n((e=>{var t=Rx();function n(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||={},t.height=n,t.width=n,t.style.height=n+`px`,t.style.width=n+`px`}function r(){try{return document.createElement(`canvas`)}catch{throw Error(`You need to specify a canvas element`)}}e.render=function(e,i,a){let o=a,s=i;o===void 0&&(!i||!i.getContext)&&(o=i,i=void 0),i||(s=r()),o=t.getOptions(o);let c=t.getImageWidth(e.modules.size,o),l=s.getContext(`2d`),u=l.createImageData(c,c);return t.qrToImageData(u.data,e,o),n(l,s,c),l.putImageData(u,0,0),s},e.renderToDataURL=function(t,n,r){let i=r;i===void 0&&(!n||!n.getContext)&&(i=n,n=void 0),i||={};let a=e.render(t,n,i),o=i.type||`image/png`,s=i.rendererOpts||{};return a.toDataURL(o,s.quality)}})),Bx=n((e=>{var t=Rx();function n(e,t){let n=e.a/255,r=t+`="`+e.hex+`"`;return n<1?r+` `+t+`-opacity="`+n.toFixed(2).slice(1)+`"`:r}function r(e,t,n){let r=e+t;return n!==void 0&&(r+=` `+n),r}function i(e,t,n){let i=``,a=0,o=!1,s=0;for(let c=0;c<e.length;c++){let l=Math.floor(c%t),u=Math.floor(c/t);!l&&!o&&(o=!0),e[c]?(s++,c>0&&l>0&&e[c-1]||(i+=o?r(`M`,l+n,.5+u+n):r(`m`,a,0),a=0,o=!1),l+1<t&&e[c+1]||(i+=r(`h`,s),s=0)):a++}return i}e.render=function(e,r,a){let o=t.getOptions(r),s=e.modules.size,c=e.modules.data,l=s+o.margin*2,u=o.color.light.a?`<path `+n(o.color.light,`fill`)+` d="M0 0h`+l+`v`+l+`H0z"/>`:``,d=`<path `+n(o.color.dark,`stroke`)+` d="`+i(c,s,o.margin)+`"/>`,f=`viewBox="0 0 `+l+` `+l+`"`,p=`<svg xmlns="http://www.w3.org/2000/svg" `+(o.width?`width="`+o.width+`" height="`+o.width+`" `:``)+f+` shape-rendering="crispEdges">`+u+d+`</svg>
|
|
15
|
+
`;return typeof a==`function`&&a(null,p),p}})),Vx=e(n((e=>{var t=mx(),n=Lx(),r=zx(),i=Bx();function a(e,r,i,a,o){let s=[].slice.call(arguments,1),c=s.length,l=typeof s[c-1]==`function`;if(!l&&!t())throw Error(`Callback required as last argument`);if(l){if(c<2)throw Error(`Too few arguments provided`);c===2?(o=i,i=r,r=a=void 0):c===3&&(r.getContext&&o===void 0?(o=a,a=void 0):(o=a,a=i,i=r,r=void 0))}else{if(c<1)throw Error(`Too few arguments provided`);return c===1?(i=r,r=a=void 0):c===2&&!r.getContext&&(a=i,i=r,r=void 0),new Promise(function(t,o){try{t(e(n.create(i,a),r,a))}catch(e){o(e)}})}try{let t=n.create(i,a);o(null,e(t,r,a))}catch(e){o(e)}}e.create=n.create,e.toCanvas=a.bind(null,r.render),e.toDataURL=a.bind(null,r.renderToDataURL),e.toString=a.bind(null,function(e,t,n){return i.render(e,n)})}))(),1),Hx=Object.defineProperty,Ux=Object.defineProperties,Wx=Object.getOwnPropertyDescriptors,Gx=Object.getOwnPropertySymbols,Kx=Object.prototype.hasOwnProperty,qx=Object.prototype.propertyIsEnumerable,Jx=(e,t,n)=>t in e?Hx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yx=(e,t)=>{for(var n in t||={})Kx.call(t,n)&&Jx(e,n,t[n]);if(Gx)for(var n of Gx(t))qx.call(t,n)&&Jx(e,n,t[n]);return e},Xx=(e,t)=>Ux(e,Wx(t)),Zx=(e,t)=>{var n={};for(var r in e)Kx.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Gx)for(var r of Gx(e))t.indexOf(r)<0&&qx.call(e,r)&&(n[r]=e[r]);return n},Qx=[`low`,`medium`,`quartile`,`high`,`L`,`M`,`Q`,`H`],$x=[0,1,2,3,4,5,6,7],eS=[`alphanumeric`,`numeric`,`kanji`,`byte`],tS=[`image/png`,`image/jpeg`,`image/webp`],nS=40,rS=B({props:{version:{type:Number,validator:e=>e===Number.parseInt(String(e),10)&&e>=1&&e<=nS},errorCorrectionLevel:{type:String,validator:e=>Qx.includes(e)},maskPattern:{type:Number,validator:e=>$x.includes(e)},toSJISFunc:Function,margin:Number,scale:Number,width:Number,color:{type:Object,validator:e=>[`dark`,`light`].every(t=>[`string`,`undefined`].includes(typeof e[t])),required:!0},type:{type:String,validator:e=>tS.includes(e),required:!0},quality:{type:Number,validator:e=>e===Number.parseFloat(String(e))&&e>=0&&e<=1,required:!1},value:{type:[String,Array],required:!0,validator(e){return typeof e==`string`?!0:e.every(e=>typeof e.data==`string`&&`mode`in e&&e.mode&&eS.includes(e.mode))}}},setup(e,{attrs:t,emit:n}){let r=z();return N(e,()=>{let t=e,{quality:i,value:a}=t,o=Zx(t,[`quality`,`value`]);Vx.toDataURL(a,Object.assign(o,i==null||{renderOptions:{quality:i}})).then(e=>{r.value=e,n(`change`,e)}).catch(e=>n(`error`,e))},{immediate:!0}),()=>h(`img`,Xx(Yx({},t),{src:r.value}))}}),iS={path:`/auth`,component:()=>W(()=>import(`./Auth-CeBzNFsR.js`),__vite__mapDeps([10,1,11,12,13,14])),children:[{path:`login`,name:lv,component:()=>W(()=>import(`./Login-Cx8B8MBK.js`),__vite__mapDeps([15,11,1]))},{path:`callback`,name:uv,component:()=>W(()=>import(`./Callback--ui2SI2r.js`),__vite__mapDeps([16,11,1,17]))}]},aS=()=>vn()||fr()||ir(),oS={layout:`document`},sS={layout:`workspace`},cS=()=>aS()?!0:{name:av,replace:!0},lS={path:`/console`,meta:{auth:!0},component:()=>W(()=>import(`./Console-CwieVXV0.js`),__vite__mapDeps([18,19,3,11,1,20,21,22,23,24,25,26,27,13,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117])),children:[{path:``,name:fy,redirect:{name:hy}},{path:`orders`,name:py,meta:oS,component:()=>W(()=>import(`./List-fgJcmTqj.js`),__vite__mapDeps([118,1,119,11,30,27,13,28,26,19,3,20,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,60,120,63,121,87,122,89,90,91,92,93,94,123,105,88,106,84,107,110,62,111,124]))},{path:`orders/:id`,name:my,meta:oS,component:()=>W(()=>import(`./Detail-60M_EAcz.js`),__vite__mapDeps([125,1,3,19,11,20,126,127,27,13,28,60,62,85,35,26,29,87,122,128,31,42,95,102,38,34,123,129,110,33,36,111,130,131,132]))},{path:`applications`,name:hy,meta:oS,component:()=>W(()=>import(`./List-BNYeLdKL.js`),__vite__mapDeps([133,1,19,3,11,20,119,30,27,13,28,26,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,134,56,61,135,87,122,123,104,105,88,106,84,93,107,110,60,62,111,136]))},{path:`applications/:id/extra`,name:gy,meta:oS,component:()=>W(()=>import(`./Extra-BKzAUHuT.js`),__vite__mapDeps([137,1,19,3,11,20,126,127,82,27,13,28,31,83,34,44,84,47,26,29,87,122,95,102,38,123,129,138]))},{path:`applications/:id/subscribe`,name:_y,meta:oS,component:()=>W(()=>import(`./Subscribe-BJfnDW6z.js`),__vite__mapDeps([139,1,19,3,11,20,126,127,57,26,27,13,28,29,87,122,123,129,140]))},{path:`usages`,name:xy,meta:oS,component:()=>W(()=>import(`./List-BUh5m93I.js`),__vite__mapDeps([141,1,119,11,30,27,13,28,26,19,3,20,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,134,49,121,87,122,89,90,91,92,93,94,102,123,104,105,88,106,84,107,142,83,110,60,62,111,143]))},{path:`connectors`,name:Sy,meta:sS,beforeEnter:cS,component:()=>W(()=>import(`./Index-6qhvmL75.js`),__vite__mapDeps([144,1,11,58,59,145,49,68,114,115,72,25,33,27,13,28,26,19,3,20,29,31,34,35,36,86,88,38,43,44,96,97,37,47,123,146,60,147,148,78,82,83,84,85,102,32,39,40,41,42,45,46,142,107,149,62,95,150,151,152,153,154,155]))},{path:`skills`,name:Cy,meta:sS,beforeEnter:cS,component:()=>W(()=>import(`./Index-CG_s3bD2.js`),__vite__mapDeps([156,1,24,3,11,52,157,58,59,60,158,159,22,19,20,23,25,26,27,13,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,160,62,145,161,162,163,164,65,72,116,77,78,79,81,96,97,104,142,83,84,107,8,9,153,154,165]))},{path:`browser-devices`,name:wy,meta:oS,beforeEnter:cS,component:()=>W(()=>import(`./Index-B5T1B0rn.js`),__vite__mapDeps([166,1,11,114,72,26,19,3,20,27,13,28,29,87,123,149,60,62,147,85,35,95,150,153,154,167]))}]},uS={path:`/`,component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:av,component:()=>W(()=>import(`./Index-DCinbJRH.js`),__vite__mapDeps([172,1,19,3,11,20,24,26,27,13,28,29,129,173,174,49,175,176,177,112,178,179])),meta:{auth:!1}}]},dS={path:`/home`,redirect:e=>({name:av,query:e.query,hash:e.hash,replace:!0})},fS={path:`/business`,component:()=>W(()=>import(`./Index-UyM4pJLL.js`),__vite__mapDeps([180,1,19,3,11,20,122,27,13,28,26,29,12,96,33,31,34,35,36,97,37,47,99,100,39,42,108,109,181,52,182,183])),children:[{path:``,name:ov,component:()=>W(()=>import(`./Index-BzJyb5Xo.js`),__vite__mapDeps([184,1,19,3,11,20,54,57,49,64,81,185])),meta:{auth:!1}}]},pS={path:`/grok`,meta:{modelGroup:gr,appName:`chat`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:Sv}},{path:`conversations`,name:Sv,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations/:id`,name:xv,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))}]},mS={path:`/gemini`,meta:{modelGroup:$n,appName:`chat`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:wv}},{path:`conversations`,name:wv,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations/:id`,name:Cv,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))}]},hS={path:`/claude`,meta:{modelGroup:wr,appName:`chat`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:Ev}},{path:`conversations`,name:Ev,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations/:id`,name:Tv,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))}]},gS={path:`/deepseek`,meta:{modelGroup:jr,appName:`chat`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:bv}},{path:`conversations/:id`,name:yv,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations`,name:bv,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))}]},_S={path:`/kimi`,meta:{modelGroup:Pr,appName:`chat`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:Ov}},{path:`conversations/:id`,name:Dv,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations`,name:Ov,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))}]},vS=()=>vn()||!Xn()?!0:{name:av,replace:!0},yS={path:`/chatgpt`,meta:{modelGroup:Yn,appName:`chat`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:mv}},{path:`conversations`,name:mv,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`conversations/:id`,name:pv,component:()=>W(()=>import(`./Conversation-CH_xbgvX.js`),__vite__mapDeps([186,1,19,3,11,20,187,57,58,60,120,62,145,188,24,27,13,28,52,189,55,59,190,159,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,111,194,195,196,197,198,199,200,201,164,202,72,203,77,81,204,96,123,205,83,84,206,151,207]))},{path:`call`,name:hv,meta:{appName:`realtime`},component:()=>W(()=>import(`./RealtimeCall-jb_0uRGr.js`),__vite__mapDeps([208,19,3,11,1,20,58,66,202,26,27,13,28,29,209]))},{path:`scheduled`,name:gv,beforeEnter:vS,component:()=>W(()=>import(`./ScheduledTasks-C2tvSPlw.js`),__vite__mapDeps([210,1,19,3,11,20,126,127,23,119,30,27,13,28,26,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,55,59,60,120,62,71,211,115,72,73,77,82,83,84,87,96,97,98,92,102,123,104,142,107,91,90,93,146,58,147,25,148,78,85,149,95,150,151,152,110,111,200,212]))},{path:`scheduled/:id`,name:_v,beforeEnter:vS,component:()=>W(()=>import(`./ScheduledTasks-C2tvSPlw.js`),__vite__mapDeps([210,1,19,3,11,20,126,127,23,119,30,27,13,28,26,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,55,59,60,120,62,71,211,115,72,73,77,82,83,84,87,96,97,98,92,102,123,104,142,107,91,90,93,146,58,147,25,148,78,85,149,95,150,151,152,110,111,200,212]))},{path:`artifacts`,name:vv,beforeEnter:vS,component:()=>W(()=>import(`./Artifacts-uBtRFFPC.js`),__vite__mapDeps([213,1,19,3,11,20,23,49,161,77,26,27,13,28,29,87,123,104,31,38,34,214]))}]},bS={path:`/midjourney`,meta:{auth:!0,appName:`midjourney`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:kv,component:()=>W(()=>import(`./Index-C8TcdUi5.js`),__vite__mapDeps([215,1,19,3,11,20,27,13,28,189,127,54,187,57,58,120,216,217,65,66,218,147,81,33,26,29,31,34,35,36,219,220,73,79,221,85,204,96,97,37,47,98,38,92,102,32,39,40,41,42,43,44,45,46,103,104,142,83,84,107,205,195,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,231,206,232,233,196,78,197,198,199,234,190,235,174,175,176,236,237,238]))}]},xS={path:`/distribution`,meta:{auth:!0},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:vy,component:()=>W(()=>import(`./Index-BBLK5tA4.js`),__vite__mapDeps([239,1,19,3,11,20,61,69,80,135,33,27,13,28,26,29,31,34,35,36,87,122,95,195,123,105,88,38,43,44,37,39,106,84,45,93,46,47,107,110,60,62,111,240]))},{path:`history`,name:yy,component:()=>W(()=>import(`./History-DP2va2AE.js`),__vite__mapDeps([241,1,119,11,30,27,13,28,26,19,3,20,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,87,122,105,88,106,84,93,107,110,60,62,111,242]))},{path:`invitees`,name:by,component:()=>W(()=>import(`./Invitees-CZa15gnk.js`),__vite__mapDeps([243,1,119,11,30,27,13,28,26,19,3,20,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,87,122,105,88,106,84,93,107,110,60,62,111,244]))}]},SS={path:`/download`,component:()=>W(()=>import(`./Bare-vhj6gyvi.js`),__vite__mapDeps([245,1,11,12,13,181,19,3,20,52,122,27,28,26,29,182])),children:[{path:``,name:sv,beforeEnter:()=>vn()?!0:{name:av},component:()=>W(()=>import(`./Index-CYAAZPDa.js`),__vite__mapDeps([246,1,19,3,11,20,126,127,52,247,66,248]))}]},CS={path:`/orders`,component:()=>W(()=>import(`./Index-UyM4pJLL.js`),__vite__mapDeps([180,1,19,3,11,20,122,27,13,28,26,29,12,96,33,31,34,35,36,97,37,47,99,100,39,42,108,109,181,52,182,183])),children:[{path:`:id`,name:dy,component:()=>W(()=>import(`./Pay-DvoqG3sq.js`),__vite__mapDeps([249,1,19,3,11,20,60,62,85,27,13,28,35,26,29,87,122,128,31,42,95,123,110,33,34,36,111,250])),meta:{auth:!1}}]},wS={path:`/qrart`,meta:{auth:!0,appName:`qrart`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Av,component:()=>W(()=>import(`./Index-lh94eK8o.js`),__vite__mapDeps([251,1,19,3,11,20,120,49,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,191,252,77,78,79,85,204,102,38,32,37,39,40,41,42,43,44,45,46,47,103,98,92,104,205,195,83,84,169,56,57,61,135,142,107,110,60,62,111,130,131,170,222,223,157,160,211,224,88,225,8,9,226,227,228,229,123,230,105,106,93,231,206,232,233,196,197,198,199,234,190,235,236,237,253]))}]},TS={path:`/luma`,meta:{auth:!0,appName:`luma`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:jv,component:()=>W(()=>import(`./Index-CXjV-IcE.js`),__vite__mapDeps([254,1,19,3,11,20,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,104,38,205,195,43,44,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,37,39,106,45,93,46,47,107,231,194,162,206,196,197,102,198,199,234,190,235,174,175,176,237,255]))}]},ES={path:`/pika`,meta:{auth:!0,appName:`pika`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Nv,component:()=>W(()=>import(`./Index-ujvHWtuM.js`),__vite__mapDeps([256,1,3,19,11,20,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,102,38,32,37,39,40,41,42,43,44,45,46,47,104,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,198,199,234,190,235,236,237,257,176]))}]},DS={path:`/kling`,meta:{auth:!0,appName:`kling`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Pv,component:()=>W(()=>import(`./Index-BApQZrK1.js`),__vite__mapDeps([258,1,19,3,11,20,120,217,259,66,68,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,98,38,92,102,32,37,39,40,41,42,43,44,45,46,47,103,104,142,83,84,107,205,195,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,260,261,262,263,229,123,230,61,105,106,93,231,194,162,206,196,197,198,199,234,190,235,264,173,129,174,175,176,177,178,265,266,267,236,268,237,269]))}]},OS={path:`/veo`,meta:{auth:!0,appName:`veo`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Iv,component:()=>W(()=>import(`./Index-2FXyG_eF.js`),__vite__mapDeps([270,1,19,3,11,20,21,120,217,66,271,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,221,85,204,32,37,38,39,40,41,42,43,44,45,46,47,104,142,83,84,107,205,195,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,231,206,196,197,102,198,199,234,190,235,264,173,129,174,175,176,177,178,265,236,268,237,272]))}]},kS={path:`/sora`,meta:{auth:!0,appName:`sora`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Rv,component:()=>W(()=>import(`./Index-DnS8VEpN.js`),__vite__mapDeps([273,1,19,3,11,20,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,32,37,38,39,40,41,42,43,44,45,46,47,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,102,198,199,234,190,235,174,175,176,236,274]))}]},AS={path:`/maestro`,meta:{auth:!0,appName:`maestro`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Bv,component:()=>W(()=>import(`./Index-DBGNC98g.js`),__vite__mapDeps([275,1,19,3,11,20,27,13,28,57,120,247,217,66,271,147,218,81,33,26,29,31,34,35,36,219,220,276,277,262,211,75,77,78,278,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,104,205,195,83,84,222,223,157,60,160,49,224,88,225,8,9,110,62,111,226,227,228,260,261,263,229,123,230,61,105,106,93,107,231,194,162,206,196,197,102,198,199,234,190,235,264,142,173,129,174,175,176,177,178,265,266,267,236,279,268,237,280]))}]},jS={path:`/poivelle`,meta:{auth:!0,appName:`poivelle`},component:()=>W(()=>import(`./Poivelle-C0U744It.js`),__vite__mapDeps([281,11,1,51,3,19,20,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,282])),children:[{path:``,name:Vv,component:()=>W(()=>import(`./Index-D8axMOjB.js`),__vite__mapDeps([283,1,19,3,11,20,126,127,54,187,21,57,58,59,62,247,162,50,284,65,147,285,261,211,72,25,252,77,78,79,278,82,27,13,28,31,83,34,44,84,47,26,29,98,38,92,286,32,33,35,36,37,39,40,41,42,43,45,46,174,49,175,176,287]))}]},MS={path:`/digital-human`,meta:{auth:!0,appName:`digitalhuman`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Hv,component:()=>W(()=>import(`./Index-CGfIJWQO.js`),__vite__mapDeps([288,1,19,3,11,20,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,261,72,77,78,79,80,278,85,289,100,38,47,204,98,92,195,102,32,37,39,40,41,42,43,44,45,46,205,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,260,262,263,229,123,230,61,105,106,93,107,231,206,196,197,198,199,234,190,235,174,175,176,266,267,237,290]))}]},NS={path:`/pixverse`,meta:{auth:!0,appName:`pixverse`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Uv,component:()=>W(()=>import(`./Index-Dl5lsxVP.js`),__vite__mapDeps([291,1,19,3,11,20,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,103,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,102,198,199,234,190,235,174,175,176,236,237,292]))}]},PS={path:`/flux`,meta:{auth:!0,appName:`flux`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Gv,component:()=>W(()=>import(`./Index-Cr2EP9kp.js`),__vite__mapDeps([293,1,19,3,11,20,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,103,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,234,190,235,236,237,294]))}]},FS={path:`/hailuo`,meta:{auth:!0,appName:`hailuo`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Kv,component:()=>W(()=>import(`./Index-CSTwqFsu.js`),__vite__mapDeps([295,1,19,3,11,20,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,85,32,37,38,39,40,41,42,43,44,45,46,47,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,102,198,199,234,190,235,174,175,176,296,204,297,236,237,298]))}]},IS={path:`/minimax`,meta:{auth:!0,appName:`minimax`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Jv,component:()=>W(()=>import(`./Index-CKW8vwJG.js`),__vite__mapDeps([299,1,11,120,217,66,218,27,13,28,147,81,33,26,19,3,20,29,31,34,35,36,219,220,77,78,79,85,195,32,37,38,39,40,41,42,43,44,45,46,47,205,83,84,260,261,262,263,229,123,230,61,105,88,106,93,107,231,110,60,62,111,206,196,197,102,198,199,234,190,235,174,49,175,176,296,204,297,237,300]))}]},LS={path:`/suno`,meta:{auth:!0,appName:`suno`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Yv,component:()=>W(()=>import(`./Index-CZLHsGUU.js`),__vite__mapDeps([301,1,19,3,11,20,223,157,60,160,49,147,211,224,88,27,13,28,31,38,34,43,44,225,8,9,110,62,33,26,29,35,36,111,226,227,23,53,302,127,54,262,303,101,97,103,98,92,46,304,120,247,145,259,65,66,69,218,81,219,220,202,261,276,71,72,73,74,305,203,77,78,79,82,83,84,47,85,86,289,100,204,96,37,195,102,32,39,40,41,42,45,123,104,142,107,205,230,61,105,106,93,231,197,198,234,190,235,264,173,129,174,175,176,177,178,265,306,268,237,307]))}]},RS={path:`/producer`,meta:{auth:!0,appName:`producer`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Zv,component:()=>W(()=>import(`./Index-1lUQ0p6e.js`),__vite__mapDeps([308,1,19,3,11,20,223,157,60,160,49,147,211,224,88,27,13,28,31,38,34,43,44,225,8,9,110,62,33,26,29,35,36,111,226,227,302,127,54,262,303,101,97,103,98,92,46,304,247,145,217,65,66,218,81,219,220,78,79,85,86,289,100,47,204,96,37,102,32,39,40,41,42,45,123,104,142,83,84,107,205,195,230,61,105,106,93,231,197,198,234,190,235,236,268,178,237,309]))}]},zS={path:`/nanobanana`,meta:{auth:!0,appName:`nanobanana`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:Qv,component:()=>W(()=>import(`./Index-BsxF7YJ7.js`),__vite__mapDeps([310,1,19,3,11,20,21,120,49,217,65,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,221,85,204,32,37,38,39,40,41,42,43,44,45,46,47,205,195,83,84,222,223,157,60,160,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,234,190,235,264,142,173,129,174,175,176,177,178,265,268,237,311,312]))}]},BS={path:`/openai-image`,meta:{auth:!0,appName:`openaiimage`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:$v,component:()=>W(()=>import(`./Index-Dkbg4XSA.js`),__vite__mapDeps([313,1,19,3,11,20,21,120,217,65,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,221,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,104,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,234,190,235,264,142,173,129,174,175,176,177,178,265,268,237,311,314]))}]},VS={path:`/seedream`,meta:{auth:!0,appName:`seedream`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ey,component:()=>W(()=>import(`./Index--E3wAp0q.js`),__vite__mapDeps([315,1,19,3,11,20,21,120,217,65,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,221,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,104,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,264,142,173,129,174,175,176,177,178,265,236,268,237,316]))}]},HS={path:`/qwen-image`,meta:{auth:!0,appName:`qwenimage`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ty,component:()=>W(()=>import(`./Index-DuM-OiDF.js`),__vite__mapDeps([317,1,19,3,11,20,21,120,217,65,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,221,85,88,38,43,44,204,98,92,32,37,39,40,41,42,45,46,47,205,195,83,84,222,223,157,60,160,49,211,224,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,264,142,173,129,174,175,176,177,178,265,236,268,237,318]))}]},US={path:`/seedance`,meta:{auth:!0,appName:`seedance`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ny,component:()=>W(()=>import(`./Index-BpEUpB3A.js`),__vite__mapDeps([319,1,19,3,11,20,21,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,303,85,204,98,38,92,32,37,39,40,41,42,43,44,45,46,47,104,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,260,261,262,263,229,123,230,61,105,106,93,107,231,206,232,233,196,197,102,198,199,234,190,235,264,142,173,129,174,175,176,177,178,265,266,267,236,268,237,320]))}]},WS={path:`/grok-video`,meta:{auth:!0,appName:`grokvideo`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ry,component:()=>W(()=>import(`./Index-DyP8vfqs.js`),__vite__mapDeps([321,1,19,3,11,20,21,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,32,37,38,39,40,41,42,43,44,45,46,47,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,102,198,199,234,190,235,264,142,173,129,174,175,176,177,178,265,268,237,322]))}]},GS={path:`/omni`,meta:{auth:!0,appName:`omni`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:iy,component:()=>W(()=>import(`./Index-DDlUGofL2.js`),__vite__mapDeps([323,1,19,3,11,20,21,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,79,85,204,205,195,43,44,83,84,222,223,157,60,160,49,211,224,88,38,225,8,9,110,62,111,226,227,228,229,123,230,61,105,37,39,106,45,93,46,47,107,231,194,162,206,196,197,102,198,199,234,190,235,174,175,176,237,324]))}]},KS={path:`/serp`,meta:{auth:!0,appName:`serp`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ay,component:()=>W(()=>import(`./Index-DZHGmLTh.js`),__vite__mapDeps([325,1,11,158,64,25,26,19,3,20,27,13,28,29,289,100,31,38,47,204,32,33,34,35,36,37,39,40,41,42,43,44,45,46,230,61,123,105,88,106,84,93,107,231,234,190,60,78,235,326]))}]},qS={path:`/wan`,meta:{auth:!0,appName:`wan`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:oy,component:()=>W(()=>import(`./Index-pGo7ljza.js`),__vite__mapDeps([327,1,19,3,11,20,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,77,78,85,88,38,43,44,204,98,92,32,37,39,40,41,42,45,46,47,205,195,83,84,222,223,157,60,160,49,211,224,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,206,196,197,102,198,199,234,190,235,174,175,176,236,237,328]))}]},JS={path:`/fish`,meta:{auth:!0,appName:`fish`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,redirect:{name:sy}},{path:`tts`,name:sy,component:()=>W(()=>import(`./Tts-CmDrhSSe.js`),__vite__mapDeps([329,1,19,3,11,20,120,217,66,218,27,13,28,147,81,33,26,29,31,34,35,36,219,220,202,74,77,78,79,85,286,38,32,37,39,40,41,42,43,44,45,46,47,103,98,92,205,195,83,84,222,223,157,60,160,49,211,224,88,225,8,9,110,62,111,226,227,228,229,123,230,61,105,106,93,107,231,196,197,102,198,199,264,142,173,129,174,175,176,177,178,265,330,331,296,204,297,268,237,332]))},{path:`model`,name:cy,component:()=>W(()=>import(`./Model-j6vEfP4p.js`),__vite__mapDeps([333,1,11,157,57,161,202,74,305,203,79,303,81,20,85,27,13,28,35,26,19,3,29,104,31,38,34,205,195,43,44,83,84,229,123,110,60,62,33,36,111,330,142,41,42,107,331,296,204,219,297,334]))}]},YS={path:`/webextrator`,meta:{auth:!0,appName:`webextrator`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:ly,component:()=>W(()=>import(`./Index-C8sDARwT.js`),__vite__mapDeps([335,1,11,120,49,64,66,147,76,81,221,33,27,13,28,26,19,3,20,29,31,34,35,36,85,289,100,38,47,204,98,92,102,32,37,39,40,41,42,43,44,45,46,104,142,83,84,107,230,61,123,105,88,106,93,231,110,60,62,111,336]))}]},XS={path:`/coding-bridge`,meta:{auth:!0,appName:`codingBridge`},component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:uy,component:()=>W(()=>import(`./Index-CugiM4u7.js`),__vite__mapDeps([337,1,19,3,11,20,24,54,187,55,57,58,159,160,145,161,162,163,164,216,50,66,67,69,147,202,114,277,71,72,75,25,148,203,224,77,26,27,13,28,29,88,31,38,34,43,44,204,96,33,35,36,97,37,47,101,123,205,195,83,84,8,9,192,127,60,102,193,225,110,62,111,226,338,339]))}]},ZS={path:`/settings`,component:()=>W(()=>import(`./Main-B6-yG6PU.js`),__vite__mapDeps([168,1,19,3,11,20,51,27,13,28,52,53,54,55,56,57,58,59,60,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,169,135,142,130,131,170,171])),children:[{path:``,name:dv,component:()=>W(()=>import(`./Index-DyZcKa4T.js`),__vite__mapDeps([340,11,1]))},{path:`local-tools`,name:fv,component:()=>W(()=>import(`./LocalTools-DOQVy8gG.js`),__vite__mapDeps([341,11,1,342,19,3,20,163,164,285,71,72,148,224,81,104,27,13,28,31,38,34,343,344]))}]},QS={path:`/share/:id`,name:cv,component:()=>W(()=>import(`./Conversation-CILeQvtB.js`),__vite__mapDeps([345,1,19,3,11,20,24,161,188,27,13,28,52,189,55,57,59,190,60,159,120,49,162,163,64,66,69,147,70,191,114,71,115,73,148,78,33,26,29,31,34,35,36,88,38,43,44,101,97,32,37,39,40,41,42,45,46,47,192,127,54,102,193,110,62,111,194,195,196,197,198,199,200,201,123,108,109,346])),meta:{auth:!1}},$S=e=>{if(!Array.isArray(e)||e.length===0)return tr;let t=new Set(e),n=tr.filter(e=>t.has(e.value));return n.length>0?n:tr},eC=e=>$S(e).map(e=>e.value),tC=e=>{let t=new Set(e),n=tr.filter(e=>t.has(e.value)).map(e=>e.value);return n.length===tr.length?null:n},nC=e=>{let t=e?.forced_locale;if(t)return tr.some(e=>e.value===t)?t:void 0},rC=(e,t)=>{let n=nC(t);if(n)return n;let r=$S(t?.supported_locales),i=new Set(r.map(e=>e.value));return i.has(e)?e:t?.language&&i.has(t.language)?t.language:i.has(Ir)?Ir:r[0].value},iC=(e,t)=>rC(e||Ir,t),aC=(e,t)=>{let n=iC(e,t);return{locale:n,shouldPersist:n!==e}};function oC(){return typeof window<`u`&&window.location&&window.location.origin?window.location.origin:`https://studio.acedata.cloud`}var sC=`Ace Data Cloud - AI Studio`,cC=`Ace Data Cloud`;function lC(){return`https://platform.acedata.cloud/api/v1/og/${typeof window<`u`?window.location.hostname:`studio.acedata.cloud`}.png`}var uC=`AI-powered creative hub — generate images with Midjourney & Flux, create music with Suno, produce videos with Luma & Sora, chat with GPT, Claude, Gemini & DeepSeek.`;function dC(){let e=q.state?.site,t=(e?.title||``).trim(),n=(e?.description||``).trim();return{siteName:t||sC,brandName:t||cC,description:n||uC,image:lC()}}function fC(e,t){let n=document.querySelector(`meta[${e}]`);if(!n){n=document.createElement(`meta`);let[t,r]=e.split(`=`);n.setAttribute(t,r.replace(/"/g,``)),document.head.appendChild(n)}n.setAttribute(`content`,t)}function pC(e){let t=document.querySelector(`link[rel="canonical"]`);t||(t=document.createElement(`link`),t.setAttribute(`rel`,`canonical`),document.head.appendChild(t)),t.setAttribute(`href`,e)}function mC(e,t){let n=document.getElementById(e);n||(n=document.createElement(`script`),n.id=e,n.type=`application/ld+json`,document.head.appendChild(n)),n.textContent=JSON.stringify(t)}function hC(e){document.getElementById(e)?.remove()}function gC(e){_C();let t=new URL(e);for(let{value:e}of $S(q.state.site?.supported_locales)){let n=or.find(t=>t.value===e)?.hreflang;if(!n)continue;let r=document.createElement(`link`);r.rel=`alternate`,r.hreflang=n,t.searchParams.set(`lang`,e),r.href=t.toString(),r.dataset.hreflang=`true`,document.head.appendChild(r)}let n=document.createElement(`link`);n.rel=`alternate`,n.hreflang=`x-default`,n.href=e,n.dataset.hreflang=`true`,document.head.appendChild(n)}function _C(){document.querySelectorAll(`link[data-hreflang="true"]`).forEach(e=>e.remove())}function vC(e){let{brandName:t}=dC(),n=q.state.site;mC(`seo-webapp-ld`,{"@context":`https://schema.org`,"@type":`WebApplication`,name:Nn(e.name,n),description:Nn(e.description,n),url:e.url,applicationCategory:e.category,operatingSystem:`Web`,offers:{"@type":`Offer`,price:`0`,priceCurrency:`USD`},provider:{"@type":`Organization`,name:t,url:oC()}})}function yC(){let{brandName:e,image:t,description:n}=dC();mC(`seo-org-ld`,{"@context":`https://schema.org`,"@type":`Organization`,name:e,url:oC(),logo:t,description:n,...vn()?{sameAs:[`https://github.com/AceDataCloud`,`https://x.com/AceDataCloud`,`https://studio.acedata.cloud`]}:{}})}function bC(e){let{siteName:t,brandName:n,description:r,image:i}=dC(),a=e.title?Nn(e.title,q.state.site):``,o=a?`${a} - ${t}`:t,s=e.description?Nn(e.description,q.state.site):r,c=e.url||`${oC()}${window.location.pathname}`,l=e.image||i,u=e.type||`website`;document.title=o,fC(`name="description"`,s),e.keywords?.length&&fC(`name="keywords"`,e.keywords.join(`, `)),pC(c),fC(`property="og:title"`,o),fC(`property="og:description"`,s),fC(`property="og:url"`,c),fC(`property="og:image"`,l),fC(`property="og:type"`,u),fC(`property="og:site_name"`,n),fC(`name="twitter:card"`,`summary_large_image`),fC(`name="twitter:title"`,o),fC(`name="twitter:description"`,s),fC(`name="twitter:image"`,l),e.jsonLd&&mC(`seo-page-ld`,e.jsonLd),gC(c)}function xC(){let e=oC(),{siteName:t,description:n,image:r}=dC();document.title=t,fC(`name="description"`,n),pC(e),fC(`property="og:title"`,t),fC(`property="og:description"`,n),fC(`property="og:url"`,e),fC(`property="og:image"`,r),fC(`property="og:type"`,`website`),fC(`name="twitter:title"`,t),fC(`name="twitter:description"`,n),fC(`name="twitter:image"`,r),hC(`seo-page-ld`),hC(`seo-webapp-ld`),hC(`seo-org-ld`),_C()}var SC=t({LAZY_MODULE_NAMES:()=>wC,ensureStoreModule:()=>DC,getRegisteredLazyModules:()=>OC}),CC={chat:()=>W(()=>import(`./chat-BO13M-mU.js`),__vite__mapDeps([347,19,3,11,1,20,26,27,13,28,29])),realtime:()=>W(()=>import(`./realtime-bhXNb6O5.js`),__vite__mapDeps([348,19,3,11,1,20,26,27,13,28,29])),midjourney:()=>W(()=>import(`./midjourney-CZv9cLly.js`),__vite__mapDeps([349,19,3,11,1,20,26,27,13,28,29,306,350])),qrart:()=>W(()=>import(`./qrart-BlkGVDXz.js`),__vite__mapDeps([351,19,3,11,1,20,352,26,27,13,28,29,306,350])),luma:()=>W(()=>import(`./luma-SnGxaw5M.js`),__vite__mapDeps([353,19,3,11,1,20,352,26,27,13,28,29,306,350])),pika:()=>W(()=>import(`./pika-D1zbf-uS.js`),__vite__mapDeps([354,19,3,11,1,20,352,26,27,13,28,29,306,350])),kling:()=>W(()=>import(`./kling-fXkHiMRx.js`),__vite__mapDeps([355,19,3,11,1,20,352,26,27,13,28,29,306,350])),veo:()=>W(()=>import(`./veo-DiQVfBj3.js`),__vite__mapDeps([356,19,3,11,1,20,352,26,27,13,28,29,306,350])),sora:()=>W(()=>import(`./sora-DxQB-JH3.js`),__vite__mapDeps([357,19,3,11,1,20,352,26,27,13,28,29,306,350])),maestro:()=>W(()=>import(`./maestro-DF3jESmq.js`),__vite__mapDeps([358,19,3,11,1,20,352,26,27,13,28,29,306,350,279])),poivelle:()=>W(()=>import(`./poivelle-DoPLyFMb.js`),__vite__mapDeps([359,1,26,19,3,11,20,27,13,28,29])),digitalhuman:()=>W(()=>import(`./digitalhuman-tAysywFN.js`),__vite__mapDeps([360,19,3,11,1,20,352,26,27,13,28,29,306,350])),pixverse:()=>W(()=>import(`./pixverse-B5r7NLUO.js`),__vite__mapDeps([361,19,3,11,1,20,352,26,27,13,28,29,306,350])),flux:()=>W(()=>import(`./flux-D3gm8Tem.js`),__vite__mapDeps([362,19,3,11,1,20,352,26,27,13,28,29,306,350])),hailuo:()=>W(()=>import(`./hailuo-AKPvPb3Q.js`),__vite__mapDeps([363,19,3,11,1,20,352,26,27,13,28,29,306,350])),minimax:()=>W(()=>import(`./minimax-BT0nSB_a.js`),__vite__mapDeps([364,19,3,11,1,20,352,26,27,13,28,29,306,350])),suno:()=>W(()=>import(`./suno-CMtc4n9z.js`),__vite__mapDeps([365,19,3,11,1,20,26,27,13,28,29,306,350])),producer:()=>W(()=>import(`./producer-f8Z5dCar.js`),__vite__mapDeps([366,19,3,11,1,20,26,27,13,28,29,306,350])),nanobanana:()=>W(()=>import(`./nanobanana-Bf6ZR2h8.js`),__vite__mapDeps([367,19,3,11,1,20,352,26,27,13,28,29,306,350])),openaiimage:()=>W(()=>import(`./openaiimage-DxutopRU.js`),__vite__mapDeps([368,19,3,11,1,20,352,26,27,13,28,29,306,350])),seedream:()=>W(()=>import(`./seedream-CSHXjRHt.js`),__vite__mapDeps([369,19,3,11,1,20,26,27,13,28,29,306,350])),qwenimage:()=>W(()=>import(`./qwenimage-D1JaKlci.js`),__vite__mapDeps([370,19,3,11,1,20,26,27,13,28,29,306,350])),seedance:()=>W(()=>import(`./seedance-BAG2S-Sn.js`),__vite__mapDeps([371,19,3,11,1,20,352,26,27,13,28,29,306,350])),grokvideo:()=>W(()=>import(`./grokvideo-DLi-N3-W.js`),__vite__mapDeps([372,19,3,11,1,20,352,26,27,13,28,29,306,350])),omni:()=>W(()=>import(`./omni-xNo4Fbqp.js`),__vite__mapDeps([373,19,3,11,1,20,352,26,27,13,28,29,306,350])),serp:()=>W(()=>import(`./serp-BjxFrKtx.js`),__vite__mapDeps([374,19,3,11,1,20,26,27,13,28,29])),wan:()=>W(()=>import(`./wan-BSn0CRCR.js`),__vite__mapDeps([375,19,3,11,1,20,352,26,27,13,28,29,306,350])),fish:()=>W(()=>import(`./fish-G6E0apAS.js`),__vite__mapDeps([376,19,3,11,1,20,352,26,27,13,28,29,306,350])),webextrator:()=>W(()=>import(`./webextrator-CzKXuJam.js`),__vite__mapDeps([377,19,3,11,1,20,26,27,13,28,29])),codingBridge:()=>W(()=>import(`./codingBridge-6mz0Fzzc.js`),__vite__mapDeps([378,19,3,11,1,20,26,27,13,28,29,338]))},wC=Object.keys(CC),TC=new Map;function EC(){if(typeof window>`u`||!window.localStorage)return{};try{let e=window.localStorage.getItem(`vuex`);if(!e)return{};let t=JSON.parse(e);return t&&typeof t==`object`?t:{}}catch{return{}}}async function DC(e){if(!Object.prototype.hasOwnProperty.call(CC,e)||q.hasModule(e))return;let t=TC.get(e);if(t)return t;let n=(async()=>{let t=await CC[e]();if(q.hasModule(e))return;let n=t.default,r=typeof n.state==`function`?n.state():{...n.state},i=EC()[e],a=i&&typeof i==`object`?{...r,...i}:r;q.registerModule(e,{...n,state:a})})().finally(()=>{TC.delete(e)});return TC.set(e,n),n}function OC(){return wC.filter(e=>q.hasModule(e))}var kC=[/Failed to fetch dynamically imported module/i,/Importing a module script failed/i,/error loading dynamically imported module/i,/Unable to preload CSS/i];function AC(e){if(e instanceof Error)return`${e.name}: ${e.message}`;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function jC(e){let t=e.storagePrefix,n=e.reloadQueryParam??`__chunk_reload`,r=!1;function i(e){let t=AC(e);return kC.some(e=>e.test(t))}function a(){return Array.from(document.scripts).find(e=>e.type===`module`&&/\/assets\/index[.-][^/]+\.js(?:\?.*)?$/.test(e.src))?.src||window.location.origin}function o(){return`${t}:${a()}`}function s(){try{return window.sessionStorage.getItem(o())===`1`}catch{return!1}}function c(){try{window.sessionStorage.setItem(o(),`1`)}catch{}}function l(){let e=new URL(window.location.href);e.searchParams.has(n)&&(e.searchParams.delete(n),window.history.replaceState(window.history.state,document.title,`${e.pathname}${e.search}${e.hash}`))}function u(){let e=new URL(window.location.href);e.searchParams.set(n,Date.now().toString(36)),window.location.replace(e.toString())}function d(e){return typeof window>`u`||typeof document>`u`||!i(e)?!1:s()?(console.error(`Chunk load failed after a reload attempt.`,e),!1):(c(),u(),!0)}function f(){typeof window>`u`||typeof document>`u`||r||(r=!0,l(),window.addEventListener(`vite:preloadError`,e=>{d(e.payload)&&e.preventDefault()}),window.addEventListener(`unhandledrejection`,e=>{d(e.reason)&&e.preventDefault()}))}return{isChunkLoadError:i,handleChunkLoadError:d,install:f}}var MC=jC({storagePrefix:`nexior:chunk-load-reload`,reloadQueryParam:`__nexior_reload`});MC.isChunkLoadError;var NC=MC.handleChunkLoadError,PC=MC.install,FC=[`/console`,`/distribution`,`/settings`,`/coding-bridge`,`/poivelle`,`/chatgpt/call`,`/chatgpt/scheduled`,`/chatgpt/artifacts`],IC=e=>FC.some(t=>e===t||e.startsWith(`${t}/`)),LC=`studio.acedata.cloud`,RC=`site-analytics-`,zC;function BC(e){if(!e)return``;try{return(e.includes(`://`)?new URL(e):new URL(`https://${e}`)).hostname.toLowerCase().replace(/\.$/,``)}catch{return``}}function VC(e,t=window.location.hostname){if(!Xn())return!1;let n=BC(t);return!n||n===LC||n===`localhost`||n===`127.0.0.1`?!1:new Set([BC(e?.origin),...(e?.active_page_hosts||[]).map(BC)].filter(Boolean)).has(n)&&!!e?.analytics&&Object.values(e.analytics).some(e=>e?.enabled)}function HC(e,t,n={}){if(document.getElementById(e))return;let r=document.createElement(`script`);r.id=e,r.async=!0,r.src=t,r.dataset.siteAnalytics=`true`,Object.entries(n).forEach(([e,t])=>r.setAttribute(e,t)),document.head.appendChild(r)}function UC(e){let t=window;t.dataLayer||=[],t.gtag||=(...e)=>t.dataLayer?.push(e),t.gtag(`js`,new Date),t.gtag(`config`,e,{send_page_view:!0}),HC(`${RC}ga4`,`https://www.googletagmanager.com/gtag/js?id=${encodeURIComponent(e)}`)}function WC(e){let t=window;t._hmt||=[],HC(`${RC}baidu`,`https://hm.baidu.com/hm.js?${e}`)}function GC(e){let t=window;t.clarity||=(...e)=>{let n=t.clarity;n.q||=[],n.q.push(e)},HC(`${RC}clarity`,`https://www.clarity.ms/tag/${encodeURIComponent(e)}`)}function KC(e,t){HC(`${RC}umami`,`${t.replace(/\/$/,``)}/script.js`,{"data-website-id":e,"data-auto-track":`true`})}function qC(e,t=window.location.hostname){if(VC(e,t)){zC=e?.analytics;try{zC?.ga4?.enabled&&UC(zC.ga4.measurement_id),zC?.baidu?.enabled&&WC(zC.baidu.site_id),zC?.clarity?.enabled&&GC(zC.clarity.project_id),zC?.umami?.enabled&&KC(zC.umami.website_id,zC.umami.server_url)}catch(e){console.warn(`site analytics initialization failed`,e)}}}function JC(e){if(!zC)return;let t=window;try{zC.ga4?.enabled&&t.gtag?.(`event`,`page_view`,{send_to:zC.ga4.measurement_id,page_path:e,page_location:window.location.href,page_title:document.title}),zC.baidu?.enabled&&t._hmt?.push([`_trackPageview`,e]),zC.clarity?.enabled&&t.clarity?.(`set`,`page_path`,e),zC.umami?.enabled&&t.umami?.track?.({url:e,title:document.title})}catch{}}var YC=`chatgpt.grok.gemini.claude.deepseek.midjourney.qrart.suno.luma.pika.kling.veo.sora.pixverse.flux.hailuo.minimax.nanobanana.openaiimage.seedream.qwenimage.seedance.omni.grokvideo.maestro.poivelle.digitalhuman.wan.producer.kimi.serp.fish.webextrator.codingBridge`.split(`.`),XC={chatgpt:er,grok:lr,gemini:vr,claude:ar,deepseek:Er,midjourney:Hn,qrart:yn,suno:Vr,luma:Pn,pika:Sn,kling:rn,veo:dn,sora:Zn,pixverse:cn,flux:jn,hailuo:mr,minimax:_n,nanobanana:br,openaiimage:Gn,seedream:an,qwenimage:hn,seedance:dr,omni:sn,grokvideo:ln,maestro:Fr,poivelle:Un,digitalhuman:Dn,wan:Ln,producer:Wr,kimi:sr,serp:Bn,fish:ur,webextrator:Kr,codingBridge:Tn};function ZC(e,t,n,r){let i=e?.capability_overrides?.[t],a=i?.display_name?.trim()||n,o=i?.icon_url?.trim()||r;return{displayName:a,iconUrl:o,isOverridden:a!==n||o!==r}}var QC={chatgpt:{title:`ChatGPT`,description:`Chat with ChatGPT AI — powered by OpenAI GPT models. Free AI conversations with the latest GPT.`,keywords:[`ChatGPT`,`GPT`,`AI Chat`,`OpenAI`],category:`AI Chat`},claude:{title:`Claude`,description:`Chat with Claude AI — powered by Anthropic. Intelligent AI conversations with Claude.`,keywords:[`Claude`,`Anthropic`,`AI Chat`,`Claude AI`],category:`AI Chat`},gemini:{title:`Gemini`,description:`Chat with Gemini AI — powered by Google. Advanced AI conversations with Gemini.`,keywords:[`Gemini`,`Google AI`,`AI Chat`,`Gemini AI`],category:`AI Chat`},grok:{title:`Grok`,description:`Chat with Grok AI — powered by xAI. Real-time AI conversations with Grok.`,keywords:[`Grok`,`xAI`,`AI Chat`,`Grok AI`],category:`AI Chat`},deepseek:{title:`DeepSeek`,description:`Chat with DeepSeek AI — advanced reasoning and coding AI assistant.`,keywords:[`DeepSeek`,`AI Chat`,`AI Coding`,`DeepSeek AI`],category:`AI Chat`},kimi:{title:`Kimi`,description:`Chat with Kimi AI — advanced AI conversations powered by Moonshot AI.`,keywords:[`Kimi`,`Moonshot AI`,`AI Chat`,`Kimi AI`],category:`AI Chat`},midjourney:{title:`Midjourney`,description:`Generate stunning AI images with Midjourney — create art, illustrations, and designs with text prompts.`,keywords:[`Midjourney`,`AI Image`,`AI Art`,`Image Generation`,`Text to Image`],category:`AI Image Generation`},flux:{title:`Flux`,description:`Generate AI images with Flux — fast, high-quality image generation from text descriptions.`,keywords:[`Flux`,`AI Image`,`Image Generation`,`Text to Image`],category:`AI Image Generation`},qrart:{title:`QR Art`,description:`Generate artistic QR codes with AI — beautiful, scannable QR code art.`,keywords:[`QR Art`,`AI QR Code`,`QR Code Generator`,`Artistic QR`],category:`AI Image Generation`},nanobanana:{title:`NanoBanana`,description:`Generate and edit AI images with NanoBanana — powered by Gemini for creative image generation.`,keywords:[`NanoBanana`,`AI Image`,`Gemini`,`Image Editing`],category:`AI Image Generation`},"openai-image":{title:`OpenAI Image`,description:`Generate and edit AI images with OpenAI image models including gpt-image-1.5 and gpt-image-2.`,keywords:[`OpenAI Image`,`gpt-image-2`,`Image Editing`,`AI Image`],category:`AI Image Generation`},qwenimage:{title:`Qwen Image 3`,description:`Generate and edit images with Qwen Image 3.`,keywords:[`Qwen Image`,`AI Image`,`Image Editing`],category:`AI Image Generation`},seedream:{title:`Seedream`,description:`Generate AI images with Seedream — high-quality image generation by ByteDance.`,keywords:[`Seedream`,`AI Image`,`ByteDance`,`Image Generation`],category:`AI Image Generation`},luma:{title:`Luma`,description:`Generate AI videos with Luma Dream Machine — create stunning videos from text and images.`,keywords:[`Luma`,`AI Video`,`Dream Machine`,`Video Generation`,`Text to Video`],category:`AI Video Generation`},sora:{title:`Sora`,description:`Generate AI videos with OpenAI Sora — create realistic videos from text descriptions.`,keywords:[`Sora`,`OpenAI`,`AI Video`,`Video Generation`,`Text to Video`],category:`AI Video Generation`},maestro:{title:`Maestro`,description:`Turn any article or topic into a captioned short video — script, visuals, voiceover and music, fully automated.`,keywords:[`Maestro`,`AI Video`,`Article to Video`,`Faceless Video`,`Short Video Generator`],category:`AI Video Generation`},poivelle:{title:`Poivelle`,description:`Direct AI film production through a canonical project graph, shared by human editors, skills, agents, and production tools.`,keywords:[`Poivelle`,`AI Film Studio`,`AI Storyboard`,`AI Video Production`,`Creative Agent`],category:`AI Creative Production`},"digital-human":{title:`Digital Human`,description:`Generate a talking-head video from a face video or photo and a voice — clone a voice, drive it with text or audio, and lip-sync it.`,keywords:[`Digital Human`,`Talking Head`,`Lip Sync`,`AI Avatar`,`Voice Clone`,`Text to Video`],category:`AI Video Generation`},veo:{title:`Veo`,description:`Generate AI videos with Google Veo — high-quality video generation from text prompts.`,keywords:[`Veo`,`Google`,`AI Video`,`Video Generation`],category:`AI Video Generation`},pika:{title:`Pika`,description:`Generate AI videos with Pika — creative video generation and editing with AI.`,keywords:[`Pika`,`AI Video`,`Video Generation`,`Video Editing`],category:`AI Video Generation`},kling:{title:`Kling`,description:`Generate AI videos with Kling — high-quality video generation by Kuaishou.`,keywords:[`Kling`,`AI Video`,`Kuaishou`,`Video Generation`],category:`AI Video Generation`},pixverse:{title:`Pixverse`,description:`Generate AI videos with Pixverse — creative video generation from text and images.`,keywords:[`Pixverse`,`AI Video`,`Video Generation`],category:`AI Video Generation`},hailuo:{title:`Hailuo`,description:`Generate AI videos with Hailuo (MiniMax) — expressive video generation from text.`,keywords:[`Hailuo`,`MiniMax`,`AI Video`,`Video Generation`],category:`AI Video Generation`},minimax:{title:`MiniMax H3`,description:`Generate MiniMax H3 videos from text, up to nine images, or up to three audio references.`,keywords:[`MiniMax H3`,`AI Video`,`Text to Video`,`Image to Video`,`Audio Guided Video`],category:`AI Video Generation`},seedance:{title:`Seedance`,description:`Generate AI dance videos with Seedance — AI-powered dance video generation by ByteDance.`,keywords:[`Seedance`,`AI Video`,`Dance Video`,`ByteDance`],category:`AI Video Generation`},grokvideo:{title:`Grok Imagine Video`,description:`Generate AI videos with Grok Imagine — text-to-video and image-to-video by xAI.`,keywords:[`Grok`,`Grok Imagine`,`AI Video`,`Text to Video`,`Image to Video`,`xAI`],category:`AI Video Generation`},omni:{title:`Omni Video`,description:`Generate and edit AI videos with Omni (omni-flash) — text-to-video, image-to-video and video editing.`,keywords:[`Omni`,`omni-flash`,`AI Video`,`Text to Video`,`Image to Video`,`Video Editing`,`Gemini`],category:`AI Video Generation`},wan:{title:`Wan`,description:`Generate AI videos with Wan — high-quality video generation by Tongyi Wanxiang.`,keywords:[`Wan`,`Tongyi`,`AI Video`,`Video Generation`],category:`AI Video Generation`},suno:{title:`Suno`,description:`Create AI music with Suno — generate songs, lyrics, and music from text descriptions.`,keywords:[`Suno`,`AI Music`,`Music Generation`,`AI Song`,`Text to Music`],category:`AI Music Generation`},producer:{title:`Producer`,description:`Create AI music with Producer — generate songs, lyrics, and music with FUZZ models.`,keywords:[`Producer`,`AI Music`,`Music Generation`,`FUZZ`,`AI Song`],category:`AI Music Generation`},fish:{title:`Fish Audio`,description:`Generate natural speech and clone voices with Fish Audio — text-to-speech and voice cloning.`,keywords:[`Fish Audio`,`TTS`,`Text to Speech`,`Voice Cloning`,`AI Voice`],category:`AI Audio Generation`},distribution:{title:`Affiliate`,description:`Join the Ace Data Cloud affiliate program — earn commissions by referring AI services.`,keywords:[`Affiliate`,`Referral`,`Earn`,`Commission`],category:`Business`},serp:{title:`Search`,description:`Search the web with Google — powered by SERP API. Get organic results, knowledge graphs, images, and more.`,keywords:[`Search`,`Google Search`,`SERP`,`Web Search`],category:`Web Search`},webextrator:{title:`WebExtrator`,description:`Render and extract any web page with WebExtrator — get HTML, markdown, plain text, structured data, links, and screenshots from any URL.`,keywords:[`WebExtrator`,`Web Scraping`,`Web Render`,`Content Extraction`,`Markdown`,`Headless Browser`],category:`Web Data`},"coding-bridge":{title:`Coding Bridge`,description:`Drive Claude Code, Codex, and GitHub Copilot on your own machine from the web — pair a local node and run coding agents remotely with per-tool approval.`,keywords:[`Coding Bridge`,`Claude Code`,`Codex`,`GitHub Copilot`,`Remote Agent`,`AI Coding`],category:`AI Coding`}},$C=[[`chatgpt`,mv],[`claude`,Ev],[`gemini`,wv],[`grok`,Sv],[`deepseek`,bv],[`kimi`,Ov],[`midjourney`,kv],...tn(`nanobanana`)?[[`nanobanana`,Qv]]:[],[`flux`,Gv],[`seedream`,ey],[`qwenimage`,ty],[`openaiimage`,$v],[`suno`,Yv],[`producer`,Zv],[`fish`,sy],[`veo`,Iv],[`sora`,Rv],[`maestro`,Bv],[`poivelle`,Vv],[`digitalhuman`,Hv],[`kling`,Pv],[`luma`,jv],[`hailuo`,Kv],[`minimax`,Jv],[`seedance`,ny],[`grokvideo`,ry],[`omni`,iy],[`pixverse`,Uv],[`wan`,oy],[`serp`,ay],[`webextrator`,ly]],ew=()=>{let e=q.state.site?.features??{};for(let[t,n]of $C)if(e[t]?.enabled)return{name:n};return{name:mv}},tw=[uS,dS,fS,CS,lS,iS,yS,pS,mS,hS,gS,_S,wS,TS,ES,DS,OS,kS,AS,jS,MS,NS,PS,FS,IS,LS,RS,...tn(`nanobanana`)?[zS]:[],BS,VS,HS,US,WS,GS,KS,qS,JS,YS,XS,bS,xS,SS,ZS,QS,{path:`/:pathMatch(.*)*`,name:Ty,component:()=>W(()=>import(`./NotFound-BZ4JA1rq.js`),__vite__mapDeps([379,126,11,1,127,284,380])),meta:{auth:!1}}];function nw(e){e.onError(e=>{NC(e)}),e.beforeEach(async(e,t,n)=>{await Rn(nC(q.state.site)??In(xu(`LOCALE`)||Ir));let r=Gg(e);if(r.kind===`strip`)return n(r.redirect);if(r.kind===`mismatch`){if(lg()&&!t.name){let{user_id:t,...r}=e.query;return n({...ew(),query:r,replace:!0})}return n(!1)}if(!q.getters.authenticated&&IC(e.path)){if(fr()||ir()||lg()){if(q.dispatch(`login`,{redirect:e.fullPath}),!t.name)return n({...ew(),query:e.query,replace:!0})}else Eu({redirect:e.fullPath});return n(!1)}for(let t of e.matched){let e=t.meta?.appName;typeof e==`string`&&e&&await DC(e)}return n()}),e.afterEach(e=>{JC(e.fullPath);let t=e.path.split(`/`).filter(Boolean)[0]||``,n=e.meta.modelGroup?.name||e.meta.appName,r=YC.find(e=>e===n),i=QC[t]||r&&QC[r];if(i){let e=r?ZC(q.state.site,r,i.title,``).displayName:i.title;bC({title:e,description:i.description,keywords:i.keywords});let n=typeof window<`u`&&window.location?.origin||`https://studio.acedata.cloud`;vC({name:e,description:i.description,url:`${n}/${t}`,category:i.category})}else xC(),yC()})}var rw=na(`SignInWithApple`,{web:()=>W(()=>import(`./web-DrYXzoHz.js`).then(e=>new e.SignInWithAppleWeb),__vite__mapDeps([381,1]))});function iw(){return typeof window<`u`?window.desktop:void 0}function aw(){return typeof window<`u`?window.localExec:void 0}var ow=`com.acedatacloud.nexior`;function sw(e){let t=e instanceof Error?e.message:String(e);return/\b100[01]\b/.test(t)||/cancel/i.test(t)?`canceled`:U.isAxiosError(e)&&e.response?.data?.code===`user_restricted`?`restricted`:`failed`}var cw=B({name:`AuthPanel`,components:{CloseIcon:mc,ElDialog:ys,QrCode:rS},data(){return{showQR:!1,qrLink:``,useBrowser:!1,messageHandler:null,browserFinishedHandle:null,unmounted:!1}},computed:{isNative(){return fr()},isInAppLogin(){return fr()||ir()},nativeRedirect(){return ir()?`acedata-desktop`:`com.acedatacloud.nexior`},authOrigin(){return new URL(Cc()).origin},redirect(){return this.$store.state.auth?.redirect||window.location.pathname+window.location.search+window.location.hash},authAction(){return this.$store.state.auth?.action||`login`},iframeUrl(){if(this.authAction===`logout`)return new URL(`/auth/logout`,Cc()).toString();let e=new URL(`/auth/login/`,Cc());return this.inviterId&&e.searchParams.set(`inviter_id`,this.inviterId),this.isInAppLogin?e.searchParams.set(`native_redirect`,this.nativeRedirect):(e.searchParams.set(`embed_origin`,window.location.origin),e.searchParams.set(`redirect`,`${Sc()}/auth/callback?${new URLSearchParams({redirect:this.redirect}).toString()}`)),Ug(e.toString())},inviterId(){return this.$store?.state?.site?.distribution?.force_inviter_id?this.$store?.state?.site?.distribution?.force_inviter_id:this.$route.query.inviter_id?.toString()||xu(`INVITER_ID`)||this.$store?.state?.site?.distribution?.default_inviter_id},authenticated(){return!!this.$store.state.token.access}},async mounted(){if(this.isNative){let e=await ax.addListener(`browserFinished`,()=>{console.debug(`browser closed by user`),this.useBrowser=!1});if(this.unmounted){await e.remove();return}else this.browserFinishedHandle=e}this.messageHandler=async e=>{let t=this.$refs.iframe;if(!(e.origin!==this.authOrigin||e.source!==t?.contentWindow)){if(console.debug(`received from child page`,e),e.data.name===`nativeOAuth`&&this.isInAppLogin){let t=e.data.data?.provider;if(t===`apple`&&Nr()){Wu(`apple_login_submit`,{action:`native_ios`});try{let{response:e}=await rw.authorize({clientId:ow,redirectURI:``,scopes:`email name`});if(!e?.identityToken)throw Error(`apple identity_token missing`);let t=(await U.post(`${Cc()}/api/v1/auth/login/`,{platform:`apple`,identity_token:e.identityToken,inviter_id:this.inviterId,user:{name:{firstName:e.givenName??``,lastName:e.familyName??``}}},{timeout:2e4})).data,n={access:t.access_token,refresh:t.refresh_token,expiration:t.expires_in};if(await this.$store.dispatch(`setToken`,n))return;await this.$store.dispatch(`getUser`),this.$store.state.site?.origin||await this.$store.dispatch(`initializeSite`),Wu(`apple_login_success`,{action:`native_ios`}),this.$store.commit(`setAuth`,{visible:!1}),await this.$router.push(`/`)}catch(e){let t=e instanceof Error?e.message:String(e),n=sw(e);if(n===`canceled`)Wu(`apple_login_canceled`,{action:`native_ios`}),console.debug(`native apple sign in canceled by user`,e);else{Wu(`apple_login_failed`,{action:`native_ios`,error:t,error_type:n}),console.warn(`native apple sign in failed`,e);let r=n===`restricted`?`common.error.userRestricted`:`common.error.appleSignInFailed`;Ht.error(this.$t(r).toString())}}return}let n=Ug(`${Cc()}/auth/login/?inviter_id=${this.inviterId}&native_redirect=${this.nativeRedirect}&provider=${t}`);ir()?await iw()?.openOAuth(n):(this.useBrowser=!0,ax.open({url:n}));return}if(e.data.name===`login`){let t=e.data.data,n={access:t.access_token,refresh:t.refresh_token,expiration:t.expires_in};try{if(await this.$store.dispatch(`setToken`,n))return}catch{Ht.error(this.$t(`common.account.switchFailed`).toString());return}await this.$store.dispatch(`getUser`);let r=!1;if(this.$store.state.site?.origin||(await this.$store.dispatch(`initializeSite`),!fr()&&!ir()&&(r=!0)),fr()||ir())this.$store.commit(`setAuth`,{visible:!1}),await this.$router.push(`/`);else{this.$store.commit(`setAuth`,{visible:!1});let e=r?this.$router.resolve({name:dv}).href:this.redirect||`/`,t=new URL(this.resolveLocalRedirect(e),window.location.origin).toString();t===window.location.href?window.location.reload():window.location.href=t}}if(e.data.name===`logout`&&this.$store.commit(`setAuth`,{action:`login`,visible:!0}),e.data.name===`wechatMobileRedirect`){let t=e.data.data?.url;typeof t==`string`&&t.startsWith(`https://open.weixin.qq.com/`)?window.location.href=t:console.warn(`ignored wechatMobileRedirect with unexpected url`,t)}if(e.data.name===`show_qr`){let t=e.data.data;this.qrLink=t.qrLink,this.showQR=!0}}},window.addEventListener(`message`,this.messageHandler)},async beforeUnmount(){this.unmounted=!0,this.messageHandler&&=(window.removeEventListener(`message`,this.messageHandler),null),this.browserFinishedHandle&&=(await this.browserFinishedHandle.remove(),null)},methods:{closeWebLogin(){ei(),this.$store.commit(`setAuth`,{visible:!1})},resolveLocalRedirect(e,t=`/`){try{let n=new URL(e||t,window.location.origin);return n.origin===window.location.origin?`${n.pathname}${n.search}${n.hash}`:t}catch{return t}}}}),lw=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},uw={class:`auth-frame-modal`,role:`dialog`,"aria-modal":`true`},dw={class:`auth-frame-modal__panel`},fw=[`aria-label`,`title`],pw={key:0,class:`auth-frame-modal__loading`},mw=[`src`];function hw(e,t,n,r,a,o){let s=M(`close-icon`),c=M(`qr-code`),l=M(`el-dialog`);return R(),T(ne,null,[i(`div`,uw,[i(`div`,dw,[i(`button`,{class:`auth-frame-modal__close`,type:`button`,"aria-label":e.$t(`common.button.close`),title:e.$t(`common.button.close`),onClick:t[0]||=(...t)=>e.closeWebLogin&&e.closeWebLogin(...t)},[x(s,{size:`1em`,"aria-hidden":`true`,focusable:`false`})],8,fw),e.useBrowser?(R(),T(`div`,pw,[i(`p`,null,v(e.$t(`common.status.loading`)),1)])):(R(),T(`iframe`,{key:1,ref:`iframe`,class:`auth-frame-modal__iframe`,src:e.iframeUrl,frameborder:`0`,referrerpolicy:`origin`},null,8,mw))])]),x(l,{modelValue:e.showQR,"onUpdate:modelValue":t[1]||=t=>e.showQR=t,width:`400px`,"show-close":!0},{default:L(()=>[e.qrLink?(R(),F(c,{key:0,value:e.qrLink,width:230,height:230,class:`qrcode w-[320px] h-[320px] block mx-auto mb-[20px]`,type:`image/jpeg`,color:{dark:`#000000ff`,light:`#ffffffff`}},null,8,[`value`])):C(``,!0)]),_:1},8,[`modelValue`])],64)}var gw=lw(cw,[[`render`,hw],[`__scopeId`,`data-v-c315b5bb`]]),_w=B({name:`DesktopDragBar`,data(){return{fullscreen:!1,offFullscreen:null}},computed:{visible(){return ir()&&!this.fullscreen},isMac(){return Cr()}},mounted(){if(!ir())return;let e=iw();this.offFullscreen=e?.onFullscreenChange?.(e=>{this.fullscreen=!!e})??null},beforeUnmount(){this.offFullscreen?.(),this.offFullscreen=null}});function vw(e,t,n,r,i,a){return e.visible?(R(),T(`div`,{key:0,class:m([`desktop-drag-bar`,{"is-mac":e.isMac,"is-win":!e.isMac}]),"aria-hidden":`true`},null,2)):C(``,!0)}var yw=lw(_w,[[`render`,vw],[`__scopeId`,`data-v-9d9a1470`]]),bw=B({name:`QuotaExhaustedDialog`,components:{ElButton:$o,ElDialog:ys,ElIcon:Ne,Loading:We},props:{modelValue:{type:Boolean,required:!0},estimatedConsumption:{type:Number,required:!1,default:void 0},availableCredits:{type:Number,required:!1,default:void 0},balanceState:{type:String,required:!0},unit:{type:String,required:!1,default:`credit`},canTopUp:{type:Boolean,required:!0}},emits:[`update:modelValue`,`topUp`],computed:{dialogWidth(){return`min(500px, 94vw)`},hasEstimatedConsumption(){return Number.isFinite(this.estimatedConsumption)},unitLabel(){let e=this.unit||`credit`;return this.$t(`service.unit.${e.endsWith(`s`)?e:`${e}s`}`)}},methods:{formatCredits(e){return e===void 0||!Number.isFinite(e)?`—`:Math.max(0,e).toFixed(2)}}}),xw={class:`quota-message`},Sw={class:`quota-details`},Cw={key:0,class:`quota-row`},ww={class:`quota-row`},Tw={key:0,class:`quota-muted`},Ew={key:1},Dw={key:2,class:`quota-muted`},Ow={class:`quota-actions`};function kw(e,t,n,r,a,o){let s=M(`loading`),c=M(`el-icon`),l=M(`el-button`),u=M(`el-dialog`);return R(),F(u,{"model-value":e.modelValue,class:`quota-exhausted-dialog`,title:e.$t(`common.quotaDialog.title`),width:e.dialogWidth,"append-to-body":``,"onUpdate:modelValue":t[2]||=t=>e.$emit(`update:modelValue`,t)},{footer:L(()=>[i(`div`,Ow,[x(l,{onClick:t[0]||=t=>e.$emit(`update:modelValue`,!1)},{default:L(()=>[g(v(e.$t(`common.button.cancel`)),1)]),_:1}),e.canTopUp?(R(),F(l,{key:0,type:`primary`,onClick:t[1]||=t=>e.$emit(`topUp`)},{default:L(()=>[g(v(e.$t(`common.quotaDialog.topUp`)),1)]),_:1})):C(``,!0)])]),default:L(()=>[i(`p`,xw,v(e.$t(`common.quotaDialog.message`)),1),i(`dl`,Sw,[e.hasEstimatedConsumption?(R(),T(`div`,Cw,[i(`dt`,null,v(e.$t(`common.quotaDialog.estimatedConsumption`)),1),i(`dd`,null,v(e.formatCredits(e.estimatedConsumption))+` `+v(e.unitLabel),1)])):C(``,!0),i(`div`,ww,[i(`dt`,null,v(e.$t(`common.quotaDialog.availableCredits`)),1),e.balanceState===`refreshing`?(R(),T(`dd`,Tw,[x(c,{class:`is-loading`},{default:L(()=>[x(s)]),_:1}),g(` `+v(e.$t(`common.quotaDialog.refreshing`)),1)])):e.balanceState===`current`?(R(),T(`dd`,Ew,v(e.formatCredits(e.availableCredits))+` `+v(e.unitLabel),1)):(R(),T(`dd`,Dw,v(e.$t(`common.quotaDialog.unavailable`)),1))])])]),_:1},8,[`model-value`,`title`,`width`])}var Aw=lw(bw,[[`render`,kw],[`__scopeId`,`data-v-72011a24`]]),jw=na(`App`,{web:()=>W(()=>import(`./web-B9J6valC.js`).then(e=>new e.AppWeb),[])}),Mw=e=>e instanceof Element?e.matches(`input[type="file"]`)?e:e.closest(`.el-upload`):null,Nw=(e,t)=>{!Mw(e.target)||t()||(e.preventDefault(),e.stopImmediatePropagation(),e.type===`change`&&e.target instanceof HTMLInputElement&&(e.target.value=``))},Pw=(e,t)=>{let n=e=>Nw(e,t),r=e=>Nw(e,t);e.addEventListener(`click`,n,!0),e.addEventListener(`change`,r,!0);let i=!0;return()=>{i&&(i=!1,e.removeEventListener(`click`,n,!0),e.removeEventListener(`change`,r,!0))}},Fw=()=>Du(),Iw=class extends ra{async write(e){if(typeof navigator>`u`||!navigator.clipboard)throw this.unavailable(`Clipboard API not available in this browser`);if(e.string!==void 0)await this.writeText(e.string);else if(e.url)await this.writeText(e.url);else if(e.image)if(typeof ClipboardItem<`u`)try{let t=await(await fetch(e.image)).blob(),n=new ClipboardItem({[t.type]:t});await navigator.clipboard.write([n])}catch{throw Error(`Failed to write image`)}else throw this.unavailable(`Writing images to the clipboard is not supported in this browser`);else throw Error(`Nothing to write`)}async read(){if(typeof navigator>`u`||!navigator.clipboard)throw this.unavailable(`Clipboard API not available in this browser`);if(typeof ClipboardItem<`u`)try{let e=await navigator.clipboard.read(),t=e[0].types[0],n=await e[0].getType(t);return{value:await this._getBlobData(n,t),type:t}}catch{return this.readText()}else return this.readText()}async readText(){if(typeof navigator>`u`||!navigator.clipboard||!navigator.clipboard.readText)throw this.unavailable(`Reading from clipboard not supported in this browser`);return{value:await navigator.clipboard.readText(),type:`text/plain`}}async writeText(e){if(typeof navigator>`u`||!navigator.clipboard||!navigator.clipboard.writeText)throw this.unavailable(`Writting to clipboard not supported in this browser`);await navigator.clipboard.writeText(e)}_getBlobData(e,t){return new Promise((n,r)=>{let i=new FileReader;t.includes(`image`)?i.readAsDataURL(e):i.readAsText(e),i.onloadend=()=>{let e=i.result;n(e)},i.onerror=e=>{r(e)}})}},Lw=na(`Clipboard`,{web:()=>new Iw}),Rw=e=>{try{let t=new URL(e),n=t.searchParams.get(`inviter_id`);if(n)return n;let r=t.pathname.match(/\/i\/([^/?#]+)/);if(r&&r[1])return decodeURIComponent(r[1])}catch{}return null},zw=e=>{let t=new URLSearchParams(e||``);return{inviterId:t.get(`inviter_id`),clickId:t.get(`click_id`)}},Bw=na(`InstallReferrer`),Vw=`INVITER_ID`,Hw=`ATTRIBUTION_RESOLVED`,Uw=/^[0-9a-f]{32}$/i,Ww=e=>{if(!e)return;let t=new Date;t.setDate(t.getDate()+7),bu(Vw,e,{expires:t,path:`/`,domain:Jg()}),console.debug(`attribution: wrote INVITER_ID`,e)},Gw=async()=>{let e=``;try{({referrer:e}=await Bw.getReferrer())}catch(e){console.debug(`attribution: install referrer unavailable`,e);return}let{inviterId:t}=zw(e);t&&Ww(t)},Kw=async()=>{let e;try{let{value:t}=await Lw.read();t&&Uw.test(t.trim())&&(e=t.trim())}catch(e){console.debug(`attribution: clipboard read unavailable`,e)}try{let{data:t}=await tf.resolve({click_id:e,platform:`ios`});t?.inviter_id&&(console.debug(`attribution: resolved inviter via`,t.match_type),Ww(t.inviter_id))}catch(e){console.debug(`attribution: resolve failed`,e)}},qw=async()=>{if(fr()&&!xu(Vw)){try{if(localStorage.getItem(Hw))return}catch{}try{Mn()?await Gw():Nr()&&await Kw()}finally{try{localStorage.setItem(Hw,`1`)}catch{}}}},Jw=``;async function Yw(e,{store:t,router:n,source:r}){if(e&&e!==Jw){Jw=e,Wu(`apple_login_deeplink`,{action:`sso_exchange`,source:r});try{let{data:i}=await Em.token({code:e}),a={access:i.access_token,refresh:i.refresh_token,expiration:i.expires_in};if(await t.dispatch(`setToken`,a))return;await t.dispatch(`getUser`),Wu(`apple_login_success`,{action:`sso_exchange`,source:r}),t.commit(`setAuth`,{visible:!1}),await n.push(`/`)}catch(n){Jw===e&&(Jw=``),Wu(`apple_login_failed`,{action:`sso_exchange`,source:r,error:String(n)}),t.commit(`setAuth`,{visible:!1}),await t.dispatch(`login`)}}}var J=A({visible:!1,balanceState:`unavailable`,requestId:0});function Xw(e){return q.state[e]}async function Zw(e,t,n){let r,i;try{[r,i]=await Promise.all([q.dispatch(`getApplications`),q.dispatch(`${e}/getApplications`)])}catch{n===J.requestId&&J.visible&&(J.balanceState=`unavailable`);return}if(n!==J.requestId||!J.visible)return;if(!Array.isArray(r)||!Array.isArray(i)||!t){J.balanceState=`unavailable`;return}let a=[...r,...i].find(e=>e.id===t);if(!a){J.balanceState=`unavailable`;return}q.commit(`${e}/setApplication`,a),J.application=a,J.availableCredits=ky(a,r),J.balanceState=`current`}function Qw(e,t,n){if((e?.response?.data?.error?.code||e?.response?.data?.code)!==`used_up`||Tf()&&Df(t).mode===`wallet`)return!1;let r=Xw(t),i=r?.application,a=J.requestId+1;return J.requestId=a,J.visible=!0,J.applicationNamespace=t,J.estimatedConsumption=Number.isFinite(n)?n:void 0,J.availableCredits=void 0,J.balanceState=`refreshing`,J.application=i,J.unit=r?.service?.unit,Zw(t,i?.id,a),!0}function $w(){J.requestId+=1,J.visible=!1}function eT(){return Dy(J.application,q.getters.site,{ios:Nr()})}function tT(){return eT()?Ey(J.application):void 0}var nT={en:()=>W(()=>import(`./en-CpRrS3Ur.js`).then(e=>e.n),__vite__mapDeps([28,1])),de:()=>W(()=>import(`./de-b5ud83Jh.js`),[]),pt:()=>W(()=>import(`./pt-DooN-Wl6.js`),[]),es:()=>W(()=>import(`./es-BITxKZGb.js`),[]),fr:()=>W(()=>import(`./fr-BDFpSLNf.js`),[]),"zh-CN":()=>W(()=>import(`./zh-cn-DbCu-PdM.js`),[]),"zh-TW":()=>W(()=>import(`./zh-tw-jOYIOW_T.js`),[]),it:()=>W(()=>import(`./it-MZnae9Sr.js`),[]),ko:()=>W(()=>import(`./ko-CHFaNxzw.js`),[]),ja:()=>W(()=>import(`./ja-Dr89NR-c.js`),[]),ru:()=>W(()=>import(`./ru-m-CsSCMn.js`),[]),pl:()=>W(()=>import(`./pl-BXRhM8qZ.js`),[]),fi:()=>W(()=>import(`./fi-BPalBz2N.js`),[]),sv:()=>W(()=>import(`./sv-CZdvdA8V.js`),[]),el:()=>W(()=>import(`./el-BLDPPQCo.js`),[]),uk:()=>W(()=>import(`./uk-DU9kiOnb.js`),[]),ar:()=>W(()=>import(`./ar-DA5M15Ow.js`),[]),sr:()=>W(()=>import(`./sr-FEmZ8gOK.js`),[])},rT=B({name:`App`,components:{MetaTag:vc,ElConfigProvider:rs,ElButton:$o,ElEmpty:Ss,AuthPanel:gw,DesktopDragBar:yw,QuotaExhaustedDialog:Aw},data(){return{isTest:Br,epLocale:null,offAuthCb:null,offAuthExpired:null,offSiteWatch:null,offCredentialWatch:null,offUploadAuthGuard:null}},computed:{siteLoadFailed(){let{site:e,status:t}=this.$store.state;return!e?.id&&(t.getSite===V.Error||t.getSite===V.Success)},authPopup(){return this.$store.state.auth.flow===`popup`&&this.$store.state.auth.visible},quotaState(){return J},canTopUpQuota(){return eT()},currentLocale(){return In(this.$i18n.locale)}},watch:{currentLocale:{immediate:!0,handler(){this.loadElementPlusLocale()}},"$route.fullPath"(){$w()}},mounted(){if(this.offUploadAuthGuard=Pw(document,Du),fr()&&jw.addListener(`appUrlOpen`,async({url:e})=>{console.debug(`deep link received:`,e);let t=Rw(e);if(t&&Ww(t),e.includes(`auth/callback`)){let t=new URL(e).searchParams.get(`code`);if(t){try{await ax.close()}catch(e){console.debug(`browser close failed (may already be closed)`,e)}await Yw(t,{store:this.$store,router:this.$router,source:`native`})}}}),ir()){let e=iw();this.offAuthCb=e?.onAuthCallback(({code:e})=>{Yw(e,{store:this.$store,router:this.$router,source:`desktop`})})??null,this.offAuthExpired=e?.onAuthExpired(()=>{Ht.error(this.$t(`common.error.loginLinkExpired`).toString())})??null,e?.signalReady(),this.offSiteWatch=this.$watch(()=>this.$store.state.site?.origin,t=>{t&&e?.setSiteOrigin(t)},{immediate:!0}),this.offCredentialWatch=this.$watch(()=>this.$store.state.chat?.credential?.token,t=>{t?e?.scheduler?.setCredentials(t,Vn()):e?.scheduler?.clearCredentials()},{immediate:!0})}let e=!!this.$store.state.token.access&&!!this.$store.state.user?.id;console.debug(`App mounted, authenticated:`,e),e||this.$store.dispatch(`resetAll`)},beforeUnmount(){this.offAuthCb?.(),this.offAuthExpired?.(),this.offSiteWatch?.(),this.offCredentialWatch?.(),this.offUploadAuthGuard?.()},methods:{reloadSite(){window.location.reload()},onQuotaVisibility(e){e||$w()},onQuotaTopUp(){let e=tT();e&&($w(),this.$router.push(e))},async loadElementPlusLocale(){let e=this.currentLocale;console.debug(`[i18n] Loading Element Plus locale for: ${e}`);let t=nT[e];if(!t){console.warn(`[i18n] No Element Plus locale found for: ${e}`);return}try{let n=await t();this.epLocale=n.default,console.debug(`[i18n] Loaded Element Plus locale: ${e}`)}catch(t){console.error(`[i18n] Failed to load Element Plus locale for: ${e}`,t)}}}});function iT(e,t,n,r,i,a){let o=M(`auth-panel`),s=M(`desktop-drag-bar`),c=M(`el-button`),l=M(`el-empty`),u=M(`router-view`),d=M(`quota-exhausted-dialog`),f=M(`meta-tag`),p=M(`el-config-provider`);return R(),F(p,{locale:e.epLocale},{default:L(()=>[e.authPopup?(R(),F(o,{key:0})):C(``,!0),x(s),e.siteLoadFailed?(R(),F(l,{key:1,class:`h-full`,description:e.$t(`common.bootstrap.failed`)},{default:L(()=>[x(c,{type:`primary`,onClick:e.reloadSite},{default:L(()=>[g(v(e.$t(`common.button.refresh`)),1)]),_:1},8,[`onClick`])]),_:1},8,[`description`])):(R(),F(u,{key:2})),x(d,{"model-value":e.quotaState.visible,"estimated-consumption":e.quotaState.estimatedConsumption,"available-credits":e.quotaState.availableCredits,"balance-state":e.quotaState.balanceState,unit:e.quotaState.unit,"can-top-up":e.canTopUpQuota,"onUpdate:modelValue":e.onQuotaVisibility,onTopUp:e.onQuotaTopUp},null,8,[`model-value`,`estimated-consumption`,`available-credits`,`balance-state`,`unit`,`can-top-up`,`onUpdate:modelValue`,`onTopUp`]),e.isTest?(R(),F(f,{key:3,class:`fixed bottom-4 right-4 z-50`,tone:`warning`},{default:L(()=>[g(v(e.$t(`index.button.testEnv`)),1)]),_:1})):C(``,!0)]),_:1},8,[`locale`])}var aT=lw(rT,[[`render`,iT]]),oT=e($t()),sT={install:(e,t)=>{e.config.globalProperties.$dayjs={format(e,n){return e?(0,oT.default)(e).format(n||t.formatString):``}}}};function cT(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function lT(e){if(Array.isArray(e))return e}function uT(e){if(Array.isArray(e))return cT(e)}function dT(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function fT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,CT(r.key),r)}}function pT(e,t,n){return t&&fT(e.prototype,t),n&&fT(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function mT(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=TT(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
16
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function Y(e,t,n){return(t=CT(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hT(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function gT(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function _T(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
17
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vT(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
18
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?yT(Object(n),!0).forEach(function(t){Y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yT(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function bT(e,t){return lT(e)||gT(e,t)||TT(e,t)||_T()}function xT(e){return uT(e)||hT(e)||TT(e)||vT()}function ST(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function CT(e){var t=ST(e,`string`);return typeof t==`symbol`?t:t+``}function wT(e){"@babel/helpers - typeof";return wT=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},wT(e)}function TT(e,t){if(e){if(typeof e==`string`)return cT(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cT(e,t):void 0}}var ET=function(){},DT={},OT={},kT=null,AT={mark:ET,measure:ET};try{typeof window<`u`&&(DT=window),typeof document<`u`&&(OT=document),typeof MutationObserver<`u`&&(kT=MutationObserver),typeof performance<`u`&&(AT=performance)}catch{}var jT=(DT.navigator||{}).userAgent,MT=jT===void 0?``:jT,NT=DT,Z=OT,PT=kT,FT=AT;NT.document;var IT=!!Z.documentElement&&!!Z.head&&typeof Z.addEventListener==`function`&&typeof Z.createElement==`function`,LT=~MT.indexOf(`MSIE`)||~MT.indexOf(`Trident/`),RT,zT=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,BT=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,VT={classic:{fa:`solid`,fas:`solid`,"fa-solid":`solid`,far:`regular`,"fa-regular":`regular`,fal:`light`,"fa-light":`light`,fat:`thin`,"fa-thin":`thin`,fab:`brands`,"fa-brands":`brands`},duotone:{fa:`solid`,fad:`solid`,"fa-solid":`solid`,"fa-duotone":`solid`,fadr:`regular`,"fa-regular":`regular`,fadl:`light`,"fa-light":`light`,fadt:`thin`,"fa-thin":`thin`},sharp:{fa:`solid`,fass:`solid`,"fa-solid":`solid`,fasr:`regular`,"fa-regular":`regular`,fasl:`light`,"fa-light":`light`,fast:`thin`,"fa-thin":`thin`},"sharp-duotone":{fa:`solid`,fasds:`solid`,"fa-solid":`solid`,fasdr:`regular`,"fa-regular":`regular`,fasdl:`light`,"fa-light":`light`,fasdt:`thin`,"fa-thin":`thin`},slab:{"fa-regular":`regular`,faslr:`regular`},"slab-press":{"fa-regular":`regular`,faslpr:`regular`},thumbprint:{"fa-light":`light`,fatl:`light`},whiteboard:{"fa-semibold":`semibold`,fawsb:`semibold`},notdog:{"fa-solid":`solid`,fans:`solid`},"notdog-duo":{"fa-solid":`solid`,fands:`solid`},etch:{"fa-solid":`solid`,faes:`solid`},graphite:{"fa-thin":`thin`,fagt:`thin`},jelly:{"fa-regular":`regular`,fajr:`regular`},"jelly-fill":{"fa-regular":`regular`,fajfr:`regular`},"jelly-duo":{"fa-regular":`regular`,fajdr:`regular`},chisel:{"fa-regular":`regular`,facr:`regular`},utility:{"fa-semibold":`semibold`,fausb:`semibold`},"utility-duo":{"fa-semibold":`semibold`,faudsb:`semibold`},"utility-fill":{"fa-semibold":`semibold`,faufsb:`semibold`}},HT={GROUP:`duotone-group`,SWAP_OPACITY:`swap-opacity`,PRIMARY:`primary`,SECONDARY:`secondary`},UT=[`fa-classic`,`fa-duotone`,`fa-sharp`,`fa-sharp-duotone`,`fa-thumbprint`,`fa-whiteboard`,`fa-notdog`,`fa-notdog-duo`,`fa-chisel`,`fa-etch`,`fa-graphite`,`fa-jelly`,`fa-jelly-fill`,`fa-jelly-duo`,`fa-slab`,`fa-slab-press`,`fa-utility`,`fa-utility-duo`,`fa-utility-fill`],WT=`classic`,GT=`duotone`,KT=`sharp`,qT=`sharp-duotone`,JT=`chisel`,YT=`etch`,XT=`graphite`,ZT=`jelly`,QT=`jelly-duo`,$T=`jelly-fill`,eE=`notdog`,tE=`notdog-duo`,nE=`slab`,rE=`slab-press`,iE=`thumbprint`,aE=`utility`,oE=`utility-duo`,sE=`utility-fill`,cE=`whiteboard`,lE=`Classic`,uE=`Duotone`,dE=`Sharp`,fE=`Sharp Duotone`,pE=`Chisel`,mE=`Etch`,hE=`Graphite`,gE=`Jelly`,_E=`Jelly Duo`,vE=`Jelly Fill`,yE=`Notdog`,bE=`Notdog Duo`,xE=`Slab`,SE=`Slab Press`,CE=`Thumbprint`,wE=`Utility`,TE=`Utility Duo`,EE=`Utility Fill`,DE=`Whiteboard`,OE=[WT,GT,KT,qT,JT,YT,XT,ZT,QT,$T,eE,tE,nE,rE,iE,aE,oE,sE,cE];RT={},Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(RT,WT,lE),GT,uE),KT,dE),qT,fE),JT,pE),YT,mE),XT,hE),ZT,gE),QT,_E),$T,vE),Y(Y(Y(Y(Y(Y(Y(Y(Y(RT,eE,yE),tE,bE),nE,xE),rE,SE),iE,CE),aE,wE),oE,TE),sE,EE),cE,DE);var kE={classic:{900:`fas`,400:`far`,normal:`far`,300:`fal`,100:`fat`},duotone:{900:`fad`,400:`fadr`,300:`fadl`,100:`fadt`},sharp:{900:`fass`,400:`fasr`,300:`fasl`,100:`fast`},"sharp-duotone":{900:`fasds`,400:`fasdr`,300:`fasdl`,100:`fasdt`},slab:{400:`faslr`},"slab-press":{400:`faslpr`},whiteboard:{600:`fawsb`},thumbprint:{300:`fatl`},notdog:{900:`fans`},"notdog-duo":{900:`fands`},etch:{900:`faes`},graphite:{100:`fagt`},chisel:{400:`facr`},jelly:{400:`fajr`},"jelly-fill":{400:`fajfr`},"jelly-duo":{400:`fajdr`},utility:{600:`fausb`},"utility-duo":{600:`faudsb`},"utility-fill":{600:`faufsb`}},AE={"Font Awesome 7 Free":{900:`fas`,400:`far`},"Font Awesome 7 Pro":{900:`fas`,400:`far`,normal:`far`,300:`fal`,100:`fat`},"Font Awesome 7 Brands":{400:`fab`,normal:`fab`},"Font Awesome 7 Duotone":{900:`fad`,400:`fadr`,normal:`fadr`,300:`fadl`,100:`fadt`},"Font Awesome 7 Sharp":{900:`fass`,400:`fasr`,normal:`fasr`,300:`fasl`,100:`fast`},"Font Awesome 7 Sharp Duotone":{900:`fasds`,400:`fasdr`,normal:`fasdr`,300:`fasdl`,100:`fasdt`},"Font Awesome 7 Jelly":{400:`fajr`,normal:`fajr`},"Font Awesome 7 Jelly Fill":{400:`fajfr`,normal:`fajfr`},"Font Awesome 7 Jelly Duo":{400:`fajdr`,normal:`fajdr`},"Font Awesome 7 Slab":{400:`faslr`,normal:`faslr`},"Font Awesome 7 Slab Press":{400:`faslpr`,normal:`faslpr`},"Font Awesome 7 Thumbprint":{300:`fatl`,normal:`fatl`},"Font Awesome 7 Notdog":{900:`fans`,normal:`fans`},"Font Awesome 7 Notdog Duo":{900:`fands`,normal:`fands`},"Font Awesome 7 Etch":{900:`faes`,normal:`faes`},"Font Awesome 7 Graphite":{100:`fagt`,normal:`fagt`},"Font Awesome 7 Chisel":{400:`facr`,normal:`facr`},"Font Awesome 7 Whiteboard":{600:`fawsb`,normal:`fawsb`},"Font Awesome 7 Utility":{600:`fausb`,normal:`fausb`},"Font Awesome 7 Utility Duo":{600:`faudsb`,normal:`faudsb`},"Font Awesome 7 Utility Fill":{600:`faufsb`,normal:`faufsb`}},jE=new Map([[`classic`,{defaultShortPrefixId:`fas`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`,`brands`],futureStyleIds:[],defaultFontWeight:900}],[`duotone`,{defaultShortPrefixId:`fad`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`sharp`,{defaultShortPrefixId:`fass`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`sharp-duotone`,{defaultShortPrefixId:`fasds`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`chisel`,{defaultShortPrefixId:`facr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`etch`,{defaultShortPrefixId:`faes`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`graphite`,{defaultShortPrefixId:`fagt`,defaultStyleId:`thin`,styleIds:[`thin`],futureStyleIds:[],defaultFontWeight:100}],[`jelly`,{defaultShortPrefixId:`fajr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`jelly-duo`,{defaultShortPrefixId:`fajdr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`jelly-fill`,{defaultShortPrefixId:`fajfr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`notdog`,{defaultShortPrefixId:`fans`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`notdog-duo`,{defaultShortPrefixId:`fands`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`slab`,{defaultShortPrefixId:`faslr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`slab-press`,{defaultShortPrefixId:`faslpr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`thumbprint`,{defaultShortPrefixId:`fatl`,defaultStyleId:`light`,styleIds:[`light`],futureStyleIds:[],defaultFontWeight:300}],[`utility`,{defaultShortPrefixId:`fausb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`utility-duo`,{defaultShortPrefixId:`faudsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`utility-fill`,{defaultShortPrefixId:`faufsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`whiteboard`,{defaultShortPrefixId:`fawsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}]]),ME={chisel:{regular:`facr`},classic:{brands:`fab`,light:`fal`,regular:`far`,solid:`fas`,thin:`fat`},duotone:{light:`fadl`,regular:`fadr`,solid:`fad`,thin:`fadt`},etch:{solid:`faes`},graphite:{thin:`fagt`},jelly:{regular:`fajr`},"jelly-duo":{regular:`fajdr`},"jelly-fill":{regular:`fajfr`},notdog:{solid:`fans`},"notdog-duo":{solid:`fands`},sharp:{light:`fasl`,regular:`fasr`,solid:`fass`,thin:`fast`},"sharp-duotone":{light:`fasdl`,regular:`fasdr`,solid:`fasds`,thin:`fasdt`},slab:{regular:`faslr`},"slab-press":{regular:`faslpr`},thumbprint:{light:`fatl`},utility:{semibold:`fausb`},"utility-duo":{semibold:`faudsb`},"utility-fill":{semibold:`faufsb`},whiteboard:{semibold:`fawsb`}},NE=[`fak`,`fa-kit`,`fakd`,`fa-kit-duotone`],PE={kit:{fak:`kit`,"fa-kit":`kit`},"kit-duotone":{fakd:`kit-duotone`,"fa-kit-duotone":`kit-duotone`}},FE=[`kit`];Y(Y({},`kit`,`Kit`),`kit-duotone`,`Kit Duotone`);var IE={kit:{"fa-kit":`fak`},"kit-duotone":{"fa-kit-duotone":`fakd`}},LE={"Font Awesome Kit":{400:`fak`,normal:`fak`},"Font Awesome Kit Duotone":{400:`fakd`,normal:`fakd`}},RE={kit:{fak:`fa-kit`},"kit-duotone":{fakd:`fa-kit-duotone`}},zE={kit:{kit:`fak`},"kit-duotone":{"kit-duotone":`fakd`}},BE,VE={GROUP:`duotone-group`,SWAP_OPACITY:`swap-opacity`,PRIMARY:`primary`,SECONDARY:`secondary`},HE=[`fa-classic`,`fa-duotone`,`fa-sharp`,`fa-sharp-duotone`,`fa-thumbprint`,`fa-whiteboard`,`fa-notdog`,`fa-notdog-duo`,`fa-chisel`,`fa-etch`,`fa-graphite`,`fa-jelly`,`fa-jelly-fill`,`fa-jelly-duo`,`fa-slab`,`fa-slab-press`,`fa-utility`,`fa-utility-duo`,`fa-utility-fill`];BE={},Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(BE,`classic`,`Classic`),`duotone`,`Duotone`),`sharp`,`Sharp`),`sharp-duotone`,`Sharp Duotone`),`chisel`,`Chisel`),`etch`,`Etch`),`graphite`,`Graphite`),`jelly`,`Jelly`),`jelly-duo`,`Jelly Duo`),`jelly-fill`,`Jelly Fill`),Y(Y(Y(Y(Y(Y(Y(Y(Y(BE,`notdog`,`Notdog`),`notdog-duo`,`Notdog Duo`),`slab`,`Slab`),`slab-press`,`Slab Press`),`thumbprint`,`Thumbprint`),`utility`,`Utility`),`utility-duo`,`Utility Duo`),`utility-fill`,`Utility Fill`),`whiteboard`,`Whiteboard`),Y(Y({},`kit`,`Kit`),`kit-duotone`,`Kit Duotone`);var UE={classic:{"fa-brands":`fab`,"fa-duotone":`fad`,"fa-light":`fal`,"fa-regular":`far`,"fa-solid":`fas`,"fa-thin":`fat`},duotone:{"fa-regular":`fadr`,"fa-light":`fadl`,"fa-thin":`fadt`},sharp:{"fa-solid":`fass`,"fa-regular":`fasr`,"fa-light":`fasl`,"fa-thin":`fast`},"sharp-duotone":{"fa-solid":`fasds`,"fa-regular":`fasdr`,"fa-light":`fasdl`,"fa-thin":`fasdt`},slab:{"fa-regular":`faslr`},"slab-press":{"fa-regular":`faslpr`},whiteboard:{"fa-semibold":`fawsb`},thumbprint:{"fa-light":`fatl`},notdog:{"fa-solid":`fans`},"notdog-duo":{"fa-solid":`fands`},etch:{"fa-solid":`faes`},graphite:{"fa-thin":`fagt`},jelly:{"fa-regular":`fajr`},"jelly-fill":{"fa-regular":`fajfr`},"jelly-duo":{"fa-regular":`fajdr`},chisel:{"fa-regular":`facr`},utility:{"fa-semibold":`fausb`},"utility-duo":{"fa-semibold":`faudsb`},"utility-fill":{"fa-semibold":`faufsb`}},WE={classic:[`fas`,`far`,`fal`,`fat`,`fad`],duotone:[`fadr`,`fadl`,`fadt`],sharp:[`fass`,`fasr`,`fasl`,`fast`],"sharp-duotone":[`fasds`,`fasdr`,`fasdl`,`fasdt`],slab:[`faslr`],"slab-press":[`faslpr`],whiteboard:[`fawsb`],thumbprint:[`fatl`],notdog:[`fans`],"notdog-duo":[`fands`],etch:[`faes`],graphite:[`fagt`],jelly:[`fajr`],"jelly-fill":[`fajfr`],"jelly-duo":[`fajdr`],chisel:[`facr`],utility:[`fausb`],"utility-duo":[`faudsb`],"utility-fill":[`faufsb`]},GE={classic:{fab:`fa-brands`,fad:`fa-duotone`,fal:`fa-light`,far:`fa-regular`,fas:`fa-solid`,fat:`fa-thin`},duotone:{fadr:`fa-regular`,fadl:`fa-light`,fadt:`fa-thin`},sharp:{fass:`fa-solid`,fasr:`fa-regular`,fasl:`fa-light`,fast:`fa-thin`},"sharp-duotone":{fasds:`fa-solid`,fasdr:`fa-regular`,fasdl:`fa-light`,fasdt:`fa-thin`},slab:{faslr:`fa-regular`},"slab-press":{faslpr:`fa-regular`},whiteboard:{fawsb:`fa-semibold`},thumbprint:{fatl:`fa-light`},notdog:{fans:`fa-solid`},"notdog-duo":{fands:`fa-solid`},etch:{faes:`fa-solid`},graphite:{fagt:`fa-thin`},jelly:{fajr:`fa-regular`},"jelly-fill":{fajfr:`fa-regular`},"jelly-duo":{fajdr:`fa-regular`},chisel:{facr:`fa-regular`},utility:{fausb:`fa-semibold`},"utility-duo":{faudsb:`fa-semibold`},"utility-fill":{faufsb:`fa-semibold`}},KE=`fa.fas.far.fal.fat.fad.fadr.fadl.fadt.fab.fass.fasr.fasl.fast.fasds.fasdr.fasdl.fasdt.faslr.faslpr.fawsb.fatl.fans.fands.faes.fagt.fajr.fajfr.fajdr.facr.fausb.faudsb.faufsb`.split(`.`).concat(HE,[`fa-solid`,`fa-regular`,`fa-light`,`fa-thin`,`fa-duotone`,`fa-brands`,`fa-semibold`]),qE=[`solid`,`regular`,`light`,`thin`,`duotone`,`brands`,`semibold`],JE=[1,2,3,4,5,6,7,8,9,10],YE=JE.concat([11,12,13,14,15,16,17,18,19,20]),XE=[].concat(xT(Object.keys(WE)),qE,[`aw`,`fw`,`pull-left`,`pull-right`],[`2xs`,`xs`,`sm`,`lg`,`xl`,`2xl`,`beat`,`border`,`fade`,`beat-fade`,`bounce`,`flip-both`,`flip-horizontal`,`flip-vertical`,`flip`,`inverse`,`layers`,`layers-bottom-left`,`layers-bottom-right`,`layers-counter`,`layers-text`,`layers-top-left`,`layers-top-right`,`li`,`pull-end`,`pull-start`,`pulse`,`rotate-180`,`rotate-270`,`rotate-90`,`rotate-by`,`shake`,`spin-pulse`,`spin-reverse`,`spin`,`stack-1x`,`stack-2x`,`stack`,`ul`,`width-auto`,`width-fixed`,VE.GROUP,VE.SWAP_OPACITY,VE.PRIMARY,VE.SECONDARY],JE.map(function(e){return`${e}x`}),YE.map(function(e){return`w-${e}`})),ZE={"Font Awesome 5 Free":{900:`fas`,400:`far`},"Font Awesome 5 Pro":{900:`fas`,400:`far`,normal:`far`,300:`fal`},"Font Awesome 5 Brands":{400:`fab`,normal:`fab`},"Font Awesome 5 Duotone":{900:`fad`}},QE=`___FONT_AWESOME___`,$E=16,eD=`fa`,tD=`svg-inline--fa`,nD=`data-fa-i2svg`,rD=`data-fa-pseudo-element`,iD=`data-fa-pseudo-element-pending`,aD=`data-prefix`,oD=`data-icon`,sD=`fontawesome-i2svg`,cD=`async`,lD=[`HTML`,`HEAD`,`STYLE`,`SCRIPT`],uD=[`::before`,`::after`,`:before`,`:after`],dD=function(){try{return!0}catch{return!1}}();function fD(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[WT]}})}var pD=X({},VT);pD[WT]=X(X(X(X({},{"fa-duotone":`duotone`}),VT[WT]),PE.kit),PE[`kit-duotone`]);var mD=fD(pD),hD=X({},ME);hD[WT]=X(X(X(X({},{duotone:`fad`}),hD[WT]),zE.kit),zE[`kit-duotone`]);var gD=fD(hD),_D=X({},GE);_D[WT]=X(X({},_D[WT]),RE.kit);var vD=fD(_D),yD=X({},UE);yD[WT]=X(X({},yD[WT]),IE.kit),fD(yD);var bD=zT,xD=`fa-layers-text`,SD=BT;fD(X({},kE));var CD=[`class`,`data-prefix`,`data-icon`,`data-fa-transform`,`data-fa-mask`],wD=HT,TD=[].concat(xT(FE),xT(XE)),ED=NT.FontAwesomeConfig||{};function DD(e){var t=Z.querySelector(`script[`+e+`]`);if(t)return t.getAttribute(e)}function OD(e){return e===``?!0:e===`false`?!1:e===`true`?!0:e}Z&&typeof Z.querySelector==`function`&&[[`data-family-prefix`,`familyPrefix`],[`data-css-prefix`,`cssPrefix`],[`data-family-default`,`familyDefault`],[`data-style-default`,`styleDefault`],[`data-replacement-class`,`replacementClass`],[`data-auto-replace-svg`,`autoReplaceSvg`],[`data-auto-add-css`,`autoAddCss`],[`data-search-pseudo-elements`,`searchPseudoElements`],[`data-search-pseudo-elements-warnings`,`searchPseudoElementsWarnings`],[`data-search-pseudo-elements-full-scan`,`searchPseudoElementsFullScan`],[`data-observe-mutations`,`observeMutations`],[`data-mutate-approach`,`mutateApproach`],[`data-keep-original-source`,`keepOriginalSource`],[`data-measure-performance`,`measurePerformance`],[`data-show-missing-icons`,`showMissingIcons`]].forEach(function(e){var t=bT(e,2),n=t[0],r=t[1],i=OD(DD(n));i!=null&&(ED[r]=i)});var kD={styleDefault:`solid`,familyDefault:WT,cssPrefix:eD,replacementClass:tD,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:`async`,keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ED.familyPrefix&&(ED.cssPrefix=ED.familyPrefix);var AD=X(X({},kD),ED);AD.autoReplaceSvg||(AD.observeMutations=!1);var Q={};Object.keys(kD).forEach(function(e){Object.defineProperty(Q,e,{enumerable:!0,set:function(t){AD[e]=t,jD.forEach(function(e){return e(Q)})},get:function(){return AD[e]}})}),Object.defineProperty(Q,"familyPrefix",{enumerable:!0,set:function(e){AD.cssPrefix=e,jD.forEach(function(e){return e(Q)})},get:function(){return AD.cssPrefix}}),NT.FontAwesomeConfig=Q;var jD=[];function MD(e){return jD.push(e),function(){jD.splice(jD.indexOf(e),1)}}var ND=$E,PD={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function FD(e){if(!(!e||!IT)){var t=Z.createElement(`style`);t.setAttribute(`type`,`text/css`),t.innerHTML=e;for(var n=Z.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||``).toUpperCase();[`STYLE`,`LINK`].indexOf(o)>-1&&(r=a)}return Z.head.insertBefore(t,r),e}}var ID=`0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`;function LD(){for(var e=12,t=``;e-- >0;)t+=ID[Math.random()*62|0];return t}function RD(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function zD(e){return e.classList?RD(e.classList):(e.getAttribute(`class`)||``).split(` `).filter(function(e){return e})}function BD(e){return`${e}`.replace(/&/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`)}function VD(e){return Object.keys(e||{}).reduce(function(t,n){return t+`${n}="${BD(e[n])}" `},``).trim()}function HD(e){return Object.keys(e||{}).reduce(function(t,n){return t+`${n}: ${e[n].trim()};`},``)}function UD(e){return e.size!==PD.size||e.x!==PD.x||e.y!==PD.y||e.rotate!==PD.rotate||e.flipX||e.flipY}function WD(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth;return{outer:{transform:`translate(${n/2} 256)`},inner:{transform:`${`translate(${t.x*32}, ${t.y*32}) `} ${`scale(${t.size/16*(t.flipX?-1:1)}, ${t.size/16*(t.flipY?-1:1)}) `} ${`rotate(${t.rotate} 0 0)`}`},path:{transform:`translate(${r/2*-1} -256)`}}}function GD(e){var t=e.transform,n=e.width,r=n===void 0?$E:n,i=e.height,a=i===void 0?$E:i,o=e.startCentered,s=o===void 0?!1:o,c=``;return s&<?c+=`translate(${t.x/ND-r/2}em, ${t.y/ND-a/2}em) `:s?c+=`translate(calc(-50% + ${t.x/ND}em), calc(-50% + ${t.y/ND}em)) `:c+=`translate(${t.x/ND}em, ${t.y/ND}em) `,c+=`scale(${t.size/ND*(t.flipX?-1:1)}, ${t.size/ND*(t.flipY?-1:1)}) `,c+=`rotate(${t.rotate}deg) `,c}var KD=`:root, :host {
|
|
19
19
|
--fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';
|
|
20
20
|
--fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';
|
|
21
21
|
--fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';
|
|
@@ -566,7 +566,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
566
566
|
margin: auto;
|
|
567
567
|
position: absolute;
|
|
568
568
|
z-index: var(--fa-stack-z-index, auto);
|
|
569
|
-
}`;function KD(){var e=$E,t=eD,n=Q.cssPrefix,r=Q.replacementClass,i=GD;if(n!==e||r!==t){var a=RegExp(`\\.${e}\\-`,`g`),o=RegExp(`\\--${e}\\-`,`g`),s=RegExp(`\\.${t}`,`g`);i=i.replace(a,`.${n}-`).replace(o,`--${n}-`).replace(s,`.${r}`)}return i}var qD=!1;function JD(){Q.autoAddCss&&!qD&&(PD(KD()),qD=!0)}var YD={mixout:function(){return{dom:{css:KD,insertCss:JD}}},hooks:function(){return{beforeDOMElementCreation:function(){JD()},beforeI2svg:function(){JD()}}}},XD=MT||{};XD[ZE]||(XD[ZE]={}),XD[ZE].styles||(XD[ZE].styles={}),XD[ZE].hooks||(XD[ZE].hooks={}),XD[ZE].shims||(XD[ZE].shims=[]);var ZD=XD[ZE],QD=[],$D=function(){Z.removeEventListener(`DOMContentLoaded`,$D),eO=1,QD.map(function(e){return e()})},eO=!1;FT&&(eO=(Z.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Z.readyState),eO||Z.addEventListener(`DOMContentLoaded`,$D));function tO(e){FT&&(eO?setTimeout(e,0):QD.push(e))}function nO(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e==`string`?zD(e):`<${t} ${BD(r)}>${a.map(nO).join(``)}</${t}>`}function rO(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var iO=function(e,t){return function(n,r,i,a){return e.call(t,n,r,i,a)}},aO=function(e,t,n,r){var i=Object.keys(e),a=i.length,o=r===void 0?t:iO(t,r),s,c,l;for(n===void 0?(s=1,l=e[i[0]]):(s=0,l=n);s<a;s++)c=i[s],l=o(l,e[c],c,e);return l};function oO(e){return bT(e).length===1?e.codePointAt(0).toString(16):null}function sO(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function cO(e,t){var n=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).skipHooks,r=n===void 0?!1:n,i=sO(t);typeof ZD.hooks.addPack==`function`&&!r?ZD.hooks.addPack(e,sO(t)):ZD.styles[e]=X(X({},ZD.styles[e]||{}),i),e===`fas`&&cO(`fa`,t)}var lO=ZD.styles,uO=ZD.shims,dO=Object.keys(_D),fO=dO.reduce(function(e,t){return e[t]=Object.keys(_D[t]),e},{}),pO=null,mO={},hO={},gO={},_O={},vO={};function yO(e){return~wD.indexOf(e)}function bO(e,t){var n=t.split(`-`),r=n[0],i=n.slice(1).join(`-`);return r===e&&i!==``&&!yO(i)?i:null}var xO=function(){var e=function(e){return aO(lO,function(t,n,r){return t[r]=aO(n,e,{}),t},{})};mO=e(function(e,t,n){return t[3]&&(e[t[3]]=n),t[2]&&t[2].filter(function(e){return typeof e==`number`}).forEach(function(t){e[t.toString(16)]=n}),e}),hO=e(function(e,t,n){return e[n]=n,t[2]&&t[2].filter(function(e){return typeof e==`string`}).forEach(function(t){e[t]=n}),e}),vO=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t=`far`in lO||Q.autoFetchSvg,n=aO(uO,function(e,n){var r=n[0],i=n[1],a=n[2];return i===`far`&&!t&&(i=`fas`),typeof r==`string`&&(e.names[r]={prefix:i,iconName:a}),typeof r==`number`&&(e.unicodes[r.toString(16)]={prefix:i,iconName:a}),e},{names:{},unicodes:{}});gO=n.names,_O=n.unicodes,pO=AO(Q.styleDefault,{family:Q.familyDefault})};jD(function(e){pO=AO(e.styleDefault,{family:Q.familyDefault})}),xO();function SO(e,t){return(mO[e]||{})[t]}function CO(e,t){return(hO[e]||{})[t]}function wO(e,t){return(vO[e]||{})[t]}function TO(e){return gO[e]||{prefix:null,iconName:null}}function EO(e){var t=_O[e],n=SO(`fas`,e);return t||(n?{prefix:`fas`,iconName:n}:null)||{prefix:null,iconName:null}}function DO(){return pO}var OO=function(){return{prefix:null,iconName:null,rest:[]}};function kO(e){var t=UT,n=dO.reduce(function(e,t){return e[t]=`${Q.cssPrefix}-${t}`,e},{});return DE.forEach(function(r){(e.includes(n[r])||e.some(function(e){return fO[r].includes(e)}))&&(t=r)}),t}function AO(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).family,n=t===void 0?UT:t,r=pD[n][e];if(n===WT&&!e)return`fad`;var i=hD[n][e]||hD[n][r],a=e in ZD.styles?e:null;return i||a||null}function jO(e){var t=[],n=null;return e.forEach(function(e){var r=bO(Q.cssPrefix,e);r?n=r:e&&t.push(e)}),{iconName:n,rest:t}}function MO(e){return e.sort().filter(function(e,t,n){return n.indexOf(e)===t})}var NO=GE.concat(ME);function PO(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).skipLookups,n=t===void 0?!1:t,r=null,i=MO(e.filter(function(e){return NO.includes(e)})),a=MO(e.filter(function(e){return!NO.includes(e)})),o=yT(i.filter(function(e){return r=e,!HT.includes(e)}),1)[0],s=o===void 0?null:o,c=kO(i),l=X(X({},jO(a)),{},{prefix:AO(s,{family:c})});return X(X(X({},l),RO({values:e,family:c,styles:lO,config:Q,canonical:l,givenPrefix:r})),FO(n,r,l))}function FO(e,t,n){var r=n.prefix,i=n.iconName;if(e||!r||!i)return{prefix:r,iconName:i};var a=t===`fa`?TO(i):{},o=wO(r,i);return i=a.iconName||o||i,r=a.prefix||r,r===`far`&&!lO.far&&lO.fas&&!Q.autoFetchSvg&&(r=`fas`),{prefix:r,iconName:i}}var IO=DE.filter(function(e){return e!==UT||e!==WT}),LO=Object.keys(WE).filter(function(e){return e!==UT}).map(function(e){return Object.keys(WE[e])}).flat();function RO(e){var t=e.values,n=e.family,r=e.canonical,i=e.givenPrefix,a=i===void 0?``:i,o=e.styles,s=o===void 0?{}:o,c=e.config,l=c===void 0?{}:c,u=n===WT,d=t.includes(`fa-duotone`)||t.includes(`fad`),f=l.familyDefault===`duotone`,p=r.prefix===`fad`||r.prefix===`fa-duotone`;return!u&&(d||f||p)&&(r.prefix=`fad`),(t.includes(`fa-brands`)||t.includes(`fab`))&&(r.prefix=`fab`),!r.prefix&&IO.includes(n)&&(Object.keys(s).find(function(e){return LO.includes(e)})||l.autoFetchSvg)&&(r.prefix=AE.get(n).defaultShortPrefixId,r.iconName=wO(r.prefix,r.iconName)||r.iconName),(r.prefix===`fa`||a===`fa`)&&(r.prefix=DO()||`fas`),r}var zO=function(){function e(){uT(this,e),this.definitions={}}return fT(e,[{key:`add`,value:function(){var e=this,t=[...arguments].reduce(this._pullDefinitions,{});Object.keys(t).forEach(function(n){e.definitions[n]=X(X({},e.definitions[n]||{}),t[n]),cO(n,t[n]);var r=_D[UT][n];r&&cO(r,t[n]),xO()})}},{key:`reset`,value:function(){this.definitions={}}},{key:`_pullDefinitions`,value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var r=n[t],i=r.prefix,a=r.iconName,o=r.icon,s=o[2];e[i]||(e[i]={}),s.length>0&&s.forEach(function(t){typeof t==`string`&&(e[i][t]=o)}),e[i][a]=o}),e}}])}(),BO=[],VO={},HO={},UO=Object.keys(HO);function WO(e,t){var n=t.mixoutsTo;return BO=e,VO={},Object.keys(HO).forEach(function(e){UO.indexOf(e)===-1&&delete HO[e]}),BO.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){typeof t[e]==`function`&&(n[e]=t[e]),CT(t[e])===`object`&&Object.keys(t[e]).forEach(function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]})}),e.hooks){var r=e.hooks();Object.keys(r).forEach(function(e){VO[e]||(VO[e]=[]),VO[e].push(r[e])})}e.provides&&e.provides(HO)}),n}function GO(e,t){var n=[...arguments].slice(2);return(VO[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(n))}),t}function KO(e){var t=[...arguments].slice(1);(VO[e]||[]).forEach(function(e){e.apply(null,t)})}function qO(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return HO[e]?HO[e].apply(null,t):void 0}function JO(e){e.prefix===`fa`&&(e.prefix=`fas`);var t=e.iconName,n=e.prefix||DO();if(t)return t=wO(n,t)||t,rO(YO.definitions,n,t)||rO(ZD.styles,n,t)}var YO=new zO,XO={noAuto:function(){Q.autoReplaceSvg=!1,Q.observeMutations=!1,KO(`noAuto`)},config:Q,dom:{i2svg:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return FT?(KO(`beforeI2svg`,e),qO(`pseudoElements2svg`,e),qO(`i2svg`,e)):Promise.reject(Error(`Operation requires a DOM of some kind.`))},watch:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.autoReplaceSvgRoot;Q.autoReplaceSvg===!1&&(Q.autoReplaceSvg=!0),Q.observeMutations=!0,tO(function(){ZO({autoReplaceSvgRoot:t}),KO(`watch`,e)})}},parse:{icon:function(e){if(e===null)return null;if(CT(e)===`object`&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:wO(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){var t=e[1].indexOf(`fa-`)===0?e[1].slice(3):e[1],n=AO(e[0]);return{prefix:n,iconName:wO(n,t)||t}}if(typeof e==`string`&&(e.indexOf(`${Q.cssPrefix}-`)>-1||e.match(yD))){var r=PO(e.split(` `),{skipLookups:!0});return{prefix:r.prefix||DO(),iconName:wO(r.prefix,r.iconName)||r.iconName}}if(typeof e==`string`){var i=DO();return{prefix:i,iconName:wO(i,e)||e}}}},library:YO,findIconDefinition:JO,toHtml:nO},ZO=function(){var e=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).autoReplaceSvgRoot,t=e===void 0?Z:e;(Object.keys(ZD.styles).length>0||Q.autoFetchSvg)&&FT&&Q.autoReplaceSvg&&XO.dom.i2svg({node:t})};function QO(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return nO(e)})}}),Object.defineProperty(e,"node",{get:function(){if(FT){var t=Z.createElement(`div`);return t.innerHTML=e.html,t.children}}}),e}function $O(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(HD(o)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=VD(X(X({},a),{},{"transform-origin":`${s.x+o.x/16}em ${s.y+o.y/16}em`}))}return[{tag:`svg`,attributes:i,children:t}]}function ek(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?`${t}-${Q.cssPrefix}-${n}`:a;return[{tag:`svg`,attributes:{style:`display: none;`},children:[{tag:`symbol`,attributes:X(X({},i),{},{id:o}),children:r}]}]}function tk(e){return[`aria-label`,`aria-labelledby`,`title`,`role`].some(function(t){return t in e})}function nk(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,s=e.symbol,c=e.maskId,l=e.extra,u=e.watchable,d=u===void 0?!1:u,f=r.found?r:n,p=f.width,m=f.height,h=[Q.replacementClass,a?`${Q.cssPrefix}-${a}`:``].filter(function(e){return l.classes.indexOf(e)===-1}).filter(function(e){return e!==``||!!e}).concat(l.classes).join(` `),g={children:[],attributes:X(X({},l.attributes),{},{"data-prefix":i,"data-icon":a,class:h,role:l.attributes.role||`img`,viewBox:`0 0 ${p} ${m}`})};!tk(l.attributes)&&!l.attributes[`aria-hidden`]&&(g.attributes[`aria-hidden`]=`true`),d&&(g.attributes[tD]=``);var _=X(X({},g),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:s,styles:X({},l.styles)}),v=r.found&&n.found?qO(`generateAbstractMask`,_)||{children:[],attributes:{}}:qO(`generateAbstractIcon`,_)||{children:[],attributes:{}},y=v.children,b=v.attributes;return _.children=y,_.attributes=b,s?ek(_):$O(_)}function rk(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.extra,o=e.watchable,s=o===void 0?!1:o,c=X(X({},a.attributes),{},{class:a.classes.join(` `)});s&&(c[tD]=``);var l=X({},a.styles);HD(i)&&(l.transform=WD({transform:i,startCentered:!0,width:n,height:r}),l[`-webkit-transform`]=l.transform);var u=VD(l);u.length>0&&(c.style=u);var d=[];return d.push({tag:`span`,attributes:c,children:[t]}),d}function ik(e){var t=e.content,n=e.extra,r=X(X({},n.attributes),{},{class:n.classes.join(` `)}),i=VD(n.styles);i.length>0&&(r.style=i);var a=[];return a.push({tag:`span`,attributes:r,children:[t]}),a}var ak=ZD.styles;function ok(e){var t=e[0],n=e[1],r=yT(e.slice(4),1)[0],i=null;return i=Array.isArray(r)?{tag:`g`,attributes:{class:`${Q.cssPrefix}-${CD.GROUP}`},children:[{tag:`path`,attributes:{class:`${Q.cssPrefix}-${CD.SECONDARY}`,fill:`currentColor`,d:r[0]}},{tag:`path`,attributes:{class:`${Q.cssPrefix}-${CD.PRIMARY}`,fill:`currentColor`,d:r[1]}}]}:{tag:`path`,attributes:{fill:`currentColor`,d:r}},{found:!0,width:t,height:n,icon:i}}var sk={found:!1,width:512,height:512};function ck(e,t){!uD&&!Q.showMissingIcons&&e&&console.error(`Icon with name "${e}" and prefix "${t}" is missing.`)}function lk(e,t){var n=t;return t===`fa`&&Q.styleDefault!==null&&(t=DO()),new Promise(function(r,i){if(n===`fa`){var a=TO(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&ak[t]&&ak[t][e]){var o=ak[t][e];return r(ok(o))}ck(e,t),r(X(X({},sk),{},{icon:Q.showMissingIcons&&e&&qO(`missingIconAbstract`)||{}}))})}var uk=function(){},dk=Q.measurePerformance&&PT&&PT.mark&&PT.measure?PT:{mark:uk,measure:uk},fk=`FA "7.2.0"`,pk=function(e){return dk.mark(`${fk} ${e} begins`),function(){return mk(e)}},mk=function(e){dk.mark(`${fk} ${e} ends`),dk.measure(`${fk} ${e}`,`${fk} ${e} begins`,`${fk} ${e} ends`)},hk={begin:pk,end:mk},gk=function(){};function _k(e){return typeof(e.getAttribute?e.getAttribute(tD):null)==`string`}function vk(e){var t=e.getAttribute?e.getAttribute(iD):null,n=e.getAttribute?e.getAttribute(aD):null;return t&&n}function yk(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Q.replacementClass)}function bk(){return Q.autoReplaceSvg===!0?Tk.replace:Tk[Q.autoReplaceSvg]||Tk.replace}function xk(e){return Z.createElementNS(`http://www.w3.org/2000/svg`,e)}function Sk(e){return Z.createElement(e)}function Ck(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).ceFn,n=t===void 0?e.tag===`svg`?xk:Sk:t;if(typeof e==`string`)return Z.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){r.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){r.appendChild(Ck(e,{ceFn:n}))}),r}function wk(e){var t=` ${e.outerHTML} `;return t=`${t}Font Awesome fontawesome.com `,t}var Tk={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(Ck(e),t)}),t.getAttribute(tD)===null&&Q.keepOriginalSource){var n=Z.createComment(wk(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~RD(t).indexOf(Q.replacementClass))return Tk.replace(e);var r=RegExp(`${Q.cssPrefix}-.*`);if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(` `).reduce(function(e,t){return t===Q.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(` `),i.toNode.length===0?t.removeAttribute(`class`):t.setAttribute(`class`,i.toNode.join(` `))}var a=n.map(function(e){return nO(e)}).join(`
|
|
570
|
-
`);t.setAttribute(
|
|
571
|
-
`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function
|
|
572
|
-
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`)}}}catch(e){i.e(e)}finally{i.f()}if(!r.size)return;var p=Array.from(r).join(`, `);try{n=e.querySelectorAll(p)}catch{}}return new Promise(function(e,t){var r=LD(n).filter(oA).map(aA),i=hk.begin(`searchPseudoElements`);kk(),Promise.all(r).then(function(){i(),Ak(),e()}).catch(function(){i(),Ak(),t()})})}}var uA={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=lA,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=t===void 0?Z:t;Q.searchPseudoElements&&lA(n)}}},dA=!1,fA={mixout:function(){return{dom:{unwatch:function(){kk(),dA=!0}}}},hooks:function(){return{bootstrap:function(){Mk(GO(`mutationObserverCallbacks`,{}))},noAuto:function(){Nk()},watch:function(e){var t=e.observeMutationsRoot;dA?Ak():Mk(GO(`mutationObserverCallbacks`,{observeMutationsRoot:t}))}}}},pA=function(e){return e.toLowerCase().split(` `).reduce(function(e,t){var n=t.toLowerCase().split(`-`),r=n[0],i=n.slice(1).join(`-`);if(r&&i===`h`)return e.flipX=!0,e;if(r&&i===`v`)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case`grow`:e.size+=i;break;case`shrink`:e.size-=i;break;case`left`:e.x-=i;break;case`right`:e.x+=i;break;case`up`:e.y-=i;break;case`down`:e.y+=i;break;case`rotate`:e.rotate+=i;break}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},mA={mixout:function(){return{parse:{transform:function(e){return pA(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute(`data-fa-transform`);return n&&(e.transform=pA(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,a={outer:{transform:`translate(${r/2} 256)`},inner:{transform:`${`translate(${n.x*32}, ${n.y*32}) `} ${`scale(${n.size/16*(n.flipX?-1:1)}, ${n.size/16*(n.flipY?-1:1)}) `} ${`rotate(${n.rotate} 0 0)`}`},path:{transform:`translate(${i/2*-1} -256)`}};return{tag:`g`,attributes:X({},a.outer),children:[{tag:`g`,attributes:X({},a.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:X(X({},t.icon.attributes),a.path)}]}]}}}},hA={x:0,y:0,width:`100%`,height:`100%`};function gA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill=`black`),e}function _A(e){return e.tag===`g`?e.children:[e]}WO([YD,Kk,qk,Jk,Yk,uA,fA,mA,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute(`data-fa-mask`),r=n?PO(n.split(` `).map(function(e){return e.trim()})):OO();return r.prefix||=DO(),e.mask=r,e.maskId=t.getAttribute(`data-fa-mask-id`),e}}},provides:function(e){e.generateAbstractMask=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.mask,a=e.maskId,o=e.transform,s=r.width,c=r.icon,l=i.width,u=i.icon,d=UD({transform:o,containerWidth:l,iconWidth:s}),f={tag:`rect`,attributes:X(X({},hA),{},{fill:`white`})},p=c.children?{children:c.children.map(gA)}:{},m={tag:`g`,attributes:X({},d.inner),children:[gA(X({tag:c.tag,attributes:X(X({},c.attributes),d.path)},p))]},h={tag:`g`,attributes:X({},d.outer),children:[m]},g=`mask-${a||ID()}`,_=`clip-${a||ID()}`,v={tag:`mask`,attributes:X(X({},hA),{},{id:g,maskUnits:`userSpaceOnUse`,maskContentUnits:`userSpaceOnUse`}),children:[f,h]},y={tag:`defs`,children:[{tag:`clipPath`,attributes:{id:_},children:_A(u)},v]};return t.push(y,{tag:`rect`,attributes:X({fill:`currentColor`,"clip-path":`url(#${_})`,mask:`url(#${g})`},hA)}),{children:t,attributes:n}}}},{provides:function(e){var t=!1;MT.matchMedia&&(t=MT.matchMedia(`(prefers-reduced-motion: reduce)`).matches),e.missingIconAbstract=function(){var e=[],n={fill:`currentColor`},r={attributeType:`XML`,repeatCount:`indefinite`,dur:`2s`};e.push({tag:`path`,attributes:X(X({},n),{},{d:`M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z`})});var i=X(X({},r),{},{attributeName:`opacity`}),a={tag:`circle`,attributes:X(X({},n),{},{cx:`256`,cy:`364`,r:`28`}),children:[]};return t||a.children.push({tag:`animate`,attributes:X(X({},r),{},{attributeName:`r`,values:`28;14;28;28;14;28;`})},{tag:`animate`,attributes:X(X({},i),{},{values:`1;0;1;1;0;1;`})}),e.push(a),e.push({tag:`path`,attributes:X(X({},n),{},{opacity:`1`,d:`M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z`}),children:t?[]:[{tag:`animate`,attributes:X(X({},i),{},{values:`1;0;0;0;0;1;`})}]}),t||e.push({tag:`path`,attributes:X(X({},n),{},{opacity:`0`,d:`M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z`}),children:[{tag:`animate`,attributes:X(X({},i),{},{values:`0;0;1;1;0;0;`})}]}),{tag:`g`,attributes:{class:`missing`},children:e}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute(`data-fa-symbol`);return e.symbol=n===null?!1:n===``?!0:n,e}}}}],{mixoutsTo:XO}),XO.noAuto;var vA=XO.config,yA=XO.library;XO.dom;var bA=XO.parse;XO.findIconDefinition,XO.toHtml;var xA=XO.icon;XO.layer;var SA=XO.text;XO.counter;var CA={prefix:`fab`,iconName:`qq`,icon:[448,512,[],`f1d6`,`M433.754 420.445c-11.526 1.393-44.86-52.741-44.86-52.741 0 31.345-16.136 72.247-51.051 101.786 16.842 5.192 54.843 19.167 45.803 34.421-7.316 12.343-125.51 7.881-159.632 4.037-34.122 3.844-152.316 8.306-159.632-4.037-9.045-15.25 28.918-29.214 45.783-34.415-34.92-29.539-51.059-70.445-51.059-101.792 0 0-33.334 54.134-44.859 52.741-5.37-.65-12.424-29.644 9.347-99.704 10.261-33.024 21.995-60.478 40.144-105.779C60.683 98.063 108.982.006 224 0c113.737.006 163.156 96.133 160.264 214.963 18.118 45.223 29.912 72.85 40.144 105.778 21.768 70.06 14.716 99.053 9.346 99.704z`]},wA={prefix:`fab`,iconName:`edge`,icon:[512,512,[],`f282`,`M120.1 37.44C161.1 12.23 207.7-.7753 255 .0016C423 .0016 512 123.8 512 219.5C511.9 252.2 499 283.4 476.1 306.7C453.2 329.9 422.1 343.2 389.4 343.7C314.2 343.7 297.9 320.6 297.9 311.7C297.9 307.9 299.1 305.5 302.7 302.3L303.7 301.1L304.1 299.5C314.6 288 320 273.3 320 257.9C320 179.2 237.8 115.2 136 115.2C98.46 114.9 61.46 124.1 28.48 142.1C55.48 84.58 111.2 44.5 119.8 38.28C120.6 37.73 120.1 37.44 120.1 37.44V37.44zM135.7 355.5C134.3 385.5 140.3 415.5 152.1 442.7C165.7 469.1 184.8 493.7 208.6 512C149.1 500.5 97.11 468.1 59.2 422.7C21.12 376.3 0 318.4 0 257.9C0 206.7 62.4 163.5 136 163.5C172.6 162.9 208.4 174.4 237.8 196.2L234.2 197.4C182.7 215 135.7 288.1 135.7 355.5V355.5zM469.8 400L469.1 400.1C457.3 418.9 443.2 435.2 426.9 449.6C396.1 477.6 358.8 495.1 318.1 499.5C299.5 499.8 281.3 496.3 264.3 488.1C238.7 477.8 217.2 458.1 202.7 435.1C188.3 411.2 181.6 383.4 183.7 355.5C183.1 335.4 189.1 315.2 198.7 297.3C212.6 330.4 236.2 358.6 266.3 378.1C296.4 397.6 331.8 407.6 367.7 406.7C398.7 407 429.8 400 457.9 386.2L459.8 385.3C463.7 383 467.5 381.4 471.4 385.3C475.9 390.2 473.2 394.5 470.2 399.3C470 399.5 469.9 399.8 469.8 400V400z`]},TA={prefix:`fab`,iconName:`weixin`,icon:[576,512,[],`f1d7`,`M385.2 167.6c6.4 0 12.6.3 18.8 1.1C387.4 90.3 303.3 32 207.7 32 100.5 32 13 104.8 13 197.4c0 53.4 29.3 97.5 77.9 131.6l-19.3 58.6 68-34.1c24.4 4.8 43.8 9.7 68.2 9.7 6.2 0 12.1-.3 18.3-.8-4-12.9-6.2-26.6-6.2-40.8-.1-84.9 72.9-154 165.3-154zm-104.5-52.9c14.5 0 24.2 9.7 24.2 24.4 0 14.5-9.7 24.2-24.2 24.2-14.8 0-29.3-9.7-29.3-24.2.1-14.7 14.6-24.4 29.3-24.4zm-136.4 48.6c-14.5 0-29.3-9.7-29.3-24.2 0-14.8 14.8-24.4 29.3-24.4 14.8 0 24.4 9.7 24.4 24.4 0 14.6-9.6 24.2-24.4 24.2zM563 319.4c0-77.9-77.9-141.3-165.4-141.3-92.7 0-165.4 63.4-165.4 141.3S305 460.7 397.6 460.7c19.3 0 38.9-5.1 58.6-9.9l53.4 29.3-14.8-48.6C534 402.1 563 363.2 563 319.4zm-219.1-24.5c-9.7 0-19.3-9.7-19.3-19.6 0-9.7 9.7-19.3 19.3-19.3 14.8 0 24.4 9.7 24.4 19.3 0 10-9.7 19.6-24.4 19.6zm107.1 0c-9.7 0-19.3-9.7-19.3-19.6 0-9.7 9.7-19.3 19.3-19.3 14.5 0 24.4 9.7 24.4 19.3.1 10-9.9 19.6-24.4 19.6z`]},EA={prefix:`fab`,iconName:`windows`,icon:[448,512,[],`f17a`,`M0 93.7l183.6-25.3v177.4H0V93.7zm0 324.6l183.6 25.3V268.4H0v149.9zm203.8 28L448 480V268.4H203.8v177.9zm0-380.6v180.1H448V32L203.8 65.7z`]},DA={prefix:`fab`,iconName:`discord`,icon:[640,512,[],`f392`,`M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z`]},OA={prefix:`fab`,iconName:`chrome`,icon:[512,512,[],`f268`,`M0 256C0 209.4 12.47 165.6 34.27 127.1L144.1 318.3C166 357.5 207.9 384 256 384C270.3 384 283.1 381.7 296.8 377.4L220.5 509.6C95.9 492.3 0 385.3 0 256zM365.1 321.6C377.4 302.4 384 279.1 384 256C384 217.8 367.2 183.5 340.7 160H493.4C505.4 189.6 512 222.1 512 256C512 397.4 397.4 511.1 256 512L365.1 321.6zM477.8 128H256C193.1 128 142.3 172.1 130.5 230.7L54.19 98.47C101 38.53 174 0 256 0C350.8 0 433.5 51.48 477.8 128V128zM168 256C168 207.4 207.4 168 256 168C304.6 168 344 207.4 344 256C344 304.6 304.6 344 256 344C207.4 344 168 304.6 168 256z`]},kA={prefix:`fab`,iconName:`apple`,icon:[384,512,[],`f179`,`M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z`]},AA={prefix:`fab`,iconName:`x-twitter`,icon:[512,512,[],`e61b`,`M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z`]},jA={prefix:`fab`,iconName:`tiktok`,icon:[448,512,[],`e07b`,`M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z`]},MA={prefix:`fab`,iconName:`linkedin`,icon:[448,512,[],`f08c`,`M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z`]},NA={prefix:`fab`,iconName:`instagram`,icon:[448,512,[],`f16d`,`M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z`]},PA={prefix:`fab`,iconName:`facebook`,icon:[512,512,[62e3],`f09a`,`M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z`]},FA={prefix:`fab`,iconName:`whatsapp`,icon:[448,512,[],`f232`,`M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z`]},IA={prefix:`fab`,iconName:`google-play`,icon:[512,512,[],`f3ab`,`M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z`]},LA={prefix:`fab`,iconName:`line`,icon:[512,512,[],`f3c0`,`M311 196.8v81.3c0 2.1-1.6 3.7-3.7 3.7h-13c-1.3 0-2.4-.7-3-1.5l-37.3-50.3v48.2c0 2.1-1.6 3.7-3.7 3.7h-13c-2.1 0-3.7-1.6-3.7-3.7V196.9c0-2.1 1.6-3.7 3.7-3.7h12.9c1.1 0 2.4 .6 3 1.6l37.3 50.3V196.9c0-2.1 1.6-3.7 3.7-3.7h13c2.1-.1 3.8 1.6 3.8 3.5zm-93.7-3.7h-13c-2.1 0-3.7 1.6-3.7 3.7v81.3c0 2.1 1.6 3.7 3.7 3.7h13c2.1 0 3.7-1.6 3.7-3.7V196.8c0-1.9-1.6-3.7-3.7-3.7zm-31.4 68.1H150.3V196.8c0-2.1-1.6-3.7-3.7-3.7h-13c-2.1 0-3.7 1.6-3.7 3.7v81.3c0 1 .3 1.8 1 2.5c.7 .6 1.5 1 2.5 1h52.2c2.1 0 3.7-1.6 3.7-3.7v-13c0-1.9-1.6-3.7-3.5-3.7zm193.7-68.1H327.3c-1.9 0-3.7 1.6-3.7 3.7v81.3c0 1.9 1.6 3.7 3.7 3.7h52.2c2.1 0 3.7-1.6 3.7-3.7V265c0-2.1-1.6-3.7-3.7-3.7H344V247.7h35.5c2.1 0 3.7-1.6 3.7-3.7V230.9c0-2.1-1.6-3.7-3.7-3.7H344V213.5h35.5c2.1 0 3.7-1.6 3.7-3.7v-13c-.1-1.9-1.7-3.7-3.7-3.7zM512 93.4V419.4c-.1 51.2-42.1 92.7-93.4 92.6H92.6C41.4 511.9-.1 469.8 0 418.6V92.6C.1 41.4 42.2-.1 93.4 0H419.4c51.2 .1 92.7 42.1 92.6 93.4zM441.6 233.5c0-83.4-83.7-151.3-186.4-151.3s-186.4 67.9-186.4 151.3c0 74.7 66.3 137.4 155.9 149.3c21.8 4.7 19.3 12.7 14.4 42.1c-.8 4.7-3.8 18.4 16.1 10.1s107.3-63.2 146.5-108.2c27-29.7 39.9-59.8 39.9-93.1z`]},RA={prefix:`fab`,iconName:`android`,icon:[576,512,[],`f17b`,`M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55`]},zA={prefix:`fab`,iconName:`github`,icon:[496,512,[],`f09b`,`M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z`]},BA={prefix:`fab`,iconName:`youtube`,icon:[576,512,[61802],`f167`,`M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z`]},VA={prefix:`fab`,iconName:`telegram`,icon:[496,512,[62462,`telegram-plane`],`f2c6`,`M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z`]};yA.add(DA,TA);function HA(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function UA(e,t,n=`.`,r){if(!HA(t))return UA(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:HA(a)&&HA(i[t])?i[t]=UA(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function WA(e){return(...t)=>t.reduce((t,n)=>UA(t,n,``,e),{})}var GA=WA();function KA(e){return Ce()?(Te(e),!0):!1}var qA=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var JA=e=>e!=null,YA=Object.prototype.toString,XA=e=>YA.call(e)===`[object Object]`,ZA=()=>{};function QA(e){return Array.isArray(e)?e:[e]}function $A(e){return e||o()}function ej(e,t){$A(t)&&r(e,t)}function tj(e,t,n){return N(e,t,{...n,immediate:!0})}var nj=qA?window:void 0;qA&&window.document,qA&&window.navigator,qA&&window.location;function rj(e){let t=a(e);return t?.$el??t}function ij(...e){let t=[],n=()=>{t.forEach(e=>e()),t.length=0},r=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),i=I(()=>{let t=QA(a(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),o=tj(()=>[i.value?.map(e=>rj(e))??[nj].filter(e=>e!=null),QA(a(i.value?e[1]:e[0])),QA(w(i.value?e[2]:e[1])),a(i.value?e[3]:e[2])],([e,i,a,o])=>{if(n(),!e?.length||!i?.length||!a?.length)return;let s=XA(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return KA(n),()=>{o(),n()}}function aj(){let e=f(!1),t=o();return t&&O(()=>{e.value=!0},t),e}function oj(e){let t=aj();return I(()=>(t.value,!!e()))}function sj(e,t,n={}){let{root:r,rootMargin:i=`0px`,threshold:o=0,window:s=nj,immediate:c=!0}=n,l=oj(()=>s&&`IntersectionObserver`in s),u=I(()=>QA(a(e)).map(rj).filter(JA)),d=ZA,p=f(c),m=l.value?N(()=>[u.value,rj(r),p.value],([e,n])=>{if(d(),!p.value||!e.length)return;let r=new IntersectionObserver(t,{root:rj(n),rootMargin:i,threshold:o});e.forEach(e=>e&&r.observe(e)),d=()=>{r.disconnect(),d=ZA}},{immediate:c,flush:`post`}):ZA,h=()=>{d(),m(),p.value=!1};return KA(h),{isSupported:l,isActive:p,pause(){d(),p.value=!1},resume(){p.value=!0},stop:h}}var cj=1/60*1e3,lj=typeof performance<`u`?()=>performance.now():()=>Date.now(),uj=typeof window<`u`?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(lj()),cj);function dj(e){let t=[],n=[],r=0,i=!1,a=!1,o=new WeakSet,s={schedule:(e,a=!1,s=!1)=>{let c=s&&i,l=c?t:n;return a&&o.add(e),l.indexOf(e)===-1&&(l.push(e),c&&i&&(r=t.length)),e},cancel:e=>{let t=n.indexOf(e);t!==-1&&n.splice(t,1),o.delete(e)},process:c=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){let r=t[n];r(c),o.has(r)&&(s.schedule(r),e())}i=!1,a&&(a=!1,s.process(c))}};return s}var fj=40,pj=!0,mj=!1,hj=!1,gj={delta:0,timestamp:0},_j=[`read`,`update`,`preRender`,`render`,`postRender`],vj=_j.reduce((e,t)=>(e[t]=dj(()=>mj=!0),e),{}),yj=_j.reduce((e,t)=>{let n=vj[t];return e[t]=(e,t=!1,r=!1)=>(mj||Cj(),n.schedule(e,t,r)),e},{}),bj=_j.reduce((e,t)=>(e[t]=vj[t].cancel,e),{});_j.reduce((e,t)=>(e[t]=()=>vj[t].process(gj),e),{});var xj=e=>vj[e].process(gj),Sj=e=>{mj=!1,gj.delta=pj?cj:Math.max(Math.min(e-gj.timestamp,fj),1),gj.timestamp=e,hj=!0,_j.forEach(xj),hj=!1,mj&&(pj=!1,uj(Sj))},Cj=()=>{mj=!0,pj=!0,hj||uj(Sj)},wj=()=>gj;function Tj(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var Ej=(e,t,n)=>Math.min(Math.max(n,e),t),Dj=.001,Oj=.01,kj=.05;function Aj({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a,o=1-t;o=Ej(kj,1,o),e=Ej(Oj,10,e/1e3),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Nj(t,o),c=Math.exp(-i);return Dj-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Nj(t**2,o);return(-i(t)+Dj>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Mj(i,a,s);if(e*=1e3,isNaN(c))return{stiffness:100,damping:10,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var jj=12;function Mj(e,t,n){let r=n;for(let n=1;n<jj;n++)r-=e(r)/t(r);return r}function Nj(e,t){return e*Math.sqrt(1-t*t)}var Pj=[`duration`,`bounce`],Fj=[`stiffness`,`damping`,`mass`];function Ij(e,t){return t.some(t=>e[t]!==void 0)}function Lj(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ij(e,Fj)&&Ij(e,Pj)){let n=Aj(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Rj(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,a=Tj(e,[`from`,`to`,`restSpeed`,`restDelta`]);let o={done:!1,value:t},{stiffness:s,damping:c,mass:l,velocity:u,duration:d,isResolvedFromDuration:f}=Lj(a),p=zj,m=zj;function h(){let e=u?-(u/1e3):0,r=n-t,a=c/(2*Math.sqrt(s*l)),o=Math.sqrt(s/l)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),a<1){let t=Nj(o,a);p=i=>{let s=Math.exp(-a*o*i);return n-s*((e+a*o*r)/t*Math.sin(t*i)+r*Math.cos(t*i))},m=n=>{let i=Math.exp(-a*o*n);return a*o*i*(Math.sin(t*n)*(e+a*o*r)/t+r*Math.cos(t*n))-i*(Math.cos(t*n)*(e+a*o*r)-t*r*Math.sin(t*n))}}else if(a===1)p=t=>n-Math.exp(-o*t)*(r+(e+o*r)*t);else{let t=o*Math.sqrt(a*a-1);p=i=>{let s=Math.exp(-a*o*i),c=Math.min(t*i,300);return n-s*((e+a*o*r)*Math.sinh(c)+t*r*Math.cosh(c))/t}}}return h(),{next:e=>{let t=p(e);if(f)o.done=e>=d;else{let a=m(e)*1e3,s=Math.abs(a)<=r,c=Math.abs(n-t)<=i;o.done=s&&c}return o.value=o.done?n:t,o},flipTarget:()=>{u=-u,[t,n]=[n,t],h()}}}Rj.needsInterpolation=(e,t)=>typeof e==`string`||typeof t==`string`;var zj=e=>0,Bj=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Vj=(e,t,n)=>-n*e+n*t+e,Hj=(e,t)=>n=>Math.max(Math.min(n,t),e),Uj=e=>e%1?Number(e.toFixed(5)):e,Wj=/(-)?([\d]*\.?[\d])+/g,Gj=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Kj=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function qj(e){return typeof e==`string`}var Jj={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Yj=Object.assign(Object.assign({},Jj),{transform:Hj(0,1)}),Xj=Object.assign(Object.assign({},Jj),{default:1}),Zj=e=>({test:t=>qj(t)&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Qj=Zj(`deg`),$j=Zj(`%`),$=Zj(`px`),eM=Object.assign(Object.assign({},$j),{parse:e=>$j.parse(e)/100,transform:e=>$j.transform(e*100)}),tM=(e,t)=>n=>!!(qj(n)&&Kj.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),nM=(e,t,n)=>r=>{if(!qj(r))return r;let[i,a,o,s]=r.match(Wj);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},rM={test:tM(`hsl`,`hue`),parse:nM(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+$j.transform(Uj(t))+`, `+$j.transform(Uj(n))+`, `+Uj(Yj.transform(r))+`)`},iM=Hj(0,255),aM=Object.assign(Object.assign({},Jj),{transform:e=>Math.round(iM(e))}),oM={test:tM(`rgb`,`red`),parse:nM(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+aM.transform(e)+`, `+aM.transform(t)+`, `+aM.transform(n)+`, `+Uj(Yj.transform(r))+`)`};function sM(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var cM={test:tM(`#`),parse:sM,transform:oM.transform},lM={test:e=>oM.test(e)||cM.test(e)||rM.test(e),parse:e=>oM.test(e)?oM.parse(e):rM.test(e)?rM.parse(e):cM.parse(e),transform:e=>qj(e)?e:e.hasOwnProperty(`red`)?oM.transform(e):rM.transform(e)},uM="${c}",dM="${n}";function fM(e){return isNaN(e)&&qj(e)&&(e.match(Wj)?.length??0)+(e.match(Gj)?.length??0)>0}function pM(e){typeof e==`number`&&(e=`${e}`);let t=[],n=0,r=e.match(Gj);r&&(n=r.length,e=e.replace(Gj,uM),t.push(...r.map(lM.parse)));let i=e.match(Wj);return i&&(e=e.replace(Wj,dM),t.push(...i.map(Jj.parse))),{values:t,numColors:n,tokenised:e}}function mM(e){return pM(e).values}function hM(e){let{values:t,numColors:n,tokenised:r}=pM(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=t.replace(r<n?uM:dM,r<n?lM.transform(e[r]):Uj(e[r]));return t}}var gM=e=>typeof e==`number`?0:e;function _M(e){let t=mM(e);return hM(e)(t.map(gM))}var vM={test:fM,parse:mM,createTransformer:hM,getAnimatableNone:_M},yM=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function bM(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Wj)||[];if(!r)return e;let i=n.replace(r,``),a=+!!yM.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var xM=/([a-z-]*)\(.*?\)/g,SM=Object.assign(Object.assign({},vM),{getAnimatableNone:e=>{let t=e.match(xM);return t?t.map(bM).join(` `):e}});function CM(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function wM({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=CM(s,r,e+1/3),a=CM(s,r,e),o=CM(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}var TM=(e,t,n)=>{let r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},EM=[cM,oM,rM],DM=e=>EM.find(t=>t.test(e)),OM=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,kM=(e,t)=>{let n=DM(e),r=DM(t);OM(e),OM(t);let i=n.parse(e),a=r.parse(t);n===rM&&(i=wM(i),n=oM),r===rM&&(a=wM(a),r=oM);let o=Object.assign({},i);return e=>{for(let t in o)t!==`alpha`&&(o[t]=TM(i[t],a[t],e));return o.alpha=Vj(i.alpha,a.alpha,e),n.transform(o)}},AM=e=>typeof e==`number`,jM=(e,t)=>n=>t(e(n)),MM=(...e)=>e.reduce(jM);function NM(e,t){return AM(e)?n=>Vj(e,t,n):lM.test(e)?kM(e,t):LM(e,t)}var PM=(e,t)=>{let n=[...e],r=n.length,i=e.map((e,n)=>NM(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},FM=(e,t)=>{let n=Object.assign(Object.assign({},e),t),r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=NM(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}};function IM(e){let t=vM.parse(e),n=t.length,r=0,i=0,a=0;for(let e=0;e<n;e++)r||typeof t[e]==`number`?r++:t[e].hue===void 0?i++:a++;return{parsed:t,numNumbers:r,numRGB:i,numHSL:a}}var LM=(e,t)=>{let n=vM.createTransformer(t),r=IM(e),i=IM(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?MM(PM(r.parsed,i.parsed),n):(`${e}${t}`,n=>`${n>0?t:e}`)},RM=(e,t)=>n=>Vj(e,t,n);function zM(e){if(typeof e==`number`)return RM;if(typeof e==`string`)return lM.test(e)?kM:LM;if(Array.isArray(e))return PM;if(typeof e==`object`)return FM}function BM(e,t,n){let r=[],i=n||zM(e[0]),a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=MM(Array.isArray(t)?t[n]:t,a)),r.push(a)}return r}function VM([e,t],[n]){return r=>n(Bj(e,t,r))}function HM(e,t){let n=e.length,r=n-1;return i=>{let a=0,o=!1;if(i<=e[0]?o=!0:i>=e[r]&&(a=r-1,o=!0),!o){let t=1;for(;t<n&&!(e[t]>i||t===r);t++);a=t-1}let s=Bj(e[a],e[a+1],i);return t[a](s)}}function UM(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;t.length,!r||!Array.isArray(r)||(r.length,a-1),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());let o=BM(t,r,i),s=a===2?VM(e,o):HM(e,o);return n?t=>s(Ej(e[0],e[a-1],t)):s}var WM=e=>t=>1-e(1-t),GM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,KM=e=>t=>t**+e,qM=e=>t=>t*t*((e+1)*t-e),JM=e=>{let t=qM(e);return e=>(e*=2)<1?.5*t(e):.5*(2-2**(-10*(e-1)))},YM=1.525,XM=4/11,ZM=8/11,QM=9/10,$M=e=>e,eN=KM(2),tN=WM(eN),nN=GM(eN),rN=e=>1-Math.sin(Math.acos(e)),iN=WM(rN),aN=GM(iN),oN=qM(YM),sN=WM(oN),cN=GM(oN),lN=JM(YM),uN=4356/361,dN=35442/1805,fN=16061/1805,pN=e=>{if(e===1||e===0)return e;let t=e*e;return e<XM?7.5625*t:e<ZM?9.075*t-9.9*e+3.4:e<QM?uN*t-dN*e+fN:10.8*e*e-20.52*e+10.72},mN=WM(pN),hN=e=>e<.5?.5*(1-pN(1-e*2)):.5*pN(e*2-1)+.5;function gN(e,t){return e.map(()=>t||nN).splice(0,e.length-1)}function _N(e){let t=e.length;return e.map((e,n)=>n===0?0:n/(t-1))}function vN(e,t){return e.map(e=>e*t)}function yN({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){let a={done:!1,value:e},o=Array.isArray(t)?t:[e,t],s=vN(r&&r.length===o.length?r:_N(o),i);function c(){return UM(s,o,{ease:Array.isArray(n)?n:gN(o,n)})}let l=c();return{next:e=>(a.value=l(e),a.done=e>=i,a),flipTarget:()=>{o.reverse(),l=c()}}}function bN({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:a}){let o={done:!1,value:t},s=n*e,c=t+s,l=a===void 0?c:a(c);return l!==c&&(s=l-t),{next:e=>{let t=-s*Math.exp(-e/r);return o.done=!(t>i||t<-i),o.value=o.done?l:l+t,o},flipTarget:()=>{}}}var xN={keyframes:yN,spring:Rj,decay:bN};function SN(e){if(Array.isArray(e.to))return yN;if(xN[e.type])return xN[e.type];let t=new Set(Object.keys(e));return t.has(`ease`)||t.has(`duration`)&&!t.has(`dampingRatio`)?yN:t.has(`dampingRatio`)||t.has(`stiffness`)||t.has(`mass`)||t.has(`damping`)||t.has(`restSpeed`)||t.has(`restDelta`)?Rj:yN}function CN(e,t,n=0){return e-t-n}function wN(e,t,n=0,r=!0){return r?CN(t+-e,t,n):t-(e-t)+n}function TN(e,t,n,r){return r?e>=t+n:e<=-n}var EN=e=>{let t=({delta:t})=>e(t);return{start:()=>yj.update(t,!0),stop:()=>bj.update(t)}};function DN(e){var t,{from:n,autoplay:r=!0,driver:i=EN,elapsed:a=0,repeat:o=0,repeatType:s=`loop`,repeatDelay:c=0,onPlay:l,onStop:u,onComplete:d,onRepeat:f,onUpdate:p}=e,m=Tj(e,[`from`,`autoplay`,`driver`,`elapsed`,`repeat`,`repeatType`,`repeatDelay`,`onPlay`,`onStop`,`onComplete`,`onRepeat`,`onUpdate`]);let{to:h}=m,g,_=0,v=m.duration,y,b=!1,x=!0,S,C=SN(m);(t=C).needsInterpolation?.call(t,n,h)&&(S=UM([0,100],[n,h],{clamp:!1}),n=0,h=100);let w=C(Object.assign(Object.assign({},m),{from:n,to:h}));function T(){_++,s===`reverse`?(x=_%2==0,a=wN(a,v,c,x)):(a=CN(a,v,c),s===`mirror`&&w.flipTarget()),b=!1,f&&f()}function E(){g.stop(),d&&d()}function D(e){if(x||(e=-e),a+=e,!b){let e=w.next(Math.max(0,a));y=e.value,S&&(y=S(y)),b=x?e.done:a<=0}p?.(y),b&&(_===0&&(v??=a),_<o?TN(a,v,c,x)&&T():E())}function ee(){l?.(),g=i(D),g.start()}return r&&ee(),{stop:()=>{u?.(),g.stop()}}}function ON(e,t){return t?1e3/t*e:0}function kN({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:a=750,bounceStiffness:o=500,bounceDamping:s=10,restDelta:c=1,modifyTarget:l,driver:u,onUpdate:d,onComplete:f,onStop:p}){let m;function h(e){return n!==void 0&&e<n||r!==void 0&&e>r}function g(e){return n===void 0?r:r===void 0||Math.abs(n-e)<Math.abs(r-e)?n:r}function _(e){m?.stop(),m=DN(Object.assign(Object.assign({},e),{driver:u,onUpdate:t=>{var n;d?.(t),(n=e.onUpdate)==null||n.call(e,t)},onComplete:f,onStop:p}))}function v(e){_(Object.assign({type:`spring`,stiffness:o,damping:s,restDelta:c},e))}if(h(e))v({from:e,velocity:t,to:g(e)});else{let r=i*t+e;l!==void 0&&(r=l(r));let o=g(r),s=o===n?-1:1,u,d;_({type:`decay`,from:e,velocity:t,timeConstant:a,power:i,restDelta:c,modifyTarget:l,onUpdate:h(r)?e=>{u=d,d=e,t=ON(e-u,wj().delta),(s===1&&e>o||s===-1&&e<o)&&v({from:e,to:o,velocity:t})}:void 0})}return{stop:()=>m?.stop()}}var AN=(e,t)=>1-3*t+3*e,jN=(e,t)=>3*t-6*e,MN=e=>3*e,NN=(e,t,n)=>((AN(t,n)*e+jN(t,n))*e+MN(t))*e,PN=(e,t,n)=>3*AN(t,n)*e*e+2*jN(t,n)*e+MN(t),FN=1e-7,IN=10;function LN(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=NN(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>FN&&++s<IN);return o}var RN=8,zN=.001;function BN(e,t,n,r){for(let i=0;i<RN;++i){let i=PN(t,n,r);if(i===0)return t;let a=NN(t,n,r)-e;t-=a/i}return t}var VN=11,HN=1/(VN-1);function UN(e,t,n,r){if(e===t&&n===r)return $M;let i=new Float32Array(VN);for(let t=0;t<VN;++t)i[t]=NN(t*HN,e,n);function a(t){let r=0,a=1,o=VN-1;for(;a!==o&&i[a]<=t;++a)r+=HN;--a;let s=(t-i[a])/(i[a+1]-i[a]),c=r+s*HN,l=PN(c,e,n);return l>=zN?BN(t,c,e,n):l===0?c:LN(t,r,r+HN,e,n)}return e=>e===0||e===1?e:NN(a(e),t,r)}var WN={},GN=class{subscriptions=new Set;add(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}notify(e,t,n){if(this.subscriptions.size)for(let r of this.subscriptions)r(e,t,n)}clear(){this.subscriptions.clear()}};function KN(e){return!Number.isNaN(Number.parseFloat(e))}var qN=class{current;prev;timeDelta=0;lastUpdated=0;updateSubscribers=new GN;stopAnimation;canTrackVelocity=!1;constructor(e){this.prev=this.current=e,this.canTrackVelocity=KN(this.current)}onChange(e){return this.updateSubscribers.add(e)}clearListeners(){this.updateSubscribers.clear()}set(e){this.updateAndNotify(e)}updateAndNotify=e=>{this.prev=this.current,this.current=e;let{delta:t,timestamp:n}=wj();this.lastUpdated!==n&&(this.timeDelta=t,this.lastUpdated=n),yj.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)};get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?ON(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}scheduleVelocityCheck=()=>yj.postRender(this.velocityCheck);velocityCheck=({timestamp:e})=>{this.canTrackVelocity||=KN(this.current),e!==this.lastUpdated&&(this.prev=this.current)};start(e){return this.stop(),new Promise(t=>{let{stop:n}=e(t);this.stopAnimation=n}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}};function JN(e){return new qN(e)}var{isArray:YN}=Array;function XN(){let e=z({}),t=t=>{let n=t=>{e.value[t]&&(e.value[t].stop(),e.value[t].destroy(),delete e.value[t])};t?YN(t)?t.forEach(n):n(t):Object.keys(e.value).forEach(n)};return ej(t),{motionValues:e,get:(t,n,r)=>{if(e.value[t])return e.value[t];let i=JN(n);return i.onChange(e=>r[t]=e),e.value[t]=i,i},stop:t}}function ZN(e){return Array.isArray(e)}function QN(){return{type:`spring`,stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function $N(e){return{type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function eP(e){return{type:`spring`,stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function tP(){return{type:`keyframes`,ease:`linear`,duration:300}}function nP(e){return{type:`keyframes`,duration:800,values:e}}var rP={default:eP,x:QN,y:QN,z:QN,rotate:QN,rotateX:QN,rotateY:QN,rotateZ:QN,scaleX:$N,scaleY:$N,scale:$N,backgroundColor:tP,color:tP,opacity:tP};function iP(e,t){let n;return n=ZN(t)?nP:rP[e]||rP.default,{to:t,...n(t)}}var aP={...Jj,transform:Math.round},oP={color:lM,backgroundColor:lM,outlineColor:lM,fill:lM,stroke:lM,borderColor:lM,borderTopColor:lM,borderRightColor:lM,borderBottomColor:lM,borderLeftColor:lM,borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,radius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,size:$,top:$,right:$,bottom:$,left:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,rotate:Qj,rotateX:Qj,rotateY:Qj,rotateZ:Qj,scale:Xj,scaleX:Xj,scaleY:Xj,scaleZ:Xj,skew:Qj,skewX:Qj,skewY:Qj,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:Yj,originX:eM,originY:eM,originZ:$,zIndex:aP,filter:SM,WebkitFilter:SM,fillOpacity:Yj,strokeOpacity:Yj,numOctaves:aP},sP=e=>oP[e];function cP(e,t){return t&&typeof e==`number`&&t.transform?t.transform(e):e}function lP(e,t){let n=sP(e);return n!==SM&&(n=vM),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var uP={linear:$M,easeIn:eN,easeInOut:nN,easeOut:tN,circIn:rN,circInOut:aN,circOut:iN,backIn:oN,backInOut:cN,backOut:sN,anticipate:lN,bounceIn:mN,bounceInOut:hN,bounceOut:pN};function dP(e){if(Array.isArray(e)){let[t,n,r,i]=e;return UN(t,n,r,i)}else if(typeof e==`string`)return uP[e];return e}function fP(e){return Array.isArray(e)&&typeof e[0]!=`number`}function pP(e,t){return e===`zIndex`?!1:!!(typeof t==`number`||Array.isArray(t)||typeof t==`string`&&vM.test(t)&&!t.startsWith(`url(`))}function mP(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function hP({ease:e,times:t,delay:n,...r}){let i={...r};return t&&(i.offset=t),e&&(i.ease=fP(e)?e.map(dP):dP(e)),n&&(i.elapsed=-n),i}function gP(e,t,n){return Array.isArray(t.to)&&(e.duration||=800),mP(t),_P(e)||(e={...e,...iP(n,t.to)}),{...t,...hP(e)}}function _P({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:i,...a}){return!!Object.keys(a).length}function vP(e,t){return e[t]||e.default||e}function yP(e,t,n,r,i){let a=vP(r,e),o=a.from===null||a.from===void 0?t.get():a.from,s=pP(e,n);o===`none`&&s&&typeof n==`string`&&(o=lP(e,n));let c=pP(e,o);function l(s){let c={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:e=>t.set(e)};return a.type===`inertia`||a.type===`decay`?kN({...c,...a}):DN({...gP(a,c,e),onUpdate:e=>{c.onUpdate(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{i&&i(),s&&s()}})}function u(e){return t.set(n),i&&i(),e&&e(),{stop:()=>{}}}return!c||!s||a.type===!1?u:l}function bP(){let{motionValues:e,stop:t,get:n}=XN();return{motionValues:e,stop:t,push:(e,t,r,i={},a)=>{let o=r[e],s=n(e,o,r);if(i&&i.immediate){s.set(t);return}let c=yP(e,s,t,i,a);s.start(c)}}}function xP(e,t={},{motionValues:n,push:r,stop:i}=bP()){let a=w(t),o=z(!1);N(n,e=>{o.value=Object.values(e).filter(e=>e.isAnimating()).length>0},{immediate:!0,deep:!0});let s=e=>{if(!a||!a[e])throw Error(`The variant ${e} does not exist.`);return a[e]},c=t=>{typeof t==`string`&&(t=s(t));let n=Object.entries(t).map(([n,i])=>{if(n!==`transition`)return new Promise(a=>r(n,i,e,t.transition||iP(n,t[n]),a))}).filter(Boolean);async function i(){await Promise.all(n),t.transition?.onComplete?.()}return Promise.all([i()])};return{isAnimating:o,apply:c,set:t=>{let n=XA(t)?t:s(t);Object.entries(n).forEach(([t,n])=>{t!==`transition`&&r(t,n,e,{immediate:!0})})},leave:async e=>{let t;if(a&&(a.leave&&(t=a.leave),!a.leave&&a.initial&&(t=a.initial)),!t){e();return}await c(t),e()},stop:i}}var SP=typeof window<`u`,CP=()=>SP&&(window.onpointerdown===null||void 0),wP=()=>SP&&(window.ontouchstart===null||void 0),TP=()=>SP&&(window.onmousedown===null||void 0);function EP({target:e,state:t,variants:n,apply:r}){let i=w(n),a=z(!1),o=z(!1),s=z(!1),c=I(()=>{let e=[...Object.keys(t.value||{})];return i?(i.hovered&&(e=[...e,...Object.keys(i.hovered)]),i.tapped&&(e=[...e,...Object.keys(i.tapped)]),i.focused&&(e=[...e,...Object.keys(i.focused)]),e):e}),l=I(()=>{let e={};Object.assign(e,t.value),a.value&&i.hovered&&Object.assign(e,i.hovered),o.value&&i.tapped&&Object.assign(e,i.tapped),s.value&&i.focused&&Object.assign(e,i.focused);for(let t in e)c.value.includes(t)||delete e[t];return e});i.hovered&&(ij(e,`mouseenter`,()=>a.value=!0),ij(e,`mouseleave`,()=>{a.value=!1,o.value=!1})),i.tapped&&(TP()&&(ij(e,`mousedown`,()=>o.value=!0),ij(e,`mouseup`,()=>o.value=!1)),CP()&&(ij(e,`pointerdown`,()=>o.value=!0),ij(e,`pointerup`,()=>o.value=!1)),wP()&&(ij(e,`touchstart`,()=>o.value=!0),ij(e,`touchend`,()=>o.value=!1))),i.focused&&(ij(e,`focus`,()=>s.value=!0),ij(e,`blur`,()=>s.value=!1)),N([a,o,s],()=>{r(l.value)})}function DP({set:e,target:t,variants:n,variant:r}){let i=w(n);N(()=>t,()=>{i&&(i.initial&&(e(`initial`),r.value=`initial`),i.enter&&(r.value=`enter`))},{immediate:!0,flush:`pre`})}function OP({state:e,apply:t}){N(e,e=>{e&&t(e)},{immediate:!0})}function kP({target:e,variants:t,variant:n}){let r=w(t);r&&(r.visible||r.visibleOnce)&&sj(e,([{isIntersecting:e}])=>{r.visible?e?n.value=`visible`:n.value=`initial`:r.visibleOnce&&(e&&n.value!==`visibleOnce`?n.value=`visibleOnce`:n.value||=`initial`)})}function AP(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&DP(e),t.syncVariants&&OP(e),t.visibilityHooks&&kP(e),t.eventListeners&&EP(e)}function jP(e={}){let t=A({...e}),n=z({});return N(t,()=>{let e={};for(let[n,r]of Object.entries(t))e[n]=cP(r,sP(n));n.value=e},{immediate:!0,deep:!0}),{state:t,style:n}}function MP(e,t){N(()=>rj(e),e=>{e&&t(e)},{immediate:!0})}var NP={x:`translateX`,y:`translateY`,z:`translateZ`};function PP(e={},t=!0){let n=A({...e}),r=z(``);return N(n,e=>{let n=``,i=!1;if(t&&(e.x||e.y||e.z)){let t=[e.x||0,e.y||0,e.z||0].map(e=>cP(e,$)).join(`,`);n+=`translate3d(${t}) `,i=!0}for(let[r,i]of Object.entries(e)){if(t&&(r===`x`||r===`y`||r===`z`))continue;let e=cP(i,sP(r));n+=`${NP[r]||r}(${e}) `}t&&!i&&(n+=`translateZ(0px) `),r.value=n.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}var FP=[``,`X`,`Y`,`Z`],IP=[`perspective`,`translate`,`scale`,`rotate`,`skew`],LP=[`transformPerspective`,`x`,`y`,`z`];IP.forEach(e=>{FP.forEach(t=>{let n=e+t;LP.push(n)})});var RP=new Set(LP);function zP(e){return RP.has(e)}var BP=new Set([`originX`,`originY`,`originZ`]);function VP(e){return BP.has(e)}function HP(e){let t={},n={};return Object.entries(e).forEach(([e,r])=>{zP(e)||VP(e)?t[e]=r:n[e]=r}),{transform:t,style:n}}function UP(e){let{transform:t,style:n}=HP(e),{transform:r}=PP(t),{style:i}=jP(n);return r.value&&(i.value.transform=r.value),i.value}function WP(e,t){let n,r,{state:i,style:a}=jP();return MP(e,e=>{r=e;for(let t of Object.keys(oP))e.style[t]===null||e.style[t]===``||zP(t)||VP(t)||(i[t]=e.style[t]);n&&Object.entries(n).forEach(([t,n])=>e.style[t]=n),t&&t(i)}),N(a,e=>{if(!r){n=e;return}for(let t in e)r.style[t]=e[t]},{immediate:!0}),{style:i}}function GP(e){let t=e.trim().split(/\) |\)/);if(t.length===1)return{};let n=e=>e.endsWith(`px`)||e.endsWith(`deg`)?Number.parseFloat(e):Number.isNaN(Number(e))?Number(e):e;return t.reduce((e,t)=>{if(!t)return e;let[r,i]=t.split(`(`),a=i.split(`,`).map(e=>n(e.endsWith(`)`)?e.replace(`)`,``):e.trim())),o=a.length===1?a[0]:a;return{...e,[r]:o}},{})}function KP(e,t){Object.entries(GP(t)).forEach(([t,n])=>{let r=[`x`,`y`,`z`];if(t===`translate3d`){if(n===0){r.forEach(t=>e[t]=0);return}n.forEach((t,n)=>e[r[n]]=t);return}if(n=Number.parseFloat(`${n}`),t===`translateX`){e.x=n;return}if(t===`translateY`){e.y=n;return}if(t===`translateZ`){e.z=n;return}e[t]=n})}function qP(e,t){let n,r,{state:i,transform:a}=PP();return MP(e,e=>{r=e,e.style.transform&&KP(i,e.style.transform),n&&(e.style.transform=n),t&&t(i)}),N(a,e=>{if(!r){n=e;return}r.style.transform=e},{immediate:!0}),{transform:i}}function JP(e){return Object.entries(e)}function YP(e,t){let n=A({}),r=e=>Object.entries(e).forEach(([e,t])=>n[e]=t),{style:i}=WP(e,r),{transform:a}=qP(e,r);return N(n,e=>{JP(e).forEach(([e,t])=>{let n=zP(e)?a:i;n[e]&&n[e]===t||(n[e]=t)})},{immediate:!0,deep:!0}),MP(e,()=>t&&r(t)),{motionProperties:n,style:i,transform:a}}function XP(e={}){let t=w(e),n=z();return{state:I(()=>{if(n.value)return t[n.value]}),variant:n}}function ZP(e,t={},n){let{motionProperties:r}=YP(e),{variant:i,state:a}=XP(t),o={target:e,variant:i,variants:t,state:a,motionProperties:r,...xP(r,t)};return AP(o,n),o}var QP=[`delay`,`duration`],$P=[`initial`,`enter`,`leave`,`visible`,`visible-once`,`visibleOnce`,`hovered`,`tapped`,`focused`,...QP];function eF(e){return QP.includes(e)}function tF(e,t){let n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&XA(n.variants)&&(t.value={...t.value,...n.variants});for(let e of $P)if(!(!n||!n[e])){if(eF(e)&&typeof n[e]==`number`){for(let r of[`enter`,`visible`,`visibleOnce`]){let i=t.value[r];i!=null&&(i.transition??={},i.transition[e]=n[e])}continue}if(XA(n[e])){let r=n[e];e===`visible-once`&&(e=`visibleOnce`),t.value[e]=r}}}}function nF(e,t=!1){return{created:(n,r,i)=>{let a=r.value&&typeof r.value==`string`?r.value:i.key;a&&WN[a]&&WN[a].stop();let o=z(t?structuredClone(u(e)||{}):e||{});typeof r.value==`object`&&(o.value=r.value),tF(i,o);let s=ZP(n,o,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});n.motionInstance=s,a&&(WN[a]=s)},mounted:(e,t,n)=>{e.motionInstance&&kP(e.motionInstance)},getSSRProps(t,n){let{initial:r}=t.value||n&&n?.props||{};r=w(r);let i=GA({},e?.initial||{},r||{});if(!(!i||Object.keys(i).length===0))return{style:UP(i)}}}}var rF={__proto__:null,fade:{initial:{opacity:0},enter:{opacity:1}},fadeVisible:{initial:{opacity:0},visible:{opacity:1}},fadeVisibleOnce:{initial:{opacity:0},visibleOnce:{opacity:1}},pop:{initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},popVisible:{initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},popVisibleOnce:{initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},rollBottom:{initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollLeft:{initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollRight:{initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollTop:{initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleBottom:{initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleLeft:{initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceBottom:{initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollVisibleOnceLeft:{initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollVisibleOnceRight:{initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollVisibleOnceTop:{initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollVisibleRight:{initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleTop:{initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},slideBottom:{initial:{y:100,opacity:0},enter:{y:0,opacity:1}},slideLeft:{initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},slideRight:{initial:{x:100,opacity:0},enter:{x:0,opacity:1}},slideTop:{initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},slideVisibleBottom:{initial:{y:100,opacity:0},visible:{y:0,opacity:1}},slideVisibleLeft:{initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceBottom:{initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},slideVisibleOnceLeft:{initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},slideVisibleOnceRight:{initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},slideVisibleOnceTop:{initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},slideVisibleRight:{initial:{x:100,opacity:0},visible:{x:0,opacity:1}},slideVisibleTop:{initial:{y:-100,opacity:0},visible:{y:0,opacity:1}}};function iF(e){let t=`àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;`,n=new RegExp(t.split(``).join(`|`),`g`);return e.toString().replace(/[A-Z]/g,e=>`-${e}`).toLowerCase().replace(/\s+/g,`-`).replace(n,e=>`aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------`.charAt(t.indexOf(e))).replace(/&/g,`-and-`).replace(/[^\w\-]+/g,``).replace(/-{2,}/g,`-`).replace(/^-+/,``).replace(/-+$/,``)}var aF=Symbol(``),oF={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function sF(e){return Object.prototype.toString.call(e)===`[object Object]`}function cF(e){if(Array.isArray(e))return e.map(cF);if(sF(e)){let t={};for(let n in e)t[n]=cF(e[n]);return t}return e}function lF(e){let t=A({}),n=re(aF,{}),r=I(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(u(n)[e.preset]):e.preset in rF?structuredClone(rF[e.preset]):{}),i=I(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function a(e,t){for(let n of[`delay`,`duration`]){if(t[n]==null)continue;let r=Number.parseInt(t[n]);for(let t of[`enter`,`visible`,`visibleOnce`]){let i=e[t];i!=null&&(i.transition??={},i.transition[n]=r)}}return e}let o=I(()=>a({...GA({},i.value,r.value,e.variants||{})},e));function s(e,n,r){e.props??={},e.props.style??={},e.props.style={...e.props.style,...r};let i=a(cF(o.value),e.props);return e.props.onVnodeMounted=({el:e})=>{t[n]=ZP(e,i)},e.props.onVnodeUpdated=({el:e})=>{let r=UP(t[n].state);for(let[t,n]of Object.entries(r))e.style[t]=n},e}return{motionConfig:o,setNodeInstance:s}}var uF=B({name:`Motion`,props:{...oF,is:{type:[String,Object],default:`div`}},setup(e){let t=Se(),{motionConfig:n,setNodeInstance:r}=lF(e);return()=>{let i=UP(n.value.initial||{}),a=h(e.is,void 0,t);return r(a,0,i),a}}}),dF=B({name:`MotionGroup`,props:{...oF,is:{type:[String,Object],required:!1}},setup(e){let t=Se(),{motionConfig:n,setNodeInstance:r}=lF(e);return()=>{let i=UP(n.value.initial||{}),a=t.default?.()||[];for(let e=0;e<a.length;e++){let t=a[e];t.type===ne&&Array.isArray(t.children)?t.children.forEach(function e(t,n){if(t!=null){if(Array.isArray(t)){e(t,n);return}typeof t==`object`&&r(t,n,i)}}):r(t,e,i)}return e.is?h(e.is,void 0,a):a}}}),fF={install(e,t){if(e.directive(`motion`,nF()),!t||t&&!t.excludePresets)for(let t in rF){let n=rF[t];e.directive(`motion-${iF(t)}`,nF(n,!0))}if(t&&t.directives)for(let n in t.directives){let r=t.directives[n];r.initial,e.directive(`motion-${n}`,nF(r,!0))}e.provide(aF,t?.directives),e.component(`Motion`,uF),e.component(`MotionGroup`,dF)}},pF=B({name:`CapabilityPresentation`,components:{ElImage:Os},props:{capability:{type:String,required:!0},part:{type:String,required:!0}},data(){return{iconFailed:!1}},computed:{presentation(){return XC(this.$store.state.site,this.capability,this.$t(`common.nav.${this.capability}`),YC[this.capability])},iconUrl(){return this.iconFailed?YC[this.capability]:this.presentation.iconUrl}},watch:{"presentation.iconUrl"(){this.iconFailed=!1}}}),mF={key:1};function hF(e,t,n,r,i,a){let o=M(`el-image`);return e.part===`avatar`?(R(),F(o,{key:0,src:e.iconUrl,onError:t[0]||=t=>e.iconFailed=!0},null,8,[`src`])):(R(),T(`span`,mF,v(e.presentation.displayName),1))}var gF=cw(pF,[[`render`,hF]]);function _F(e,t){let n=(e||``).split(`.`),r=(t||``).split(`.`),i=Math.max(n.length,r.length);for(let e=0;e<i;e++){let t=parseInt(n[e]||`0`,10)||0,i=parseInt(r[e]||`0`,10)||0;if(t>i)return 1;if(t<i)return-1}return 0}async function vF(){if(ir())return xF();if(!fr())return!1;let e=Nr()?`ios`:Mn()?`android`:null;if(!e)return!1;let t;try{t=(await Aw.getInfo()).version}catch(e){return console.warn(`[versionGate] App.getInfo failed, skipping`,e),!1}let n;try{let{data:t}=await tg.get(`nexior`,e);n=t}catch(e){return console.warn(`[versionGate] fetch failed, skipping`,e),!1}let r=n.min_supported&&_F(t,n.min_supported)<0,i=n.latest&&_F(t,n.latest)<0;if(r){try{await Rn(In())}catch(e){console.warn(`[versionGate] locale load failed, continuing with default`,e)}return await yF(n.store_url,n.message),!0}return i&&bF(n.store_url,n.message),!1}async function yF(e,t){for(;;){try{await rc.alert(t||pn(`common.appUpgrade.blockMessage`),pn(`common.appUpgrade.title`),{confirmButtonText:pn(`common.appUpgrade.openStore`),showClose:!1,closeOnClickModal:!1,closeOnPressEscape:!1,closeOnHashChange:!1,type:`warning`})}catch{}if(e)try{await ix.open({url:e})}catch(e){console.warn(`[versionGate] Browser.open failed`,e)}}}async function bF(e,t){try{await rc.confirm(t||pn(`common.appUpgrade.softMessage`),pn(`common.appUpgrade.title`),{confirmButtonText:pn(`common.appUpgrade.openStore`),cancelButtonText:pn(`common.appUpgrade.later`),type:`info`}),e&&await ix.open({url:e})}catch{}}async function xF(){let e=`3.378.1`,t=Wn()??`desktop`,n;try{let{data:e}=await tg.get(`nexior`,t);n=e}catch(e){return console.warn(`[versionGate] desktop fetch failed, skipping`,e),!1}let r=n.min_supported&&_F(e,n.min_supported)<0,i=n.latest&&_F(e,n.latest)<0;if(r){try{await Rn(In())}catch(e){console.warn(`[versionGate] locale load failed, continuing with default`,e)}return await SF(n.store_url,n.message),!0}return i&&CF(n.store_url,n.message),!1}async function SF(e,t){try{await rc.alert(t||pn(`common.appUpgrade.blockMessage`),pn(`common.appUpgrade.title`),{confirmButtonText:pn(`common.appUpgrade.openStore`),showClose:!1,closeOnClickModal:!1,closeOnPressEscape:!1,type:`warning`})}catch{}e&&await rw()?.openExternal(e)}async function CF(e,t){try{await rc.confirm(t||pn(`common.appUpgrade.softMessage`),pn(`common.appUpgrade.title`),{confirmButtonText:pn(`common.appUpgrade.openStore`),cancelButtonText:pn(`common.appUpgrade.later`),type:`info`}),e&&await rw()?.openExternal(e)}catch{}}var wF=`__capgo_keep_url_path_after_reload`,TF=`__capgo_history_stack__`,EF=100;if(typeof window<`u`&&typeof document<`u`&&typeof history<`u`){let e=window;if(!e.__capgoHistoryPatched){e.__capgoHistoryPatched=!0;let t=()=>{try{if(e.__capgoKeepUrlPathAfterReload)return!0}catch{}try{return window.localStorage.getItem(wF)===`1`}catch{return!1}},n=()=>{try{let e=window.sessionStorage.getItem(TF);if(!e)return{stack:[],index:-1};let t=JSON.parse(e);return!t||!Array.isArray(t.stack)||typeof t.index!=`number`?{stack:[],index:-1}:t}catch{return{stack:[],index:-1}}},r=(e,t)=>{try{window.sessionStorage.setItem(TF,JSON.stringify({stack:e,index:t}))}catch{}},i=()=>{try{window.sessionStorage.removeItem(TF)}catch{}},a=e=>{try{let t=e??window.location.href,n=new URL(t instanceof URL?t.toString():t,window.location.href);return`${n.pathname}${n.search}${n.hash}`}catch{return null}},o=(e,t)=>{if(e.length<=EF)return{stack:e,index:t};let n=e.length-EF;return{stack:e.slice(n),index:Math.max(0,t-n)}},s=e=>{document.readyState===`complete`||document.readyState===`interactive`?e():window.addEventListener(`DOMContentLoaded`,e,{once:!0})},c=!1,l=!1,u=!1,d=()=>{if(!c)return;let e=n(),t=a();if(t){if(e.stack.length===0){e.stack.push(t),e.index=0,r(e.stack,e.index);return}(e.index<0||e.index>=e.stack.length)&&(e.index=e.stack.length-1),e.stack[e.index]!==t&&(e.stack[e.index]=t,r(e.stack,e.index))}},f=(e,t)=>{if(!c||l)return;let i=a(e);if(!i)return;let{stack:s,index:u}=n();s.length===0?(s.push(i),u=s.length-1):t?((u<0||u>=s.length)&&(u=s.length-1),s[u]=i):u>=s.length-1?(s.push(i),u=s.length-1):(s=s.slice(0,u+1),s.push(i),u=s.length-1),{stack:s,index:u}=o(s,u),r(s,u)},p=()=>{if(!c||l)return;let e=n();if(e.stack.length===0){d();return}let t=e.index>=0&&e.index<e.stack.length?e.index:e.stack.length-1,r=a();if(e.stack.length===1&&r===e.stack[0])return;let i=e.stack[0];if(!i)return;l=!0;try{history.replaceState(history.state,document.title,i);for(let t=1;t<e.stack.length;t+=1)history.pushState(history.state,document.title,e.stack[t])}catch{l=!1;return}l=!1;let o=t-(e.stack.length-1);o===0?(history.replaceState(history.state,document.title,e.stack[t]),window.dispatchEvent(new PopStateEvent(`popstate`))):history.go(o)},m=()=>{!c||u||(u=!0,s(()=>{u=!1,p()}))},h=null,g=null,_=()=>{if(!c||l)return;let e=a();if(!e)return;let t=n(),i=t.stack.lastIndexOf(e);i>=0?t.index=i:(t.stack.push(e),t.index=t.stack.length-1);let s=o(t.stack,t.index);r(s.stack,s.index)},v=()=>{h&&g||(h=history.pushState,g=history.replaceState,history.pushState=function(e,t,n){let r=h?.call(history,e,t,n);return f(n,!1),r},history.replaceState=function(e,t,n){let r=g?.call(history,e,t,n);return f(n,!0),r},window.addEventListener(`popstate`,_))},y=()=>{h&&=(history.pushState=h,null),g&&=(history.replaceState=g,null),window.removeEventListener(`popstate`,_)},b=e=>{if(c===e){c&&(d(),m());return}c=e,c?(v(),d(),m()):(y(),i())};window.addEventListener(`CapacitorUpdaterKeepUrlPathAfterReload`,t=>{let n=t?.detail?.enabled;typeof n==`boolean`?(e.__capgoKeepUrlPathAfterReload=n,b(n)):(e.__capgoKeepUrlPathAfterReload=!0,b(!0))}),b(t())}}var DF;(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.UPDATE_NOT_AVAILABLE=1]=`UPDATE_NOT_AVAILABLE`,e[e.UPDATE_AVAILABLE=2]=`UPDATE_AVAILABLE`,e[e.UPDATE_IN_PROGRESS=3]=`UPDATE_IN_PROGRESS`})(DF||={});var OF;(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.PENDING=1]=`PENDING`,e[e.DOWNLOADING=2]=`DOWNLOADING`,e[e.INSTALLING=3]=`INSTALLING`,e[e.INSTALLED=4]=`INSTALLED`,e[e.FAILED=5]=`FAILED`,e[e.CANCELED=6]=`CANCELED`,e[e.DOWNLOADED=11]=`DOWNLOADED`})(OF||={});var kF;(function(e){e[e.OK=0]=`OK`,e[e.CANCELED=1]=`CANCELED`,e[e.FAILED=2]=`FAILED`,e[e.NOT_AVAILABLE=3]=`NOT_AVAILABLE`,e[e.NOT_ALLOWED=4]=`NOT_ALLOWED`,e[e.INFO_MISSING=5]=`INFO_MISSING`})(kF||={});var AF=na(`CapacitorUpdater`,{web:()=>W(()=>import(`./web-CMCs3BWX.js`).then(e=>new e.CapacitorUpdaterWeb),[])}),jF=`https://cdn.acedata.cloud/nexior/updates`,MF=`stable`,NF=!1;async function PF(){if(!fr())return;try{await AF.notifyAppReady()}catch(e){console.warn(`[liveUpdate] notifyAppReady failed`,e)}if(!NF){console.debug(`[liveUpdate] disabled via VITE_LIVE_UPDATE_ENABLED`);return}let e=Nr()?`ios`:Mn()?`android`:null;if(!e)return;let t;try{t=(await U.get(`${jF}/${MF}/${e}.json`,{timeout:8e3,params:{t:Date.now()}})).data}catch(e){console.warn(`[liveUpdate] manifest fetch failed`,e);return}if(!t?.version||!t?.url){console.warn(`[liveUpdate] manifest missing required fields`,t);return}if(t.min_native_version)try{if(_F((await Aw.getInfo()).version,t.min_native_version)<0){console.info(`[liveUpdate] native too old for this bundle; skipping`);return}}catch(e){console.warn(`[liveUpdate] App.getInfo failed; skipping bundle check`,e);return}let n=`0.0.0`;try{n=(await AF.current()).bundle?.version||`0.0.0`}catch(e){console.warn(`[liveUpdate] current() failed; assuming 0.0.0`,e)}if(_F(t.version,n)<=0){console.debug(`[liveUpdate] up to date (current=${n}, manifest=${t.version})`);return}console.info(`[liveUpdate] downloading bundle ${t.version} (current=${n})`);try{let e=await AF.download({url:t.url,version:t.version,checksum:t.checksum});await AF.set({id:e.id}),console.info(`[liveUpdate] bundle ${t.version} queued for next launch`)}catch(e){console.warn(`[liveUpdate] download/set failed`,e)}}var FF=async({initializeSite:e,applySiteLocale:t,initializeUser:n,initializeConfig:r})=>{await e(),await t()&&await e(),await Promise.all([n(),r()])};Rr(()=>q.state.site);var IF=async e=>{let{locale:t,shouldPersist:n}=iC(xu(`LOCALE`),e);return n?(await Rn(t),bu(`LOCALE`,t,{path:`/`,domain:Jg()}),!0):!1};Xi(iT,{routes:ew,base:`/`},async({app:e,router:t,isClient:n})=>{if(e.use(q),e.use(un),e.use(fF),e.use(oT,{formatString:`YYYY-MM-DD HH:mm:ss`}),e.component(`CapabilityPresentation`,gF),e.directive(`loading`,Bs),tw(t),e.config.errorHandler=(e,t,n)=>{Gu(e,{source:`vue`,route:n}),console.error(`[vue:errorHandler]`,e,n)},!n){await Rn(Ir);return}ku({getAccountToken:()=>q.state.token?.access,isAuthenticated:()=>q.getters.authenticated,triggerLogin:()=>{Du()}}),Ru(),Eb(),NC();let r=Kn();if(document.documentElement.dataset.surface=r,document.documentElement.classList.add(`surface-${r}`),fr()&&document.documentElement.classList.add(`surface-native`),ir()&&(Cr()&&document.documentElement.classList.add(`is-mac`),Tr()&&document.documentElement.classList.add(`is-win`)),!ta.isNativePlatform()){let e=document.querySelector(`meta[name="viewport"]`);e&&e.setAttribute(`content`,`width=device-width, initial-scale=1.0, viewport-fit=cover`)}if(await E_())return;{let{installMobileLocalExec:e}=await W(async()=>{let{installMobileLocalExec:e}=await import(`./mobileLocalExec-BGEH-cVh.js`);return{installMobileLocalExec:e}},__vite__mapDeps([382,3,21,11,1,22]));e()}if(await f_(),await IF(),await Kw(),await x_(),ni()||(await FF({initializeSite:y_,applySiteLocale:()=>IF(q.state.site),initializeUser:C_,initializeConfig:b_}),(fr()||ir())&&await vF()))return;PF(),KC(q.state.site||void 0),await Hu({uin:q.getters.user?.id,release:`3.378.1`}),$u(q.state.site,window.location.hostname),w_(),S_(),T_(),p_(),m_(),h_(),v_(),window.addEventListener(`unhandledrejection`,e=>{Mu(e.reason)||Gu(e.reason,{source:`unhandledrejection`})});let i=()=>{D_(),Uu(q.getters.user?.id,q.getters.fingerprint)};`requestIdleCallback`in window?window.requestIdleCallback(i,{timeout:4e3}):setTimeout(i,1500),W(async()=>{let{installSolanaWallets:e}=await import(`./solana-wallets-BERlGY2O.js`);return{installSolanaWallets:e}},__vite__mapDeps([383,3])).then(({installSolanaWallets:t})=>{t(e)}),window.app=e}),typeof window<`u`&&Promise.resolve().catch(e=>{MC(e)||console.error(e)});export{Bb as $,qo as $a,Fu as $i,Fh as $n,um as $r,Av as $t,$C as A,Fl as Aa,If as Ai,$g as An,Km as Ar,vv as At,iS as B,ks as Ba,uf as Bi,Zh as Bn,Lm as Br,Sv as Bt,bA as C,Hl as Ca,sp as Ci,iv as Cn,rh as Cr,Cy as Ct,cw as D,Rl as Da,np as Di,G_ as Dn,Xm as Dr,dy as Dt,Pw as E,zl as Ea,tp as Ei,J_ as En,$m as Er,fy as Et,tC as F,_c as Fa,kf as Fi,rg as Fn,Bm as Fr,yy as Ft,ax as G,vs as Ga,Xd as Gi,Uh as Gn,bm as Gr,Kv as Gt,Px as H,Ts as Ha,rf as Hi,Yh as Hn,Dm as Hr,ny as Ht,QS as I,mc as Ia,mf as Ii,ng as In,Vm as Ir,sv as It,ix as J,ps as Ja,Zu as Ji,Bh as Jn,_m as Jr,Ev as Jt,dx as K,gs as Ka,ed as Ki,Wh as Kn,Sm as Kr,Gv as Kt,$S as L,pc as La,lf as Li,$h as Ln,Rm as Lr,sy as Lt,YC as M,xc as Ma,Ef as Mi,Ng as Mn,Wm as Mr,Vv as Mt,JC as N,Sc as Na,Df as Ni,sg as Nn,Um as Nr,vy as Nt,rw as O,Ll as Oa,Uf as Oi,e_ as On,Zm as Or,Sy as Ot,EC as P,vc as Pa,Of as Pi,og as Pn,Gm as Pr,_y as Pt,Qb as Q,es as Qa,Pu as Qi,Ph as Qn,pm as Qr,jv as Qt,nC as R,rc as Ra,ff as Ri,Qh as Rn,zm as Rr,oy as Rt,xA as S,Ul as Sa,gp as Si,cy as Sn,oh as Sr,gy as St,Zw as T,Bl as Ta,rp as Ti,$_ as Tn,Qm as Tr,py as Tt,fx as U,Ss as Ua,G as Ui,Gh as Un,ym as Ur,bv as Ut,nS as V,Os as Va,af as Vi,Jh as Vn,Om as Vr,Cv as Vt,ox as W,ys as Wa,$d as Wi,Kh as Wn,xm as Wr,xv as Wt,tx as X,ns as Xa,Yu as Xi,Rh as Xn,gm as Xr,Pv as Xt,rx as Y,cs as Ya,Xu as Yi,zh as Yn,hm as Yr,Dv as Yt,Zb as Z,$o as Za,Nu as Zi,Lh as Zn,dm as Zr,Nv as Zt,FA as _,Jl as _a,hp as _i,Yv as _n,lh as _r,wv as _t,DA as a,ou as aa,qp as ai,Qv as an,Na as ao,Ch as ar,ub as at,BA as b,Gl as ba,Cp as bi,Fv as bn,sh as br,hy as bt,zA as c,ru as ca,Ap as ci,Hv as cn,Da as co,bh as cr,ab as ct,LA as d,eu as da,Pp as di,kv as dn,ra as do,gh as dr,Ty as dt,Du as ea,fm as ei,zv as en,ho as eo,Ah as er,gb as et,MA as f,$l as fa,Up as fi,ey as fn,na as fo,_h as fr,hv as ft,TA as g,Yl as ga,_p as gi,Lv as gn,ph as gr,gv as gt,jA as h,Xl as ha,Op as hi,Rv as hn,fh as hr,_v as ht,OA as i,su as ia,$p as ii,ry as in,Va as io,wh as ir,pb as it,XC as j,Cc as ja,Tf as ji,Jg as jn,Jm as jr,yv as jt,iw as k,Il as ka,ip as ki,d_ as kn,qm as kr,by as kt,IA as l,nu as la,Mp as li,Bv as ln,Ca as lo,vh as lr,zy as lt,VA as m,Zl as ma,Hp as mi,$v as mn,hh as mr,mv as mt,RA as n,bu as na,Zp as ni,qv as nn,po as no,Dh as nr,db as nt,wA as o,au as oa,Dp as oi,Mv as on,Aa as oo,Sh as or,cb as ot,CA as p,Ql as pa,kp as pi,ty as pn,Qr as po,mh as pr,pv as pt,ux as q,hs as qa,Wu as qi,Hh as qn,vm as qr,av as qt,kA as r,cu as ra,am as ri,Zv as rn,Za as ro,Eh as rr,fb as rt,PA as s,iu as sa,Ep as si,Uv as sn,Oa as so,xh as sr,lb as st,DF as t,xu as ta,mm as ti,Ov as tn,mo as to,jh as tr,hb as tt,NA as u,tu as ua,jp as ui,Xv as un,ta as uo,yh as ur,Ey as ut,EA as v,ql as va,xp as vi,Jv as vn,uh as vr,Tv as vt,SA as w,Vl as wa,Ff as wi,ev as wn,nh as wr,xy as wt,vA as x,Wl as xa,yp as xi,ay as xn,ah as xr,my as xt,AA as y,Kl as ya,Sp as yi,Iv as yn,dh as yr,ly as yt,eC as z,Bs as za,df as zi,Xh as zn,Im as zr,Wv as zt};
|
|
569
|
+
}`;function qD(){var e=eD,t=tD,n=Q.cssPrefix,r=Q.replacementClass,i=KD;if(n!==e||r!==t){var a=RegExp(`\\.${e}\\-`,`g`),o=RegExp(`\\--${e}\\-`,`g`),s=RegExp(`\\.${t}`,`g`);i=i.replace(a,`.${n}-`).replace(o,`--${n}-`).replace(s,`.${r}`)}return i}var JD=!1;function YD(){Q.autoAddCss&&!JD&&(FD(qD()),JD=!0)}var XD={mixout:function(){return{dom:{css:qD,insertCss:YD}}},hooks:function(){return{beforeDOMElementCreation:function(){YD()},beforeI2svg:function(){YD()}}}},ZD=NT||{};ZD[QE]||(ZD[QE]={}),ZD[QE].styles||(ZD[QE].styles={}),ZD[QE].hooks||(ZD[QE].hooks={}),ZD[QE].shims||(ZD[QE].shims=[]);var QD=ZD[QE],$D=[],eO=function(){Z.removeEventListener(`DOMContentLoaded`,eO),tO=1,$D.map(function(e){return e()})},tO=!1;IT&&(tO=(Z.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Z.readyState),tO||Z.addEventListener(`DOMContentLoaded`,eO));function nO(e){IT&&(tO?setTimeout(e,0):$D.push(e))}function rO(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e==`string`?BD(e):`<${t} ${VD(r)}>${a.map(rO).join(``)}</${t}>`}function iO(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var aO=function(e,t){return function(n,r,i,a){return e.call(t,n,r,i,a)}},oO=function(e,t,n,r){var i=Object.keys(e),a=i.length,o=r===void 0?t:aO(t,r),s,c,l;for(n===void 0?(s=1,l=e[i[0]]):(s=0,l=n);s<a;s++)c=i[s],l=o(l,e[c],c,e);return l};function sO(e){return xT(e).length===1?e.codePointAt(0).toString(16):null}function cO(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function lO(e,t){var n=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).skipHooks,r=n===void 0?!1:n,i=cO(t);typeof QD.hooks.addPack==`function`&&!r?QD.hooks.addPack(e,cO(t)):QD.styles[e]=X(X({},QD.styles[e]||{}),i),e===`fas`&&lO(`fa`,t)}var uO=QD.styles,dO=QD.shims,fO=Object.keys(vD),pO=fO.reduce(function(e,t){return e[t]=Object.keys(vD[t]),e},{}),mO=null,hO={},gO={},_O={},vO={},yO={};function bO(e){return~TD.indexOf(e)}function xO(e,t){var n=t.split(`-`),r=n[0],i=n.slice(1).join(`-`);return r===e&&i!==``&&!bO(i)?i:null}var SO=function(){var e=function(e){return oO(uO,function(t,n,r){return t[r]=oO(n,e,{}),t},{})};hO=e(function(e,t,n){return t[3]&&(e[t[3]]=n),t[2]&&t[2].filter(function(e){return typeof e==`number`}).forEach(function(t){e[t.toString(16)]=n}),e}),gO=e(function(e,t,n){return e[n]=n,t[2]&&t[2].filter(function(e){return typeof e==`string`}).forEach(function(t){e[t]=n}),e}),yO=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t=`far`in uO||Q.autoFetchSvg,n=oO(dO,function(e,n){var r=n[0],i=n[1],a=n[2];return i===`far`&&!t&&(i=`fas`),typeof r==`string`&&(e.names[r]={prefix:i,iconName:a}),typeof r==`number`&&(e.unicodes[r.toString(16)]={prefix:i,iconName:a}),e},{names:{},unicodes:{}});_O=n.names,vO=n.unicodes,mO=jO(Q.styleDefault,{family:Q.familyDefault})};MD(function(e){mO=jO(e.styleDefault,{family:Q.familyDefault})}),SO();function CO(e,t){return(hO[e]||{})[t]}function wO(e,t){return(gO[e]||{})[t]}function TO(e,t){return(yO[e]||{})[t]}function EO(e){return _O[e]||{prefix:null,iconName:null}}function DO(e){var t=vO[e],n=CO(`fas`,e);return t||(n?{prefix:`fas`,iconName:n}:null)||{prefix:null,iconName:null}}function OO(){return mO}var kO=function(){return{prefix:null,iconName:null,rest:[]}};function AO(e){var t=WT,n=fO.reduce(function(e,t){return e[t]=`${Q.cssPrefix}-${t}`,e},{});return OE.forEach(function(r){(e.includes(n[r])||e.some(function(e){return pO[r].includes(e)}))&&(t=r)}),t}function jO(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).family,n=t===void 0?WT:t,r=mD[n][e];if(n===GT&&!e)return`fad`;var i=gD[n][e]||gD[n][r],a=e in QD.styles?e:null;return i||a||null}function MO(e){var t=[],n=null;return e.forEach(function(e){var r=xO(Q.cssPrefix,e);r?n=r:e&&t.push(e)}),{iconName:n,rest:t}}function NO(e){return e.sort().filter(function(e,t,n){return n.indexOf(e)===t})}var PO=KE.concat(NE);function FO(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).skipLookups,n=t===void 0?!1:t,r=null,i=NO(e.filter(function(e){return PO.includes(e)})),a=NO(e.filter(function(e){return!PO.includes(e)})),o=bT(i.filter(function(e){return r=e,!UT.includes(e)}),1)[0],s=o===void 0?null:o,c=AO(i),l=X(X({},MO(a)),{},{prefix:jO(s,{family:c})});return X(X(X({},l),zO({values:e,family:c,styles:uO,config:Q,canonical:l,givenPrefix:r})),IO(n,r,l))}function IO(e,t,n){var r=n.prefix,i=n.iconName;if(e||!r||!i)return{prefix:r,iconName:i};var a=t===`fa`?EO(i):{},o=TO(r,i);return i=a.iconName||o||i,r=a.prefix||r,r===`far`&&!uO.far&&uO.fas&&!Q.autoFetchSvg&&(r=`fas`),{prefix:r,iconName:i}}var LO=OE.filter(function(e){return e!==WT||e!==GT}),RO=Object.keys(GE).filter(function(e){return e!==WT}).map(function(e){return Object.keys(GE[e])}).flat();function zO(e){var t=e.values,n=e.family,r=e.canonical,i=e.givenPrefix,a=i===void 0?``:i,o=e.styles,s=o===void 0?{}:o,c=e.config,l=c===void 0?{}:c,u=n===GT,d=t.includes(`fa-duotone`)||t.includes(`fad`),f=l.familyDefault===`duotone`,p=r.prefix===`fad`||r.prefix===`fa-duotone`;return!u&&(d||f||p)&&(r.prefix=`fad`),(t.includes(`fa-brands`)||t.includes(`fab`))&&(r.prefix=`fab`),!r.prefix&&LO.includes(n)&&(Object.keys(s).find(function(e){return RO.includes(e)})||l.autoFetchSvg)&&(r.prefix=jE.get(n).defaultShortPrefixId,r.iconName=TO(r.prefix,r.iconName)||r.iconName),(r.prefix===`fa`||a===`fa`)&&(r.prefix=OO()||`fas`),r}var BO=function(){function e(){dT(this,e),this.definitions={}}return pT(e,[{key:`add`,value:function(){var e=this,t=[...arguments].reduce(this._pullDefinitions,{});Object.keys(t).forEach(function(n){e.definitions[n]=X(X({},e.definitions[n]||{}),t[n]),lO(n,t[n]);var r=vD[WT][n];r&&lO(r,t[n]),SO()})}},{key:`reset`,value:function(){this.definitions={}}},{key:`_pullDefinitions`,value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var r=n[t],i=r.prefix,a=r.iconName,o=r.icon,s=o[2];e[i]||(e[i]={}),s.length>0&&s.forEach(function(t){typeof t==`string`&&(e[i][t]=o)}),e[i][a]=o}),e}}])}(),VO=[],HO={},UO={},WO=Object.keys(UO);function GO(e,t){var n=t.mixoutsTo;return VO=e,HO={},Object.keys(UO).forEach(function(e){WO.indexOf(e)===-1&&delete UO[e]}),VO.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){typeof t[e]==`function`&&(n[e]=t[e]),wT(t[e])===`object`&&Object.keys(t[e]).forEach(function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]})}),e.hooks){var r=e.hooks();Object.keys(r).forEach(function(e){HO[e]||(HO[e]=[]),HO[e].push(r[e])})}e.provides&&e.provides(UO)}),n}function KO(e,t){var n=[...arguments].slice(2);return(HO[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(n))}),t}function qO(e){var t=[...arguments].slice(1);(HO[e]||[]).forEach(function(e){e.apply(null,t)})}function JO(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return UO[e]?UO[e].apply(null,t):void 0}function YO(e){e.prefix===`fa`&&(e.prefix=`fas`);var t=e.iconName,n=e.prefix||OO();if(t)return t=TO(n,t)||t,iO(XO.definitions,n,t)||iO(QD.styles,n,t)}var XO=new BO,ZO={noAuto:function(){Q.autoReplaceSvg=!1,Q.observeMutations=!1,qO(`noAuto`)},config:Q,dom:{i2svg:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return IT?(qO(`beforeI2svg`,e),JO(`pseudoElements2svg`,e),JO(`i2svg`,e)):Promise.reject(Error(`Operation requires a DOM of some kind.`))},watch:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.autoReplaceSvgRoot;Q.autoReplaceSvg===!1&&(Q.autoReplaceSvg=!0),Q.observeMutations=!0,nO(function(){QO({autoReplaceSvgRoot:t}),qO(`watch`,e)})}},parse:{icon:function(e){if(e===null)return null;if(wT(e)===`object`&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:TO(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){var t=e[1].indexOf(`fa-`)===0?e[1].slice(3):e[1],n=jO(e[0]);return{prefix:n,iconName:TO(n,t)||t}}if(typeof e==`string`&&(e.indexOf(`${Q.cssPrefix}-`)>-1||e.match(bD))){var r=FO(e.split(` `),{skipLookups:!0});return{prefix:r.prefix||OO(),iconName:TO(r.prefix,r.iconName)||r.iconName}}if(typeof e==`string`){var i=OO();return{prefix:i,iconName:TO(i,e)||e}}}},library:XO,findIconDefinition:YO,toHtml:rO},QO=function(){var e=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).autoReplaceSvgRoot,t=e===void 0?Z:e;(Object.keys(QD.styles).length>0||Q.autoFetchSvg)&&IT&&Q.autoReplaceSvg&&ZO.dom.i2svg({node:t})};function $O(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return rO(e)})}}),Object.defineProperty(e,"node",{get:function(){if(IT){var t=Z.createElement(`div`);return t.innerHTML=e.html,t.children}}}),e}function ek(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(UD(o)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=HD(X(X({},a),{},{"transform-origin":`${s.x+o.x/16}em ${s.y+o.y/16}em`}))}return[{tag:`svg`,attributes:i,children:t}]}function tk(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?`${t}-${Q.cssPrefix}-${n}`:a;return[{tag:`svg`,attributes:{style:`display: none;`},children:[{tag:`symbol`,attributes:X(X({},i),{},{id:o}),children:r}]}]}function nk(e){return[`aria-label`,`aria-labelledby`,`title`,`role`].some(function(t){return t in e})}function rk(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,s=e.symbol,c=e.maskId,l=e.extra,u=e.watchable,d=u===void 0?!1:u,f=r.found?r:n,p=f.width,m=f.height,h=[Q.replacementClass,a?`${Q.cssPrefix}-${a}`:``].filter(function(e){return l.classes.indexOf(e)===-1}).filter(function(e){return e!==``||!!e}).concat(l.classes).join(` `),g={children:[],attributes:X(X({},l.attributes),{},{"data-prefix":i,"data-icon":a,class:h,role:l.attributes.role||`img`,viewBox:`0 0 ${p} ${m}`})};!nk(l.attributes)&&!l.attributes[`aria-hidden`]&&(g.attributes[`aria-hidden`]=`true`),d&&(g.attributes[nD]=``);var _=X(X({},g),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:s,styles:X({},l.styles)}),v=r.found&&n.found?JO(`generateAbstractMask`,_)||{children:[],attributes:{}}:JO(`generateAbstractIcon`,_)||{children:[],attributes:{}},y=v.children,b=v.attributes;return _.children=y,_.attributes=b,s?tk(_):ek(_)}function ik(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.extra,o=e.watchable,s=o===void 0?!1:o,c=X(X({},a.attributes),{},{class:a.classes.join(` `)});s&&(c[nD]=``);var l=X({},a.styles);UD(i)&&(l.transform=GD({transform:i,startCentered:!0,width:n,height:r}),l[`-webkit-transform`]=l.transform);var u=HD(l);u.length>0&&(c.style=u);var d=[];return d.push({tag:`span`,attributes:c,children:[t]}),d}function ak(e){var t=e.content,n=e.extra,r=X(X({},n.attributes),{},{class:n.classes.join(` `)}),i=HD(n.styles);i.length>0&&(r.style=i);var a=[];return a.push({tag:`span`,attributes:r,children:[t]}),a}var ok=QD.styles;function sk(e){var t=e[0],n=e[1],r=bT(e.slice(4),1)[0],i=null;return i=Array.isArray(r)?{tag:`g`,attributes:{class:`${Q.cssPrefix}-${wD.GROUP}`},children:[{tag:`path`,attributes:{class:`${Q.cssPrefix}-${wD.SECONDARY}`,fill:`currentColor`,d:r[0]}},{tag:`path`,attributes:{class:`${Q.cssPrefix}-${wD.PRIMARY}`,fill:`currentColor`,d:r[1]}}]}:{tag:`path`,attributes:{fill:`currentColor`,d:r}},{found:!0,width:t,height:n,icon:i}}var ck={found:!1,width:512,height:512};function lk(e,t){!dD&&!Q.showMissingIcons&&e&&console.error(`Icon with name "${e}" and prefix "${t}" is missing.`)}function uk(e,t){var n=t;return t===`fa`&&Q.styleDefault!==null&&(t=OO()),new Promise(function(r,i){if(n===`fa`){var a=EO(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&ok[t]&&ok[t][e]){var o=ok[t][e];return r(sk(o))}lk(e,t),r(X(X({},ck),{},{icon:Q.showMissingIcons&&e&&JO(`missingIconAbstract`)||{}}))})}var dk=function(){},fk=Q.measurePerformance&&FT&&FT.mark&&FT.measure?FT:{mark:dk,measure:dk},pk=`FA "7.2.0"`,mk=function(e){return fk.mark(`${pk} ${e} begins`),function(){return hk(e)}},hk=function(e){fk.mark(`${pk} ${e} ends`),fk.measure(`${pk} ${e}`,`${pk} ${e} begins`,`${pk} ${e} ends`)},gk={begin:mk,end:hk},_k=function(){};function vk(e){return typeof(e.getAttribute?e.getAttribute(nD):null)==`string`}function yk(e){var t=e.getAttribute?e.getAttribute(aD):null,n=e.getAttribute?e.getAttribute(oD):null;return t&&n}function bk(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Q.replacementClass)}function xk(){return Q.autoReplaceSvg===!0?Ek.replace:Ek[Q.autoReplaceSvg]||Ek.replace}function Sk(e){return Z.createElementNS(`http://www.w3.org/2000/svg`,e)}function Ck(e){return Z.createElement(e)}function wk(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).ceFn,n=t===void 0?e.tag===`svg`?Sk:Ck:t;if(typeof e==`string`)return Z.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){r.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){r.appendChild(wk(e,{ceFn:n}))}),r}function Tk(e){var t=` ${e.outerHTML} `;return t=`${t}Font Awesome fontawesome.com `,t}var Ek={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(wk(e),t)}),t.getAttribute(nD)===null&&Q.keepOriginalSource){var n=Z.createComment(Tk(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~zD(t).indexOf(Q.replacementClass))return Ek.replace(e);var r=RegExp(`${Q.cssPrefix}-.*`);if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(` `).reduce(function(e,t){return t===Q.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(` `),i.toNode.length===0?t.removeAttribute(`class`):t.setAttribute(`class`,i.toNode.join(` `))}var a=n.map(function(e){return rO(e)}).join(`
|
|
570
|
+
`);t.setAttribute(nD,``),t.innerHTML=a}};function Dk(e){e()}function Ok(e,t){var n=typeof t==`function`?t:_k;if(e.length===0)n();else{var r=Dk;Q.mutateApproach===cD&&(r=NT.requestAnimationFrame||Dk),r(function(){var t=xk(),r=gk.begin(`mutate`);e.map(t),r(),n()})}}var kk=!1;function Ak(){kk=!0}function jk(){kk=!1}var Mk=null;function Nk(e){if(PT&&Q.observeMutations){var t=e.treeCallback,n=t===void 0?_k:t,r=e.nodeCallback,i=r===void 0?_k:r,a=e.pseudoElementsCallback,o=a===void 0?_k:a,s=e.observeMutationsRoot,c=s===void 0?Z:s;Mk=new PT(function(e){if(!kk){var t=OO();RD(e).forEach(function(e){if(e.type===`childList`&&e.addedNodes.length>0&&!vk(e.addedNodes[0])&&(Q.searchPseudoElements&&o(e.target),n(e.target)),e.type===`attributes`&&e.target.parentNode&&Q.searchPseudoElements&&o([e.target],!0),e.type===`attributes`&&vk(e.target)&&~CD.indexOf(e.attributeName))if(e.attributeName===`class`&&yk(e.target)){var r=FO(zD(e.target)),a=r.prefix,s=r.iconName;e.target.setAttribute(aD,a||t),s&&e.target.setAttribute(oD,s)}else bk(e.target)&&i(e.target)})}}),IT&&Mk.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Pk(){Mk&&Mk.disconnect()}function Fk(e){var t=e.getAttribute(`style`),n=[];return t&&(n=t.split(`;`).reduce(function(e,t){var n=t.split(`:`),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(`:`).trim()),e},{})),n}function Ik(e){var t=e.getAttribute(`data-prefix`),n=e.getAttribute(`data-icon`),r=e.innerText===void 0?``:e.innerText.trim(),i=FO(zD(e));return i.prefix||=OO(),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix?i:(i.prefix&&r.length>0&&(i.iconName=wO(i.prefix,e.innerText)||CO(i.prefix,sO(e.innerText))),!i.iconName&&Q.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data),i)}function Lk(e){return RD(e.attributes).reduce(function(e,t){return e.name!==`class`&&e.name!==`style`&&(e[t.name]=t.value),e},{})}function Rk(){return{iconName:null,prefix:null,transform:PD,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function zk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=Ik(e),r=n.iconName,i=n.prefix,a=n.rest,o=Lk(e),s=KO(`parseNodeAttributes`,{},e);return X({iconName:r,prefix:i,transform:PD,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:t.styleParser?Fk(e):[],attributes:o}},s)}var Bk=QD.styles;function Vk(e){var t=Q.autoReplaceSvg===`nest`?zk(e,{styleParser:!1}):zk(e);return~t.extra.classes.indexOf(xD)?JO(`generateLayersText`,e,t):JO(`generateSvgReplacementMutation`,e,t)}function Hk(){return[].concat(xT(NE),xT(KE))}function Uk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!IT)return Promise.resolve();var n=Z.documentElement.classList,r=function(e){return n.add(`${sD}-${e}`)},i=function(e){return n.remove(`${sD}-${e}`)},a=Q.autoFetchSvg?Hk():UT.concat(Object.keys(Bk));a.includes(`fa`)||a.push(`fa`);var o=[`.${xD}:not([${nD}])`].concat(a.map(function(e){return`.${e}:not([${nD}])`})).join(`, `);if(o.length===0)return Promise.resolve();var s=[];try{s=RD(e.querySelectorAll(o))}catch{}if(s.length>0)r(`pending`),i(`complete`);else return Promise.resolve();var c=gk.begin(`onTree`),l=s.reduce(function(e,t){try{var n=Vk(t);n&&e.push(n)}catch(e){dD||e.name===`MissingIcon`&&console.error(e)}return e},[]);return new Promise(function(e,n){Promise.all(l).then(function(n){Ok(n,function(){r(`active`),r(`complete`),i(`pending`),typeof t==`function`&&t(),c(),e()})}).catch(function(e){c(),n(e)})})}function Wk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Vk(e).then(function(e){e&&Ok([e],t)})}function Gk(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:YO(t||{}),i=n.mask;return i&&=(i||{}).icon?i:YO(i||{}),e(r,X(X({},n),{},{mask:i}))}}var Kk=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.transform,r=n===void 0?PD:n,i=t.symbol,a=i===void 0?!1:i,o=t.mask,s=o===void 0?null:o,c=t.maskId,l=c===void 0?null:c,u=t.classes,d=u===void 0?[]:u,f=t.attributes,p=f===void 0?{}:f,m=t.styles,h=m===void 0?{}:m;if(e){var g=e.prefix,_=e.iconName,v=e.icon;return $O(X({type:`icon`},e),function(){return qO(`beforeDOMElementCreation`,{iconDefinition:e,params:t}),rk({icons:{main:sk(v),mask:s?sk(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:_,transform:X(X({},PD),r),symbol:a,maskId:l,extra:{attributes:p,styles:h,classes:d}})})}},qk={mixout:function(){return{icon:Gk(Kk)}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Uk,e.nodeCallback=Wk,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=t===void 0?Z:t,r=e.callback;return Uk(n,r===void 0?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.prefix,i=t.transform,a=t.symbol,o=t.mask,s=t.maskId,c=t.extra;return new Promise(function(t,l){Promise.all([uk(n,r),o.iconName?uk(o.iconName,o.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(o){var l=bT(o,2),u=l[0],d=l[1];t([e,rk({icons:{main:u,mask:d},prefix:r,iconName:n,transform:i,symbol:a,maskId:s,extra:c,watchable:!0})])}).catch(l)})},e.generateAbstractIcon=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,a=e.styles,o=HD(a);o.length>0&&(n.style=o);var s;return UD(i)&&(s=JO(`generateAbstractTransformGrouping`,{main:r,transform:i,containerWidth:r.width,iconWidth:r.width})),t.push(s||r.icon),{children:t,attributes:n}}}},Jk={mixout:function(){return{layer:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.classes,r=n===void 0?[]:n;return $O({type:`layer`},function(){qO(`beforeDOMElementCreation`,{assembler:e,params:t});var n=[];return e(function(e){Array.isArray(e)?e.map(function(e){n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:`span`,attributes:{class:[`${Q.cssPrefix}-layers`].concat(xT(r)).join(` `)},children:n}]})}}}},Yk={mixout:function(){return{counter:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.title,r=n===void 0?null:n,i=t.classes,a=i===void 0?[]:i,o=t.attributes,s=o===void 0?{}:o,c=t.styles,l=c===void 0?{}:c;return $O({type:`counter`,content:e},function(){return qO(`beforeDOMElementCreation`,{content:e,params:t}),ak({content:e.toString(),title:r,extra:{attributes:s,styles:l,classes:[`${Q.cssPrefix}-layers-counter`].concat(xT(a))}})})}}}},Xk={mixout:function(){return{text:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.transform,r=n===void 0?PD:n,i=t.classes,a=i===void 0?[]:i,o=t.attributes,s=o===void 0?{}:o,c=t.styles,l=c===void 0?{}:c;return $O({type:`text`,content:e},function(){return qO(`beforeDOMElementCreation`,{content:e,params:t}),ik({content:e,transform:X(X({},PD),r),extra:{attributes:s,styles:l,classes:[`${Q.cssPrefix}-layers-text`].concat(xT(a))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.transform,r=t.extra,i=null,a=null;if(LT){var o=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();i=s.width/o,a=s.height/o}return Promise.resolve([e,ik({content:e.innerHTML,width:i,height:a,transform:n,extra:r,watchable:!0})])}}},Zk=RegExp(`"`,`ug`),Qk=[1105920,1112319],$k=X(X(X(X({},{FontAwesome:{normal:`fas`,400:`fas`}}),AE),ZE),LE),eA=Object.keys($k).reduce(function(e,t){return e[t.toLowerCase()]=$k[t],e},{}),tA=Object.keys(eA).reduce(function(e,t){var n=eA[t];return e[t]=n[900]||xT(Object.entries(n))[0][1],e},{});function nA(e){return sO(xT(e.replace(Zk,``))[0]||``)}function rA(e){var t=e.getPropertyValue(`font-feature-settings`).includes(`ss01`),n=e.getPropertyValue(`content`).replace(Zk,``),r=n.codePointAt(0),i=r>=Qk[0]&&r<=Qk[1],a=n.length===2?n[0]===n[1]:!1;return i||a||t}function iA(e,t){var n=e.replace(/^['"]|['"]$/g,``).toLowerCase(),r=parseInt(t),i=isNaN(r)?`normal`:r;return(eA[n]||{})[i]||tA[n]}function aA(e,t){var n=`${iD}${t.replace(`:`,`-`)}`;return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=RD(e.children).filter(function(e){return e.getAttribute(rD)===t})[0],o=NT.getComputedStyle(e,t),s=o.getPropertyValue(`font-family`),c=s.match(SD),l=o.getPropertyValue(`font-weight`),u=o.getPropertyValue(`content`);if(a&&!c)return e.removeChild(a),r();if(c&&u!==`none`&&u!==``){var d=o.getPropertyValue(`content`),f=iA(s,l),p=nA(d),m=c[0].startsWith(`FontAwesome`),h=rA(o),g=CO(f,p),_=g;if(m){var v=DO(p);v.iconName&&v.prefix&&(g=v.iconName,f=v.prefix)}if(g&&!h&&(!a||a.getAttribute(aD)!==f||a.getAttribute(oD)!==_)){e.setAttribute(n,_),a&&e.removeChild(a);var y=Rk(),b=y.extra;b.attributes[rD]=t,uk(g,f).then(function(i){var a=rk(X(X({},y),{},{icons:{main:i,mask:kO()},prefix:f,iconName:_,extra:b,watchable:!0})),o=Z.createElementNS(`http://www.w3.org/2000/svg`,`svg`);t===`::before`?e.insertBefore(o,e.firstChild):e.appendChild(o),o.outerHTML=a.map(function(e){return rO(e)}).join(`
|
|
571
|
+
`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function oA(e){return Promise.all([aA(e,`::before`),aA(e,`::after`)])}function sA(e){return e.parentNode!==document.head&&!~lD.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(rD)&&(!e.parentNode||e.parentNode.tagName!==`svg`)}var cA=function(e){return!!e&&uD.some(function(t){return e.includes(t)})},lA=function(e){if(!e)return[];var t=new Set,n=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});n=n.flatMap(function(e){return e.includes(`(`)?e:e.split(`,`).map(function(e){return e.trim()})});var r=mT(n),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;if(cA(a)){var o=uD.reduce(function(e,t){return e.replace(t,``)},a);o!==``&&o!==`*`&&t.add(o)}}}catch(e){r.e(e)}finally{r.f()}return t};function uA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(IT){var n;if(t)n=e;else if(Q.searchPseudoElementsFullScan)n=e.querySelectorAll(`*`);else{var r=new Set,i=mT(document.styleSheets),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;try{var s=mT(o.cssRules),c;try{for(s.s();!(c=s.n()).done;){var l=c.value,u=mT(lA(l.selectorText)),d;try{for(u.s();!(d=u.n()).done;){var f=d.value;r.add(f)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){s.e(e)}finally{s.f()}}catch(e){Q.searchPseudoElementsWarnings&&console.warn(`Font Awesome: cannot parse stylesheet: ${o.href} (${e.message})
|
|
572
|
+
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`)}}}catch(e){i.e(e)}finally{i.f()}if(!r.size)return;var p=Array.from(r).join(`, `);try{n=e.querySelectorAll(p)}catch{}}return new Promise(function(e,t){var r=RD(n).filter(sA).map(oA),i=gk.begin(`searchPseudoElements`);Ak(),Promise.all(r).then(function(){i(),jk(),e()}).catch(function(){i(),jk(),t()})})}}var dA={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=uA,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=t===void 0?Z:t;Q.searchPseudoElements&&uA(n)}}},fA=!1,pA={mixout:function(){return{dom:{unwatch:function(){Ak(),fA=!0}}}},hooks:function(){return{bootstrap:function(){Nk(KO(`mutationObserverCallbacks`,{}))},noAuto:function(){Pk()},watch:function(e){var t=e.observeMutationsRoot;fA?jk():Nk(KO(`mutationObserverCallbacks`,{observeMutationsRoot:t}))}}}},mA=function(e){return e.toLowerCase().split(` `).reduce(function(e,t){var n=t.toLowerCase().split(`-`),r=n[0],i=n.slice(1).join(`-`);if(r&&i===`h`)return e.flipX=!0,e;if(r&&i===`v`)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case`grow`:e.size+=i;break;case`shrink`:e.size-=i;break;case`left`:e.x-=i;break;case`right`:e.x+=i;break;case`up`:e.y-=i;break;case`down`:e.y+=i;break;case`rotate`:e.rotate+=i;break}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},hA={mixout:function(){return{parse:{transform:function(e){return mA(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute(`data-fa-transform`);return n&&(e.transform=mA(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,a={outer:{transform:`translate(${r/2} 256)`},inner:{transform:`${`translate(${n.x*32}, ${n.y*32}) `} ${`scale(${n.size/16*(n.flipX?-1:1)}, ${n.size/16*(n.flipY?-1:1)}) `} ${`rotate(${n.rotate} 0 0)`}`},path:{transform:`translate(${i/2*-1} -256)`}};return{tag:`g`,attributes:X({},a.outer),children:[{tag:`g`,attributes:X({},a.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:X(X({},t.icon.attributes),a.path)}]}]}}}},gA={x:0,y:0,width:`100%`,height:`100%`};function _A(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill=`black`),e}function vA(e){return e.tag===`g`?e.children:[e]}GO([XD,qk,Jk,Yk,Xk,dA,pA,hA,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute(`data-fa-mask`),r=n?FO(n.split(` `).map(function(e){return e.trim()})):kO();return r.prefix||=OO(),e.mask=r,e.maskId=t.getAttribute(`data-fa-mask-id`),e}}},provides:function(e){e.generateAbstractMask=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.mask,a=e.maskId,o=e.transform,s=r.width,c=r.icon,l=i.width,u=i.icon,d=WD({transform:o,containerWidth:l,iconWidth:s}),f={tag:`rect`,attributes:X(X({},gA),{},{fill:`white`})},p=c.children?{children:c.children.map(_A)}:{},m={tag:`g`,attributes:X({},d.inner),children:[_A(X({tag:c.tag,attributes:X(X({},c.attributes),d.path)},p))]},h={tag:`g`,attributes:X({},d.outer),children:[m]},g=`mask-${a||LD()}`,_=`clip-${a||LD()}`,v={tag:`mask`,attributes:X(X({},gA),{},{id:g,maskUnits:`userSpaceOnUse`,maskContentUnits:`userSpaceOnUse`}),children:[f,h]},y={tag:`defs`,children:[{tag:`clipPath`,attributes:{id:_},children:vA(u)},v]};return t.push(y,{tag:`rect`,attributes:X({fill:`currentColor`,"clip-path":`url(#${_})`,mask:`url(#${g})`},gA)}),{children:t,attributes:n}}}},{provides:function(e){var t=!1;NT.matchMedia&&(t=NT.matchMedia(`(prefers-reduced-motion: reduce)`).matches),e.missingIconAbstract=function(){var e=[],n={fill:`currentColor`},r={attributeType:`XML`,repeatCount:`indefinite`,dur:`2s`};e.push({tag:`path`,attributes:X(X({},n),{},{d:`M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z`})});var i=X(X({},r),{},{attributeName:`opacity`}),a={tag:`circle`,attributes:X(X({},n),{},{cx:`256`,cy:`364`,r:`28`}),children:[]};return t||a.children.push({tag:`animate`,attributes:X(X({},r),{},{attributeName:`r`,values:`28;14;28;28;14;28;`})},{tag:`animate`,attributes:X(X({},i),{},{values:`1;0;1;1;0;1;`})}),e.push(a),e.push({tag:`path`,attributes:X(X({},n),{},{opacity:`1`,d:`M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z`}),children:t?[]:[{tag:`animate`,attributes:X(X({},i),{},{values:`1;0;0;0;0;1;`})}]}),t||e.push({tag:`path`,attributes:X(X({},n),{},{opacity:`0`,d:`M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z`}),children:[{tag:`animate`,attributes:X(X({},i),{},{values:`0;0;1;1;0;0;`})}]}),{tag:`g`,attributes:{class:`missing`},children:e}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute(`data-fa-symbol`);return e.symbol=n===null?!1:n===``?!0:n,e}}}}],{mixoutsTo:ZO}),ZO.noAuto;var yA=ZO.config,bA=ZO.library;ZO.dom;var xA=ZO.parse;ZO.findIconDefinition,ZO.toHtml;var SA=ZO.icon;ZO.layer;var CA=ZO.text;ZO.counter;var wA={prefix:`fab`,iconName:`qq`,icon:[448,512,[],`f1d6`,`M433.754 420.445c-11.526 1.393-44.86-52.741-44.86-52.741 0 31.345-16.136 72.247-51.051 101.786 16.842 5.192 54.843 19.167 45.803 34.421-7.316 12.343-125.51 7.881-159.632 4.037-34.122 3.844-152.316 8.306-159.632-4.037-9.045-15.25 28.918-29.214 45.783-34.415-34.92-29.539-51.059-70.445-51.059-101.792 0 0-33.334 54.134-44.859 52.741-5.37-.65-12.424-29.644 9.347-99.704 10.261-33.024 21.995-60.478 40.144-105.779C60.683 98.063 108.982.006 224 0c113.737.006 163.156 96.133 160.264 214.963 18.118 45.223 29.912 72.85 40.144 105.778 21.768 70.06 14.716 99.053 9.346 99.704z`]},TA={prefix:`fab`,iconName:`edge`,icon:[512,512,[],`f282`,`M120.1 37.44C161.1 12.23 207.7-.7753 255 .0016C423 .0016 512 123.8 512 219.5C511.9 252.2 499 283.4 476.1 306.7C453.2 329.9 422.1 343.2 389.4 343.7C314.2 343.7 297.9 320.6 297.9 311.7C297.9 307.9 299.1 305.5 302.7 302.3L303.7 301.1L304.1 299.5C314.6 288 320 273.3 320 257.9C320 179.2 237.8 115.2 136 115.2C98.46 114.9 61.46 124.1 28.48 142.1C55.48 84.58 111.2 44.5 119.8 38.28C120.6 37.73 120.1 37.44 120.1 37.44V37.44zM135.7 355.5C134.3 385.5 140.3 415.5 152.1 442.7C165.7 469.1 184.8 493.7 208.6 512C149.1 500.5 97.11 468.1 59.2 422.7C21.12 376.3 0 318.4 0 257.9C0 206.7 62.4 163.5 136 163.5C172.6 162.9 208.4 174.4 237.8 196.2L234.2 197.4C182.7 215 135.7 288.1 135.7 355.5V355.5zM469.8 400L469.1 400.1C457.3 418.9 443.2 435.2 426.9 449.6C396.1 477.6 358.8 495.1 318.1 499.5C299.5 499.8 281.3 496.3 264.3 488.1C238.7 477.8 217.2 458.1 202.7 435.1C188.3 411.2 181.6 383.4 183.7 355.5C183.1 335.4 189.1 315.2 198.7 297.3C212.6 330.4 236.2 358.6 266.3 378.1C296.4 397.6 331.8 407.6 367.7 406.7C398.7 407 429.8 400 457.9 386.2L459.8 385.3C463.7 383 467.5 381.4 471.4 385.3C475.9 390.2 473.2 394.5 470.2 399.3C470 399.5 469.9 399.8 469.8 400V400z`]},EA={prefix:`fab`,iconName:`weixin`,icon:[576,512,[],`f1d7`,`M385.2 167.6c6.4 0 12.6.3 18.8 1.1C387.4 90.3 303.3 32 207.7 32 100.5 32 13 104.8 13 197.4c0 53.4 29.3 97.5 77.9 131.6l-19.3 58.6 68-34.1c24.4 4.8 43.8 9.7 68.2 9.7 6.2 0 12.1-.3 18.3-.8-4-12.9-6.2-26.6-6.2-40.8-.1-84.9 72.9-154 165.3-154zm-104.5-52.9c14.5 0 24.2 9.7 24.2 24.4 0 14.5-9.7 24.2-24.2 24.2-14.8 0-29.3-9.7-29.3-24.2.1-14.7 14.6-24.4 29.3-24.4zm-136.4 48.6c-14.5 0-29.3-9.7-29.3-24.2 0-14.8 14.8-24.4 29.3-24.4 14.8 0 24.4 9.7 24.4 24.4 0 14.6-9.6 24.2-24.4 24.2zM563 319.4c0-77.9-77.9-141.3-165.4-141.3-92.7 0-165.4 63.4-165.4 141.3S305 460.7 397.6 460.7c19.3 0 38.9-5.1 58.6-9.9l53.4 29.3-14.8-48.6C534 402.1 563 363.2 563 319.4zm-219.1-24.5c-9.7 0-19.3-9.7-19.3-19.6 0-9.7 9.7-19.3 19.3-19.3 14.8 0 24.4 9.7 24.4 19.3 0 10-9.7 19.6-24.4 19.6zm107.1 0c-9.7 0-19.3-9.7-19.3-19.6 0-9.7 9.7-19.3 19.3-19.3 14.5 0 24.4 9.7 24.4 19.3.1 10-9.9 19.6-24.4 19.6z`]},DA={prefix:`fab`,iconName:`windows`,icon:[448,512,[],`f17a`,`M0 93.7l183.6-25.3v177.4H0V93.7zm0 324.6l183.6 25.3V268.4H0v149.9zm203.8 28L448 480V268.4H203.8v177.9zm0-380.6v180.1H448V32L203.8 65.7z`]},OA={prefix:`fab`,iconName:`discord`,icon:[640,512,[],`f392`,`M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z`]},kA={prefix:`fab`,iconName:`chrome`,icon:[512,512,[],`f268`,`M0 256C0 209.4 12.47 165.6 34.27 127.1L144.1 318.3C166 357.5 207.9 384 256 384C270.3 384 283.1 381.7 296.8 377.4L220.5 509.6C95.9 492.3 0 385.3 0 256zM365.1 321.6C377.4 302.4 384 279.1 384 256C384 217.8 367.2 183.5 340.7 160H493.4C505.4 189.6 512 222.1 512 256C512 397.4 397.4 511.1 256 512L365.1 321.6zM477.8 128H256C193.1 128 142.3 172.1 130.5 230.7L54.19 98.47C101 38.53 174 0 256 0C350.8 0 433.5 51.48 477.8 128V128zM168 256C168 207.4 207.4 168 256 168C304.6 168 344 207.4 344 256C344 304.6 304.6 344 256 344C207.4 344 168 304.6 168 256z`]},AA={prefix:`fab`,iconName:`apple`,icon:[384,512,[],`f179`,`M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z`]},jA={prefix:`fab`,iconName:`x-twitter`,icon:[512,512,[],`e61b`,`M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z`]},MA={prefix:`fab`,iconName:`tiktok`,icon:[448,512,[],`e07b`,`M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z`]},NA={prefix:`fab`,iconName:`linkedin`,icon:[448,512,[],`f08c`,`M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z`]},PA={prefix:`fab`,iconName:`instagram`,icon:[448,512,[],`f16d`,`M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z`]},FA={prefix:`fab`,iconName:`facebook`,icon:[512,512,[62e3],`f09a`,`M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z`]},IA={prefix:`fab`,iconName:`whatsapp`,icon:[448,512,[],`f232`,`M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z`]},LA={prefix:`fab`,iconName:`google-play`,icon:[512,512,[],`f3ab`,`M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z`]},RA={prefix:`fab`,iconName:`line`,icon:[512,512,[],`f3c0`,`M311 196.8v81.3c0 2.1-1.6 3.7-3.7 3.7h-13c-1.3 0-2.4-.7-3-1.5l-37.3-50.3v48.2c0 2.1-1.6 3.7-3.7 3.7h-13c-2.1 0-3.7-1.6-3.7-3.7V196.9c0-2.1 1.6-3.7 3.7-3.7h12.9c1.1 0 2.4 .6 3 1.6l37.3 50.3V196.9c0-2.1 1.6-3.7 3.7-3.7h13c2.1-.1 3.8 1.6 3.8 3.5zm-93.7-3.7h-13c-2.1 0-3.7 1.6-3.7 3.7v81.3c0 2.1 1.6 3.7 3.7 3.7h13c2.1 0 3.7-1.6 3.7-3.7V196.8c0-1.9-1.6-3.7-3.7-3.7zm-31.4 68.1H150.3V196.8c0-2.1-1.6-3.7-3.7-3.7h-13c-2.1 0-3.7 1.6-3.7 3.7v81.3c0 1 .3 1.8 1 2.5c.7 .6 1.5 1 2.5 1h52.2c2.1 0 3.7-1.6 3.7-3.7v-13c0-1.9-1.6-3.7-3.5-3.7zm193.7-68.1H327.3c-1.9 0-3.7 1.6-3.7 3.7v81.3c0 1.9 1.6 3.7 3.7 3.7h52.2c2.1 0 3.7-1.6 3.7-3.7V265c0-2.1-1.6-3.7-3.7-3.7H344V247.7h35.5c2.1 0 3.7-1.6 3.7-3.7V230.9c0-2.1-1.6-3.7-3.7-3.7H344V213.5h35.5c2.1 0 3.7-1.6 3.7-3.7v-13c-.1-1.9-1.7-3.7-3.7-3.7zM512 93.4V419.4c-.1 51.2-42.1 92.7-93.4 92.6H92.6C41.4 511.9-.1 469.8 0 418.6V92.6C.1 41.4 42.2-.1 93.4 0H419.4c51.2 .1 92.7 42.1 92.6 93.4zM441.6 233.5c0-83.4-83.7-151.3-186.4-151.3s-186.4 67.9-186.4 151.3c0 74.7 66.3 137.4 155.9 149.3c21.8 4.7 19.3 12.7 14.4 42.1c-.8 4.7-3.8 18.4 16.1 10.1s107.3-63.2 146.5-108.2c27-29.7 39.9-59.8 39.9-93.1z`]},zA={prefix:`fab`,iconName:`android`,icon:[576,512,[],`f17b`,`M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55`]},BA={prefix:`fab`,iconName:`github`,icon:[496,512,[],`f09b`,`M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z`]},VA={prefix:`fab`,iconName:`youtube`,icon:[576,512,[61802],`f167`,`M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z`]},HA={prefix:`fab`,iconName:`telegram`,icon:[496,512,[62462,`telegram-plane`],`f2c6`,`M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z`]};bA.add(OA,EA);function UA(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function WA(e,t,n=`.`,r){if(!UA(t))return WA(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:UA(a)&&UA(i[t])?i[t]=WA(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function GA(e){return(...t)=>t.reduce((t,n)=>WA(t,n,``,e),{})}var KA=GA();function qA(e){return Ce()?(Te(e),!0):!1}var JA=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var YA=e=>e!=null,XA=Object.prototype.toString,ZA=e=>XA.call(e)===`[object Object]`,QA=()=>{};function $A(e){return Array.isArray(e)?e:[e]}function ej(e){return e||o()}function tj(e,t){ej(t)&&r(e,t)}function nj(e,t,n){return N(e,t,{...n,immediate:!0})}var rj=JA?window:void 0;JA&&window.document,JA&&window.navigator,JA&&window.location;function ij(e){let t=a(e);return t?.$el??t}function aj(...e){let t=[],n=()=>{t.forEach(e=>e()),t.length=0},r=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),i=I(()=>{let t=$A(a(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),o=nj(()=>[i.value?.map(e=>ij(e))??[rj].filter(e=>e!=null),$A(a(i.value?e[1]:e[0])),$A(w(i.value?e[2]:e[1])),a(i.value?e[3]:e[2])],([e,i,a,o])=>{if(n(),!e?.length||!i?.length||!a?.length)return;let s=ZA(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return qA(n),()=>{o(),n()}}function oj(){let e=f(!1),t=o();return t&&O(()=>{e.value=!0},t),e}function sj(e){let t=oj();return I(()=>(t.value,!!e()))}function cj(e,t,n={}){let{root:r,rootMargin:i=`0px`,threshold:o=0,window:s=rj,immediate:c=!0}=n,l=sj(()=>s&&`IntersectionObserver`in s),u=I(()=>$A(a(e)).map(ij).filter(YA)),d=QA,p=f(c),m=l.value?N(()=>[u.value,ij(r),p.value],([e,n])=>{if(d(),!p.value||!e.length)return;let r=new IntersectionObserver(t,{root:ij(n),rootMargin:i,threshold:o});e.forEach(e=>e&&r.observe(e)),d=()=>{r.disconnect(),d=QA}},{immediate:c,flush:`post`}):QA,h=()=>{d(),m(),p.value=!1};return qA(h),{isSupported:l,isActive:p,pause(){d(),p.value=!1},resume(){p.value=!0},stop:h}}var lj=1/60*1e3,uj=typeof performance<`u`?()=>performance.now():()=>Date.now(),dj=typeof window<`u`?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(uj()),lj);function fj(e){let t=[],n=[],r=0,i=!1,a=!1,o=new WeakSet,s={schedule:(e,a=!1,s=!1)=>{let c=s&&i,l=c?t:n;return a&&o.add(e),l.indexOf(e)===-1&&(l.push(e),c&&i&&(r=t.length)),e},cancel:e=>{let t=n.indexOf(e);t!==-1&&n.splice(t,1),o.delete(e)},process:c=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){let r=t[n];r(c),o.has(r)&&(s.schedule(r),e())}i=!1,a&&(a=!1,s.process(c))}};return s}var pj=40,mj=!0,hj=!1,gj=!1,_j={delta:0,timestamp:0},vj=[`read`,`update`,`preRender`,`render`,`postRender`],yj=vj.reduce((e,t)=>(e[t]=fj(()=>hj=!0),e),{}),bj=vj.reduce((e,t)=>{let n=yj[t];return e[t]=(e,t=!1,r=!1)=>(hj||wj(),n.schedule(e,t,r)),e},{}),xj=vj.reduce((e,t)=>(e[t]=yj[t].cancel,e),{});vj.reduce((e,t)=>(e[t]=()=>yj[t].process(_j),e),{});var Sj=e=>yj[e].process(_j),Cj=e=>{hj=!1,_j.delta=mj?lj:Math.max(Math.min(e-_j.timestamp,pj),1),_j.timestamp=e,gj=!0,vj.forEach(Sj),gj=!1,hj&&(mj=!1,dj(Cj))},wj=()=>{hj=!0,mj=!0,gj||dj(Cj)},Tj=()=>_j;function Ej(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var Dj=(e,t,n)=>Math.min(Math.max(n,e),t),Oj=.001,kj=.01,Aj=.05;function jj({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a,o=1-t;o=Dj(Aj,1,o),e=Dj(kj,10,e/1e3),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Pj(t,o),c=Math.exp(-i);return Oj-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Pj(t**2,o);return(-i(t)+Oj>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Nj(i,a,s);if(e*=1e3,isNaN(c))return{stiffness:100,damping:10,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Mj=12;function Nj(e,t,n){let r=n;for(let n=1;n<Mj;n++)r-=e(r)/t(r);return r}function Pj(e,t){return e*Math.sqrt(1-t*t)}var Fj=[`duration`,`bounce`],Ij=[`stiffness`,`damping`,`mass`];function Lj(e,t){return t.some(t=>e[t]!==void 0)}function Rj(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Lj(e,Ij)&&Lj(e,Fj)){let n=jj(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function zj(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,a=Ej(e,[`from`,`to`,`restSpeed`,`restDelta`]);let o={done:!1,value:t},{stiffness:s,damping:c,mass:l,velocity:u,duration:d,isResolvedFromDuration:f}=Rj(a),p=Bj,m=Bj;function h(){let e=u?-(u/1e3):0,r=n-t,a=c/(2*Math.sqrt(s*l)),o=Math.sqrt(s/l)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),a<1){let t=Pj(o,a);p=i=>{let s=Math.exp(-a*o*i);return n-s*((e+a*o*r)/t*Math.sin(t*i)+r*Math.cos(t*i))},m=n=>{let i=Math.exp(-a*o*n);return a*o*i*(Math.sin(t*n)*(e+a*o*r)/t+r*Math.cos(t*n))-i*(Math.cos(t*n)*(e+a*o*r)-t*r*Math.sin(t*n))}}else if(a===1)p=t=>n-Math.exp(-o*t)*(r+(e+o*r)*t);else{let t=o*Math.sqrt(a*a-1);p=i=>{let s=Math.exp(-a*o*i),c=Math.min(t*i,300);return n-s*((e+a*o*r)*Math.sinh(c)+t*r*Math.cosh(c))/t}}}return h(),{next:e=>{let t=p(e);if(f)o.done=e>=d;else{let a=m(e)*1e3,s=Math.abs(a)<=r,c=Math.abs(n-t)<=i;o.done=s&&c}return o.value=o.done?n:t,o},flipTarget:()=>{u=-u,[t,n]=[n,t],h()}}}zj.needsInterpolation=(e,t)=>typeof e==`string`||typeof t==`string`;var Bj=e=>0,Vj=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Hj=(e,t,n)=>-n*e+n*t+e,Uj=(e,t)=>n=>Math.max(Math.min(n,t),e),Wj=e=>e%1?Number(e.toFixed(5)):e,Gj=/(-)?([\d]*\.?[\d])+/g,Kj=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,qj=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Jj(e){return typeof e==`string`}var Yj={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Xj=Object.assign(Object.assign({},Yj),{transform:Uj(0,1)}),Zj=Object.assign(Object.assign({},Yj),{default:1}),Qj=e=>({test:t=>Jj(t)&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$j=Qj(`deg`),eM=Qj(`%`),$=Qj(`px`),tM=Object.assign(Object.assign({},eM),{parse:e=>eM.parse(e)/100,transform:e=>eM.transform(e*100)}),nM=(e,t)=>n=>!!(Jj(n)&&qj.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),rM=(e,t,n)=>r=>{if(!Jj(r))return r;let[i,a,o,s]=r.match(Gj);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},iM={test:nM(`hsl`,`hue`),parse:rM(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+eM.transform(Wj(t))+`, `+eM.transform(Wj(n))+`, `+Wj(Xj.transform(r))+`)`},aM=Uj(0,255),oM=Object.assign(Object.assign({},Yj),{transform:e=>Math.round(aM(e))}),sM={test:nM(`rgb`,`red`),parse:rM(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+oM.transform(e)+`, `+oM.transform(t)+`, `+oM.transform(n)+`, `+Wj(Xj.transform(r))+`)`};function cM(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var lM={test:nM(`#`),parse:cM,transform:sM.transform},uM={test:e=>sM.test(e)||lM.test(e)||iM.test(e),parse:e=>sM.test(e)?sM.parse(e):iM.test(e)?iM.parse(e):lM.parse(e),transform:e=>Jj(e)?e:e.hasOwnProperty(`red`)?sM.transform(e):iM.transform(e)},dM="${c}",fM="${n}";function pM(e){return isNaN(e)&&Jj(e)&&(e.match(Gj)?.length??0)+(e.match(Kj)?.length??0)>0}function mM(e){typeof e==`number`&&(e=`${e}`);let t=[],n=0,r=e.match(Kj);r&&(n=r.length,e=e.replace(Kj,dM),t.push(...r.map(uM.parse)));let i=e.match(Gj);return i&&(e=e.replace(Gj,fM),t.push(...i.map(Yj.parse))),{values:t,numColors:n,tokenised:e}}function hM(e){return mM(e).values}function gM(e){let{values:t,numColors:n,tokenised:r}=mM(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=t.replace(r<n?dM:fM,r<n?uM.transform(e[r]):Wj(e[r]));return t}}var _M=e=>typeof e==`number`?0:e;function vM(e){let t=hM(e);return gM(e)(t.map(_M))}var yM={test:pM,parse:hM,createTransformer:gM,getAnimatableNone:vM},bM=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function xM(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Gj)||[];if(!r)return e;let i=n.replace(r,``),a=+!!bM.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var SM=/([a-z-]*)\(.*?\)/g,CM=Object.assign(Object.assign({},yM),{getAnimatableNone:e=>{let t=e.match(SM);return t?t.map(xM).join(` `):e}});function wM(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function TM({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=wM(s,r,e+1/3),a=wM(s,r,e),o=wM(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}var EM=(e,t,n)=>{let r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},DM=[lM,sM,iM],OM=e=>DM.find(t=>t.test(e)),kM=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,AM=(e,t)=>{let n=OM(e),r=OM(t);kM(e),kM(t);let i=n.parse(e),a=r.parse(t);n===iM&&(i=TM(i),n=sM),r===iM&&(a=TM(a),r=sM);let o=Object.assign({},i);return e=>{for(let t in o)t!==`alpha`&&(o[t]=EM(i[t],a[t],e));return o.alpha=Hj(i.alpha,a.alpha,e),n.transform(o)}},jM=e=>typeof e==`number`,MM=(e,t)=>n=>t(e(n)),NM=(...e)=>e.reduce(MM);function PM(e,t){return jM(e)?n=>Hj(e,t,n):uM.test(e)?AM(e,t):RM(e,t)}var FM=(e,t)=>{let n=[...e],r=n.length,i=e.map((e,n)=>PM(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},IM=(e,t)=>{let n=Object.assign(Object.assign({},e),t),r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=PM(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}};function LM(e){let t=yM.parse(e),n=t.length,r=0,i=0,a=0;for(let e=0;e<n;e++)r||typeof t[e]==`number`?r++:t[e].hue===void 0?i++:a++;return{parsed:t,numNumbers:r,numRGB:i,numHSL:a}}var RM=(e,t)=>{let n=yM.createTransformer(t),r=LM(e),i=LM(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?NM(FM(r.parsed,i.parsed),n):(`${e}${t}`,n=>`${n>0?t:e}`)},zM=(e,t)=>n=>Hj(e,t,n);function BM(e){if(typeof e==`number`)return zM;if(typeof e==`string`)return uM.test(e)?AM:RM;if(Array.isArray(e))return FM;if(typeof e==`object`)return IM}function VM(e,t,n){let r=[],i=n||BM(e[0]),a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=NM(Array.isArray(t)?t[n]:t,a)),r.push(a)}return r}function HM([e,t],[n]){return r=>n(Vj(e,t,r))}function UM(e,t){let n=e.length,r=n-1;return i=>{let a=0,o=!1;if(i<=e[0]?o=!0:i>=e[r]&&(a=r-1,o=!0),!o){let t=1;for(;t<n&&!(e[t]>i||t===r);t++);a=t-1}let s=Vj(e[a],e[a+1],i);return t[a](s)}}function WM(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;t.length,!r||!Array.isArray(r)||(r.length,a-1),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());let o=VM(t,r,i),s=a===2?HM(e,o):UM(e,o);return n?t=>s(Dj(e[0],e[a-1],t)):s}var GM=e=>t=>1-e(1-t),KM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,qM=e=>t=>t**+e,JM=e=>t=>t*t*((e+1)*t-e),YM=e=>{let t=JM(e);return e=>(e*=2)<1?.5*t(e):.5*(2-2**(-10*(e-1)))},XM=1.525,ZM=4/11,QM=8/11,$M=9/10,eN=e=>e,tN=qM(2),nN=GM(tN),rN=KM(tN),iN=e=>1-Math.sin(Math.acos(e)),aN=GM(iN),oN=KM(aN),sN=JM(XM),cN=GM(sN),lN=KM(sN),uN=YM(XM),dN=4356/361,fN=35442/1805,pN=16061/1805,mN=e=>{if(e===1||e===0)return e;let t=e*e;return e<ZM?7.5625*t:e<QM?9.075*t-9.9*e+3.4:e<$M?dN*t-fN*e+pN:10.8*e*e-20.52*e+10.72},hN=GM(mN),gN=e=>e<.5?.5*(1-mN(1-e*2)):.5*mN(e*2-1)+.5;function _N(e,t){return e.map(()=>t||rN).splice(0,e.length-1)}function vN(e){let t=e.length;return e.map((e,n)=>n===0?0:n/(t-1))}function yN(e,t){return e.map(e=>e*t)}function bN({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){let a={done:!1,value:e},o=Array.isArray(t)?t:[e,t],s=yN(r&&r.length===o.length?r:vN(o),i);function c(){return WM(s,o,{ease:Array.isArray(n)?n:_N(o,n)})}let l=c();return{next:e=>(a.value=l(e),a.done=e>=i,a),flipTarget:()=>{o.reverse(),l=c()}}}function xN({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:a}){let o={done:!1,value:t},s=n*e,c=t+s,l=a===void 0?c:a(c);return l!==c&&(s=l-t),{next:e=>{let t=-s*Math.exp(-e/r);return o.done=!(t>i||t<-i),o.value=o.done?l:l+t,o},flipTarget:()=>{}}}var SN={keyframes:bN,spring:zj,decay:xN};function CN(e){if(Array.isArray(e.to))return bN;if(SN[e.type])return SN[e.type];let t=new Set(Object.keys(e));return t.has(`ease`)||t.has(`duration`)&&!t.has(`dampingRatio`)?bN:t.has(`dampingRatio`)||t.has(`stiffness`)||t.has(`mass`)||t.has(`damping`)||t.has(`restSpeed`)||t.has(`restDelta`)?zj:bN}function wN(e,t,n=0){return e-t-n}function TN(e,t,n=0,r=!0){return r?wN(t+-e,t,n):t-(e-t)+n}function EN(e,t,n,r){return r?e>=t+n:e<=-n}var DN=e=>{let t=({delta:t})=>e(t);return{start:()=>bj.update(t,!0),stop:()=>xj.update(t)}};function ON(e){var t,{from:n,autoplay:r=!0,driver:i=DN,elapsed:a=0,repeat:o=0,repeatType:s=`loop`,repeatDelay:c=0,onPlay:l,onStop:u,onComplete:d,onRepeat:f,onUpdate:p}=e,m=Ej(e,[`from`,`autoplay`,`driver`,`elapsed`,`repeat`,`repeatType`,`repeatDelay`,`onPlay`,`onStop`,`onComplete`,`onRepeat`,`onUpdate`]);let{to:h}=m,g,_=0,v=m.duration,y,b=!1,x=!0,S,C=CN(m);(t=C).needsInterpolation?.call(t,n,h)&&(S=WM([0,100],[n,h],{clamp:!1}),n=0,h=100);let w=C(Object.assign(Object.assign({},m),{from:n,to:h}));function T(){_++,s===`reverse`?(x=_%2==0,a=TN(a,v,c,x)):(a=wN(a,v,c),s===`mirror`&&w.flipTarget()),b=!1,f&&f()}function E(){g.stop(),d&&d()}function D(e){if(x||(e=-e),a+=e,!b){let e=w.next(Math.max(0,a));y=e.value,S&&(y=S(y)),b=x?e.done:a<=0}p?.(y),b&&(_===0&&(v??=a),_<o?EN(a,v,c,x)&&T():E())}function ee(){l?.(),g=i(D),g.start()}return r&&ee(),{stop:()=>{u?.(),g.stop()}}}function kN(e,t){return t?1e3/t*e:0}function AN({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:a=750,bounceStiffness:o=500,bounceDamping:s=10,restDelta:c=1,modifyTarget:l,driver:u,onUpdate:d,onComplete:f,onStop:p}){let m;function h(e){return n!==void 0&&e<n||r!==void 0&&e>r}function g(e){return n===void 0?r:r===void 0||Math.abs(n-e)<Math.abs(r-e)?n:r}function _(e){m?.stop(),m=ON(Object.assign(Object.assign({},e),{driver:u,onUpdate:t=>{var n;d?.(t),(n=e.onUpdate)==null||n.call(e,t)},onComplete:f,onStop:p}))}function v(e){_(Object.assign({type:`spring`,stiffness:o,damping:s,restDelta:c},e))}if(h(e))v({from:e,velocity:t,to:g(e)});else{let r=i*t+e;l!==void 0&&(r=l(r));let o=g(r),s=o===n?-1:1,u,d;_({type:`decay`,from:e,velocity:t,timeConstant:a,power:i,restDelta:c,modifyTarget:l,onUpdate:h(r)?e=>{u=d,d=e,t=kN(e-u,Tj().delta),(s===1&&e>o||s===-1&&e<o)&&v({from:e,to:o,velocity:t})}:void 0})}return{stop:()=>m?.stop()}}var jN=(e,t)=>1-3*t+3*e,MN=(e,t)=>3*t-6*e,NN=e=>3*e,PN=(e,t,n)=>((jN(t,n)*e+MN(t,n))*e+NN(t))*e,FN=(e,t,n)=>3*jN(t,n)*e*e+2*MN(t,n)*e+NN(t),IN=1e-7,LN=10;function RN(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=PN(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>IN&&++s<LN);return o}var zN=8,BN=.001;function VN(e,t,n,r){for(let i=0;i<zN;++i){let i=FN(t,n,r);if(i===0)return t;let a=PN(t,n,r)-e;t-=a/i}return t}var HN=11,UN=1/(HN-1);function WN(e,t,n,r){if(e===t&&n===r)return eN;let i=new Float32Array(HN);for(let t=0;t<HN;++t)i[t]=PN(t*UN,e,n);function a(t){let r=0,a=1,o=HN-1;for(;a!==o&&i[a]<=t;++a)r+=UN;--a;let s=(t-i[a])/(i[a+1]-i[a]),c=r+s*UN,l=FN(c,e,n);return l>=BN?VN(t,c,e,n):l===0?c:RN(t,r,r+UN,e,n)}return e=>e===0||e===1?e:PN(a(e),t,r)}var GN={},KN=class{subscriptions=new Set;add(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}notify(e,t,n){if(this.subscriptions.size)for(let r of this.subscriptions)r(e,t,n)}clear(){this.subscriptions.clear()}};function qN(e){return!Number.isNaN(Number.parseFloat(e))}var JN=class{current;prev;timeDelta=0;lastUpdated=0;updateSubscribers=new KN;stopAnimation;canTrackVelocity=!1;constructor(e){this.prev=this.current=e,this.canTrackVelocity=qN(this.current)}onChange(e){return this.updateSubscribers.add(e)}clearListeners(){this.updateSubscribers.clear()}set(e){this.updateAndNotify(e)}updateAndNotify=e=>{this.prev=this.current,this.current=e;let{delta:t,timestamp:n}=Tj();this.lastUpdated!==n&&(this.timeDelta=t,this.lastUpdated=n),bj.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)};get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?kN(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}scheduleVelocityCheck=()=>bj.postRender(this.velocityCheck);velocityCheck=({timestamp:e})=>{this.canTrackVelocity||=qN(this.current),e!==this.lastUpdated&&(this.prev=this.current)};start(e){return this.stop(),new Promise(t=>{let{stop:n}=e(t);this.stopAnimation=n}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}};function YN(e){return new JN(e)}var{isArray:XN}=Array;function ZN(){let e=z({}),t=t=>{let n=t=>{e.value[t]&&(e.value[t].stop(),e.value[t].destroy(),delete e.value[t])};t?XN(t)?t.forEach(n):n(t):Object.keys(e.value).forEach(n)};return tj(t),{motionValues:e,get:(t,n,r)=>{if(e.value[t])return e.value[t];let i=YN(n);return i.onChange(e=>r[t]=e),e.value[t]=i,i},stop:t}}function QN(e){return Array.isArray(e)}function $N(){return{type:`spring`,stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function eP(e){return{type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function tP(e){return{type:`spring`,stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function nP(){return{type:`keyframes`,ease:`linear`,duration:300}}function rP(e){return{type:`keyframes`,duration:800,values:e}}var iP={default:tP,x:$N,y:$N,z:$N,rotate:$N,rotateX:$N,rotateY:$N,rotateZ:$N,scaleX:eP,scaleY:eP,scale:eP,backgroundColor:nP,color:nP,opacity:nP};function aP(e,t){let n;return n=QN(t)?rP:iP[e]||iP.default,{to:t,...n(t)}}var oP={...Yj,transform:Math.round},sP={color:uM,backgroundColor:uM,outlineColor:uM,fill:uM,stroke:uM,borderColor:uM,borderTopColor:uM,borderRightColor:uM,borderBottomColor:uM,borderLeftColor:uM,borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,radius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,size:$,top:$,right:$,bottom:$,left:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,rotate:$j,rotateX:$j,rotateY:$j,rotateZ:$j,scale:Zj,scaleX:Zj,scaleY:Zj,scaleZ:Zj,skew:$j,skewX:$j,skewY:$j,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:Xj,originX:tM,originY:tM,originZ:$,zIndex:oP,filter:CM,WebkitFilter:CM,fillOpacity:Xj,strokeOpacity:Xj,numOctaves:oP},cP=e=>sP[e];function lP(e,t){return t&&typeof e==`number`&&t.transform?t.transform(e):e}function uP(e,t){let n=cP(e);return n!==CM&&(n=yM),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var dP={linear:eN,easeIn:tN,easeInOut:rN,easeOut:nN,circIn:iN,circInOut:oN,circOut:aN,backIn:sN,backInOut:lN,backOut:cN,anticipate:uN,bounceIn:hN,bounceInOut:gN,bounceOut:mN};function fP(e){if(Array.isArray(e)){let[t,n,r,i]=e;return WN(t,n,r,i)}else if(typeof e==`string`)return dP[e];return e}function pP(e){return Array.isArray(e)&&typeof e[0]!=`number`}function mP(e,t){return e===`zIndex`?!1:!!(typeof t==`number`||Array.isArray(t)||typeof t==`string`&&yM.test(t)&&!t.startsWith(`url(`))}function hP(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function gP({ease:e,times:t,delay:n,...r}){let i={...r};return t&&(i.offset=t),e&&(i.ease=pP(e)?e.map(fP):fP(e)),n&&(i.elapsed=-n),i}function _P(e,t,n){return Array.isArray(t.to)&&(e.duration||=800),hP(t),vP(e)||(e={...e,...aP(n,t.to)}),{...t,...gP(e)}}function vP({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:i,...a}){return!!Object.keys(a).length}function yP(e,t){return e[t]||e.default||e}function bP(e,t,n,r,i){let a=yP(r,e),o=a.from===null||a.from===void 0?t.get():a.from,s=mP(e,n);o===`none`&&s&&typeof n==`string`&&(o=uP(e,n));let c=mP(e,o);function l(s){let c={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:e=>t.set(e)};return a.type===`inertia`||a.type===`decay`?AN({...c,...a}):ON({..._P(a,c,e),onUpdate:e=>{c.onUpdate(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{i&&i(),s&&s()}})}function u(e){return t.set(n),i&&i(),e&&e(),{stop:()=>{}}}return!c||!s||a.type===!1?u:l}function xP(){let{motionValues:e,stop:t,get:n}=ZN();return{motionValues:e,stop:t,push:(e,t,r,i={},a)=>{let o=r[e],s=n(e,o,r);if(i&&i.immediate){s.set(t);return}let c=bP(e,s,t,i,a);s.start(c)}}}function SP(e,t={},{motionValues:n,push:r,stop:i}=xP()){let a=w(t),o=z(!1);N(n,e=>{o.value=Object.values(e).filter(e=>e.isAnimating()).length>0},{immediate:!0,deep:!0});let s=e=>{if(!a||!a[e])throw Error(`The variant ${e} does not exist.`);return a[e]},c=t=>{typeof t==`string`&&(t=s(t));let n=Object.entries(t).map(([n,i])=>{if(n!==`transition`)return new Promise(a=>r(n,i,e,t.transition||aP(n,t[n]),a))}).filter(Boolean);async function i(){await Promise.all(n),t.transition?.onComplete?.()}return Promise.all([i()])};return{isAnimating:o,apply:c,set:t=>{let n=ZA(t)?t:s(t);Object.entries(n).forEach(([t,n])=>{t!==`transition`&&r(t,n,e,{immediate:!0})})},leave:async e=>{let t;if(a&&(a.leave&&(t=a.leave),!a.leave&&a.initial&&(t=a.initial)),!t){e();return}await c(t),e()},stop:i}}var CP=typeof window<`u`,wP=()=>CP&&(window.onpointerdown===null||void 0),TP=()=>CP&&(window.ontouchstart===null||void 0),EP=()=>CP&&(window.onmousedown===null||void 0);function DP({target:e,state:t,variants:n,apply:r}){let i=w(n),a=z(!1),o=z(!1),s=z(!1),c=I(()=>{let e=[...Object.keys(t.value||{})];return i?(i.hovered&&(e=[...e,...Object.keys(i.hovered)]),i.tapped&&(e=[...e,...Object.keys(i.tapped)]),i.focused&&(e=[...e,...Object.keys(i.focused)]),e):e}),l=I(()=>{let e={};Object.assign(e,t.value),a.value&&i.hovered&&Object.assign(e,i.hovered),o.value&&i.tapped&&Object.assign(e,i.tapped),s.value&&i.focused&&Object.assign(e,i.focused);for(let t in e)c.value.includes(t)||delete e[t];return e});i.hovered&&(aj(e,`mouseenter`,()=>a.value=!0),aj(e,`mouseleave`,()=>{a.value=!1,o.value=!1})),i.tapped&&(EP()&&(aj(e,`mousedown`,()=>o.value=!0),aj(e,`mouseup`,()=>o.value=!1)),wP()&&(aj(e,`pointerdown`,()=>o.value=!0),aj(e,`pointerup`,()=>o.value=!1)),TP()&&(aj(e,`touchstart`,()=>o.value=!0),aj(e,`touchend`,()=>o.value=!1))),i.focused&&(aj(e,`focus`,()=>s.value=!0),aj(e,`blur`,()=>s.value=!1)),N([a,o,s],()=>{r(l.value)})}function OP({set:e,target:t,variants:n,variant:r}){let i=w(n);N(()=>t,()=>{i&&(i.initial&&(e(`initial`),r.value=`initial`),i.enter&&(r.value=`enter`))},{immediate:!0,flush:`pre`})}function kP({state:e,apply:t}){N(e,e=>{e&&t(e)},{immediate:!0})}function AP({target:e,variants:t,variant:n}){let r=w(t);r&&(r.visible||r.visibleOnce)&&cj(e,([{isIntersecting:e}])=>{r.visible?e?n.value=`visible`:n.value=`initial`:r.visibleOnce&&(e&&n.value!==`visibleOnce`?n.value=`visibleOnce`:n.value||=`initial`)})}function jP(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&OP(e),t.syncVariants&&kP(e),t.visibilityHooks&&AP(e),t.eventListeners&&DP(e)}function MP(e={}){let t=A({...e}),n=z({});return N(t,()=>{let e={};for(let[n,r]of Object.entries(t))e[n]=lP(r,cP(n));n.value=e},{immediate:!0,deep:!0}),{state:t,style:n}}function NP(e,t){N(()=>ij(e),e=>{e&&t(e)},{immediate:!0})}var PP={x:`translateX`,y:`translateY`,z:`translateZ`};function FP(e={},t=!0){let n=A({...e}),r=z(``);return N(n,e=>{let n=``,i=!1;if(t&&(e.x||e.y||e.z)){let t=[e.x||0,e.y||0,e.z||0].map(e=>lP(e,$)).join(`,`);n+=`translate3d(${t}) `,i=!0}for(let[r,i]of Object.entries(e)){if(t&&(r===`x`||r===`y`||r===`z`))continue;let e=lP(i,cP(r));n+=`${PP[r]||r}(${e}) `}t&&!i&&(n+=`translateZ(0px) `),r.value=n.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}var IP=[``,`X`,`Y`,`Z`],LP=[`perspective`,`translate`,`scale`,`rotate`,`skew`],RP=[`transformPerspective`,`x`,`y`,`z`];LP.forEach(e=>{IP.forEach(t=>{let n=e+t;RP.push(n)})});var zP=new Set(RP);function BP(e){return zP.has(e)}var VP=new Set([`originX`,`originY`,`originZ`]);function HP(e){return VP.has(e)}function UP(e){let t={},n={};return Object.entries(e).forEach(([e,r])=>{BP(e)||HP(e)?t[e]=r:n[e]=r}),{transform:t,style:n}}function WP(e){let{transform:t,style:n}=UP(e),{transform:r}=FP(t),{style:i}=MP(n);return r.value&&(i.value.transform=r.value),i.value}function GP(e,t){let n,r,{state:i,style:a}=MP();return NP(e,e=>{r=e;for(let t of Object.keys(sP))e.style[t]===null||e.style[t]===``||BP(t)||HP(t)||(i[t]=e.style[t]);n&&Object.entries(n).forEach(([t,n])=>e.style[t]=n),t&&t(i)}),N(a,e=>{if(!r){n=e;return}for(let t in e)r.style[t]=e[t]},{immediate:!0}),{style:i}}function KP(e){let t=e.trim().split(/\) |\)/);if(t.length===1)return{};let n=e=>e.endsWith(`px`)||e.endsWith(`deg`)?Number.parseFloat(e):Number.isNaN(Number(e))?Number(e):e;return t.reduce((e,t)=>{if(!t)return e;let[r,i]=t.split(`(`),a=i.split(`,`).map(e=>n(e.endsWith(`)`)?e.replace(`)`,``):e.trim())),o=a.length===1?a[0]:a;return{...e,[r]:o}},{})}function qP(e,t){Object.entries(KP(t)).forEach(([t,n])=>{let r=[`x`,`y`,`z`];if(t===`translate3d`){if(n===0){r.forEach(t=>e[t]=0);return}n.forEach((t,n)=>e[r[n]]=t);return}if(n=Number.parseFloat(`${n}`),t===`translateX`){e.x=n;return}if(t===`translateY`){e.y=n;return}if(t===`translateZ`){e.z=n;return}e[t]=n})}function JP(e,t){let n,r,{state:i,transform:a}=FP();return NP(e,e=>{r=e,e.style.transform&&qP(i,e.style.transform),n&&(e.style.transform=n),t&&t(i)}),N(a,e=>{if(!r){n=e;return}r.style.transform=e},{immediate:!0}),{transform:i}}function YP(e){return Object.entries(e)}function XP(e,t){let n=A({}),r=e=>Object.entries(e).forEach(([e,t])=>n[e]=t),{style:i}=GP(e,r),{transform:a}=JP(e,r);return N(n,e=>{YP(e).forEach(([e,t])=>{let n=BP(e)?a:i;n[e]&&n[e]===t||(n[e]=t)})},{immediate:!0,deep:!0}),NP(e,()=>t&&r(t)),{motionProperties:n,style:i,transform:a}}function ZP(e={}){let t=w(e),n=z();return{state:I(()=>{if(n.value)return t[n.value]}),variant:n}}function QP(e,t={},n){let{motionProperties:r}=XP(e),{variant:i,state:a}=ZP(t),o={target:e,variant:i,variants:t,state:a,motionProperties:r,...SP(r,t)};return jP(o,n),o}var $P=[`delay`,`duration`],eF=[`initial`,`enter`,`leave`,`visible`,`visible-once`,`visibleOnce`,`hovered`,`tapped`,`focused`,...$P];function tF(e){return $P.includes(e)}function nF(e,t){let n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&ZA(n.variants)&&(t.value={...t.value,...n.variants});for(let e of eF)if(!(!n||!n[e])){if(tF(e)&&typeof n[e]==`number`){for(let r of[`enter`,`visible`,`visibleOnce`]){let i=t.value[r];i!=null&&(i.transition??={},i.transition[e]=n[e])}continue}if(ZA(n[e])){let r=n[e];e===`visible-once`&&(e=`visibleOnce`),t.value[e]=r}}}}function rF(e,t=!1){return{created:(n,r,i)=>{let a=r.value&&typeof r.value==`string`?r.value:i.key;a&&GN[a]&&GN[a].stop();let o=z(t?structuredClone(u(e)||{}):e||{});typeof r.value==`object`&&(o.value=r.value),nF(i,o);let s=QP(n,o,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});n.motionInstance=s,a&&(GN[a]=s)},mounted:(e,t,n)=>{e.motionInstance&&AP(e.motionInstance)},getSSRProps(t,n){let{initial:r}=t.value||n&&n?.props||{};r=w(r);let i=KA({},e?.initial||{},r||{});if(!(!i||Object.keys(i).length===0))return{style:WP(i)}}}}var iF={__proto__:null,fade:{initial:{opacity:0},enter:{opacity:1}},fadeVisible:{initial:{opacity:0},visible:{opacity:1}},fadeVisibleOnce:{initial:{opacity:0},visibleOnce:{opacity:1}},pop:{initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},popVisible:{initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},popVisibleOnce:{initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},rollBottom:{initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollLeft:{initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollRight:{initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollTop:{initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleBottom:{initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleLeft:{initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceBottom:{initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollVisibleOnceLeft:{initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollVisibleOnceRight:{initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollVisibleOnceTop:{initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollVisibleRight:{initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleTop:{initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},slideBottom:{initial:{y:100,opacity:0},enter:{y:0,opacity:1}},slideLeft:{initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},slideRight:{initial:{x:100,opacity:0},enter:{x:0,opacity:1}},slideTop:{initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},slideVisibleBottom:{initial:{y:100,opacity:0},visible:{y:0,opacity:1}},slideVisibleLeft:{initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceBottom:{initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},slideVisibleOnceLeft:{initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},slideVisibleOnceRight:{initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},slideVisibleOnceTop:{initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},slideVisibleRight:{initial:{x:100,opacity:0},visible:{x:0,opacity:1}},slideVisibleTop:{initial:{y:-100,opacity:0},visible:{y:0,opacity:1}}};function aF(e){let t=`àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;`,n=new RegExp(t.split(``).join(`|`),`g`);return e.toString().replace(/[A-Z]/g,e=>`-${e}`).toLowerCase().replace(/\s+/g,`-`).replace(n,e=>`aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------`.charAt(t.indexOf(e))).replace(/&/g,`-and-`).replace(/[^\w\-]+/g,``).replace(/-{2,}/g,`-`).replace(/^-+/,``).replace(/-+$/,``)}var oF=Symbol(``),sF={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function cF(e){return Object.prototype.toString.call(e)===`[object Object]`}function lF(e){if(Array.isArray(e))return e.map(lF);if(cF(e)){let t={};for(let n in e)t[n]=lF(e[n]);return t}return e}function uF(e){let t=A({}),n=re(oF,{}),r=I(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(u(n)[e.preset]):e.preset in iF?structuredClone(iF[e.preset]):{}),i=I(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function a(e,t){for(let n of[`delay`,`duration`]){if(t[n]==null)continue;let r=Number.parseInt(t[n]);for(let t of[`enter`,`visible`,`visibleOnce`]){let i=e[t];i!=null&&(i.transition??={},i.transition[n]=r)}}return e}let o=I(()=>a({...KA({},i.value,r.value,e.variants||{})},e));function s(e,n,r){e.props??={},e.props.style??={},e.props.style={...e.props.style,...r};let i=a(lF(o.value),e.props);return e.props.onVnodeMounted=({el:e})=>{t[n]=QP(e,i)},e.props.onVnodeUpdated=({el:e})=>{let r=WP(t[n].state);for(let[t,n]of Object.entries(r))e.style[t]=n},e}return{motionConfig:o,setNodeInstance:s}}var dF=B({name:`Motion`,props:{...sF,is:{type:[String,Object],default:`div`}},setup(e){let t=Se(),{motionConfig:n,setNodeInstance:r}=uF(e);return()=>{let i=WP(n.value.initial||{}),a=h(e.is,void 0,t);return r(a,0,i),a}}}),fF=B({name:`MotionGroup`,props:{...sF,is:{type:[String,Object],required:!1}},setup(e){let t=Se(),{motionConfig:n,setNodeInstance:r}=uF(e);return()=>{let i=WP(n.value.initial||{}),a=t.default?.()||[];for(let e=0;e<a.length;e++){let t=a[e];t.type===ne&&Array.isArray(t.children)?t.children.forEach(function e(t,n){if(t!=null){if(Array.isArray(t)){e(t,n);return}typeof t==`object`&&r(t,n,i)}}):r(t,e,i)}return e.is?h(e.is,void 0,a):a}}}),pF={install(e,t){if(e.directive(`motion`,rF()),!t||t&&!t.excludePresets)for(let t in iF){let n=iF[t];e.directive(`motion-${aF(t)}`,rF(n,!0))}if(t&&t.directives)for(let n in t.directives){let r=t.directives[n];r.initial,e.directive(`motion-${n}`,rF(r,!0))}e.provide(oF,t?.directives),e.component(`Motion`,dF),e.component(`MotionGroup`,fF)}},mF=B({name:`CapabilityPresentation`,components:{ElImage:Os},props:{capability:{type:String,required:!0},part:{type:String,required:!0}},data(){return{iconFailed:!1}},computed:{presentation(){return ZC(this.$store.state.site,this.capability,this.$t(`common.nav.${this.capability}`),XC[this.capability])},iconUrl(){return this.iconFailed?XC[this.capability]:this.presentation.iconUrl}},watch:{"presentation.iconUrl"(){this.iconFailed=!1}}}),hF={key:1};function gF(e,t,n,r,i,a){let o=M(`el-image`);return e.part===`avatar`?(R(),F(o,{key:0,src:e.iconUrl,onError:t[0]||=t=>e.iconFailed=!0},null,8,[`src`])):(R(),T(`span`,hF,v(e.presentation.displayName),1))}var _F=lw(mF,[[`render`,gF]]);function vF(e,t){let n=(e||``).split(`.`),r=(t||``).split(`.`),i=Math.max(n.length,r.length);for(let e=0;e<i;e++){let t=parseInt(n[e]||`0`,10)||0,i=parseInt(r[e]||`0`,10)||0;if(t>i)return 1;if(t<i)return-1}return 0}async function yF(){if(ir())return SF();if(!fr())return!1;let e=Nr()?`ios`:Mn()?`android`:null;if(!e)return!1;let t;try{t=(await jw.getInfo()).version}catch(e){return console.warn(`[versionGate] App.getInfo failed, skipping`,e),!1}let n;try{let{data:t}=await tg.get(`nexior`,e);n=t}catch(e){return console.warn(`[versionGate] fetch failed, skipping`,e),!1}let r=n.min_supported&&vF(t,n.min_supported)<0,i=n.latest&&vF(t,n.latest)<0;if(r){try{await Rn(In())}catch(e){console.warn(`[versionGate] locale load failed, continuing with default`,e)}return await bF(n.store_url,n.message),!0}return i&&xF(n.store_url,n.message),!1}async function bF(e,t){for(;;){try{await rc.alert(t||pn(`common.appUpgrade.blockMessage`),pn(`common.appUpgrade.title`),{confirmButtonText:pn(`common.appUpgrade.openStore`),showClose:!1,closeOnClickModal:!1,closeOnPressEscape:!1,closeOnHashChange:!1,type:`warning`})}catch{}if(e)try{await ax.open({url:e})}catch(e){console.warn(`[versionGate] Browser.open failed`,e)}}}async function xF(e,t){try{await rc.confirm(t||pn(`common.appUpgrade.softMessage`),pn(`common.appUpgrade.title`),{confirmButtonText:pn(`common.appUpgrade.openStore`),cancelButtonText:pn(`common.appUpgrade.later`),type:`info`}),e&&await ax.open({url:e})}catch{}}async function SF(){let e=`3.379.0`,t=Wn()??`desktop`,n;try{let{data:e}=await tg.get(`nexior`,t);n=e}catch(e){return console.warn(`[versionGate] desktop fetch failed, skipping`,e),!1}let r=n.min_supported&&vF(e,n.min_supported)<0,i=n.latest&&vF(e,n.latest)<0;if(r){try{await Rn(In())}catch(e){console.warn(`[versionGate] locale load failed, continuing with default`,e)}return await CF(n.store_url,n.message),!0}return i&&wF(n.store_url,n.message),!1}async function CF(e,t){try{await rc.alert(t||pn(`common.appUpgrade.blockMessage`),pn(`common.appUpgrade.title`),{confirmButtonText:pn(`common.appUpgrade.openStore`),showClose:!1,closeOnClickModal:!1,closeOnPressEscape:!1,type:`warning`})}catch{}e&&await iw()?.openExternal(e)}async function wF(e,t){try{await rc.confirm(t||pn(`common.appUpgrade.softMessage`),pn(`common.appUpgrade.title`),{confirmButtonText:pn(`common.appUpgrade.openStore`),cancelButtonText:pn(`common.appUpgrade.later`),type:`info`}),e&&await iw()?.openExternal(e)}catch{}}var TF=`__capgo_keep_url_path_after_reload`,EF=`__capgo_history_stack__`,DF=100;if(typeof window<`u`&&typeof document<`u`&&typeof history<`u`){let e=window;if(!e.__capgoHistoryPatched){e.__capgoHistoryPatched=!0;let t=()=>{try{if(e.__capgoKeepUrlPathAfterReload)return!0}catch{}try{return window.localStorage.getItem(TF)===`1`}catch{return!1}},n=()=>{try{let e=window.sessionStorage.getItem(EF);if(!e)return{stack:[],index:-1};let t=JSON.parse(e);return!t||!Array.isArray(t.stack)||typeof t.index!=`number`?{stack:[],index:-1}:t}catch{return{stack:[],index:-1}}},r=(e,t)=>{try{window.sessionStorage.setItem(EF,JSON.stringify({stack:e,index:t}))}catch{}},i=()=>{try{window.sessionStorage.removeItem(EF)}catch{}},a=e=>{try{let t=e??window.location.href,n=new URL(t instanceof URL?t.toString():t,window.location.href);return`${n.pathname}${n.search}${n.hash}`}catch{return null}},o=(e,t)=>{if(e.length<=DF)return{stack:e,index:t};let n=e.length-DF;return{stack:e.slice(n),index:Math.max(0,t-n)}},s=e=>{document.readyState===`complete`||document.readyState===`interactive`?e():window.addEventListener(`DOMContentLoaded`,e,{once:!0})},c=!1,l=!1,u=!1,d=()=>{if(!c)return;let e=n(),t=a();if(t){if(e.stack.length===0){e.stack.push(t),e.index=0,r(e.stack,e.index);return}(e.index<0||e.index>=e.stack.length)&&(e.index=e.stack.length-1),e.stack[e.index]!==t&&(e.stack[e.index]=t,r(e.stack,e.index))}},f=(e,t)=>{if(!c||l)return;let i=a(e);if(!i)return;let{stack:s,index:u}=n();s.length===0?(s.push(i),u=s.length-1):t?((u<0||u>=s.length)&&(u=s.length-1),s[u]=i):u>=s.length-1?(s.push(i),u=s.length-1):(s=s.slice(0,u+1),s.push(i),u=s.length-1),{stack:s,index:u}=o(s,u),r(s,u)},p=()=>{if(!c||l)return;let e=n();if(e.stack.length===0){d();return}let t=e.index>=0&&e.index<e.stack.length?e.index:e.stack.length-1,r=a();if(e.stack.length===1&&r===e.stack[0])return;let i=e.stack[0];if(!i)return;l=!0;try{history.replaceState(history.state,document.title,i);for(let t=1;t<e.stack.length;t+=1)history.pushState(history.state,document.title,e.stack[t])}catch{l=!1;return}l=!1;let o=t-(e.stack.length-1);o===0?(history.replaceState(history.state,document.title,e.stack[t]),window.dispatchEvent(new PopStateEvent(`popstate`))):history.go(o)},m=()=>{!c||u||(u=!0,s(()=>{u=!1,p()}))},h=null,g=null,_=()=>{if(!c||l)return;let e=a();if(!e)return;let t=n(),i=t.stack.lastIndexOf(e);i>=0?t.index=i:(t.stack.push(e),t.index=t.stack.length-1);let s=o(t.stack,t.index);r(s.stack,s.index)},v=()=>{h&&g||(h=history.pushState,g=history.replaceState,history.pushState=function(e,t,n){let r=h?.call(history,e,t,n);return f(n,!1),r},history.replaceState=function(e,t,n){let r=g?.call(history,e,t,n);return f(n,!0),r},window.addEventListener(`popstate`,_))},y=()=>{h&&=(history.pushState=h,null),g&&=(history.replaceState=g,null),window.removeEventListener(`popstate`,_)},b=e=>{if(c===e){c&&(d(),m());return}c=e,c?(v(),d(),m()):(y(),i())};window.addEventListener(`CapacitorUpdaterKeepUrlPathAfterReload`,t=>{let n=t?.detail?.enabled;typeof n==`boolean`?(e.__capgoKeepUrlPathAfterReload=n,b(n)):(e.__capgoKeepUrlPathAfterReload=!0,b(!0))}),b(t())}}var OF;(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.UPDATE_NOT_AVAILABLE=1]=`UPDATE_NOT_AVAILABLE`,e[e.UPDATE_AVAILABLE=2]=`UPDATE_AVAILABLE`,e[e.UPDATE_IN_PROGRESS=3]=`UPDATE_IN_PROGRESS`})(OF||={});var kF;(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.PENDING=1]=`PENDING`,e[e.DOWNLOADING=2]=`DOWNLOADING`,e[e.INSTALLING=3]=`INSTALLING`,e[e.INSTALLED=4]=`INSTALLED`,e[e.FAILED=5]=`FAILED`,e[e.CANCELED=6]=`CANCELED`,e[e.DOWNLOADED=11]=`DOWNLOADED`})(kF||={});var AF;(function(e){e[e.OK=0]=`OK`,e[e.CANCELED=1]=`CANCELED`,e[e.FAILED=2]=`FAILED`,e[e.NOT_AVAILABLE=3]=`NOT_AVAILABLE`,e[e.NOT_ALLOWED=4]=`NOT_ALLOWED`,e[e.INFO_MISSING=5]=`INFO_MISSING`})(AF||={});var jF=na(`CapacitorUpdater`,{web:()=>W(()=>import(`./web-B8GaBxif.js`).then(e=>new e.CapacitorUpdaterWeb),[])}),MF=`https://cdn.acedata.cloud/nexior/updates`,NF=`stable`,PF=!1;async function FF(){if(!fr())return;try{await jF.notifyAppReady()}catch(e){console.warn(`[liveUpdate] notifyAppReady failed`,e)}if(!PF){console.debug(`[liveUpdate] disabled via VITE_LIVE_UPDATE_ENABLED`);return}let e=Nr()?`ios`:Mn()?`android`:null;if(!e)return;let t;try{t=(await U.get(`${MF}/${NF}/${e}.json`,{timeout:8e3,params:{t:Date.now()}})).data}catch(e){console.warn(`[liveUpdate] manifest fetch failed`,e);return}if(!t?.version||!t?.url){console.warn(`[liveUpdate] manifest missing required fields`,t);return}if(t.min_native_version)try{if(vF((await jw.getInfo()).version,t.min_native_version)<0){console.info(`[liveUpdate] native too old for this bundle; skipping`);return}}catch(e){console.warn(`[liveUpdate] App.getInfo failed; skipping bundle check`,e);return}let n=`0.0.0`;try{n=(await jF.current()).bundle?.version||`0.0.0`}catch(e){console.warn(`[liveUpdate] current() failed; assuming 0.0.0`,e)}if(vF(t.version,n)<=0){console.debug(`[liveUpdate] up to date (current=${n}, manifest=${t.version})`);return}console.info(`[liveUpdate] downloading bundle ${t.version} (current=${n})`);try{let e=await jF.download({url:t.url,version:t.version,checksum:t.checksum});await jF.set({id:e.id}),console.info(`[liveUpdate] bundle ${t.version} queued for next launch`)}catch(e){console.warn(`[liveUpdate] download/set failed`,e)}}var IF=async({initializeSite:e,applySiteLocale:t,initializeUser:n,initializeConfig:r})=>{await e(),await t()&&await e(),await Promise.all([n(),r()])};Rr(()=>q.state.site);var LF=async e=>{let{locale:t,shouldPersist:n}=aC(xu(`LOCALE`),e);return n?(await Rn(t),bu(`LOCALE`,t,{path:`/`,domain:Jg()}),!0):!1};Xi(aT,{routes:tw,base:`/`},async({app:e,router:t,isClient:n})=>{if(e.use(q),e.use(un),e.use(pF),e.use(sT,{formatString:`YYYY-MM-DD HH:mm:ss`}),e.component(`CapabilityPresentation`,_F),e.directive(`loading`,Bs),nw(t),e.config.errorHandler=(e,t,n)=>{Gu(e,{source:`vue`,route:n}),console.error(`[vue:errorHandler]`,e,n)},!n){await Rn(Ir);return}ku({getAccountToken:()=>q.state.token?.access,isAuthenticated:()=>q.getters.authenticated,triggerLogin:()=>{Du()}}),Ru(),Db(),PC();let r=Kn();if(document.documentElement.dataset.surface=r,document.documentElement.classList.add(`surface-${r}`),fr()&&document.documentElement.classList.add(`surface-native`),ir()&&(Cr()&&document.documentElement.classList.add(`is-mac`),Tr()&&document.documentElement.classList.add(`is-win`)),!ta.isNativePlatform()){let e=document.querySelector(`meta[name="viewport"]`);e&&e.setAttribute(`content`,`width=device-width, initial-scale=1.0, viewport-fit=cover`)}if(await E_())return;{let{installMobileLocalExec:e}=await W(async()=>{let{installMobileLocalExec:e}=await import(`./mobileLocalExec-BQ1kBGve.js`);return{installMobileLocalExec:e}},__vite__mapDeps([382,3,19,11,1,20]));e()}if(await f_(),await LF(),await qw(),await x_(),ni()||(await IF({initializeSite:y_,applySiteLocale:()=>LF(q.state.site),initializeUser:C_,initializeConfig:b_}),(fr()||ir())&&await yF()))return;FF(),qC(q.state.site||void 0),await Hu({uin:q.getters.user?.id,release:`3.379.0`}),$u(q.state.site,window.location.hostname),w_(),S_(),T_(),p_(),m_(),h_(),v_(),window.addEventListener(`unhandledrejection`,e=>{Mu(e.reason)||Gu(e.reason,{source:`unhandledrejection`})});let i=()=>{D_(),Uu(q.getters.user?.id,q.getters.fingerprint)};`requestIdleCallback`in window?window.requestIdleCallback(i,{timeout:4e3}):setTimeout(i,1500),W(async()=>{let{installSolanaWallets:e}=await import(`./solana-wallets-LBXCjIar.js`);return{installSolanaWallets:e}},__vite__mapDeps([383,3])).then(({installSolanaWallets:t})=>{t(e)}),window.app=e}),typeof window<`u`&&Promise.resolve().catch(e=>{NC(e)||console.error(e)});export{Vb as $,es as $a,Pu as $i,Ph as $n,pm as $r,Mv as $t,ew as A,Il as Aa,ip as Ai,d_ as An,qm as Ar,xy as At,aS as B,Bs as Ba,df as Bi,Xh as Bn,Im as Br,Gv as Bt,xA as C,Ul as Ca,gp as Ci,ly as Cn,oh as Cr,_y as Ct,lw as D,zl as Da,tp as Di,J_ as Dn,$m as Dr,py as Dt,Fw as E,Bl as Ea,rp as Ei,$_ as En,Qm as Er,my as Et,nC as F,vc as Fa,Of as Fi,og as Fn,Gm as Fr,vy as Ft,ox as G,ys as Ga,$d as Gi,Kh as Gn,xm as Gr,Sv as Gt,Fx as H,Os as Ha,af as Hi,Jh as Hn,Om as Hr,wv as Ht,$S as I,_c as Ia,kf as Ii,rg as In,Bm as Ir,by as It,ax as J,hs as Ja,Wu as Ji,Hh as Jn,vm as Jr,av as Jt,fx as K,vs as Ka,Xd as Ki,Uh as Kn,bm as Kr,qv as Kt,eC as L,mc as La,mf as Li,ng as Ln,Vm as Lr,sv as Lt,XC as M,Cc as Ma,Tf as Mi,Jg as Mn,Jm as Mr,bv as Mt,YC as N,xc as Na,Ef as Ni,Ng as Nn,Wm as Nr,Hv as Nt,iw as O,Rl as Oa,np as Oi,G_ as On,Xm as Or,fy as Ot,DC as P,Sc as Pa,Df as Pi,sg as Pn,Um as Pr,yy as Pt,$b as Q,$o as Qa,Nu as Qi,Lh as Qn,dm as Qr,Pv as Qt,rC as R,pc as Ra,lf as Ri,$h as Rn,Rm as Rr,cy as Rt,SA as S,Wl as Sa,yp as Si,oy as Sn,ah as Sr,hy as St,Qw as T,Vl as Ta,Ff as Ti,ev as Tn,nh as Tr,Sy as Tt,px as U,Ts as Ua,rf as Ui,Yh as Un,Dm as Ur,ry as Ut,rS as V,ks as Va,uf as Vi,Zh as Vn,Lm as Vr,Cv as Vt,sx as W,Ss as Wa,G as Wi,Gh as Wn,ym as Wr,xv as Wt,nx as X,cs as Xa,Xu as Xi,zh as Xn,hm as Xr,Ov as Xt,ix as Y,ps as Ya,Zu as Yi,Bh as Yn,_m as Yr,Dv as Yt,Qb as Z,ns as Za,Yu as Zi,Rh as Zn,gm as Zr,Fv as Zt,IA as _,Yl as _a,_p as _i,Rv as _n,ph as _r,_v as _t,OA as a,su as aa,$p as ai,iy as an,Va as ao,wh as ar,db as at,VA as b,Kl as ba,Sp as bi,Lv as bn,dh as br,uy as bt,BA as c,iu as ca,Ep as ci,Wv as cn,Oa as co,xh as cr,ob as ct,RA as d,tu as da,jp as di,Zv as dn,ta as do,yh as dr,Ey as dt,Fu as ea,um as ei,jv as en,qo as eo,Fh as er,_b as et,NA as f,eu as fa,Pp as fi,Av as fn,ra as fo,gh as fr,hv as ft,EA as g,Xl as ga,Op as gi,zv as gn,fh as gr,gv as gt,MA as h,Zl as ha,Hp as hi,ey as hn,hh as hr,vv as ht,kA as i,cu as ia,am as ii,Qv as in,Za as io,Eh as ir,mb as it,ZC as j,Fl as ja,If as ji,$g as jn,Km as jr,yv as jt,aw as k,Ll as ka,Uf as ki,e_ as kn,Zm as kr,Cy as kt,LA as l,ru as la,Ap as li,Uv as ln,Da as lo,bh as lr,By as lt,HA as m,Ql as ma,kp as mi,ny as mn,Qr as mo,mh as mr,mv as mt,zA as n,xu as na,mm as ni,kv as nn,mo as no,jh as nr,fb as nt,TA as o,ou as oa,qp as oi,$v as on,Na as oo,Ch as or,lb as ot,wA as p,$l as pa,Up as pi,ty as pn,na as po,_h as pr,pv as pt,dx as q,gs as qa,ed as qi,Wh as qn,Sm as qr,Kv as qt,AA as r,bu as ra,Zp as ri,Jv as rn,po as ro,Dh as rr,pb as rt,FA as s,au as sa,Dp as si,Nv as sn,Aa as so,Sh as sr,ub as st,OF as t,Du as ta,fm as ti,Bv as tn,ho as to,Ah as tr,gb as tt,PA as u,nu as ua,Mp as ui,Vv as un,Ca as uo,vh as ur,Dy as ut,DA as v,Jl as va,hp as vi,Xv as vn,lh as vr,Tv as vt,CA as w,Hl as wa,sp as wi,iv as wn,rh as wr,wy as wt,yA as x,Gl as xa,Cp as xi,Iv as xn,sh as xr,gy as xt,jA as y,ql as ya,xp as yi,Yv as yn,uh as yr,Ev as yt,tC as z,rc as za,ff as zi,Qh as zn,zm as zr,sy as zt};
|