@abtnode/blocklet-services 1.16.34-beta-20241126-120125-d0907434 → 1.16.34-beta-20241129-100152-679bd732
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/api/libs/image.js +3 -2
- package/api/libs/open-graph/index.js +24 -7
- package/api/routes/blocklet.js +34 -1
- package/api/services/image/index.js +16 -3
- package/dist/assets/{Add-CEnYgOex.js → Add-mXZrOf1h.js} +1 -1
- package/dist/assets/{Alert-CUutCRQM.js → Alert-DaafqUlw.js} +1 -1
- package/dist/assets/ArrowBackIos-BubgDQVS.js +1 -0
- package/dist/assets/{ArrowDropDown-DIG2GNpA.js → ArrowDropDown-BtoPSHd8.js} +1 -1
- package/dist/assets/{Autocomplete-BaPr9QiM.js → Autocomplete-Bi_-KQfy.js} +1 -1
- package/dist/assets/{Avatar-CeWQngrs.js → Avatar-Adx9Z0tZ.js} +1 -1
- package/dist/assets/{ButtonGroup-CfPEps06.js → ButtonGroup-BWb37jJW.js} +1 -1
- package/dist/assets/{CSSTransition-BZUscMXa.js → CSSTransition-Dh8w9n01.js} +1 -1
- package/dist/assets/{CheckCircle-CL0KsA5E.js → CheckCircle-CgD3tBC-.js} +1 -1
- package/dist/assets/{ChevronLeft-Qerk8qgF.js → ChevronLeft-CYIWlSCI.js} +1 -1
- package/dist/assets/{ChevronRight-CSGwuunG.js → ChevronRight-CwMDvr2n.js} +1 -1
- package/dist/assets/{Close-D6sXyhlH.js → Close-FBVHjH44.js} +1 -1
- package/dist/assets/Delete-CjUdkXlU.js +1 -0
- package/dist/assets/{DeleteOutline-8UjaH55s.js → DeleteOutline-CzTPA4kL.js} +1 -1
- package/dist/assets/DialogContentText-Dydxe3m7.js +1 -0
- package/dist/assets/{Done-Dgvss9oA.js → Done-PbP-u2lH.js} +1 -1
- package/dist/assets/{Download-ChsqP0uH.js → Download-pBnEdFOD.js} +1 -1
- package/dist/assets/EditIcon-D6m2tQ3O.js +1 -0
- package/dist/assets/{Error-FscbJgp7.js → Error-HNpddmqm.js} +1 -1
- package/dist/assets/{ExpandMore-GfZ-uN5v.js → ExpandMore-B8oaKzsK.js} +1 -1
- package/dist/assets/FormControl-DD67kWGJ.js +1 -0
- package/dist/assets/{FormControlLabel-X8LKIHS4.js → FormControlLabel-BaYmyBlu.js} +1 -1
- package/dist/assets/FormGroup-th0rZzfK.js +1 -0
- package/dist/assets/{Google-SNXE1Rfm.js → Google-BteNIqNP.js} +1 -1
- package/dist/assets/{Grid-CMn9enps.js → Grid-DxM3VqDH.js} +1 -1
- package/dist/assets/{HelpOutline-DMKvoG5B.js → HelpOutline-DYeyCE3o.js} +1 -1
- package/dist/assets/{Hidden-CuDy4bSo.js → Hidden-CXUMFZRF.js} +1 -1
- package/dist/assets/{InfoOutlined-DRNI79ap.js → InfoOutlined-BJbU1dHl.js} +1 -1
- package/dist/assets/{InputAdornment-trK1o6Ra.js → InputAdornment-BjTDlo1K.js} +1 -1
- package/dist/assets/{LastPage-DWacMALj.js → LastPage-DnljsHk-.js} +1 -1
- package/dist/assets/{Launch-nHt2LvAq.js → Launch-BeWg-XKa.js} +1 -1
- package/dist/assets/{LaunchOutlined-A7b6W5__.js → LaunchOutlined-DtUGH3OW.js} +1 -1
- package/dist/assets/Link-BEFhKJq0.js +1 -0
- package/dist/assets/{ListItemButton-CKeRCJ5w.js → ListItemButton-G-aWGmX0.js} +1 -1
- package/dist/assets/{ListSubheader-K22abWoa.js → ListSubheader-CJ8rPs4Q.js} +1 -1
- package/dist/assets/{LoadingButton-BDgaeIOh.js → LoadingButton-C-EDtX6C.js} +1 -1
- package/dist/assets/LockIcon-CYLVEooE.js +1 -0
- package/dist/assets/{Loop-FfybK8NL.js → Loop-CIgMv9HE.js} +1 -1
- package/dist/assets/{MarkEmailRead-Dc6AcWRS.js → MarkEmailRead-BNiANVq1.js} +1 -1
- package/dist/assets/Menu-BW47wukv.js +1 -0
- package/dist/assets/{MoreHoriz-QJ-dNyyA.js → MoreHoriz-CJmEH65j.js} +1 -1
- package/dist/assets/{MoreVert-B46gT3ic.js → MoreVert-DLwvbbqd.js} +1 -1
- package/dist/assets/{OpenInNew-BGNoXYXt.js → OpenInNew-K-C4gsO1.js} +1 -1
- package/dist/assets/{Pagination-BfKMdjic.js → Pagination-Dq4SzKhv.js} +1 -1
- package/dist/assets/{PlayArrow-BCwK0VYi.js → PlayArrow-n1twcRud.js} +1 -1
- package/dist/assets/QuestionMarkCircle-tCeIxlN3.js +1 -0
- package/dist/assets/{RadioGroup-BM5Kucog.js → RadioGroup-DIin5rK_.js} +1 -1
- package/dist/assets/{Search-vKjAZRDI.js → Search-BMru4B7h.js} +1 -1
- package/dist/assets/{Select-NBBlNRtC.js → Select-CDj8XFCr.js} +2 -2
- package/dist/assets/ServerLogo-DT7vgAES.js +1 -0
- package/dist/assets/{Skeleton-jwrjHAcT.js → Skeleton-Dq3yy5K4.js} +5 -5
- package/dist/assets/{Slider-CJXmz9ej.js → Slider-BBUwYcyt.js} +1 -1
- package/dist/assets/Stack-ID2bvJFU.js +1 -0
- package/dist/assets/{Stepper-mdLmfHWu.js → Stepper-oTT6WH0K.js} +1 -1
- package/dist/assets/{TextField-BE9HBBNF.js → TextField-GO8E4D8x.js} +1 -1
- package/dist/assets/{Toolbar-7qNQ4bZ4.js → Toolbar-Kng3WhVc.js} +1 -1
- package/dist/assets/{ViewColumn-BeJAI0RW.js → ViewColumn-gNP4x-sg.js} +1 -1
- package/dist/assets/{ViewList-BTSZluzD.js → ViewList-DpyY5ugC.js} +1 -1
- package/dist/assets/{_createAggregator-Cmwsfh55.js → _createAggregator-Bj6ourdE.js} +1 -1
- package/dist/assets/access-control-BG4EF_hx.js +13 -0
- package/dist/assets/{actions-BHddSviS.js → actions-egBtnEJO.js} +1 -1
- package/dist/assets/{add-component-core-B1Zb7GR1.js → add-component-core-BZjSv5V7.js} +597 -24
- package/dist/assets/add-resource-B4KK4ENF.js +1 -0
- package/dist/assets/addon-ChxdyV8s.js +31 -0
- package/dist/assets/{analytics-DasUNOZZ.js → analytics-BNddEk9_.js} +7 -7
- package/dist/assets/api-X6cMA7j1.js +1 -0
- package/dist/assets/ar-BVsNK7VV.js +1 -0
- package/dist/assets/{audit-logs-DGf6UpQ9.js → audit-logs-C5ukCiti.js} +1 -1
- package/dist/assets/{base32-CqVdgCv-.js → base32-DiHjpMk3.js} +1 -1
- package/dist/assets/{branding-D9mZ97it.js → branding-CNPED9Yg.js} +2 -2
- package/dist/assets/bundle-avatar-BMYoF8YT.js +1 -0
- package/dist/assets/{button-f1MmdcUZ.js → button-BUxzyD8I.js} +1 -1
- package/dist/assets/{click-to-copy-DvwHcRcx.js → click-to-copy-Chph5bbk.js} +1 -1
- package/dist/assets/{complete-Cm-0T_kv.js → complete-BqNLnMea.js} +4 -4
- package/dist/assets/{component-COIRVrMw.js → component-CHtRRUTN.js} +1 -1
- package/dist/assets/{config-Csj5xBon.js → config-5Lv3Gr6U.js} +1 -1
- package/dist/assets/{config-DFQuXpSq.js → config-D1inqCBz.js} +2 -2
- package/dist/assets/{config-navigation-BeY6OIBs.js → config-navigation-BVn4O5g1.js} +5 -5
- package/dist/assets/{config-space-B-uzzQOf.js → config-space-Bwfds2x7.js} +1 -1
- package/dist/assets/{confirm-BeuzMgKx.js → confirm-DF9JbbCJ.js} +2 -2
- package/dist/assets/{connect-DyhXk7LV.js → connect-BFfXSmaa.js} +1 -1
- package/dist/assets/{connect-BXJ-zYBM.js → connect-BbTj5LFE.js} +1 -1
- package/dist/assets/{connect-to-ClkUUvxy.js → connect-to-v0E4vbkK.js} +1 -1
- package/dist/assets/{content-layout-BuukPoQq.js → content-layout-BoriYFvl.js} +1 -1
- package/dist/assets/dashboard-vLl8x6aG.js +165 -0
- package/dist/assets/de-jtbglBCV.js +1 -0
- package/dist/assets/{deprecate-Ohw0wM22.js → deprecate-DCu9jut5.js} +1 -1
- package/dist/assets/{did-address-Dl7sEfPI.js → did-address-DOCLeksL.js} +1 -1
- package/dist/assets/domain-DRA23X8T.js +9 -0
- package/dist/assets/{domain-list-DPC_fR4s.js → domain-list-aULRrT5X.js} +2 -2
- package/dist/assets/{email-Dxr-3jU8.js → email-fEPnd-HL.js} +3 -3
- package/dist/assets/emotion-cache.browser.esm-BwirBJuO.js +1 -0
- package/dist/assets/es-DXzTkv77.js +1 -0
- package/dist/assets/{exchange-passport-be-akwXh.js → exchange-passport-CGMrX_va.js} +1 -1
- package/dist/assets/fallback-DHTsTOsA.js +15 -0
- package/dist/assets/{form-text-input-DqB1EkYl.js → form-text-input-DAeQJFrx.js} +2 -2
- package/dist/assets/{format-error-ax9-5p2F.js → format-error-DsLT-I_t.js} +1 -1
- package/dist/assets/fr-DB4Moo35.js +1 -0
- package/dist/assets/fuel-CiyBCkPM.js +32 -0
- package/dist/assets/fullpage-CTN6Odrg.js +1 -0
- package/dist/assets/hi-BZ8MRRQ-.js +1 -0
- package/dist/assets/{home-Sj4zjS4-.js → home-Bd2Tx88Q.js} +1 -1
- package/dist/assets/id-D0Dktlf7.js +1 -0
- package/dist/assets/{iframe-0YsarcCH.js → iframe-DJ2x9efl.js} +1 -1
- package/dist/assets/index-A6rXBmgc.js +102 -0
- package/dist/assets/{index-D8NuaJ66.css → index-B4oT57Ax.css} +1 -1
- package/dist/assets/{index-BFoE_Yt3.js → index-B5-lwWQw.js} +1 -1
- package/dist/assets/{index-sgeabixm.js → index-BFcr9JDQ.js} +17 -17
- package/dist/assets/index-BN0lgmDH.js +12 -0
- package/dist/assets/{index-DkC4Z7ZS.js → index-BT7-315i.js} +1 -1
- package/dist/assets/{index-XgLsjfUY.js → index-Be6nHNV0.js} +1 -1
- package/dist/assets/{index-CM5-ZMwr.js → index-BeFN5xGu.js} +3 -3
- package/dist/assets/index-BedxN_P9.js +11 -0
- package/dist/assets/{index-DhEfbg1G.js → index-BtSt5FGJ.js} +1 -1
- package/dist/assets/{index-L1uvdKP1.js → index-ByEY1S1p.js} +2 -2
- package/dist/assets/index-C6BTUKQj.js +316 -0
- package/dist/assets/{index-CmjMRcmz.js → index-C8Cmkjd6.js} +1 -1
- package/dist/assets/{index-3ihUy4xD.js → index-C9IrBso_.js} +1 -1
- package/dist/assets/index-C9XX9FI-.js +1 -0
- package/dist/assets/{index-emWbc0aq.js → index-CAz4oQnr.js} +1 -1
- package/dist/assets/{index-DSgReUML.js → index-CDzU6wY1.js} +2 -2
- package/dist/assets/index-CE5DZOEQ.js +1 -0
- package/dist/assets/{index-C94zTqbe.js → index-CPibawHo.js} +1 -1
- package/dist/assets/{index-Dv3UtNf0.js → index-C_rc1Lwt.js} +1 -1
- package/dist/assets/index-CdNrrBZk.js +1 -0
- package/dist/assets/{index-BPIr1Ect.js → index-CqjSnEu1.js} +2 -2
- package/dist/assets/index-D9Cgh-AY.js +721 -0
- package/dist/assets/{index-DUCjQn9B.js → index-DTzuTDWf.js} +6 -6
- package/dist/assets/{index-KQCKuBQl.js → index-DXZuEbMH.js} +1 -1
- package/dist/assets/index-DXpM5evR.js +222 -0
- package/dist/assets/index-Dazz_Sar.js +4 -0
- package/dist/assets/{index-k1mDfWTu.js → index-DbN4h3gH.js} +1 -1
- package/dist/assets/{index-CfzGAVxb.js → index-NlzmSJHU.js} +2 -2
- package/dist/assets/index-OU0ZpNT_.js +23 -0
- package/dist/assets/{index-BPPZQpLf.js → index-U-Ouf6WM.js} +1 -1
- package/dist/assets/{index-Chx10XyZ.js → index-XYcwhl4a.js} +8 -8
- package/dist/assets/{index-BcngleaY.js → index-bNbDSQ4T.js} +1 -1
- package/dist/assets/{index-Drscafxp.js → index-jHlcxkEo.js} +133 -133
- package/dist/assets/index-wBcLyYqT.js +291 -0
- package/dist/assets/{invitation-woQ5Oz_M.js → invitation-JKzrZ57O.js} +5 -5
- package/dist/assets/invite-BFrJHYMn.js +5 -0
- package/dist/assets/{isEmail-B5vNiuJV.js → isEmail-BEisyjCN.js} +1 -1
- package/dist/assets/issue-passport-BAtnRtOM.js +1 -0
- package/dist/assets/item-CwYliHGb.js +1 -0
- package/dist/assets/ja-DI5zkdyH.js +1 -0
- package/dist/assets/{jss-plugin-props-sort.esm-DqLky9fL.js → jss-plugin-props-sort.esm-l47fXiIJ.js} +5 -5
- package/dist/assets/ko-C6JgKTYW.js +1 -0
- package/dist/assets/{launch-result-message-BHmkx4EK.js → launch-result-message-Bl-IHSrE.js} +1 -1
- package/dist/assets/{layout-BjYG2I0e.js → layout-luBpKsnB.js} +1 -1
- package/dist/assets/lexend-latin-400-normal-CPgf14r2.woff +0 -0
- package/dist/assets/lexend-latin-400-normal-LvJAK7uG.woff2 +0 -0
- package/dist/assets/lexend-latin-600-normal-D8bhWLUa.woff +0 -0
- package/dist/assets/lexend-latin-600-normal-VdgXozci.woff2 +0 -0
- package/dist/assets/lexend-latin-ext-400-normal-B0aX7OG-.woff +0 -0
- package/dist/assets/lexend-latin-ext-400-normal-BlThJp1_.woff2 +0 -0
- package/dist/assets/lexend-latin-ext-600-normal-CELw40v5.woff +0 -0
- package/dist/assets/lexend-latin-ext-600-normal-rzWO8Q-F.woff2 +0 -0
- package/dist/assets/lexend-vietnamese-400-normal-BAxGSwny.woff +0 -0
- package/dist/assets/lexend-vietnamese-400-normal-DoLa7jNB.woff2 +0 -0
- package/dist/assets/lexend-vietnamese-600-normal-BiQS-yCJ.woff +0 -0
- package/dist/assets/lexend-vietnamese-600-normal-Cr1ePs6O.woff2 +0 -0
- package/dist/assets/list-header-D0D_tjRh.js +57 -0
- package/dist/assets/localization-C1hNyLvD.js +1 -0
- package/dist/assets/{log-BWvBeyFu.js → log-Df2I_fqe.js} +1 -1
- package/dist/assets/{login-BmaH-PFO.js → login-DyZA9iO2.js} +1 -1
- package/dist/assets/{login-oauth-callback-jcq2ro8T.js → login-oauth-callback-C9pBHvVm.js} +1 -1
- package/dist/assets/logo-uploader-BoJpubye.js +133 -0
- package/dist/assets/{lost-passport-DwrNxBrg.js → lost-passport-UDuDlY7N.js} +4 -4
- package/dist/assets/{lottie-react.esm-Crfv_vrn.js → lottie-react.esm-BcAg_zzZ.js} +1 -1
- package/dist/assets/{notifications-C6hijIai.js → notifications-Dwy1x_4b.js} +2 -2
- package/dist/assets/{open-window-C0yEQai7.js → open-window-T5jgTpk6.js} +1 -1
- package/dist/assets/overview-DxoUd1AE.js +12 -0
- package/dist/assets/{permission-C34_PWS3.js → permission-B0L9pgvB.js} +1 -1
- package/dist/assets/{preferences-T7CTeNR7.js → preferences-BMHmIBuj.js} +1 -1
- package/dist/assets/pt-F1XUE4F0.js +1 -0
- package/dist/assets/publish-resource-BcJxqHgb.js +1 -0
- package/dist/assets/purify.es-CCJo14B2.js +2 -0
- package/dist/assets/{raf-schd.esm-D8AMXkr5.js → raf-schd.esm-DbYZ8cuK.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-DVrxw2Fw.js → react-beautiful-dnd.esm-B8s8Je1D.js} +1 -1
- package/dist/assets/refType-CwbBamWm.js +1 -0
- package/dist/assets/resource-dialog-CQSjUEGn.js +4 -0
- package/dist/assets/ru-DMrR-cU9.js +1 -0
- package/dist/assets/sdk-Lodb3mfy.js +1 -0
- package/dist/assets/selector-BB2fFIXP.js +48 -0
- package/dist/assets/session-D3zyh62B.js +1 -0
- package/dist/assets/setup-B6L46KHj.js +562 -0
- package/dist/assets/{shorten-label-DgSj_iKd.js → shorten-label-ZyDji4qi.js} +1 -1
- package/dist/assets/{simple-select-D5JsYrcp.js → simple-select-DKsN30ub.js} +1 -1
- package/dist/assets/{slicedToArray-BvEze-go.js → slicedToArray-Drxe8-64.js} +2 -2
- package/dist/assets/{start-DMZ_83G5.js → start-DxaM-09J.js} +1 -1
- package/dist/assets/step-actions-DQ0D400i.js +61 -0
- package/dist/assets/{studio-CJHXx3nz.js → studio-THNjOZL1.js} +1 -1
- package/dist/assets/{switch-control-BCRT7NPQ.js → switch-control-DkucmIR-.js} +1 -1
- package/dist/assets/th-CJB7WnNL.js +1 -0
- package/dist/assets/{toUpper-VL7Bgo0i.js → toUpper-BHGjhPud.js} +1 -1
- package/dist/assets/{transfer-v1LLtXqH.js → transfer-DaOZAizQ.js} +1 -1
- package/dist/assets/trim-CaA4via3.js +1 -0
- package/dist/assets/{uniqBy-Ds-3fKqa.js → uniqBy-CH7S750Q.js} +1 -1
- package/dist/assets/unsubscribe-DtBxc6TZ.js +1 -0
- package/dist/assets/{url-join-CJw6XrTa.js → url-join-sg6DH6qt.js} +1 -1
- package/dist/assets/use-mobile-CM0Yohdc.js +1 -0
- package/dist/assets/use-mobile-Cz-VrkwE.js +1 -0
- package/dist/assets/{useAsync-B3AEn2Wm.js → useAsync-NthGdZ_B.js} +1 -1
- package/dist/assets/{useFormControl-DzctaIge.js → useFormControl-CS6vjtl0.js} +1 -1
- package/dist/assets/useLocalStorage-Kt0ynk4Q.js +1 -0
- package/dist/assets/{useSetState-Byn4PXJ9.js → useSetState-DUhj3dVg.js} +1 -1
- package/dist/assets/useSlot-D-6cy3hj.js +1 -0
- package/dist/assets/{useSlotProps-Cm4YEMsK.js → useSlotProps-CEuB5YLI.js} +1 -1
- package/dist/assets/{useThemeProps-BCjwemRG.js → useThemeProps-CmIdHfIC.js} +1 -1
- package/dist/assets/user-center-BO_McZ0Z.js +1 -0
- package/dist/assets/{user-sessions-D7CwcMwf.js → user-sessions-BXhrzhKK.js} +1 -1
- package/dist/assets/{util-tRug1FPz.js → util-CRg7-9Pj.js} +1 -1
- package/dist/assets/vi-U1GPEq8E.js +1 -0
- package/dist/assets/wrap-locale-Dj-ckYCY.js +1 -0
- package/dist/assets/{zh-A1yYniN5.js → zh-B1PHGWyj.js} +1 -1
- package/dist/assets/zh-tw-B9CGi8IO.js +1 -0
- package/dist/index.html +2 -2
- package/dist/service-worker.js +1 -1
- package/package.json +36 -36
- package/dist/assets/Delete-CmO5kVHD.js +0 -1
- package/dist/assets/DialogContentText-B00yXaoi.js +0 -1
- package/dist/assets/EditIcon-COwmruWo.js +0 -1
- package/dist/assets/FormControl-C6JD7494.js +0 -1
- package/dist/assets/FormGroup-NRynWVWb.js +0 -1
- package/dist/assets/Link-DmneDBbP.js +0 -1
- package/dist/assets/LockIcon-HEOjrnKf.js +0 -1
- package/dist/assets/Menu-ICImY48f.js +0 -1
- package/dist/assets/QuestionMarkCircle-BRwsi4c3.js +0 -1
- package/dist/assets/ServerLogo-Be4McAaJ.js +0 -1
- package/dist/assets/Stack-DXMuFZOU.js +0 -1
- package/dist/assets/access-control-PlOvJ_AO.js +0 -13
- package/dist/assets/add-resource-D1dS9Z66.js +0 -1
- package/dist/assets/addon-FDUmsP1a.js +0 -31
- package/dist/assets/api-CHM7C61K.js +0 -1
- package/dist/assets/ar-CmDfOHUd.js +0 -1
- package/dist/assets/bundle-avatar-CmcJLcUi.js +0 -1
- package/dist/assets/dashboard-lE_T9vNV.js +0 -165
- package/dist/assets/de-CXIPlUxD.js +0 -1
- package/dist/assets/domain-0D6iyno8.js +0 -9
- package/dist/assets/emotion-cache.browser.esm-OvB3R1tt.js +0 -1
- package/dist/assets/es-B50lAPD2.js +0 -1
- package/dist/assets/fallback-BtrnFKYB.js +0 -15
- package/dist/assets/fr-CUxIEpIE.js +0 -1
- package/dist/assets/fuel-M6wo1TMe.js +0 -32
- package/dist/assets/fullpage-Be5VLtbn.js +0 -1
- package/dist/assets/hi-wDpKXbu9.js +0 -1
- package/dist/assets/id-DEzHxPLY.js +0 -1
- package/dist/assets/index-B4pJXjk5.js +0 -721
- package/dist/assets/index-BdQKsIdG.js +0 -316
- package/dist/assets/index-BpmSJ9Yl.js +0 -1
- package/dist/assets/index-Bs6sOIsv.js +0 -11
- package/dist/assets/index-CB8xpfia.js +0 -4
- package/dist/assets/index-CToJFS2F.js +0 -102
- package/dist/assets/index-CsIL9BNL.js +0 -1
- package/dist/assets/index-Ctype_yD.js +0 -544
- package/dist/assets/index-D1gRNL5z.js +0 -291
- package/dist/assets/index-RI50EWV7.js +0 -23
- package/dist/assets/index-dwIzYyMO.js +0 -12
- package/dist/assets/index-lNUKqVwv.js +0 -222
- package/dist/assets/invite-BVQ7mP5X.js +0 -5
- package/dist/assets/issue-passport-BVA9lwvN.js +0 -1
- package/dist/assets/item-CozCCAB-.js +0 -1
- package/dist/assets/ja-e3wmzqpV.js +0 -1
- package/dist/assets/ko-9yz1hS_o.js +0 -1
- package/dist/assets/list-header-U7WlkshP.js +0 -57
- package/dist/assets/localization-BhW_1W55.js +0 -1
- package/dist/assets/logo-uploader-DRw1h7P9.js +0 -133
- package/dist/assets/overview-DdYvrtas.js +0 -12
- package/dist/assets/page-header-DfEZNX4T.js +0 -31
- package/dist/assets/pt-B3sa7Mxx.js +0 -1
- package/dist/assets/publish-resource-RK5OgLdI.js +0 -1
- package/dist/assets/purify.es-Bq0E5Q3l.js +0 -2
- package/dist/assets/refType-CRusJQhT.js +0 -1
- package/dist/assets/resource-dialog-CQkjcdEl.js +0 -4
- package/dist/assets/ru-NJ14fMtU.js +0 -1
- package/dist/assets/sdk-D9DeARmG.js +0 -1
- package/dist/assets/selector-DyynUZ1K.js +0 -48
- package/dist/assets/session-DwStRueZ.js +0 -1
- package/dist/assets/setup-BM9MxCRJ.js +0 -19
- package/dist/assets/step-actions-BhqRwM1p.js +0 -31
- package/dist/assets/th-D44cwFba.js +0 -1
- package/dist/assets/trim-DP0jYool.js +0 -1
- package/dist/assets/unsubscribe-BVuSOEEx.js +0 -1
- package/dist/assets/use-mobile-BOfpe7EU.js +0 -1
- package/dist/assets/use-mobile-CK46GXLD.js +0 -1
- package/dist/assets/useLocalStorage-C6aEhqFy.js +0 -1
- package/dist/assets/useSlot-BcOJq--Y.js +0 -1
- package/dist/assets/user-center-CgfPJ8DB.js +0 -1
- package/dist/assets/vi-D_0aqEIk.js +0 -1
- package/dist/assets/wrap-locale-CQSXZnej.js +0 -1
- package/dist/assets/zh-tw-W4HWUCjf.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aG as ve,aH as me,aI as X,cR as $e,aJ as He,aM as p,r as d,aK as Se,aL as ae,aO as L,j as u,aP as ge,av as Ae,cM as at,cS as Oe,cT as Xe,cU as De,aN as se,al as it,cV as fe,cW as ct,bu as dt,bE as F,P as W}from"./index-Drscafxp.js";let K;function _e(){if(K)return K;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),K="reverse",e.scrollLeft>0?K="default":(e.scrollLeft=1,e.scrollLeft===0&&(K="negative")),document.body.removeChild(e),K}function ut(e,t){const l=e.scrollLeft;if(t!=="rtl")return l;switch(_e()){case"negative":return e.scrollWidth-e.clientWidth+l;case"reverse":return e.scrollWidth-e.clientWidth-l;default:return l}}function bt(e){return me("MuiTab",e)}const k=ve("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),pt=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],ft=e=>{const{classes:t,textColor:l,fullWidth:s,wrapped:n,icon:a,label:v,selected:h,disabled:b}=e,g={root:["root",a&&v&&"labelIcon",`textColor${He(l)}`,s&&"fullWidth",n&&"wrapped",h&&"selected",b&&"disabled"],iconWrapper:["iconWrapper"]};return ge(g,bt,t)},ht=X($e,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[t.root,l.label&&l.icon&&t.labelIcon,t[`textColor${He(l.textColor)}`],l.fullWidth&&t.fullWidth,l.wrapped&&t.wrapped,{[`& .${k.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>p({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${k.iconWrapper}`]:p({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${k.selected}`]:{opacity:1},[`&.${k.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${k.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${k.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${k.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${k.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),xe=d.forwardRef(function(t,l){const s=Se({props:t,name:"MuiTab"}),{className:n,disabled:a=!1,disableFocusRipple:v=!1,fullWidth:h,icon:b,iconPosition:g="top",indicator:B,label:y,onChange:m,onClick:w,onFocus:j,selected:T,selectionFollowsFocus:x,textColor:D="inherit",value:R,wrapped:ie=!1}=s,_=ae(s,pt),V=p({},s,{disabled:a,disableFocusRipple:v,selected:T,icon:!!b,iconPosition:g,label:!!y,fullWidth:h,textColor:D,wrapped:ie}),q=ft(V),$=b&&y&&d.isValidElement(b)?d.cloneElement(b,{className:L(q.iconWrapper,b.props.className)}):b,ee=E=>{!T&&m&&m(E,R),w&&w(E)},U=E=>{x&&!T&&m&&m(E,R),j&&j(E)};return u.jsxs(ht,p({focusRipple:!v,className:L(q.root,n),ref:l,role:"tab","aria-selected":T,disabled:a,onClick:ee,onFocus:U,ownerState:V,tabIndex:T?0:-1},_,{children:[g==="top"||g==="start"?u.jsxs(d.Fragment,{children:[$,y]}):u.jsxs(d.Fragment,{children:[y,$]}),B]}))}),vt=Ae(u.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),mt=Ae(u.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function St(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function gt(e,t,l,s={},n=()=>{}){const{ease:a=St,duration:v=300}=s;let h=null;const b=t[e];let g=!1;const B=()=>{g=!0},y=m=>{if(g){n(new Error("Animation cancelled"));return}h===null&&(h=m);const w=Math.min(1,(m-h)/v);if(t[e]=a(w)*(l-b)+b,w>=1){requestAnimationFrame(()=>{n(null)});return}requestAnimationFrame(y)};return b===l?(n(new Error("Element already at target position")),B):(requestAnimationFrame(y),B)}const xt=["onChange"],yt={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Ct(e){const{onChange:t}=e,l=ae(e,xt),s=d.useRef(),n=d.useRef(null),a=()=>{s.current=n.current.offsetHeight-n.current.clientHeight};return at(()=>{const v=Oe(()=>{const b=s.current;a(),b!==s.current&&t(s.current)}),h=Xe(n.current);return h.addEventListener("resize",v),()=>{v.clear(),h.removeEventListener("resize",v)}},[t]),d.useEffect(()=>{a(),t(s.current)},[t]),u.jsx("div",p({style:yt,ref:n},l))}function Bt(e){return me("MuiTabScrollButton",e)}const wt=ve("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Tt=["className","slots","slotProps","direction","orientation","disabled"],Mt=e=>{const{classes:t,orientation:l,disabled:s}=e;return ge({root:["root",l,s&&"disabled"]},Bt,t)},It=X($e,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[t.root,l.orientation&&t[l.orientation]]}})(({ownerState:e})=>p({width:40,flexShrink:0,opacity:.8,[`&.${wt.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),Rt=d.forwardRef(function(t,l){var s,n;const a=Se({props:t,name:"MuiTabScrollButton"}),{className:v,slots:h={},slotProps:b={},direction:g}=a,B=ae(a,Tt),y=De(),m=p({isRtl:y},a),w=Mt(m),j=(s=h.StartScrollButtonIcon)!=null?s:vt,T=(n=h.EndScrollButtonIcon)!=null?n:mt,x=se({elementType:j,externalSlotProps:b.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),D=se({elementType:T,externalSlotProps:b.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return u.jsx(It,p({component:"div",className:L(w.root,v),ref:l,role:null,ownerState:m,tabIndex:null},B,{children:g==="left"?u.jsx(j,p({},x)):u.jsx(T,p({},D))}))});function Et(e){return me("MuiTabs",e)}const he=ve("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),zt=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],ke=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,Le=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,ne=(e,t,l)=>{let s=!1,n=l(e,t);for(;n;){if(n===e.firstChild){if(s)return;s=!0}const a=n.disabled||n.getAttribute("aria-disabled")==="true";if(!n.hasAttribute("tabindex")||a)n=l(e,n);else{n.focus();return}}},Wt=e=>{const{vertical:t,fixed:l,hideScrollbar:s,scrollableX:n,scrollableY:a,centered:v,scrollButtonsHideMobile:h,classes:b}=e;return ge({root:["root",t&&"vertical"],scroller:["scroller",l&&"fixed",s&&"hideScrollbar",n&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",v&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",h&&"scrollButtonsHideMobile"],scrollableX:[n&&"scrollableX"],hideScrollbar:[s&&"hideScrollbar"]},Et,b)},Pt=X("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[{[`& .${he.scrollButtons}`]:t.scrollButtons},{[`& .${he.scrollButtons}`]:l.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,l.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>p({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${he.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),Nt=X("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[t.scroller,l.fixed&&t.fixed,l.hideScrollbar&&t.hideScrollbar,l.scrollableX&&t.scrollableX,l.scrollableY&&t.scrollableY]}})(({ownerState:e})=>p({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),kt=X("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[t.flexContainer,l.vertical&&t.flexContainerVertical,l.centered&&t.centered]}})(({ownerState:e})=>p({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Lt=X("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>p({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Ft=X(Ct)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Fe={},ye=d.forwardRef(function(t,l){const s=Se({props:t,name:"MuiTabs"}),n=it(),a=De(),{"aria-label":v,"aria-labelledby":h,action:b,centered:g=!1,children:B,className:y,component:m="div",allowScrollButtonsMobile:w=!1,indicatorColor:j="primary",onChange:T,orientation:x="horizontal",ScrollButtonComponent:D=Rt,scrollButtons:R="auto",selectionFollowsFocus:ie,slots:_={},slotProps:V={},TabIndicatorProps:q={},TabScrollButtonProps:$={},textColor:ee="primary",value:U,variant:E="standard",visibleScrollbar:ce=!1}=s,Ke=ae(s,zt),M=E==="scrollable",C=x==="vertical",G=C?"scrollTop":"scrollLeft",te=C?"top":"left",oe=C?"bottom":"right",de=C?"clientHeight":"clientWidth",J=C?"height":"width",H=p({},s,{component:m,allowScrollButtonsMobile:w,indicatorColor:j,orientation:x,vertical:C,scrollButtons:R,textColor:ee,variant:E,visibleScrollbar:ce,fixed:!M,hideScrollbar:M&&!ce,scrollableX:M&&!C,scrollableY:M&&C,centered:g&&!M,scrollButtonsHideMobile:!w}),P=Wt(H),Ye=se({elementType:_.StartScrollButtonIcon,externalSlotProps:V.startScrollButtonIcon,ownerState:H}),Ve=se({elementType:_.EndScrollButtonIcon,externalSlotProps:V.endScrollButtonIcon,ownerState:H}),[Ce,Ge]=d.useState(!1),[A,Be]=d.useState(Fe),[we,Je]=d.useState(!1),[Te,Qe]=d.useState(!1),[Me,Ze]=d.useState(!1),[Ie,et]=d.useState({overflow:"hidden",scrollbarWidth:0}),Re=new Map,z=d.useRef(null),O=d.useRef(null),Ee=()=>{const o=z.current;let r;if(o){const i=o.getBoundingClientRect();r={clientWidth:o.clientWidth,scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,scrollLeftNormalized:ut(o,a?"rtl":"ltr"),scrollWidth:o.scrollWidth,top:i.top,bottom:i.bottom,left:i.left,right:i.right}}let c;if(o&&U!==!1){const i=O.current.children;if(i.length>0){const f=i[Re.get(U)];c=f?f.getBoundingClientRect():null}}return{tabsMeta:r,tabMeta:c}},Q=fe(()=>{const{tabsMeta:o,tabMeta:r}=Ee();let c=0,i;if(C)i="top",r&&o&&(c=r.top-o.top+o.scrollTop);else if(i=a?"right":"left",r&&o){const S=a?o.scrollLeftNormalized+o.clientWidth-o.scrollWidth:o.scrollLeft;c=(a?-1:1)*(r[i]-o[i]+S)}const f={[i]:c,[J]:r?r[J]:0};if(isNaN(A[i])||isNaN(A[J]))Be(f);else{const S=Math.abs(A[i]-f[i]),I=Math.abs(A[J]-f[J]);(S>=1||I>=1)&&Be(f)}}),ue=(o,{animation:r=!0}={})=>{r?gt(G,z.current,o,{duration:n.transitions.duration.standard}):z.current[G]=o},ze=o=>{let r=z.current[G];C?r+=o:(r+=o*(a?-1:1),r*=a&&_e()==="reverse"?-1:1),ue(r)},We=()=>{const o=z.current[de];let r=0;const c=Array.from(O.current.children);for(let i=0;i<c.length;i+=1){const f=c[i];if(r+f[de]>o){i===0&&(r=o);break}r+=f[de]}return r},tt=()=>{ze(-1*We())},ot=()=>{ze(We())},lt=d.useCallback(o=>{et({overflow:null,scrollbarWidth:o})},[]),rt=()=>{const o={};o.scrollbarSizeListener=M?u.jsx(Ft,{onChange:lt,className:L(P.scrollableX,P.hideScrollbar)}):null;const c=M&&(R==="auto"&&(we||Te)||R===!0);return o.scrollButtonStart=c?u.jsx(D,p({slots:{StartScrollButtonIcon:_.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:Ye},orientation:x,direction:a?"right":"left",onClick:tt,disabled:!we},$,{className:L(P.scrollButtons,$.className)})):null,o.scrollButtonEnd=c?u.jsx(D,p({slots:{EndScrollButtonIcon:_.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:Ve},orientation:x,direction:a?"left":"right",onClick:ot,disabled:!Te},$,{className:L(P.scrollButtons,$.className)})):null,o},Pe=fe(o=>{const{tabsMeta:r,tabMeta:c}=Ee();if(!(!c||!r)){if(c[te]<r[te]){const i=r[G]+(c[te]-r[te]);ue(i,{animation:o})}else if(c[oe]>r[oe]){const i=r[G]+(c[oe]-r[oe]);ue(i,{animation:o})}}}),le=fe(()=>{M&&R!==!1&&Ze(!Me)});d.useEffect(()=>{const o=Oe(()=>{z.current&&Q()});let r;const c=S=>{S.forEach(I=>{I.removedNodes.forEach(Z=>{var N;(N=r)==null||N.unobserve(Z)}),I.addedNodes.forEach(Z=>{var N;(N=r)==null||N.observe(Z)})}),o(),le()},i=Xe(z.current);i.addEventListener("resize",o);let f;return typeof ResizeObserver<"u"&&(r=new ResizeObserver(o),Array.from(O.current.children).forEach(S=>{r.observe(S)})),typeof MutationObserver<"u"&&(f=new MutationObserver(c),f.observe(O.current,{childList:!0})),()=>{var S,I;o.clear(),i.removeEventListener("resize",o),(S=f)==null||S.disconnect(),(I=r)==null||I.disconnect()}},[Q,le]),d.useEffect(()=>{const o=Array.from(O.current.children),r=o.length;if(typeof IntersectionObserver<"u"&&r>0&&M&&R!==!1){const c=o[0],i=o[r-1],f={root:z.current,threshold:.99},S=pe=>{Je(!pe[0].isIntersecting)},I=new IntersectionObserver(S,f);I.observe(c);const Z=pe=>{Qe(!pe[0].isIntersecting)},N=new IntersectionObserver(Z,f);return N.observe(i),()=>{I.disconnect(),N.disconnect()}}},[M,R,Me,B==null?void 0:B.length]),d.useEffect(()=>{Ge(!0)},[]),d.useEffect(()=>{Q()}),d.useEffect(()=>{Pe(Fe!==A)},[Pe,A]),d.useImperativeHandle(b,()=>({updateIndicator:Q,updateScrollButtons:le}),[Q,le]);const Ne=u.jsx(Lt,p({},q,{className:L(P.indicator,q.className),ownerState:H,style:p({},A,q.style)}));let re=0;const nt=d.Children.map(B,o=>{if(!d.isValidElement(o))return null;const r=o.props.value===void 0?re:o.props.value;Re.set(r,re);const c=r===U;return re+=1,d.cloneElement(o,p({fullWidth:E==="fullWidth",indicator:c&&!Ce&&Ne,selected:c,selectionFollowsFocus:ie,onChange:T,textColor:ee,value:r},re===1&&U===!1&&!o.props.tabIndex?{tabIndex:0}:{}))}),st=o=>{const r=O.current,c=ct(r).activeElement;if(c.getAttribute("role")!=="tab")return;let f=x==="horizontal"?"ArrowLeft":"ArrowUp",S=x==="horizontal"?"ArrowRight":"ArrowDown";switch(x==="horizontal"&&a&&(f="ArrowRight",S="ArrowLeft"),o.key){case f:o.preventDefault(),ne(r,c,Le);break;case S:o.preventDefault(),ne(r,c,ke);break;case"Home":o.preventDefault(),ne(r,null,ke);break;case"End":o.preventDefault(),ne(r,null,Le);break}},be=rt();return u.jsxs(Pt,p({className:L(P.root,y),ownerState:H,ref:l,as:m},Ke,{children:[be.scrollButtonStart,be.scrollbarSizeListener,u.jsxs(Nt,{className:P.scroller,ownerState:H,style:{overflow:Ie.overflow,[C?`margin${a?"Left":"Right"}`:"marginBottom"]:ce?void 0:-Ie.scrollbarWidth},ref:z,children:[u.jsx(kt,{"aria-label":v,"aria-labelledby":h,"aria-orientation":x==="vertical"?"vertical":null,className:P.flexContainer,ownerState:H,onKeyDown:st,ref:O,role:"tablist",children:nt}),Ce&&Ne]}),be.scrollButtonEnd]}))}),je="index",Y={tabs:`${je}-tabs`,tab:`${je}-tab`},jt=dt(ye)(({theme:e})=>({[`& .${Y.tabs}`]:{},[`& .${Y.tab}`]:{fontSize:"0.875rem",[e.breakpoints.up("md")]:{fontSize:"1rem"}}}));function qe({tabs:e,current:t,onChange:l,...s}){return u.jsx(ye,{scrollButtons:"auto",value:t,onChange:(n,a)=>l(a),...s,variant:"scrollable",sx:{minHeight:"auto",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3,cursor:"not-allowed",pointerEvents:"auto"},".MuiTabs-scroller":{borderRadius:"100vw"},".MuiTabs-flexContainer":{borderRadius:"100vw",backgroundColor:F.backgroundsBgComponent,padding:.5,display:"inline-flex",columnGap:.25,maxWidth:"100%",overflowX:"auto"},".MuiTab-root":{borderRadius:"100vw",border:"1px solid transparent",minHeight:"auto",lineHeight:1,py:1,color:F.foregroundsFgSubtile,fontSize:"13px",fontWeight:"normal",textTransform:"capitalize",transition:"background-color 0.2s ease","&.Mui-selected, &:hover":{backgroundColor:"white",borderColor:F.lineBorderBase,color:F.foregroundsFgBase}},".MuiTabs-indicator":{display:"none"},...s.sx},children:e.map(n=>u.jsx(xe,{className:Y.tab,value:n.value,label:n.label,icon:n.icon||null},n.value))})}qe.propTypes={tabs:W.array.isRequired,current:W.string.isRequired,onChange:W.func.isRequired};function Ue({tabs:e,current:t,onChange:l,...s}){return u.jsx(ye,{scrollButtons:"auto",value:t,onChange:(n,a)=>l(a),...s,variant:"scrollable",sx:{minHeight:"auto",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3,cursor:"not-allowed",pointerEvents:"auto"},".MuiTabs-scroller":{"&::after":{content:'""',display:"block",width:"100%",height:"1px",backgroundColor:F.strokeBorderStrong,bottom:0}},".MuiTabs-flexContainer":{display:"inline-flex",columnGap:2.5,px:0,pb:.5},".MuiTab-root":{border:"1px solid transparent",minHeight:"auto",lineHeight:1,py:1,px:0,color:F.foregroundsFgSubtile,fontSize:"14px",fontWeight:500,textTransform:"capitalize",minWidth:"auto","&.Mui-selected, &:hover":{color:F.foregroundsFgBase}},".MuiTabs-indicator":{height:"1px",backgroundColor:F.foregroundsFgBase},...s.sx},children:e.map(n=>u.jsx(xe,{className:Y.tab,value:n.value,label:n.label,icon:n.icon||null},n.value))})}Ue.propTypes={tabs:W.array.isRequired,current:W.string.isRequired,onChange:W.func.isRequired};function $t({tabs:e,current:t,onChange:l,...s}){return s.variant==="card"?u.jsx(qe,{...s,tabs:e,current:t,onChange:l}):s.variant==="line"?u.jsx(Ue,{...s,tabs:e,current:t,onChange:l}):u.jsx(jt,{scrollButtons:"auto",variant:"scrollable",value:t,onChange:(n,a)=>l(a),indicatorColor:"primary",...s,className:[Y.tabs,s.className||""].join(" "),children:e.map(n=>u.jsx(xe,{className:Y.tab,value:n.value,label:n.label,icon:n.icon||null},n.value))})}$t.propTypes={tabs:W.array.isRequired,current:W.string.isRequired,onChange:W.func.isRequired};export{mt as K,$t as T,vt as a,ye as b,xe as c,_e as d,ut as g};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
var dt=Object.defineProperty;var ht=(e,n,t)=>n in e?dt(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var D=(e,n,t)=>ht(e,typeof n!="symbol"?n+"":n,t);import{P as f,r as j,Q as pt,l as gt,j as m,aE as mt,bF as be,bo as yt,bp as bt,dh as wt,ak as xt,bE as C,bm as It,B as St,di as vt,T as Tt,dj as Ct,dk as At,a3 as jt,dl as Pt,bC as Fe,u as ze,aF as kt,f as Lt,E as Mt}from"./index-Drscafxp.js";import{D as Et}from"./index-B4pJXjk5.js";import{L as Ot}from"./MoreVert-B46gT3ic.js";import{L as Rt}from"./ListItemButton-CKeRCJ5w.js";import{L as qt}from"./selector-DyynUZ1K.js";/**
|
|
2
|
-
* (c) Iconify
|
|
3
|
-
*
|
|
4
|
-
* For the full copyright and license information, please view the license.txt
|
|
5
|
-
* files at https://github.com/iconify/iconify
|
|
6
|
-
*
|
|
7
|
-
* Licensed under MIT.
|
|
8
|
-
*
|
|
9
|
-
* @license MIT
|
|
10
|
-
* @version 1.0.8
|
|
11
|
-
*/const He=Object.freeze({left:0,top:0,width:16,height:16}),V=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),F=Object.freeze({...He,...V}),te=Object.freeze({...F,body:"",hidden:!1}),_t=Object.freeze({width:null,height:null}),Be=Object.freeze({..._t,...V});function Nt(e,n=0){const t=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(t===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(t!==e){let o=0;switch(t){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-t.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return n}const Ft=/[\s,]+/;function zt(e,n){n.split(Ft).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const De={...Be,preserveAspectRatio:""};function we(e){const n={...De},t=(r,o)=>e.getAttribute(r)||o;return n.width=t("width",null),n.height=t("height",null),n.rotate=Nt(t("rotate","")),zt(n,t("flip","")),n.preserveAspectRatio=t("preserveAspectRatio",t("preserveaspectratio","")),n}function Ht(e,n){for(const t in De)if(e[t]!==n[t])return!0;return!1}const O=/^[a-z0-9]+(-[a-z0-9]+)*$/,z=(e,n,t,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:a};return n&&!U(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return n&&!U(a)?null:a}if(t&&r===""){const a={provider:r,prefix:"",name:s};return n&&!U(a,t)?null:a}return null},U=(e,n)=>e?!!((e.provider===""||e.provider.match(O))&&(n&&e.prefix===""||e.prefix.match(O))&&e.name.match(O)):!1;function Bt(e,n){const t={};!e.hFlip!=!n.hFlip&&(t.hFlip=!0),!e.vFlip!=!n.vFlip&&(t.vFlip=!0);const r=((e.rotate||0)+(n.rotate||0))%4;return r&&(t.rotate=r),t}function xe(e,n){const t=Bt(e,n);for(const r in te)r in V?r in e&&!(r in t)&&(t[r]=V[r]):r in n?t[r]=n[r]:r in e&&(t[r]=e[r]);return t}function Dt(e,n){const t=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(t[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,c=a&&s(a);c&&(o[i]=[a].concat(c))}return o[i]}return Object.keys(t).concat(Object.keys(r)).forEach(s),o}function $t(e,n,t){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=xe(r[a]||o[a],s)}return i(n),t.forEach(i),xe(e,s)}function $e(e,n){const t=[];if(typeof e!="object"||typeof e.icons!="object")return t;e.not_found instanceof Array&&e.not_found.forEach(o=>{n(o,null),t.push(o)});const r=Dt(e);for(const o in r){const s=r[o];s&&(n(o,$t(e,o,s)),t.push(o))}return t}const Ut={provider:"",aliases:{},not_found:{},...He};function X(e,n){for(const t in n)if(t in e&&typeof e[t]!=typeof n[t])return!1;return!0}function Ue(e){if(typeof e!="object"||e===null)return null;const n=e;if(typeof n.prefix!="string"||!e.icons||typeof e.icons!="object"||!X(e,Ut))return null;const t=n.icons;for(const o in t){const s=t[o];if(!o.match(O)||typeof s.body!="string"||!X(s,te))return null}const r=n.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(O)||typeof i!="string"||!t[i]&&!r[i]||!X(s,te))return null}return n}const Z=Object.create(null);function Qt(e,n){return{provider:e,prefix:n,icons:Object.create(null),missing:new Set}}function k(e,n){const t=Z[e]||(Z[e]=Object.create(null));return t[n]||(t[n]=Qt(e,n))}function ue(e,n){return Ue(n)?$e(n,(t,r)=>{r?e.icons[t]=r:e.missing.add(t)}):[]}function Vt(e,n,t){try{if(typeof t.body=="string")return e.icons[n]={...t},!0}catch{}return!1}function Zt(e,n){let t=[];return(typeof e=="string"?[e]:Object.keys(Z)).forEach(o=>{(typeof o=="string"&&typeof n=="string"?[n]:Object.keys(Z[o]||{})).forEach(i=>{const a=k(o,i);t=t.concat(Object.keys(a.icons).map(c=>(o!==""?"@"+o+":":"")+i+":"+c))})}),t}let q=!1;function Qe(e){return typeof e=="boolean"&&(q=e),q}function _(e){const n=typeof e=="string"?z(e,!0,q):e;if(n){const t=k(n.provider,n.prefix),r=n.name;return t.icons[r]||(t.missing.has(r)?null:void 0)}}function Ve(e,n){const t=z(e,!0,q);if(!t)return!1;const r=k(t.provider,t.prefix);return Vt(r,t.name,n)}function Ie(e,n){if(typeof e!="object")return!1;if(typeof n!="string"&&(n=e.provider||""),q&&!n&&!e.prefix){let o=!1;return Ue(e)&&(e.prefix="",$e(e,(s,i)=>{i&&Ve(s,i)&&(o=!0)})),o}const t=e.prefix;if(!U({provider:n,prefix:t,name:"a"}))return!1;const r=k(n,t);return!!ue(r,e)}function Wt(e){return!!_(e)}function Gt(e){const n=_(e);return n?{...F,...n}:null}function Jt(e){const n={loaded:[],missing:[],pending:[]},t=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,c=t[s]||(t[s]=Object.create(null)),l=c[i]||(c[i]=k(s,i));let u;a in l.icons?u=n.loaded:i===""||l.missing.has(a)?u=n.missing:u=n.pending;const d={provider:s,prefix:i,name:a};u.push(d)}),n}function Ze(e,n){e.forEach(t=>{const r=t.loaderCallbacks;r&&(t.loaderCallbacks=r.filter(o=>o.id!==n))})}function Xt(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const n=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!n.length)return;let t=!1;const r=e.provider,o=e.prefix;n.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return t=!0,!0;return!1}),i.pending.length!==a&&(t||Ze([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Yt=0;function Kt(e,n,t){const r=Yt++,o=Ze.bind(null,t,r);if(!n.pending.length)return o;const s={id:r,icons:n,callback:e,abort:o};return t.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}const ne=Object.create(null);function Se(e,n){ne[e]=n}function oe(e){return ne[e]||ne[""]}function en(e,n=!0,t=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?z(o,n,t):o;s&&r.push(s)}),r}var tn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function nn(e,n,t,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let h=e.resources.slice(0);for(i=[];h.length>1;){const I=Math.floor(Math.random()*h.length);i.push(h[I]),h=h.slice(0,I).concat(h.slice(I+1))}i=i.concat(h)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c="pending",l=0,u,d=null,p=[],g=[];typeof r=="function"&&g.push(r);function b(){d&&(clearTimeout(d),d=null)}function w(){c==="pending"&&(c="aborted"),b(),p.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),p=[]}function T(h,I){I&&(g=[]),typeof h=="function"&&g.push(h)}function A(){return{startTime:a,payload:n,status:c,queriesSent:l,queriesPending:p.length,subscribe:T,abort:w}}function x(){c="failed",g.forEach(h=>{h(void 0,u)})}function y(){p.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),p=[]}function B(h,I,P){const v=I!=="success";switch(p=p.filter(L=>L!==h),c){case"pending":break;case"failed":if(v||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){u=P,x();return}if(v){u=P,p.length||(i.length?S():x());return}if(b(),y(),!e.random){const L=e.resources.indexOf(h.resource);L!==-1&&L!==e.index&&(e.index=L)}c="completed",g.forEach(L=>{L(P)})}function S(){if(c!=="pending")return;b();const h=i.shift();if(h===void 0){if(p.length){d=setTimeout(()=>{b(),c==="pending"&&(y(),x())},e.timeout);return}x();return}const I={status:"pending",resource:h,callback:(P,v)=>{B(I,P,v)}};p.push(I),l++,d=setTimeout(S,e.rotate),t(h,n,I.callback)}return setTimeout(S),A}function We(e){const n={...tn,...e};let t=[];function r(){t=t.filter(a=>a().status==="pending")}function o(a,c,l){const u=nn(n,a,c,(d,p)=>{r(),l&&l(d,p)});return t.push(u),u}function s(a){return t.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{n.index=a},getIndex:()=>n.index,cleanup:r}}function fe(e){let n;if(typeof e.resources=="string")n=[e.resources];else if(n=e.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const G=Object.create(null),E=["https://api.simplesvg.com","https://api.unisvg.com"],Q=[];for(;E.length>0;)E.length===1||Math.random()>.5?Q.push(E.shift()):Q.push(E.pop());G[""]=fe({resources:["https://api.iconify.design"].concat(Q)});function ve(e,n){const t=fe(n);return t===null?!1:(G[e]=t,!0)}function J(e){return G[e]}function on(){return Object.keys(G)}function Te(){}const Y=Object.create(null);function rn(e){if(!Y[e]){const n=J(e);if(!n)return;const t=We(n),r={config:n,redundancy:t};Y[e]=r}return Y[e]}function Ge(e,n,t){let r,o;if(typeof e=="string"){const s=oe(e);if(!s)return t(void 0,424),Te;o=s.send;const i=rn(e);i&&(r=i.redundancy)}else{const s=fe(e);if(s){r=We(s);const i=e.resources?e.resources[0]:"",a=oe(i);a&&(o=a.send)}}return!r||!o?(t(void 0,424),Te):r.query(n,o,t)().abort}const Ce="iconify2",N="iconify",Je=N+"-count",Ae=N+"-version",Xe=36e5,sn=168;function re(e,n){try{return e.getItem(n)}catch{}}function de(e,n,t){try{return e.setItem(n,t),!0}catch{}}function je(e,n){try{e.removeItem(n)}catch{}}function se(e,n){return de(e,Je,n.toString())}function ie(e){return parseInt(re(e,Je))||0}const M={local:!0,session:!0},Ye={local:new Set,session:new Set};let he=!1;function cn(e){he=e}let $=typeof window>"u"?{}:window;function Ke(e){const n=e+"Storage";try{if($&&$[n]&&typeof $[n].length=="number")return $[n]}catch{}M[e]=!1}function et(e,n){const t=Ke(e);if(!t)return;const r=re(t,Ae);if(r!==Ce){if(r){const a=ie(t);for(let c=0;c<a;c++)je(t,N+c.toString())}de(t,Ae,Ce),se(t,0);return}const o=Math.floor(Date.now()/Xe)-sn,s=a=>{const c=N+a.toString(),l=re(t,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&n(u,a))return!0}catch{}je(t,c)}};let i=ie(t);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,se(t,i)):Ye[e].add(a))}function tt(){if(!he){cn(!0);for(const e in M)et(e,n=>{const t=n.data,r=n.provider,o=t.prefix,s=k(r,o);if(!ue(s,t).length)return!1;const i=t.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function an(e,n){const t=e.lastModifiedCached;if(t&&t>=n)return t===n;if(e.lastModifiedCached=n,t)for(const r in M)et(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===n});return!0}function ln(e,n){he||tt();function t(r){let o;if(!M[r]||!(o=Ke(r)))return;const s=Ye[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=ie(o),!se(o,i+1))return;const a={cached:Math.floor(Date.now()/Xe),provider:e.provider,data:n};return de(o,N+i.toString(),JSON.stringify(a))}n.lastModified&&!an(e,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),t("local")||t("session"))}function Pe(){}function un(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Xt(e)}))}function fn(e,n){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(n).sort():e.iconsToLoad=n,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=oe(t)))return;s.prepare(t,r,o).forEach(a=>{Ge(t,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{e.missing.add(l)});else try{const l=ue(e,c);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(d=>{u.delete(d)}),ln(e,c)}catch(l){console.error(l)}un(e)})})}))}const pe=(e,n)=>{const t=en(e,!0,Qe()),r=Jt(t);if(!r.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(r.loaded,r.missing,r.pending,Pe)}),()=>{c=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===i)return;i=l,a=u,s.push(k(l,u));const d=o[l]||(o[l]=Object.create(null));d[u]||(d[u]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:u,name:d}=c,p=k(l,u),g=p.pendingIcons||(p.pendingIcons=new Set);g.has(d)||(g.add(d),o[l][u].push(d))}),s.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&fn(c,o[l][u])}),n?Kt(n,r,s):Pe},dn=e=>new Promise((n,t)=>{const r=typeof e=="string"?z(e,!0):e;if(!r){t(e);return}pe([r||e],o=>{if(o.length&&r){const s=_(r);if(s){n({...F,...s});return}}t(e)})});function hn(e){try{const n=typeof e=="string"?JSON.parse(e):e;if(typeof n.body=="string")return{...n}}catch{}}function pn(e,n){const t=typeof e=="string"?z(e,!0,!0):null;if(!t){const s=hn(e);return{value:e,data:s}}const r=_(t);if(r!==void 0||!t.prefix)return{value:e,name:t,data:r};const o=pe([t],()=>n(e,t,_(t)));return{value:e,name:t,loading:o}}function K(e){return e.hasAttribute("inline")}let nt=!1;try{nt=navigator.vendor.indexOf("Apple")===0}catch{}function gn(e,n){switch(n){case"svg":case"bg":case"mask":return n}return n!=="style"&&(nt||e.indexOf("<a")===-1)?"svg":e.indexOf("currentColor")===-1?"bg":"mask"}const mn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,yn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ce(e,n,t){if(n===1)return e;if(t=t||100,typeof e=="number")return Math.ceil(e*n*t)/t;if(typeof e!="string")return e;const r=e.split(mn);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=yn.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*n*t)/t)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const bn=e=>e==="unset"||e==="undefined"||e==="none";function ot(e,n){const t={...F,...e},r={...Be,...n},o={left:t.left,top:t.top,width:t.width,height:t.height};let s=t.body;[t,r].forEach(b=>{const w=[],T=b.hFlip,A=b.vFlip;let x=b.rotate;T?A?x+=2:(w.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),w.push("scale(-1 1)"),o.top=o.left=0):A&&(w.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),w.push("scale(1 -1)"),o.top=o.left=0);let y;switch(x<0&&(x-=Math.floor(x/4)*4),x=x%4,x){case 1:y=o.height/2+o.top,w.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:w.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:y=o.width/2+o.left,w.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}x%2===1&&(o.left!==o.top&&(y=o.left,o.left=o.top,o.top=y),o.width!==o.height&&(y=o.width,o.width=o.height,o.height=y)),w.length&&(s='<g transform="'+w.join(" ")+'">'+s+"</g>")});const i=r.width,a=r.height,c=o.width,l=o.height;let u,d;i===null?(d=a===null?"1em":a==="auto"?l:a,u=ce(d,c/l)):(u=i==="auto"?c:i,d=a===null?ce(u,l/c):a==="auto"?l:a);const p={},g=(b,w)=>{bn(w)||(p[b]=w.toString())};return g("width",u),g("height",d),p.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:p,body:s}}const wn=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let W=wn();function xn(e){W=e}function In(){return W}function Sn(e,n){const t=J(e);if(!t)return 0;let r;if(!t.maxURL)r=0;else{let o=0;t.resources.forEach(i=>{o=Math.max(o,i.length)});const s=n+".json?icons=";r=t.maxURL-o-t.path.length-s.length}return r}function vn(e){return e===404}const Tn=(e,n,t)=>{const r=[],o=Sn(e,n),s="icons";let i={type:s,provider:e,prefix:n,icons:[]},a=0;return t.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:n,icons:[]},a=c.length),i.icons.push(c)}),r.push(i),r};function Cn(e){if(typeof e=="string"){const n=J(e);if(n)return n.path}return"/"}const An=(e,n,t)=>{if(!W){t("abort",424);return}let r=Cn(n.provider);switch(n.type){case"icons":{const s=n.prefix,a=n.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=n.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:t("abort",400);return}let o=503;W(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{t(vn(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?t("abort",s):t("next",o)});return}setTimeout(()=>{t("success",s)})}).catch(()=>{t("next",o)})},jn={prepare:Tn,send:An};function ke(e,n){switch(e){case"local":case"session":M[e]=n;break;case"all":for(const t in M)M[t]=n;break}}const ee="data-style";let rt="";function Pn(e){rt=e}function Le(e,n){let t=Array.from(e.childNodes).find(r=>r.hasAttribute&&r.hasAttribute(ee));t||(t=document.createElement("style"),t.setAttribute(ee,ee),e.appendChild(t)),t.textContent=":host{display:inline-block;vertical-align:"+(n?"-0.125em":"0")+"}span,svg{display:block}"+rt}function st(){Se("",jn),Qe(!0);let e;try{e=window}catch{}if(e){if(tt(),e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!Ie(o))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const r in t){const o="IconifyProviders["+r+"] is invalid.";try{const s=t[r];if(typeof s!="object"||!s||s.resources===void 0)continue;ve(r,s)||console.error(o)}catch{console.error(o)}}}}return{enableCache:t=>ke(t,!0),disableCache:t=>ke(t,!1),iconExists:Wt,getIcon:Gt,listIcons:Zt,addIcon:Ve,addCollection:Ie,calculateSize:ce,buildIcon:ot,loadIcons:pe,loadIcon:dn,addAPIProvider:ve,appendCustomStyle:Pn,_api:{getAPIConfig:J,setAPIModule:Se,sendAPIQuery:Ge,setFetch:xn,getFetch:In,listAPIProviders:on}}}function it(e,n){let t=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in n)t+=" "+r+'="'+n[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+t+">"+e+"</svg>"}function kn(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Ln(e){return"data:image/svg+xml,"+kn(e)}function Mn(e){return'url("'+Ln(e)+'")'}const ae={"background-color":"currentColor"},ct={"background-color":"transparent"},Me={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Ee={"-webkit-mask":ae,mask:ae,background:ct};for(const e in Ee){const n=Ee[e];for(const t in Me)n[e+"-"+t]=Me[t]}function Oe(e){return e?e+(e.match(/^[-0-9.]+$/)?"px":""):"inherit"}function En(e,n,t){const r=document.createElement("span");let o=e.body;o.indexOf("<a")!==-1&&(o+="<!-- "+Date.now()+" -->");const s=e.attributes,i=it(o,{...s,width:n.width+"",height:n.height+""}),a=Mn(i),c=r.style,l={"--svg":a,width:Oe(s.width),height:Oe(s.height),...t?ae:ct};for(const u in l)c.setProperty(u,l[u]);return r}let R;function On(){try{R=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{R=null}}function Rn(e){return R===void 0&&On(),R?R.createHTML(e):e}function qn(e){const n=document.createElement("span"),t=e.attributes;let r="";t.width||(r="width: inherit;"),t.height||(r+="height: inherit;"),r&&(t.style=r);const o=it(e.body,t);return n.innerHTML=Rn(o),n.firstChild}function Re(e,n){const t=n.icon.data,r=n.customisations,o=ot(t,r);r.preserveAspectRatio&&(o.attributes.preserveAspectRatio=r.preserveAspectRatio);const s=n.renderedMode;let i;switch(s){case"svg":i=qn(o);break;default:i=En(o,{...F,...t},s==="mask")}const a=Array.from(e.childNodes).find(c=>{const l=c.tagName&&c.tagName.toUpperCase();return l==="SPAN"||l==="SVG"});a?i.tagName==="SPAN"&&a.tagName===i.tagName?a.setAttribute("style",i.getAttribute("style")):e.replaceChild(i,a):e.appendChild(i)}function qe(e,n,t){const r=t&&(t.rendered?t:t.lastRender);return{rendered:!1,inline:n,icon:e,lastRender:r}}function _n(e="iconify-icon"){let n,t;try{n=window.customElements,t=window.HTMLElement}catch{return}if(!n||!t)return;const r=n.get(e);if(r)return r;const o=["icon","mode","inline","width","height","rotate","flip"],s=class extends t{constructor(){super();D(this,"_shadowRoot");D(this,"_state");D(this,"_checkQueued",!1);const c=this._shadowRoot=this.attachShadow({mode:"open"}),l=K(this);Le(c,l),this._state=qe({value:""},l),this._queueCheck()}static get observedAttributes(){return o.slice(0)}attributeChangedCallback(c){if(c==="inline"){const l=K(this),u=this._state;l!==u.inline&&(u.inline=l,Le(this._shadowRoot,l))}else this._queueCheck()}get icon(){const c=this.getAttribute("icon");if(c&&c.slice(0,1)==="{")try{return JSON.parse(c)}catch{}return c}set icon(c){typeof c=="object"&&(c=JSON.stringify(c)),this.setAttribute("icon",c)}get inline(){return K(this)}set inline(c){c?this.setAttribute("inline","true"):this.removeAttribute("inline")}restartAnimation(){const c=this._state;if(c.rendered){const l=this._shadowRoot;if(c.renderedMode==="svg")try{l.lastChild.setCurrentTime(0);return}catch{}Re(l,c)}}get status(){const c=this._state;return c.rendered?"rendered":c.icon.data===null?"failed":"loading"}_queueCheck(){this._checkQueued||(this._checkQueued=!0,setTimeout(()=>{this._check()}))}_check(){if(!this._checkQueued)return;this._checkQueued=!1;const c=this._state,l=this.getAttribute("icon");if(l!==c.icon.value){this._iconChanged(l);return}if(!c.rendered)return;const u=this.getAttribute("mode"),d=we(this);(c.attrMode!==u||Ht(c.customisations,d))&&this._renderIcon(c.icon,d,u)}_iconChanged(c){const l=pn(c,(u,d,p)=>{const g=this._state;if(g.rendered||this.getAttribute("icon")!==u)return;const b={value:u,name:d,data:p};b.data?this._gotIconData(b):g.icon=b});l.data?this._gotIconData(l):this._state=qe(l,this._state.inline,this._state)}_gotIconData(c){this._checkQueued=!1,this._renderIcon(c,we(this),this.getAttribute("mode"))}_renderIcon(c,l,u){const d=gn(c.data.body,u),p=this._state.inline;Re(this._shadowRoot,this._state={rendered:!0,icon:c,inline:p,customisations:l,attrMode:u,renderedMode:d})}};o.forEach(a=>{a in s.prototype||Object.defineProperty(s.prototype,a,{get:function(){return this.getAttribute(a)},set:function(c){c!==null?this.setAttribute(a,c):this.removeAttribute(a)}})});const i=st();for(const a in i)s[a]=s.prototype[a]=i[a];return n.define(e,s),s}_n()||st();const Nn=f.shape({appLogo:f.node,appName:f.string,theme:f.shape({background:f.string}),enableConnect:f.bool,enableLocale:f.bool,navigation:f.arrayOf(f.shape({title:f.oneOfType([f.string,f.object]),link:f.oneOfType([f.string,f.object]),icon:f.string,items:f.arrayOf(f.shape({title:f.oneOfType([f.string,f.object]),link:f.oneOfType([f.string,f.object])}))}))}),at=f.shape({showText:f.bool,showRole:f.bool,switchDid:f.bool,switchProfile:f.bool,switchPassport:f.bool,disableLogout:f.bool,onLogin:f.func,onLogout:f.func,onSwitchDid:f.func,onSwitchProfile:f.func,onSwitchPassport:f.func,menu:f.array,menuRender:f.func,dark:f.bool,size:f.number}),H=(e,n,t="children")=>e.map(r=>Array.isArray(r[t])?n({...r,[t]:H(r[t],n,t)}):n(r)),Fn=(e,n="children")=>{const t=[];return H(e,r=>t.push(r),n),t},ge=(e,n,t="children")=>e.map(r=>({...r})).filter(r=>{const o=r[t];if(Array.isArray(o)){const i=ge(o,n,t);r[t]=i!=null&&i.length?i:void 0}const s={filteredChildren:r[t],isLeaf:!(o!=null&&o.length)};return n(r,s)}),zn=e=>/^https?:\/\//.test(e),Hn=e=>{if(!e||!(e!=null&&e.startsWith("/")))return!1;const n=o=>o.endsWith("/")?o:`${o}/`,t=n(window.location.pathname),r=n(new URL(e,window.location.origin).pathname);return t.startsWith(r)},Bn=(e=[])=>{const n=e.map((r,o)=>({path:r,index:o})).filter(r=>Hn(r.path));return n!=null&&n.length?n.slice(1).reduce((r,o)=>r.path.length>=o.path.length?r:o,n[0]).index:-1};var _e,Ne;const le=((_e=window==null?void 0:window.blocklet)==null?void 0:_e.groupPrefix)||((Ne=window==null?void 0:window.blocklet)==null?void 0:Ne.prefix)||"/",Dn=e=>{const n={...e},t=e==null?void 0:e.background;return typeof t=="string"?n.background={header:t,footer:t,default:t}:t&&typeof t=="object"&&(n.background={header:t.header||t.default,footer:t.footer||t.default,default:t.default}),n},lt=(e,n="en")=>{if(!(e!=null&&e.length))return e;const t=(o,s)=>typeof o=="string"?o:typeof o=="object"?o[s]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o,r=(o,s)=>{if(typeof o=="string"){if(zn(o)){const a=new URL(o);return a.searchParams.set("locale",s),a.href}const i=new URL(o,window.location.origin);return i.searchParams.set("locale",s),i.pathname+i.search}return typeof o=="object"?o[s]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o};return H(e,o=>{var s;return{...o,title:t(o.title,n),link:(s=o.items)!=null&&s.length?o.link:r(o.link,n),_rawLink:o.link}},"items")},$n=e=>H(e,n=>n.role?{...n,role:Array.isArray(n.role)?n.role:[n.role]}:n,"items"),Un=e=>{if(!(e!=null&&e.length))return null;const n=$n(e),t={header:[],footer:[],social:[],bottom:[],dashboard:[],sessionManager:[],userCenter:[]};return n.forEach(r=>{var o;r.section?Array.isArray(r.section)?r.section.forEach(s=>{var i;(i=t[s])==null||i.push(r)}):typeof r.section=="string"&&((o=t[r.section])==null||o.push(r)):t.header.push(r)}),t},Qn=e=>{if(!e)return null;const n={...e};return n.theme=Dn(n.theme),n.navigation=Un(Vn(n.navigation)),n},Vn=(e=[])=>ge(e,(n,t)=>{var r;return!!n.link||((r=t.filteredChildren)==null?void 0:r.length)},"items"),ut=(e,n)=>ge(e,(t,r)=>{var s;const o=!t.role||n&&t.role.includes(n);return r.isLeaf?o:o&&((s=r.filteredChildren)==null?void 0:s.length)},"items"),Zn={top:-960,width:960,height:960,body:'<path fill="currentColor" d="M510-600v-210q0-12.75 8.625-21.375T540-840h270q12.75 0 21.375 8.625T840-810v210q0 12.75-8.625 21.375T810-570H540q-12.75 0-21.375-8.625T510-600M120-480v-330q0-12.75 8.625-21.375T150-840h270q12.75 0 21.375 8.625T450-810v330q0 12.75-8.625 21.375T420-450H150q-12.75 0-21.375-8.625T120-480m390 330v-330q0-12.75 8.625-21.375T540-510h270q12.75 0 21.375 8.625T840-480v330q0 12.75-8.625 21.375T810-120H540q-12.75 0-21.375-8.625T510-150m-390 0v-210q0-12.75 8.625-21.375T150-390h270q12.75 0 21.375 8.625T450-360v210q0 12.75-8.625 21.375T420-120H150q-12.75 0-21.375-8.625T120-150m60-360h210v-270H180zm390 330h210v-270H570zm0-450h210v-150H570zM180-180h210v-150H180zm210-150"/>'},Wn={width:24,height:24,body:'<path fill="currentColor" d="M15.95 12.3L11.7 8.05q-.15-.15-.212-.325t-.063-.375q0-.2.063-.375t.212-.325l4.25-4.25q.15-.15.325-.212t.375-.063q.2 0 .375.063t.325.212l4.25 4.25q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.25 4.25q-.15.15-.325.213t-.375.062q-.2 0-.375-.062t-.325-.213ZM3 10V4q0-.425.288-.713T4 3h6q.425 0 .713.288T11 4v6q0 .425-.288.713T10 11H4q-.425 0-.713-.288T3 10Zm10 10v-6q0-.425.288-.713T14 13h6q.425 0 .713.288T21 14v6q0 .425-.288.713T20 21h-6q-.425 0-.713-.288T13 20ZM3 20v-6q0-.425.288-.713T4 13h6q.425 0 .713.288T11 14v6q0 .425-.288.713T10 21H4q-.425 0-.713-.288T3 20ZM5 9h4V5H5v4Zm11.675 1.2L19.5 7.375L16.675 4.55L13.85 7.375l2.825 2.825ZM15 19h4v-4h-4v4ZM5 19h4v-4H5v4ZM9 9Zm4.85-1.625ZM9 15Zm6 0Z"/>'};function me({session:e,locale:n,size:t}){const r=(window==null?void 0:window.blocklet)||{},o=(r.navigation||[]).filter(c=>c.section==="sessionManager"&&!["/sessionManager"].includes(c.id)).filter(c=>{var l;return!!((c==null?void 0:c.role)||[]).includes(((l=e==null?void 0:e.user)==null?void 0:l.role)||"guest")}).map(c=>{const l=((r==null?void 0:r.componentMountPoints)||[]).find(u=>c.component===u.name);return{...c,component:l}}),s=j.useRef(null),i=pt({open:!1}),a=gt((c=!i.open)=>{i.open=c});return o.length===0||!(e!=null&&e.user)?null:m.jsxs(m.Fragment,{children:[m.jsx(mt,{size:"medium",ref:s,onClick:()=>a(),children:m.jsx(be,{icon:Zn,fontSize:t,style:{transform:"scale(1.08)"}})}),m.jsx(yt,{open:i.open,onClose:()=>a(!1),anchorEl:s.current,transition:!0,placement:"bottom-end",sx:{zIndex:1600},children:({TransitionProps:c})=>m.jsx(bt,{onClickAway:l=>{l.preventDefault(),l.stopPropagation(),a(!1)},children:m.jsx(wt,{...c,timeout:350,children:m.jsxs(xt,{variant:"outlined",sx:{borderRadius:3,width:350,maxWidth:"90vw",borderColor:C.lineStep,p:2,border:"0 !important",boxShadow:`0px 8px 16px 0px ${C.gray6}, 0px 0px 0px 1px ${C.gray6}`},children:[m.jsx(It,{sx:{display:"grid",gridTemplateColumns:"repeat(auto-fill, 100px)",gridAutoRows:"minmax(100px, max-content)",justifyContent:"space-between",maxHeight:350,overflowY:"auto",p:0},children:o.map(l=>{var u;return m.jsx(Ot,{disablePadding:!0,children:m.jsxs(Rt,{href:l.link,sx:{p:1,display:"flex",flexDirection:"column",alignItems:"center",gap:1,width:"100%",height:"100%",borderRadius:2,"&:hover":{backgroundColor:C.surfacePrimarySubtitle}},children:[(u=l==null?void 0:l.component)!=null&&u.did?m.jsx(St,{component:"img",src:`${vt}/blocklet/logo-bundle/${l.component.did}`,sx:{borderRadius:2,width:50,height:50,objectFit:"contain"}}):m.jsx(be,{fontSize:50,icon:l.icon||Wn,color:C.textSubtitle}),m.jsx(Tt,{sx:{fontSize:"12px",color:C.textBase,textAlign:"center",lineHeight:"normal"},children:Ct(l.title,n)})]})},l.id)})}),m.jsx(At,{session:e,children:m.jsx(jt,{variant:"outlined",fullWidth:!0,href:Pt,sx:{mt:1,borderRadius:2,color:C.textBase,borderColor:C.lineBorderStrong,"&:hover":{color:C.primaryBase,borderColor:C.primaryBase}},children:n==="zh"?"管理":"Manage"})})]})})})})]})}me.propTypes={session:f.object.isRequired,locale:f.string,size:f.number};me.defaultProps={locale:"en",size:24};function ye({formattedBlocklet:e,addons:n,sessionManagerProps:t}){var p,g,b,w;const r=j.useContext(Fe),{locale:o}=ze()||{},{enableConnect:s=!0,enableLocale:i=!0}=e,a=!!((p=r==null?void 0:r.session)!=null&&p.user);let c=lt((g=e==null?void 0:e.navigation)==null?void 0:g.sessionManager,o)||[];c=ut(c,(w=(b=r==null?void 0:r.session)==null?void 0:b.user)==null?void 0:w.role);const u=(()=>{if(n&&typeof n!="function")return Array.isArray(n)?n:[n];let T=[];if(i&&o&&T.push(m.jsx(qt,{showText:!1},"locale-selector")),s&&r){const A=[];a&&(c?c.slice(0,5):[]).forEach(y=>{A.push({label:y.title,icon:y.icon?m.jsx("iconify-icon",{icon:y.icon,height:24,style:{marginRight:8}}):null,component:"a",href:y.link,key:y.link})}),T.push(m.jsx(me,{session:r.session,locale:o},"session-blocklet")),T.push(m.jsx(kt,{session:r.session,locale:o,menu:A,showRole:!0,...t},"session-user"))}return typeof n=="function"&&(T=n(T)||[]),T})();return j.createElement(m.Fragment,null,...Array.isArray(u)?u:[u])}ye.propTypes={formattedBlocklet:f.object.isRequired,addons:f.oneOfType([f.func,f.node]),sessionManagerProps:at};ye.defaultProps={addons:null,sessionManagerProps:{showRole:!0}};const Gn=()=>{const e=Lt();j.useEffect(()=>{e.wallet&&Mt.call("arcHideTopBar","{}")},[e])};function ft({meta:e,fallbackUrl:n,invalidPathFallback:t,headerAddons:r,sessionManagerProps:o,links:s,...i}){var B;Gn();const a=j.useContext(Fe),c=(B=a==null?void 0:a.session)==null?void 0:B.user,l=c==null?void 0:c.role,{locale:u}=ze()||{},d=j.useMemo(()=>{const S=Object.assign({},window.blocklet,e);try{return Qn(S)}catch(h){return console.error("Failed to format blocklet info",h,S),S}},[e]),{localizedNav:p,flattened:g,matchedIndex:b}=j.useMemo(()=>{var P;let S=lt((P=d==null?void 0:d.navigation)==null?void 0:P.dashboard,u)||[];S=ut(S,l),S=H(S,v=>({title:v.title,url:v.link,icon:v.icon?m.jsx("iconify-icon",{height:"100%",width:"100%",icon:v.icon}):null,external:!0,children:v.items}),"items");const h=Fn(S).filter(v=>!!v.url),I=Bn(h.map(v=>v.url));return I!==-1&&(h[I].active=!0),{localizedNav:S,flattened:h,matchedIndex:I}},[d,u,l]),w=typeof s=="function"?s(p):[...p,...s];if(j.useLayoutEffect(()=>{c&&!(g!=null&&g.length)&&n&&(window.location.href=n)},[n]),j.useLayoutEffect(()=>{c&&(g!=null&&g.length)&&b===-1&&t&&t()},[t,g,b]),!d.appName)return null;const{appLogo:T,appLogoRect:A,appName:x}=d,y=m.jsx(ye,{formattedBlocklet:d,addons:r,sessionManagerProps:o});return m.jsx(Et,{title:x,fullWidth:!0,sidebarWidth:128,legacy:!1,links:w,...i,headerProps:{homeLink:le,logo:m.jsx("img",{src:A||T,alt:"logo"}),addons:y,...i.headerProps}})}ft.propTypes={meta:Nn,fallbackUrl:f.string,invalidPathFallback:f.func,headerAddons:f.oneOfType([f.func,f.node]),sessionManagerProps:at,links:f.oneOfType([f.array,f.func])};ft.defaultProps={meta:{},fallbackUrl:le,invalidPathFallback:null,headerAddons:void 0,sessionManagerProps:{showRole:!0,onLogout:()=>{window.location.href=le}},links:[]};export{Nn as B,ft as D,ye as H,Fn as a,Bn as b,Qn as f,lt as g,zn as i,H as m,le as p,Gn as u};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{r as h,a2 as g,a_ as y,j as t,C as P,n as v,B as c,a3 as d,P as m,a0 as w}from"./index-Drscafxp.js";import{P as T}from"./page-header-DfEZNX4T.js";import{u as B}from"./config-space-B-uzzQOf.js";import{C as E,D,a as N}from"./connect-to-ClkUUvxy.js";import{S as u}from"./step-actions-BhqRwM1p.js";import{S as b}from"./layout-BjYG2I0e.js";import"./index-BPPZQpLf.js";import"./api-CHM7C61K.js";import"./index-RI50EWV7.js";import"./OpenInNew-BGNoXYXt.js";import"./Stack-DXMuFZOU.js";import"./Link-DmneDBbP.js";import"./Skeleton-jwrjHAcT.js";import"./HelpOutline-DMKvoG5B.js";import"./index-DSgReUML.js";import"./ExpandMore-GfZ-uN5v.js";import"./ButtonGroup-CfPEps06.js";import"./DialogContentText-B00yXaoi.js";import"./TextField-BE9HBBNF.js";import"./FormControl-C6JD7494.js";import"./useFormControl-DzctaIge.js";import"./Select-NBBlNRtC.js";import"./DeleteOutline-8UjaH55s.js";import"./format-error-ax9-5p2F.js";import"./content-layout-BuukPoQq.js";function l({onNext:a,onPrevious:x}){var n,r,p;const{t:i}=h.useContext(g),{blocklet:e}=y(),{spaceGateway:C,settingStorageEndpoint:j,updateSpaceGateway:f,hasStorageEndpoint:S,loading:o,storageEndpoint:s}=B();return o?t.jsx(P,{relative:"parent",children:t.jsx(v,{})}):t.jsxs(G,{children:[t.jsx("div",{className:"header",children:t.jsx(T,{title:i("setup.didSpace.title"),subTitle:i("setup.didSpace.subTitle"),onClickBack:x})}),t.jsx(c,{sx:{width:"100%",maxWidth:"720px"},children:S?t.jsx(E,{spaceGateway:C,settingStorageEndpoint:j}):t.jsx(D,{})}),((n=e==null?void 0:e.capabilities)==null?void 0:n.didSpace)&&t.jsx(c,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:"24px",children:t.jsx(N,{onConnect:f,storageEndpoint:s})}),((r=e==null?void 0:e.capabilities)==null?void 0:r.didSpace)==="required"&&t.jsx(u,{mt:8,children:t.jsx(d,{loading:o,variant:"contained",disabled:o||!s,onClick:()=>a(),children:i("setup.continue")})}),((p=e==null?void 0:e.capabilities)==null?void 0:p.didSpace)==="optional"&&t.jsx(u,{blocklet:e,onStartNow:()=>a("complete"),children:t.jsx(d,{className:"start-now",loading:o,variant:"contained",disabled:o,onClick:()=>a(),children:i(s?"setup.continue":"setup.skip")})})]})}l.propTypes={onNext:m.func,onPrevious:m.func};l.defaultProps={onNext:()=>{},onPrevious:()=>{}};const G=w(b)`
|
|
2
|
-
height: 100%;
|
|
3
|
-
overflow-y: auto;
|
|
4
|
-
`;export{l as default};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import{b9 as qi,P as C,bu as Ae,j as z,r as A,co as nn,cp as Wi,cq as Ji,B as Dn,c4 as Qi,cr as Di,cs as er,ct as ei,bD as tr,cu as nr,aO as ir}from"./index-Drscafxp.js";import{r as rr,a as ar}from"./emotion-cache.browser.esm-OvB3R1tt.js";/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const sr=4,rn=0,an=1,or=2;function Se(e){let n=e.length;for(;--n>=0;)e[n]=0}const lr=0,ti=1,fr=2,cr=3,dr=258,Ut=29,qe=256,Me=qe+1+Ut,Ne=30,Mt=19,ni=2*Me+1,de=15,ht=16,ur=7,jt=256,ii=16,ri=17,ai=18,St=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),rt=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),hr=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),si=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_r=512,D=new Array((Me+2)*2);Se(D);const Ze=new Array(Ne*2);Se(Ze);const je=new Array(_r);Se(je);const He=new Array(dr-cr+1);Se(He);const Ht=new Array(Ut);Se(Ht);const at=new Array(Ne);Se(at);function _t(e,n,t,i,r){this.static_tree=e,this.extra_bits=n,this.extra_base=t,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}let oi,li,fi;function pt(e,n){this.dyn_tree=e,this.max_code=0,this.stat_desc=n}const ci=e=>e<256?je[e]:je[256+(e>>>7)],Ve=(e,n)=>{e.pending_buf[e.pending++]=n&255,e.pending_buf[e.pending++]=n>>>8&255},M=(e,n,t)=>{e.bi_valid>ht-t?(e.bi_buf|=n<<e.bi_valid&65535,Ve(e,e.bi_buf),e.bi_buf=n>>ht-e.bi_valid,e.bi_valid+=t-ht):(e.bi_buf|=n<<e.bi_valid&65535,e.bi_valid+=t)},q=(e,n,t)=>{M(e,t[n*2],t[n*2+1])},di=(e,n)=>{let t=0;do t|=e&1,e>>>=1,t<<=1;while(--n>0);return t>>>1},pr=e=>{e.bi_valid===16?(Ve(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},gr=(e,n)=>{const t=n.dyn_tree,i=n.max_code,r=n.stat_desc.static_tree,a=n.stat_desc.has_stree,l=n.stat_desc.extra_bits,s=n.stat_desc.extra_base,f=n.stat_desc.max_length;let o,c,_,u,d,b,x=0;for(u=0;u<=de;u++)e.bl_count[u]=0;for(t[e.heap[e.heap_max]*2+1]=0,o=e.heap_max+1;o<ni;o++)c=e.heap[o],u=t[t[c*2+1]*2+1]+1,u>f&&(u=f,x++),t[c*2+1]=u,!(c>i)&&(e.bl_count[u]++,d=0,c>=s&&(d=l[c-s]),b=t[c*2],e.opt_len+=b*(u+d),a&&(e.static_len+=b*(r[c*2+1]+d)));if(x!==0){do{for(u=f-1;e.bl_count[u]===0;)u--;e.bl_count[u]--,e.bl_count[u+1]+=2,e.bl_count[f]--,x-=2}while(x>0);for(u=f;u!==0;u--)for(c=e.bl_count[u];c!==0;)_=e.heap[--o],!(_>i)&&(t[_*2+1]!==u&&(e.opt_len+=(u-t[_*2+1])*t[_*2],t[_*2+1]=u),c--)}},ui=(e,n,t)=>{const i=new Array(de+1);let r=0,a,l;for(a=1;a<=de;a++)r=r+t[a-1]<<1,i[a]=r;for(l=0;l<=n;l++){let s=e[l*2+1];s!==0&&(e[l*2]=di(i[s]++,s))}},br=()=>{let e,n,t,i,r;const a=new Array(de+1);for(t=0,i=0;i<Ut-1;i++)for(Ht[i]=t,e=0;e<1<<St[i];e++)He[t++]=i;for(He[t-1]=i,r=0,i=0;i<16;i++)for(at[i]=r,e=0;e<1<<rt[i];e++)je[r++]=i;for(r>>=7;i<Ne;i++)for(at[i]=r<<7,e=0;e<1<<rt[i]-7;e++)je[256+r++]=i;for(n=0;n<=de;n++)a[n]=0;for(e=0;e<=143;)D[e*2+1]=8,e++,a[8]++;for(;e<=255;)D[e*2+1]=9,e++,a[9]++;for(;e<=279;)D[e*2+1]=7,e++,a[7]++;for(;e<=287;)D[e*2+1]=8,e++,a[8]++;for(ui(D,Me+1,a),e=0;e<Ne;e++)Ze[e*2+1]=5,Ze[e*2]=di(e,5);oi=new _t(D,St,qe+1,Me,de),li=new _t(Ze,rt,0,Ne,de),fi=new _t(new Array(0),hr,0,Mt,ur)},hi=e=>{let n;for(n=0;n<Me;n++)e.dyn_ltree[n*2]=0;for(n=0;n<Ne;n++)e.dyn_dtree[n*2]=0;for(n=0;n<Mt;n++)e.bl_tree[n*2]=0;e.dyn_ltree[jt*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},_i=e=>{e.bi_valid>8?Ve(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},sn=(e,n,t,i)=>{const r=n*2,a=t*2;return e[r]<e[a]||e[r]===e[a]&&i[n]<=i[t]},gt=(e,n,t)=>{const i=e.heap[t];let r=t<<1;for(;r<=e.heap_len&&(r<e.heap_len&&sn(n,e.heap[r+1],e.heap[r],e.depth)&&r++,!sn(n,i,e.heap[r],e.depth));)e.heap[t]=e.heap[r],t=r,r<<=1;e.heap[t]=i},on=(e,n,t)=>{let i,r,a=0,l,s;if(e.sym_next!==0)do i=e.pending_buf[e.sym_buf+a++]&255,i+=(e.pending_buf[e.sym_buf+a++]&255)<<8,r=e.pending_buf[e.sym_buf+a++],i===0?q(e,r,n):(l=He[r],q(e,l+qe+1,n),s=St[l],s!==0&&(r-=Ht[l],M(e,r,s)),i--,l=ci(i),q(e,l,t),s=rt[l],s!==0&&(i-=at[l],M(e,i,s)));while(a<e.sym_next);q(e,jt,n)},Ot=(e,n)=>{const t=n.dyn_tree,i=n.stat_desc.static_tree,r=n.stat_desc.has_stree,a=n.stat_desc.elems;let l,s,f=-1,o;for(e.heap_len=0,e.heap_max=ni,l=0;l<a;l++)t[l*2]!==0?(e.heap[++e.heap_len]=f=l,e.depth[l]=0):t[l*2+1]=0;for(;e.heap_len<2;)o=e.heap[++e.heap_len]=f<2?++f:0,t[o*2]=1,e.depth[o]=0,e.opt_len--,r&&(e.static_len-=i[o*2+1]);for(n.max_code=f,l=e.heap_len>>1;l>=1;l--)gt(e,t,l);o=a;do l=e.heap[1],e.heap[1]=e.heap[e.heap_len--],gt(e,t,1),s=e.heap[1],e.heap[--e.heap_max]=l,e.heap[--e.heap_max]=s,t[o*2]=t[l*2]+t[s*2],e.depth[o]=(e.depth[l]>=e.depth[s]?e.depth[l]:e.depth[s])+1,t[l*2+1]=t[s*2+1]=o,e.heap[1]=o++,gt(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],gr(e,n),ui(t,f,e.bl_count)},ln=(e,n,t)=>{let i,r=-1,a,l=n[0*2+1],s=0,f=7,o=4;for(l===0&&(f=138,o=3),n[(t+1)*2+1]=65535,i=0;i<=t;i++)a=l,l=n[(i+1)*2+1],!(++s<f&&a===l)&&(s<o?e.bl_tree[a*2]+=s:a!==0?(a!==r&&e.bl_tree[a*2]++,e.bl_tree[ii*2]++):s<=10?e.bl_tree[ri*2]++:e.bl_tree[ai*2]++,s=0,r=a,l===0?(f=138,o=3):a===l?(f=6,o=3):(f=7,o=4))},fn=(e,n,t)=>{let i,r=-1,a,l=n[0*2+1],s=0,f=7,o=4;for(l===0&&(f=138,o=3),i=0;i<=t;i++)if(a=l,l=n[(i+1)*2+1],!(++s<f&&a===l)){if(s<o)do q(e,a,e.bl_tree);while(--s!==0);else a!==0?(a!==r&&(q(e,a,e.bl_tree),s--),q(e,ii,e.bl_tree),M(e,s-3,2)):s<=10?(q(e,ri,e.bl_tree),M(e,s-3,3)):(q(e,ai,e.bl_tree),M(e,s-11,7));s=0,r=a,l===0?(f=138,o=3):a===l?(f=6,o=3):(f=7,o=4)}},wr=e=>{let n;for(ln(e,e.dyn_ltree,e.l_desc.max_code),ln(e,e.dyn_dtree,e.d_desc.max_code),Ot(e,e.bl_desc),n=Mt-1;n>=3&&e.bl_tree[si[n]*2+1]===0;n--);return e.opt_len+=3*(n+1)+5+5+4,n},yr=(e,n,t,i)=>{let r;for(M(e,n-257,5),M(e,t-1,5),M(e,i-4,4),r=0;r<i;r++)M(e,e.bl_tree[si[r]*2+1],3);fn(e,e.dyn_ltree,n-1),fn(e,e.dyn_dtree,t-1)},xr=e=>{let n=4093624447,t;for(t=0;t<=31;t++,n>>>=1)if(n&1&&e.dyn_ltree[t*2]!==0)return rn;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return an;for(t=32;t<qe;t++)if(e.dyn_ltree[t*2]!==0)return an;return rn};let cn=!1;const mr=e=>{cn||(br(),cn=!0),e.l_desc=new pt(e.dyn_ltree,oi),e.d_desc=new pt(e.dyn_dtree,li),e.bl_desc=new pt(e.bl_tree,fi),e.bi_buf=0,e.bi_valid=0,hi(e)},pi=(e,n,t,i)=>{M(e,(lr<<1)+(i?1:0),3),_i(e),Ve(e,t),Ve(e,~t),t&&e.pending_buf.set(e.window.subarray(n,n+t),e.pending),e.pending+=t},Er=e=>{M(e,ti<<1,3),q(e,jt,D),pr(e)},vr=(e,n,t,i)=>{let r,a,l=0;e.level>0?(e.strm.data_type===or&&(e.strm.data_type=xr(e)),Ot(e,e.l_desc),Ot(e,e.d_desc),l=wr(e),r=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=r&&(r=a)):r=a=t+5,t+4<=r&&n!==-1?pi(e,n,t,i):e.strategy===sr||a===r?(M(e,(ti<<1)+(i?1:0),3),on(e,D,Ze)):(M(e,(fr<<1)+(i?1:0),3),yr(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),on(e,e.dyn_ltree,e.dyn_dtree)),hi(e),i&&_i(e)},Nr=(e,n,t)=>(e.pending_buf[e.sym_buf+e.sym_next++]=n,e.pending_buf[e.sym_buf+e.sym_next++]=n>>8,e.pending_buf[e.sym_buf+e.sym_next++]=t,n===0?e.dyn_ltree[t*2]++:(e.matches++,n--,e.dyn_ltree[(He[t]+qe+1)*2]++,e.dyn_dtree[ci(n)*2]++),e.sym_next===e.sym_end);var kr=mr,Tr=pi,Ar=vr,Sr=Nr,Or=Er,Fr={_tr_init:kr,_tr_stored_block:Tr,_tr_flush_block:Ar,_tr_tally:Sr,_tr_align:Or};const Ir=(e,n,t,i)=>{let r=e&65535|0,a=e>>>16&65535|0,l=0;for(;t!==0;){l=t>2e3?2e3:t,t-=l;do r=r+n[i++]|0,a=a+r|0;while(--l);r%=65521,a%=65521}return r|a<<16|0};var Xe=Ir;const Rr=()=>{let e,n=[];for(var t=0;t<256;t++){e=t;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;n[t]=e}return n},zr=new Uint32Array(Rr()),Cr=(e,n,t,i)=>{const r=zr,a=i+t;e^=-1;for(let l=i;l<a;l++)e=e>>>8^r[(e^n[l])&255];return e^-1};var $=Cr,pe={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},we={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Pr,_tr_stored_block:Ft,_tr_flush_block:$r,_tr_tally:ae,_tr_align:Lr}=Fr,{Z_NO_FLUSH:se,Z_PARTIAL_FLUSH:Zr,Z_FULL_FLUSH:Br,Z_FINISH:X,Z_BLOCK:dn,Z_OK:L,Z_STREAM_END:un,Z_STREAM_ERROR:W,Z_DATA_ERROR:Ur,Z_BUF_ERROR:bt,Z_DEFAULT_COMPRESSION:Mr,Z_FILTERED:jr,Z_HUFFMAN_ONLY:De,Z_RLE:Hr,Z_FIXED:Vr,Z_DEFAULT_STRATEGY:Xr,Z_UNKNOWN:Kr,Z_DEFLATED:lt}=we,Gr=9,Yr=15,qr=8,Wr=29,Jr=256,It=Jr+1+Wr,Qr=30,Dr=19,ea=2*It+1,ta=15,S=3,re=258,J=re+S+1,na=32,ke=42,Vt=57,Rt=69,zt=73,Ct=91,Pt=103,ue=113,$e=666,B=1,Oe=2,ge=3,Fe=4,ia=3,he=(e,n)=>(e.msg=pe[n],n),hn=e=>e*2-(e>4?9:0),ie=e=>{let n=e.length;for(;--n>=0;)e[n]=0},ra=e=>{let n,t,i,r=e.w_size;n=e.hash_size,i=n;do t=e.head[--i],e.head[i]=t>=r?t-r:0;while(--n);n=r,i=n;do t=e.prev[--i],e.prev[i]=t>=r?t-r:0;while(--n)};let aa=(e,n,t)=>(n<<e.hash_shift^t)&e.hash_mask,oe=aa;const H=e=>{const n=e.state;let t=n.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+t),e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,n.pending===0&&(n.pending_out=0))},V=(e,n)=>{$r(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,H(e.strm)},F=(e,n)=>{e.pending_buf[e.pending++]=n},Re=(e,n)=>{e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=n&255},$t=(e,n,t,i)=>{let r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,n.set(e.input.subarray(e.next_in,e.next_in+r),t),e.state.wrap===1?e.adler=Xe(e.adler,n,r,t):e.state.wrap===2&&(e.adler=$(e.adler,n,r,t)),e.next_in+=r,e.total_in+=r,r)},gi=(e,n)=>{let t=e.max_chain_length,i=e.strstart,r,a,l=e.prev_length,s=e.nice_match;const f=e.strstart>e.w_size-J?e.strstart-(e.w_size-J):0,o=e.window,c=e.w_mask,_=e.prev,u=e.strstart+re;let d=o[i+l-1],b=o[i+l];e.prev_length>=e.good_match&&(t>>=2),s>e.lookahead&&(s=e.lookahead);do if(r=n,!(o[r+l]!==b||o[r+l-1]!==d||o[r]!==o[i]||o[++r]!==o[i+1])){i+=2,r++;do;while(o[++i]===o[++r]&&o[++i]===o[++r]&&o[++i]===o[++r]&&o[++i]===o[++r]&&o[++i]===o[++r]&&o[++i]===o[++r]&&o[++i]===o[++r]&&o[++i]===o[++r]&&i<u);if(a=re-(u-i),i=u-re,a>l){if(e.match_start=n,l=a,a>=s)break;d=o[i+l-1],b=o[i+l]}}while((n=_[n&c])>f&&--t!==0);return l<=e.lookahead?l:e.lookahead},Te=e=>{const n=e.w_size;let t,i,r;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-J)&&(e.window.set(e.window.subarray(n,n+n-i),0),e.match_start-=n,e.strstart-=n,e.block_start-=n,e.insert>e.strstart&&(e.insert=e.strstart),ra(e),i+=n),e.strm.avail_in===0)break;if(t=$t(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=t,e.lookahead+e.insert>=S)for(r=e.strstart-e.insert,e.ins_h=e.window[r],e.ins_h=oe(e,e.ins_h,e.window[r+1]);e.insert&&(e.ins_h=oe(e,e.ins_h,e.window[r+S-1]),e.prev[r&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=r,r++,e.insert--,!(e.lookahead+e.insert<S)););}while(e.lookahead<J&&e.strm.avail_in!==0)},bi=(e,n)=>{let t=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,i,r,a,l=0,s=e.strm.avail_in;do{if(i=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,r=e.strstart-e.block_start,i>r+e.strm.avail_in&&(i=r+e.strm.avail_in),i>a&&(i=a),i<t&&(i===0&&n!==X||n===se||i!==r+e.strm.avail_in)))break;l=n===X&&i===r+e.strm.avail_in?1:0,Ft(e,0,0,l),e.pending_buf[e.pending-4]=i,e.pending_buf[e.pending-3]=i>>8,e.pending_buf[e.pending-2]=~i,e.pending_buf[e.pending-1]=~i>>8,H(e.strm),r&&(r>i&&(r=i),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+r),e.strm.next_out),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r,e.block_start+=r,i-=r),i&&($t(e.strm,e.strm.output,e.strm.next_out,i),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i)}while(l===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),l?Fe:n!==se&&n!==X&&e.strm.avail_in===0&&e.strstart===e.block_start?Oe:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&($t(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,t=a>e.w_size?e.w_size:a,r=e.strstart-e.block_start,(r>=t||(r||n===X)&&n!==se&&e.strm.avail_in===0&&r<=a)&&(i=r>a?a:r,l=n===X&&e.strm.avail_in===0&&i===r?1:0,Ft(e,e.block_start,i,l),e.block_start+=i,H(e.strm)),l?ge:B)},wt=(e,n)=>{let t,i;for(;;){if(e.lookahead<J){if(Te(e),e.lookahead<J&&n===se)return B;if(e.lookahead===0)break}if(t=0,e.lookahead>=S&&(e.ins_h=oe(e,e.ins_h,e.window[e.strstart+S-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-J&&(e.match_length=gi(e,t)),e.match_length>=S)if(i=ae(e,e.strstart-e.match_start,e.match_length-S),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=S){e.match_length--;do e.strstart++,e.ins_h=oe(e,e.ins_h,e.window[e.strstart+S-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=oe(e,e.ins_h,e.window[e.strstart+1]);else i=ae(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(V(e,!1),e.strm.avail_out===0))return B}return e.insert=e.strstart<S-1?e.strstart:S-1,n===X?(V(e,!0),e.strm.avail_out===0?ge:Fe):e.sym_next&&(V(e,!1),e.strm.avail_out===0)?B:Oe},Ee=(e,n)=>{let t,i,r;for(;;){if(e.lookahead<J){if(Te(e),e.lookahead<J&&n===se)return B;if(e.lookahead===0)break}if(t=0,e.lookahead>=S&&(e.ins_h=oe(e,e.ins_h,e.window[e.strstart+S-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=S-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-J&&(e.match_length=gi(e,t),e.match_length<=5&&(e.strategy===jr||e.match_length===S&&e.strstart-e.match_start>4096)&&(e.match_length=S-1)),e.prev_length>=S&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-S,i=ae(e,e.strstart-1-e.prev_match,e.prev_length-S),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=r&&(e.ins_h=oe(e,e.ins_h,e.window[e.strstart+S-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=S-1,e.strstart++,i&&(V(e,!1),e.strm.avail_out===0))return B}else if(e.match_available){if(i=ae(e,0,e.window[e.strstart-1]),i&&V(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return B}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=ae(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<S-1?e.strstart:S-1,n===X?(V(e,!0),e.strm.avail_out===0?ge:Fe):e.sym_next&&(V(e,!1),e.strm.avail_out===0)?B:Oe},sa=(e,n)=>{let t,i,r,a;const l=e.window;for(;;){if(e.lookahead<=re){if(Te(e),e.lookahead<=re&&n===se)return B;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=S&&e.strstart>0&&(r=e.strstart-1,i=l[r],i===l[++r]&&i===l[++r]&&i===l[++r])){a=e.strstart+re;do;while(i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&r<a);e.match_length=re-(a-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=S?(t=ae(e,1,e.match_length-S),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=ae(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(V(e,!1),e.strm.avail_out===0))return B}return e.insert=0,n===X?(V(e,!0),e.strm.avail_out===0?ge:Fe):e.sym_next&&(V(e,!1),e.strm.avail_out===0)?B:Oe},oa=(e,n)=>{let t;for(;;){if(e.lookahead===0&&(Te(e),e.lookahead===0)){if(n===se)return B;break}if(e.match_length=0,t=ae(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(V(e,!1),e.strm.avail_out===0))return B}return e.insert=0,n===X?(V(e,!0),e.strm.avail_out===0?ge:Fe):e.sym_next&&(V(e,!1),e.strm.avail_out===0)?B:Oe};function Y(e,n,t,i,r){this.good_length=e,this.max_lazy=n,this.nice_length=t,this.max_chain=i,this.func=r}const Le=[new Y(0,0,0,0,bi),new Y(4,4,8,4,wt),new Y(4,5,16,8,wt),new Y(4,6,32,32,wt),new Y(4,4,16,16,Ee),new Y(8,16,32,32,Ee),new Y(8,16,128,128,Ee),new Y(8,32,128,256,Ee),new Y(32,128,258,1024,Ee),new Y(32,258,258,4096,Ee)],la=e=>{e.window_size=2*e.w_size,ie(e.head),e.max_lazy_match=Le[e.level].max_lazy,e.good_match=Le[e.level].good_length,e.nice_match=Le[e.level].nice_length,e.max_chain_length=Le[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=S-1,e.match_available=0,e.ins_h=0};function fa(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=lt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(ea*2),this.dyn_dtree=new Uint16Array((2*Qr+1)*2),this.bl_tree=new Uint16Array((2*Dr+1)*2),ie(this.dyn_ltree),ie(this.dyn_dtree),ie(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(ta+1),this.heap=new Uint16Array(2*It+1),ie(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*It+1),ie(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const We=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.status!==ke&&n.status!==Vt&&n.status!==Rt&&n.status!==zt&&n.status!==Ct&&n.status!==Pt&&n.status!==ue&&n.status!==$e?1:0},wi=e=>{if(We(e))return he(e,W);e.total_in=e.total_out=0,e.data_type=Kr;const n=e.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?Vt:n.wrap?ke:ue,e.adler=n.wrap===2?0:1,n.last_flush=-2,Pr(n),L},yi=e=>{const n=wi(e);return n===L&&la(e.state),n},ca=(e,n)=>We(e)||e.state.wrap!==2?W:(e.state.gzhead=n,L),xi=(e,n,t,i,r,a)=>{if(!e)return W;let l=1;if(n===Mr&&(n=6),i<0?(l=0,i=-i):i>15&&(l=2,i-=16),r<1||r>Gr||t!==lt||i<8||i>15||n<0||n>9||a<0||a>Vr||i===8&&l!==1)return he(e,W);i===8&&(i=9);const s=new fa;return e.state=s,s.strm=e,s.status=ke,s.wrap=l,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=r+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+S-1)/S),s.window=new Uint8Array(s.w_size*2),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<r+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=(s.lit_bufsize-1)*3,s.level=n,s.strategy=a,s.method=t,yi(e)},da=(e,n)=>xi(e,n,lt,Yr,qr,Xr),ua=(e,n)=>{if(We(e)||n>dn||n<0)return e?he(e,W):W;const t=e.state;if(!e.output||e.avail_in!==0&&!e.input||t.status===$e&&n!==X)return he(e,e.avail_out===0?bt:W);const i=t.last_flush;if(t.last_flush=n,t.pending!==0){if(H(e),e.avail_out===0)return t.last_flush=-1,L}else if(e.avail_in===0&&hn(n)<=hn(i)&&n!==X)return he(e,bt);if(t.status===$e&&e.avail_in!==0)return he(e,bt);if(t.status===ke&&t.wrap===0&&(t.status=ue),t.status===ke){let r=lt+(t.w_bits-8<<4)<<8,a=-1;if(t.strategy>=De||t.level<2?a=0:t.level<6?a=1:t.level===6?a=2:a=3,r|=a<<6,t.strstart!==0&&(r|=na),r+=31-r%31,Re(t,r),t.strstart!==0&&(Re(t,e.adler>>>16),Re(t,e.adler&65535)),e.adler=1,t.status=ue,H(e),t.pending!==0)return t.last_flush=-1,L}if(t.status===Vt){if(e.adler=0,F(t,31),F(t,139),F(t,8),t.gzhead)F(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),F(t,t.gzhead.time&255),F(t,t.gzhead.time>>8&255),F(t,t.gzhead.time>>16&255),F(t,t.gzhead.time>>24&255),F(t,t.level===9?2:t.strategy>=De||t.level<2?4:0),F(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(F(t,t.gzhead.extra.length&255),F(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(e.adler=$(e.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=Rt;else if(F(t,0),F(t,0),F(t,0),F(t,0),F(t,0),F(t,t.level===9?2:t.strategy>=De||t.level<2?4:0),F(t,ia),t.status=ue,H(e),t.pending!==0)return t.last_flush=-1,L}if(t.status===Rt){if(t.gzhead.extra){let r=t.pending,a=(t.gzhead.extra.length&65535)-t.gzindex;for(;t.pending+a>t.pending_buf_size;){let s=t.pending_buf_size-t.pending;if(t.pending_buf.set(t.gzhead.extra.subarray(t.gzindex,t.gzindex+s),t.pending),t.pending=t.pending_buf_size,t.gzhead.hcrc&&t.pending>r&&(e.adler=$(e.adler,t.pending_buf,t.pending-r,r)),t.gzindex+=s,H(e),t.pending!==0)return t.last_flush=-1,L;r=0,a-=s}let l=new Uint8Array(t.gzhead.extra);t.pending_buf.set(l.subarray(t.gzindex,t.gzindex+a),t.pending),t.pending+=a,t.gzhead.hcrc&&t.pending>r&&(e.adler=$(e.adler,t.pending_buf,t.pending-r,r)),t.gzindex=0}t.status=zt}if(t.status===zt){if(t.gzhead.name){let r=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>r&&(e.adler=$(e.adler,t.pending_buf,t.pending-r,r)),H(e),t.pending!==0)return t.last_flush=-1,L;r=0}t.gzindex<t.gzhead.name.length?a=t.gzhead.name.charCodeAt(t.gzindex++)&255:a=0,F(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>r&&(e.adler=$(e.adler,t.pending_buf,t.pending-r,r)),t.gzindex=0}t.status=Ct}if(t.status===Ct){if(t.gzhead.comment){let r=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>r&&(e.adler=$(e.adler,t.pending_buf,t.pending-r,r)),H(e),t.pending!==0)return t.last_flush=-1,L;r=0}t.gzindex<t.gzhead.comment.length?a=t.gzhead.comment.charCodeAt(t.gzindex++)&255:a=0,F(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>r&&(e.adler=$(e.adler,t.pending_buf,t.pending-r,r))}t.status=Pt}if(t.status===Pt){if(t.gzhead.hcrc){if(t.pending+2>t.pending_buf_size&&(H(e),t.pending!==0))return t.last_flush=-1,L;F(t,e.adler&255),F(t,e.adler>>8&255),e.adler=0}if(t.status=ue,H(e),t.pending!==0)return t.last_flush=-1,L}if(e.avail_in!==0||t.lookahead!==0||n!==se&&t.status!==$e){let r=t.level===0?bi(t,n):t.strategy===De?oa(t,n):t.strategy===Hr?sa(t,n):Le[t.level].func(t,n);if((r===ge||r===Fe)&&(t.status=$e),r===B||r===ge)return e.avail_out===0&&(t.last_flush=-1),L;if(r===Oe&&(n===Zr?Lr(t):n!==dn&&(Ft(t,0,0,!1),n===Br&&(ie(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),H(e),e.avail_out===0))return t.last_flush=-1,L}return n!==X?L:t.wrap<=0?un:(t.wrap===2?(F(t,e.adler&255),F(t,e.adler>>8&255),F(t,e.adler>>16&255),F(t,e.adler>>24&255),F(t,e.total_in&255),F(t,e.total_in>>8&255),F(t,e.total_in>>16&255),F(t,e.total_in>>24&255)):(Re(t,e.adler>>>16),Re(t,e.adler&65535)),H(e),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?L:un)},ha=e=>{if(We(e))return W;const n=e.state.status;return e.state=null,n===ue?he(e,Ur):L},_a=(e,n)=>{let t=n.length;if(We(e))return W;const i=e.state,r=i.wrap;if(r===2||r===1&&i.status!==ke||i.lookahead)return W;if(r===1&&(e.adler=Xe(e.adler,n,t,0)),i.wrap=0,t>=i.w_size){r===0&&(ie(i.head),i.strstart=0,i.block_start=0,i.insert=0);let f=new Uint8Array(i.w_size);f.set(n.subarray(t-i.w_size,t),0),n=f,t=i.w_size}const a=e.avail_in,l=e.next_in,s=e.input;for(e.avail_in=t,e.next_in=0,e.input=n,Te(i);i.lookahead>=S;){let f=i.strstart,o=i.lookahead-(S-1);do i.ins_h=oe(i,i.ins_h,i.window[f+S-1]),i.prev[f&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=f,f++;while(--o);i.strstart=f,i.lookahead=S-1,Te(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=S-1,i.match_available=0,e.next_in=l,e.input=s,e.avail_in=a,i.wrap=r,L};var pa=da,ga=xi,ba=yi,wa=wi,ya=ca,xa=ua,ma=ha,Ea=_a,va="pako deflate (from Nodeca project)",Be={deflateInit:pa,deflateInit2:ga,deflateReset:ba,deflateResetKeep:wa,deflateSetHeader:ya,deflate:xa,deflateEnd:ma,deflateSetDictionary:Ea,deflateInfo:va};const Na=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var ka=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const t=n.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const i in t)Na(t,i)&&(e[i]=t[i])}}return e},Ta=e=>{let n=0;for(let i=0,r=e.length;i<r;i++)n+=e[i].length;const t=new Uint8Array(n);for(let i=0,r=0,a=e.length;i<a;i++){let l=e[i];t.set(l,r),r+=l.length}return t},ft={assign:ka,flattenChunks:Ta};let mi=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{mi=!1}const Ke=new Uint8Array(256);for(let e=0;e<256;e++)Ke[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Ke[254]=Ke[254]=1;var Aa=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let n,t,i,r,a,l=e.length,s=0;for(r=0;r<l;r++)t=e.charCodeAt(r),(t&64512)===55296&&r+1<l&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),r++)),s+=t<128?1:t<2048?2:t<65536?3:4;for(n=new Uint8Array(s),a=0,r=0;a<s;r++)t=e.charCodeAt(r),(t&64512)===55296&&r+1<l&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),r++)),t<128?n[a++]=t:t<2048?(n[a++]=192|t>>>6,n[a++]=128|t&63):t<65536?(n[a++]=224|t>>>12,n[a++]=128|t>>>6&63,n[a++]=128|t&63):(n[a++]=240|t>>>18,n[a++]=128|t>>>12&63,n[a++]=128|t>>>6&63,n[a++]=128|t&63);return n};const Sa=(e,n)=>{if(n<65534&&e.subarray&&mi)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let t="";for(let i=0;i<n;i++)t+=String.fromCharCode(e[i]);return t};var Oa=(e,n)=>{const t=n||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,n));let i,r;const a=new Array(t*2);for(r=0,i=0;i<t;){let l=e[i++];if(l<128){a[r++]=l;continue}let s=Ke[l];if(s>4){a[r++]=65533,i+=s-1;continue}for(l&=s===2?31:s===3?15:7;s>1&&i<t;)l=l<<6|e[i++]&63,s--;if(s>1){a[r++]=65533;continue}l<65536?a[r++]=l:(l-=65536,a[r++]=55296|l>>10&1023,a[r++]=56320|l&1023)}return Sa(a,r)},Fa=(e,n)=>{n=n||e.length,n>e.length&&(n=e.length);let t=n-1;for(;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?n:t+Ke[e[t]]>n?t:n},Ge={string2buf:Aa,buf2string:Oa,utf8border:Fa};function Ia(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Ei=Ia;const vi=Object.prototype.toString,{Z_NO_FLUSH:Ra,Z_SYNC_FLUSH:za,Z_FULL_FLUSH:Ca,Z_FINISH:Pa,Z_OK:st,Z_STREAM_END:$a,Z_DEFAULT_COMPRESSION:La,Z_DEFAULT_STRATEGY:Za,Z_DEFLATED:Ba}=we;function Je(e){this.options=ft.assign({level:La,method:Ba,chunkSize:16384,windowBits:15,memLevel:8,strategy:Za},e||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ei,this.strm.avail_out=0;let t=Be.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(t!==st)throw new Error(pe[t]);if(n.header&&Be.deflateSetHeader(this.strm,n.header),n.dictionary){let i;if(typeof n.dictionary=="string"?i=Ge.string2buf(n.dictionary):vi.call(n.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(n.dictionary):i=n.dictionary,t=Be.deflateSetDictionary(this.strm,i),t!==st)throw new Error(pe[t]);this._dict_set=!0}}Je.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize;let r,a;if(this.ended)return!1;for(n===~~n?a=n:a=n===!0?Pa:Ra,typeof e=="string"?t.input=Ge.string2buf(e):vi.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){if(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),(a===za||a===Ca)&&t.avail_out<=6){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(r=Be.deflate(t,a),r===$a)return t.next_out>0&&this.onData(t.output.subarray(0,t.next_out)),r=Be.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===st;if(t.avail_out===0){this.onData(t.output);continue}if(a>0&&t.next_out>0){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(t.avail_in===0)break}return!0};Je.prototype.onData=function(e){this.chunks.push(e)};Je.prototype.onEnd=function(e){e===st&&(this.result=ft.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Xt(e,n){const t=new Je(n);if(t.push(e,!0),t.err)throw t.msg||pe[t.err];return t.result}function Ua(e,n){return n=n||{},n.raw=!0,Xt(e,n)}function Ma(e,n){return n=n||{},n.gzip=!0,Xt(e,n)}var ja=Je,Ha=Xt,Va=Ua,Xa=Ma,Ka=we,Ga={Deflate:ja,deflate:Ha,deflateRaw:Va,gzip:Xa,constants:Ka};const et=16209,Ya=16191;var qa=function(n,t){let i,r,a,l,s,f,o,c,_,u,d,b,x,h,g,m,y,p,N,v,w,O,T,E;const k=n.state;i=n.next_in,T=n.input,r=i+(n.avail_in-5),a=n.next_out,E=n.output,l=a-(t-n.avail_out),s=a+(n.avail_out-257),f=k.dmax,o=k.wsize,c=k.whave,_=k.wnext,u=k.window,d=k.hold,b=k.bits,x=k.lencode,h=k.distcode,g=(1<<k.lenbits)-1,m=(1<<k.distbits)-1;e:do{b<15&&(d+=T[i++]<<b,b+=8,d+=T[i++]<<b,b+=8),y=x[d&g];t:for(;;){if(p=y>>>24,d>>>=p,b-=p,p=y>>>16&255,p===0)E[a++]=y&65535;else if(p&16){N=y&65535,p&=15,p&&(b<p&&(d+=T[i++]<<b,b+=8),N+=d&(1<<p)-1,d>>>=p,b-=p),b<15&&(d+=T[i++]<<b,b+=8,d+=T[i++]<<b,b+=8),y=h[d&m];n:for(;;){if(p=y>>>24,d>>>=p,b-=p,p=y>>>16&255,p&16){if(v=y&65535,p&=15,b<p&&(d+=T[i++]<<b,b+=8,b<p&&(d+=T[i++]<<b,b+=8)),v+=d&(1<<p)-1,v>f){n.msg="invalid distance too far back",k.mode=et;break e}if(d>>>=p,b-=p,p=a-l,v>p){if(p=v-p,p>c&&k.sane){n.msg="invalid distance too far back",k.mode=et;break e}if(w=0,O=u,_===0){if(w+=o-p,p<N){N-=p;do E[a++]=u[w++];while(--p);w=a-v,O=E}}else if(_<p){if(w+=o+_-p,p-=_,p<N){N-=p;do E[a++]=u[w++];while(--p);if(w=0,_<N){p=_,N-=p;do E[a++]=u[w++];while(--p);w=a-v,O=E}}}else if(w+=_-p,p<N){N-=p;do E[a++]=u[w++];while(--p);w=a-v,O=E}for(;N>2;)E[a++]=O[w++],E[a++]=O[w++],E[a++]=O[w++],N-=3;N&&(E[a++]=O[w++],N>1&&(E[a++]=O[w++]))}else{w=a-v;do E[a++]=E[w++],E[a++]=E[w++],E[a++]=E[w++],N-=3;while(N>2);N&&(E[a++]=E[w++],N>1&&(E[a++]=E[w++]))}}else if(p&64){n.msg="invalid distance code",k.mode=et;break e}else{y=h[(y&65535)+(d&(1<<p)-1)];continue n}break}}else if(p&64)if(p&32){k.mode=Ya;break e}else{n.msg="invalid literal/length code",k.mode=et;break e}else{y=x[(y&65535)+(d&(1<<p)-1)];continue t}break}}while(i<r&&a<s);N=b>>3,i-=N,b-=N<<3,d&=(1<<b)-1,n.next_in=i,n.next_out=a,n.avail_in=i<r?5+(r-i):5-(i-r),n.avail_out=a<s?257+(s-a):257-(a-s),k.hold=d,k.bits=b};const ve=15,_n=852,pn=592,gn=0,yt=1,bn=2,Wa=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),Ja=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),Qa=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Da=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),es=(e,n,t,i,r,a,l,s)=>{const f=s.bits;let o=0,c=0,_=0,u=0,d=0,b=0,x=0,h=0,g=0,m=0,y,p,N,v,w,O=null,T;const E=new Uint16Array(ve+1),k=new Uint16Array(ve+1);let G=null,Ie,fe,xe;for(o=0;o<=ve;o++)E[o]=0;for(c=0;c<i;c++)E[n[t+c]]++;for(d=f,u=ve;u>=1&&E[u]===0;u--);if(d>u&&(d=u),u===0)return r[a++]=1<<24|64<<16|0,r[a++]=1<<24|64<<16|0,s.bits=1,0;for(_=1;_<u&&E[_]===0;_++);for(d<_&&(d=_),h=1,o=1;o<=ve;o++)if(h<<=1,h-=E[o],h<0)return-1;if(h>0&&(e===gn||u!==1))return-1;for(k[1]=0,o=1;o<ve;o++)k[o+1]=k[o]+E[o];for(c=0;c<i;c++)n[t+c]!==0&&(l[k[n[t+c]]++]=c);if(e===gn?(O=G=l,T=20):e===yt?(O=Wa,G=Ja,T=257):(O=Qa,G=Da,T=0),m=0,c=0,o=_,w=a,b=d,x=0,N=-1,g=1<<d,v=g-1,e===yt&&g>_n||e===bn&&g>pn)return 1;for(;;){Ie=o-x,l[c]+1<T?(fe=0,xe=l[c]):l[c]>=T?(fe=G[l[c]-T],xe=O[l[c]-T]):(fe=96,xe=0),y=1<<o-x,p=1<<b,_=p;do p-=y,r[w+(m>>x)+p]=Ie<<24|fe<<16|xe|0;while(p!==0);for(y=1<<o-1;m&y;)y>>=1;if(y!==0?(m&=y-1,m+=y):m=0,c++,--E[o]===0){if(o===u)break;o=n[t+l[c]]}if(o>d&&(m&v)!==N){for(x===0&&(x=d),w+=_,b=o-x,h=1<<b;b+x<u&&(h-=E[b+x],!(h<=0));)b++,h<<=1;if(g+=1<<b,e===yt&&g>_n||e===bn&&g>pn)return 1;N=m&v,r[N]=d<<24|b<<16|w-a|0}}return m!==0&&(r[w+m]=o-x<<24|64<<16|0),s.bits=d,0};var Ue=es;const ts=0,Ni=1,ki=2,{Z_FINISH:wn,Z_BLOCK:ns,Z_TREES:tt,Z_OK:be,Z_STREAM_END:is,Z_NEED_DICT:rs,Z_STREAM_ERROR:K,Z_DATA_ERROR:Ti,Z_MEM_ERROR:Ai,Z_BUF_ERROR:as,Z_DEFLATED:yn}=we,ct=16180,xn=16181,mn=16182,En=16183,vn=16184,Nn=16185,kn=16186,Tn=16187,An=16188,Sn=16189,ot=16190,Q=16191,xt=16192,On=16193,mt=16194,Fn=16195,In=16196,Rn=16197,zn=16198,nt=16199,it=16200,Cn=16201,Pn=16202,$n=16203,Ln=16204,Zn=16205,Et=16206,Bn=16207,Un=16208,I=16209,Si=16210,Oi=16211,ss=852,os=592,ls=15,fs=ls,Mn=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function cs(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ye=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.mode<ct||n.mode>Oi?1:0},Fi=e=>{if(ye(e))return K;const n=e.state;return e.total_in=e.total_out=n.total=0,e.msg="",n.wrap&&(e.adler=n.wrap&1),n.mode=ct,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(ss),n.distcode=n.distdyn=new Int32Array(os),n.sane=1,n.back=-1,be},Ii=e=>{if(ye(e))return K;const n=e.state;return n.wsize=0,n.whave=0,n.wnext=0,Fi(e)},Ri=(e,n)=>{let t;if(ye(e))return K;const i=e.state;return n<0?(t=0,n=-n):(t=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?K:(i.window!==null&&i.wbits!==n&&(i.window=null),i.wrap=t,i.wbits=n,Ii(e))},zi=(e,n)=>{if(!e)return K;const t=new cs;e.state=t,t.strm=e,t.window=null,t.mode=ct;const i=Ri(e,n);return i!==be&&(e.state=null),i},ds=e=>zi(e,fs);let jn=!0,vt,Nt;const us=e=>{if(jn){vt=new Int32Array(512),Nt=new Int32Array(32);let n=0;for(;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(Ue(Ni,e.lens,0,288,vt,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;Ue(ki,e.lens,0,32,Nt,0,e.work,{bits:5}),jn=!1}e.lencode=vt,e.lenbits=9,e.distcode=Nt,e.distbits=5},Ci=(e,n,t,i)=>{let r;const a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),i>=a.wsize?(a.window.set(n.subarray(t-a.wsize,t),0),a.wnext=0,a.whave=a.wsize):(r=a.wsize-a.wnext,r>i&&(r=i),a.window.set(n.subarray(t-i,t-i+r),a.wnext),i-=r,i?(a.window.set(n.subarray(t-i,t),0),a.wnext=i,a.whave=a.wsize):(a.wnext+=r,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=r))),0},hs=(e,n)=>{let t,i,r,a,l,s,f,o,c,_,u,d,b,x,h=0,g,m,y,p,N,v,w,O;const T=new Uint8Array(4);let E,k;const G=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ye(e)||!e.output||!e.input&&e.avail_in!==0)return K;t=e.state,t.mode===Q&&(t.mode=xt),l=e.next_out,r=e.output,f=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,o=t.hold,c=t.bits,_=s,u=f,O=be;e:for(;;)switch(t.mode){case ct:if(t.wrap===0){t.mode=xt;break}for(;c<16;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}if(t.wrap&2&&o===35615){t.wbits===0&&(t.wbits=15),t.check=0,T[0]=o&255,T[1]=o>>>8&255,t.check=$(t.check,T,2,0),o=0,c=0,t.mode=xn;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((o&255)<<8)+(o>>8))%31){e.msg="incorrect header check",t.mode=I;break}if((o&15)!==yn){e.msg="unknown compression method",t.mode=I;break}if(o>>>=4,c-=4,w=(o&15)+8,t.wbits===0&&(t.wbits=w),w>15||w>t.wbits){e.msg="invalid window size",t.mode=I;break}t.dmax=1<<t.wbits,t.flags=0,e.adler=t.check=1,t.mode=o&512?Sn:Q,o=0,c=0;break;case xn:for(;c<16;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}if(t.flags=o,(t.flags&255)!==yn){e.msg="unknown compression method",t.mode=I;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=I;break}t.head&&(t.head.text=o>>8&1),t.flags&512&&t.wrap&4&&(T[0]=o&255,T[1]=o>>>8&255,t.check=$(t.check,T,2,0)),o=0,c=0,t.mode=mn;case mn:for(;c<32;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}t.head&&(t.head.time=o),t.flags&512&&t.wrap&4&&(T[0]=o&255,T[1]=o>>>8&255,T[2]=o>>>16&255,T[3]=o>>>24&255,t.check=$(t.check,T,4,0)),o=0,c=0,t.mode=En;case En:for(;c<16;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}t.head&&(t.head.xflags=o&255,t.head.os=o>>8),t.flags&512&&t.wrap&4&&(T[0]=o&255,T[1]=o>>>8&255,t.check=$(t.check,T,2,0)),o=0,c=0,t.mode=vn;case vn:if(t.flags&1024){for(;c<16;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}t.length=o,t.head&&(t.head.extra_len=o),t.flags&512&&t.wrap&4&&(T[0]=o&255,T[1]=o>>>8&255,t.check=$(t.check,T,2,0)),o=0,c=0}else t.head&&(t.head.extra=null);t.mode=Nn;case Nn:if(t.flags&1024&&(d=t.length,d>s&&(d=s),d&&(t.head&&(w=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(a,a+d),w)),t.flags&512&&t.wrap&4&&(t.check=$(t.check,i,d,a)),s-=d,a+=d,t.length-=d),t.length))break e;t.length=0,t.mode=kn;case kn:if(t.flags&2048){if(s===0)break e;d=0;do w=i[a+d++],t.head&&w&&t.length<65536&&(t.head.name+=String.fromCharCode(w));while(w&&d<s);if(t.flags&512&&t.wrap&4&&(t.check=$(t.check,i,d,a)),s-=d,a+=d,w)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=Tn;case Tn:if(t.flags&4096){if(s===0)break e;d=0;do w=i[a+d++],t.head&&w&&t.length<65536&&(t.head.comment+=String.fromCharCode(w));while(w&&d<s);if(t.flags&512&&t.wrap&4&&(t.check=$(t.check,i,d,a)),s-=d,a+=d,w)break e}else t.head&&(t.head.comment=null);t.mode=An;case An:if(t.flags&512){for(;c<16;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}if(t.wrap&4&&o!==(t.check&65535)){e.msg="header crc mismatch",t.mode=I;break}o=0,c=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=Q;break;case Sn:for(;c<32;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}e.adler=t.check=Mn(o),o=0,c=0,t.mode=ot;case ot:if(t.havedict===0)return e.next_out=l,e.avail_out=f,e.next_in=a,e.avail_in=s,t.hold=o,t.bits=c,rs;e.adler=t.check=1,t.mode=Q;case Q:if(n===ns||n===tt)break e;case xt:if(t.last){o>>>=c&7,c-=c&7,t.mode=Et;break}for(;c<3;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}switch(t.last=o&1,o>>>=1,c-=1,o&3){case 0:t.mode=On;break;case 1:if(us(t),t.mode=nt,n===tt){o>>>=2,c-=2;break e}break;case 2:t.mode=In;break;case 3:e.msg="invalid block type",t.mode=I}o>>>=2,c-=2;break;case On:for(o>>>=c&7,c-=c&7;c<32;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}if((o&65535)!==(o>>>16^65535)){e.msg="invalid stored block lengths",t.mode=I;break}if(t.length=o&65535,o=0,c=0,t.mode=mt,n===tt)break e;case mt:t.mode=Fn;case Fn:if(d=t.length,d){if(d>s&&(d=s),d>f&&(d=f),d===0)break e;r.set(i.subarray(a,a+d),l),s-=d,a+=d,f-=d,l+=d,t.length-=d;break}t.mode=Q;break;case In:for(;c<14;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}if(t.nlen=(o&31)+257,o>>>=5,c-=5,t.ndist=(o&31)+1,o>>>=5,c-=5,t.ncode=(o&15)+4,o>>>=4,c-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=I;break}t.have=0,t.mode=Rn;case Rn:for(;t.have<t.ncode;){for(;c<3;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}t.lens[G[t.have++]]=o&7,o>>>=3,c-=3}for(;t.have<19;)t.lens[G[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,E={bits:t.lenbits},O=Ue(ts,t.lens,0,19,t.lencode,0,t.work,E),t.lenbits=E.bits,O){e.msg="invalid code lengths set",t.mode=I;break}t.have=0,t.mode=zn;case zn:for(;t.have<t.nlen+t.ndist;){for(;h=t.lencode[o&(1<<t.lenbits)-1],g=h>>>24,m=h>>>16&255,y=h&65535,!(g<=c);){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}if(y<16)o>>>=g,c-=g,t.lens[t.have++]=y;else{if(y===16){for(k=g+2;c<k;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}if(o>>>=g,c-=g,t.have===0){e.msg="invalid bit length repeat",t.mode=I;break}w=t.lens[t.have-1],d=3+(o&3),o>>>=2,c-=2}else if(y===17){for(k=g+3;c<k;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}o>>>=g,c-=g,w=0,d=3+(o&7),o>>>=3,c-=3}else{for(k=g+7;c<k;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}o>>>=g,c-=g,w=0,d=11+(o&127),o>>>=7,c-=7}if(t.have+d>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=I;break}for(;d--;)t.lens[t.have++]=w}}if(t.mode===I)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=I;break}if(t.lenbits=9,E={bits:t.lenbits},O=Ue(Ni,t.lens,0,t.nlen,t.lencode,0,t.work,E),t.lenbits=E.bits,O){e.msg="invalid literal/lengths set",t.mode=I;break}if(t.distbits=6,t.distcode=t.distdyn,E={bits:t.distbits},O=Ue(ki,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,E),t.distbits=E.bits,O){e.msg="invalid distances set",t.mode=I;break}if(t.mode=nt,n===tt)break e;case nt:t.mode=it;case it:if(s>=6&&f>=258){e.next_out=l,e.avail_out=f,e.next_in=a,e.avail_in=s,t.hold=o,t.bits=c,qa(e,u),l=e.next_out,r=e.output,f=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,o=t.hold,c=t.bits,t.mode===Q&&(t.back=-1);break}for(t.back=0;h=t.lencode[o&(1<<t.lenbits)-1],g=h>>>24,m=h>>>16&255,y=h&65535,!(g<=c);){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}if(m&&!(m&240)){for(p=g,N=m,v=y;h=t.lencode[v+((o&(1<<p+N)-1)>>p)],g=h>>>24,m=h>>>16&255,y=h&65535,!(p+g<=c);){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}o>>>=p,c-=p,t.back+=p}if(o>>>=g,c-=g,t.back+=g,t.length=y,m===0){t.mode=Zn;break}if(m&32){t.back=-1,t.mode=Q;break}if(m&64){e.msg="invalid literal/length code",t.mode=I;break}t.extra=m&15,t.mode=Cn;case Cn:if(t.extra){for(k=t.extra;c<k;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}t.length+=o&(1<<t.extra)-1,o>>>=t.extra,c-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=Pn;case Pn:for(;h=t.distcode[o&(1<<t.distbits)-1],g=h>>>24,m=h>>>16&255,y=h&65535,!(g<=c);){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}if(!(m&240)){for(p=g,N=m,v=y;h=t.distcode[v+((o&(1<<p+N)-1)>>p)],g=h>>>24,m=h>>>16&255,y=h&65535,!(p+g<=c);){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}o>>>=p,c-=p,t.back+=p}if(o>>>=g,c-=g,t.back+=g,m&64){e.msg="invalid distance code",t.mode=I;break}t.offset=y,t.extra=m&15,t.mode=$n;case $n:if(t.extra){for(k=t.extra;c<k;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}t.offset+=o&(1<<t.extra)-1,o>>>=t.extra,c-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=I;break}t.mode=Ln;case Ln:if(f===0)break e;if(d=u-f,t.offset>d){if(d=t.offset-d,d>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=I;break}d>t.wnext?(d-=t.wnext,b=t.wsize-d):b=t.wnext-d,d>t.length&&(d=t.length),x=t.window}else x=r,b=l-t.offset,d=t.length;d>f&&(d=f),f-=d,t.length-=d;do r[l++]=x[b++];while(--d);t.length===0&&(t.mode=it);break;case Zn:if(f===0)break e;r[l++]=t.length,f--,t.mode=it;break;case Et:if(t.wrap){for(;c<32;){if(s===0)break e;s--,o|=i[a++]<<c,c+=8}if(u-=f,e.total_out+=u,t.total+=u,t.wrap&4&&u&&(e.adler=t.check=t.flags?$(t.check,r,u,l-u):Xe(t.check,r,u,l-u)),u=f,t.wrap&4&&(t.flags?o:Mn(o))!==t.check){e.msg="incorrect data check",t.mode=I;break}o=0,c=0}t.mode=Bn;case Bn:if(t.wrap&&t.flags){for(;c<32;){if(s===0)break e;s--,o+=i[a++]<<c,c+=8}if(t.wrap&4&&o!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=I;break}o=0,c=0}t.mode=Un;case Un:O=is;break e;case I:O=Ti;break e;case Si:return Ai;case Oi:default:return K}return e.next_out=l,e.avail_out=f,e.next_in=a,e.avail_in=s,t.hold=o,t.bits=c,(t.wsize||u!==e.avail_out&&t.mode<I&&(t.mode<Et||n!==wn))&&Ci(e,e.output,e.next_out,u-e.avail_out),_-=e.avail_in,u-=e.avail_out,e.total_in+=_,e.total_out+=u,t.total+=u,t.wrap&4&&u&&(e.adler=t.check=t.flags?$(t.check,r,u,e.next_out-u):Xe(t.check,r,u,e.next_out-u)),e.data_type=t.bits+(t.last?64:0)+(t.mode===Q?128:0)+(t.mode===nt||t.mode===mt?256:0),(_===0&&u===0||n===wn)&&O===be&&(O=as),O},_s=e=>{if(ye(e))return K;let n=e.state;return n.window&&(n.window=null),e.state=null,be},ps=(e,n)=>{if(ye(e))return K;const t=e.state;return t.wrap&2?(t.head=n,n.done=!1,be):K},gs=(e,n)=>{const t=n.length;let i,r,a;return ye(e)||(i=e.state,i.wrap!==0&&i.mode!==ot)?K:i.mode===ot&&(r=1,r=Xe(r,n,t,0),r!==i.check)?Ti:(a=Ci(e,n,t,t),a?(i.mode=Si,Ai):(i.havedict=1,be))};var bs=Ii,ws=Ri,ys=Fi,xs=ds,ms=zi,Es=hs,vs=_s,Ns=ps,ks=gs,Ts="pako inflate (from Nodeca project)",ee={inflateReset:bs,inflateReset2:ws,inflateResetKeep:ys,inflateInit:xs,inflateInit2:ms,inflate:Es,inflateEnd:vs,inflateGetHeader:Ns,inflateSetDictionary:ks,inflateInfo:Ts};function As(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var Ss=As;const Pi=Object.prototype.toString,{Z_NO_FLUSH:Os,Z_FINISH:Fs,Z_OK:Ye,Z_STREAM_END:kt,Z_NEED_DICT:Tt,Z_STREAM_ERROR:Is,Z_DATA_ERROR:Hn,Z_MEM_ERROR:Rs}=we;function Qe(e){this.options=ft.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(e&&e.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15||(n.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ei,this.strm.avail_out=0;let t=ee.inflateInit2(this.strm,n.windowBits);if(t!==Ye)throw new Error(pe[t]);if(this.header=new Ss,ee.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=Ge.string2buf(n.dictionary):Pi.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(t=ee.inflateSetDictionary(this.strm,n.dictionary),t!==Ye)))throw new Error(pe[t])}Qe.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize,r=this.options.dictionary;let a,l,s;if(this.ended)return!1;for(n===~~n?l=n:l=n===!0?Fs:Os,Pi.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),a=ee.inflate(t,l),a===Tt&&r&&(a=ee.inflateSetDictionary(t,r),a===Ye?a=ee.inflate(t,l):a===Hn&&(a=Tt));t.avail_in>0&&a===kt&&t.state.wrap>0&&e[t.next_in]!==0;)ee.inflateReset(t),a=ee.inflate(t,l);switch(a){case Is:case Hn:case Tt:case Rs:return this.onEnd(a),this.ended=!0,!1}if(s=t.avail_out,t.next_out&&(t.avail_out===0||a===kt))if(this.options.to==="string"){let f=Ge.utf8border(t.output,t.next_out),o=t.next_out-f,c=Ge.buf2string(t.output,f);t.next_out=o,t.avail_out=i-o,o&&t.output.set(t.output.subarray(f,f+o),0),this.onData(c)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(a===Ye&&s===0)){if(a===kt)return a=ee.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(t.avail_in===0)break}}return!0};Qe.prototype.onData=function(e){this.chunks.push(e)};Qe.prototype.onEnd=function(e){e===Ye&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ft.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Kt(e,n){const t=new Qe(n);if(t.push(e),t.err)throw t.msg||pe[t.err];return t.result}function zs(e,n){return n=n||{},n.raw=!0,Kt(e,n)}var Cs=Qe,Ps=Kt,$s=zs,Ls=Kt,Zs=we,Bs={Inflate:Cs,inflate:Ps,inflateRaw:$s,ungzip:Ls,constants:Zs};const{Deflate:Us,deflate:Ms,deflateRaw:js,gzip:Hs}=Ga,{Inflate:Vs,inflate:Xs,inflateRaw:Ks,ungzip:Gs}=Bs;var Ys=Us,qs=Ms,Ws=js,Js=Hs,Qs=Vs,Ds=Xs,eo=Ks,to=Gs,no=we,io={Deflate:Ys,deflate:qs,deflateRaw:Ws,gzip:Js,Inflate:Qs,inflate:Ds,inflateRaw:eo,ungzip:to,constants:no},Gt={exports:{}},Yt={},dt={};(function(e){const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",t=n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",i="["+n+"]["+t+"]*",r=new RegExp("^"+i+"$"),a=function(s,f){const o=[];let c=f.exec(s);for(;c;){const _=[];_.startIndex=f.lastIndex-c[0].length;const u=c.length;for(let d=0;d<u;d++)_.push(c[d]);o.push(_),c=f.exec(s)}return o},l=function(s){const f=r.exec(s);return!(f===null||typeof f>"u")};e.isExist=function(s){return typeof s<"u"},e.isEmptyObject=function(s){return Object.keys(s).length===0},e.merge=function(s,f,o){if(f){const c=Object.keys(f),_=c.length;for(let u=0;u<_;u++)o==="strict"?s[c[u]]=[f[c[u]]]:s[c[u]]=f[c[u]]}},e.getValue=function(s){return e.isExist(s)?s:""},e.isName=l,e.getAllMatches=a,e.nameRegexp=i})(dt);const qt=dt,ro={allowBooleanAttributes:!1,unpairedTags:[]};Yt.validate=function(e,n){n=Object.assign({},ro,n);const t=[];let i=!1,r=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let a=0;a<e.length;a++)if(e[a]==="<"&&e[a+1]==="?"){if(a+=2,a=Xn(e,a),a.err)return a}else if(e[a]==="<"){let l=a;if(a++,e[a]==="!"){a=Kn(e,a);continue}else{let s=!1;e[a]==="/"&&(s=!0,a++);let f="";for(;a<e.length&&e[a]!==">"&&e[a]!==" "&&e[a]!==" "&&e[a]!==`
|
|
2
|
-
`&&e[a]!=="\r";a++)f+=e[a];if(f=f.trim(),f[f.length-1]==="/"&&(f=f.substring(0,f.length-1),a--),!ho(f)){let _;return f.trim().length===0?_="Invalid space after '<'.":_="Tag '"+f+"' is an invalid name.",P("InvalidTag",_,Z(e,a))}const o=oo(e,a);if(o===!1)return P("InvalidAttr","Attributes for '"+f+"' have open quote.",Z(e,a));let c=o.value;if(a=o.index,c[c.length-1]==="/"){const _=a-c.length;c=c.substring(0,c.length-1);const u=Gn(c,n);if(u===!0)i=!0;else return P(u.err.code,u.err.msg,Z(e,_+u.err.line))}else if(s)if(o.tagClosed){if(c.trim().length>0)return P("InvalidTag","Closing tag '"+f+"' can't have attributes or invalid starting.",Z(e,l));if(t.length===0)return P("InvalidTag","Closing tag '"+f+"' has not been opened.",Z(e,l));{const _=t.pop();if(f!==_.tagName){let u=Z(e,_.tagStartPos);return P("InvalidTag","Expected closing tag '"+_.tagName+"' (opened in line "+u.line+", col "+u.col+") instead of closing tag '"+f+"'.",Z(e,l))}t.length==0&&(r=!0)}}else return P("InvalidTag","Closing tag '"+f+"' doesn't have proper closing.",Z(e,a));else{const _=Gn(c,n);if(_!==!0)return P(_.err.code,_.err.msg,Z(e,a-c.length+_.err.line));if(r===!0)return P("InvalidXml","Multiple possible root nodes found.",Z(e,a));n.unpairedTags.indexOf(f)!==-1||t.push({tagName:f,tagStartPos:l}),i=!0}for(a++;a<e.length;a++)if(e[a]==="<")if(e[a+1]==="!"){a++,a=Kn(e,a);continue}else if(e[a+1]==="?"){if(a=Xn(e,++a),a.err)return a}else break;else if(e[a]==="&"){const _=co(e,a);if(_==-1)return P("InvalidChar","char '&' is not expected.",Z(e,a));a=_}else if(r===!0&&!Vn(e[a]))return P("InvalidXml","Extra text at the end",Z(e,a));e[a]==="<"&&a--}}else{if(Vn(e[a]))continue;return P("InvalidChar","char '"+e[a]+"' is not expected.",Z(e,a))}if(i){if(t.length==1)return P("InvalidTag","Unclosed tag '"+t[0].tagName+"'.",Z(e,t[0].tagStartPos));if(t.length>0)return P("InvalidXml","Invalid '"+JSON.stringify(t.map(a=>a.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return P("InvalidXml","Start tag expected.",1);return!0};function Vn(e){return e===" "||e===" "||e===`
|
|
3
|
-
`||e==="\r"}function Xn(e,n){const t=n;for(;n<e.length;n++)if(e[n]=="?"||e[n]==" "){const i=e.substr(t,n-t);if(n>5&&i==="xml")return P("InvalidXml","XML declaration allowed only at the start of the document.",Z(e,n));if(e[n]=="?"&&e[n+1]==">"){n++;break}else continue}return n}function Kn(e,n){if(e.length>n+5&&e[n+1]==="-"&&e[n+2]==="-"){for(n+=3;n<e.length;n++)if(e[n]==="-"&&e[n+1]==="-"&&e[n+2]===">"){n+=2;break}}else if(e.length>n+8&&e[n+1]==="D"&&e[n+2]==="O"&&e[n+3]==="C"&&e[n+4]==="T"&&e[n+5]==="Y"&&e[n+6]==="P"&&e[n+7]==="E"){let t=1;for(n+=8;n<e.length;n++)if(e[n]==="<")t++;else if(e[n]===">"&&(t--,t===0))break}else if(e.length>n+9&&e[n+1]==="["&&e[n+2]==="C"&&e[n+3]==="D"&&e[n+4]==="A"&&e[n+5]==="T"&&e[n+6]==="A"&&e[n+7]==="["){for(n+=8;n<e.length;n++)if(e[n]==="]"&&e[n+1]==="]"&&e[n+2]===">"){n+=2;break}}return n}const ao='"',so="'";function oo(e,n){let t="",i="",r=!1;for(;n<e.length;n++){if(e[n]===ao||e[n]===so)i===""?i=e[n]:i!==e[n]||(i="");else if(e[n]===">"&&i===""){r=!0;break}t+=e[n]}return i!==""?!1:{value:t,index:n,tagClosed:r}}const lo=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Gn(e,n){const t=qt.getAllMatches(e,lo),i={};for(let r=0;r<t.length;r++){if(t[r][1].length===0)return P("InvalidAttr","Attribute '"+t[r][2]+"' has no space in starting.",ze(t[r]));if(t[r][3]!==void 0&&t[r][4]===void 0)return P("InvalidAttr","Attribute '"+t[r][2]+"' is without value.",ze(t[r]));if(t[r][3]===void 0&&!n.allowBooleanAttributes)return P("InvalidAttr","boolean attribute '"+t[r][2]+"' is not allowed.",ze(t[r]));const a=t[r][2];if(!uo(a))return P("InvalidAttr","Attribute '"+a+"' is an invalid name.",ze(t[r]));if(!i.hasOwnProperty(a))i[a]=1;else return P("InvalidAttr","Attribute '"+a+"' is repeated.",ze(t[r]))}return!0}function fo(e,n){let t=/\d/;for(e[n]==="x"&&(n++,t=/[\da-fA-F]/);n<e.length;n++){if(e[n]===";")return n;if(!e[n].match(t))break}return-1}function co(e,n){if(n++,e[n]===";")return-1;if(e[n]==="#")return n++,fo(e,n);let t=0;for(;n<e.length;n++,t++)if(!(e[n].match(/\w/)&&t<20)){if(e[n]===";")break;return-1}return n}function P(e,n,t){return{err:{code:e,msg:n,line:t.line||t,col:t.col}}}function uo(e){return qt.isName(e)}function ho(e){return qt.isName(e)}function Z(e,n){const t=e.substring(0,n).split(/\r?\n/);return{line:t.length,col:t[t.length-1].length+1}}function ze(e){return e.startIndex+e[1].length}var Wt={};const $i={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,n){return n},attributeValueProcessor:function(e,n){return n},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,n,t){return e}},_o=function(e){return Object.assign({},$i,e)};Wt.buildOptions=_o;Wt.defaultOptions=$i;class po{constructor(n){this.tagname=n,this.child=[],this[":@"]={}}add(n,t){n==="__proto__"&&(n="#__proto__"),this.child.push({[n]:t})}addChild(n){n.tagname==="__proto__"&&(n.tagname="#__proto__"),n[":@"]&&Object.keys(n[":@"]).length>0?this.child.push({[n.tagname]:n.child,":@":n[":@"]}):this.child.push({[n.tagname]:n.child})}}var go=po;const bo=dt;function wo(e,n){const t={};if(e[n+3]==="O"&&e[n+4]==="C"&&e[n+5]==="T"&&e[n+6]==="Y"&&e[n+7]==="P"&&e[n+8]==="E"){n=n+9;let i=1,r=!1,a=!1,l="";for(;n<e.length;n++)if(e[n]==="<"&&!a){if(r&&mo(e,n))n+=7,[entityName,val,n]=yo(e,n+1),val.indexOf("&")===-1&&(t[ko(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(r&&Eo(e,n))n+=8;else if(r&&vo(e,n))n+=8;else if(r&&No(e,n))n+=9;else if(xo)a=!0;else throw new Error("Invalid DOCTYPE");i++,l=""}else if(e[n]===">"){if(a?e[n-1]==="-"&&e[n-2]==="-"&&(a=!1,i--):i--,i===0)break}else e[n]==="["?r=!0:l+=e[n];if(i!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:t,i:n}}function yo(e,n){let t="";for(;n<e.length&&e[n]!=="'"&&e[n]!=='"';n++)t+=e[n];if(t=t.trim(),t.indexOf(" ")!==-1)throw new Error("External entites are not supported");const i=e[n++];let r="";for(;n<e.length&&e[n]!==i;n++)r+=e[n];return[t,r,n]}function xo(e,n){return e[n+1]==="!"&&e[n+2]==="-"&&e[n+3]==="-"}function mo(e,n){return e[n+1]==="!"&&e[n+2]==="E"&&e[n+3]==="N"&&e[n+4]==="T"&&e[n+5]==="I"&&e[n+6]==="T"&&e[n+7]==="Y"}function Eo(e,n){return e[n+1]==="!"&&e[n+2]==="E"&&e[n+3]==="L"&&e[n+4]==="E"&&e[n+5]==="M"&&e[n+6]==="E"&&e[n+7]==="N"&&e[n+8]==="T"}function vo(e,n){return e[n+1]==="!"&&e[n+2]==="A"&&e[n+3]==="T"&&e[n+4]==="T"&&e[n+5]==="L"&&e[n+6]==="I"&&e[n+7]==="S"&&e[n+8]==="T"}function No(e,n){return e[n+1]==="!"&&e[n+2]==="N"&&e[n+3]==="O"&&e[n+4]==="T"&&e[n+5]==="A"&&e[n+6]==="T"&&e[n+7]==="I"&&e[n+8]==="O"&&e[n+9]==="N"}function ko(e){if(bo.isName(e))return e;throw new Error(`Invalid entity name ${e}`)}var To=wo;const Ao=/^[-+]?0x[a-fA-F0-9]+$/,So=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const Oo={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Fo(e,n={}){if(n=Object.assign({},Oo,n),!e||typeof e!="string")return e;let t=e.trim();if(n.skipLike!==void 0&&n.skipLike.test(t))return e;if(n.hex&&Ao.test(t))return Number.parseInt(t,16);{const i=So.exec(t);if(i){const r=i[1],a=i[2];let l=Io(i[3]);const s=i[4]||i[6];if(!n.leadingZeros&&a.length>0&&r&&t[2]!==".")return e;if(!n.leadingZeros&&a.length>0&&!r&&t[1]!==".")return e;{const f=Number(t),o=""+f;return o.search(/[eE]/)!==-1||s?n.eNotation?f:e:t.indexOf(".")!==-1?o==="0"&&l===""||o===l||r&&o==="-"+l?f:e:a?l===o||r+l===o?f:e:t===o||t===r+o?f:e}}else return e}}function Io(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}var Ro=Fo;function zo(e){return typeof e=="function"?e:Array.isArray(e)?n=>{for(const t of e)if(typeof t=="string"&&n===t||t instanceof RegExp&&t.test(n))return!0}:()=>!1}var Li=zo;const Zi=dt,Ce=go,Co=To,Po=Ro,$o=Li;let Lo=class{constructor(n){this.options=n,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(t,i)=>String.fromCharCode(Number.parseInt(i,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(t,i)=>String.fromCharCode(Number.parseInt(i,16))}},this.addExternalEntities=Zo,this.parseXml=Ho,this.parseTextData=Bo,this.resolveNameSpace=Uo,this.buildAttributesMap=jo,this.isItStopNode=Go,this.replaceEntitiesValue=Xo,this.readStopNodeData=qo,this.saveTextToParentTag=Ko,this.addChild=Vo,this.ignoreAttributesFn=$o(this.options.ignoreAttributes)}};function Zo(e){const n=Object.keys(e);for(let t=0;t<n.length;t++){const i=n[t];this.lastEntities[i]={regex:new RegExp("&"+i+";","g"),val:e[i]}}}function Bo(e,n,t,i,r,a,l){if(e!==void 0&&(this.options.trimValues&&!i&&(e=e.trim()),e.length>0)){l||(e=this.replaceEntitiesValue(e));const s=this.options.tagValueProcessor(n,e,t,r,a);return s==null?e:typeof s!=typeof e||s!==e?s:this.options.trimValues?Zt(e,this.options.parseTagValue,this.options.numberParseOptions):e.trim()===e?Zt(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function Uo(e){if(this.options.removeNSPrefix){const n=e.split(":"),t=e.charAt(0)==="/"?"/":"";if(n[0]==="xmlns")return"";n.length===2&&(e=t+n[1])}return e}const Mo=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function jo(e,n,t){if(this.options.ignoreAttributes!==!0&&typeof e=="string"){const i=Zi.getAllMatches(e,Mo),r=i.length,a={};for(let l=0;l<r;l++){const s=this.resolveNameSpace(i[l][1]);if(this.ignoreAttributesFn(s,n))continue;let f=i[l][4],o=this.options.attributeNamePrefix+s;if(s.length)if(this.options.transformAttributeName&&(o=this.options.transformAttributeName(o)),o==="__proto__"&&(o="#__proto__"),f!==void 0){this.options.trimValues&&(f=f.trim()),f=this.replaceEntitiesValue(f);const c=this.options.attributeValueProcessor(s,f,n);c==null?a[o]=f:typeof c!=typeof f||c!==f?a[o]=c:a[o]=Zt(f,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(a[o]=!0)}if(!Object.keys(a).length)return;if(this.options.attributesGroupName){const l={};return l[this.options.attributesGroupName]=a,l}return a}}const Ho=function(e){e=e.replace(/\r\n?/g,`
|
|
4
|
-
`);const n=new Ce("!xml");let t=n,i="",r="";for(let a=0;a<e.length;a++)if(e[a]==="<")if(e[a+1]==="/"){const s=_e(e,">",a,"Closing Tag is not closed.");let f=e.substring(a+2,s).trim();if(this.options.removeNSPrefix){const _=f.indexOf(":");_!==-1&&(f=f.substr(_+1))}this.options.transformTagName&&(f=this.options.transformTagName(f)),t&&(i=this.saveTextToParentTag(i,t,r));const o=r.substring(r.lastIndexOf(".")+1);if(f&&this.options.unpairedTags.indexOf(f)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${f}>`);let c=0;o&&this.options.unpairedTags.indexOf(o)!==-1?(c=r.lastIndexOf(".",r.lastIndexOf(".")-1),this.tagsNodeStack.pop()):c=r.lastIndexOf("."),r=r.substring(0,c),t=this.tagsNodeStack.pop(),i="",a=s}else if(e[a+1]==="?"){let s=Lt(e,a,!1,"?>");if(!s)throw new Error("Pi Tag is not closed.");if(i=this.saveTextToParentTag(i,t,r),!(this.options.ignoreDeclaration&&s.tagName==="?xml"||this.options.ignorePiTags)){const f=new Ce(s.tagName);f.add(this.options.textNodeName,""),s.tagName!==s.tagExp&&s.attrExpPresent&&(f[":@"]=this.buildAttributesMap(s.tagExp,r,s.tagName)),this.addChild(t,f,r)}a=s.closeIndex+1}else if(e.substr(a+1,3)==="!--"){const s=_e(e,"-->",a+4,"Comment is not closed.");if(this.options.commentPropName){const f=e.substring(a+4,s-2);i=this.saveTextToParentTag(i,t,r),t.add(this.options.commentPropName,[{[this.options.textNodeName]:f}])}a=s}else if(e.substr(a+1,2)==="!D"){const s=Co(e,a);this.docTypeEntities=s.entities,a=s.i}else if(e.substr(a+1,2)==="!["){const s=_e(e,"]]>",a,"CDATA is not closed.")-2,f=e.substring(a+9,s);i=this.saveTextToParentTag(i,t,r);let o=this.parseTextData(f,t.tagname,r,!0,!1,!0,!0);o==null&&(o=""),this.options.cdataPropName?t.add(this.options.cdataPropName,[{[this.options.textNodeName]:f}]):t.add(this.options.textNodeName,o),a=s+2}else{let s=Lt(e,a,this.options.removeNSPrefix),f=s.tagName;const o=s.rawTagName;let c=s.tagExp,_=s.attrExpPresent,u=s.closeIndex;this.options.transformTagName&&(f=this.options.transformTagName(f)),t&&i&&t.tagname!=="!xml"&&(i=this.saveTextToParentTag(i,t,r,!1));const d=t;if(d&&this.options.unpairedTags.indexOf(d.tagname)!==-1&&(t=this.tagsNodeStack.pop(),r=r.substring(0,r.lastIndexOf("."))),f!==n.tagname&&(r+=r?"."+f:f),this.isItStopNode(this.options.stopNodes,r,f)){let b="";if(c.length>0&&c.lastIndexOf("/")===c.length-1)f[f.length-1]==="/"?(f=f.substr(0,f.length-1),r=r.substr(0,r.length-1),c=f):c=c.substr(0,c.length-1),a=s.closeIndex;else if(this.options.unpairedTags.indexOf(f)!==-1)a=s.closeIndex;else{const h=this.readStopNodeData(e,o,u+1);if(!h)throw new Error(`Unexpected end of ${o}`);a=h.i,b=h.tagContent}const x=new Ce(f);f!==c&&_&&(x[":@"]=this.buildAttributesMap(c,r,f)),b&&(b=this.parseTextData(b,f,r,!0,_,!0,!0)),r=r.substr(0,r.lastIndexOf(".")),x.add(this.options.textNodeName,b),this.addChild(t,x,r)}else{if(c.length>0&&c.lastIndexOf("/")===c.length-1){f[f.length-1]==="/"?(f=f.substr(0,f.length-1),r=r.substr(0,r.length-1),c=f):c=c.substr(0,c.length-1),this.options.transformTagName&&(f=this.options.transformTagName(f));const b=new Ce(f);f!==c&&_&&(b[":@"]=this.buildAttributesMap(c,r,f)),this.addChild(t,b,r),r=r.substr(0,r.lastIndexOf("."))}else{const b=new Ce(f);this.tagsNodeStack.push(t),f!==c&&_&&(b[":@"]=this.buildAttributesMap(c,r,f)),this.addChild(t,b,r),t=b}i="",a=u}}else i+=e[a];return n.child};function Vo(e,n,t){const i=this.options.updateTag(n.tagname,t,n[":@"]);i===!1||(typeof i=="string"&&(n.tagname=i),e.addChild(n))}const Xo=function(e){if(this.options.processEntities){for(let n in this.docTypeEntities){const t=this.docTypeEntities[n];e=e.replace(t.regx,t.val)}for(let n in this.lastEntities){const t=this.lastEntities[n];e=e.replace(t.regex,t.val)}if(this.options.htmlEntities)for(let n in this.htmlEntities){const t=this.htmlEntities[n];e=e.replace(t.regex,t.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function Ko(e,n,t,i){return e&&(i===void 0&&(i=Object.keys(n.child).length===0),e=this.parseTextData(e,n.tagname,t,!1,n[":@"]?Object.keys(n[":@"]).length!==0:!1,i),e!==void 0&&e!==""&&n.add(this.options.textNodeName,e),e=""),e}function Go(e,n,t){const i="*."+t;for(const r in e){const a=e[r];if(i===a||n===a)return!0}return!1}function Yo(e,n,t=">"){let i,r="";for(let a=n;a<e.length;a++){let l=e[a];if(i)l===i&&(i="");else if(l==='"'||l==="'")i=l;else if(l===t[0])if(t[1]){if(e[a+1]===t[1])return{data:r,index:a}}else return{data:r,index:a};else l===" "&&(l=" ");r+=l}}function _e(e,n,t,i){const r=e.indexOf(n,t);if(r===-1)throw new Error(i);return r+n.length-1}function Lt(e,n,t,i=">"){const r=Yo(e,n+1,i);if(!r)return;let a=r.data;const l=r.index,s=a.search(/\s/);let f=a,o=!0;s!==-1&&(f=a.substring(0,s),a=a.substring(s+1).trimStart());const c=f;if(t){const _=f.indexOf(":");_!==-1&&(f=f.substr(_+1),o=f!==r.data.substr(_+1))}return{tagName:f,tagExp:a,closeIndex:l,attrExpPresent:o,rawTagName:c}}function qo(e,n,t){const i=t;let r=1;for(;t<e.length;t++)if(e[t]==="<")if(e[t+1]==="/"){const a=_e(e,">",t,`${n} is not closed`);if(e.substring(t+2,a).trim()===n&&(r--,r===0))return{tagContent:e.substring(i,t),i:a};t=a}else if(e[t+1]==="?")t=_e(e,"?>",t+1,"StopNode is not closed.");else if(e.substr(t+1,3)==="!--")t=_e(e,"-->",t+3,"StopNode is not closed.");else if(e.substr(t+1,2)==="![")t=_e(e,"]]>",t,"StopNode is not closed.")-2;else{const a=Lt(e,t,">");a&&((a&&a.tagName)===n&&a.tagExp[a.tagExp.length-1]!=="/"&&r++,t=a.closeIndex)}}function Zt(e,n,t){if(n&&typeof e=="string"){const i=e.trim();return i==="true"?!0:i==="false"?!1:Po(e,t)}else return Zi.isExist(e)?e:""}var Wo=Lo,Bi={};function Jo(e,n){return Ui(e,n)}function Ui(e,n,t){let i;const r={};for(let a=0;a<e.length;a++){const l=e[a],s=Qo(l);let f="";if(t===void 0?f=s:f=t+"."+s,s===n.textNodeName)i===void 0?i=l[s]:i+=""+l[s];else{if(s===void 0)continue;if(l[s]){let o=Ui(l[s],n,f);const c=el(o,n);l[":@"]?Do(o,l[":@"],f,n):Object.keys(o).length===1&&o[n.textNodeName]!==void 0&&!n.alwaysCreateTextNode?o=o[n.textNodeName]:Object.keys(o).length===0&&(n.alwaysCreateTextNode?o[n.textNodeName]="":o=""),r[s]!==void 0&&r.hasOwnProperty(s)?(Array.isArray(r[s])||(r[s]=[r[s]]),r[s].push(o)):n.isArray(s,f,c)?r[s]=[o]:r[s]=o}}}return typeof i=="string"?i.length>0&&(r[n.textNodeName]=i):i!==void 0&&(r[n.textNodeName]=i),r}function Qo(e){const n=Object.keys(e);for(let t=0;t<n.length;t++){const i=n[t];if(i!==":@")return i}}function Do(e,n,t,i){if(n){const r=Object.keys(n),a=r.length;for(let l=0;l<a;l++){const s=r[l];i.isArray(s,t+"."+s,!0,!0)?e[s]=[n[s]]:e[s]=n[s]}}}function el(e,n){const{textNodeName:t}=n,i=Object.keys(e).length;return!!(i===0||i===1&&(e[t]||typeof e[t]=="boolean"||e[t]===0))}Bi.prettify=Jo;const{buildOptions:tl}=Wt,nl=Wo,{prettify:il}=Bi,rl=Yt;let al=class{constructor(n){this.externalEntities={},this.options=tl(n)}parse(n,t){if(typeof n!="string")if(n.toString)n=n.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(t){t===!0&&(t={});const a=rl.validate(n,t);if(a!==!0)throw Error(`${a.err.msg}:${a.err.line}:${a.err.col}`)}const i=new nl(this.options);i.addExternalEntities(this.externalEntities);const r=i.parseXml(n);return this.options.preserveOrder||r===void 0?r:il(r,this.options)}addEntity(n,t){if(t.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(n.indexOf("&")!==-1||n.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(t==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[n]=t}};var sl=al;const ol=`
|
|
5
|
-
`;function ll(e,n){let t="";return n.format&&n.indentBy.length>0&&(t=ol),Mi(e,n,"",t)}function Mi(e,n,t,i){let r="",a=!1;for(let l=0;l<e.length;l++){const s=e[l],f=fl(s);if(f===void 0)continue;let o="";if(t.length===0?o=f:o=`${t}.${f}`,f===n.textNodeName){let b=s[f];cl(o,n)||(b=n.tagValueProcessor(f,b),b=ji(b,n)),a&&(r+=i),r+=b,a=!1;continue}else if(f===n.cdataPropName){a&&(r+=i),r+=`<![CDATA[${s[f][0][n.textNodeName]}]]>`,a=!1;continue}else if(f===n.commentPropName){r+=i+`<!--${s[f][0][n.textNodeName]}-->`,a=!0;continue}else if(f[0]==="?"){const b=Yn(s[":@"],n),x=f==="?xml"?"":i;let h=s[f][0][n.textNodeName];h=h.length!==0?" "+h:"",r+=x+`<${f}${h}${b}?>`,a=!0;continue}let c=i;c!==""&&(c+=n.indentBy);const _=Yn(s[":@"],n),u=i+`<${f}${_}`,d=Mi(s[f],n,o,c);n.unpairedTags.indexOf(f)!==-1?n.suppressUnpairedNode?r+=u+">":r+=u+"/>":(!d||d.length===0)&&n.suppressEmptyNode?r+=u+"/>":d&&d.endsWith(">")?r+=u+`>${d}${i}</${f}>`:(r+=u+">",d&&i!==""&&(d.includes("/>")||d.includes("</"))?r+=i+n.indentBy+d+i:r+=d,r+=`</${f}>`),a=!0}return r}function fl(e){const n=Object.keys(e);for(let t=0;t<n.length;t++){const i=n[t];if(e.hasOwnProperty(i)&&i!==":@")return i}}function Yn(e,n){let t="";if(e&&!n.ignoreAttributes)for(let i in e){if(!e.hasOwnProperty(i))continue;let r=n.attributeValueProcessor(i,e[i]);r=ji(r,n),r===!0&&n.suppressBooleanAttributes?t+=` ${i.substr(n.attributeNamePrefix.length)}`:t+=` ${i.substr(n.attributeNamePrefix.length)}="${r}"`}return t}function cl(e,n){e=e.substr(0,e.length-n.textNodeName.length-1);let t=e.substr(e.lastIndexOf(".")+1);for(let i in n.stopNodes)if(n.stopNodes[i]===e||n.stopNodes[i]==="*."+t)return!0;return!1}function ji(e,n){if(e&&e.length>0&&n.processEntities)for(let t=0;t<n.entities.length;t++){const i=n.entities[t];e=e.replace(i.regex,i.val)}return e}var dl=ll;const ul=dl,hl=Li,_l={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,n){return n},attributeValueProcessor:function(e,n){return n},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function le(e){this.options=Object.assign({},_l,e),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=hl(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=bl),this.processTextOrObjNode=pl,this.options.format?(this.indentate=gl,this.tagEndChar=`>
|
|
6
|
-
`,this.newLine=`
|
|
7
|
-
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}le.prototype.build=function(e){return this.options.preserveOrder?ul(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)};le.prototype.j2x=function(e,n,t){let i="",r="";const a=t.join(".");for(let l in e)if(Object.prototype.hasOwnProperty.call(e,l))if(typeof e[l]>"u")this.isAttribute(l)&&(r+="");else if(e[l]===null)this.isAttribute(l)?r+="":l[0]==="?"?r+=this.indentate(n)+"<"+l+"?"+this.tagEndChar:r+=this.indentate(n)+"<"+l+"/"+this.tagEndChar;else if(e[l]instanceof Date)r+=this.buildTextValNode(e[l],l,"",n);else if(typeof e[l]!="object"){const s=this.isAttribute(l);if(s&&!this.ignoreAttributesFn(s,a))i+=this.buildAttrPairStr(s,""+e[l]);else if(!s)if(l===this.options.textNodeName){let f=this.options.tagValueProcessor(l,""+e[l]);r+=this.replaceEntitiesValue(f)}else r+=this.buildTextValNode(e[l],l,"",n)}else if(Array.isArray(e[l])){const s=e[l].length;let f="",o="";for(let c=0;c<s;c++){const _=e[l][c];if(!(typeof _>"u"))if(_===null)l[0]==="?"?r+=this.indentate(n)+"<"+l+"?"+this.tagEndChar:r+=this.indentate(n)+"<"+l+"/"+this.tagEndChar;else if(typeof _=="object")if(this.options.oneListGroup){const u=this.j2x(_,n+1,t.concat(l));f+=u.val,this.options.attributesGroupName&&_.hasOwnProperty(this.options.attributesGroupName)&&(o+=u.attrStr)}else f+=this.processTextOrObjNode(_,l,n,t);else if(this.options.oneListGroup){let u=this.options.tagValueProcessor(l,_);u=this.replaceEntitiesValue(u),f+=u}else f+=this.buildTextValNode(_,l,"",n)}this.options.oneListGroup&&(f=this.buildObjectNode(f,l,o,n)),r+=f}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){const s=Object.keys(e[l]),f=s.length;for(let o=0;o<f;o++)i+=this.buildAttrPairStr(s[o],""+e[l][s[o]])}else r+=this.processTextOrObjNode(e[l],l,n,t);return{attrStr:i,val:r}};le.prototype.buildAttrPairStr=function(e,n){return n=this.options.attributeValueProcessor(e,""+n),n=this.replaceEntitiesValue(n),this.options.suppressBooleanAttributes&&n==="true"?" "+e:" "+e+'="'+n+'"'};function pl(e,n,t,i){const r=this.j2x(e,t+1,i.concat(n));return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],n,r.attrStr,t):this.buildObjectNode(r.val,n,r.attrStr,t)}le.prototype.buildObjectNode=function(e,n,t,i){if(e==="")return n[0]==="?"?this.indentate(i)+"<"+n+t+"?"+this.tagEndChar:this.indentate(i)+"<"+n+t+this.closeTag(n)+this.tagEndChar;{let r="</"+n+this.tagEndChar,a="";return n[0]==="?"&&(a="?",r=""),(t||t==="")&&e.indexOf("<")===-1?this.indentate(i)+"<"+n+t+a+">"+e+r:this.options.commentPropName!==!1&&n===this.options.commentPropName&&a.length===0?this.indentate(i)+`<!--${e}-->`+this.newLine:this.indentate(i)+"<"+n+t+a+this.tagEndChar+e+this.indentate(i)+r}};le.prototype.closeTag=function(e){let n="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(n="/"):this.options.suppressEmptyNode?n="/":n=`></${e}`,n};le.prototype.buildTextValNode=function(e,n,t,i){if(this.options.cdataPropName!==!1&&n===this.options.cdataPropName)return this.indentate(i)+`<![CDATA[${e}]]>`+this.newLine;if(this.options.commentPropName!==!1&&n===this.options.commentPropName)return this.indentate(i)+`<!--${e}-->`+this.newLine;if(n[0]==="?")return this.indentate(i)+"<"+n+t+"?"+this.tagEndChar;{let r=this.options.tagValueProcessor(n,e);return r=this.replaceEntitiesValue(r),r===""?this.indentate(i)+"<"+n+t+this.closeTag(n)+this.tagEndChar:this.indentate(i)+"<"+n+t+">"+r+"</"+n+this.tagEndChar}};le.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let n=0;n<this.options.entities.length;n++){const t=this.options.entities[n];e=e.replace(t.regex,t.val)}return e};function gl(e){return this.options.indentBy.repeat(e)}function bl(e){return e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName?e.substr(this.attrPrefixLen):!1}var wl=le;const yl=Yt,xl=sl,ml=wl;var El={XMLParser:xl,XMLValidator:yl,XMLBuilder:ml};const{XMLParser:vl,XMLValidator:Nl}=El,Hi=e=>{if(e==null||(e=e.toString().trim(),e.length===0)||Nl.validate(e)!==!0)return!1;let n;const t=new vl;try{n=t.parse(e)}catch{return!1}return!(!n||!("svg"in n))};Gt.exports=Hi;Gt.exports.default=Hi;var kl=Gt.exports;const qn=qi(kl);function Vi({aspect:e,children:n,...t}){return z.jsx(Tl,{aspect:e,...t,children:z.jsx("span",{className:"aspect-ratio-container__inner",children:n})})}Vi.propTypes={aspect:C.number.isRequired,children:C.node.isRequired};const Tl=Ae("span")`
|
|
8
|
-
display: block;
|
|
9
|
-
position: relative;
|
|
10
|
-
width: 100%;
|
|
11
|
-
height: 0;
|
|
12
|
-
padding-bottom: ${({aspect:e})=>1/e*100}%;
|
|
13
|
-
|
|
14
|
-
.aspect-ratio-container__inner {
|
|
15
|
-
position: absolute;
|
|
16
|
-
top: 0;
|
|
17
|
-
bottom: 0;
|
|
18
|
-
left: 0;
|
|
19
|
-
right: 0;
|
|
20
|
-
}
|
|
21
|
-
`;var Xi={};Object.defineProperty(Xi,"__esModule",{value:!0});var ce=A,Al=rr,Sl=ar,Ol=Ji,Fl=Wi;function Jt(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var te=Jt(ce),Il=Jt(Sl),ne=Jt(Fl),Rl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof nn<"u"?nn:typeof self<"u"?self:{};function Ki(e,n){return e(n={exports:{}},n.exports),n.exports}var zl=Ki(function(e){(function(n){var t=function(h,g,m){if(!f(g)||c(g)||_(g)||u(g)||s(g))return g;var y,p=0,N=0;if(o(g))for(y=[],N=g.length;p<N;p++)y.push(t(h,g[p],m));else for(var v in y={},g)Object.prototype.hasOwnProperty.call(g,v)&&(y[h(v,m)]=t(h,g[v],m));return y},i=function(h){return d(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(g,m){return m?m.toUpperCase():""})).substr(0,1).toLowerCase()+h.substr(1)},r=function(h){var g=i(h);return g.substr(0,1).toUpperCase()+g.substr(1)},a=function(h,g){return function(m,y){var p=(y=y||{}).separator||"_",N=y.split||/(?=[A-Z])/;return m.split(N).join(p)}(h,g).toLowerCase()},l=Object.prototype.toString,s=function(h){return typeof h=="function"},f=function(h){return h===Object(h)},o=function(h){return l.call(h)=="[object Array]"},c=function(h){return l.call(h)=="[object Date]"},_=function(h){return l.call(h)=="[object RegExp]"},u=function(h){return l.call(h)=="[object Boolean]"},d=function(h){return(h-=0)==h},b=function(h,g){var m=g&&"process"in g?g.process:g;return typeof m!="function"?h:function(y,p){return m(y,h,p)}},x={camelize:i,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(h,g){return t(b(i,g),h)},decamelizeKeys:function(h,g){return t(b(a,g),h,g)},pascalizeKeys:function(h,g){return t(b(r,g),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=x:n.humps=x})(Rl)}).decamelize,Cl=Ki(function(e){function n(){return e.exports=n=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var r=arguments[i];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},n.apply(this,arguments)}e.exports=n}),Pl=function(e){if(Array.isArray(e))return e},$l=function(e,n){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var t=[],i=!0,r=!1,a=void 0;try{for(var l,s=e[Symbol.iterator]();!(i=(l=s.next()).done)&&(t.push(l.value),!n||t.length!==n);i=!0);}catch(f){r=!0,a=f}finally{try{i||s.return==null||s.return()}finally{if(r)throw a}}return t}},Wn=function(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i},Ll=function(e,n){if(e){if(typeof e=="string")return Wn(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Wn(e,n):void 0}},Zl=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
22
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Bl=function(e,n){return Pl(e)||$l(e,n)||Ll(e,n)||Zl()},Ul=function(e,n){if(e==null)return{};var t,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)t=a[i],n.indexOf(t)>=0||(r[t]=e[t]);return r},Ml=function(e,n){if(e==null)return{};var t,i,r=Ul(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)t=a[i],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r},jl=ce.createContext(null);function Bt(e){var n=e.root,t=e.children;return Ol.createPortal(t,n)}function Hl(e){var n=ce.forwardRef(function(t,i){var r,a,l=t.mode,s=t.delegatesFocus,f=t.styleSheets,o=t.ssr,c=t.children,_=Ml(t,["mode","delegatesFocus","styleSheets","ssr","children"]),u=(r=i,a=ce.useRef(r&&r.current),ce.useEffect(function(){r&&(r.current=a.current)},[r]),a),d=ce.useState(null),b=Bl(d,2),x=b[0],h=b[1],g="node_".concat(l).concat(s);return ce.useLayoutEffect(function(){if(u.current)try{if(typeof i=="function"&&i(u.current),o){var m=u.current.shadowRoot;return void h(m)}var y=u.current.attachShadow({mode:l,delegatesFocus:s});f.length>0&&(y.adoptedStyleSheets=f),h(y)}catch(p){(function(N){var v=N.error,w=N.styleSheets,O=N.root;switch(v.name){case"NotSupportedError":w.length>0&&(O.adoptedStyleSheets=w);break;default:throw v}})({error:p,styleSheets:f,root:x})}},[i,u,f]),te.default.createElement(te.default.Fragment,null,te.default.createElement(e.tag,Cl({key:g,ref:u},_),(x||o)&&te.default.createElement(jl.Provider,{value:x},o?te.default.createElement("template",{shadowroot:"open"},e.render({root:x,ssr:o,children:c})):te.default.createElement(Bt,{root:x},e.render({root:x,ssr:o,children:c})))))});return n.propTypes={mode:ne.default.oneOf(["open","closed"]),delegatesFocus:ne.default.bool,styleSheets:ne.default.arrayOf(ne.default.instanceOf(globalThis.CSSStyleSheet)),ssr:ne.default.bool,children:ne.default.node},n.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},n}Bt.propTypes={root:ne.default.object.isRequired,children:ne.default.node},Bt.defaultProps={children:null};var At=new Map;function Gi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,r){var a=zl(r,{separator:"-"}),l="".concat(n,"-").concat(a);return At.has(l)||At.set(l,Hl({tag:a,render:t})),At.get(l)}})}Gi();var Jn=new WeakMap,Vl=Gi({},"emotion",function(e){var n=e.root,t=e.children,i=Jn.get(n)||function(){var r=Il.default({container:n,key:"react-shadow"});return Jn.set(n,r),r}();return te.default.createElement(Al.CacheProvider,{value:i},te.default.createElement(te.default.Fragment,null,t))}),Xl=Xi.default=Vl;function Qt({svg:e,...n}){return z.jsx(Kl,{...n,children:z.jsx(Gl,{dangerouslySetInnerHTML:{__html:e}})})}Qt.propTypes={svg:C.string.isRequired};const Kl=Ae(Xl.span)`
|
|
23
|
-
display: block;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
`,Gl=Ae("div")`
|
|
27
|
-
&,
|
|
28
|
-
& > svg {
|
|
29
|
-
height: 100%;
|
|
30
|
-
width: 100%;
|
|
31
|
-
min-width: 100%;
|
|
32
|
-
max-width: 100%;
|
|
33
|
-
}
|
|
34
|
-
`,Yl=e=>{const n=new Blob([e],{type:"image/svg+xml"});return URL.createObjectURL(n)};function Dt({svg:e,alt:n,fallback:t,...i}){if(t&&e.indexOf("</foreignObject>")>-1)return z.jsx(Qt,{svg:e});const r=Yl(e);return z.jsx("img",{src:r,onLoad:()=>URL.revokeObjectURL(r),alt:n,...i})}Dt.propTypes={svg:C.string.isRequired,alt:C.string,fallback:C.bool};Dt.defaultProps={alt:"",fallback:!0};function ql(){return z.jsx(Wl,{className:"nft-display__loading",children:"Loading..."})}const Wl=Ae("span")`
|
|
35
|
-
display: flex;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
align-items: center;
|
|
38
|
-
position: absolute;
|
|
39
|
-
width: 100%;
|
|
40
|
-
height: 100%;
|
|
41
|
-
color: #ccc;
|
|
42
|
-
background-color: #eee;
|
|
43
|
-
`,Jl=e=>A.createElement("svg",{width:300,height:300,viewBox:"0 0 300 300",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},A.createElement("g",{clipPath:"url(#clip0_317_299)"},A.createElement("rect",{x:60,width:60,height:60,fill:"#F3F4F6",style:{fill:"#F3F4F6",fill:"color(display-p3 0.9529 0.9569 0.9647)",fillOpacity:1}}),A.createElement("rect",{width:60,height:60,fill:"#F9FAFB",style:{fill:"#F9FAFB",fill:"color(display-p3 0.9765 0.9804 0.9843)",fillOpacity:1}}),A.createElement("rect",{x:180,width:60,height:60,fill:"#F9FAFB",style:{fill:"#F9FAFB",fill:"color(display-p3 0.9765 0.9804 0.9843)",fillOpacity:1}}),A.createElement("rect",{x:120,width:60,height:60,fill:"#E5E7EB",style:{fill:"#E5E7EB",fill:"color(display-p3 0.8980 0.9059 0.9216)",fillOpacity:1}}),A.createElement("rect",{x:240,width:60,height:60,fill:"#E5E7EB",style:{fill:"#E5E7EB",fill:"color(display-p3 0.8980 0.9059 0.9216)",fillOpacity:1}}),A.createElement("rect",{y:60,width:60,height:60,fill:"#E5E7EB",style:{fill:"#E5E7EB",fill:"color(display-p3 0.8980 0.9059 0.9216)",fillOpacity:1}}),A.createElement("rect",{x:60,y:60,width:60,height:60,fill:"#F9FAFB",style:{fill:"#F9FAFB",fill:"color(display-p3 0.9765 0.9804 0.9843)",fillOpacity:1}}),A.createElement("rect",{x:120,y:60,width:60,height:60,fill:"#F3F4F6",style:{fill:"#F3F4F6",fill:"color(display-p3 0.9529 0.9569 0.9647)",fillOpacity:1}}),A.createElement("rect",{x:240,y:59.9999,width:60,height:60,fill:"#F3F4F6",style:{fill:"#F3F4F6",fill:"color(display-p3 0.9529 0.9569 0.9647)",fillOpacity:1}}),A.createElement("rect",{x:180,y:59.9999,width:60,height:60,fill:"#E5E7EB",style:{fill:"#E5E7EB",fill:"color(display-p3 0.8980 0.9059 0.9216)",fillOpacity:1}}),A.createElement("rect",{y:120,width:60,height:60,fill:"#F3F4F6",style:{fill:"#F3F4F6",fill:"color(display-p3 0.9529 0.9569 0.9647)",fillOpacity:1}}),A.createElement("rect",{y:180,width:60,height:60,fill:"#F9FAFB",style:{fill:"#F9FAFB",fill:"color(display-p3 0.9765 0.9804 0.9843)",fillOpacity:1}}),A.createElement("rect",{y:240,width:60,height:60,fill:"#F3F4F6",style:{fill:"#F3F4F6",fill:"color(display-p3 0.9529 0.9569 0.9647)",fillOpacity:1}}),A.createElement("rect",{x:60,y:120,width:60,height:60,fill:"#E5E7EB",style:{fill:"#E5E7EB",fill:"color(display-p3 0.8980 0.9059 0.9216)",fillOpacity:1}}),A.createElement("rect",{x:60,y:180,width:60,height:60,fill:"#F3F4F6",style:{fill:"#F3F4F6",fill:"color(display-p3 0.9529 0.9569 0.9647)",fillOpacity:1}}),A.createElement("rect",{x:60,y:240,width:60,height:60,fill:"#E5E7EB",style:{fill:"#E5E7EB",fill:"color(display-p3 0.8980 0.9059 0.9216)",fillOpacity:1}}),A.createElement("rect",{x:120,y:120,width:60,height:60,fill:"#F9FAFB",style:{fill:"#F9FAFB",fill:"color(display-p3 0.9765 0.9804 0.9843)",fillOpacity:1}}),A.createElement("rect",{x:180,y:180,width:60,height:60,fill:"#F9FAFB",style:{fill:"#F9FAFB",fill:"color(display-p3 0.9765 0.9804 0.9843)",fillOpacity:1}}),A.createElement("rect",{x:120,y:240,width:60,height:60,fill:"#F3F4F6",style:{fill:"#F3F4F6",fill:"color(display-p3 0.9529 0.9569 0.9647)",fillOpacity:1}}),A.createElement("rect",{x:240,y:120,width:60,height:60,fill:"#F9FAFB",style:{fill:"#F9FAFB",fill:"color(display-p3 0.9765 0.9804 0.9843)",fillOpacity:1}}),A.createElement("rect",{x:120,y:180,width:60,height:60,fill:"#E5E7EB",style:{fill:"#E5E7EB",fill:"color(display-p3 0.8980 0.9059 0.9216)",fillOpacity:1}}),A.createElement("rect",{x:180,y:240,width:60,height:60,fill:"#E5E7EB",style:{fill:"#E5E7EB",fill:"color(display-p3 0.8980 0.9059 0.9216)",fillOpacity:1}}),A.createElement("rect",{x:180,y:120,width:60,height:60,fill:"#F3F4F6",style:{fill:"#F3F4F6",fill:"color(display-p3 0.9529 0.9569 0.9647)",fillOpacity:1}}),A.createElement("rect",{x:240,y:180,width:60,height:60,fill:"#F3F4F6",style:{fill:"#F3F4F6",fill:"color(display-p3 0.9529 0.9569 0.9647)",fillOpacity:1}}),A.createElement("rect",{x:240,y:240,width:60,height:60,fill:"#F9FAFB",style:{fill:"#F9FAFB",fill:"color(display-p3 0.9765 0.9804 0.9843)",fillOpacity:1}})),A.createElement("defs",null,A.createElement("clipPath",{id:"clip0_317_299"},A.createElement("rect",{width:300,height:300,fill:"white",style:{fill:"white",fillOpacity:1}}))));function en({children:e}={}){return z.jsxs(Ql,{children:[z.jsx(Jl,{className:"nft-display-broken-background"}),e&&z.jsx(Dn,{className:"nft-display-broken-content",children:e})]})}en.propTypes={children:C.node};en.defaultProps={children:"Non-publicly accessible NFT"};const Ql=Ae(Dn)`
|
|
44
|
-
width: 100%;
|
|
45
|
-
height: 100%;
|
|
46
|
-
position: relative;
|
|
47
|
-
|
|
48
|
-
.nft-display-broken-background {
|
|
49
|
-
width: 100%;
|
|
50
|
-
height: 100%;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.nft-display-broken-content {
|
|
54
|
-
display: flex;
|
|
55
|
-
width: 100%;
|
|
56
|
-
height: 100%;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
align-items: center;
|
|
59
|
-
position: absolute;
|
|
60
|
-
top: 0;
|
|
61
|
-
left: 0;
|
|
62
|
-
right: 0;
|
|
63
|
-
bottom: 0;
|
|
64
|
-
margin: auto;
|
|
65
|
-
mix-blend-mode: plus-darker;
|
|
66
|
-
font-size: 13px;
|
|
67
|
-
color: #9aa3b0;
|
|
68
|
-
text-align: center;
|
|
69
|
-
text-shadow:
|
|
70
|
-
0 0 2px #fff,
|
|
71
|
-
0 0 2px #fff,
|
|
72
|
-
0 0 2px #fff;
|
|
73
|
-
user-select: none;
|
|
74
|
-
}
|
|
75
|
-
`,Pe=new Map,Dl=10*60*1e3,ef=e=>{const{url:n,method:t}=e,i=JSON.stringify({url:n,method:t});if(Pe.has(i)){const r=Pe.get(i);if(Date.now()-r.timestamp<Dl)return r.error?Promise.reject(r.error):Promise.resolve({headers:r.headers});Pe.delete(i)}return Di(e).then(r=>(Pe.set(i,{headers:r.headers,timestamp:Date.now()}),r)).catch(r=>{throw Pe.set(i,{error:r,timestamp:Date.now()}),r})},tf=Qi.create({adapter:ef,timeout:5e3});function nf(e){if(typeof e!="string")throw new Error("fromBase64 requires input to be a string");return ei.from(nr.unescape(e),"base64")}const Qn=e=>({img:Dt,svg:Qt})[e];function tn({data:e,address:n,inset:t,aspect:i,component:r,className:a,renderError:l,renderLoading:s,preferredSvgEmbedder:f,checkSvg:o,minimumLoadingTime:c,onCompleted:_,imageFilter:u,...d}){var h;const b=g=>z.jsx(rf,{as:r,...d,className:ir(a,{"nft-display--inset":t}),children:g}),x=A.useRef(e);try{typeof x.current=="string"&&(x.current=JSON.parse(e));const{vcId:g}=x.current,m=x.current.credentialSubject?er(x.current,"credentialSubject.display"):x.current,{content:y,type:p}=m,N=p==="url",[v,w]=A.useState({loading:N,error:!1,loadingUrlType:!0,urlType:null}),[O,T]=A.useState(c<=0),E=({useImageFilter:U=!1,t:j}={})=>{const R=new URL(y);return window.location.protocol==="https:"&&R.protocol==="http:"&&(R.protocol="https:"),R.searchParams.has("assetId")||R.searchParams.append("assetId",n),!R.searchParams.has("vcId")&&g&&R.searchParams.append("vcId",g),U&&u&&Object.entries(u).forEach(([me,ut])=>{R.searchParams.append(me,ut)}),j&&R.searchParams.append("t",j),R.href},k=async()=>{var U,j;try{const R=await tf({url:E({useImageFilter:!1,t:"nftdisplay"}),method:"HEAD"}),me=(U=R==null?void 0:R.headers)==null?void 0:U.get("Content-Type");w({...v,loadingUrlType:!1,urlType:me})}catch(R){if(console.error("Failed to fetch url content type",R),(j=R==null?void 0:R.message)!=null&&j.includes("timeout")){w({...v,loadingUrlType:!1,loading:!1,error:!0});return}w({...v,loadingUrlType:!1,urlType:null})}};if(A.useEffect(()=>{let U;return c>0&&(U=setTimeout(()=>T(!0),c)),p==="url"&&k(),()=>clearTimeout(U)},[]),A.useEffect(()=>{(!v.loading&&O||v.error)&&_()},[v,O]),v.error)throw new Error("Failed to render NFT Display.");const G=()=>{v.loading&&w({...v,loading:!1})},Ie=()=>{w({...v,error:!0,loading:!1})},fe=()=>{const U=E({useImageFilter:!0});return z.jsx("img",{src:U,onError:Ie,onLoad:G,alt:"NFT Display",style:{width:"auto",height:"auto"}})},xe=()=>{const U=v.urlType||"image/svg+xml",j=E(),R=new URL(j).pathname.toLowerCase();return[".jpg",".jpeg",".png",".gif",".bmp",".webp",".svg",".tiff",".tif",".ico",".jfif",".pjpeg",".pjp",".avif"].some(ut=>R.endsWith(ut))?fe():z.jsx("object",{type:U,data:j,onErrorCapture:Ie,onLoad:G,style:{width:"100%",height:"100%",pointerEvents:"none"}},j)},Yi=()=>{var U;if(y)switch(p){case"url":return v.loadingUrlType?null:(U=v.urlType)!=null&&U.startsWith("image")&&!v.urlType.startsWith("image/svg")?fe():xe();case"uri":return z.jsx("img",{src:y,onError:()=>w({...v,error:!0}),onLoad:()=>w({...v,loading:!1}),alt:"NFT Display"});case"svg_gzipped":{const j=io.ungzip(nf(y),{}),R=ei.from(j).toString("utf8");if(o&&!qn(R))throw new Error("Invalid SVG of type svg_gzipped");const me=Qn(f);return z.jsx(me,{svg:R})}case"svg":{if(o&&!qn(y))throw new Error("Invalid SVG of type svg");const j=Qn(f);return z.jsx(j,{svg:y})}case"html":break;default:}throw new Error(`unsupported display protocol: ${m.type}`)};return b(z.jsxs(z.Fragment,{children:[(v.loading||!O)&&(s?s():z.jsx(ql,{})),Yi()]}))}catch(g){return console.error(g==null?void 0:g.message,{nftId:n,vcId:(h=x==null?void 0:x.current)==null?void 0:h.vcId}),b(l?l():z.jsx(en,{}))}}tn.propTypes={data:C.oneOfType([C.object,C.string]).isRequired,address:C.string.isRequired,component:C.string,inset:C.bool,aspect:C.number,className:C.string,renderError:C.func,renderLoading:C.func,preferredSvgEmbedder:C.oneOf(["img","svg"]),checkSvg:C.bool,minimumLoadingTime:C.number,onCompleted:C.func,imageFilter:C.object};tn.defaultProps={component:"span",inset:!1,aspect:0,className:"",renderError:null,renderLoading:null,preferredSvgEmbedder:"img",checkSvg:!1,minimumLoadingTime:0,onCompleted:tr,imageFilter:null};const rf=Ae("div")`
|
|
76
|
-
display: flex;
|
|
77
|
-
justify-content: center;
|
|
78
|
-
align-items: center;
|
|
79
|
-
position: relative;
|
|
80
|
-
/* 默认尺寸 */
|
|
81
|
-
width: 150px;
|
|
82
|
-
height: 150px;
|
|
83
|
-
overflow: hidden;
|
|
84
|
-
|
|
85
|
-
&,
|
|
86
|
-
img,
|
|
87
|
-
object {
|
|
88
|
-
max-width: 100%;
|
|
89
|
-
max-height: 100%;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
img,
|
|
93
|
-
object {
|
|
94
|
-
width: 100%;
|
|
95
|
-
height: 100%;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.nft-display--inset {
|
|
99
|
-
width: 100%;
|
|
100
|
-
height: 100%;
|
|
101
|
-
}
|
|
102
|
-
`;function af(e){return function({aspect:n,inset:t,...i}){return n>0&&!t?z.jsx(Vi,{aspect:n,children:z.jsx(e,{inset:!0,...i})}):z.jsx(e,{inset:t,...i})}}const cf=af(tn);export{cf as N};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as h,j as c,P as f,a3 as d}from"./index-Drscafxp.js";var o={};Object.defineProperty(o,"__esModule",{value:!0});var p=o.default=void 0;m(h);var n=c;function m(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(v){return Object.getOwnPropertyDescriptor(e,v).enumerable})),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(a){y(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function y(e,t,r){return(t=j(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){var t=b(e,"string");return typeof t=="symbol"?t:t+""}function b(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var i=function(t){return(0,n.jsxs)("svg",u(u({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"}),(0,n.jsx)("path",{d:"M138.44 27.684c.192 0 .357.075.496.224l1.344 1.472a9.584 9.584 0 0 1-3.44 2.576c-1.344.608-2.965.912-4.864.912-1.664 0-3.173-.288-4.528-.864a10.056 10.056 0 0 1-3.456-2.416c-.949-1.035-1.685-2.272-2.208-3.712-.523-1.44-.784-3.024-.784-4.752 0-1.728.272-3.312.816-4.752.555-1.44 1.328-2.677 2.32-3.712a10.444 10.444 0 0 1 3.552-2.416c1.387-.576 2.917-.864 4.592-.864 1.632 0 3.083.267 4.352.8a10.973 10.973 0 0 1 3.312 2.128l-1.12 1.584a.936.936 0 0 1-.288.288.742.742 0 0 1-.432.112c-.203 0-.443-.101-.72-.304a8.802 8.802 0 0 0-1.072-.672c-.437-.256-.981-.485-1.632-.688-.651-.203-1.461-.304-2.432-.304-1.141 0-2.187.203-3.136.608a6.885 6.885 0 0 0-2.464 1.728c-.683.747-1.216 1.67-1.6 2.768-.373 1.088-.56 2.32-.56 3.696 0 1.397.197 2.64.592 3.728.395 1.088.939 2.01 1.632 2.768a6.914 6.914 0 0 0 2.448 1.728 7.764 7.764 0 0 0 3.04.592c.661 0 1.253-.037 1.776-.112a7.843 7.843 0 0 0 1.456-.368c.448-.16.869-.363 1.264-.608a8.89 8.89 0 0 0 1.168-.912c.085-.075.176-.133.272-.176a.616.616 0 0 1 .304-.08zM149.68 16.1c1.195 0 2.272.197 3.232.592a6.54 6.54 0 0 1 2.464 1.68c.683.725 1.205 1.605 1.568 2.64.363 1.024.544 2.176.544 3.456 0 1.28-.181 2.437-.544 3.472-.363 1.035-.885 1.915-1.568 2.64a6.795 6.795 0 0 1-2.464 1.68c-.96.384-2.037.576-3.232.576-1.205 0-2.293-.192-3.264-.576a6.987 6.987 0 0 1-2.464-1.68c-.683-.725-1.211-1.605-1.584-2.64-.363-1.035-.544-2.192-.544-3.472 0-1.28.181-2.432.544-3.456.373-1.035.901-1.915 1.584-2.64a6.717 6.717 0 0 1 2.464-1.68c.971-.395 2.059-.592 3.264-.592zm0 14.304c1.536 0 2.683-.517 3.44-1.552.757-1.035 1.136-2.49 1.136-4.368 0-1.877-.379-3.333-1.136-4.368-.757-1.045-1.904-1.568-3.44-1.568-1.557 0-2.72.523-3.488 1.568-.757 1.035-1.136 2.49-1.136 4.368 0 1.877.379 3.333 1.136 4.368.768 1.035 1.931 1.552 3.488 1.552zM163.899 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.442 6.442 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448.682.299 1.253.72 1.712 1.264.458.533.805 1.179 1.04 1.936.234.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.534-.65-1.35-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.38 7.38 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM181.805 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.448 6.448 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448a4.63 4.63 0 0 1 1.712 1.264c.459.533.805 1.179 1.04 1.936.235.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.533-.65-1.349-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.396 7.396 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM207.551 22.676c0-.619-.09-1.19-.272-1.712a3.77 3.77 0 0 0-.768-1.36 3.521 3.521 0 0 0-1.248-.896c-.49-.213-1.056-.32-1.696-.32-1.312 0-2.346.379-3.104 1.136-.746.757-1.221 1.808-1.424 3.152h8.512zm2.576 7.616a6.311 6.311 0 0 1-1.328 1.168 7.926 7.926 0 0 1-1.6.784 9.664 9.664 0 0 1-1.76.448c-.597.096-1.189.144-1.776.144-1.12 0-2.16-.187-3.12-.56a7.159 7.159 0 0 1-2.48-1.664c-.693-.736-1.237-1.643-1.632-2.72-.384-1.088-.576-2.336-.576-3.744 0-1.13.176-2.181.528-3.152a7.67 7.67 0 0 1 1.504-2.56 7.064 7.064 0 0 1 2.416-1.712c.95-.416 2.016-.624 3.2-.624.992 0 1.904.165 2.736.496.843.32 1.568.79 2.176 1.408.608.619 1.083 1.381 1.424 2.288.352.907.528 1.941.528 3.104 0 .48-.053.805-.16.976-.106.16-.304.24-.592.24h-10.656c.032.97.171 1.819.416 2.544.246.715.582 1.312 1.008 1.792.438.48.955.837 1.552 1.072.598.235 1.264.352 2 .352.694 0 1.291-.08 1.792-.24.512-.16.95-.33 1.312-.512.374-.192.683-.368.928-.528.256-.16.48-.24.672-.24.256 0 .454.096.592.288l.896 1.152zM225.113 19.396a1.836 1.836 0 0 1-.288.288c-.086.064-.214.096-.384.096-.171 0-.352-.064-.544-.192a4.872 4.872 0 0 0-.704-.432 5.21 5.21 0 0 0-1.024-.432c-.395-.139-.886-.208-1.472-.208-.768 0-1.446.139-2.032.416a3.972 3.972 0 0 0-1.472 1.184c-.384.512-.678 1.136-.88 1.872-.203.736-.304 1.563-.304 2.48 0 .95.106 1.797.32 2.544.213.736.517 1.36.912 1.872.394.501.874.885 1.44 1.152a4.522 4.522 0 0 0 1.888.384c.672 0 1.226-.08 1.664-.24.437-.17.8-.352 1.088-.544.288-.192.528-.368.72-.528.192-.17.389-.256.592-.256.256 0 .453.096.592.288l.896 1.152a5.966 5.966 0 0 1-1.264 1.168c-.459.32-.95.581-1.472.784a8.34 8.34 0 0 1-1.648.448c-.566.096-1.142.144-1.728.144a7.25 7.25 0 0 1-2.848-.56 6.52 6.52 0 0 1-2.288-1.632c-.64-.715-1.147-1.59-1.52-2.624-.374-1.045-.56-2.23-.56-3.552 0-1.205.165-2.32.496-3.344.341-1.024.837-1.904 1.488-2.64a6.821 6.821 0 0 1 2.432-1.744c.96-.427 2.058-.64 3.296-.64 1.162 0 2.186.187 3.072.56a7.514 7.514 0 0 1 2.368 1.584l-.832 1.152zM234.121 32.868c-1.312 0-2.325-.368-3.04-1.104-.704-.736-1.056-1.787-1.056-3.152v-9.728h-1.888a.701.701 0 0 1-.464-.16c-.117-.117-.176-.288-.176-.512v-1.264l2.64-.368.704-4.848a.738.738 0 0 1 .24-.416.724.724 0 0 1 .48-.16h1.584v5.456h4.608v2.272h-4.608v9.52c0 .64.155 1.12.464 1.44.32.31.726.464 1.216.464.288 0 .534-.037.736-.112a3.27 3.27 0 0 0 .544-.24c.15-.096.278-.181.384-.256a.521.521 0 0 1 .288-.112c.107 0 .187.027.24.08a.694.694 0 0 1 .192.224l.928 1.504c-.512.47-1.12.832-1.824 1.088a6.362 6.362 0 0 1-2.192.384z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z"})]}))};i.defaultProps={width:"239",height:"42",viewBox:"0 0 239 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};i.displayName="connect-logo";p=o.default=i;function s({children:e,...t}){return c.jsxs(d,{color:"did",variant:"contained",...t,children:[c.jsx("span",{style:{fontWeight:400},children:e||"Continue With"}),c.jsx(p,{style:{width:"auto",height:"1.2em",margin:"0 4px 0 8px"}})]})}s.propTypes={children:f.any};s.defaultProps={children:""};export{s as C};
|