@abtnode/webapp 1.17.3-beta-20251121-135300-8e451e6e → 1.17.3-beta-20251125-042047-1bcefd39
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/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{AdapterDayjs-GSjt4DIz.js → AdapterDayjs-CgY38Owx.js} +1 -1
- package/dist/assets/{Add-bw7LExYi.js → Add-DU5X_U2u.js} +1 -1
- package/dist/assets/ArrowDropDown-DqMXZ-fs.js +1 -0
- package/dist/assets/{Autocomplete-C7pwOgja.js → Autocomplete-_Fi6RPLW.js} +1 -1
- package/dist/assets/{Breadcrumbs-01Zoyowa.js → Breadcrumbs-j-PFfWF-.js} +1 -1
- package/dist/assets/{ButtonGroup-CvkZLM_A.js → ButtonGroup-CWskS5fX.js} +1 -1
- package/dist/assets/{CSSTransition-CUGJUBZa.js → CSSTransition--8a6z16w.js} +1 -1
- package/dist/assets/{CallMerge-1Wa1naTP.js → CallMerge-BctXRdfR.js} +1 -1
- package/dist/assets/{CardContent-Bp9dBuHI.js → CardContent-DndNB2JX.js} +1 -1
- package/dist/assets/{ChevronLeft-iV8RZK9l.js → ChevronLeft-RMIqzDHo.js} +1 -1
- package/dist/assets/{ChevronRight-rhEdYh7r.js → ChevronRight-mJNKmafe.js} +1 -1
- package/dist/assets/{Clear-TsHHhjv8.js → Clear-fLYWFWL3.js} +1 -1
- package/dist/assets/{DeleteOutline-CutnF8U7.js → DeleteOutline-Cs7CwDmK.js} +1 -1
- package/dist/assets/{Done-8bsZuZu5.js → Done-LNwStO12.js} +1 -1
- package/dist/assets/{Edit-CW607hdk.js → Edit-B1GrIrSa.js} +1 -1
- package/dist/assets/{ErrorOutline-BVlSjT51.js → ErrorOutline-BY5CE57a.js} +1 -1
- package/dist/assets/{FilterList-BVOOp-qX.js → FilterList-tULWsV25.js} +1 -1
- package/dist/assets/{Google-D0deGelc.js → Google-CIjch33x.js} +1 -1
- package/dist/assets/{HelpOutline-B2x2uyvQ.js → HelpOutline-BawFpv_o.js} +1 -1
- package/dist/assets/{KeyboardArrowDown-BDLR_mDt.js → KeyboardArrowDown-BmB8rdeY.js} +1 -1
- package/dist/assets/{Launch-BhpfIjR4.js → Launch-BEFLp-Pq.js} +1 -1
- package/dist/assets/{Link-D6g1Xkkg.js → Link-CqPr_lAs.js} +1 -1
- package/dist/assets/{ListItemButton-DBhd8Se9.js → ListItemButton-C2dnsniA.js} +1 -1
- package/dist/assets/{ListSubheader-U4UKs_5o.js → ListSubheader-h3BvbTVV.js} +1 -1
- package/dist/assets/{LoadingButton-Bg4ihiHh.js → LoadingButton-DWsLKlrN.js} +1 -1
- package/dist/assets/{MoreVert-LlVBp8Yl.js → MoreVert-De86Jj5O.js} +1 -1
- package/dist/assets/{OpenInNew-BBMfbtyT.js → OpenInNew-v1P9Awcb.js} +1 -1
- package/dist/assets/{Refresh-DwCMTrBg.js → Refresh-emKClqFh.js} +1 -1
- package/dist/assets/{Search-DV0DmDJh.js → Search-CDBu3YFg.js} +1 -1
- package/dist/assets/{Stepper-DHEo1TwM.js → Stepper-B1C2rtyE.js} +1 -1
- package/dist/assets/{Switch-BV_bJmtO.js → Switch-CXwsdwa6.js} +1 -1
- package/dist/assets/{TableSearch-Dw0n59eL.js → TableSearch-DJUhNasJ.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-DsgagStl.js → ToggleButtonGroup-Bhk9MfTF.js} +1 -1
- package/dist/assets/{UnfoldMore-OHiBiV6d.js → UnfoldMore-D7ekduSe.js} +1 -1
- package/dist/assets/{Verified-8SqBajcm.js → Verified-xgJHnpUk.js} +1 -1
- package/dist/assets/{VerifiedUser-Yl48fJHl.js → VerifiedUser-B37gvaNQ.js} +1 -1
- package/dist/assets/{ViewList-Dlfa9YjE.js → ViewList-DT6Xma-B.js} +1 -1
- package/dist/assets/{_createAggregator-C9kdvL4F.js → _createAggregator-B_bnZt9V.js} +1 -1
- package/dist/assets/{actions-B8C-PCI5.js → actions-Btu6FPrP.js} +1 -1
- package/dist/assets/{actions-Cd1V0QXL.js → actions-CHcHbGcd.js} +1 -1
- package/dist/assets/{agreement-BUveUzQO.js → agreement-DoGeoSaC.js} +1 -1
- package/dist/assets/api-DTkN6iVV.js +1 -0
- package/dist/assets/{appearance-DJ340BPT.js → appearance-BUnht7zz.js} +1 -1
- package/dist/assets/{audit-logs-Budxmero.js → audit-logs-CC3WeM0a.js} +1 -1
- package/dist/assets/{base-chart-B0G5PbEt.js → base-chart-B1Ea4iJX.js} +1 -1
- package/dist/assets/{blocklet-B_gm4lmi.js → blocklet-DUEr9aGB.js} +1 -1
- package/dist/assets/{chain-Cq8v0ndB.js → chain-XyhYd1VW.js} +1 -1
- package/dist/assets/{click-to-copy-C9rtZDLS.js → click-to-copy-DGNMr8_O.js} +1 -1
- package/dist/assets/cloneDeep-DhmluxJ2.js +1 -0
- package/dist/assets/{collapse-CXW4uktq.js → collapse-NDwnMlXJ.js} +1 -1
- package/dist/assets/{config-navigation-XP4WQgYo.js → config-navigation-CYZxYkkI.js} +3 -3
- package/dist/assets/{connect-to-CyrO6atx.js → connect-to-C0afsBPH.js} +1 -1
- package/dist/assets/{cssMode--X9ZnCcB.js → cssMode-AsqjUU2P.js} +1 -1
- package/dist/assets/{delete-confirm-H64HwgQW.js → delete-confirm-CdJmwhZX.js} +1 -1
- package/dist/assets/{depsEqual-DnLesJI5.js → depsEqual-DAfwc8aQ.js} +1 -1
- package/dist/assets/{detail-BJu2Du0C.js → detail-DUlX22Z7.js} +3 -3
- package/dist/assets/{domains-dlolWlOv.js → domains-1zIb6OO7.js} +1 -1
- package/dist/assets/{download-BfgyvMjJ.js → download-lpyBGgYu.js} +1 -1
- package/dist/assets/{edit.svg-MioFY6RL.js → edit.svg-ngwj-dRr.js} +1 -1
- package/dist/assets/emotion-cache.browser.esm-Cb-LUV2D.js +1 -0
- package/dist/assets/engine-95e7OnEQ.js +1 -0
- package/dist/assets/{freemarker2-DaUACayH.js → freemarker2-BHcZs438.js} +1 -1
- package/dist/assets/{get-safe-url-BdtvVcQw.js → get-safe-url-BMekWjUF.js} +1 -1
- package/dist/assets/getValidReactChildren-DzxCosZj.js +1 -0
- package/dist/assets/{graphqlMode-Cs4xUrf4.js → graphqlMode-Blty3FUi.js} +2 -2
- package/dist/assets/{handlebars-TT0L6RLX.js → handlebars-P_-ZrIMo.js} +1 -1
- package/dist/assets/{html-lavZKcN0.js → html-DZ9KUnKS.js} +1 -1
- package/dist/assets/{html-title-BPny9upB.js → html-title-CuUyumLv.js} +1 -1
- package/dist/assets/{htmlMode-DMFwjMOD.js → htmlMode-DNFF7c_R.js} +1 -1
- package/dist/assets/{iframe-1S7jkX6i.js → iframe-BV4Ixa0I.js} +1 -1
- package/dist/assets/{index-BMTfpek5.js → index-65SOJ0fZ.js} +1 -1
- package/dist/assets/{index-H_wq9PgB.js → index-B-sx2QPw.js} +1 -1
- package/dist/assets/{index-Dahvz4_C.js → index-B0tPxfVp.js} +1 -1
- package/dist/assets/{index-qaEYO3ku.js → index-BDvhl7ec.js} +1 -1
- package/dist/assets/{index-GpQ_N20f.js → index-BDxQWtbP.js} +1 -1
- package/dist/assets/{index-DEi5xwZC.js → index-BFekFnd_.js} +3 -3
- package/dist/assets/{index-ndtAmeV1.js → index-BJpkw0kk.js} +9 -9
- package/dist/assets/{index-Dgm8R3_G.js → index-BSGIXp_c.js} +1 -1
- package/dist/assets/{index-cO6bb6Pk.js → index-BW0jEb7j.js} +1 -1
- package/dist/assets/{index-CDH7LNvM.js → index-BmjI4F3z.js} +1 -1
- package/dist/assets/{index-COSOS45R.js → index-BvvTPBRG.js} +1 -1
- package/dist/assets/{index-CAy_ntFG.js → index-C0P3b1dO.js} +1 -1
- package/dist/assets/{index-DV2yUsDM.js → index-C1oHtzbL.js} +1 -1
- package/dist/assets/{index-Fv7F4t_Q.js → index-C9xtFMCg.js} +1 -1
- package/dist/assets/{index-BAFeziwg.js → index-CDw7N5Gd.js} +1 -1
- package/dist/assets/{index-DRoFAJB5.js → index-CGExJ6WC.js} +1 -1
- package/dist/assets/{index-CW1fjR9h.js → index-CKGWqho1.js} +1 -1
- package/dist/assets/{index-Br_vN976.js → index-CNtIWgAU.js} +1 -1
- package/dist/assets/{index-CvjKujEe.js → index-CYFoxs1Y.js} +1 -1
- package/dist/assets/{index-Dc9GzuOJ.js → index-Cb729u8O.js} +1 -1
- package/dist/assets/{index-cfZQGoxy.js → index-Cd_-SbMU.js} +3 -3
- package/dist/assets/{index-B6RQPS53.js → index-CeD2kMCb.js} +1 -1
- package/dist/assets/index-Cfe94TcH.js +1 -0
- package/dist/assets/{index-G3qQEhRl.js → index-CryNIWPN.js} +1 -1
- package/dist/assets/{index-QV6ZlHUk.js → index-CxpPzbzU.js} +1 -1
- package/dist/assets/{index-BHJmOQ7h.js → index-CzDbEKCJ.js} +1 -1
- package/dist/assets/{index-DBElf0v4.js → index-D1mWL3Mq.js} +1 -1
- package/dist/assets/{index-UKgFVupi.js → index-D4eQE_TP.js} +3 -3
- package/dist/assets/{index-CZoo5V2P.js → index-D7wYq8SN.js} +28 -27
- package/dist/assets/{index-CAeA1Cvc.js → index-DA4oOkNZ.js} +1 -1
- package/dist/assets/{index-DaZkwaiO.js → index-DFRPJXRn.js} +1 -1
- package/dist/assets/{index-CapJ9GZ2.js → index-DMaZpwN2.js} +1 -1
- package/dist/assets/{index-aiNsIJH9.js → index-DQ6s_u3-.js} +1 -1
- package/dist/assets/{index-C4c7H09E.js → index-DZUjuntv.js} +1 -1
- package/dist/assets/{index-0KDfyThN.js → index-Dpp1uA9I.js} +1 -1
- package/dist/assets/{index-DymefoL_.js → index-Dq9MRDpG.js} +1 -1
- package/dist/assets/{index-kPygeO6n.js → index-HPB83hLa.js} +1 -1
- package/dist/assets/{index-ClxFOl_D.js → index-IMPlmWux.js} +3 -3
- package/dist/assets/{index-DTKSzDFU.js → index-Plq6hllo.js} +1 -1
- package/dist/assets/{index-CxOhjmog.js → index-Qxi4GaAT.js} +1 -1
- package/dist/assets/{index-Cel7tx4n.js → index-myUoEhyU.js} +3 -3
- package/dist/assets/{index-DtM0eWbB.js → index-oWQ0GvMY.js} +1 -1
- package/dist/assets/{index-B5g8M7OB.js → index-qhLKGkS9.js} +2 -2
- package/dist/assets/{index-D2OqQrAZ.js → index-skgicgrb.js} +1 -1
- package/dist/assets/{index-DMIRBD0M.js → index-yVOJY6ja.js} +1 -1
- package/dist/assets/{index-tjFbkwkg.js → index-yegNPitx.js} +1 -1
- package/dist/assets/{index.esm-C1D-vjtU.js → index.esm-B212pqxD.js} +1 -1
- package/dist/assets/{install-from-url-DsCL99L1.js → install-from-url-BrXq_et3.js} +1 -1
- package/dist/assets/{invitation-tfEd0Lsr.js → invitation-BlTRS5NJ.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-Bvg8FYDR.js → is-path-prefix-equal-BTcooLCb.js} +1 -1
- package/dist/assets/{item-8U44hoCJ.js → item-77htjPC1.js} +1 -1
- package/dist/assets/{javascript-Be40gNv5.js → javascript-DVl6BEgG.js} +1 -1
- package/dist/assets/{jsonMode-kLgPrjXr.js → jsonMode-lOVw6OHX.js} +1 -1
- package/dist/assets/{liquid-HxAxWFbN.js → liquid-CoIMStan.js} +1 -1
- package/dist/assets/{list-header-CRu61Gzq.js → list-header-DjUyvNHI.js} +1 -1
- package/dist/assets/{lock.svg-B1POA68X.js → lock.svg-C6rQW6kT.js} +1 -1
- package/dist/assets/{log-C2U5MC50.js → log-CyacwvH_.js} +1 -1
- package/dist/assets/{lottie-react.esm-C_wSYvC1.js → lottie-react.esm-D7Avvqe0.js} +1 -1
- package/dist/assets/{mdx-BMPssTWP.js → mdx-j6fQ0EW5.js} +1 -1
- package/dist/assets/{memory-CucrqTb6.js → memory-CU2dLX_q.js} +1 -1
- package/dist/assets/{metric-CB5i39mr.js → metric-CwOFVXko.js} +1 -1
- package/dist/assets/omit-Ce6CSFtW.js +1 -0
- package/dist/assets/{overview-BXVI29QP.js → overview-Dk15eBBT.js} +1 -1
- package/dist/assets/{permission-rweAJL4g.js → permission-Cz1FrvyA.js} +1 -1
- package/dist/assets/{preference-gJ6ZF2Q4.js → preference-DRzlCnd7.js} +3 -3
- package/dist/assets/{python-BkToxfo1.js → python-dv24zJs8.js} +1 -1
- package/dist/assets/{raf-schd.esm-B9wpp0Qh.js → raf-schd.esm-87_LVzHH.js} +1 -1
- package/dist/assets/{razor-wuUYkLrt.js → razor-CiKBeh3A.js} +1 -1
- package/dist/assets/{rotate-session-key-C8ucpOl_.js → rotate-session-key-CQn2_oC_.js} +1 -1
- package/dist/assets/{runtime-i_b0U5XU.js → runtime-Cx7NItmc.js} +1 -1
- package/dist/assets/schema-BH4XUhoi.js +1 -0
- package/dist/assets/sdk-C_3i0CyM.js +1 -0
- package/dist/assets/{service-CUx_uRl4.js → service-CLHLbp46.js} +1 -1
- package/dist/assets/{shorten-label-jgxOPsCZ.js → shorten-label-DzbGUwvK.js} +1 -1
- package/dist/assets/{simple-select-UnH3V90L.js → simple-select-iTytEDuc.js} +1 -1
- package/dist/assets/{spaces-C6mZH1kT.js → spaces-DzMB31Xh.js} +1 -1
- package/dist/assets/{status-DL1Ex6i2.js → status-D-ZIPxa7.js} +1 -1
- package/dist/assets/{status-DDW9dFZ_.js → status-Dq7L2hV9.js} +1 -1
- package/dist/assets/{switch-control-BIC-Nwu_.js → switch-control-CCKcQUfl.js} +1 -1
- package/dist/assets/{table-icons-B9tXAbnj.js → table-icons-B5tZ-KhN.js} +1 -1
- package/dist/assets/{team-BpXTeXX3.js → team-BPm7GXr3.js} +1 -1
- package/dist/assets/{toLower-C-8MuvP9.js → toLower-C95AADHW.js} +1 -1
- package/dist/assets/toUpper-B8mr08qG.js +1 -0
- package/dist/assets/{traffic-BEQzO7xQ.js → traffic-DAxOlVXW.js} +1 -1
- package/dist/assets/{tsMode-Dzl7y3L0.js → tsMode-nE4RZ7wQ.js} +1 -1
- package/dist/assets/{typescript-B_dz3gG0.js → typescript-NOJwlSsu.js} +1 -1
- package/dist/assets/{url-evaluation-DuQYeVhL.js → url-evaluation-DvSlLCr5.js} +1 -1
- package/dist/assets/{url-join-cDXJRDHX.js → url-join-rOUTvo2k.js} +1 -1
- package/dist/assets/{use-mobile-CMTzn3M3.js → use-mobile-6YLRE80V.js} +1 -1
- package/dist/assets/{use-mobile-HM6iZFZe.js → use-mobile-ChXXfLYV.js} +1 -1
- package/dist/assets/{useAsync-C6Eg4w89.js → useAsync-nf1n7R3_.js} +1 -1
- package/dist/assets/{useAsyncRetry-DAHR7IMw.js → useAsyncRetry-CTTkpKwa.js} +1 -1
- package/dist/assets/{useLocalStorage-1RvhLwwW.js → useLocalStorage-UJQc3CLl.js} +1 -1
- package/dist/assets/{useThemeProps-SIspLYj0.js → useThemeProps-D4mtFn43.js} +1 -1
- package/dist/assets/{util-CQwua2ce.js → util-Bx0XmXdP.js} +1 -1
- package/dist/assets/{wait-container-DH8upE6T.js → wait-container-BxEpeinl.js} +1 -1
- package/dist/assets/{without-wallet-BW1Rplxh.js → without-wallet-DWK4OSvH.js} +1 -1
- package/dist/assets/wrap-locale-mBa-2cN-.js +1 -0
- package/dist/assets/{xml-Bw3uqPST.js → xml-D7cTPSOE.js} +1 -1
- package/dist/assets/{yaml-Bs3RMjTY.js → yaml-C0QOrWzZ.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +1 -1
- package/dist/assets/ArrowDropDown-DFxrtTfG.js +0 -1
- package/dist/assets/api-q4yep6BX.js +0 -1
- package/dist/assets/cloneDeep-B_sIbdyU.js +0 -1
- package/dist/assets/emotion-cache.browser.esm-F-H2n_Vz.js +0 -1
- package/dist/assets/engine-DeV5utCO.js +0 -1
- package/dist/assets/getValidReactChildren-BMWRE_Nn.js +0 -1
- package/dist/assets/index-CnRp8oF4.js +0 -1
- package/dist/assets/omit-Dmt7cKLM.js +0 -1
- package/dist/assets/schema-C8k5AIF2.js +0 -1
- package/dist/assets/sdk-CXtYA3ry.js +0 -1
- package/dist/assets/toUpper-DqUeOG5c.js +0 -1
- package/dist/assets/wrap-locale-BOO0hut3.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aF as ks,j as t,aH as on,bn as Oe,bo as Ds,V as ye,N as Fe,r as Y,O as Bn,P as $n,S as Pn,Q as Un,K as $,bp as Nt,o as j,n as Bs,v as vn,C as $s,ac as yt,aV as Fn,t as Mn,bd as Ps,s as ve,Z as Us,bq as Be,br as Fs,bs as js,p as Ks,y as ze,$ as xt,aU as Hs,R as zs,at as Gs,H as Ws,m as Zs,bt as Sn,W as Ys,bu as At,bv as St,bw as Tt,bx as qs,i as Xs,T as Ue,by as Vs,ay as dt,a3 as gt,aR as pt,bk as Js,bz as Qs,U as ea,X as na,A as ta,u as sa,bm as aa,d as ia,bA as oa}from"./index-UKgFVupi.js";import{u as ra,T as ca}from"./html-title-BPny9upB.js";import la from"./audit-logs-Budxmero.js";import{T as Rt,M as ua}from"./index-tjFbkwkg.js";import{r as Ct,P as da}from"./index-cO6bb6Pk.js";import{u as Ge,T as ga}from"./team-BpXTeXX3.js";import{g as pa,H as ba}from"./index-QV6ZlHUk.js";import{D as fa}from"./url-evaluation-DuQYeVhL.js";import{E as ma}from"./Edit-CW607hdk.js";import{y as Ea}from"./index-DaZkwaiO.js";import{A as ha}from"./Add-bw7LExYi.js";import{C as Ln}from"./click-to-copy-C9rtZDLS.js";import{f as _a}from"./index-BojVbZw0.js";import{D as Na}from"./delete-confirm-H64HwgQW.js";import{P as ya}from"./permission-rweAJL4g.js";import{u as xa}from"./blocklet-B_gm4lmi.js";import{u as jn}from"./use-mobile-CMTzn3M3.js";import{A as Aa}from"./actions-Cd1V0QXL.js";import{u as Sa}from"./useAsyncRetry-DAHR7IMw.js";import"./TableSearch-Dw0n59eL.js";import"./Search-DV0DmDJh.js";import"./Clear-TsHHhjv8.js";import"./useLocalStorage-1RvhLwwW.js";import"./index-DTKSzDFU.js";import"./decode-DPztD6kB.js";import"./UnfoldMore-OHiBiV6d.js";import"./shorten-label-jgxOPsCZ.js";import"./ViewList-Dlfa9YjE.js";import"./index-DV2yUsDM.js";import"./ButtonGroup-CvkZLM_A.js";import"./getValidReactChildren-BMWRE_Nn.js";import"./index.esm-C1D-vjtU.js";import"./Google-D0deGelc.js";import"./cloneDeep-B_sIbdyU.js";import"./Autocomplete-C7pwOgja.js";import"./ListSubheader-U4UKs_5o.js";import"./AdapterDayjs-GSjt4DIz.js";import"./useThemeProps-SIspLYj0.js";import"./CSSTransition-CUGJUBZa.js";import"./visuallyHidden-Dan1xhjv.js";import"./index-BMTfpek5.js";import"./Verified-8SqBajcm.js";import"./DeleteOutline-CutnF8U7.js";import"./ErrorOutline-BVlSjT51.js";import"./index-CxOhjmog.js";import"./emotion-cache.browser.esm-F-H2n_Vz.js";import"./sdk-CXtYA3ry.js";import"./index-Br_vN976.js";import"./ua-parser-DP5omx3I.js";import"./edit.svg-MioFY6RL.js";import"./list-header-CRu61Gzq.js";import"./chain-Cq8v0ndB.js";import"./ToggleButtonGroup-DsgagStl.js";import"./lock.svg-B1POA68X.js";import"./FilterList-BVOOp-qX.js";import"./index-CvjKujEe.js";import"./redux-DfszZyTl.js";import"./typeof-QjJsDpFa.js";import"./depsEqual-DnLesJI5.js";import"./MoreVert-LlVBp8Yl.js";import"./useAsync-C6Eg4w89.js";const Ta=ks(t.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2zm-1 7h5.5L14 6.5z"}));function Kn({value:e}){const{t:s,locale:a}=ye(),i=new Date;return new Date(e)<i?t.jsxs("span",{style:{color:"red"},children:[t.jsx(Fe,{value:e,locale:a}),`${s("setting.accessKey.expired",{time:""})}`]}):t.jsx(Fe,{mode:"daysLeft",value:e,locale:a,type:"all"})}Kn.propTypes={value:j.string.isRequired};function Hn({value:e,onChange:s,...a}){const{t:i}=ye(),g=Y.useMemo(()=>[{value:"signature",title:i("setting.accessKey.signature"),description:i("setting.accessKey.signatureDesc")},{value:"simple",title:i("setting.accessKey.simple"),description:i("setting.accessKey.simpleDesc")}],[i]);return t.jsxs(Bn,{style:{width:"100%"},variant:"outlined",...a,children:[t.jsx($n,{children:i("setting.accessKey.authType")}),t.jsx(Pn,{value:e,onChange:s,fullWidth:!0,label:i("setting.accessKey.authType"),IconComponent:E=>t.jsx(Nt,{...E,width:20,height:20}),children:g.map(E=>t.jsx(Un,{value:E.value,children:t.jsxs($,{children:[t.jsx("span",{children:E.title}),t.jsx($,{sx:{maxWidth:510,fontSize:12,color:"#999",whiteSpace:"normal"},children:E.description})]})},E.value))})]})}Hn.propTypes={value:j.string.isRequired,onChange:j.func.isRequired};const zn=()=>{const e=on.RBAC_CONFIG.roles.filter(g=>g.passport),{inService:s}=Oe(),{roles:a}=Ge(),i=[...e,...s?a:[]];return Ds(i,"name").filter(g=>g.name!==on.ROLES.OWNER)};function wt(){const{session:e}=Bs(),s=zn();return Y.useMemo(()=>{if(!e?.user?.role)return[];if(["owner","admin"].includes(e.user.role))return s;const i=s.filter(E=>E.name==="guest");return[...s.filter(E=>E.name!=="guest").filter(E=>e.user.passports.find(_=>_.role===E.name)),...i]},[s,e?.user?.passports,e?.user?.role])}function It({onCreate:e=()=>{},remark:s=""}){const{api:a}=Oe(),{teamDid:i}=Ge(),{t:g}=ye(),[E,_]=Y.useState(!1),[l,h]=Y.useState(null),u=wt(),y=()=>{_(!1),h(null)},T=async f=>{const{remark:v,passport:A,authType:b}=f;_(!0);const C=await a.createAccessKey({input:{teamDid:i,remark:v.trim(),passport:A,expireAt:f.expireAt?new Date(f.expireAt).getTime():null,authType:b}}),{data:B}=C;e(B),h(null),_(!1)},c={title:`${g("common.create")} ${g("accessKey")}`,description:(f,v,A)=>t.jsxs(Fn,{sx:{gap:3},children:[t.jsx(Mn,{label:g("setting.accessKey.tip"),autoComplete:"off",variant:"outlined",name:"remark",fullWidth:!0,autoFocus:!0,margin:"dense",value:f.remark,onChange:b=>{v({...f,remark:b.target.value,__disableConfirm:!f.passport||!b.target.value.trim()}),b.target.value.trim()?A(""):A(g("setting.accessKey.remarkInvalid"))},slotProps:{htmlInput:{"data-cy":"remark-input"}}}),t.jsxs(Bn,{style:{width:"100%"},variant:"outlined",children:[t.jsx($n,{sx:{width:"calc(100% - 46px)"},children:g("setting.accessKey.passport")}),t.jsx(Pn,{"data-cy":"create-access-key-select-passport",value:f.passport,onChange:b=>{const C=b.target.value;A(null),v({...f,passport:C,__disableConfirm:!f.remark||!C})},fullWidth:!0,label:g("setting.accessKey.passport"),disabled:E,IconComponent:b=>t.jsx(Nt,{...b,width:20,height:20}),children:u.map(b=>t.jsx(Un,{value:b.name,"data-cy":`create-access-key-passport-option-${b.name}`,children:t.jsxs($,{children:[t.jsx("span",{children:b.title||b.name}),t.jsx($,{sx:{maxWidth:440,fontSize:12,color:"#999",whiteSpace:"normal",textAlign:"justify"},children:b.description})]})},b.name))})]}),t.jsx(Hn,{value:f.authType,onChange:b=>{v({...f,authType:b.target.value})}}),t.jsx(Rt,{placeholder:g("setting.accessKey.expireTime"),value:f.expireAt,onChange:b=>{v({...f,expireAt:b,__disableConfirm:!f.passport||!f.remark||!b})}})]}),confirm:g("common.confirm"),cancel:g("common.cancel"),color:"primary",params:{remark:s,authType:"signature",__disableConfirm:!s.trim()},onConfirm:T,onCancel:y};return t.jsxs(t.Fragment,{children:[t.jsxs(vn,{sx:{color:"common.white"},edge:"end",variant:"contained",color:"primary","data-cy":"add-access-key-btn",onClick:()=>h(c),className:"rule-action",children:[E?t.jsx($s,{size:16}):t.jsx(ha,{style:{fontSize:16}}),g("common.create")]}),l&&t.jsx(yt,{title:l.title,description:l.description,confirm:l.confirm,color:l.color,cancel:l.cancel,params:l.params,onConfirm:l.onConfirm,onCancel:l.onCancel})]})}It.propTypes={remark:j.string,onCreate:j.func};var Tn,bt;function Ra(){if(bt)return Tn;bt=1;function e(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(o=>{const d=n[o],w=typeof d;(w==="object"||w==="function")&&!Object.isFrozen(d)&&e(d)}),n}class s{constructor(o){o.data===void 0&&(o.data={}),this.data=o.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(n){return n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(n,...o){const d=Object.create(null);for(const w in n)d[w]=n[w];return o.forEach(function(w){for(const J in w)d[J]=w[J]}),d}const g="</span>",E=n=>!!n.scope,_=(n,{prefix:o})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const d=n.split(".");return[`${o}${d.shift()}`,...d.map((w,J)=>`${w}${"_".repeat(J+1)}`)].join(" ")}return`${o}${n}`};class l{constructor(o,d){this.buffer="",this.classPrefix=d.classPrefix,o.walk(this)}addText(o){this.buffer+=a(o)}openNode(o){if(!E(o))return;const d=_(o.scope,{prefix:this.classPrefix});this.span(d)}closeNode(o){E(o)&&(this.buffer+=g)}value(){return this.buffer}span(o){this.buffer+=`<span class="${o}">`}}const h=(n={})=>{const o={children:[]};return Object.assign(o,n),o};class u{constructor(){this.rootNode=h(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(o){this.top.children.push(o)}openNode(o){const d=h({scope:o});this.add(d),this.stack.push(d)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(o){return this.constructor._walk(o,this.rootNode)}static _walk(o,d){return typeof d=="string"?o.addText(d):d.children&&(o.openNode(d),d.children.forEach(w=>this._walk(o,w)),o.closeNode(d)),o}static _collapse(o){typeof o!="string"&&o.children&&(o.children.every(d=>typeof d=="string")?o.children=[o.children.join("")]:o.children.forEach(d=>{u._collapse(d)}))}}class y extends u{constructor(o){super(),this.options=o}addText(o){o!==""&&this.add(o)}startScope(o){this.openNode(o)}endScope(){this.closeNode()}__addSublanguage(o,d){const w=o.root;d&&(w.scope=`language:${d}`),this.add(w)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function T(n){return n?typeof n=="string"?n:n.source:null}function c(n){return A("(?=",n,")")}function f(n){return A("(?:",n,")*")}function v(n){return A("(?:",n,")?")}function A(...n){return n.map(d=>T(d)).join("")}function b(n){const o=n[n.length-1];return typeof o=="object"&&o.constructor===Object?(n.splice(n.length-1,1),o):{}}function C(...n){return"("+(b(n).capture?"":"?:")+n.map(w=>T(w)).join("|")+")"}function B(n){return new RegExp(n.toString()+"|").exec("").length-1}function M(n,o){const d=n&&n.exec(o);return d&&d.index===0}const P=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function k(n,{joinWith:o}){let d=0;return n.map(w=>{d+=1;const J=d;let Q=T(w),N="";for(;Q.length>0;){const m=P.exec(Q);if(!m){N+=Q;break}N+=Q.substring(0,m.index),Q=Q.substring(m.index+m[0].length),m[0][0]==="\\"&&m[1]?N+="\\"+String(Number(m[1])+J):(N+=m[0],m[0]==="("&&d++)}return N}).map(w=>`(${w})`).join(o)}const X=/\b\B/,ge="[a-zA-Z]\\w*",ae="[a-zA-Z_]\\w*",ne="\\b\\d+(\\.\\d+)?",be="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ee="\\b(0b[01]+)",fe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",I=(n={})=>{const o=/^#![ ]*\//;return n.binary&&(n.begin=A(o,/.*\b/,n.binary,/\b.*/)),i({scope:"meta",begin:o,end:/$/,relevance:0,"on:begin":(d,w)=>{d.index!==0&&w.ignoreMatch()}},n)},G={begin:"\\\\[\\s\\S]",relevance:0},V={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[G]},q={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[G]},xe={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},U=function(n,o,d={}){const w=i({scope:"comment",begin:n,end:o,contains:[]},d);w.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const J=C("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return w.contains.push({begin:A(/[ ]+/,"(",J,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),w},ie=U("//","$"),ue=U("/\\*","\\*/"),ce=U("#","$"),oe={scope:"number",begin:ne,relevance:0},Ae={scope:"number",begin:be,relevance:0},ln={scope:"number",begin:Ee,relevance:0},We={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[G,{begin:/\[/,end:/\]/,relevance:0,contains:[G]}]},je={scope:"title",begin:ge,relevance:0},un={scope:"title",begin:ae,relevance:0},Ze={begin:"\\.\\s*"+ae,relevance:0};var Me=Object.freeze({__proto__:null,APOS_STRING_MODE:V,BACKSLASH_ESCAPE:G,BINARY_NUMBER_MODE:ln,BINARY_NUMBER_RE:Ee,COMMENT:U,C_BLOCK_COMMENT_MODE:ue,C_LINE_COMMENT_MODE:ie,C_NUMBER_MODE:Ae,C_NUMBER_RE:be,END_SAME_AS_BEGIN:function(n){return Object.assign(n,{"on:begin":(o,d)=>{d.data._beginMatch=o[1]},"on:end":(o,d)=>{d.data._beginMatch!==o[1]&&d.ignoreMatch()}})},HASH_COMMENT_MODE:ce,IDENT_RE:ge,MATCH_NOTHING_RE:X,METHOD_GUARD:Ze,NUMBER_MODE:oe,NUMBER_RE:ne,PHRASAL_WORDS_MODE:xe,QUOTE_STRING_MODE:q,REGEXP_MODE:We,RE_STARTERS_RE:fe,SHEBANG:I,TITLE_MODE:je,UNDERSCORE_IDENT_RE:ae,UNDERSCORE_TITLE_MODE:un});function dn(n,o){n.input[n.index-1]==="."&&o.ignoreMatch()}function gn(n,o){n.className!==void 0&&(n.scope=n.className,delete n.className)}function pn(n,o){o&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=dn,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function bn(n,o){Array.isArray(n.illegal)&&(n.illegal=C(...n.illegal))}function fn(n,o){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function K(n,o){n.relevance===void 0&&(n.relevance=1)}const Le=(n,o)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const d=Object.assign({},n);Object.keys(n).forEach(w=>{delete n[w]}),n.keywords=d.keywords,n.begin=A(d.beforeMatch,c(d.begin)),n.starts={relevance:0,contains:[Object.assign(d,{endsParent:!0})]},n.relevance=0,delete d.beforeMatch},Ce=["of","and","for","in","not","or","if","then","parent","list","value"],mn="keyword";function qn(n,o,d=mn){const w=Object.create(null);return typeof n=="string"?J(d,n.split(" ")):Array.isArray(n)?J(d,n):Object.keys(n).forEach(function(Q){Object.assign(w,qn(n[Q],o,Q))}),w;function J(Q,N){o&&(N=N.map(m=>m.toLowerCase())),N.forEach(function(m){const R=m.split("|");w[R[0]]=[Q,is(R[0],R[1])]})}}function is(n,o){return o?Number(o):os(n)?0:1}function os(n){return Ce.includes(n.toLowerCase())}const Xn={},we=n=>{console.error(n)},Vn=(n,...o)=>{console.log(`WARN: ${n}`,...o)},ke=(n,o)=>{Xn[`${n}/${o}`]||(console.log(`Deprecated as of ${n}. ${o}`),Xn[`${n}/${o}`]=!0)},Ye=new Error;function Jn(n,o,{key:d}){let w=0;const J=n[d],Q={},N={};for(let m=1;m<=o.length;m++)N[m+w]=J[m],Q[m+w]=!0,w+=B(o[m-1]);n[d]=N,n[d]._emit=Q,n[d]._multi=!0}function rs(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw we("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ye;if(typeof n.beginScope!="object"||n.beginScope===null)throw we("beginScope must be object"),Ye;Jn(n,n.begin,{key:"beginScope"}),n.begin=k(n.begin,{joinWith:""})}}function cs(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw we("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ye;if(typeof n.endScope!="object"||n.endScope===null)throw we("endScope must be object"),Ye;Jn(n,n.end,{key:"endScope"}),n.end=k(n.end,{joinWith:""})}}function ls(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function us(n){ls(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),rs(n),cs(n)}function ds(n){function o(N,m){return new RegExp(T(N),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(m?"g":""))}class d{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(m,R){R.position=this.position++,this.matchIndexes[this.matchAt]=R,this.regexes.push([R,m]),this.matchAt+=B(m)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const m=this.regexes.map(R=>R[1]);this.matcherRe=o(k(m,{joinWith:"|"}),!0),this.lastIndex=0}exec(m){this.matcherRe.lastIndex=this.lastIndex;const R=this.matcherRe.exec(m);if(!R)return null;const se=R.findIndex((Ke,hn)=>hn>0&&Ke!==void 0),ee=this.matchIndexes[se];return R.splice(0,se),Object.assign(R,ee)}}class w{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(m){if(this.multiRegexes[m])return this.multiRegexes[m];const R=new d;return this.rules.slice(m).forEach(([se,ee])=>R.addRule(se,ee)),R.compile(),this.multiRegexes[m]=R,R}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(m,R){this.rules.push([m,R]),R.type==="begin"&&this.count++}exec(m){const R=this.getMatcher(this.regexIndex);R.lastIndex=this.lastIndex;let se=R.exec(m);if(this.resumingScanAtSamePosition()&&!(se&&se.index===this.lastIndex)){const ee=this.getMatcher(0);ee.lastIndex=this.lastIndex+1,se=ee.exec(m)}return se&&(this.regexIndex+=se.position+1,this.regexIndex===this.count&&this.considerAll()),se}}function J(N){const m=new w;return N.contains.forEach(R=>m.addRule(R.begin,{rule:R,type:"begin"})),N.terminatorEnd&&m.addRule(N.terminatorEnd,{type:"end"}),N.illegal&&m.addRule(N.illegal,{type:"illegal"}),m}function Q(N,m){const R=N;if(N.isCompiled)return R;[gn,fn,us,Le].forEach(ee=>ee(N,m)),n.compilerExtensions.forEach(ee=>ee(N,m)),N.__beforeBegin=null,[pn,bn,K].forEach(ee=>ee(N,m)),N.isCompiled=!0;let se=null;return typeof N.keywords=="object"&&N.keywords.$pattern&&(N.keywords=Object.assign({},N.keywords),se=N.keywords.$pattern,delete N.keywords.$pattern),se=se||/\w+/,N.keywords&&(N.keywords=qn(N.keywords,n.case_insensitive)),R.keywordPatternRe=o(se,!0),m&&(N.begin||(N.begin=/\B|\b/),R.beginRe=o(R.begin),!N.end&&!N.endsWithParent&&(N.end=/\B|\b/),N.end&&(R.endRe=o(R.end)),R.terminatorEnd=T(R.end)||"",N.endsWithParent&&m.terminatorEnd&&(R.terminatorEnd+=(N.end?"|":"")+m.terminatorEnd)),N.illegal&&(R.illegalRe=o(N.illegal)),N.contains||(N.contains=[]),N.contains=[].concat(...N.contains.map(function(ee){return gs(ee==="self"?N:ee)})),N.contains.forEach(function(ee){Q(ee,R)}),N.starts&&Q(N.starts,m),R.matcher=J(R),R}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=i(n.classNameAliases||{}),Q(n)}function Qn(n){return n?n.endsWithParent||Qn(n.starts):!1}function gs(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(o){return i(n,{variants:null},o)})),n.cachedVariants?n.cachedVariants:Qn(n)?i(n,{starts:n.starts?i(n.starts):null}):Object.isFrozen(n)?i(n):n}var ps="11.11.1";class bs extends Error{constructor(o,d){super(o),this.name="HTMLInjectionError",this.html=d}}const En=a,et=i,nt=Symbol("nomatch"),fs=7,tt=function(n){const o=Object.create(null),d=Object.create(null),w=[];let J=!0;const Q="Could not find the language '{}', did you forget to load/include a language module?",N={disableAutodetect:!0,name:"Plain text",contains:[]};let m={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:y};function R(r){return m.noHighlightRe.test(r)}function se(r){let S=r.className+" ";S+=r.parentNode?r.parentNode.className:"";const D=m.languageDetectRe.exec(S);if(D){const W=Te(D[1]);return W||(Vn(Q.replace("{}",D[1])),Vn("Falling back to no-highlight mode for this block.",r)),W?D[1]:"no-highlight"}return S.split(/\s+/).find(W=>R(W)||Te(W))}function ee(r,S,D){let W="",te="";typeof S=="object"?(W=r,D=S.ignoreIllegals,te=S.language):(ke("10.7.0","highlight(lang, code, ...args) has been deprecated."),ke("10.7.0",`Please use highlight(code, options) instead.
|
|
1
|
+
import{aF as ks,j as t,aH as on,bn as Oe,bo as Ds,V as ye,N as Fe,r as Y,O as Bn,P as $n,S as Pn,Q as Un,K as $,bp as Nt,o as j,n as Bs,v as vn,C as $s,ac as yt,aV as Fn,t as Mn,bd as Ps,s as ve,Z as Us,bq as Be,br as Fs,bs as js,p as Ks,y as ze,$ as xt,aU as Hs,R as zs,at as Gs,H as Ws,m as Zs,bt as Sn,W as Ys,bu as At,bv as St,bw as Tt,bx as qs,i as Xs,T as Ue,by as Vs,ay as dt,a3 as gt,aR as pt,bk as Js,bz as Qs,U as ea,X as na,A as ta,u as sa,bm as aa,d as ia,bA as oa}from"./index-D4eQE_TP.js";import{u as ra,T as ca}from"./html-title-CuUyumLv.js";import la from"./audit-logs-CC3WeM0a.js";import{T as Rt,M as ua}from"./index-yegNPitx.js";import{r as Ct,P as da}from"./index-BW0jEb7j.js";import{u as Ge,T as ga}from"./team-BPm7GXr3.js";import{g as pa,H as ba}from"./index-CxpPzbzU.js";import{D as fa}from"./url-evaluation-DvSlLCr5.js";import{E as ma}from"./Edit-B1GrIrSa.js";import{y as Ea}from"./index-DFRPJXRn.js";import{A as ha}from"./Add-DU5X_U2u.js";import{C as Ln}from"./click-to-copy-DGNMr8_O.js";import{f as _a}from"./index-BojVbZw0.js";import{D as Na}from"./delete-confirm-CdJmwhZX.js";import{P as ya}from"./permission-Cz1FrvyA.js";import{u as xa}from"./blocklet-DUEr9aGB.js";import{u as jn}from"./use-mobile-6YLRE80V.js";import{A as Aa}from"./actions-CHcHbGcd.js";import{u as Sa}from"./useAsyncRetry-CTTkpKwa.js";import"./TableSearch-DJUhNasJ.js";import"./Search-CDBu3YFg.js";import"./Clear-fLYWFWL3.js";import"./useLocalStorage-UJQc3CLl.js";import"./index-Plq6hllo.js";import"./decode-DPztD6kB.js";import"./UnfoldMore-D7ekduSe.js";import"./shorten-label-DzbGUwvK.js";import"./ViewList-DT6Xma-B.js";import"./index-C1oHtzbL.js";import"./ButtonGroup-CWskS5fX.js";import"./getValidReactChildren-DzxCosZj.js";import"./index.esm-B212pqxD.js";import"./Google-CIjch33x.js";import"./cloneDeep-DhmluxJ2.js";import"./Autocomplete-_Fi6RPLW.js";import"./ListSubheader-h3BvbTVV.js";import"./AdapterDayjs-CgY38Owx.js";import"./useThemeProps-D4mtFn43.js";import"./CSSTransition--8a6z16w.js";import"./visuallyHidden-Dan1xhjv.js";import"./index-65SOJ0fZ.js";import"./Verified-xgJHnpUk.js";import"./DeleteOutline-Cs7CwDmK.js";import"./ErrorOutline-BY5CE57a.js";import"./index-Qxi4GaAT.js";import"./emotion-cache.browser.esm-Cb-LUV2D.js";import"./sdk-C_3i0CyM.js";import"./index-CNtIWgAU.js";import"./ua-parser-DP5omx3I.js";import"./edit.svg-ngwj-dRr.js";import"./list-header-DjUyvNHI.js";import"./chain-XyhYd1VW.js";import"./ToggleButtonGroup-Bhk9MfTF.js";import"./lock.svg-C6rQW6kT.js";import"./FilterList-tULWsV25.js";import"./index-CYFoxs1Y.js";import"./redux-DfszZyTl.js";import"./typeof-QjJsDpFa.js";import"./depsEqual-DAfwc8aQ.js";import"./MoreVert-De86Jj5O.js";import"./useAsync-nf1n7R3_.js";const Ta=ks(t.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2zm-1 7h5.5L14 6.5z"}));function Kn({value:e}){const{t:s,locale:a}=ye(),i=new Date;return new Date(e)<i?t.jsxs("span",{style:{color:"red"},children:[t.jsx(Fe,{value:e,locale:a}),`${s("setting.accessKey.expired",{time:""})}`]}):t.jsx(Fe,{mode:"daysLeft",value:e,locale:a,type:"all"})}Kn.propTypes={value:j.string.isRequired};function Hn({value:e,onChange:s,...a}){const{t:i}=ye(),g=Y.useMemo(()=>[{value:"signature",title:i("setting.accessKey.signature"),description:i("setting.accessKey.signatureDesc")},{value:"simple",title:i("setting.accessKey.simple"),description:i("setting.accessKey.simpleDesc")}],[i]);return t.jsxs(Bn,{style:{width:"100%"},variant:"outlined",...a,children:[t.jsx($n,{children:i("setting.accessKey.authType")}),t.jsx(Pn,{value:e,onChange:s,fullWidth:!0,label:i("setting.accessKey.authType"),IconComponent:E=>t.jsx(Nt,{...E,width:20,height:20}),children:g.map(E=>t.jsx(Un,{value:E.value,children:t.jsxs($,{children:[t.jsx("span",{children:E.title}),t.jsx($,{sx:{maxWidth:510,fontSize:12,color:"#999",whiteSpace:"normal"},children:E.description})]})},E.value))})]})}Hn.propTypes={value:j.string.isRequired,onChange:j.func.isRequired};const zn=()=>{const e=on.RBAC_CONFIG.roles.filter(g=>g.passport),{inService:s}=Oe(),{roles:a}=Ge(),i=[...e,...s?a:[]];return Ds(i,"name").filter(g=>g.name!==on.ROLES.OWNER)};function wt(){const{session:e}=Bs(),s=zn();return Y.useMemo(()=>{if(!e?.user?.role)return[];if(["owner","admin"].includes(e.user.role))return s;const i=s.filter(E=>E.name==="guest");return[...s.filter(E=>E.name!=="guest").filter(E=>e.user.passports.find(_=>_.role===E.name)),...i]},[s,e?.user?.passports,e?.user?.role])}function It({onCreate:e=()=>{},remark:s=""}){const{api:a}=Oe(),{teamDid:i}=Ge(),{t:g}=ye(),[E,_]=Y.useState(!1),[l,h]=Y.useState(null),u=wt(),y=()=>{_(!1),h(null)},T=async f=>{const{remark:v,passport:A,authType:b}=f;_(!0);const C=await a.createAccessKey({input:{teamDid:i,remark:v.trim(),passport:A,expireAt:f.expireAt?new Date(f.expireAt).getTime():null,authType:b}}),{data:B}=C;e(B),h(null),_(!1)},c={title:`${g("common.create")} ${g("accessKey")}`,description:(f,v,A)=>t.jsxs(Fn,{sx:{gap:3},children:[t.jsx(Mn,{label:g("setting.accessKey.tip"),autoComplete:"off",variant:"outlined",name:"remark",fullWidth:!0,autoFocus:!0,margin:"dense",value:f.remark,onChange:b=>{v({...f,remark:b.target.value,__disableConfirm:!f.passport||!b.target.value.trim()}),b.target.value.trim()?A(""):A(g("setting.accessKey.remarkInvalid"))},slotProps:{htmlInput:{"data-cy":"remark-input"}}}),t.jsxs(Bn,{style:{width:"100%"},variant:"outlined",children:[t.jsx($n,{sx:{width:"calc(100% - 46px)"},children:g("setting.accessKey.passport")}),t.jsx(Pn,{"data-cy":"create-access-key-select-passport",value:f.passport,onChange:b=>{const C=b.target.value;A(null),v({...f,passport:C,__disableConfirm:!f.remark||!C})},fullWidth:!0,label:g("setting.accessKey.passport"),disabled:E,IconComponent:b=>t.jsx(Nt,{...b,width:20,height:20}),children:u.map(b=>t.jsx(Un,{value:b.name,"data-cy":`create-access-key-passport-option-${b.name}`,children:t.jsxs($,{children:[t.jsx("span",{children:b.title||b.name}),t.jsx($,{sx:{maxWidth:440,fontSize:12,color:"#999",whiteSpace:"normal",textAlign:"justify"},children:b.description})]})},b.name))})]}),t.jsx(Hn,{value:f.authType,onChange:b=>{v({...f,authType:b.target.value})}}),t.jsx(Rt,{placeholder:g("setting.accessKey.expireTime"),value:f.expireAt,onChange:b=>{v({...f,expireAt:b,__disableConfirm:!f.passport||!f.remark||!b})}})]}),confirm:g("common.confirm"),cancel:g("common.cancel"),color:"primary",params:{remark:s,authType:"signature",__disableConfirm:!s.trim()},onConfirm:T,onCancel:y};return t.jsxs(t.Fragment,{children:[t.jsxs(vn,{sx:{color:"common.white"},edge:"end",variant:"contained",color:"primary","data-cy":"add-access-key-btn",onClick:()=>h(c),className:"rule-action",children:[E?t.jsx($s,{size:16}):t.jsx(ha,{style:{fontSize:16}}),g("common.create")]}),l&&t.jsx(yt,{title:l.title,description:l.description,confirm:l.confirm,color:l.color,cancel:l.cancel,params:l.params,onConfirm:l.onConfirm,onCancel:l.onCancel})]})}It.propTypes={remark:j.string,onCreate:j.func};var Tn,bt;function Ra(){if(bt)return Tn;bt=1;function e(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(o=>{const d=n[o],w=typeof d;(w==="object"||w==="function")&&!Object.isFrozen(d)&&e(d)}),n}class s{constructor(o){o.data===void 0&&(o.data={}),this.data=o.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(n){return n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(n,...o){const d=Object.create(null);for(const w in n)d[w]=n[w];return o.forEach(function(w){for(const J in w)d[J]=w[J]}),d}const g="</span>",E=n=>!!n.scope,_=(n,{prefix:o})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const d=n.split(".");return[`${o}${d.shift()}`,...d.map((w,J)=>`${w}${"_".repeat(J+1)}`)].join(" ")}return`${o}${n}`};class l{constructor(o,d){this.buffer="",this.classPrefix=d.classPrefix,o.walk(this)}addText(o){this.buffer+=a(o)}openNode(o){if(!E(o))return;const d=_(o.scope,{prefix:this.classPrefix});this.span(d)}closeNode(o){E(o)&&(this.buffer+=g)}value(){return this.buffer}span(o){this.buffer+=`<span class="${o}">`}}const h=(n={})=>{const o={children:[]};return Object.assign(o,n),o};class u{constructor(){this.rootNode=h(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(o){this.top.children.push(o)}openNode(o){const d=h({scope:o});this.add(d),this.stack.push(d)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(o){return this.constructor._walk(o,this.rootNode)}static _walk(o,d){return typeof d=="string"?o.addText(d):d.children&&(o.openNode(d),d.children.forEach(w=>this._walk(o,w)),o.closeNode(d)),o}static _collapse(o){typeof o!="string"&&o.children&&(o.children.every(d=>typeof d=="string")?o.children=[o.children.join("")]:o.children.forEach(d=>{u._collapse(d)}))}}class y extends u{constructor(o){super(),this.options=o}addText(o){o!==""&&this.add(o)}startScope(o){this.openNode(o)}endScope(){this.closeNode()}__addSublanguage(o,d){const w=o.root;d&&(w.scope=`language:${d}`),this.add(w)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function T(n){return n?typeof n=="string"?n:n.source:null}function c(n){return A("(?=",n,")")}function f(n){return A("(?:",n,")*")}function v(n){return A("(?:",n,")?")}function A(...n){return n.map(d=>T(d)).join("")}function b(n){const o=n[n.length-1];return typeof o=="object"&&o.constructor===Object?(n.splice(n.length-1,1),o):{}}function C(...n){return"("+(b(n).capture?"":"?:")+n.map(w=>T(w)).join("|")+")"}function B(n){return new RegExp(n.toString()+"|").exec("").length-1}function M(n,o){const d=n&&n.exec(o);return d&&d.index===0}const P=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function k(n,{joinWith:o}){let d=0;return n.map(w=>{d+=1;const J=d;let Q=T(w),N="";for(;Q.length>0;){const m=P.exec(Q);if(!m){N+=Q;break}N+=Q.substring(0,m.index),Q=Q.substring(m.index+m[0].length),m[0][0]==="\\"&&m[1]?N+="\\"+String(Number(m[1])+J):(N+=m[0],m[0]==="("&&d++)}return N}).map(w=>`(${w})`).join(o)}const X=/\b\B/,ge="[a-zA-Z]\\w*",ae="[a-zA-Z_]\\w*",ne="\\b\\d+(\\.\\d+)?",be="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ee="\\b(0b[01]+)",fe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",I=(n={})=>{const o=/^#![ ]*\//;return n.binary&&(n.begin=A(o,/.*\b/,n.binary,/\b.*/)),i({scope:"meta",begin:o,end:/$/,relevance:0,"on:begin":(d,w)=>{d.index!==0&&w.ignoreMatch()}},n)},G={begin:"\\\\[\\s\\S]",relevance:0},V={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[G]},q={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[G]},xe={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},U=function(n,o,d={}){const w=i({scope:"comment",begin:n,end:o,contains:[]},d);w.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const J=C("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return w.contains.push({begin:A(/[ ]+/,"(",J,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),w},ie=U("//","$"),ue=U("/\\*","\\*/"),ce=U("#","$"),oe={scope:"number",begin:ne,relevance:0},Ae={scope:"number",begin:be,relevance:0},ln={scope:"number",begin:Ee,relevance:0},We={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[G,{begin:/\[/,end:/\]/,relevance:0,contains:[G]}]},je={scope:"title",begin:ge,relevance:0},un={scope:"title",begin:ae,relevance:0},Ze={begin:"\\.\\s*"+ae,relevance:0};var Me=Object.freeze({__proto__:null,APOS_STRING_MODE:V,BACKSLASH_ESCAPE:G,BINARY_NUMBER_MODE:ln,BINARY_NUMBER_RE:Ee,COMMENT:U,C_BLOCK_COMMENT_MODE:ue,C_LINE_COMMENT_MODE:ie,C_NUMBER_MODE:Ae,C_NUMBER_RE:be,END_SAME_AS_BEGIN:function(n){return Object.assign(n,{"on:begin":(o,d)=>{d.data._beginMatch=o[1]},"on:end":(o,d)=>{d.data._beginMatch!==o[1]&&d.ignoreMatch()}})},HASH_COMMENT_MODE:ce,IDENT_RE:ge,MATCH_NOTHING_RE:X,METHOD_GUARD:Ze,NUMBER_MODE:oe,NUMBER_RE:ne,PHRASAL_WORDS_MODE:xe,QUOTE_STRING_MODE:q,REGEXP_MODE:We,RE_STARTERS_RE:fe,SHEBANG:I,TITLE_MODE:je,UNDERSCORE_IDENT_RE:ae,UNDERSCORE_TITLE_MODE:un});function dn(n,o){n.input[n.index-1]==="."&&o.ignoreMatch()}function gn(n,o){n.className!==void 0&&(n.scope=n.className,delete n.className)}function pn(n,o){o&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=dn,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function bn(n,o){Array.isArray(n.illegal)&&(n.illegal=C(...n.illegal))}function fn(n,o){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function K(n,o){n.relevance===void 0&&(n.relevance=1)}const Le=(n,o)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const d=Object.assign({},n);Object.keys(n).forEach(w=>{delete n[w]}),n.keywords=d.keywords,n.begin=A(d.beforeMatch,c(d.begin)),n.starts={relevance:0,contains:[Object.assign(d,{endsParent:!0})]},n.relevance=0,delete d.beforeMatch},Ce=["of","and","for","in","not","or","if","then","parent","list","value"],mn="keyword";function qn(n,o,d=mn){const w=Object.create(null);return typeof n=="string"?J(d,n.split(" ")):Array.isArray(n)?J(d,n):Object.keys(n).forEach(function(Q){Object.assign(w,qn(n[Q],o,Q))}),w;function J(Q,N){o&&(N=N.map(m=>m.toLowerCase())),N.forEach(function(m){const R=m.split("|");w[R[0]]=[Q,is(R[0],R[1])]})}}function is(n,o){return o?Number(o):os(n)?0:1}function os(n){return Ce.includes(n.toLowerCase())}const Xn={},we=n=>{console.error(n)},Vn=(n,...o)=>{console.log(`WARN: ${n}`,...o)},ke=(n,o)=>{Xn[`${n}/${o}`]||(console.log(`Deprecated as of ${n}. ${o}`),Xn[`${n}/${o}`]=!0)},Ye=new Error;function Jn(n,o,{key:d}){let w=0;const J=n[d],Q={},N={};for(let m=1;m<=o.length;m++)N[m+w]=J[m],Q[m+w]=!0,w+=B(o[m-1]);n[d]=N,n[d]._emit=Q,n[d]._multi=!0}function rs(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw we("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ye;if(typeof n.beginScope!="object"||n.beginScope===null)throw we("beginScope must be object"),Ye;Jn(n,n.begin,{key:"beginScope"}),n.begin=k(n.begin,{joinWith:""})}}function cs(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw we("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ye;if(typeof n.endScope!="object"||n.endScope===null)throw we("endScope must be object"),Ye;Jn(n,n.end,{key:"endScope"}),n.end=k(n.end,{joinWith:""})}}function ls(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function us(n){ls(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),rs(n),cs(n)}function ds(n){function o(N,m){return new RegExp(T(N),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(m?"g":""))}class d{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(m,R){R.position=this.position++,this.matchIndexes[this.matchAt]=R,this.regexes.push([R,m]),this.matchAt+=B(m)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const m=this.regexes.map(R=>R[1]);this.matcherRe=o(k(m,{joinWith:"|"}),!0),this.lastIndex=0}exec(m){this.matcherRe.lastIndex=this.lastIndex;const R=this.matcherRe.exec(m);if(!R)return null;const se=R.findIndex((Ke,hn)=>hn>0&&Ke!==void 0),ee=this.matchIndexes[se];return R.splice(0,se),Object.assign(R,ee)}}class w{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(m){if(this.multiRegexes[m])return this.multiRegexes[m];const R=new d;return this.rules.slice(m).forEach(([se,ee])=>R.addRule(se,ee)),R.compile(),this.multiRegexes[m]=R,R}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(m,R){this.rules.push([m,R]),R.type==="begin"&&this.count++}exec(m){const R=this.getMatcher(this.regexIndex);R.lastIndex=this.lastIndex;let se=R.exec(m);if(this.resumingScanAtSamePosition()&&!(se&&se.index===this.lastIndex)){const ee=this.getMatcher(0);ee.lastIndex=this.lastIndex+1,se=ee.exec(m)}return se&&(this.regexIndex+=se.position+1,this.regexIndex===this.count&&this.considerAll()),se}}function J(N){const m=new w;return N.contains.forEach(R=>m.addRule(R.begin,{rule:R,type:"begin"})),N.terminatorEnd&&m.addRule(N.terminatorEnd,{type:"end"}),N.illegal&&m.addRule(N.illegal,{type:"illegal"}),m}function Q(N,m){const R=N;if(N.isCompiled)return R;[gn,fn,us,Le].forEach(ee=>ee(N,m)),n.compilerExtensions.forEach(ee=>ee(N,m)),N.__beforeBegin=null,[pn,bn,K].forEach(ee=>ee(N,m)),N.isCompiled=!0;let se=null;return typeof N.keywords=="object"&&N.keywords.$pattern&&(N.keywords=Object.assign({},N.keywords),se=N.keywords.$pattern,delete N.keywords.$pattern),se=se||/\w+/,N.keywords&&(N.keywords=qn(N.keywords,n.case_insensitive)),R.keywordPatternRe=o(se,!0),m&&(N.begin||(N.begin=/\B|\b/),R.beginRe=o(R.begin),!N.end&&!N.endsWithParent&&(N.end=/\B|\b/),N.end&&(R.endRe=o(R.end)),R.terminatorEnd=T(R.end)||"",N.endsWithParent&&m.terminatorEnd&&(R.terminatorEnd+=(N.end?"|":"")+m.terminatorEnd)),N.illegal&&(R.illegalRe=o(N.illegal)),N.contains||(N.contains=[]),N.contains=[].concat(...N.contains.map(function(ee){return gs(ee==="self"?N:ee)})),N.contains.forEach(function(ee){Q(ee,R)}),N.starts&&Q(N.starts,m),R.matcher=J(R),R}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=i(n.classNameAliases||{}),Q(n)}function Qn(n){return n?n.endsWithParent||Qn(n.starts):!1}function gs(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(o){return i(n,{variants:null},o)})),n.cachedVariants?n.cachedVariants:Qn(n)?i(n,{starts:n.starts?i(n.starts):null}):Object.isFrozen(n)?i(n):n}var ps="11.11.1";class bs extends Error{constructor(o,d){super(o),this.name="HTMLInjectionError",this.html=d}}const En=a,et=i,nt=Symbol("nomatch"),fs=7,tt=function(n){const o=Object.create(null),d=Object.create(null),w=[];let J=!0;const Q="Could not find the language '{}', did you forget to load/include a language module?",N={disableAutodetect:!0,name:"Plain text",contains:[]};let m={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:y};function R(r){return m.noHighlightRe.test(r)}function se(r){let S=r.className+" ";S+=r.parentNode?r.parentNode.className:"";const D=m.languageDetectRe.exec(S);if(D){const W=Te(D[1]);return W||(Vn(Q.replace("{}",D[1])),Vn("Falling back to no-highlight mode for this block.",r)),W?D[1]:"no-highlight"}return S.split(/\s+/).find(W=>R(W)||Te(W))}function ee(r,S,D){let W="",te="";typeof S=="object"?(W=r,D=S.ignoreIllegals,te=S.language):(ke("10.7.0","highlight(lang, code, ...args) has been deprecated."),ke("10.7.0",`Please use highlight(code, options) instead.
|
|
2
2
|
https://github.com/highlightjs/highlight.js/issues/2277`),te=r,W=S),D===void 0&&(D=!0);const me={code:W,language:te};Xe("before:highlight",me);const Re=me.result?me.result:Ke(me.language,me.code,D);return Re.code=me.code,Xe("after:highlight",Re),Re}function Ke(r,S,D,W){const te=Object.create(null);function me(p,x){return p.keywords[x]}function Re(){if(!O.keywords){re.addText(Z);return}let p=0;O.keywordPatternRe.lastIndex=0;let x=O.keywordPatternRe.exec(Z),L="";for(;x;){L+=Z.substring(p,x.index);const F=_e.case_insensitive?x[0].toLowerCase():x[0],le=me(O,F);if(le){const[Se,Ms]=le;if(re.addText(L),L="",te[F]=(te[F]||0)+1,te[F]<=fs&&(Qe+=Ms),Se.startsWith("_"))L+=x[0];else{const Ls=_e.classNameAliases[Se]||Se;he(x[0],Ls)}}else L+=x[0];p=O.keywordPatternRe.lastIndex,x=O.keywordPatternRe.exec(Z)}L+=Z.substring(p),re.addText(L)}function Ve(){if(Z==="")return;let p=null;if(typeof O.subLanguage=="string"){if(!o[O.subLanguage]){re.addText(Z);return}p=Ke(O.subLanguage,Z,!0,ut[O.subLanguage]),ut[O.subLanguage]=p._top}else p=_n(Z,O.subLanguage.length?O.subLanguage:null);O.relevance>0&&(Qe+=p.relevance),re.__addSublanguage(p._emitter,p.language)}function pe(){O.subLanguage!=null?Ve():Re(),Z=""}function he(p,x){p!==""&&(re.startScope(x),re.addText(p),re.endScope())}function ot(p,x){let L=1;const F=x.length-1;for(;L<=F;){if(!p._emit[L]){L++;continue}const le=_e.classNameAliases[p[L]]||p[L],Se=x[L];le?he(Se,le):(Z=Se,Re(),Z=""),L++}}function rt(p,x){return p.scope&&typeof p.scope=="string"&&re.openNode(_e.classNameAliases[p.scope]||p.scope),p.beginScope&&(p.beginScope._wrap?(he(Z,_e.classNameAliases[p.beginScope._wrap]||p.beginScope._wrap),Z=""):p.beginScope._multi&&(ot(p.beginScope,x),Z="")),O=Object.create(p,{parent:{value:O}}),O}function ct(p,x,L){let F=M(p.endRe,L);if(F){if(p["on:end"]){const le=new s(p);p["on:end"](x,le),le.isMatchIgnored&&(F=!1)}if(F){for(;p.endsParent&&p.parent;)p=p.parent;return p}}if(p.endsWithParent)return ct(p.parent,x,L)}function Cs(p){return O.matcher.regexIndex===0?(Z+=p[0],1):(An=!0,0)}function ws(p){const x=p[0],L=p.rule,F=new s(L),le=[L.__beforeBegin,L["on:begin"]];for(const Se of le)if(Se&&(Se(p,F),F.isMatchIgnored))return Cs(x);return L.skip?Z+=x:(L.excludeBegin&&(Z+=x),pe(),!L.returnBegin&&!L.excludeBegin&&(Z=x)),rt(L,p),L.returnBegin?0:x.length}function Is(p){const x=p[0],L=S.substring(p.index),F=ct(O,p,L);if(!F)return nt;const le=O;O.endScope&&O.endScope._wrap?(pe(),he(x,O.endScope._wrap)):O.endScope&&O.endScope._multi?(pe(),ot(O.endScope,p)):le.skip?Z+=x:(le.returnEnd||le.excludeEnd||(Z+=x),pe(),le.excludeEnd&&(Z=x));do O.scope&&re.closeNode(),!O.skip&&!O.subLanguage&&(Qe+=O.relevance),O=O.parent;while(O!==F.parent);return F.starts&&rt(F.starts,p),le.returnEnd?0:x.length}function Os(){const p=[];for(let x=O;x!==_e;x=x.parent)x.scope&&p.unshift(x.scope);p.forEach(x=>re.openNode(x))}let Je={};function lt(p,x){const L=x&&x[0];if(Z+=p,L==null)return pe(),0;if(Je.type==="begin"&&x.type==="end"&&Je.index===x.index&&L===""){if(Z+=S.slice(x.index,x.index+1),!J){const F=new Error(`0 width match regex (${r})`);throw F.languageName=r,F.badRule=Je.rule,F}return 1}if(Je=x,x.type==="begin")return ws(x);if(x.type==="illegal"&&!D){const F=new Error('Illegal lexeme "'+L+'" for mode "'+(O.scope||"<unnamed>")+'"');throw F.mode=O,F}else if(x.type==="end"){const F=Is(x);if(F!==nt)return F}if(x.type==="illegal"&&L==="")return Z+=`
|
|
3
3
|
`,1;if(xn>1e5&&xn>x.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Z+=L,L.length}const _e=Te(r);if(!_e)throw we(Q.replace("{}",r)),new Error('Unknown language: "'+r+'"');const vs=ds(_e);let yn="",O=W||vs;const ut={},re=new m.__emitter(m);Os();let Z="",Qe=0,Ie=0,xn=0,An=!1;try{if(_e.__emitTokens)_e.__emitTokens(S,re);else{for(O.matcher.considerAll();;){xn++,An?An=!1:O.matcher.considerAll(),O.matcher.lastIndex=Ie;const p=O.matcher.exec(S);if(!p)break;const x=S.substring(Ie,p.index),L=lt(x,p);Ie=p.index+L}lt(S.substring(Ie))}return re.finalize(),yn=re.toHTML(),{language:r,value:yn,relevance:Qe,illegal:!1,_emitter:re,_top:O}}catch(p){if(p.message&&p.message.includes("Illegal"))return{language:r,value:En(S),illegal:!0,relevance:0,_illegalBy:{message:p.message,index:Ie,context:S.slice(Ie-100,Ie+100),mode:p.mode,resultSoFar:yn},_emitter:re};if(J)return{language:r,value:En(S),illegal:!1,relevance:0,errorRaised:p,_emitter:re,_top:O};throw p}}function hn(r){const S={value:En(r),illegal:!1,relevance:0,_top:N,_emitter:new m.__emitter(m)};return S._emitter.addText(r),S}function _n(r,S){S=S||m.languages||Object.keys(o);const D=hn(r),W=S.filter(Te).filter(it).map(pe=>Ke(pe,r,!1));W.unshift(D);const te=W.sort((pe,he)=>{if(pe.relevance!==he.relevance)return he.relevance-pe.relevance;if(pe.language&&he.language){if(Te(pe.language).supersetOf===he.language)return 1;if(Te(he.language).supersetOf===pe.language)return-1}return 0}),[me,Re]=te,Ve=me;return Ve.secondBest=Re,Ve}function ms(r,S,D){const W=S&&d[S]||D;r.classList.add("hljs"),r.classList.add(`language-${W}`)}function Nn(r){let S=null;const D=se(r);if(R(D))return;if(Xe("before:highlightElement",{el:r,language:D}),r.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",r);return}if(r.children.length>0&&(m.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(r)),m.throwUnescapedHTML))throw new bs("One of your code blocks includes unescaped HTML.",r.innerHTML);S=r;const W=S.textContent,te=D?ee(W,{language:D,ignoreIllegals:!0}):_n(W);r.innerHTML=te.value,r.dataset.highlighted="yes",ms(r,D,te.language),r.result={language:te.language,re:te.relevance,relevance:te.relevance},te.secondBest&&(r.secondBest={language:te.secondBest.language,relevance:te.secondBest.relevance}),Xe("after:highlightElement",{el:r,result:te,text:W})}function Es(r){m=et(m,r)}const hs=()=>{qe(),ke("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function _s(){qe(),ke("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let st=!1;function qe(){function r(){qe()}if(document.readyState==="loading"){st||window.addEventListener("DOMContentLoaded",r,!1),st=!0;return}document.querySelectorAll(m.cssSelector).forEach(Nn)}function Ns(r,S){let D=null;try{D=S(n)}catch(W){if(we("Language definition for '{}' could not be registered.".replace("{}",r)),J)we(W);else throw W;D=N}D.name||(D.name=r),o[r]=D,D.rawDefinition=S.bind(null,n),D.aliases&&at(D.aliases,{languageName:r})}function ys(r){delete o[r];for(const S of Object.keys(d))d[S]===r&&delete d[S]}function xs(){return Object.keys(o)}function Te(r){return r=(r||"").toLowerCase(),o[r]||o[d[r]]}function at(r,{languageName:S}){typeof r=="string"&&(r=[r]),r.forEach(D=>{d[D.toLowerCase()]=S})}function it(r){const S=Te(r);return S&&!S.disableAutodetect}function As(r){r["before:highlightBlock"]&&!r["before:highlightElement"]&&(r["before:highlightElement"]=S=>{r["before:highlightBlock"](Object.assign({block:S.el},S))}),r["after:highlightBlock"]&&!r["after:highlightElement"]&&(r["after:highlightElement"]=S=>{r["after:highlightBlock"](Object.assign({block:S.el},S))})}function Ss(r){As(r),w.push(r)}function Ts(r){const S=w.indexOf(r);S!==-1&&w.splice(S,1)}function Xe(r,S){const D=r;w.forEach(function(W){W[D]&&W[D](S)})}function Rs(r){return ke("10.7.0","highlightBlock will be removed entirely in v12.0"),ke("10.7.0","Please use highlightElement now."),Nn(r)}Object.assign(n,{highlight:ee,highlightAuto:_n,highlightAll:qe,highlightElement:Nn,highlightBlock:Rs,configure:Es,initHighlighting:hs,initHighlightingOnLoad:_s,registerLanguage:Ns,unregisterLanguage:ys,listLanguages:xs,getLanguage:Te,registerAliases:at,autoDetection:it,inherit:et,addPlugin:Ss,removePlugin:Ts}),n.debugMode=function(){J=!1},n.safeMode=function(){J=!0},n.versionString=ps,n.regex={concat:A,lookahead:c,either:C,optional:v,anyNumberOfTimes:f};for(const r in Me)typeof Me[r]=="object"&&e(Me[r]);return Object.assign(n,Me),n},De=tt({});return De.newInstance=()=>tt({}),Tn=De,De.HighlightJS=De,De.default=De,Tn}var Ca=Ra();const z=Ps(Ca),ft="[A-Za-z$_][0-9A-Za-z$_]*",wa=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Ia=["true","false","null","undefined","NaN","Infinity"],Ot=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],vt=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Mt=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Oa=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],va=[].concat(Mt,Ot,vt);function Gn(e){const s=e.regex,a=(U,{after:ie})=>{const ue="</"+U[0].slice(1);return U.input.indexOf(ue,ie)!==-1},i=ft,g={begin:"<>",end:"</>"},E=/<[A-Za-z0-9\\._:-]+\s*\/>/,_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(U,ie)=>{const ue=U[0].length+U.index,ce=U.input[ue];if(ce==="<"||ce===","){ie.ignoreMatch();return}ce===">"&&(a(U,{after:ue})||ie.ignoreMatch());let oe;const Ae=U.input.substring(ue);if(oe=Ae.match(/^\s*=/)){ie.ignoreMatch();return}if((oe=Ae.match(/^\s+extends\s+/))&&oe.index===0){ie.ignoreMatch();return}}},l={$pattern:ft,keyword:wa,literal:Ia,built_in:va,"variable.language":Oa},h="[0-9](_?[0-9])*",u=`\\.(${h})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",T={className:"number",variants:[{begin:`(\\b(${y})((${u})|\\.)?|(${u}))[eE][+-]?(${h})\\b`},{begin:`\\b(${y})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:l,contains:[]},f={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},v={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},A={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},b={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},B={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},M=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,v,A,b,{match:/\$\d+/},T];c.contains=M.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(M)});const P=[].concat(B,c.contains),k=P.concat([{begin:/(\s*)\(/,end:/\)/,keywords:l,contains:["self"].concat(P)}]),X={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:k},ge={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,s.concat(i,"(",s.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},ae={relevance:0,match:s.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Ot,...vt]}},ne={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},be={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[X],illegal:/%/},Ee={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function fe(U){return s.concat("(?!",U.join("|"),")")}const I={match:s.concat(/\b/,fe([...Mt,"super","import"].map(U=>`${U}\\s*\\(`)),i,s.lookahead(/\s*\(/)),className:"title.function",relevance:0},G={begin:s.concat(/\./,s.lookahead(s.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},V={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},X]},q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",xe={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,s.lookahead(q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[X]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:ae},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),ne,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,v,A,b,B,{match:/\$\d+/},T,ae,{scope:"attr",match:i+s.lookahead(":"),relevance:0},xe,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,e.REGEXP_MODE,{className:"function",begin:q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:k}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:E},{begin:_.begin,"on:begin":_.isTrulyOpeningTag,end:_.end}],subLanguage:"xml",contains:[{begin:_.begin,end:_.end,skip:!0,contains:["self"]}]}]},be,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[X,e.inherit(e.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},G,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[X]},I,Ee,ge,V,{match:/\$[(.]/}]}}const rn="[A-Za-z$_][0-9A-Za-z$_]*",Lt=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],kt=["true","false","null","undefined","NaN","Infinity"],Dt=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Bt=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],$t=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Pt=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Ut=[].concat($t,Dt,Bt);function Ma(e){const s=e.regex,a=(U,{after:ie})=>{const ue="</"+U[0].slice(1);return U.input.indexOf(ue,ie)!==-1},i=rn,g={begin:"<>",end:"</>"},E=/<[A-Za-z0-9\\._:-]+\s*\/>/,_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(U,ie)=>{const ue=U[0].length+U.index,ce=U.input[ue];if(ce==="<"||ce===","){ie.ignoreMatch();return}ce===">"&&(a(U,{after:ue})||ie.ignoreMatch());let oe;const Ae=U.input.substring(ue);if(oe=Ae.match(/^\s*=/)){ie.ignoreMatch();return}if((oe=Ae.match(/^\s+extends\s+/))&&oe.index===0){ie.ignoreMatch();return}}},l={$pattern:rn,keyword:Lt,literal:kt,built_in:Ut,"variable.language":Pt},h="[0-9](_?[0-9])*",u=`\\.(${h})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",T={className:"number",variants:[{begin:`(\\b(${y})((${u})|\\.)?|(${u}))[eE][+-]?(${h})\\b`},{begin:`\\b(${y})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:l,contains:[]},f={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},v={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},A={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},b={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},B={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},M=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,v,A,b,{match:/\$\d+/},T];c.contains=M.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(M)});const P=[].concat(B,c.contains),k=P.concat([{begin:/(\s*)\(/,end:/\)/,keywords:l,contains:["self"].concat(P)}]),X={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:k},ge={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,s.concat(i,"(",s.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},ae={relevance:0,match:s.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Dt,...Bt]}},ne={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},be={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[X],illegal:/%/},Ee={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function fe(U){return s.concat("(?!",U.join("|"),")")}const I={match:s.concat(/\b/,fe([...$t,"super","import"].map(U=>`${U}\\s*\\(`)),i,s.lookahead(/\s*\(/)),className:"title.function",relevance:0},G={begin:s.concat(/\./,s.lookahead(s.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},V={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},X]},q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",xe={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,s.lookahead(q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[X]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:ae},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),ne,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,v,A,b,B,{match:/\$\d+/},T,ae,{scope:"attr",match:i+s.lookahead(":"),relevance:0},xe,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,e.REGEXP_MODE,{className:"function",begin:q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:k}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:E},{begin:_.begin,"on:begin":_.isTrulyOpeningTag,end:_.end}],subLanguage:"xml",contains:[{begin:_.begin,end:_.end,skip:!0,contains:["self"]}]}]},be,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[X,e.inherit(e.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},G,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[X]},I,Ee,ge,V,{match:/\$[(.]/}]}}function Wn(e){const s=e.regex,a=Ma(e),i=rn,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],E={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},_={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[a.exports.CLASS_REFERENCE]},l={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},h=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],u={$pattern:rn,keyword:Lt.concat(h),literal:kt,built_in:Ut.concat(g),"variable.language":Pt},y={className:"meta",begin:"@"+i},T=(A,b,C)=>{const B=A.contains.findIndex(M=>M.label===b);if(B===-1)throw new Error("can not find mode to replace");A.contains.splice(B,1,C)};Object.assign(a.keywords,u),a.exports.PARAMS_CONTAINS.push(y);const c=a.contains.find(A=>A.scope==="attr"),f=Object.assign({},c,{match:s.concat(i,s.lookahead(/\s*\?:/))});a.exports.PARAMS_CONTAINS.push([a.exports.CLASS_REFERENCE,c,f]),a.contains=a.contains.concat([y,E,_,f]),T(a,"shebang",e.SHEBANG()),T(a,"use_strict",l);const v=a.contains.find(A=>A.label==="func.def");return v.relevance=0,Object.assign(a,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),a}function La(e){const s={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],g={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:i},contains:[s,a,e.QUOTE_STRING_MODE,g,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function ka(e){const s=e.regex,a="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",_={$pattern:a,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},l={className:"subst",begin:/#\{/,end:/\}/,keywords:_},h={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},y={match:/\\[\s\S]/,scope:"char.escape",relevance:0},T=`[/|([{<"']`,c=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],f=k=>({scope:"char.escape",begin:s.concat(/\\/,k),relevance:0}),v={className:"string",begin:"~[a-z](?="+T+")",contains:c.map(k=>e.inherit(k,{contains:[f(k.end),y,l]}))},A={className:"string",begin:"~[A-Z](?="+T+")",contains:c.map(k=>e.inherit(k,{contains:[f(k.end)]}))},b={className:"regex",variants:[{begin:"~r(?="+T+")",contains:c.map(k=>e.inherit(k,{end:s.concat(k.end,/[uismxfU]{0,7}/),contains:[f(k.end),y,l]}))},{begin:"~R(?="+T+")",contains:c.map(k=>e.inherit(k,{end:s.concat(k.end,/[uismxfU]{0,7}/),contains:[f(k.end)]}))}]},C={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},B={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},M=e.inherit(B,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),P=[C,b,A,v,e.HASH_COMMENT_MODE,M,B,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[C,{begin:i}],relevance:0},{className:"symbol",begin:a+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},h,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return l.contains=P,{name:"Elixir",aliases:["ex","exs"],keywords:_,contains:P}}var $e="[0-9](_*[0-9])*",en=`\\.(${$e})`,nn="[0-9a-fA-F](_*[0-9a-fA-F])*",mt={className:"number",variants:[{begin:`(\\b(${$e})((${en})|\\.)?|(${en}))[eE][+-]?(${$e})[fFdD]?\\b`},{begin:`\\b(${$e})((${en})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${en})[fFdD]?\\b`},{begin:`\\b(${$e})[fFdD]\\b`},{begin:`\\b0[xX]((${nn})\\.?|(${nn})?\\.(${nn}))[pP][+-]?(${$e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${nn})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Ft(e,s,a){return a===-1?"":e.replace(s,i=>Ft(e,s,a-1))}function Da(e){const s=e.regex,a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",i=a+Ft("(?:<"+a+"~~~(?:\\s*,\\s*"+a+"~~~)*>)?",/~~~/g,2),h={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},u={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},y={className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:h,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[s.concat(/(?!else)/,a),/\s+/,a,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,a],className:{1:"keyword",3:"title.class"},contains:[y,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+i+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:h,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,mt,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},mt,u]}}function jt(e){return e?typeof e=="string"?e:e.source:null}function He(e){return H("(?=",e,")")}function H(...e){return e.map(a=>jt(a)).join("")}function Ba(e){const s=e[e.length-1];return typeof s=="object"&&s.constructor===Object?(e.splice(e.length-1,1),s):{}}function de(...e){return"("+(Ba(e).capture?"":"?:")+e.map(i=>jt(i)).join("|")+")"}const Zn=e=>H(/\b/,e,/\w$/.test(e)?/\b/:/\B/),$a=["Protocol","Type"].map(Zn),Et=["init","self"].map(Zn),Pa=["Any","Self"],Rn=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ht=["false","nil","true"],Ua=["assignment","associativity","higherThan","left","lowerThan","none","right"],Fa=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],_t=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Kt=de(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Ht=de(Kt,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Cn=H(Kt,Ht,"*"),zt=de(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),cn=de(zt,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Ne=H(zt,cn,"*"),tn=H(/[A-Z]/,cn,"*"),ja=["attached","autoclosure",H(/convention\(/,de("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",H(/objc\(/,Ne,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],Ka=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function Ha(e){const s={match:/\s+/,relevance:0},a=e.COMMENT("/\\*","\\*/",{contains:["self"]}),i=[e.C_LINE_COMMENT_MODE,a],g={match:[/\./,de(...$a,...Et)],className:{2:"keyword"}},E={match:H(/\./,de(...Rn)),relevance:0},_=Rn.filter(K=>typeof K=="string").concat(["_|0"]),l=Rn.filter(K=>typeof K!="string").concat(Pa).map(Zn),h={variants:[{className:"keyword",match:de(...l,...Et)}]},u={$pattern:de(/\b\w+/,/#\w+/),keyword:_.concat(Fa),literal:ht},y=[g,E,h],T={match:H(/\./,de(..._t)),relevance:0},c={className:"built_in",match:H(/\b/,de(..._t),/(?=\()/)},f=[T,c],v={match:/->/,relevance:0},A={className:"operator",relevance:0,variants:[{match:Cn},{match:`\\.(\\.|${Ht})+`}]},b=[v,A],C="([0-9]_*)+",B="([0-9a-fA-F]_*)+",M={className:"number",relevance:0,variants:[{match:`\\b(${C})(\\.(${C}))?([eE][+-]?(${C}))?\\b`},{match:`\\b0x(${B})(\\.(${B}))?([pP][+-]?(${C}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},P=(K="")=>({className:"subst",variants:[{match:H(/\\/,K,/[0\\tnr"']/)},{match:H(/\\/,K,/u\{[0-9a-fA-F]{1,8}\}/)}]}),k=(K="")=>({className:"subst",match:H(/\\/,K,/[\t ]*(?:[\r\n]|\r\n)/)}),X=(K="")=>({className:"subst",label:"interpol",begin:H(/\\/,K,/\(/),end:/\)/}),ge=(K="")=>({begin:H(K,/"""/),end:H(/"""/,K),contains:[P(K),k(K),X(K)]}),ae=(K="")=>({begin:H(K,/"/),end:H(/"/,K),contains:[P(K),X(K)]}),ne={className:"string",variants:[ge(),ge("#"),ge("##"),ge("###"),ae(),ae("#"),ae("##"),ae("###")]},be=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],Ee={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:be},fe=K=>{const Le=H(K,/\//),Ce=H(/\//,K);return{begin:Le,end:Ce,contains:[...be,{scope:"comment",begin:`#(?!.*${Ce})`,end:/$/}]}},I={scope:"regexp",variants:[fe("###"),fe("##"),fe("#"),Ee]},G={match:H(/`/,Ne,/`/)},V={className:"variable",match:/\$\d+/},q={className:"variable",match:`\\$${cn}+`},xe=[G,V,q],U={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Ka,contains:[...b,M,ne]}]}},ie={scope:"keyword",match:H(/@/,de(...ja),He(de(/\(/,/\s+/)))},ue={scope:"meta",match:H(/@/,Ne)},ce=[U,ie,ue],oe={match:He(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:H(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,cn,"+")},{className:"type",match:tn,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:H(/\s+&\s+/,He(tn)),relevance:0}]},Ae={begin:/</,end:/>/,keywords:u,contains:[...i,...y,...ce,v,oe]};oe.contains.push(Ae);const ln={match:H(Ne,/\s*:/),keywords:"_|0",relevance:0},We={begin:/\(/,end:/\)/,relevance:0,keywords:u,contains:["self",ln,...i,I,...y,...f,...b,M,ne,...xe,...ce,oe]},je={begin:/</,end:/>/,keywords:"repeat each",contains:[...i,oe]},un={begin:de(He(H(Ne,/\s*:/)),He(H(Ne,/\s+/,Ne,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Ne}]},Ze={begin:/\(/,end:/\)/,keywords:u,contains:[un,...i,...y,...b,M,ne,...ce,oe,We],endsParent:!0,illegal:/["']/},Yn={match:[/(func|macro)/,/\s+/,de(G.match,Ne,Cn)],className:{1:"keyword",3:"title.function"},contains:[je,Ze,s],illegal:[/\[/,/%/]},Me={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[je,Ze,s],illegal:/\[|%/},dn={match:[/operator/,/\s+/,Cn],className:{1:"keyword",3:"title"}},gn={begin:[/precedencegroup/,/\s+/,tn],className:{1:"keyword",3:"title"},contains:[oe],keywords:[...Ua,...ht],end:/}/},pn={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},bn={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},fn={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Ne,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:u,contains:[je,...y,{begin:/:/,end:/\{/,keywords:u,contains:[{scope:"title.class.inherited",match:tn},...y],relevance:0}]};for(const K of ne.variants){const Le=K.contains.find(mn=>mn.label==="interpol");Le.keywords=u;const Ce=[...y,...f,...b,M,ne,...xe];Le.contains=[...Ce,{begin:/\(/,end:/\)/,contains:["self",...Ce]}]}return{name:"Swift",keywords:u,contains:[...i,Yn,Me,pn,bn,fn,dn,gn,{beginKeywords:"import",end:/$/,contains:[...i],relevance:0},I,...y,...f,...b,M,ne,...xe,...ce,oe,We]}}function Gt(e){const s={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},a=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:a,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},h={$pattern:a,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"</",contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+h.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:h,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}var Pe="[0-9](_*[0-9])*",sn=`\\.(${Pe})`,an="[0-9a-fA-F](_*[0-9a-fA-F])*",za={className:"number",variants:[{begin:`(\\b(${Pe})((${sn})|\\.)?|(${sn}))[eE][+-]?(${Pe})[fFdD]?\\b`},{begin:`\\b(${Pe})((${sn})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${sn})[fFdD]?\\b`},{begin:`\\b(${Pe})[fFdD]\\b`},{begin:`\\b0[xX]((${an})\\.?|(${an})?\\.(${an}))[pP][+-]?(${Pe})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${an})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Wt(e){const s={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},i={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},g={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},E={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},_={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[E,g]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,E,g]}]};g.contains.push(_);const l={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},h={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(_,{className:"string"}),"self"]}]},u=za,y=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),T={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},c=T;return c.variants[1].contains=[T],T.variants[1].contains=[c],{name:"Kotlin",aliases:["kt","kts"],keywords:s,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,y,a,i,l,h,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:s,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[T,e.C_LINE_COMMENT_MODE,y],relevance:0},e.C_LINE_COMMENT_MODE,y,l,h,_,e.C_NUMBER_MODE]},y]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},l,h]},_,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
4
4
|
`},u]}}function Zt(e){const s=["package","import","option","optional","required","repeated","group","oneof"],a=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],i={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:s,type:a,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}function Yt(e){const s=e.regex,a=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},h={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},y={begin:/\{\{/,relevance:0},T={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,h],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,h],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,h,y,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,h,y,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,y,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,y,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",f=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,v=`\\b|${i.join("|")}`,A={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${f}))[eE][+-]?(${c})[jJ]?(?=${v})`},{begin:`(${f})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${v})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${v})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${v})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${v})`},{begin:`\\b(${c})[jJ](?=${v})`}]},b={className:"comment",begin:s.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},C={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",h,A,T,e.HASH_COMMENT_MODE]}]};return u.contains=[T,A,h],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[h,A,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},T,b,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[C]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[A,C,T]}]}}function qt(e){const s="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},g={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},E={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},_={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,g]},l=e.inherit(_,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},f={end:",",endsWithParent:!0,excludeEnd:!0,keywords:s,relevance:0},v={begin:/\{/,end:/\}/,contains:[f],illegal:"\\n",relevance:0},A={begin:"\\[",end:"\\]",contains:[f],illegal:"\\n",relevance:0},b=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:s,keywords:{literal:s}},c,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},v,A,E,_],C=[...b];return C.pop(),C.push(l),f.contains=C,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:b}}function Xt(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function Vt(e){const s=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:s.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:s.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function Jt(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function Ga(e){const s=e.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},g={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},E={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},_={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,h={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:s.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},y={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},T=e.inherit(u,{contains:[]}),c=e.inherit(y,{contains:[]});u.contains.push(c),y.contains.push(T);let f=[a,h];return[u,y,T,c].forEach(C=>{C.contains=C.contains.concat(f)}),f=f.concat(u,y),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:f},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:f}]}]},a,E,u,y,{className:"quote",begin:"^>\\s+",contains:f,end:"$"},g,i,h,_,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}const Wa=ve("div")`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-
|
|
2
|
-
import{r as t,p as n,j as r,bI as i,d3 as a}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BJpkw0kk.js","./index-D4eQE_TP.js","./index-DGkT7afN.css","./decode-DPztD6kB.js","./index-CX3PrUL2.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as t,p as n,j as r,bI as i,d3 as a}from"./index-D4eQE_TP.js";const s=t.lazy(()=>i(()=>import("./index-BJpkw0kk.js").then(o=>o.i),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),d=`{
|
|
3
3
|
getNodeInfo {
|
|
4
4
|
code
|
|
5
5
|
info {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as k,j as o,C as N,ax as W,cX as b,A as U,V as E,cM as _,r,aW as D,h as d,y as x,ak as P,ae as R,w as O,aH as A,x as $,aw as H,bA as K,s as M}from"./index-
|
|
1
|
+
import{u as k,j as o,C as N,ax as W,cX as b,A as U,V as E,cM as _,r,aW as D,h as d,y as x,ak as P,ae as R,w as O,aH as A,x as $,aw as H,bA as K,s as M}from"./index-D4eQE_TP.js";import{I as V}from"./invitation-BlTRS5NJ.js";import"./index-DMaZpwN2.js";import"./index-Qxi4GaAT.js";import"./emotion-cache.browser.esm-Cb-LUV2D.js";import"./sdk-C_3i0CyM.js";import"./wrap-locale-mBa-2cN-.js";import"./index-BDxQWtbP.js";function X(h){const{api:i,session:p}=W(),{info:s}=k(),c=b(),v=U(),{t:l,locale:m}=E(),{encryptKey:y,decrypt:C}=_(),[I,g]=r.useState(!1),f=r.useMemo(()=>new URLSearchParams(c.search).get("inviteId"),[c]),a=D(async()=>{if(!f)return null;let e;const{data:n}=await i.get("/api/invitation",{params:{inviteId:f}}),t=!!d(s,"ownerNft.did")&&n.role.name==="owner";if(t){const u=new URL(window.location.href);u.pathname=x(P(),"/api/did/invite/token"),u.searchParams.set("_ek_",y),u.searchParams.set("inviteId",f);const{data:F}=await i.get(u.href);e=F}return{invitation:n,nextWorkflow:e,needReceiveNFT:t}}),L=r.useCallback(()=>{g(!0)},[]),S=r.useCallback(()=>{if(a.error)throw a.error;return a.value.invitation},[a]),w=r.useCallback(async e=>{e&&(Object.prototype.hasOwnProperty.call(e,"encrypted")&&!e.encrypted?R(e.sessionToken):R(C(e.sessionToken)));const n=new URLSearchParams(c.search);n.delete("inviteId");const t=n.toString();await p.refresh(),v(`/${t&&`?${t}`}`,{replace:!0})},[c,v,p]);if(a.loading)return o.jsx(N,{});const T=()=>{const e=new URL(window.location.href);e.pathname=x(P(),"/api/did/invite/status"),e.searchParams.set("_t_",a.value.nextWorkflow.token),e.searchParams.set("locale",m);const n=setInterval(async()=>{const{data:t}=await i.get(e.href);t.status==="succeed"&&(clearInterval(n),p.updateConnectedInfo(t),w(t))},2e3)},j=()=>{g(!1)};return o.jsxs(z,{className:"page-invite",children:[d(a,"value.needReceiveNFT")&&o.jsx(O,{action:"login",popup:!0,className:"connect",open:I,locale:m,baseUrl:s.launcher.url,checkFn:H.create({baseURL:s.launcher.url}).get,onSuccess:T,onClose:j,checkTimeout:5*60*1e3,webWalletUrl:$(s),extraParams:{nw:d(a,"value.nextWorkflow.url")},messages:{title:l("invite.transferNFTDialog.title",{name:s.name}),scan:l("invite.transferNFTDialog.scan"),confirm:l("invite.transferNFTDialog.confirm"),success:l("invite.transferNFTDialog.success")},prefix:`${A.WELLKNOWN_SERVICE_PATH_PREFIX}/api/did`}),o.jsx(V,{...h,getDataFn:S,createPassportSvg:e=>K(e,s),checkFn:i.get,onLoginSuccess:w,passportColor:"default",onReceive:d(a,"value.needReceiveNFT")?L:null})]})}const z=M.div`
|
|
2
2
|
width: 100vw;
|
|
3
3
|
height: 100%;
|
|
4
4
|
min-height: 100vh;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aF as de,j as e,hh as Es,hi as Is,bP as Ds,r as q,s as xe,K as $,f5 as kt,t as U,eO as ft,a3 as ae,C as Ee,bi as Bt,dL as Ls,o as T,hj as qs,b2 as Ht,cA as Ms,cT as zs,dp as Bs,T as Y,dG as it,bn as ne,bD as mt,p as ue,hk as Hs,bE as pt,b as W,bg as G,dI as ee,H as Z,aV as ie,V as oe,n as Nt,q as Ns,w as Ft,ac as Fs,i as Zt,gd as Zs,hl as Vs,at as Us,aU as X,R as Te,$ as ke,D as Ws,U as Js,v as re,X as at,hm as Ks,hn as Gs,eA as Ys,eC as Xs,F as je,aH as J,g2 as Qs,c$ as St,W as er,fn as Vt,ay as te,aR as Ct,ho as tr,f9 as Re,cv as E,bC as ge,aD as se,O as Q,aP as ye,hp as qe,a1 as sr,hq as Je,c6 as Ce,eD as rr,hr as nr,dH as ce,f as Oe,y as Ut,bz as ot,M as ir,cH as Wt,bs as ar,gj as Ze,hs as or,b9 as lr,L as cr,cu as ze,aK as He,ht as dr,Q as ur,bp as hr,af as Rt,a2 as Jt,bj as Ne,hu as Kt,b6 as fr,gD as we,fa as Gt,cZ as Yt,B as mr,b5 as Ot,fc as pr,fh as gr,G as Ke,J as yr,bx as xr}from"./index-UKgFVupi.js";import{F as vr,a as lt,s as br,L as _e,S as jr,B as _r}from"./preference-gJ6ZF2Q4.js";import{N as $t}from"./ChevronRight-rhEdYh7r.js";import{T as Fe}from"./html-title-BPny9upB.js";import{w as Ie,P as wr}from"./permission-rweAJL4g.js";import{u as gt}from"./index-CnRp8oF4.js";import{D as kr}from"./Done-8bsZuZu5.js";import{R as Sr,S as M}from"./collapse-CXW4uktq.js";import{A as Cr,a as At}from"./Autocomplete-C7pwOgja.js";import{C as Rr,R as Or,S as $r,P as Ar}from"./rotate-session-key-C8ucpOl_.js";import{u as le}from"./blocklet-B_gm4lmi.js";import{C as Xt}from"./click-to-copy-C9rtZDLS.js";import{u as Ve}from"./team-BpXTeXX3.js";import{v as Qt}from"./index-BMTfpek5.js";import{g as Pr}from"./chain-Cq8v0ndB.js";import{V as Tr,d as Er}from"./status-DDW9dFZ_.js";import{S as pe}from"./Switch-BV_bJmtO.js";import{B as Ir}from"./index-CDH7LNvM.js";import{y as Dr}from"./index-DaZkwaiO.js";import{I as Lr,J as qr,K as Mr,L as zr}from"./index-CvjKujEe.js";import{u as ve,C as H,b as Pt}from"./index.esm-C1D-vjtU.js";import{S as Be,u as Br}from"./switch-control-BIC-Nwu_.js";import{D as Tt,R as es,a as ts}from"./url-evaluation-DuQYeVhL.js";import{A as Et}from"./Add-bw7LExYi.js";import{H as Ue}from"./index-QV6ZlHUk.js";import{u as ss}from"./use-mobile-CMTzn3M3.js";import{S as Ge}from"./simple-select-UnH3V90L.js";import{G as Hr}from"./actions-B8C-PCI5.js";import{C as Nr}from"./CardContent-Bp9dBuHI.js";import"./omit-Dmt7cKLM.js";import"./index-COSOS45R.js";import"./edit.svg-MioFY6RL.js";import"./ArrowDropDown-DFxrtTfG.js";import"./ButtonGroup-CvkZLM_A.js";import"./getValidReactChildren-BMWRE_Nn.js";import"./index-Fv7F4t_Q.js";import"./iframe-1S7jkX6i.js";import"./ListSubheader-U4UKs_5o.js";import"./visuallyHidden-Dan1xhjv.js";import"./ErrorOutline-BVlSjT51.js";import"./redux-DfszZyTl.js";import"./typeof-QjJsDpFa.js";import"./FilterList-BVOOp-qX.js";import"./CSSTransition-CUGJUBZa.js";import"./emotion-cache.browser.esm-F-H2n_Vz.js";import"./depsEqual-DnLesJI5.js";import"./TableSearch-Dw0n59eL.js";import"./Search-DV0DmDJh.js";import"./Clear-TsHHhjv8.js";import"./MoreVert-LlVBp8Yl.js";import"./useLocalStorage-1RvhLwwW.js";import"./get-safe-url-BdtvVcQw.js";const rs=de([e.jsx("path",{d:"M21 7.28V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-2.28c.59-.35 1-.98 1-1.72V9c0-.74-.41-1.37-1-1.72M20 9v6h-7V9zM5 19V5h14v2h-6c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h6v2z"},"0"),e.jsx("circle",{cx:"16",cy:"12",r:"1.5"},"1")]),Fr=de([e.jsx("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"},"0"),e.jsx("path",{d:"M14 17H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"},"1")]),Zr=de(e.jsx("path",{d:"M21 8V7l-3 2-3-2v1l3 2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2M8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1zm8-6h-8V6h8z"})),Vr=de(e.jsx("path",{d:"M24 9v2h-6V9zM8 4C5.79 4 4 5.79 4 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4m4.51-8.95C13.43 5.11 14 6.49 14 8s-.57 2.89-1.49 3.95C14.47 11.7 16 10.04 16 8s-1.53-3.7-3.49-3.95m4.02 9.78C17.42 14.66 18 15.7 18 17v3h2v-3c0-1.45-1.59-2.51-3.47-3.17"})),Ur=de(e.jsx("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"})),Wr=de(e.jsx("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"})),ct=de(e.jsx("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"})),Jr=de([e.jsx("path",{d:"M18 11c.7 0 1.37.1 2 .29V10c0-1.1-.9-2-2-2h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6.26c-.79-1.13-1.26-2.51-1.26-4 0-3.87 3.13-7 7-7M8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9z"},"0"),e.jsx("path",{d:"M18 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m0 2c.83 0 1.5.67 1.5 1.5S18.83 18 18 18s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5m0 6c-1.03 0-1.94-.52-2.48-1.32.73-.42 1.57-.68 2.48-.68s1.75.26 2.48.68c-.54.8-1.45 1.32-2.48 1.32"},"1")]),Kr=de(e.jsx("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"})),Gr=de(e.jsx("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"})),ns=de(e.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23z"})),Yr=de(e.jsx("path",{d:"M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"})),Xr=de(e.jsx("path",{d:"M16 13c3.09-2.81 6-5.44 6-7.7C22 3.45 20.55 2 18.7 2c-1.04 0-2.05.49-2.7 1.25C15.34 2.49 14.34 2 13.3 2 11.45 2 10 3.45 10 5.3c0 2.26 2.91 4.89 6 7.7m-2.7-9c.44 0 .89.21 1.18.55L16 6.34l1.52-1.79c.29-.34.74-.55 1.18-.55.74 0 1.3.56 1.3 1.3 0 1.12-2.04 3.17-4 4.99-1.96-1.82-4-3.88-4-4.99 0-.74.56-1.3 1.3-1.3M19 16h-2c0-1.2-.75-2.28-1.87-2.7L8.97 11H1v11h6v-1.44l7 1.94 8-2.5v-1c0-1.66-1.34-3-3-3M3 20v-7h2v7zm10.97.41L7 18.48V13h1.61l5.82 2.17c.34.13.57.46.57.83 0 0-1.99-.05-2.3-.15l-2.38-.79-.63 1.9 2.38.79c.51.17 1.04.26 1.58.26H19c.39 0 .74.23.9.56z"}));var Qr=Array.prototype,It=Qr.splice;function en(v,R,O,C){var _=Is,j=-1,p=R.length,i=v;for(v===R&&(R=Es(R));++j<p;)for(var m=0,f=R[j],h=f;(m=_(i,h,m))>-1;)i!==v&&It.call(i,m,1),It.call(v,m,1);return v}function tn(v,R){return v&&v.length&&R&&R.length?en(v,R):v}var sn=Ds(tn);const rn={width:24,height:24,body:'<path fill="currentColor" d="M4.975 15q-.425 0-.7-.288T4 14q0-.425.288-.713T5 13h14.025q.425 0 .7.288T20 14q0 .425-.288.713T19 15H4.975Zm0 4q-.425 0-.7-.288T4 18q0-.425.288-.713T5 17h14.025q.425 0 .7.288T20 18q0 .425-.288.713T19 19H4.975Zm0-8q-.425 0-.7-.288T4 10q0-.425.288-.713T5 9h14.025q.425 0 .7.288T20 10q0 .425-.288.713T19 11H4.975Zm0-4q-.425 0-.7-.288T4 6q0-.425.288-.713T5 5h14.025q.425 0 .7.288T20 6q0 .425-.288.713T19 7H4.975Z"/>'};function is({label:v="",disabled:R=!1,required:O=!1,initialValue:C="",onChange:_=()=>{},style:j={},onSubmit:p=()=>{},triggers:i=[],options:m=[],formatterBeforeSubmit:f=n=>n.join(","),helperText:h="",placeholder:t="",renderImage:l=()=>null,renderLabel:o=()=>"",filterKeys:r=["name"],noEmpty:s=!1,...c}){const[n,a]=q.useState(!1),[u,g]=q.useState(!1),[y,k]=q.useState(""),w=q.useRef(null),[d,x]=q.useState(C),[b,S]=q.useState(d),A=q.useMemo(()=>{if(!m)return{};const B={};return m.forEach(I=>{B[I.code]=I}),B},[m]),P=()=>{if(!m)return[];if(!y)return m.map(I=>I.code);const B=new RegExp(y.toLowerCase());return m.filter(I=>{for(let z=0;z<r.length;z++){const F=r[z];if(B.test(I[F]?.toLowerCase()))return!0}return!1}).map(I=>I.code)},L=async()=>{g(!0);try{await p(typeof f=="function"?f(b):b)===!1?S(d):s&&!b.length?(S(C),x(C)):(S(b),x(b))}catch{S(d)}finally{g(!1),a(!1)}},D=(B,I)=>{if(!Array.isArray(I)){S([]),_([]);return}const z=I.filter(F=>A[F]);if(!z.length){S([]),_([]);return}S(z),_(z)},N=B=>{B.stopPropagation(),a(!0),setTimeout(()=>{if(w.current){const I=w.current.querySelector("input");I&&I.focus()}},500)},V=n?e.jsx(Cr,{ref:w,options:m,value:b,onChange:D,inputValue:y,onInputChange:(B,I)=>{k(I)},fullWidth:!0,multiple:!0,variant:"outlined",margin:"dense",filterOptions:P,getOptionLabel:B=>A[B]?.name,renderInput:B=>e.jsx(U,{...B,label:"",placeholder:t}),renderOption:(B,I)=>{const z=b.indexOf(I)!==-1;return q.createElement(nn,{component:"li",...B,key:I},l(A[I]||{}),e.jsx($,{sx:{"& > img":{mr:2,flexShrink:0}},style:{flex:1,fontWeight:z?"700":"normal"},children:o(I,A[I])||A[I]?.name}),e.jsx($,{component:kt,sx:{opacity:.5,width:18,height:18},style:{visibility:z?"visible":"hidden"}}))},...c,slots:{popper:an}}):e.jsx($,{className:"form-item-input slot",onClick:N,style:{whiteSpace:"pre-wrap",cursor:"text"},sx:{px:1},children:b.filter(B=>m.some(I=>I.code===B)).map(B=>e.jsx(ft,{label:m.find(I=>I.code===B).name,style:{marginRight:8},size:"small"},B))});return e.jsx(vr,{className:"form",style:j,children:e.jsxs($,{className:"form-item",children:[e.jsxs($,{className:"form-item-label",children:[v,O&&e.jsx(Sr,{})]}),e.jsxs($,{className:"form-item-body",children:[e.jsx($,{className:"form-item-input",children:V}),n?e.jsx($,{className:"form-item-action",children:e.jsxs(e.Fragment,{children:[e.jsx(ae,{"data-cy":"schema-form-item-confirm",onClick:L,disabled:R||u,size:"large",children:u?e.jsx(Ee,{size:24}):e.jsx(kr,{})}),e.jsx(ae,{"data-cy":"schema-form-item-cancel",onClick:()=>{S(d),a(!1)},disabled:R||u,size:"large",children:e.jsx(kt,{})})]})}):null]}),n&&h&&e.jsx(Bt,{children:h})]})})}is.propTypes={style:T.object,onSubmit:T.func,onChange:T.func,label:T.string,initialValue:T.string,required:T.bool,disabled:T.bool,triggers:T.array,options:T.array,helperText:T.string,formatterBeforeSubmit:T.func,placeholder:T.string,renderImage:T.func,filterKeys:T.arrayOf(T.string),noEmpty:T.bool,renderLabel:T.func};const nn=xe.div`
|
|
1
|
+
import{aF as de,j as e,hh as Es,hi as Is,bP as Ds,r as q,s as xe,K as $,f5 as kt,t as U,eO as ft,a3 as ae,C as Ee,bi as Bt,dL as Ls,o as T,hj as qs,b2 as Ht,cA as Ms,cT as zs,dp as Bs,T as Y,dG as it,bn as ne,bD as mt,p as ue,hk as Hs,bE as pt,b as W,bg as G,dI as ee,H as Z,aV as ie,V as oe,n as Nt,q as Ns,w as Ft,ac as Fs,i as Zt,gd as Zs,hl as Vs,at as Us,aU as X,R as Te,$ as ke,D as Ws,U as Js,v as re,X as at,hm as Ks,hn as Gs,eA as Ys,eC as Xs,F as je,aH as J,g2 as Qs,c$ as St,W as er,fn as Vt,ay as te,aR as Ct,ho as tr,f9 as Re,cv as E,bC as ge,aD as se,O as Q,aP as ye,hp as qe,a1 as sr,hq as Je,c6 as Ce,eD as rr,hr as nr,dH as ce,f as Oe,y as Ut,bz as ot,M as ir,cH as Wt,bs as ar,gj as Ze,hs as or,b9 as lr,L as cr,cu as ze,aK as He,ht as dr,Q as ur,bp as hr,af as Rt,a2 as Jt,bj as Ne,hu as Kt,b6 as fr,gD as we,fa as Gt,cZ as Yt,B as mr,b5 as Ot,fc as pr,fh as gr,G as Ke,J as yr,bx as xr}from"./index-D4eQE_TP.js";import{F as vr,a as lt,s as br,L as _e,S as jr,B as _r}from"./preference-DRzlCnd7.js";import{N as $t}from"./ChevronRight-mJNKmafe.js";import{T as Fe}from"./html-title-CuUyumLv.js";import{w as Ie,P as wr}from"./permission-Cz1FrvyA.js";import{u as gt}from"./index-Cfe94TcH.js";import{D as kr}from"./Done-LNwStO12.js";import{R as Sr,S as M}from"./collapse-NDwnMlXJ.js";import{A as Cr,a as At}from"./Autocomplete-_Fi6RPLW.js";import{C as Rr,R as Or,S as $r,P as Ar}from"./rotate-session-key-CQn2_oC_.js";import{u as le}from"./blocklet-DUEr9aGB.js";import{C as Xt}from"./click-to-copy-DGNMr8_O.js";import{u as Ve}from"./team-BPm7GXr3.js";import{v as Qt}from"./index-65SOJ0fZ.js";import{g as Pr}from"./chain-XyhYd1VW.js";import{V as Tr,d as Er}from"./status-Dq7L2hV9.js";import{S as pe}from"./Switch-CXwsdwa6.js";import{B as Ir}from"./index-BmjI4F3z.js";import{y as Dr}from"./index-DFRPJXRn.js";import{I as Lr,J as qr,K as Mr,L as zr}from"./index-CYFoxs1Y.js";import{u as ve,C as H,b as Pt}from"./index.esm-B212pqxD.js";import{S as Be,u as Br}from"./switch-control-CCKcQUfl.js";import{D as Tt,R as es,a as ts}from"./url-evaluation-DvSlLCr5.js";import{A as Et}from"./Add-DU5X_U2u.js";import{H as Ue}from"./index-CxpPzbzU.js";import{u as ss}from"./use-mobile-6YLRE80V.js";import{S as Ge}from"./simple-select-iTytEDuc.js";import{G as Hr}from"./actions-Btu6FPrP.js";import{C as Nr}from"./CardContent-DndNB2JX.js";import"./omit-Ce6CSFtW.js";import"./index-BvvTPBRG.js";import"./edit.svg-ngwj-dRr.js";import"./ArrowDropDown-DqMXZ-fs.js";import"./ButtonGroup-CWskS5fX.js";import"./getValidReactChildren-DzxCosZj.js";import"./index-C9xtFMCg.js";import"./iframe-BV4Ixa0I.js";import"./ListSubheader-h3BvbTVV.js";import"./visuallyHidden-Dan1xhjv.js";import"./ErrorOutline-BY5CE57a.js";import"./redux-DfszZyTl.js";import"./typeof-QjJsDpFa.js";import"./FilterList-tULWsV25.js";import"./CSSTransition--8a6z16w.js";import"./emotion-cache.browser.esm-Cb-LUV2D.js";import"./depsEqual-DAfwc8aQ.js";import"./TableSearch-DJUhNasJ.js";import"./Search-CDBu3YFg.js";import"./Clear-fLYWFWL3.js";import"./MoreVert-De86Jj5O.js";import"./useLocalStorage-UJQc3CLl.js";import"./get-safe-url-BMekWjUF.js";const rs=de([e.jsx("path",{d:"M21 7.28V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-2.28c.59-.35 1-.98 1-1.72V9c0-.74-.41-1.37-1-1.72M20 9v6h-7V9zM5 19V5h14v2h-6c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h6v2z"},"0"),e.jsx("circle",{cx:"16",cy:"12",r:"1.5"},"1")]),Fr=de([e.jsx("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"},"0"),e.jsx("path",{d:"M14 17H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"},"1")]),Zr=de(e.jsx("path",{d:"M21 8V7l-3 2-3-2v1l3 2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2M8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1zm8-6h-8V6h8z"})),Vr=de(e.jsx("path",{d:"M24 9v2h-6V9zM8 4C5.79 4 4 5.79 4 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4m4.51-8.95C13.43 5.11 14 6.49 14 8s-.57 2.89-1.49 3.95C14.47 11.7 16 10.04 16 8s-1.53-3.7-3.49-3.95m4.02 9.78C17.42 14.66 18 15.7 18 17v3h2v-3c0-1.45-1.59-2.51-3.47-3.17"})),Ur=de(e.jsx("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"})),Wr=de(e.jsx("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"})),ct=de(e.jsx("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"})),Jr=de([e.jsx("path",{d:"M18 11c.7 0 1.37.1 2 .29V10c0-1.1-.9-2-2-2h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6.26c-.79-1.13-1.26-2.51-1.26-4 0-3.87 3.13-7 7-7M8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9z"},"0"),e.jsx("path",{d:"M18 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m0 2c.83 0 1.5.67 1.5 1.5S18.83 18 18 18s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5m0 6c-1.03 0-1.94-.52-2.48-1.32.73-.42 1.57-.68 2.48-.68s1.75.26 2.48.68c-.54.8-1.45 1.32-2.48 1.32"},"1")]),Kr=de(e.jsx("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"})),Gr=de(e.jsx("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"})),ns=de(e.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23z"})),Yr=de(e.jsx("path",{d:"M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"})),Xr=de(e.jsx("path",{d:"M16 13c3.09-2.81 6-5.44 6-7.7C22 3.45 20.55 2 18.7 2c-1.04 0-2.05.49-2.7 1.25C15.34 2.49 14.34 2 13.3 2 11.45 2 10 3.45 10 5.3c0 2.26 2.91 4.89 6 7.7m-2.7-9c.44 0 .89.21 1.18.55L16 6.34l1.52-1.79c.29-.34.74-.55 1.18-.55.74 0 1.3.56 1.3 1.3 0 1.12-2.04 3.17-4 4.99-1.96-1.82-4-3.88-4-4.99 0-.74.56-1.3 1.3-1.3M19 16h-2c0-1.2-.75-2.28-1.87-2.7L8.97 11H1v11h6v-1.44l7 1.94 8-2.5v-1c0-1.66-1.34-3-3-3M3 20v-7h2v7zm10.97.41L7 18.48V13h1.61l5.82 2.17c.34.13.57.46.57.83 0 0-1.99-.05-2.3-.15l-2.38-.79-.63 1.9 2.38.79c.51.17 1.04.26 1.58.26H19c.39 0 .74.23.9.56z"}));var Qr=Array.prototype,It=Qr.splice;function en(v,R,O,C){var _=Is,j=-1,p=R.length,i=v;for(v===R&&(R=Es(R));++j<p;)for(var m=0,f=R[j],h=f;(m=_(i,h,m))>-1;)i!==v&&It.call(i,m,1),It.call(v,m,1);return v}function tn(v,R){return v&&v.length&&R&&R.length?en(v,R):v}var sn=Ds(tn);const rn={width:24,height:24,body:'<path fill="currentColor" d="M4.975 15q-.425 0-.7-.288T4 14q0-.425.288-.713T5 13h14.025q.425 0 .7.288T20 14q0 .425-.288.713T19 15H4.975Zm0 4q-.425 0-.7-.288T4 18q0-.425.288-.713T5 17h14.025q.425 0 .7.288T20 18q0 .425-.288.713T19 19H4.975Zm0-8q-.425 0-.7-.288T4 10q0-.425.288-.713T5 9h14.025q.425 0 .7.288T20 10q0 .425-.288.713T19 11H4.975Zm0-4q-.425 0-.7-.288T4 6q0-.425.288-.713T5 5h14.025q.425 0 .7.288T20 6q0 .425-.288.713T19 7H4.975Z"/>'};function is({label:v="",disabled:R=!1,required:O=!1,initialValue:C="",onChange:_=()=>{},style:j={},onSubmit:p=()=>{},triggers:i=[],options:m=[],formatterBeforeSubmit:f=n=>n.join(","),helperText:h="",placeholder:t="",renderImage:l=()=>null,renderLabel:o=()=>"",filterKeys:r=["name"],noEmpty:s=!1,...c}){const[n,a]=q.useState(!1),[u,g]=q.useState(!1),[y,k]=q.useState(""),w=q.useRef(null),[d,x]=q.useState(C),[b,S]=q.useState(d),A=q.useMemo(()=>{if(!m)return{};const B={};return m.forEach(I=>{B[I.code]=I}),B},[m]),P=()=>{if(!m)return[];if(!y)return m.map(I=>I.code);const B=new RegExp(y.toLowerCase());return m.filter(I=>{for(let z=0;z<r.length;z++){const F=r[z];if(B.test(I[F]?.toLowerCase()))return!0}return!1}).map(I=>I.code)},L=async()=>{g(!0);try{await p(typeof f=="function"?f(b):b)===!1?S(d):s&&!b.length?(S(C),x(C)):(S(b),x(b))}catch{S(d)}finally{g(!1),a(!1)}},D=(B,I)=>{if(!Array.isArray(I)){S([]),_([]);return}const z=I.filter(F=>A[F]);if(!z.length){S([]),_([]);return}S(z),_(z)},N=B=>{B.stopPropagation(),a(!0),setTimeout(()=>{if(w.current){const I=w.current.querySelector("input");I&&I.focus()}},500)},V=n?e.jsx(Cr,{ref:w,options:m,value:b,onChange:D,inputValue:y,onInputChange:(B,I)=>{k(I)},fullWidth:!0,multiple:!0,variant:"outlined",margin:"dense",filterOptions:P,getOptionLabel:B=>A[B]?.name,renderInput:B=>e.jsx(U,{...B,label:"",placeholder:t}),renderOption:(B,I)=>{const z=b.indexOf(I)!==-1;return q.createElement(nn,{component:"li",...B,key:I},l(A[I]||{}),e.jsx($,{sx:{"& > img":{mr:2,flexShrink:0}},style:{flex:1,fontWeight:z?"700":"normal"},children:o(I,A[I])||A[I]?.name}),e.jsx($,{component:kt,sx:{opacity:.5,width:18,height:18},style:{visibility:z?"visible":"hidden"}}))},...c,slots:{popper:an}}):e.jsx($,{className:"form-item-input slot",onClick:N,style:{whiteSpace:"pre-wrap",cursor:"text"},sx:{px:1},children:b.filter(B=>m.some(I=>I.code===B)).map(B=>e.jsx(ft,{label:m.find(I=>I.code===B).name,style:{marginRight:8},size:"small"},B))});return e.jsx(vr,{className:"form",style:j,children:e.jsxs($,{className:"form-item",children:[e.jsxs($,{className:"form-item-label",children:[v,O&&e.jsx(Sr,{})]}),e.jsxs($,{className:"form-item-body",children:[e.jsx($,{className:"form-item-input",children:V}),n?e.jsx($,{className:"form-item-action",children:e.jsxs(e.Fragment,{children:[e.jsx(ae,{"data-cy":"schema-form-item-confirm",onClick:L,disabled:R||u,size:"large",children:u?e.jsx(Ee,{size:24}):e.jsx(kr,{})}),e.jsx(ae,{"data-cy":"schema-form-item-cancel",onClick:()=>{S(d),a(!1)},disabled:R||u,size:"large",children:e.jsx(kt,{})})]})}):null]}),n&&h&&e.jsx(Bt,{children:h})]})})}is.propTypes={style:T.object,onSubmit:T.func,onChange:T.func,label:T.string,initialValue:T.string,required:T.bool,disabled:T.bool,triggers:T.array,options:T.array,helperText:T.string,formatterBeforeSubmit:T.func,placeholder:T.string,renderImage:T.func,filterKeys:T.arrayOf(T.string),noEmpty:T.bool,renderLabel:T.func};const nn=xe.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as P,fJ as ll,c4 as _o,fK as cl,ft as Mo,fL as ul,cV as Lo,aF as ur,j as i,fM as fl,fN as dl,cv as Tt,fO as or,ez as Je,fP as Qs,fQ as pl,fR as ml,fS as hl,fT as gl,fU as bl,fV as Js,fW as yl,fX as to,fY as xl,fZ as vl,f_ as wl,f$ as Cl,eA as ro,g0 as ei,eB as Sl,cI as qn,eC as jl,dE as El,g1 as Tl,g2 as Il,V as Ie,bn as Be,aP as ut,g3 as ti,H as Me,X as Ue,o as b,f as no,eO as ri,f5 as ni,n as xt,K as U,bX as kl,dL as Pl,by as Rl,au as ft,g4 as oi,S as jr,bk as Er,g5 as si,a_ as Dl,$ as et,t as lt,b1 as Ol,dI as qe,aU as Nt,E as oo,fe as Al,g6 as _l,g7 as Ml,g8 as Ll,D as Lr,T as Pe,bg as so,a3 as rr,g9 as Nl,U as Et,b_ as Vt,b$ as zt,cj as ii,dO as rt,e_ as ce,c1 as Fl,b8 as _e,dd as Tr,d7 as ai,c2 as dt,c3 as Rt,Q as kt,dK as li,da as Bl,ga as Nr,gb as ci,bC as it,bf as Ve,O as sr,bp as Ul,P as $n,as as ui,dG as ql,gc as Ir,bs as $l,at as ir,v as ze,C as bt,gd as Vl,h as Vn,aW as zl,w as Wl,x as Kl,s as He,p as fr,ac as dr,bD as Bt,ge as Hl,dF as Yl,dm as Gl,aH as gt,ay as yt,dx as Zl,gf as Xl,eD as Ql,gg as fi,gh as kr,gi as Jl,dH as ar,b as Se,W as io,dJ as ec,cu as di,z as tc,bu as ao,bv as pi,bw as lo,dp as hr,aD as rc,fI as mi,N as lr,aS as nc,gj as hi,aE as oc,a8 as sc,gk as ic,cZ as gi,gl as ac,bz as No,y as lc,gm as cc,bF as uc,R as fc,M as dc}from"./index-UKgFVupi.js";import{A as Ut}from"./Add-bw7LExYi.js";import{V as pc}from"./ViewList-Dlfa9YjE.js";import{c as mc,H as co,g as hc}from"./index-QV6ZlHUk.js";import{v as Fo}from"./index-DV2yUsDM.js";import{u as Ye}from"./team-BpXTeXX3.js";import{u as bi}from"./blocklet-B_gm4lmi.js";import{S as yi}from"./Search-DV0DmDJh.js";import{y as Fr}from"./index-DaZkwaiO.js";import{u as gc,C as Zt}from"./index.esm-C1D-vjtU.js";import{S as bc}from"./Google-D0deGelc.js";import{A as yc,a as gr}from"./Autocomplete-C7pwOgja.js";import{U as xc}from"./UnfoldMore-OHiBiV6d.js";import{P as Pt}from"./permission-rweAJL4g.js";import{C as Br}from"./click-to-copy-C9rtZDLS.js";import{s as vt,g as vc,S as wc,u as mt,a as xi,b as pr,c as vi,d as Ur,e as wi,f as uo,P as Ci,D as Si,h as Pr,M as tr,i as ji,j as Bo,k as nr,v as Cc,l as Sc,m as Uo,n as jc,o as Ec,p as Tc,q as Ic,C as kc,r as Pc,t as Rr,w as Lt,x as Dr,y as qo,z as $o,A as Rc,T as Dc,B as fo,E as Oc,F as Ac,G as _c,H as Mc,I as Lc,J as Nc,K as Fc,L as br,N as Ft,O as Ei,Q as Bc,V as zn,R as Ti,U as Uc,W as Vo,X as qc,Y as $c,Z as Vc,_ as zc,$ as Wc,a0 as Kc}from"./AdapterDayjs-GSjt4DIz.js";import{u as nt}from"./useThemeProps-SIspLYj0.js";import{a as zo,b as Hc,t as Yc,T as Gc}from"./html-title-BPny9upB.js";import{v as Ge}from"./index-BMTfpek5.js";import{V as Zc}from"./Verified-8SqBajcm.js";import{D as Xc}from"./DeleteOutline-CutnF8U7.js";import{E as Wo}from"./ErrorOutline-BVlSjT51.js";import{N as Qc}from"./index-CxOhjmog.js";import{R as Ii,a as Sr,D as Jc}from"./url-evaluation-DuQYeVhL.js";import{b as Wn}from"./sdk-CXtYA3ry.js";import{u as eu}from"./index-Br_vN976.js";import{u as ki}from"./use-mobile-CMTzn3M3.js";import{A as tu}from"./actions-Cd1V0QXL.js";import{S as ru}from"./shorten-label-jgxOPsCZ.js";import{U as Gr}from"./ua-parser-DP5omx3I.js";const nu=mc(P.useLayoutEffect);var Ko={},Ho;function ou(){return Ho||(Ho=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(d){try{return d.defaultView&&d.defaultView.frameElement||null}catch{return null}}var t=function(d){for(var p=d,y=e(p);y;)p=y.ownerDocument,y=e(p);return p}(window.document),r=[],n=null,o=null;function c(d){this.time=d.time,this.target=d.target,this.rootBounds=S(d.rootBounds),this.boundingClientRect=S(d.boundingClientRect),this.intersectionRect=S(d.intersectionRect||w()),this.isIntersecting=!!d.intersectionRect;var p=this.boundingClientRect,y=p.width*p.height,E=this.intersectionRect,C=E.width*E.height;y?this.intersectionRatio=Number((C/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(d,p){var y=p||{};if(typeof d!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=d,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(E){return E.value+E.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(d,p){!d||!p?o=w():o=j(d,p),r.forEach(function(y){y._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(d){var p=this._observationTargets.some(function(y){return y.element==d});if(!p){if(!(d&&d.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:d,entry:null}),this._monitorIntersections(d.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(d){this._observationTargets=this._observationTargets.filter(function(p){return p.element!=d}),this._unmonitorIntersections(d.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var d=this._queuedEntries.slice();return this._queuedEntries=[],d},s.prototype._initThresholds=function(d){var p=d||[0];return Array.isArray(p)||(p=[p]),p.sort().filter(function(y,E,C){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==C[E-1]})},s.prototype._parseRootMargin=function(d){var p=d||"0px",y=p.split(/\s+/).map(function(E){var C=/^(-?\d*\.?\d+)(px|%)$/.exec(E);if(!C)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(C[1]),unit:C[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(d){var p=d.defaultView;if(p&&this._monitoringDocuments.indexOf(d)==-1){var y=this._checkForIntersections,E=null,C=null;this.POLL_INTERVAL?E=p.setInterval(y,this.POLL_INTERVAL):(u(p,"resize",y,!0),u(d,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(C=new p.MutationObserver(y),C.observe(d,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(d),this._monitoringUnsubscribes.push(function(){var D=d.defaultView;D&&(E&&D.clearInterval(E),f(D,"resize",y,!0)),f(d,"scroll",y,!0),C&&C.disconnect()});var T=this.root&&(this.root.ownerDocument||this.root)||t;if(d!=T){var I=e(d);I&&this._monitorIntersections(I.ownerDocument)}}},s.prototype._unmonitorIntersections=function(d){var p=this._monitoringDocuments.indexOf(d);if(p!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,E=this._observationTargets.some(function(I){var D=I.element.ownerDocument;if(D==d)return!0;for(;D&&D!=y;){var N=e(D);if(D=N&&N.ownerDocument,D==d)return!0}return!1});if(!E){var C=this._monitoringUnsubscribes[p];if(this._monitoringDocuments.splice(p,1),this._monitoringUnsubscribes.splice(p,1),C(),d!=y){var T=e(d);T&&this._unmonitorIntersections(T.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var d=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var p=0;p<d.length;p++)d[p]()},s.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var d=this._rootIsInDom(),p=d?this._getRootRect():w();this._observationTargets.forEach(function(y){var E=y.element,C=v(E),T=this._rootContainsTarget(E),I=y.entry,D=d&&T&&this._computeTargetAndRootIntersection(E,C,p),N=null;this._rootContainsTarget(E)?(!n||this.root)&&(N=p):N=w();var B=y.entry=new c({time:l(),target:E,boundingClientRect:C,rootBounds:N,intersectionRect:D});I?d&&T?this._hasCrossedThreshold(I,B)&&this._queuedEntries.push(B):I&&I.isIntersecting&&this._queuedEntries.push(B):this._queuedEntries.push(B)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(d,p,y){if(window.getComputedStyle(d).display!="none"){for(var E=p,C=m(d),T=!1;!T&&C;){var I=null,D=C.nodeType==1?window.getComputedStyle(C):{};if(D.display=="none")return null;if(C==this.root||C.nodeType==9)if(T=!0,C==this.root||C==t)n&&!this.root?!o||o.width==0&&o.height==0?(C=null,I=null,E=null):I=o:I=y;else{var N=m(C),B=N&&v(N),W=N&&this._computeTargetAndRootIntersection(N,B,y);B&&W?(C=N,I=j(B,W)):(C=null,E=null)}else{var ne=C.ownerDocument;C!=ne.body&&C!=ne.documentElement&&D.overflow!="visible"&&(I=v(C))}if(I&&(E=h(I,E)),!E)break;C=C&&m(C)}return E}},s.prototype._getRootRect=function(){var d;if(this.root&&!g(this.root))d=v(this.root);else{var p=g(this.root)?this.root:t,y=p.documentElement,E=p.body;d={top:0,left:0,right:y.clientWidth||E.clientWidth,width:y.clientWidth||E.clientWidth,bottom:y.clientHeight||E.clientHeight,height:y.clientHeight||E.clientHeight}}return this._expandRectByRootMargin(d)},s.prototype._expandRectByRootMargin=function(d){var p=this._rootMarginValues.map(function(E,C){return E.unit=="px"?E.value:E.value*(C%2?d.width:d.height)/100}),y={top:d.top-p[0],right:d.right+p[1],bottom:d.bottom+p[2],left:d.left-p[3]};return y.width=y.right-y.left,y.height=y.bottom-y.top,y},s.prototype._hasCrossedThreshold=function(d,p){var y=d&&d.isIntersecting?d.intersectionRatio||0:-1,E=p.isIntersecting?p.intersectionRatio||0:-1;if(y!==E)for(var C=0;C<this.thresholds.length;C++){var T=this.thresholds[C];if(T==y||T==E||T<y!=T<E)return!0}},s.prototype._rootIsInDom=function(){return!this.root||x(t,this.root)},s.prototype._rootContainsTarget=function(d){var p=this.root&&(this.root.ownerDocument||this.root)||t;return x(p,d)&&(!this.root||p==d.ownerDocument)},s.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},s.prototype._unregisterInstance=function(){var d=r.indexOf(this);d!=-1&&r.splice(d,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(d,p){var y=null;return function(){y||(y=setTimeout(function(){d(),y=null},p))}}function u(d,p,y,E){typeof d.addEventListener=="function"?d.addEventListener(p,y,E):typeof d.attachEvent=="function"&&d.attachEvent("on"+p,y)}function f(d,p,y,E){typeof d.removeEventListener=="function"?d.removeEventListener(p,y,E):typeof d.detachEvent=="function"&&d.detachEvent("on"+p,y)}function h(d,p){var y=Math.max(d.top,p.top),E=Math.min(d.bottom,p.bottom),C=Math.max(d.left,p.left),T=Math.min(d.right,p.right),I=T-C,D=E-y;return I>=0&&D>=0&&{top:y,bottom:E,left:C,right:T,width:I,height:D}||null}function v(d){var p;try{p=d.getBoundingClientRect()}catch{}return p?(p.width&&p.height||(p={top:p.top,right:p.right,bottom:p.bottom,left:p.left,width:p.right-p.left,height:p.bottom-p.top}),p):w()}function w(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function S(d){return!d||"x"in d?d:{top:d.top,y:d.top,bottom:d.bottom,left:d.left,x:d.left,right:d.right,width:d.width,height:d.height}}function j(d,p){var y=p.top-d.top,E=p.left-d.left;return{top:y,left:E,height:p.height,width:p.width,bottom:y+p.height,right:E+p.width}}function x(d,p){for(var y=p;y;){if(y==d)return!0;y=m(y)}return!1}function m(d){var p=d.parentNode;return d.nodeType==9&&d!=t?e(d):(p&&p.assignedSlot&&(p=p.assignedSlot.parentNode),p&&p.nodeType==11&&p.host?p.host:p)}function g(d){return d&&d.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=c}()),Ko}ou();function su(e,t){var r={},n=r.callback,o=ll(r,["callback"]),c=_o(P.useState(),2),s=c[0],l=c[1],a=_o(P.useState(),2),u=a[0],f=a[1];return cl(function(){var h=Array.isArray(e)?e:[e],v=h.map(function(S){return Mo(S)}).filter(Boolean);if(v.length){var w=new IntersectionObserver(function(S){var j,x;try{for(var m=ul(S),g=m.next();!g.done;g=m.next()){var d=g.value;f(d.intersectionRatio),l(d.isIntersecting),n?.(d)}}catch(p){j={error:p}}finally{try{g&&!g.done&&(x=m.return)&&x.call(m)}finally{if(j)throw j.error}}},Lo(Lo({},o),{root:Mo(void 0)}));return v.forEach(function(S){return w.observe(S)}),function(){w.disconnect()}}},[void 0,void 0,n],e),[s,u]}const iu=ur(i.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),au=ur(i.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"})),qr=ur([i.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),i.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),lu=ur(i.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),cu=ur(i.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),Pi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),P.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),Ri=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.25 2.7087C1.25 2.24826 1.62326 1.875 2.0837 1.875H14.339C14.7995 1.875 15.1727 2.24826 15.1727 2.7087V9.31574C15.1727 9.77618 14.7995 10.1494 14.339 10.1494C13.8786 10.1494 13.5053 9.77618 13.5053 9.31574V3.54239H2.91739V16.7565H6.53772H8.34788H9.32435C9.78479 16.7565 10.158 17.1297 10.158 17.5902C10.158 18.0506 9.78479 18.4239 9.32435 18.4239H8.34788H2.0837C1.62326 18.4239 1.25 18.0506 1.25 17.5902V2.7087Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.21129 7.91935C7.70481 7.91935 7.29422 8.32993 7.29422 8.83641C7.29422 9.34289 7.70481 9.75348 8.21129 9.75348C8.71777 9.75348 9.12836 9.34289 9.12836 8.83641C9.12836 8.32993 8.71777 7.91935 8.21129 7.91935ZM5.62683 8.83641C5.62683 7.40905 6.78393 6.25195 8.21129 6.25195C9.63865 6.25195 10.7957 7.40905 10.7957 8.83641C10.7957 10.2638 9.63865 11.4209 8.21129 11.4209C6.78393 11.4209 5.62683 10.2638 5.62683 8.83641Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.62683 13.2133C5.62683 12.7529 6.00009 12.3796 6.46053 12.3796H9.96205C10.4225 12.3796 10.7957 12.7529 10.7957 13.2133C10.7957 13.6737 10.4225 14.047 9.96205 14.047H6.46053C6.00009 14.047 5.62683 13.6737 5.62683 13.2133Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6406 11.3125C15.8547 11.3125 16.0503 11.434 16.145 11.626L17.1779 13.7184L19.4876 14.056C19.6994 14.087 19.8753 14.2355 19.9413 14.4391C20.0074 14.6427 19.9521 14.8662 19.7987 15.0156L18.1279 16.643L18.5222 18.9421C18.5584 19.1532 18.4716 19.3665 18.2984 19.4923C18.1252 19.6182 17.8955 19.6347 17.706 19.5351L15.6406 18.4489L13.5753 19.5351C13.3858 19.6347 13.1561 19.6182 12.9829 19.4923C12.8096 19.3665 12.7229 19.1532 12.7591 18.9421L13.1534 16.643L11.4825 15.0156C11.3292 14.8662 11.2739 14.6427 11.3399 14.4391C11.406 14.2355 11.5818 14.087 11.7937 14.056L14.1034 13.7184L15.1362 11.626C15.231 11.434 15.4265 11.3125 15.6406 11.3125ZM15.6406 13.1458L14.9815 14.4813C14.8996 14.6471 14.7414 14.7621 14.5584 14.7889L13.0835 15.0044L14.1503 16.0435C14.283 16.1727 14.3435 16.359 14.3122 16.5416L14.0606 18.0088L15.3788 17.3155C15.5427 17.2293 15.7386 17.2293 15.9025 17.3155L17.2207 18.0088L16.969 16.5416C16.9377 16.359 16.9983 16.1727 17.131 16.0435L18.1978 15.0044L16.7229 14.7889C16.5399 14.7621 16.3817 14.6471 16.2998 14.4813L15.6406 13.1458Z"})),Di=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),uu=e=>P.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("g",{clipPath:"url(#clip0)"},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99997 1.59778C8.19071 1.59778 7.39961 1.83775 6.72673 2.28736C6.05385 2.73697 5.5294 3.37601 5.21971 4.12367C4.91001 4.87134 4.82898 5.69405 4.98686 6.48777C5.14474 7.28149 5.53444 8.01056 6.10668 8.5828C6.67892 9.15504 7.408 9.54474 8.20172 9.70262C8.99544 9.8605 9.81815 9.77947 10.5658 9.46978C11.3135 9.16009 11.9525 8.63564 12.4021 7.96276C12.8517 7.28987 13.0917 6.49878 13.0917 5.68951C13.0917 4.60432 12.6606 3.56357 11.8933 2.79622C11.1259 2.02887 10.0852 1.59778 8.99997 1.59778ZM7.27426 3.9638C7.73195 3.50611 8.35271 3.24899 8.99997 3.24899C9.48266 3.24899 9.95452 3.39212 10.3559 3.66029C10.7572 3.92846 11.07 4.30962 11.2547 4.75556C11.4394 5.20151 11.4878 5.69222 11.3936 6.16563C11.2994 6.63905 11.067 7.07391 10.7257 7.41522C10.3844 7.75654 9.94951 7.98897 9.4761 8.08314C9.00268 8.17731 8.51197 8.12898 8.06603 7.94426C7.62008 7.75954 7.23892 7.44674 6.97075 7.04539C6.70258 6.64405 6.55945 6.1722 6.55945 5.68951C6.55945 5.04224 6.81658 4.42149 7.27426 3.9638ZM7.36691 10.3075C6.28172 10.3075 5.24097 10.7385 4.47362 11.5059C3.70627 12.2732 3.27518 13.314 3.27518 14.3992V17.121C3.27518 17.2763 3.4011 17.4022 3.55643 17.4022H4.64514C4.80047 17.4022 4.92639 17.2763 4.92639 17.121V14.3992C4.92639 13.7519 5.18351 13.1312 5.6412 12.6735C6.09889 12.2158 6.71964 11.9587 7.36691 11.9587H10.633C10.9535 11.9587 11.2709 12.0218 11.567 12.1444C11.8631 12.2671 12.1321 12.4469 12.3588 12.6735C12.5854 12.9001 12.7651 13.1691 12.8878 13.4652C13.0104 13.7613 13.0736 14.0787 13.0736 14.3992V17.121C13.0736 17.2763 13.1995 17.4022 13.3548 17.4022H14.4435C14.5989 17.4022 14.7248 17.2763 14.7248 17.121V14.3992C14.7248 13.314 14.2937 12.2732 13.5263 11.5059C12.759 10.7385 11.7182 10.3075 10.633 10.3075H7.36691Z"})),P.createElement("defs",null,P.createElement("clipPath",{id:"clip0"},P.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),Oi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10C3.25 6.27208 6.27208 3.25 10 3.25C13.7279 3.25 16.75 6.27208 16.75 10C16.75 13.7279 13.7279 16.75 10 16.75C6.27208 16.75 3.25 13.7279 3.25 10ZM10 1.75C5.44365 1.75 1.75 5.44365 1.75 10C1.75 14.5564 5.44365 18.25 10 18.25C14.5563 18.25 18.25 14.5564 18.25 10C18.25 5.44365 14.5563 1.75 10 1.75ZM8.03033 6.96967C7.73744 6.67678 7.26256 6.67678 6.96967 6.96967C6.67678 7.26256 6.67678 7.73744 6.96967 8.03033L11.9697 13.0303C12.2626 13.3232 12.7374 13.3232 13.0303 13.0303C13.3232 12.7374 13.3232 12.2626 13.0303 11.9697L8.03033 6.96967Z"}));var Zr={},Xr,Yo;function fu(){return Yo||(Yo=1,Xr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Xr}var Qr,Go;function du(){if(Go)return Qr;Go=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,l){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;l=l||1;var a=s.slice(0,l),u=s.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(s){try{return decodeURIComponent(s)}catch{for(var l=s.match(t)||[],a=1;a<l.length;a++)s=n(l,a).join(""),l=s.match(t)||[];return s}}function c(s){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(s);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(s)}l["%C2"]="�";for(var f=Object.keys(l),h=0;h<f.length;h++){var v=f[h];s=s.replace(new RegExp(v,"g"),l[v])}return s}return Qr=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return c(s)}},Qr}var Jr,Zo;function pu(){return Zo||(Zo=1,Jr=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),Jr}var en,Xo;function mu(){return Xo||(Xo=1,en=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var s=n[c],l=e[s];(o?t.indexOf(s)!==-1:t(s,l,e))&&(r[s]=l)}return r}),en}var Qo;function hu(){return Qo||(Qo=1,function(e){const t=fu(),r=du(),n=pu(),o=mu(),c=m=>m==null;function s(m){switch(m.arrayFormat){case"index":return g=>(d,p)=>{const y=d.length;return p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[",y,"]"].join("")]:[...d,[u(g,m),"[",u(y,m),"]=",u(p,m)].join("")]};case"bracket":return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[]"].join("")]:[...d,[u(g,m),"[]=",u(p,m)].join("")];case"comma":case"separator":return g=>(d,p)=>p==null||p.length===0?d:d.length===0?[[u(g,m),"=",u(p,m)].join("")]:[[d,u(p,m)].join(m.arrayFormatSeparator)];default:return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,u(g,m)]:[...d,[u(g,m),"=",u(p,m)].join("")]}}function l(m){let g;switch(m.arrayFormat){case"index":return(d,p,y)=>{if(g=/\[(\d*)\]$/.exec(d),d=d.replace(/\[\d*\]$/,""),!g){y[d]=p;return}y[d]===void 0&&(y[d]={}),y[d][g[1]]=p};case"bracket":return(d,p,y)=>{if(g=/(\[\])$/.exec(d),d=d.replace(/\[\]$/,""),!g){y[d]=p;return}if(y[d]===void 0){y[d]=[p];return}y[d]=[].concat(y[d],p)};case"comma":case"separator":return(d,p,y)=>{const E=typeof p=="string"&&p.includes(m.arrayFormatSeparator),C=typeof p=="string"&&!E&&f(p,m).includes(m.arrayFormatSeparator);p=C?f(p,m):p;const T=E||C?p.split(m.arrayFormatSeparator).map(I=>f(I,m)):p===null?p:f(p,m);y[d]=T};default:return(d,p,y)=>{if(y[d]===void 0){y[d]=p;return}y[d]=[].concat(y[d],p)}}}function a(m){if(typeof m!="string"||m.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(m,g){return g.encode?g.strict?t(m):encodeURIComponent(m):m}function f(m,g){return g.decode?r(m):m}function h(m){return Array.isArray(m)?m.sort():typeof m=="object"?h(Object.keys(m)).sort((g,d)=>Number(g)-Number(d)).map(g=>m[g]):m}function v(m){const g=m.indexOf("#");return g!==-1&&(m=m.slice(0,g)),m}function w(m){let g="";const d=m.indexOf("#");return d!==-1&&(g=m.slice(d)),g}function S(m){m=v(m);const g=m.indexOf("?");return g===-1?"":m.slice(g+1)}function j(m,g){return g.parseNumbers&&!Number.isNaN(Number(m))&&typeof m=="string"&&m.trim()!==""?m=Number(m):g.parseBooleans&&m!==null&&(m.toLowerCase()==="true"||m.toLowerCase()==="false")&&(m=m.toLowerCase()==="true"),m}function x(m,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),a(g.arrayFormatSeparator);const d=l(g),p=Object.create(null);if(typeof m!="string"||(m=m.trim().replace(/^[?#&]/,""),!m))return p;for(const y of m.split("&")){if(y==="")continue;let[E,C]=n(g.decode?y.replace(/\+/g," "):y,"=");C=C===void 0?null:["comma","separator"].includes(g.arrayFormat)?C:f(C,g),d(f(E,g),C,p)}for(const y of Object.keys(p)){const E=p[y];if(typeof E=="object"&&E!==null)for(const C of Object.keys(E))E[C]=j(E[C],g);else p[y]=j(E,g)}return g.sort===!1?p:(g.sort===!0?Object.keys(p).sort():Object.keys(p).sort(g.sort)).reduce((y,E)=>{const C=p[E];return C&&typeof C=="object"&&!Array.isArray(C)?y[E]=h(C):y[E]=C,y},Object.create(null))}e.extract=S,e.parse=x,e.stringify=(m,g)=>{if(!m)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),a(g.arrayFormatSeparator);const d=C=>g.skipNull&&c(m[C])||g.skipEmptyString&&m[C]==="",p=s(g),y={};for(const C of Object.keys(m))d(C)||(y[C]=m[C]);const E=Object.keys(y);return g.sort!==!1&&E.sort(g.sort),E.map(C=>{const T=m[C];return T===void 0?"":T===null?u(C,g):Array.isArray(T)?T.reduce(p(C),[]).join("&"):u(C,g)+"="+u(T,g)}).filter(C=>C.length>0).join("&")},e.parseUrl=(m,g)=>{g=Object.assign({decode:!0},g);const[d,p]=n(m,"#");return Object.assign({url:d.split("?")[0]||"",query:x(S(m),g)},g&&g.parseFragmentIdentifier&&p?{fragmentIdentifier:f(p,g)}:{})},e.stringifyUrl=(m,g)=>{g=Object.assign({encode:!0,strict:!0},g);const d=v(m.url).split("?")[0]||"",p=e.extract(m.url),y=e.parse(p,{sort:!1}),E=Object.assign(y,m.query);let C=e.stringify(E,g);C&&(C=`?${C}`);let T=w(m.url);return m.fragmentIdentifier&&(T=`#${u(m.fragmentIdentifier,g)}`),`${d}${C}${T}`},e.pick=(m,g,d)=>{d=Object.assign({parseFragmentIdentifier:!0},d);const{url:p,query:y,fragmentIdentifier:E}=e.parseUrl(m,d);return e.stringifyUrl({url:p,query:o(y,g),fragmentIdentifier:E},d)},e.exclude=(m,g,d)=>{const p=Array.isArray(g)?y=>!g.includes(y):(y,E)=>!g(y,E);return e.pick(m,p,d)}}(Zr)),Zr}var tn=hu();const Xt=fl,gu={parseNumbers:!1,parseBooleans:!1},bu={skipNull:!1,skipEmptyString:!1},yu=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:s}={},l=Object.assign(Object.assign({},gu),c),a=Object.assign(Object.assign({},bu),s),u=Xt.useLocation(),f=(r=Xt.useHistory)===null||r===void 0?void 0:r.call(Xt),h=(n=Xt.useNavigate)===null||n===void 0?void 0:n.call(Xt),v=dl(),w=P.useRef(typeof e=="function"?e():e||{}),S=P.useMemo(()=>tn.parse(u.search,l),[u.search]),j=P.useMemo(()=>Object.assign(Object.assign({},w.current),S),[S]);return[j,Tt(m=>{const g=typeof m=="function"?m(j):m;v(),f&&f[o]({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},u.state),h&&h({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},{replace:o==="replace",state:u.state})})]};var jt={},Qt={},rn={exports:{}},nn={},Jo;function Ai(){if(Jo)return nn;Jo=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},e(g)}function t(g,d,p){return Object.defineProperty(g,"prototype",{writable:!1}),g}function r(g,d){if(!(g instanceof d))throw new TypeError("Cannot call a class as a function")}function n(g,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(d&&d.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),d&&o(g,d)}function o(g,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,E){return y.__proto__=E,y},o(g,d)}function c(g){var d=a();return function(){var y=u(g),E;if(d){var C=u(this).constructor;E=Reflect.construct(y,arguments,C)}else E=y.apply(this,arguments);return s(this,E)}}function s(g,d){if(d&&(e(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(g)}function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(g){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},u(g)}var f={},h,v;function w(g,d,p){p||(p=Error);function y(C,T,I){return typeof d=="string"?d:d(C,T,I)}var E=function(C){n(I,C);var T=c(I);function I(D,N,B){var W;return r(this,I),W=T.call(this,y(D,N,B)),W.code=g,W}return t(I)}(p);f[g]=E}function S(g,d){if(Array.isArray(g)){var p=g.length;return g=g.map(function(y){return String(y)}),p>2?"one of ".concat(d," ").concat(g.slice(0,p-1).join(", "),", or ")+g[p-1]:p===2?"one of ".concat(d," ").concat(g[0]," or ").concat(g[1]):"of ".concat(d," ").concat(g[0])}else return"of ".concat(d," ").concat(String(g))}function j(g,d,p){return g.substr(0,d.length)===d}function x(g,d,p){return(p===void 0||p>g.length)&&(p=g.length),g.substring(p-d.length,p)===d}function m(g,d,p){return typeof p!="number"&&(p=0),p+d.length>g.length?!1:g.indexOf(d,p)!==-1}return w("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),w("ERR_INVALID_ARG_TYPE",function(g,d,p){h===void 0&&(h=Kn()),h(typeof g=="string","'name' must be a string");var y;typeof d=="string"&&j(d,"not ")?(y="must not be",d=d.replace(/^not /,"")):y="must be";var E;if(x(g," argument"))E="The ".concat(g," ").concat(y," ").concat(S(d,"type"));else{var C=m(g,".")?"property":"argument";E='The "'.concat(g,'" ').concat(C," ").concat(y," ").concat(S(d,"type"))}return E+=". Received type ".concat(e(p)),E},TypeError),w("ERR_INVALID_ARG_VALUE",function(g,d){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=or());var y=v.inspect(d);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(p,". Received ").concat(y)},TypeError),w("ERR_INVALID_RETURN_VALUE",function(g,d,p){var y;return p&&p.constructor&&p.constructor.name?y="instance of ".concat(p.constructor.name):y="type ".concat(e(p)),"Expected ".concat(g,' to be returned from the "').concat(d,'"')+" function but got ".concat(y,".")},TypeError),w("ERR_MISSING_ARGS",function(){for(var g=arguments.length,d=new Array(g),p=0;p<g;p++)d[p]=arguments[p];h===void 0&&(h=Kn()),h(d.length>0,"At least one arg needs to be specified");var y="The ",E=d.length;switch(d=d.map(function(C){return'"'.concat(C,'"')}),E){case 1:y+="".concat(d[0]," argument");break;case 2:y+="".concat(d[0]," and ").concat(d[1]," arguments");break;default:y+=d.slice(0,E-1).join(", "),y+=", and ".concat(d[E-1]," arguments");break}return"".concat(y," must be specified")},TypeError),nn.codes=f,nn}var on,es;function xu(){if(es)return on;es=1;function e(_,F){var G=Object.keys(_);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(_);F&&(H=H.filter(function(Q){return Object.getOwnPropertyDescriptor(_,Q).enumerable})),G.push.apply(G,H)}return G}function t(_){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?e(Object(G),!0).forEach(function(H){r(_,H,G[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(G)):e(Object(G)).forEach(function(H){Object.defineProperty(_,H,Object.getOwnPropertyDescriptor(G,H))})}return _}function r(_,F,G){return F=s(F),F in _?Object.defineProperty(_,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):_[F]=G,_}function n(_,F){if(!(_ instanceof F))throw new TypeError("Cannot call a class as a function")}function o(_,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(_,s(H.key),H)}}function c(_,F,G){return F&&o(_.prototype,F),Object.defineProperty(_,"prototype",{writable:!1}),_}function s(_){var F=l(_,"string");return g(F)==="symbol"?F:String(F)}function l(_,F){if(g(_)!=="object"||_===null)return _;var G=_[Symbol.toPrimitive];if(G!==void 0){var H=G.call(_,F);if(g(H)!=="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function a(_,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(F&&F.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),F&&x(_,F)}function u(_){var F=S();return function(){var H=m(_),Q;if(F){var A=m(this).constructor;Q=Reflect.construct(H,arguments,A)}else Q=H.apply(this,arguments);return f(this,Q)}}function f(_,F){if(F&&(g(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(_)}function h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function v(_){var F=typeof Map=="function"?new Map:void 0;return v=function(H){if(H===null||!j(H))return H;if(typeof H!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(H))return F.get(H);F.set(H,Q)}function Q(){return w(H,arguments,m(this).constructor)}return Q.prototype=Object.create(H.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),x(Q,H)},v(_)}function w(_,F,G){return S()?w=Reflect.construct.bind():w=function(Q,A,R){var M=[null];M.push.apply(M,A);var z=Function.bind.apply(Q,M),L=new z;return R&&x(L,R.prototype),L},w.apply(null,arguments)}function S(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function j(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function x(_,F){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(H,Q){return H.__proto__=Q,H},x(_,F)}function m(_){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(G){return G.__proto__||Object.getPrototypeOf(G)},m(_)}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},g(_)}var d=or(),p=d.inspect,y=Ai(),E=y.codes.ERR_INVALID_ARG_TYPE;function C(_,F,G){return(G===void 0||G>_.length)&&(G=_.length),_.substring(G-F.length,G)===F}function T(_,F){if(F=Math.floor(F),_.length==0||F==0)return"";var G=_.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)_+=_,F--;return _+=_.substring(0,G-_.length),_}var I="",D="",N="",B="",W={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},ne=10;function te(_){var F=Object.keys(_),G=Object.create(Object.getPrototypeOf(_));return F.forEach(function(H){G[H]=_[H]}),Object.defineProperty(G,"message",{value:_.message}),G}function ge(_){return p(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Ce(_,F,G){var H="",Q="",A=0,R="",M=!1,z=ge(_),L=z.split(`
|
|
1
|
+
import{r as P,fJ as ll,c4 as _o,fK as cl,ft as Mo,fL as ul,cV as Lo,aF as ur,j as i,fM as fl,fN as dl,cv as Tt,fO as or,ez as Je,fP as Qs,fQ as pl,fR as ml,fS as hl,fT as gl,fU as bl,fV as Js,fW as yl,fX as to,fY as xl,fZ as vl,f_ as wl,f$ as Cl,eA as ro,g0 as ei,eB as Sl,cI as qn,eC as jl,dE as El,g1 as Tl,g2 as Il,V as Ie,bn as Be,aP as ut,g3 as ti,H as Me,X as Ue,o as b,f as no,eO as ri,f5 as ni,n as xt,K as U,bX as kl,dL as Pl,by as Rl,au as ft,g4 as oi,S as jr,bk as Er,g5 as si,a_ as Dl,$ as et,t as lt,b1 as Ol,dI as qe,aU as Nt,E as oo,fe as Al,g6 as _l,g7 as Ml,g8 as Ll,D as Lr,T as Pe,bg as so,a3 as rr,g9 as Nl,U as Et,b_ as Vt,b$ as zt,cj as ii,dO as rt,e_ as ce,c1 as Fl,b8 as _e,dd as Tr,d7 as ai,c2 as dt,c3 as Rt,Q as kt,dK as li,da as Bl,ga as Nr,gb as ci,bC as it,bf as Ve,O as sr,bp as Ul,P as $n,as as ui,dG as ql,gc as Ir,bs as $l,at as ir,v as ze,C as bt,gd as Vl,h as Vn,aW as zl,w as Wl,x as Kl,s as He,p as fr,ac as dr,bD as Bt,ge as Hl,dF as Yl,dm as Gl,aH as gt,ay as yt,dx as Zl,gf as Xl,eD as Ql,gg as fi,gh as kr,gi as Jl,dH as ar,b as Se,W as io,dJ as ec,cu as di,z as tc,bu as ao,bv as pi,bw as lo,dp as hr,aD as rc,fI as mi,N as lr,aS as nc,gj as hi,aE as oc,a8 as sc,gk as ic,cZ as gi,gl as ac,bz as No,y as lc,gm as cc,bF as uc,R as fc,M as dc}from"./index-D4eQE_TP.js";import{A as Ut}from"./Add-DU5X_U2u.js";import{V as pc}from"./ViewList-DT6Xma-B.js";import{c as mc,H as co,g as hc}from"./index-CxpPzbzU.js";import{v as Fo}from"./index-C1oHtzbL.js";import{u as Ye}from"./team-BPm7GXr3.js";import{u as bi}from"./blocklet-DUEr9aGB.js";import{S as yi}from"./Search-CDBu3YFg.js";import{y as Fr}from"./index-DFRPJXRn.js";import{u as gc,C as Zt}from"./index.esm-B212pqxD.js";import{S as bc}from"./Google-CIjch33x.js";import{A as yc,a as gr}from"./Autocomplete-_Fi6RPLW.js";import{U as xc}from"./UnfoldMore-D7ekduSe.js";import{P as Pt}from"./permission-Cz1FrvyA.js";import{C as Br}from"./click-to-copy-DGNMr8_O.js";import{s as vt,g as vc,S as wc,u as mt,a as xi,b as pr,c as vi,d as Ur,e as wi,f as uo,P as Ci,D as Si,h as Pr,M as tr,i as ji,j as Bo,k as nr,v as Cc,l as Sc,m as Uo,n as jc,o as Ec,p as Tc,q as Ic,C as kc,r as Pc,t as Rr,w as Lt,x as Dr,y as qo,z as $o,A as Rc,T as Dc,B as fo,E as Oc,F as Ac,G as _c,H as Mc,I as Lc,J as Nc,K as Fc,L as br,N as Ft,O as Ei,Q as Bc,V as zn,R as Ti,U as Uc,W as Vo,X as qc,Y as $c,Z as Vc,_ as zc,$ as Wc,a0 as Kc}from"./AdapterDayjs-CgY38Owx.js";import{u as nt}from"./useThemeProps-D4mtFn43.js";import{a as zo,b as Hc,t as Yc,T as Gc}from"./html-title-CuUyumLv.js";import{v as Ge}from"./index-65SOJ0fZ.js";import{V as Zc}from"./Verified-xgJHnpUk.js";import{D as Xc}from"./DeleteOutline-Cs7CwDmK.js";import{E as Wo}from"./ErrorOutline-BY5CE57a.js";import{N as Qc}from"./index-Qxi4GaAT.js";import{R as Ii,a as Sr,D as Jc}from"./url-evaluation-DvSlLCr5.js";import{b as Wn}from"./sdk-C_3i0CyM.js";import{u as eu}from"./index-CNtIWgAU.js";import{u as ki}from"./use-mobile-6YLRE80V.js";import{A as tu}from"./actions-CHcHbGcd.js";import{S as ru}from"./shorten-label-DzbGUwvK.js";import{U as Gr}from"./ua-parser-DP5omx3I.js";const nu=mc(P.useLayoutEffect);var Ko={},Ho;function ou(){return Ho||(Ho=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(d){try{return d.defaultView&&d.defaultView.frameElement||null}catch{return null}}var t=function(d){for(var p=d,y=e(p);y;)p=y.ownerDocument,y=e(p);return p}(window.document),r=[],n=null,o=null;function c(d){this.time=d.time,this.target=d.target,this.rootBounds=S(d.rootBounds),this.boundingClientRect=S(d.boundingClientRect),this.intersectionRect=S(d.intersectionRect||w()),this.isIntersecting=!!d.intersectionRect;var p=this.boundingClientRect,y=p.width*p.height,E=this.intersectionRect,C=E.width*E.height;y?this.intersectionRatio=Number((C/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(d,p){var y=p||{};if(typeof d!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=d,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(E){return E.value+E.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(d,p){!d||!p?o=w():o=j(d,p),r.forEach(function(y){y._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(d){var p=this._observationTargets.some(function(y){return y.element==d});if(!p){if(!(d&&d.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:d,entry:null}),this._monitorIntersections(d.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(d){this._observationTargets=this._observationTargets.filter(function(p){return p.element!=d}),this._unmonitorIntersections(d.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var d=this._queuedEntries.slice();return this._queuedEntries=[],d},s.prototype._initThresholds=function(d){var p=d||[0];return Array.isArray(p)||(p=[p]),p.sort().filter(function(y,E,C){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==C[E-1]})},s.prototype._parseRootMargin=function(d){var p=d||"0px",y=p.split(/\s+/).map(function(E){var C=/^(-?\d*\.?\d+)(px|%)$/.exec(E);if(!C)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(C[1]),unit:C[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(d){var p=d.defaultView;if(p&&this._monitoringDocuments.indexOf(d)==-1){var y=this._checkForIntersections,E=null,C=null;this.POLL_INTERVAL?E=p.setInterval(y,this.POLL_INTERVAL):(u(p,"resize",y,!0),u(d,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(C=new p.MutationObserver(y),C.observe(d,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(d),this._monitoringUnsubscribes.push(function(){var D=d.defaultView;D&&(E&&D.clearInterval(E),f(D,"resize",y,!0)),f(d,"scroll",y,!0),C&&C.disconnect()});var T=this.root&&(this.root.ownerDocument||this.root)||t;if(d!=T){var I=e(d);I&&this._monitorIntersections(I.ownerDocument)}}},s.prototype._unmonitorIntersections=function(d){var p=this._monitoringDocuments.indexOf(d);if(p!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,E=this._observationTargets.some(function(I){var D=I.element.ownerDocument;if(D==d)return!0;for(;D&&D!=y;){var N=e(D);if(D=N&&N.ownerDocument,D==d)return!0}return!1});if(!E){var C=this._monitoringUnsubscribes[p];if(this._monitoringDocuments.splice(p,1),this._monitoringUnsubscribes.splice(p,1),C(),d!=y){var T=e(d);T&&this._unmonitorIntersections(T.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var d=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var p=0;p<d.length;p++)d[p]()},s.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var d=this._rootIsInDom(),p=d?this._getRootRect():w();this._observationTargets.forEach(function(y){var E=y.element,C=v(E),T=this._rootContainsTarget(E),I=y.entry,D=d&&T&&this._computeTargetAndRootIntersection(E,C,p),N=null;this._rootContainsTarget(E)?(!n||this.root)&&(N=p):N=w();var B=y.entry=new c({time:l(),target:E,boundingClientRect:C,rootBounds:N,intersectionRect:D});I?d&&T?this._hasCrossedThreshold(I,B)&&this._queuedEntries.push(B):I&&I.isIntersecting&&this._queuedEntries.push(B):this._queuedEntries.push(B)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(d,p,y){if(window.getComputedStyle(d).display!="none"){for(var E=p,C=m(d),T=!1;!T&&C;){var I=null,D=C.nodeType==1?window.getComputedStyle(C):{};if(D.display=="none")return null;if(C==this.root||C.nodeType==9)if(T=!0,C==this.root||C==t)n&&!this.root?!o||o.width==0&&o.height==0?(C=null,I=null,E=null):I=o:I=y;else{var N=m(C),B=N&&v(N),W=N&&this._computeTargetAndRootIntersection(N,B,y);B&&W?(C=N,I=j(B,W)):(C=null,E=null)}else{var ne=C.ownerDocument;C!=ne.body&&C!=ne.documentElement&&D.overflow!="visible"&&(I=v(C))}if(I&&(E=h(I,E)),!E)break;C=C&&m(C)}return E}},s.prototype._getRootRect=function(){var d;if(this.root&&!g(this.root))d=v(this.root);else{var p=g(this.root)?this.root:t,y=p.documentElement,E=p.body;d={top:0,left:0,right:y.clientWidth||E.clientWidth,width:y.clientWidth||E.clientWidth,bottom:y.clientHeight||E.clientHeight,height:y.clientHeight||E.clientHeight}}return this._expandRectByRootMargin(d)},s.prototype._expandRectByRootMargin=function(d){var p=this._rootMarginValues.map(function(E,C){return E.unit=="px"?E.value:E.value*(C%2?d.width:d.height)/100}),y={top:d.top-p[0],right:d.right+p[1],bottom:d.bottom+p[2],left:d.left-p[3]};return y.width=y.right-y.left,y.height=y.bottom-y.top,y},s.prototype._hasCrossedThreshold=function(d,p){var y=d&&d.isIntersecting?d.intersectionRatio||0:-1,E=p.isIntersecting?p.intersectionRatio||0:-1;if(y!==E)for(var C=0;C<this.thresholds.length;C++){var T=this.thresholds[C];if(T==y||T==E||T<y!=T<E)return!0}},s.prototype._rootIsInDom=function(){return!this.root||x(t,this.root)},s.prototype._rootContainsTarget=function(d){var p=this.root&&(this.root.ownerDocument||this.root)||t;return x(p,d)&&(!this.root||p==d.ownerDocument)},s.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},s.prototype._unregisterInstance=function(){var d=r.indexOf(this);d!=-1&&r.splice(d,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(d,p){var y=null;return function(){y||(y=setTimeout(function(){d(),y=null},p))}}function u(d,p,y,E){typeof d.addEventListener=="function"?d.addEventListener(p,y,E):typeof d.attachEvent=="function"&&d.attachEvent("on"+p,y)}function f(d,p,y,E){typeof d.removeEventListener=="function"?d.removeEventListener(p,y,E):typeof d.detachEvent=="function"&&d.detachEvent("on"+p,y)}function h(d,p){var y=Math.max(d.top,p.top),E=Math.min(d.bottom,p.bottom),C=Math.max(d.left,p.left),T=Math.min(d.right,p.right),I=T-C,D=E-y;return I>=0&&D>=0&&{top:y,bottom:E,left:C,right:T,width:I,height:D}||null}function v(d){var p;try{p=d.getBoundingClientRect()}catch{}return p?(p.width&&p.height||(p={top:p.top,right:p.right,bottom:p.bottom,left:p.left,width:p.right-p.left,height:p.bottom-p.top}),p):w()}function w(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function S(d){return!d||"x"in d?d:{top:d.top,y:d.top,bottom:d.bottom,left:d.left,x:d.left,right:d.right,width:d.width,height:d.height}}function j(d,p){var y=p.top-d.top,E=p.left-d.left;return{top:y,left:E,height:p.height,width:p.width,bottom:y+p.height,right:E+p.width}}function x(d,p){for(var y=p;y;){if(y==d)return!0;y=m(y)}return!1}function m(d){var p=d.parentNode;return d.nodeType==9&&d!=t?e(d):(p&&p.assignedSlot&&(p=p.assignedSlot.parentNode),p&&p.nodeType==11&&p.host?p.host:p)}function g(d){return d&&d.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=c}()),Ko}ou();function su(e,t){var r={},n=r.callback,o=ll(r,["callback"]),c=_o(P.useState(),2),s=c[0],l=c[1],a=_o(P.useState(),2),u=a[0],f=a[1];return cl(function(){var h=Array.isArray(e)?e:[e],v=h.map(function(S){return Mo(S)}).filter(Boolean);if(v.length){var w=new IntersectionObserver(function(S){var j,x;try{for(var m=ul(S),g=m.next();!g.done;g=m.next()){var d=g.value;f(d.intersectionRatio),l(d.isIntersecting),n?.(d)}}catch(p){j={error:p}}finally{try{g&&!g.done&&(x=m.return)&&x.call(m)}finally{if(j)throw j.error}}},Lo(Lo({},o),{root:Mo(void 0)}));return v.forEach(function(S){return w.observe(S)}),function(){w.disconnect()}}},[void 0,void 0,n],e),[s,u]}const iu=ur(i.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),au=ur(i.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"})),qr=ur([i.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),i.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),lu=ur(i.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),cu=ur(i.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),Pi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),P.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),Ri=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.25 2.7087C1.25 2.24826 1.62326 1.875 2.0837 1.875H14.339C14.7995 1.875 15.1727 2.24826 15.1727 2.7087V9.31574C15.1727 9.77618 14.7995 10.1494 14.339 10.1494C13.8786 10.1494 13.5053 9.77618 13.5053 9.31574V3.54239H2.91739V16.7565H6.53772H8.34788H9.32435C9.78479 16.7565 10.158 17.1297 10.158 17.5902C10.158 18.0506 9.78479 18.4239 9.32435 18.4239H8.34788H2.0837C1.62326 18.4239 1.25 18.0506 1.25 17.5902V2.7087Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.21129 7.91935C7.70481 7.91935 7.29422 8.32993 7.29422 8.83641C7.29422 9.34289 7.70481 9.75348 8.21129 9.75348C8.71777 9.75348 9.12836 9.34289 9.12836 8.83641C9.12836 8.32993 8.71777 7.91935 8.21129 7.91935ZM5.62683 8.83641C5.62683 7.40905 6.78393 6.25195 8.21129 6.25195C9.63865 6.25195 10.7957 7.40905 10.7957 8.83641C10.7957 10.2638 9.63865 11.4209 8.21129 11.4209C6.78393 11.4209 5.62683 10.2638 5.62683 8.83641Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.62683 13.2133C5.62683 12.7529 6.00009 12.3796 6.46053 12.3796H9.96205C10.4225 12.3796 10.7957 12.7529 10.7957 13.2133C10.7957 13.6737 10.4225 14.047 9.96205 14.047H6.46053C6.00009 14.047 5.62683 13.6737 5.62683 13.2133Z"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6406 11.3125C15.8547 11.3125 16.0503 11.434 16.145 11.626L17.1779 13.7184L19.4876 14.056C19.6994 14.087 19.8753 14.2355 19.9413 14.4391C20.0074 14.6427 19.9521 14.8662 19.7987 15.0156L18.1279 16.643L18.5222 18.9421C18.5584 19.1532 18.4716 19.3665 18.2984 19.4923C18.1252 19.6182 17.8955 19.6347 17.706 19.5351L15.6406 18.4489L13.5753 19.5351C13.3858 19.6347 13.1561 19.6182 12.9829 19.4923C12.8096 19.3665 12.7229 19.1532 12.7591 18.9421L13.1534 16.643L11.4825 15.0156C11.3292 14.8662 11.2739 14.6427 11.3399 14.4391C11.406 14.2355 11.5818 14.087 11.7937 14.056L14.1034 13.7184L15.1362 11.626C15.231 11.434 15.4265 11.3125 15.6406 11.3125ZM15.6406 13.1458L14.9815 14.4813C14.8996 14.6471 14.7414 14.7621 14.5584 14.7889L13.0835 15.0044L14.1503 16.0435C14.283 16.1727 14.3435 16.359 14.3122 16.5416L14.0606 18.0088L15.3788 17.3155C15.5427 17.2293 15.7386 17.2293 15.9025 17.3155L17.2207 18.0088L16.969 16.5416C16.9377 16.359 16.9983 16.1727 17.131 16.0435L18.1978 15.0044L16.7229 14.7889C16.5399 14.7621 16.3817 14.6471 16.2998 14.4813L15.6406 13.1458Z"})),Di=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),uu=e=>P.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("g",{clipPath:"url(#clip0)"},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99997 1.59778C8.19071 1.59778 7.39961 1.83775 6.72673 2.28736C6.05385 2.73697 5.5294 3.37601 5.21971 4.12367C4.91001 4.87134 4.82898 5.69405 4.98686 6.48777C5.14474 7.28149 5.53444 8.01056 6.10668 8.5828C6.67892 9.15504 7.408 9.54474 8.20172 9.70262C8.99544 9.8605 9.81815 9.77947 10.5658 9.46978C11.3135 9.16009 11.9525 8.63564 12.4021 7.96276C12.8517 7.28987 13.0917 6.49878 13.0917 5.68951C13.0917 4.60432 12.6606 3.56357 11.8933 2.79622C11.1259 2.02887 10.0852 1.59778 8.99997 1.59778ZM7.27426 3.9638C7.73195 3.50611 8.35271 3.24899 8.99997 3.24899C9.48266 3.24899 9.95452 3.39212 10.3559 3.66029C10.7572 3.92846 11.07 4.30962 11.2547 4.75556C11.4394 5.20151 11.4878 5.69222 11.3936 6.16563C11.2994 6.63905 11.067 7.07391 10.7257 7.41522C10.3844 7.75654 9.94951 7.98897 9.4761 8.08314C9.00268 8.17731 8.51197 8.12898 8.06603 7.94426C7.62008 7.75954 7.23892 7.44674 6.97075 7.04539C6.70258 6.64405 6.55945 6.1722 6.55945 5.68951C6.55945 5.04224 6.81658 4.42149 7.27426 3.9638ZM7.36691 10.3075C6.28172 10.3075 5.24097 10.7385 4.47362 11.5059C3.70627 12.2732 3.27518 13.314 3.27518 14.3992V17.121C3.27518 17.2763 3.4011 17.4022 3.55643 17.4022H4.64514C4.80047 17.4022 4.92639 17.2763 4.92639 17.121V14.3992C4.92639 13.7519 5.18351 13.1312 5.6412 12.6735C6.09889 12.2158 6.71964 11.9587 7.36691 11.9587H10.633C10.9535 11.9587 11.2709 12.0218 11.567 12.1444C11.8631 12.2671 12.1321 12.4469 12.3588 12.6735C12.5854 12.9001 12.7651 13.1691 12.8878 13.4652C13.0104 13.7613 13.0736 14.0787 13.0736 14.3992V17.121C13.0736 17.2763 13.1995 17.4022 13.3548 17.4022H14.4435C14.5989 17.4022 14.7248 17.2763 14.7248 17.121V14.3992C14.7248 13.314 14.2937 12.2732 13.5263 11.5059C12.759 10.7385 11.7182 10.3075 10.633 10.3075H7.36691Z"})),P.createElement("defs",null,P.createElement("clipPath",{id:"clip0"},P.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),Oi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10C3.25 6.27208 6.27208 3.25 10 3.25C13.7279 3.25 16.75 6.27208 16.75 10C16.75 13.7279 13.7279 16.75 10 16.75C6.27208 16.75 3.25 13.7279 3.25 10ZM10 1.75C5.44365 1.75 1.75 5.44365 1.75 10C1.75 14.5564 5.44365 18.25 10 18.25C14.5563 18.25 18.25 14.5564 18.25 10C18.25 5.44365 14.5563 1.75 10 1.75ZM8.03033 6.96967C7.73744 6.67678 7.26256 6.67678 6.96967 6.96967C6.67678 7.26256 6.67678 7.73744 6.96967 8.03033L11.9697 13.0303C12.2626 13.3232 12.7374 13.3232 13.0303 13.0303C13.3232 12.7374 13.3232 12.2626 13.0303 11.9697L8.03033 6.96967Z"}));var Zr={},Xr,Yo;function fu(){return Yo||(Yo=1,Xr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Xr}var Qr,Go;function du(){if(Go)return Qr;Go=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,l){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;l=l||1;var a=s.slice(0,l),u=s.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(s){try{return decodeURIComponent(s)}catch{for(var l=s.match(t)||[],a=1;a<l.length;a++)s=n(l,a).join(""),l=s.match(t)||[];return s}}function c(s){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(s);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(s)}l["%C2"]="�";for(var f=Object.keys(l),h=0;h<f.length;h++){var v=f[h];s=s.replace(new RegExp(v,"g"),l[v])}return s}return Qr=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return c(s)}},Qr}var Jr,Zo;function pu(){return Zo||(Zo=1,Jr=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),Jr}var en,Xo;function mu(){return Xo||(Xo=1,en=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var s=n[c],l=e[s];(o?t.indexOf(s)!==-1:t(s,l,e))&&(r[s]=l)}return r}),en}var Qo;function hu(){return Qo||(Qo=1,function(e){const t=fu(),r=du(),n=pu(),o=mu(),c=m=>m==null;function s(m){switch(m.arrayFormat){case"index":return g=>(d,p)=>{const y=d.length;return p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[",y,"]"].join("")]:[...d,[u(g,m),"[",u(y,m),"]=",u(p,m)].join("")]};case"bracket":return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[]"].join("")]:[...d,[u(g,m),"[]=",u(p,m)].join("")];case"comma":case"separator":return g=>(d,p)=>p==null||p.length===0?d:d.length===0?[[u(g,m),"=",u(p,m)].join("")]:[[d,u(p,m)].join(m.arrayFormatSeparator)];default:return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,u(g,m)]:[...d,[u(g,m),"=",u(p,m)].join("")]}}function l(m){let g;switch(m.arrayFormat){case"index":return(d,p,y)=>{if(g=/\[(\d*)\]$/.exec(d),d=d.replace(/\[\d*\]$/,""),!g){y[d]=p;return}y[d]===void 0&&(y[d]={}),y[d][g[1]]=p};case"bracket":return(d,p,y)=>{if(g=/(\[\])$/.exec(d),d=d.replace(/\[\]$/,""),!g){y[d]=p;return}if(y[d]===void 0){y[d]=[p];return}y[d]=[].concat(y[d],p)};case"comma":case"separator":return(d,p,y)=>{const E=typeof p=="string"&&p.includes(m.arrayFormatSeparator),C=typeof p=="string"&&!E&&f(p,m).includes(m.arrayFormatSeparator);p=C?f(p,m):p;const T=E||C?p.split(m.arrayFormatSeparator).map(I=>f(I,m)):p===null?p:f(p,m);y[d]=T};default:return(d,p,y)=>{if(y[d]===void 0){y[d]=p;return}y[d]=[].concat(y[d],p)}}}function a(m){if(typeof m!="string"||m.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(m,g){return g.encode?g.strict?t(m):encodeURIComponent(m):m}function f(m,g){return g.decode?r(m):m}function h(m){return Array.isArray(m)?m.sort():typeof m=="object"?h(Object.keys(m)).sort((g,d)=>Number(g)-Number(d)).map(g=>m[g]):m}function v(m){const g=m.indexOf("#");return g!==-1&&(m=m.slice(0,g)),m}function w(m){let g="";const d=m.indexOf("#");return d!==-1&&(g=m.slice(d)),g}function S(m){m=v(m);const g=m.indexOf("?");return g===-1?"":m.slice(g+1)}function j(m,g){return g.parseNumbers&&!Number.isNaN(Number(m))&&typeof m=="string"&&m.trim()!==""?m=Number(m):g.parseBooleans&&m!==null&&(m.toLowerCase()==="true"||m.toLowerCase()==="false")&&(m=m.toLowerCase()==="true"),m}function x(m,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),a(g.arrayFormatSeparator);const d=l(g),p=Object.create(null);if(typeof m!="string"||(m=m.trim().replace(/^[?#&]/,""),!m))return p;for(const y of m.split("&")){if(y==="")continue;let[E,C]=n(g.decode?y.replace(/\+/g," "):y,"=");C=C===void 0?null:["comma","separator"].includes(g.arrayFormat)?C:f(C,g),d(f(E,g),C,p)}for(const y of Object.keys(p)){const E=p[y];if(typeof E=="object"&&E!==null)for(const C of Object.keys(E))E[C]=j(E[C],g);else p[y]=j(E,g)}return g.sort===!1?p:(g.sort===!0?Object.keys(p).sort():Object.keys(p).sort(g.sort)).reduce((y,E)=>{const C=p[E];return C&&typeof C=="object"&&!Array.isArray(C)?y[E]=h(C):y[E]=C,y},Object.create(null))}e.extract=S,e.parse=x,e.stringify=(m,g)=>{if(!m)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),a(g.arrayFormatSeparator);const d=C=>g.skipNull&&c(m[C])||g.skipEmptyString&&m[C]==="",p=s(g),y={};for(const C of Object.keys(m))d(C)||(y[C]=m[C]);const E=Object.keys(y);return g.sort!==!1&&E.sort(g.sort),E.map(C=>{const T=m[C];return T===void 0?"":T===null?u(C,g):Array.isArray(T)?T.reduce(p(C),[]).join("&"):u(C,g)+"="+u(T,g)}).filter(C=>C.length>0).join("&")},e.parseUrl=(m,g)=>{g=Object.assign({decode:!0},g);const[d,p]=n(m,"#");return Object.assign({url:d.split("?")[0]||"",query:x(S(m),g)},g&&g.parseFragmentIdentifier&&p?{fragmentIdentifier:f(p,g)}:{})},e.stringifyUrl=(m,g)=>{g=Object.assign({encode:!0,strict:!0},g);const d=v(m.url).split("?")[0]||"",p=e.extract(m.url),y=e.parse(p,{sort:!1}),E=Object.assign(y,m.query);let C=e.stringify(E,g);C&&(C=`?${C}`);let T=w(m.url);return m.fragmentIdentifier&&(T=`#${u(m.fragmentIdentifier,g)}`),`${d}${C}${T}`},e.pick=(m,g,d)=>{d=Object.assign({parseFragmentIdentifier:!0},d);const{url:p,query:y,fragmentIdentifier:E}=e.parseUrl(m,d);return e.stringifyUrl({url:p,query:o(y,g),fragmentIdentifier:E},d)},e.exclude=(m,g,d)=>{const p=Array.isArray(g)?y=>!g.includes(y):(y,E)=>!g(y,E);return e.pick(m,p,d)}}(Zr)),Zr}var tn=hu();const Xt=fl,gu={parseNumbers:!1,parseBooleans:!1},bu={skipNull:!1,skipEmptyString:!1},yu=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:s}={},l=Object.assign(Object.assign({},gu),c),a=Object.assign(Object.assign({},bu),s),u=Xt.useLocation(),f=(r=Xt.useHistory)===null||r===void 0?void 0:r.call(Xt),h=(n=Xt.useNavigate)===null||n===void 0?void 0:n.call(Xt),v=dl(),w=P.useRef(typeof e=="function"?e():e||{}),S=P.useMemo(()=>tn.parse(u.search,l),[u.search]),j=P.useMemo(()=>Object.assign(Object.assign({},w.current),S),[S]);return[j,Tt(m=>{const g=typeof m=="function"?m(j):m;v(),f&&f[o]({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},u.state),h&&h({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},{replace:o==="replace",state:u.state})})]};var jt={},Qt={},rn={exports:{}},nn={},Jo;function Ai(){if(Jo)return nn;Jo=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},e(g)}function t(g,d,p){return Object.defineProperty(g,"prototype",{writable:!1}),g}function r(g,d){if(!(g instanceof d))throw new TypeError("Cannot call a class as a function")}function n(g,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(d&&d.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),d&&o(g,d)}function o(g,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,E){return y.__proto__=E,y},o(g,d)}function c(g){var d=a();return function(){var y=u(g),E;if(d){var C=u(this).constructor;E=Reflect.construct(y,arguments,C)}else E=y.apply(this,arguments);return s(this,E)}}function s(g,d){if(d&&(e(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(g)}function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(g){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},u(g)}var f={},h,v;function w(g,d,p){p||(p=Error);function y(C,T,I){return typeof d=="string"?d:d(C,T,I)}var E=function(C){n(I,C);var T=c(I);function I(D,N,B){var W;return r(this,I),W=T.call(this,y(D,N,B)),W.code=g,W}return t(I)}(p);f[g]=E}function S(g,d){if(Array.isArray(g)){var p=g.length;return g=g.map(function(y){return String(y)}),p>2?"one of ".concat(d," ").concat(g.slice(0,p-1).join(", "),", or ")+g[p-1]:p===2?"one of ".concat(d," ").concat(g[0]," or ").concat(g[1]):"of ".concat(d," ").concat(g[0])}else return"of ".concat(d," ").concat(String(g))}function j(g,d,p){return g.substr(0,d.length)===d}function x(g,d,p){return(p===void 0||p>g.length)&&(p=g.length),g.substring(p-d.length,p)===d}function m(g,d,p){return typeof p!="number"&&(p=0),p+d.length>g.length?!1:g.indexOf(d,p)!==-1}return w("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),w("ERR_INVALID_ARG_TYPE",function(g,d,p){h===void 0&&(h=Kn()),h(typeof g=="string","'name' must be a string");var y;typeof d=="string"&&j(d,"not ")?(y="must not be",d=d.replace(/^not /,"")):y="must be";var E;if(x(g," argument"))E="The ".concat(g," ").concat(y," ").concat(S(d,"type"));else{var C=m(g,".")?"property":"argument";E='The "'.concat(g,'" ').concat(C," ").concat(y," ").concat(S(d,"type"))}return E+=". Received type ".concat(e(p)),E},TypeError),w("ERR_INVALID_ARG_VALUE",function(g,d){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=or());var y=v.inspect(d);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(p,". Received ").concat(y)},TypeError),w("ERR_INVALID_RETURN_VALUE",function(g,d,p){var y;return p&&p.constructor&&p.constructor.name?y="instance of ".concat(p.constructor.name):y="type ".concat(e(p)),"Expected ".concat(g,' to be returned from the "').concat(d,'"')+" function but got ".concat(y,".")},TypeError),w("ERR_MISSING_ARGS",function(){for(var g=arguments.length,d=new Array(g),p=0;p<g;p++)d[p]=arguments[p];h===void 0&&(h=Kn()),h(d.length>0,"At least one arg needs to be specified");var y="The ",E=d.length;switch(d=d.map(function(C){return'"'.concat(C,'"')}),E){case 1:y+="".concat(d[0]," argument");break;case 2:y+="".concat(d[0]," and ").concat(d[1]," arguments");break;default:y+=d.slice(0,E-1).join(", "),y+=", and ".concat(d[E-1]," arguments");break}return"".concat(y," must be specified")},TypeError),nn.codes=f,nn}var on,es;function xu(){if(es)return on;es=1;function e(_,F){var G=Object.keys(_);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(_);F&&(H=H.filter(function(Q){return Object.getOwnPropertyDescriptor(_,Q).enumerable})),G.push.apply(G,H)}return G}function t(_){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?e(Object(G),!0).forEach(function(H){r(_,H,G[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(G)):e(Object(G)).forEach(function(H){Object.defineProperty(_,H,Object.getOwnPropertyDescriptor(G,H))})}return _}function r(_,F,G){return F=s(F),F in _?Object.defineProperty(_,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):_[F]=G,_}function n(_,F){if(!(_ instanceof F))throw new TypeError("Cannot call a class as a function")}function o(_,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(_,s(H.key),H)}}function c(_,F,G){return F&&o(_.prototype,F),Object.defineProperty(_,"prototype",{writable:!1}),_}function s(_){var F=l(_,"string");return g(F)==="symbol"?F:String(F)}function l(_,F){if(g(_)!=="object"||_===null)return _;var G=_[Symbol.toPrimitive];if(G!==void 0){var H=G.call(_,F);if(g(H)!=="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function a(_,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(F&&F.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),F&&x(_,F)}function u(_){var F=S();return function(){var H=m(_),Q;if(F){var A=m(this).constructor;Q=Reflect.construct(H,arguments,A)}else Q=H.apply(this,arguments);return f(this,Q)}}function f(_,F){if(F&&(g(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(_)}function h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function v(_){var F=typeof Map=="function"?new Map:void 0;return v=function(H){if(H===null||!j(H))return H;if(typeof H!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(H))return F.get(H);F.set(H,Q)}function Q(){return w(H,arguments,m(this).constructor)}return Q.prototype=Object.create(H.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),x(Q,H)},v(_)}function w(_,F,G){return S()?w=Reflect.construct.bind():w=function(Q,A,R){var M=[null];M.push.apply(M,A);var z=Function.bind.apply(Q,M),L=new z;return R&&x(L,R.prototype),L},w.apply(null,arguments)}function S(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function j(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function x(_,F){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(H,Q){return H.__proto__=Q,H},x(_,F)}function m(_){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(G){return G.__proto__||Object.getPrototypeOf(G)},m(_)}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},g(_)}var d=or(),p=d.inspect,y=Ai(),E=y.codes.ERR_INVALID_ARG_TYPE;function C(_,F,G){return(G===void 0||G>_.length)&&(G=_.length),_.substring(G-F.length,G)===F}function T(_,F){if(F=Math.floor(F),_.length==0||F==0)return"";var G=_.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)_+=_,F--;return _+=_.substring(0,G-_.length),_}var I="",D="",N="",B="",W={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},ne=10;function te(_){var F=Object.keys(_),G=Object.create(Object.getPrototypeOf(_));return F.forEach(function(H){G[H]=_[H]}),Object.defineProperty(G,"message",{value:_.message}),G}function ge(_){return p(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Ce(_,F,G){var H="",Q="",A=0,R="",M=!1,z=ge(_),L=z.split(`
|
|
2
2
|
`),q=ge(F).split(`
|
|
3
3
|
`),Z=0,oe="";if(G==="strictEqual"&&g(_)==="object"&&g(F)==="object"&&_!==null&&F!==null&&(G="strictEqualObject"),L.length===1&&q.length===1&&L[0]!==q[0]){var pe=L[0].length+q[0].length;if(pe<=ne){if((g(_)!=="object"||_===null)&&(g(F)!=="object"||F===null)&&(_!==0||F!==0))return"".concat(W[G],`
|
|
4
4
|
|